Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

comment 11y ago · link · parent

Doesn't Atom use a web rendering engine? We're not talking about the DOM here, just pure JS.

comment 11y ago · link · parent

Most UI layout doesn't involve that much computation. JS is definitely fast enough.

3003.

Goals of Science vs. Goals of Scientists(socialbat.org ↗)

1 points · by panic · 11y ago · discuss

comment 11y ago · link · parent

The suggestion to watch Alan Kay videos is especially funny given that this tool was produced at CDG Labs.

comment 11y ago · link · parent

Yes, event loops are quite an old idea. I just put "modern" there to exclude old systems that encouraged polling. For example, I'm pretty sure classic Mac OS entered a loop while tracking the mouse in menus.

comment 11y ago · link · parent

Modern single-threaded UI frameworks don't go into a loop while you're interacting with something. Say you click on a button and drag. This enters the UI framework as a "mouse down" event followed by several "mouse dragged" events. After handling each event (or between events), the framework can decide to do other work, like updating a spinner.

comment 11y ago · link · parent

You don't need a multi-threaded GUI for that. You can have the GUI running on one thread while the task runs on another.

comment 11y ago · link · parent

Obviously this doesn't apply here, but how does that work with changes across multiple files? Even one-off changes sometimes need to touch different parts of the codebase.

The ideal workflow for me would be:

1. Clone the repo locally (not making a public fork that requires cleanup).

2. Make changes and commit them (not making a branch that requires cleanup).

3. Send the patch (or patches) for review.

4. If the patch is reviewed, it's either automatically landed or a project committer applies it and commits it. Either way, there's nothing else I have to do at this point besides deleting my local clone.

I can see how the GitHub model works for people who contribute to the same projects frequently, but there's too much stuff you have to do (forking, cloning, branching) and then un-do if you're making a drive-by change and don't want the project to clutter up your profile.

comment 11y ago · link · parent

The GitHub pull request model is absurdly complex for drive-by changes. I wish there were a way to just send a patch.

comment 11y ago · link · parent

All the comments pages load too far zoomed in for me (iPhone 5c w/ iOS 8). Otherwise looks good!

3011.

Apparatus: A Hybrid Graphics Editor / Programming Environment [video](youtube.com ↗)

20 points · by panic · 11y ago · 5 comments

3012.

What the tech reviewers aren't telling you about the iPhone(medium.com ↗)

1 points · by panic · 11y ago · discuss

3013.

Reading and writing are less symmetric than you (probably) think(fgiesen.wordpress.com ↗)

30 points · by panic · 11y ago · 5 comments

comment 11y ago · link · parent

The grandparent post isn't talking about over-optimizing. You shouldn't have to add disgusting hacks to complete a trivial operation in less than a second.

comment 11y ago · link · parent

I completely agree. My point was that, without some extra source of money, forcing employers to pay a particular salary won't work. We need to make it possible to live without a salary.

comment 11y ago · link · parent

How would you force employers to pay their employees equitable salaries? What if a job isn't worth that much to an employer?

comment 11y ago · link · parent

A list of text links would be faster and more effective.

What makes you say that? The card interface gives a sense of context--you can still see the stuff behind it. You can pull on the entire card to navigate instead of hitting a small text target. I haven't used the UI, but it looks like it works pretty well.

comment 11y ago · link · parent

There are more factors at work here than genetics. Imagine how much pressure would be put on the child who has been selected (at great expense) from 100 embryos as "most likely to succeed"!

comment 11y ago · link · parent

Nobody is saying we should write all our programs directly against hardware. The point of the paper is that the operating system should let applications define their own abstractions. This is already standard practice for the CPU: the OS lets applications run machine code directly, and you can use whatever language you'd like to generate that machine code.

You can still have a standardized model for writing software. The argument is against baking this standardized model into the kernel, where it will stick around for decades, unable to be changed.

comment 11y ago · link · parent

The idea is to multiplex, not abstract. To illustrate the difference, say you have an OS that runs only applications written in JVM bytecode. This is an abstraction: the OS is providing a different interface (bytecode) than the actual hardware interface (machine code).

Most OSes don't do anything like this. They allow applications to be written in raw machine code. The applications run as if they had full control over the CPU hardware. The OS then multiplexes the CPU by saving and restoring the program counter (and, typically, the rest of the registers and CPU state as well, though the exokernel design in this paper doesn't even do that). The idea is to (as much as possible) provide the same interface as the underlying hardware provides, then do a little extra work to make sure different applications aren't stepping on each other's toes.

comment 11y ago · link · parent

You either have intelligence, and creativity, and uncertainty, and accidents. Or you have computers and rigid logic.

Why does it have to be such a strict dichotomy? What are the specific tradeoffs being made between creativity and rigid logic? Is there really no way to pick something in the middle?

The interesting thing there is, when a space rocket malfunctions, when a car wrecks, or the stock market goes crazy... and it's a computer involved, it's always human error at the end of it. And, thus, intelligence that caused the problem.

Individual humans aren't always at the end of it. Sometimes you can trace the problem further, to the incentives applied to the human by some larger organization, society or system. Are human organizations also intelligent?

I think we're still very far away from a definition of "intelligence" that would let us answer all these questions. It's not clear that current AI research is bringing us any closer to that definition.

comment 11y ago · link · parent

You can usually come up with an explanation for why you did something. You don't have to "get to the bottom" of your own thought processes to do this: you just need to be able to reconstruct the symbolic manipulation part. This seems like a good thing for an AI to be able to do -- especially a truly "hard" AI that you'd trust to run things at a high level.

comment 11y ago · link · parent

Since the VM system works at the granularity of pages, using N entirely different regions wastes up to $PAGE_SIZE * N bytes of memory just in the free space at the end of the region. You also make your fragmentation problem worse, since you can't place an allocation from one system within the free space of another.

comment 11y ago · link · parent

It's quite likely that C++ code rendered this web page for you. If you're on a Mac, that code was itself likely compiled using C++ code.

3025.

Global eradication of wild poliovirus type 2 declared(polioeradication.org ↗)

239 points · by panic · 11y ago · 77 comments

comment 11y ago · link · parent

There was some discussion of this topic on typographica back in 2004: http://typographica.org/on-typography/automated-kerning-with...
1
100101102
120