HNHacker News
TopNewBestAskShowJobs

nn2

72 karma · joined December 28, 2011

submissionscomments
nn2··on The Internal Memo That Allowed IBM's Female Employees to Get Married
From the original interview: "The only advantage you had over a newcomer was that you were prepared to read the manual." So true still today. I am always astonished by how much time some programmers are wasting by not reading manuals and how much of a competitive advantage even basic reading comprehension and willingness to do so is.
nn2··on Iran unveils new indigenous stealth fighter “Qaher 313″
Variants of large scale Passive Radar http://en.wikipedia.org/wiki/Passive_radar was supposed to beat first generation stealth. I suppose it's a closely guarded secret if it still does for the more modern systems. This also disrupts the standard tactics of taking out the radars first to let non stealthy planes follow.
nn2··on Higgs, a Monitoring JIT for JavaScript and Metacircular VM Layering
They optimize away unnecessary monitoring inside the traces once the types have been propagated there. So only slow path code does the monitoring. All the active traces should get stable types without extra monitoring at some point.

Essentially it's moving doing type propagation in "batch" to a "dynamic trigger" system. How effective that is really depends on the programs (or the programing style) and how often they really change types.

I hope it's not just optimized for the usual benchmarks, but some real code.

nn2··on Yale Computer Science Dept overworked, understaffed
But they've been increasing tuition like crazy too right?

~4-6% every 3 years according to http://oir.yale.edu/node/108/attachment

Apparently that gets spent on all kinds of things, just not the actual education the students need. At >30k a year you could really expect that they would hire enough real teachers.

nn2··on Half the Facts You Know Are Probably Wrong
Yes I noticed that too and immediately started to godel: "how many of the wrongnesses the author believes are wrong are really right ..."
nn2··on American Dream Fades for Generation Y Professionals
Less jobs for lawyers generally seems like a good thing to me. Like investment banks lawyers do not create much (any?) value. That's a good sign for society. There may be some hope left.

Now it's not good for those who wasted a lot of money on a law school. They made a bad decision and will adjust.

nn2··on Why math is painful to read
Really good point. That always annoys me with most formulas. I have to dig back several paragraphs (with no scope/indexing tool) to figure out what the individual variables mean.

And a lot of papers do not even bother to explain some variable but just assume the reader already knows it. One of the earlier commenters made this mistake very prominently enthusing over Maxwell's equations.

Yes of course the formula looks better shorter when you already know what it means. But that completely misses the point that it was written down to explain it to someone who doesn't already know what it means. If you already do you're the wrong target audience.

Longer variable names would help. Or for online paper just have a tooltip that opens the paragraph that explains what the variable mans when you hover over it would also help a lot.

Or maybe some color coding to easily find it (there was a recent link here recent explaining FFT which used this trick very successfully)

But I guess most Mathematicians don't bother because they only write for a small circle of colleagues anyways.

nn2··on Asperger’s gone, dyslexia stays – Change to psychiatric manual
Asperger is now autism. Let me guess: Treating autism pays more?
nn2··on New developments in password hashing: ROM-port-hard functions
Don't use a off the shelf database. They are overkill for this.

This only needs a very single table key->value store where every transaction is only a single access. I would just map it to a hash table mapped directly to the raw disk. Doesn't need transactions with a log if done right.

The hash spreads out the allocation, no information leaks for the allocation. If you don't have a log there are no time stamps.

Modern disks are big enough that you dont need to worry about resizing the hash table. And the random salt makes collisions unlikely enough.

nn2··on Tips for C libraries on GNU/Linux
Don't do your own locking. Let the caller pass in state. Push locking to the caller. Don't have your own global state that would need hidden locks, but instead let the caller handle it with arguments.

That is similar how the STL does it, but not like stdio

I'm not sure I fully agree. - For simple libraries it's likely good advice. - But it encourages big locks and poor scaling. It may be right for desktop apps, but not necessarily for server code that needs to scale. For some things that's fine, but you don't want that for the big tree or hash table that your multi threaded server is built around on. - It avoids the problems of locks being non composable, that is the caller may need to know which order the locks need to be called, to avoid deadlock. Actually it doesn't avoid it, just pushes it to someone else. However if you make sure the library is always the leaf and never calls back the library locks will be generally at the bottom of the lock hierarchy.

nn2··on Hacker's Delight, 2nd Edition
You may not realize it, but that's a quite damning statement on the CUDA compiler.
nn2··on Slashdot and SourceForge sold to Dice Holdings
True for the html layout, but not the content (the projects/code). For a code site layout in the end is very secondary.

Besides github is doing its best to compete on the "largest number of useless buttons/toolbars on the webpage" front with sf. I also found that finding something based on keywords works better on sf than on guthub.

nn2··on Slashdot and SourceForge sold to Dice Holdings
Not sure about sourceforge. It lost its lustre to github, but there are still a lot of good project there.

freshmeat/freecode is really great. Lots of great software there (I liked the old name better)

Browsing the freecode frontpage is far more satisfying than the HN page because it's all about real code that does something and very little hype and BS.

nn2··on H - The surprising truth about heroin and addiction
Did you actually read the article? It quoted studies that contradicted exactly what you said. Most studied people stopped using it at some point.
nn2··on A syntax comparison across many languages
Dvorak doesn't support the Alt-<type unicode number on number block> trick?
nn2··on U.S. pushes for more scientists, but the jobs aren’t there
Universities are still extremely expensive, just with the people (grad students and post docs) who do most of the actual science getting very little of the money. It's just extremely unfair and calling it a "pyramid scheme" is charitable.

Overall universities are just extremely inefficient. Where does all the money go to?

The person in the article who went into an administrative job may have been onto something.

Part of the problem is also the biology/chemistry bubble. In the 90ies these areas expanded extremely and now they are downsizing to more reasonable levels again.

With CS degrees they would be better off.

nn2··on Microsoft’s developer problem
Reminds me of that old quote "social media had popularized non-fact based reality"

Macro is a mac developer, his friends are mac developers and he somehow determines Microsoft development is dead because he doesn't do it. And we are supposed to believe him in that.

Next step: profit?

nn2··on Apple Stores’ Army, Long on Loyalty but Short on Pay
Nothing new. As usual the faithful are the suckers.
nn2··on Didn't see this coming: The Goldman Sachs Github Account
It has some nice features: parallel iteration and lazy iteration (return an iterator that is only evaluated when the values are needed)
nn2··on F-35 Joint Strike Fighter Coding Standard Documentation
AV Rule 25 (MISRA Rule 127) The time handling functions of library <time.h> shall not be used.

Yes everyone reinventing their own broken flat tire date routines is the way go. If they used the same silly rule on the F22 that explains http://blog.utest.com/international-date-line-bug-caused-fig...

Time related code is really hard to write.

nn2··on Write hybrid CPU/GPU programs in Haskell
Oh the irony. Something called "Accelerate" that makes programs run slower (and also harder to debug)

Maybe they should have called it "snake oil" instead.

nn2··on Splunk (big data) IPO Raises $229.5 million ($1.6 billion valuation)
Are you serious? I would never give some random supplier unlimited access to my server and internal network. Such a requirement is an absolute show-stopper.
nn2··on Splunk (big data) IPO Raises $229.5 million ($1.6 billion valuation)
I considered splunk at some point until I read the EULA review of theirs at http://blog.hacker.dk/

" Upon at least ten (10) days prior written notice, Splunk may audit your use” …. ” Any such audit will be conducted during regular business hours at your facilities“ … “You will provide Splunk with access to the relevant records and facilities“ "

More or less they screw their customers.

nn2··on Books Programmers Don't Really Read But Recommend
I read programming pearls about halfway until I discovered that a several of the samples were using gets() and could be trivially exploited for buffer overflows.

Calling programs like that "pearls" just seemed too wrong to me to go on.

nn2··on NASA's Kepler Discovers 11 Systems Hosting 26 Planets
7+ billions eggs in one unserviceable fragile basket that needs to plunder all other projects? I'm not optimistic on Webb. And if the rocket fails or that unfold mechanism from hell doesn't work it will all go up in smoke.

It would have been great to spend the money on Webb on several smaller missions like Kepler, and leave the Mars missions alone.

Whatever science Webb can do is unlikely to make up for the opportunity costs lost in these other missions.

nn2··on The Well Intentioned Commissar
Except when they don't work, like in healthcare, lawyers, research etc.

relevant recent HN stories: healthcare: http://news.ycombinator.com/item?id=3661731 lawyers: http://news.ycombinator.com/item?id=3672815

nn2··on Amazon Prime members buy twice as much, don't compare on price
- amazon has a relatively painless website, unlike a lot of other webshops
nn2··on Vitamin C is a bug that needs to be patched
Does your explanation for junk DNA pass the onion test? http://www.genomicron.evolverzone.com/2007/04/onion-test/
nn2··on Google and Microsoft Cheat on Slow-Start. Should You?
the microsoft behavior of disabling SS completely seems downright immoral to me. Who cares if the internet melts as long as they can deliver their home page a few ms faster. And it's not even a very interesting homepage
nn2··on Vitamin C is a bug that needs to be patched
and large parts of our genome is bit-rotted and non functional

Larry Moran has a lot of good material on this http://sandwalk.blogspot.com/2008/02/theme-genomes-junk-dna....

Page 1 of 2Next →