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…
comment
"The people of Crete unfortunately make more history than they can consume locally" Saki, The Jesting of Arlingthon Stringham
comment
Both!
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.
comment
You've clearly never tried helping yourself to someone else's chips at pub closing-time in Glasgow.
comment
Extract it from the JSON https://bost.ocks.org/mike/miserables/miserables.json …
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).
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).
comment
I've heard the "loaf" position called the "lozenge" (my fat barely-a-mouser does that a lot).
comment
Big boys told us to do it.
comment
While New York's subways may have drafts, the London Crossrail will have draughts :-)
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…
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.
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.
comment
What's a computer?
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…
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…
comment
Sadly, that not many A arising in practice have the RIP property.
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.
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…
comment
There are, see Cantor's diagonal argument.
comment
X1 Carbon work laptop here, best machine I've ever worked on. Saving up to buy one of my own :-)
comment
Pedestrians don't.
comment
Both! https://www.emacswiki.org/emacs/TabsSpacesBoth
comment
True, False, and https://thedailywtf.com/articles/What_Is_Truth_0x3f_
comment
touché
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 ...")