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

Intelligence (at least as measured by an IQ test) isn't distributed as a bell curve. Bell curves always include negative values, and intelligence can't be negative.

comment 11y ago · link · parent

It would be neat to have an interactive demo where you could explore the space of possible cameras.

comment 11y ago · link · parent

Here are some more blog posts about the project: http://pchiusano.github.io/unison/

As far as I can tell, the goal is to put interaction with a UI on the same level as editing a program. To this end, Unison expressions, values and UI elements all live in a single syntax tree which can be edited in a structured way.

A demo would go a long way toward making this all clearer. Even some text describing what it would be like to use the finished product would help.

3214.

HTTPS: the end of an era(medium.com ↗)

4 points · by panic · 11y ago · discuss

comment 11y ago · link · parent

What does this have to do with Erlang? As far as I know, Erlang doesn't have a concept of a "stream" nor any particular mechanism for handling back-pressure.

comment 11y ago · link · parent

The kinds of interfaces that work on direct-manipulation touch screens are different from the kinds of interfaces that work with traditional keyboards and pointing devices. You'd need some way to adjust the interface to match the input method as the computer is running.

comment 11y ago · link · parent

The idea is that you'd have a Sandstorm installation on your own server or hosting service. At that point, installing something like Diaspora would be a point-and-click endeavor.

comment 11y ago · link · parent

The capabilities system in particular is unique to Pony: http://tutorial.ponylang.org/capabilities/introduction/

comment 11y ago · link · parent

Erlang can "leak" processes if the process doesn't exit once it's no longer needed. Pony (I assume) will clean up a process automatically once there are no more references to it.

comment 11y ago · link · parent

This looks awesome! Two questions:

1. How does process failure and recovery work?

2. Are there any plans to add binary patterns? That's one thing I'm sure I'd miss from Erlang if I wanted to write a server in this language.

comment 11y ago · link · parent

The paper covers this. The solution is to force a commitment of votes before you can propose a vote on an issue.

comment 11y ago · link · parent

I agree that the paper isn't very convincing. One conclusion you might draw is that learning to write performant code in C is harder than learning to write performant code in Rust. That could just be a side-effect of Rust's much stronger standard library, though.

comment 11y ago · link · parent

How does this get around the App Store Review Guidelines?

    2.7: Apps that download code in any way or form will be rejected
    2.8: Apps that install or launch other executable code will be rejected

comment 11y ago · link · parent

It ran user programs on a virtual CPU, also written in Java. Syscalls and page faults would call out to your code, which ran in the same JVM as the virtual CPU. You can read more about it here: http://www.cs.berkeley.edu/~kubitron/courses/cs162-F05/Nacho...

comment 11y ago · link · parent

The OS class I took at UC Berkeley (back in 2010) was in Java, which sucked all the fun out of it. Seeing other universities' OS courses always makes me feel a little jealous.

comment 11y ago · link · parent

Why is it objectively bad? Logos are pretty subjective things.

3227.

Seastar: C++ framework for high-performance servers(seastar-project.org ↗)

101 points · by panic · 11y ago · 23 comments

3228.

Notes on Scent (2009)(cabinetmagazine.org ↗)

2 points · by panic · 11y ago · discuss

comment 11y ago · link · parent

Yeah, see http://en.wikipedia.org/wiki/Space_Travel_(video_game)

comment 11y ago · link · parent

I think there's an interesting distinction here between general-purpose software and single-use code. General-purpose software has many users with many kinds of data. Unless your domain is intrinsically limited, it's impossible to be "fast enough" -- you can always find some data that your code will take to long to process. There's always an incremental benefit to optimization, and with enough users, it's irresponsible to waste collective years of people's time by leaving performance on the table.

What you've said makes perfect sense for one-off simulations, however. And in practice, optimizers are designed to make tight numerical code run fast. I don't think your use case will ever be ignored. It's just that most systems today are not made of tight loops of arithmetic operations. We need more tools to optimize the kind of code that actually makes our computers slow: code that allocates and deallocates memory, code that transforms data between different formats, code that constructs and operates on complex data structures -- that sort of thing.

comment 11y ago · link · parent

Games have been a huge driving force behind tech from the beginning. For example, Unix only exists because Ken Thompson wanted to port his game Space Travel to the PDP-7.

comment 11y ago · link · parent

Ah, thanks!

comment 11y ago · link · parent

Yes, but the probability measure they construct doesn't give "equal probability" in the sense that Xcelerate probably meant. Going back to the plane example, if we use the unit squares as our sequence A1, A2, ..., we'll get P(A1) = 1/2, P(A2) = 1/4, P(A3) = 1/8, and so on. This sums to 1 as you'd expect, but it's not uniform!

comment 11y ago · link · parent

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

comment 11y ago · link · parent

You probably mean bounded manifolds—the plane is closed (it contains all its limit points). The most general condition is that the manifold M itself has a positive, non-infinite measure m(M) (where m is the measure function). Then you can take the probability density of a set S to be m(S)/m(M). From this perspective, the problem with the plane is that it has an infinite surface area, so you can't divide by it to get a well-defined probability density.

For parametric surfaces, here's a mathoverflow post answering your exact question: http://mathoverflow.net/questions/9991/how-can-i-sample-unif... (ultimately linking to this SIGGRAPH paper: http://www.cs.virginia.edu/~jdl/bib/globillum/arvo01_notes.p...)

comment 11y ago · link · parent

This isn't possible for some manifolds. In particular, you can't choose a point uniformly from an infinite plane. To see why, split the plane into an infinite number of equally-sized (say, one by one) squares. Each square should have an equal probability that one of its points is chosen. Call this probability s.

Now let's look at the entire plane. If you pick a point, it will surely be on the plane. That means the probability that you choose a point on the plane is equal to one.

Putting the squares together gives you the whole plane, so you'd expect that summing their overall probabilities s would give you the overall probability of the plane, which is one. But there are an infinite number of squares, and there's no real number s for which the sequence s, s + s, s + s + s, ... converges to one.

comment 11y ago · link · parent

Here is the actual paper: http://arxiv.org/pdf/1303.2354v4.pdf. It looks like this is their family of counter examples:

A specific non-orientable five-dimensional manifold M5 with Sq1 ∆(M) ̸= 0 is constructed in [25]. Hence M5 is non-triangulable. To get non-orientable examples of non-triangulable manifolds in dimensions n > 5 we can take the product of M5 with the torus Tn−5. To get an orientable example in dimension 6 we can consider the non-orientable S1-bundle over M given by M ̃ ×Z/2 S1, where M ̃ → M is the oriented double cover; the total space of this bundle is orientable. To get orientable examples in dimensions n > 6, we can then take products with Tn−6.

comment 11y ago · link · parent

The battle Pixar had to rebuild/replace marionette cost millions and took years. It got so bad they were seriously considering Maya instead. (I thought they had actually bitten the bullet and bought a sight license, however it appears that they wrote presto instead.)

I'm curious about the details of this. What made marionette so bad that they couldn't fix it to do what they needed it to do? From my completely naive perspective, it seems like having custom tools should be a competitive advantage -- you can tune your tools to the needs of your artists.

1
107108109
120