News for hackers. Stuff that matters.

anders0

Re:Literals in Programming Languages on Thursday February 28, 2013 @07:38AM (#5298386)
Huh. I always assumed it was in C. Shows what I know… :p
Re:Literals in Programming Languages on Thursday February 28, 2013 @07:03AM (#5298278)
To nitpick, -14 isn't a literal in all languages. :)

(In Haskell, it's just sugar for negate 14, while in Standard ML it's spelt ~14. And I assume there are other exceptions too.)

Re:LaTeX Templates on Friday February 22, 2013 @03:02AM (#5263245)
I'm not saryant, but the school of CS at St Andrews (UK) briefly teaches us LaTeX in second(?) year, and encourages us to use it to write all our reports, essays, etc.

(OT: I also got complimented in high school for my physics coursework being typeset nicely. :D None of the other teachers seemed to really notice, though.)

Re:Font Awesome 3.0 is out on Friday January 04, 2013 @10:01AM (#5007867)
Well, it's both.
Re:If malloc fails, it's not for the obvious reason on Friday November 02, 2012 @11:13PM (#4735799)
But couldn't the language's runtime (or the GC library, or whatever) register for these notifications?
"non-(banana republic)", not "(non-banana) republic".
It doesn’t if I use a tap-click on my trackpad either; it only seems to if you hold it down.

Do these actions (tap-click, screen touch) not send separate mouse{down,up} events? Because that might be related.

Re:Vim Creep on Thursday July 12, 2012 @08:57PM (#4237688)
No love for `ZZ` here? :( (And its friend `ZQ`, which is the same as `:q!`.)
Re:A better git log on Tuesday June 19, 2012 @11:25AM (#4132293)
Apart from `-p` and `--name-status`, there’s also `--stat` for the `++++++++----` things for each file.
Re:Code iOS Apps in OCaml on Thursday March 22, 2012 @04:15PM (#3741708)
Well the revised syntax (http://caml.inria.fr/pub/docs/manual-camlp4/manual007.html) is completely implemented as a camlp4 (p5?) extension, so if you have enough patience you can write another extension to replace the syntax with whatever you want, I suppose.