Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

2491.

Bcachefs(bcache.evilpiepirate.org ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

It's important to mention that that conviction was made in Austria. No one in the US has been prosecuted for running an exit node.

2493.

X86 code compression in kkrunchy(fgiesen.wordpress.com ↗)

3 points · by panic · 10y ago · discuss

2494.

The Edit-Recompile Manager(blog.ezyang.com ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

The use of force to round up large groups of people is a terrifying thing, and it's absolutely something the Nazis did.

comment 10y ago · link · parent

This Wednesday he literally promised to create a "deportation force". The comparison isn't too far off.

2497.

Formal proofs are not just deduction steps(math.andrej.com ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

I think that's a little different. Reading code almost never involves analyzing it to that degree. Usually you're just trying to figure out what part is broken or where you need to add some new functionality.

comment 10y ago · link · parent

It's ultimately subjective, but I think that code is readable: the variables are well-named and each line says exactly what it does. Abstraction makes it easier for you to think you understand what the code is doing, but if you want to really understand what's going on, you also have to understand how the abstraction is implemented. Straightforward code like this can be understood directly, without having to dig through layers of function calls.

2500.

SSL(byuu.org ↗)

3 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

I think the intuition is that we want to focus on the edges of the box (where the lengths sum together like the answer we're looking for), not the volume (where the lengths multiply together and cause problems). So we expand the edges until they completely dominate the equation.

2502.

The business model for the creative industries is broken(theguardian.com ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

#2 is super interesting! I wonder if it generalizes to higher dimensions.

comment 10y ago · link · parent

Yeah, most (all?) implementations of unordered_set are really slow. My understanding is that the iterator invalidation behavior specified by the standard forces implementations to use chaining, which means allocating constantly on insertions and chasing pointers on every lookup.

comment 10y ago · link · parent

Who enforces these ISDS rulings? What happens if the government doesn't pay up?

comment 10y ago · link · parent

Git also has 'git revert' which creates a new commit, 'git reset' which actually reverts (among other things), 'git checkout' which switches branches... the fact that all the other commands are confusing doesn't mean this new one has to be.

comment 10y ago · link · parent

But what if I'm just trying to unstage something? I don't think shell aliases can solve this in the general case.

comment 10y ago · link · parent

I wonder how much time and money has been wasted trying to operate Git's confusing UI. The repository format itself seems fine, but I'm surprised we're not all using a better frontend by now.

comment 10y ago · link · parent

If it hasn't been committed, it won't be in the reflog. Working copies and stashed changes are especially vulnerable to being overwritten by accident. It would be great if git had a way to undo these operations too.

2510.

Book consciousness(unenumerated.blogspot.com ↗)

2 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

It's linked in the article: https://www.cdc.gov/violenceprevention/acestudy/about.html

comment 10y ago · link · parent

Here's the infographic version of the research that's linked in the article: http://vetoviolence.cdc.gov/apps/phl/resource_center_infogra.... Even one adverse experience increases the chance of drug use, depression, alcoholism and suicide attempts by over 50%. Almost two thirds of participants (drawn from a cross-section of middle-class Americans) reported at least one such experience.

comment 10y ago · link · parent

Is any part of STEPS formally specified? My understanding is that the goal of the project was to produce a system with a minimal volume of source code. Writing specifications alongside the source would make the project bigger, not smaller.

comment 10y ago · link · parent

The Haskell 98 report mentions a strange type system restriction. It is called the monomorphism restriction and concerns making decisions about types during inference. It sounds like abstract nonsense, but makes sense in the context of category theory, where morphisms are a generalization of functions and monomorphisms in particular correspond to injective functions. Regardless of its cryptic name, it solves a practical problem: it prevents ambiguous types from appearing.

The "monomorphism" in "monomorphism restriction" isn't the term from category theory: it's just the opposite of "polymorphism". You can read more about the details of the restriction and why it exists here: https://www.haskell.org/onlinereport/haskell2010/haskellch4....

2515.

The End of Causality(linkedin.com ↗)

4 points · by panic · 10y ago · discuss

1
838485
120