Better HN
topnewbestaskshowjobs
Log inSign up

panic

29,749 karma · joined Sep 16, 2009 (17y ago) · 3,593 submissions

Submissions

2701.

Ghosts of Unix Past: a historical search for design patterns(lwn.net ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

Here's musl's DNS resolution logic, for other people who may be curious: http://git.musl-libc.org/cgit/musl/tree/src/network/lookup_n...

comment 10y ago · link · parent

Reading the paper (http://whitman.syr.edu/faculty-and-research/research/pdfs/BQ...), it looks like each customer took the same amount of work to "check out" (moving five sliders to the correct position). The whole reason to divide a single line across multiple cashiers is to keep one slow customer from slowing down an entire line, so it's weird they didn't model this in the experiment itself.

comment 10y ago · link · parent

How does this compare to Lua? It seems to be going after a very similar market.

2705.

Technology and Courage (1996) [pdf](seas.harvard.edu ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

It wasn't entirely clear from the article, but I assumed that the false positive rate referred to the ratio of people with matching search queries, not of all Bing users. In that case the absolute number of false positives would be much lower.

If that's true, how did they have enough real positives to measure such a low false positive rate?

Also, the detection of 5% to 15% of cases would seem to me to refer to only Bing users; I doubt they're claiming to be able to detect 5-15% of all cases of pancreatic cancer.

Yeah, I'm being dumb, there's no way that percentage is out of all cases!

comment 10y ago · link · parent

To translate the false-positive rate into concrete numbers:

According to the American Cancer Society (http://www.cancer.org/cancer/pancreaticcancer/detailedguide/...), about 53,070 people will be diagnosed with pancreatic cancer this year. The abstract says this method detects 5% to 15% of cases: that's about 2,700 to 8,000 correct detections. Assuming there are 100 million people using Bing (https://www.quantcast.com/bing.com), between 1,000 and 10,000 cases will be wrongly detected (0.00001 to 0.0001 false positive rate).

2708.

Lessons for Other People(chrislusto.com ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

I think there's a middle ground here. Most syntax highlighting uses extremely saturated clashing colors. The feeling you get for the "texture" of the code is useful, but it can make the code hard to read all at once. Using a more toned-down theme brings back some of that legibility without giving up the benefits of syntax highlighting.

comment 10y ago · link · parent

Urbit is a republic. Its government has one task: promoting, preserving and protecting Urbit. It may take any legal action which advances this goal.

That sounds a bit scary!

comment 10y ago · link · parent

Previously: https://news.ycombinator.com/item?id=5314959

comment 10y ago · link · parent

How would that help here?

comment 10y ago · link · parent

Yep! The addition here can overflow, too, just like in the integer case (though you'll get an infinite value instead of wraparound).

2714.

Hints for Computer System Design (1983)(research.microsoft.com ↗)

3 points · by panic · 10y ago · discuss

2715.

The J1 Forth CPU (2010)(excamera.com ↗)

64 points · by panic · 10y ago · 54 comments

2716.

Cartography Comparison: Google Maps and Apple Maps(justinobeirne.com ↗)

7 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

See also: http://pcwalton.github.io/blog/2012/12/26/typestate-is-dead/

comment 10y ago · link · parent

It's because there's a wrapper div with "overflow: auto" around the entire page. This means you're scrolling inside the div (unaccelerated, need to repaint) instead of scrolling the entire document (accelerated, no need to repaint, can just move around pre-rendered tiles). Removing the "overflow: auto" makes scrolling smooth.

2719.

Fire Roads(justinobeirne.com ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

Even cooler, you can actually play the AI-generated level from that article if you have Super Mario Maker: https://supermariomakerbookmark.nintendo.net/courses/4AC9-00...

comment 10y ago · link · parent

Here's the github link: https://github.com/letoram/arcan

comment 10y ago · link · parent

"Feds spend billions to maintain museum-ready buildings"

"Feds spend billions to enforce museum-ready laws"

These computer systems aren't even that old compared to many things the government spends money on.

2723.

ECMAScript 6 Proper Tail Calls in WebKit(webkit.org ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

No, they didn't: http://i.imgur.com/mN2RMNy.png

comment 10y ago · link · parent

This is cool, though (due to overfitting) it's really just "memorizing" the first level rather than learning how to play in general. It'd be interesting to see the same technique with separate test and training data sets.

comment 10y ago · link · parent

Pages can override the default interactions using touch event handlers.
1
909192
120