Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

1501.

A dive into the making of Immersion(ctrl-alt-test.fr ↗)

1 points · by panic · 8y ago · discuss

1502.

The rise and fall of quicksand (2010)(slate.com ↗)

1 points · by panic · 8y ago · discuss

1503.

Uber Freight: Mark and Larry’s Excellent Adventure(granolashotgun.com ↗)

1 points · by panic · 8y ago · discuss

comment 8y ago · link · parent

That bug didn't appear in an advertisement. The point isn't that Apple is making mistakes (they always have), it's that they're bad enough at even noticing the mistakes that one was able to slip into an ad.

comment 8y ago · link · parent

Even if the animation is intentional, the second line of text should still be clipped to the bounds of the notification.

comment 8y ago · link · parent

I didn't get that from the article at all. I actually like what the article is doing a lot, and I wish people would take the same approach more often. When arguments about high-level concepts like inheritance go poorly, it's usually because everyone involved is talking about something slightly different. Maybe a supporter of inheritance likes the way it lets them think about their program (ontological inheritance) while a detractor doesn't like how it forces each subclass to carry along the baggage of its superclass (implementation inheritance). These people are not going to have a fruitful discussion without understanding that they're talking about different things.

The concept of "types" in programming languages is another great example -- there are syntactic type declarations, memory-level types to specify which bytes mean what, things like typeclasses or interfaces which give you runtime polymorphism, the "type" you have in your head when you're thinking about what kind of data your code needs to handle... before you even start to have a discussion, you need some idea of what you're talking about.

comment 8y ago · link · parent

A couple of other comments have argued that "ontological inheritance" and "abstract data type inheritance" are actually the same thing:

> This is because Squares are Liskov substitutable for Rectangles... which is because Squares are, platonically, a kind of Rectangle.

> If the type system is sound and expressive enough, ontological inheritance ( this thing is a specific variety of that thing) and abstract data type inheritance (this thing behaves in all the ways that thing does and has this behaviour) should be essentially the same thing.

The difference is that ontology exists in the mind of the programmer, but Liskov substitutability is a property of the program itself. No matter how you model it, a Square is "platonically a kind of" Rectangle. But in order for them to be Liskov substitutable, you have to model them in compatible ways. If my Square class only has a sideLength method, I can't substitute it for a Rectangle.

This simple example may seem silly, but as models get more complex, it becomes harder to make them compatible, even if one modeled class of objects seems like "platonically a kind of" another class. You see this kind of thing all the time in real-world systems. For example, in a UI system, an "OpenGL View" is conceptually a kind of "View", and this relationship is modeled by making OpenGLView a subclass of View. Normal 2D drawing doesn't work in this kind of view, however, so it's not Liskov substitutable.

comment 8y ago · link · parent

The biggest problem with modern physics is that it's totally incomprehensible. People want to understand how the world works! The public would support physicists' work a lot more if they understood what was going on.

1509.

Mass Incarceration: The Whole Pie 2018(prisonpolicy.org ↗)

2 points · by panic · 8y ago · discuss

comment 8y ago · link · parent

There's more to the "hegemony" than just pure tech. Tight government control may be good for keeping the party in power, but it's not great for building trust with people outside the Great Firewall.

comment 8y ago · link · parent

You could try to improve on the best known metrics for each level: https://www.reddit.com/r/opus_magnum/wiki/index

1512.

Announcing Bitwise(github.com ↗)

128 points · by panic · 8y ago · 23 comments

comment 8y ago · link · parent

The code used to find this pattern is online if you're curious about the details: https://gitlab.com/apgoucher/metasat/tree/master

1514.

All Can Be Lost: The Risk of Putting Our Knowledge in the Hands of Machines(theatlantic.com ↗)

2 points · by panic · 8y ago · discuss

comment 8y ago · link · parent

Check out the comments at the bottom of the article -- "trialex" put together a "wiggle gif" version (https://uploads.disquscdn.com/images/42ab07151119e1a3d5a43fa...) and "Michael Wise" posted a cross-eyed version (https://uploads.disquscdn.com/images/2903120ac9e726088a33b8d...).

1516.

Resource Polymorphism: A proposal for a resource-management model for OCaml(hal.inria.fr ↗)

3 points · by panic · 8y ago · discuss

comment 8y ago · link · parent

Yeah, Carmack has a history of unethical behavior. From the book "Masters of Doom":

> Late one night Carmack and his friends snuck up to a nearby school where they knew there were Apple II machines. Carmack had read about how a thermite paste could be used to melt through glass, but he needed some kind of adhesive material, like Vaseline. He mixed the concoction and applied it to the window, dissolving the glass so they could pop out holes to crawl through. A fat friend, however, had more than a little trouble squeezing inside; he reached through the hole instead and opened the window to let himself in. Doing so, he triggered the silent alarm. The cops came in no time.

> The fourteen-year-old Carmack was sent for psychiatric evaluation to help determine his sentence. He came into the room with a sizable chip on his shoulder. The interview didn’t go well. Carmack was later told the contents of his evaluation: “Boy behaves like a walking brain with legs ... no empathy for other human beings.” At one point the man twiddled his pencil and asked Carmack, “If you hadn’t been caught, do you think you would have done something like this again?”

> “If I hadn’t been caught,” Carmack replied honestly, “yes, I probably would have done that again.”

> Later he ran into the psychiatrist, who told him, “You know, it’s not very smart to tell someone you’re going to go do a crime again.”

> “I said, ‘if I hadn’t been caught,’ goddamn it!” Carmack replied. He was sentenced to one year in a small juvenile detention home in town. Most of the kids were in for drugs. Carmack was in for an Apple II.

1518.

Ron Patrick's Street-Legal Jet Powered Volkswagen Beetle (2006)(ronpatrickstuff.com ↗)

156 points · by panic · 8y ago · 60 comments

comment 8y ago · link · parent

Democracy isn't necessarily about voting responsibly. It's about giving people power over their government. When the government isn't serving the people, it needs to face some sort of consequence.

If democracy is failing, it's because this feedback loop is broken: people don't understand how their government works, or they don't feel able to make any meaningful change. It's not the people in poverty you should be blaming. In the last presidential election, for example, people at the lowest income level swung more toward Clinton than the average voter (https://ropercenter.cornell.edu/polls/us-elections/how-group...)

comment 8y ago · link · parent

Online trolls love figuring out and exploiting automated systems. Any computer-evaluated "health metric" will just become another weapon in their hands. You need human moderators!

comment 8y ago · link · parent

> What in the world are they doing?

Literally no one knows! It's layers upon layers of code. Most of the layers can't even be understood by a single person, let alone the whole program.

comment 8y ago · link · parent

That's one thing that bothers me about modern Electron-style apps which depend on an entire web rendering engine -- actually digging through all the dependencies to track down a bug can be almost impossible. For example, I was hitting a bug in an Electron app a while back and wanted to track it down. I got the app building with a locally-built version of Electron, but it became clear the real bug involved Chromium's loader code. My poor 4-year-old laptop ran out of disk space before I could even download the whole libchromiumcontent repository, let alone build it!

comment 8y ago · link · parent

This is a relatively well-researched list: http://www.drawdown.org/solutions-summary-by-rank

1524.

WeWork(granolashotgun.com ↗)

3 points · by panic · 8y ago · discuss

1525.

Midcentury Monuments(bit-player.org ↗)

1 points · by panic · 8y ago · discuss

comment 8y ago · link · parent

SIGGRAPH 2016 had a paper about "quantum supersampling" which does something like that: https://vimeo.com/180284417
1
505152
120