Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

3331.

Boring Future, Volume 1(frankchimero.com ↗)

4 points · by panic · 12y ago · discuss

comment 12y ago · link · parent

Input validation is an orthogonal issue here, since bash doesn't know anything about RFC821/RFC2821, doesn't expect data in that format, and doesn't make any guarantees about what it will or won't do on such data.

The only reasonable policy for a shell to follow is to be entirely input-agnostic and never execute code based on the contents of an environment variable (regardless of which RFCs the contents conform to).

3333.

Tech's tunnel vision(gyford.com ↗)

3 points · by panic · 12y ago · discuss

3334.

A Watch Guy's Thoughts on the Apple Watch After Seeing It in the Metal(hodinkee.com ↗)

610 points · by panic · 12y ago · 464 comments

comment 12y ago · link · parent

Why are they talking about quadratic programming when the objective function is linear?

3336.

America Without the Makeup(firstlook.org ↗)

8 points · by panic · 12y ago · discuss

3337.

Don’t do what you love(medium.com ↗)

4 points · by panic · 12y ago · discuss

3338.

How to Write Original Jokes (Or Have a Computer Do It for You)(grokcode.com ↗)

1 points · by panic · 12y ago · discuss

comment 12y ago · link · parent

Just because a slow-moving driver isn't legally at fault doesn't mean their behavior isn't dangerous.

comment 12y ago · link · parent

People expect mobile games to be between 99 cents and free. The same game on PC might sell for $15. Why spend time making a quality game if no one is willing to pay?

comment 12y ago · link · parent

The implementation is really clean! The mixing of general-purpose registers, special-purpose registers and the stack makes the instruction set a bit weird, though.

For example, instead of using registers, why not have OR pick values off the stack like ADD, or vice versa? Why use EAX for the conditional jump instructions when you could look at the top of the stack? Why have REM when you can just MOV from ERX?

3342.

Chord Intelligence(supermegaultragroovy.com ↗)

2 points · by panic · 12y ago · discuss

3343.

Pining for the fjords(ryandoeng.es ↗)

1 points · by panic · 12y ago · discuss

3344.

Xorshift* / xorshift+ generators and the PRNG shootout(xorshift.di.unimi.it ↗)

1 points · by panic · 12y ago · discuss

3345.

IOS 8(nshipster.com ↗)

3 points · by panic · 12y ago · discuss

comment 12y ago · link · parent

Using sort to filter duplicates is horribly worse compared to hashing (javascript for instance).

Is this really true? A sort plus a linear scan has very low constant time factors, good cache locality (depending on the sorting algorithm used), and no need to allocate if you're sorting in place. I've seen good results using sort to filter duplicates in my own performance-sensitive code. Are you saying this technique is "horribly worse" based on your experience or intuition?

3347.

After Apple buys Beats, Jimmy Iovine and Eddy Cue live at CodeCon(live.theverge.com ↗)

1 points · by panic · 12y ago · discuss

comment 12y ago · link · parent

If you just left out one "F" from "FFT" it would be more precise and less confusing. Is there any reason to bring the Fast Fourier Transform algorithm up at all?

comment 12y ago · link · parent

There should be a space between "OS" and "X" in "Mac OS X".

3350.

Introducing the WebKit FTL JIT(webkit.org ↗)

491 points · by panic · 12y ago · 96 comments

comment 12y ago · link · parent

It's interesting how games have driven the development of computer systems. Unix, for example, was motivated by Ken Thompson's work porting his game Space Travel* to the PDP-7.

[*] http://en.wikipedia.org/wiki/Space_Travel_(video_game)

comment 12y ago · link · parent

What happens if the private key is compromised, and you have to switch to a new one? Does the identity of the machine then change too?

comment 12y ago · link · parent

Since memory latency improves more slowly than CPU instruction throughput, code size actually matters more and more over time.

comment 12y ago · link · parent

It's not about "belief" -- you can perform the experiment described in the article and see for yourself.

comment 12y ago · link · parent

Maybe because we don't have a general-purpose tree file format?

comment 12y ago · link · parent

I think having buttons to click on the screen (or little arrows next to each side) would help a lot here.

comment 12y ago · link · parent

Yes. PLEASE don't use this for regular documents. It's only for games and "web apps".

comment 12y ago · link · parent

http://www.mteww.com/images/netartdiagram.gif

3359.

The sine and cosine functions for the circle, as every student should see them(1ucasvb.tumblr.com ↗)

2 points · by panic · 12y ago · discuss

comment 12y ago · link · parent

People don't intentionally mow down pedestrians. Our current system, which includes both cars and drivers acting with the best of intentions, kills huge numbers of people each year. Instead of trying to assign blame to a particular actor in the system, we should be thinking about ways to change the system as a whole so it kills fewer people.
1
111112113
120