Better HN
topnewbestaskshowjobs
Log inSign up

panic

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

Submissions

comment 10y ago · link · parent

And then we wonder why the world is full of buggy, incomplete solutions!

comment 10y ago · link · parent

How should we measure the effectiveness of a city (what are its KPIs)?

Why is measuring a city using "KPIs" a goal of this study? The effectiveness of an entire city cannot be captured by a few numbers. Chasing metrics can easily leave you blind to reality.

2643.

When are people gonna realize their studies are dead on arrival?(andrewgelman.com ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

I just wanted to say I liked your comment, in particular the criticism about "blank slate" redesign being historically difficult, the need for study of problems and solutions in existing cities (and study of existing studies of cities), and the dangers of "success", especially given the pernicious reliance on metrics in the tech world today. That said, I can see why it was flagged: the jabs at YC and the tech industry in general are basically flame bait and aren't necessary to make your argument.

comment 10y ago · link · parent

The Sisal source is available here: https://sourceforge.net/projects/sisal/

2646.

Sisal: a functional parallel programming language(www2.cmp.uea.ac.uk ↗)

110 points · by panic · 10y ago · 36 comments

comment 10y ago · link · parent

To save you a click, here are the three reasons:

LinkedIn’s stock was struggling.

LinkedIn’s ad business was slowing down.

LinkedIn’s growth was a concern.

2648.

Agner Fog's ForwardCom instruction set(github.com ↗)

1 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

C would be a good example -- it is more efficiently parsed with a bottom-up algorithm than top down (recursive descent), because of the lookahead issue.

Which C compilers use a bottom-up algorithm? I'm fairly certain both GCC and Clang both use top-down recursive descent parsers.

It would be great to write your grammar once and get security, code-formatting, autocomplete, etc. for free, but in practice, you'll need a lot of control over things like error reporting. It's hard to match the control you have with plain recursive-descent code.

comment 10y ago · link · parent

Great article, but I have to laugh at the "hamburger" menu which slides the entire screen over just to show two links.

2651.

So you’re foolish enough to make satire for the App Store(medium.com ↗)

1 points · by panic · 10y ago · discuss

2652.

Write Like a Programmer(qntm.org ↗)

5 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

A "collapsed economy" is fertile ground for fascism and aggression. Be careful about what you're wishing for here.

comment 10y ago · link · parent

Honestly I think our best bet is to focus on education and childcare, then try to hold on for a generation. Many parents don't have time to raise their children as well as they'd like. Teachers are underpaid, under-respected and have in many cases had their agency taken away by standardized tests. It's no wonder so many people find it difficult to stay informed when they're starting from so far behind.

comment 10y ago · link · parent

Blaming people (older people, immigrants, whatever) for our problems isn't productive. Let's figure out what's broken about the systems we're living in instead of alienating the people we should be working with to fix them.

comment 10y ago · link · parent

Here's my understanding of the general idea (let me know if I got something wrong!). Say you have a bunch of computers with different software and hardware. You come up with a cool new image format called "PJEG". To get the images to show up on all the computers, you typically do the following:

    * Publish a PJEG spec
    * Define a .pjeg extension and let everyone know that means it's
      a PJEG file
    * Write a PJEG encoder/viewer for each kind of computer
    * Distribute these programs to the computers
    * Configure the computers to open .pjeg files using the programs
      you distributed
    * Modify other programs (image editors, web browsers) so they
      can recognize, encode and view PJEG files as well
    * etc...
This approach doesn't scale very well. I think the alternative Alan is suggesting is that you'd include an interpretable description of the file format in the file itself in a sort of meta-format. Once you have an interpreter for these meta-format descriptions, all you'd have to do is:

    * Include an interpretable PJEG encoder/viewer with every PJEG file
And that's all! Any program able to read the meta-format could use this file without any extra software. This obviates file type metadata and reduces the amount of distribution you need to do, making the whole thing way more scalable. The practical problems with this solution (larger file size, slow encoding and decoding) can be solved in various ways:

    * The larger file size can be mitigated by format negotiation
      (if I already know about the format, you don't have to tell
      me about it)
    * Optimized encoders and decoders can be written to replace the
      slower interpreted ones included with the file
Having the interpreted format description makes it easier to validate the optimized version, too (you can generate a bunch of random examples and make sure they decode/encode the same way). And this doesn't have to just be for files, you can use the same technique for arbitrary "data types" in your program as well.

comment 10y ago · link · parent

Biological cells:

I thought of objects being like biological cells and/or individual computers on a network, only able to communicate with messages (so messaging came at the very beginning -- it took a while to see how to do messaging in a programming language efficiently enough to be useful).

(from http://www.purl.org/stefan_ram/pub/doc_kay_oop_en)

comment 10y ago · link · parent

I never said they were. I was responding in general terms to the comment above mine. What disappoints me about this vote has nothing to do with the way people are organizing, but the thing they're organizing around. People are voting based on how they feel or what "side" they're on instead of thinking about what will actually have the best outcome. Cutting off the nose to spite the face and so on…

comment 10y ago · link · parent

Why did they have a vote if they hadn't planned for what would happen afterward? It's completely absurd.

comment 10y ago · link · parent

The worldwide economy isn't doing very well; it's not just the EU. Is there any evidence that leaving the EU will help this situation? I think there are a lot of people who agree with you, but this whole thing seems too poorly planned and justified to really understand the impact. People are voting based on how they feel instead of what will actually have the best outcome.

comment 10y ago · link · parent

An angry mob is made of people who are individually responsible for their decisions. It doesn't matter whose fault it is; if the government won't fix it, the people have to organize to do it on their own, and an angry mob is not the best way to do that.

comment 10y ago · link · parent

But the way we're lashing back seems completely unproductive. Why not organize around a sane leader instead of electing bigger and bigger idiots in some kind of suicidal hope that the system will collapse?

comment 10y ago · link · parent

Are there any solutions to this that don't involve rendering into a higher-resolution buffer and downsampling (or the MSAA moral equivalent)?

2664.

My four months as a private prison guard(motherjones.com ↗)

11 points · by panic · 10y ago · discuss

comment 10y ago · link · parent

How do you define a "bad thing"? The semver spec is quite clear about "even the tiniest backwards incompatible changes" (http://semver.org/#if-even-the-tiniest-backwards-incompatibl...) requiring a major version bump.

comment 10y ago · link · parent

Of the languages I've used, Visual Basic (pre-.NET). I never used Hypercard, but I hear it was pretty good too. Newer languages tend to be too complicated to have great development environments.

comment 10y ago · link · parent

How do you define "character"? You typically need to take into account grapheme clusters / composed character sequences, which make jump-to-character O(n) regardless of encoding.
1
888990
120