Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

comment 9y ago · link · parent

Since Congress defines what the law is, couldn't they do it? The only law binding Congress's lawmaking powers is the Constitution, and I don't think it restricts their ability to dissolve corporations.

1742.

Beyond the Centralized Mindset (1996)(llk.media.mit.edu ↗)

1 points · by panic · 9y ago · discuss

1743.

Hunting Hugo(wunderground.com ↗)

1 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

Inigo Quilez was responsible for modeling vegetation procedurally in Brave:

“If you just render the geometry, it’s pretty, but it doesn’t look lush and furry,” says supervising technical director Bill Wise. “We wanted Spanish moss hanging from tree limbs, and clumps and hummocks of moss. The Highlands of Scotland were like another character in the film, a living backdrop for what was going on. We had never tackled as vast an outdoor landscape, but we were able to generate it using insane procedural geometry developed by Inigo Quilez. He’s a magician.” (http://www.cgw.com/Publications/CGW/2012/Volume-35-Issue-4-J..., section "Painting with Code")

He contributed some basic lessons about it to Khan Academy's "Pixar in a Box" section on Environment modeling (https://www.khanacademy.org/partner-content/pixar/environmen..., direct link to first video: https://www.youtube.com/watch?v=fuwUltMAdYQ).

Also worth checking out is "Elevated", one of the coolest 4066-byte programs you'll ever see: http://www.pouet.net/prod.php?which=52938.

comment 9y ago · link · parent

Both he and Pol Jeremias, I thought.

comment 9y ago · link · parent

China is riding a wave of economic growth. When the growth runs out, we'll see how stable the state really is.

comment 9y ago · link · parent

What is this mysteriously-named Hash Array? Perhaps you're talking about a Contiguous Allocation with Well-Shuffled Value-Derived Indexes?

comment 9y ago · link · parent

If that were true, then Linux distros wouldn't still be using GCC. Switching to a new compiler (like clang) is a huge burden.

FreeBSD switched to clang, and could (with some work) be made to use whatever safe C compiler people come up with. That's much easier than rewriting the entire FreeBSD system in a new language.

comment 9y ago · link · parent

Is such a safe implementation of C really suitable for systems programming, rather than merely application programming? If we understand system-building as communicativity, then certainly such a system retains communicativity—so long as alien objects can be described to it in a manner sufficient for dispatching the same dynamic checks. If I memory-map a file, say, I can safely access that memory only if the structure and meaning—the bounds and the types, roughly—are described much like those of other in-memory objects. Tools and systems for providing these descriptions are currently lacking—but are a logical extension of the runtime type information already developed in recent work. In the case of file formats, some cases like the ELF example we saw earlier (§5.5) show that the format has already been defined for us, thanks to the manifest layout of objects declared in C.

This is a key point. There are scattered systems for describing the layout of arbitrary binary data—C structs/unions, Erlang binary patterns, ASN.1 Encoding Control Notation, Kaitai Struct[1]—but nothing has really caught on across language boundaries. It's hard not to feel this data format barrier when you're using a C API from another language. We'll need to do something about this barrier if we want a true multi-language system (not just a bunch of awkward C FFIs).

[1] http://kaitai.io/

comment 9y ago · link · parent

Here's a tutorial on how to create a programming language using LLVM (in C++ or OCaml): https://llvm.org/docs/tutorial/

comment 9y ago · link · parent

Maybe this works in the short term, but if your policy is always to "deliver something, anything", you'll find it harder and harder to deliver anything, and more and more bugs appearing when you do. You need to understand the meaning of the code to successfully change it. Code written following this "deliver anything" policy will tend to have unclear, inconsistent, or flat-out nonexistent meaning. Further changes written like this will keep eroding the meaning until you're left with a program that can only be understood in terms of what happens when you run it.

You can never be confident making changes to a program like this, because you don't have a coherent understanding of how each change will affect the system as a whole: all you know is how it will change the behavior when the system is run in a particular way. You don't have to be a perfectionist to understand this!

comment 9y ago · link · parent

Ten years later, many now regard the Bush Administration with actual nostalgia.

And 10 years from today, will we look back to 2017 with the same longing?

Why is every discussion of American politics dominated by the President and their administration? Congress is the part of government that effects long-lasting change, not the President. That's the part of government we need to be paying the most attention to.

comment 9y ago · link · parent

This anti-government ideology is self-reinforcing. We underfund government programs, then hold them up as examples: "Look, government funding doesn't work. I told you so!"

In reality, the people doing the actual work of health care wouldn't change -- the money to pay them would just come from a different place. Do you really think the folks at insurance companies have more custodianship and duty than people working in the public sector?

comment 9y ago · link · parent

Could either of these labs be described as a "startup"? Fundamental research seems hard to do while searching for the revenue to stay alive. You need a stable source of funding, either from a large corporation (like SAP, Xerox or AT&T/Western Electric) or a government department (like DoD/ARPA) -- not VC funding which carries the expectation of near-term growth.

1755.

The Counselor (2015)(motherboard.vice.com ↗)

1 points · by panic · 9y ago · discuss

1756.

High-Level SIL Optimization in the Swift Compiler(benng.me ↗)

3 points · by panic · 9y ago · discuss

1757.

Your load is too heavy: Zork deep reading(blog.zarfhome.com ↗)

231 points · by panic · 9y ago · 32 comments

comment 9y ago · link · parent

Probably because that's how the vendors distribute their proprietary drivers.

comment 9y ago · link · parent

You can also model each vote as an "agent" that tries its best to move the star rating toward its desired value. If the current rating is a 4, each "agent" with a vote less than 4 will throw a 1 into the average, and each vote greater than 4 will throw a 5. This process converges, though the rating tends strongly toward 3 (or whatever the middle value is).

comment 9y ago · link · parent

If Google and Facebook were nationalized, why would they need to sell ads?

comment 9y ago · link · parent

The whole point is that these companies are inherently resistant to competition. Nationalization doesn't require limiting access to any other service or restricting competition in any way.

comment 9y ago · link · parent

Facebook in particular should really be governed by its users, whether that's indirectly under the public ownership of a democratic state, or directly through some built-in form of democratic governance. Nobody should have so much power without some form of accountability.

comment 9y ago · link · parent

Sure, but we've been building houses for a long time. We know a lot more about building houses today (or even 40 years ago) than they did when the practice of house-building was still relatively new. And most of this knowledge didn't come from building houses over and over, but from developing better theories of how buildings stay up, using better materials, etc....

comment 9y ago · link · parent

Given how young the practice of programming is, I doubt anyone alive today knows how to write truly good code. Just look at the kind of code people used to write 30 or so years ago. It's interesting to think about: what will "clean code" look like in 2047?

comment 9y ago · link · parent

I'm not sure the license plate scanner is the one to blame here. Since when does stealing a car carry a death sentence?

comment 9y ago · link · parent

This article doesn't provide enough data to support the conclusion it makes. They link to a report of population projections, but the report doesn't mention California (or any other state) at all. For all we know, just as many conservative Texans could be moving to California as there are Californians moving the other way, and the real trend is just an improved economy in both states -- or any number of other explanations.

comment 9y ago · link · parent

We can talk about our decisions, explain them, and revise them if someone convinces us we're wrong. That's very different from a system that only outputs a vector of probabilities.

comment 9y ago · link · parent

Are there any projects that follow this specification strictly? It seems like most projects are willing to do backwards-incompatible "bug fixes" to the behavior of their API without incrementing the major version. These are usually harmless in practice, but technically break rule 8. It seems difficult to me to prove that any given set of changes can't break someone else's code (even allocating an extra byte of memory has the potential to do this).

comment 9y ago · link · parent

The increase is due to social security revenue, which goes into a trust fund and can't be invested directly into research. If you leave out social security, the graphs on that site show the remaining federal revenue steadily decreasing relative to GDP.

comment 9y ago · link · parent

It's not necessarily about interest. US policy for the past few decades has been to reduce taxes (in 1945 we took 94% from the highest income tax bracket!) and let the private sector decide how to allocate money. Since people spend a lot of money on tech, that's where the money ends up.
1
585960
120