back
user profile

jjgreen

10,159karma·4,124submissions·February 7, 2014
about
I live my life by the Latin dictum carpe diem: seize the carp.

https://jjg.gitlab.io/en/

recent activity (4,124 total)
comment
The syntax of C is a thing of beauty. The decision to use = for assignment and == for equality was natural, since assignment is more common than equality testing; similarly, articles are usually shor…
8y ago·view thread
comment
"The people of Crete unfortunately make more history than they can consume locally" Saki, The Jesting of Arlingthon Stringham
8y ago·view thread
comment
Both!
8y ago·view thread
comment
I've never had a cellphone either; I do it because of the danger, life is so tame nowerdays that it's one of few thrills that are still legal.
8y ago·view thread
comment
You've clearly never tried helping yourself to someone else's chips at pub closing-time in Glasgow.
8y ago·view thread
comment
Extract it from the JSON https://bost.ocks.org/mike/miserables/miserables.json …
8y ago·view thread
comment
If things are really gnarly in the implementation, one can always break it up into submodules to expose that functionality as public (and that's usually good architecturally IMHO).
8y ago·view thread
comment
I found the first point on unit-testing of C odd, I always treat static functions as implementation details and test only the public interface. CUnit is nice enough (if a bit long in the tooth).
8y ago·view thread
comment
I've heard the "loaf" position called the "lozenge" (my fat barely-a-mouser does that a lot).
8y ago·view thread
comment
Big boys told us to do it.
8y ago·view thread
comment
While New York's subways may have drafts, the London Crossrail will have draughts :-)
8y ago·view thread
comment
If you enjoyed the article, do dig out the memoir that he wrote while recovering from a cycling accident. http://www.springer.com/gb/book/9783540287346 For the story on the…
8y ago·view thread
comment
Sequel: small and very easy to grok, used it on several small projects. Things get tricky if you try to scale it, so best for projects which are, by their nature, limited in scope.
8y ago·view thread
comment
The rumour that Russian intelligence have video of Trump getting pissed on by prostitutes, the #goldenshower hashstag is used I believe. No idea of its veracity.
8y ago·view thread
comment
What's a computer?
8y ago·view thread
comment
Well thanks for asking. I think it's clear that science gets us truth, but that the mechanism for that complex social activity can't be reduced to a few axioms or principles; Feyerabend give…
8y ago·view thread
comment
I find it odd that the sibling reply by fleitz (all that science can say is "is it false"), which just a precis of Popperian philosophy of science, has been marked dead. Not a view that I s…
8y ago·view thread
comment
Sadly, that not many A arising in practice have the RIP property.
8y ago·view thread
comment
I couldn't help the guy, I wasn't there. It seems to me that people lost in their phones simply aren't present, generally, so do nothing for the same reason.
8y ago·view thread
comment
Unfortunately this argument fails -- there are twice as many whole numbers as there are odd numbers right? but they are in 1:1 correspondence 0 <-> 1 1 <-> 3 2 <-> 5 : so the…
8y ago·view thread
comment
There are, see Cantor's diagonal argument.
8y ago·view thread
comment
X1 Carbon work laptop here, best machine I've ever worked on. Saving up to buy one of my own :-)
8y ago·view thread
comment
Pedestrians don't.
8y ago·view thread
comment
Both! https://www.emacswiki.org/emacs/TabsSpacesBoth
8y ago·view thread
comment
True, False, and https://thedailywtf.com/articles/What_Is_Truth_0x3f_
8y ago·view thread
comment
touché
8y ago·view thread
comment
Suggestions: spaces after commas, and use a proper en-dash instead of a hyphen for ranges ("2006–2009") and an em-dash for punctuation-dash ("expirer — Auto-magically delete ...")
8y ago·view thread