HNHacker News
TopNewBestAskShowJobs

leibnitz27

182 karma · joined August 24, 2017

Likes the little things. 80s micros, decompilation, and pointless but fun optimizations.
submissionscomments
leibnitz27··on New Dell XPS 13 developer edition now available
I seriously considered an XPS13 for a month or so (9370), but coil whine was an issue on 3 of the 4 examples I looked at. Pity, as it's a lovely notebook.

Instead, I went with a Samsung Notebook 9 13", and ... it's amazing. https://www.samsung.com/us/computing/windows-laptops/noteboo...

2.2lbs, and I've gone from charging every day to once a week.

leibnitz27··on Applying programming language research ideas to transform spreadsheets
Banks do crazy stuff with excel. I embedded a higher order functional language natively in excel 10 years back....

http://cufp.org/2009/fmd-functional-development-excel.html

leibnitz27··on “I'm basically giving myself a permanent vacation from being BDFL”
He's finally going to admit that the whole python thing was a terrible, terrible joke, it got completely out of hand, and he can't believe people fell for it.
leibnitz27··on Guidelines for Brutalist Web Design
Twenty points for him linking to a site (his non-brutalist stitch-fix link) that gave me an aneurysm after trying to scroll for a few pages. Not sure what he's trying to say there. "I learned how not to respect my user"? ( https://algorithms-tour.stitchfix.com/ , should you also want to punish your cortex ).
leibnitz27··on Windows NTFS Tricks Collection
I wrote a shell extension some time ago to make playing with ADS easier : http://www.benf.org/other/alternatestreamoverlay/index.html
leibnitz27··on A newcomer’s (angry) guide to R
^^ THIS. And yet certain organisations I know have upwards of 40M lines of it. Run. Run. Run FASTER.
leibnitz27··on In Java 3 = 12
I really don't think this should be confusing - having a decent grasp on associativity and precedence is a pretty useful skill - so for example understanding WHY println(3 * 2 + "-" + 6 * 3) behaves "differently" is something I'd hope people would get.

And let's be honest, you definitely don't want to 'fix' this by tweaking precedence to include types. That way madness lies. ;)

Definite shout to ubernostrum's commment though - perhaps the confusing thing is that string concatenation is +, but a world of explicit Appends seems horrid, and that ship has very much sailed.

Just be (maybe) glad java doesn't allow generalised operator overloading ;)

leibnitz27··on Weird Python Integers
Indeed - the integer boxing cache is even required by the language spec!

http://docs.oracle.com/javase/specs/jls/se8/html/jls-5.html#...

(here == means reference not value equality)

"If the value p being boxed is an integer literal of type int between -128 and 127 inclusive (§3.10.1), or the boolean literal true or false (§3.10.3), or a character literal between '\u0000' and '\u007f' inclusive (§3.10.4), then let a and b be the results of any two boxing conversions of p. It is always the case that a == b."

← PreviousPage 2 of 2