HNHacker News
TopNewBestAskShowJobs

spoondan

1,301 karma · joined November 17, 2008

submissionscomments
spoondan··on Can you see the flag on the Moon with a telescope?
If you must conclude that every public speaker who is visibly nervous and unpolished is a liar, you should avoid tech conferences.
spoondan··on Oops: No copied Java code or weapons of mass destruction found in Android
That's his point: the vast majority of Android distributions are likely to be binaries installed on devices, not source distributions including the allegedly infringing code. This changes the discussion at least with respect to Oracle's remedies should Google be found guilty.
spoondan··on Tarsnap critical security bug
How do you assess your effectiveness at proofreading your own code?

I know that I find more mistakes in my code when time reveals the code as it is rather than as it was intended. But I can't say this makes me good enough at proofreading myself. What about the code I've conceived and written in ignorance?

spoondan··on Google Removing H.264 Support in Chrome
I like Gruber, but he's almost insufferable on issues like these. These questions are "simple" in the least flattering sense. Let's dispatch them:

If H.264 support is being removed to “enable open innovation”, will Flash Player support be dropped as well? If not, why?

The premise is that openness is all or nothing. But Google can support Flash and work towards openness, just as Apple can prefer open web standards in lieu of Flash while supporting proprietary systems. There's no hypocrisy or conflict.

Android currently supports H.264. Will this support be removed from Android?

Maybe in the future. WebM support is new in Android, hardware decoders are really just coming to market, and there are enough existing and in-production phones that rely on H.264. The constraints placed on Google by the handful of Chrome users leveraging H.264 HTML5 video is completely unlike the realities of dealing in the handset market.

YouTube uses H.264 to encode video. Presumably, YouTube will be re-encoding its entire library using WebM. When this happens, will YouTube’s support for H.264 be dropped, to “enable open innovation”?

YouTube continues to support other proprietary formats. As with Sorenson, they're not going to drop H.264 until they don't care about the market share of H.264-only devices. In the meantime, they will try to drive people towards WebM in support of "open innovation". This is not inconsistent or even new.

Do you expect companies like Netflix, Amazon, Vimeo, Major League Baseball, and anyone else who currently streams H.264 to dual-encode all of their video using WebM?

It should be obvious that Google's hope is anyone using HTML5 video will eventually move to WebM exclusively.

If not, how will Chrome users watch this content other than by resorting to Flash Player’s support for H.264 playback?

Content producers won't care if Chrome users end up in Flash, since the content's still available and very few non-mobile users are getting HTML5 video anyway. Flash is still the norm outside of mobile devices.

Who is happy about this?

Were people ecstatic that Chrome supported H.264? Most people simply don't care about this kind of stuff and for good reason.

spoondan··on Kod is a new Node.js scriptable code editor for OSX
It being used makes it a word. Words get added to dictionaries often. Where do you think they came from to begin with?
spoondan··on Google introduces new meta tag to properly cite writers
Why aren't these LINK tags with appropriate REL extensions?
spoondan··on Open Source Search with Lucene & Solr
Lucene is great but I wish schemas were an optional part of Solr. They add complexity and take away flexibility. If you have a photo database where you want searchable metadata describing the subject of the photographs, you can do this easily and naturally in Lucene. But Solr requires you either (1) prefigure available metadata or (2) expose field typing details to your users (so a field for birthday is actually "birthday_d", with the "_d" indicating it's a date). Both of these are very unattractive to me.

The worst part is that I have no idea what benefits schemas are supposed to bring me. The documentation vaguely promises that schemas "can drive more intelligent processing", but I have a feeling I could get that more easily without schemas. It also tells me that "explicit types eliminate the need for guessing of types," but only, apparently, by requiring users to understand and remember them.

spoondan··on OK, here's the thing: this is only the entrance of the rabbit hole.
The feature isn't bad, but there are several warts. The '$' is not a prefix operator on strings. The following is a syntax error:

    $"test";
It turns out that '$' can only operate on an identifier or another '$' expression. The '${...}' syntax, aside from being more readable and less likely to be accidentally encountered, is more like an operator:

    ${"test"}; // equivalent to $test
The decision to keep (and only warn against) unescaped strings past the introduction of an incompatible feature (constants) is inexcusable. It creates oddities:

    $test = 'foo';
    $foo = 42;
    echo $test . " ${test} " . ${test} . " " . $$test . "\n";
This generates a notice and prints, "foo foo foo 42". But then:

    $test = 'foo';
    $foo = 42;
    define('test', 'foo');
    echo $test . " ${test} " . ${test} . " " . $$test . "\n";
This will print, "foo foo 42 42". (Note also the difference between the meaning of ${...} within string interpolation versus outside of it.) Is this all understandable? Sure. Is it good? No.
spoondan··on Python idiom for taking the single item from a list
I'm annoyed by the belief that consistency is ipso facto good. Consistency is a tool for attacking a particular type of problem. Consistency for its own sake will often make things worse.

I see this fallacious reasoning all the time in design critiques: this is inconsistent with that. Well, yes, but so what? Why is consistency desirable in this instance?

spoondan··on Robin Hanson's Opinion Warning Signs
No, actually, it is not, and you surely know this. People may be asymptomatic yet still have an illness. People may have all of the symptoms of a particular illness and yet not have it. And lists of symptoms are not (cannot truly be) exhaustive.
spoondan··on Robin Hanson's Opinion Warning Signs
No. Consider these as symptoms. A cough is neither necessary nor sufficient to prove you have a cold. You may have a cold without a cough; you may have a cough without a cold. Yet, you wouldn't assert that a cough is a useless piece of evidence when trying to diagnose an illness. Why then should you dismiss this list as useless just because it does not definitively answer a question for you?
spoondan··on Robin Hanson's Opinion Warning Signs
The list consists of signs that indicate when you might want to evaluate the basis of your opinions. It is not claimed that the list items, taken individually or collectively, are necessary or even sufficient for self-identifying your biases. The list does not say, "If your opinion does not much change after talking with more knowledgeable people, your opinion is reflective of your bias." Rather, it's merely that should you find yourself unswayed by seemingly knowledgeable people, some introspection may be in order: do you have a reason for disagreement beyond mere conviction?
spoondan··on "How hard can it be to implement?"
I missed this reply, but in case you come back to see it: the common approach to this issue is denormalization. That is, instead of needing to join comments to todo items to todo lists to get the project_id, you duplicate the project_id on comments and you can just get all the relevant comments with very few joins. Obviously, this makes moves need to hit the comments table.

That's a small piece of the picture. With partitioning, a move could entail removing data from one table and inserting it into another. With sharding, a move could mean removing the data from one database and inserting it into another, which probably means manually ensuring consistency because your typical transaction won't span databases.

spoondan··on The High Cost of College - Megan McArdle
You may need to spell out what you're trying to say. Why should one expect the spending per student to decrease solely (or even primarily) as subsidies decrease? Aren't tuition and enrollment far more important?
spoondan··on Ron Conway Drops A Nuclear Bomb On The Super Angels
Calling TechCrunch's reporting a "bullshit superangel conspiracy theory" is, if nothing else, a prime example of defensiveness.
spoondan··on Move to SF and hate it?
I'd say Coi, Quince, and Kokkari. There's also One Market, Boulevard, and Perbacco. Really no shortage of fine dining in the area, many of which could easily be "incredible" according to an individual's taste.
spoondan··on "How hard can it be to implement?"
Looking at just comments on items in todo lists: comment's have an item_id, items have a list_id, and lists have a project_id. You want to get all comments across all projects a user is a member of, so you end with a small handful of joins. Remember that these are reasonable large tables. When you consider the fact that comments can appear on nearly anything, you end up with more joins. Are you certain this will stand up under Basecamp's load even before you consider all of the other features you need? This is all before we run into sharding or partitioning as a scaling strategy.
spoondan··on "How hard can it be to implement?"
You're imagining files belong to comments, comments belong to items, items belong to lists, lists belong to projects, and changing the list's foreign key re-parents the whole hierarchy.

Now consider that Basecamp allows comments on messages, todo items, and milestones. What does your schema look like now? Add a feature to show a user all recent comments across all of his projects. What does your query look like? How does it perform? Get all of this (not to mention the other features) working at scale.

Maybe you can build something like Basecamp that works at Basecamp's scale without resorting to denormalization, sharding, and/or partitioning. But I doubt it.

spoondan··on Kind reminder: please (re)read the HN guidelines
He's not arguing for URL shorteners to be permitted. He's arguing that the prohibition should be made upfront.
spoondan··on The Sun is changing the rate of radioactive decay
In 1911, Marie Curie was awarded the Nobel Prize in Chemistry for her work in radioactivity. Chemistry is the study of matter, as much as (but distinct from) physics.
spoondan··on Welcome to the new decade
Belatedly: While "owning a market" is a serviceable definition of a monopoly, it's not what I wrote about and it has no relationship to Apple's position in the smartphone market (or, really, any other market). A "market segment" is not a "market", and "winning" is not "owning".
spoondan··on Ask HN: Weby: A new python template language, can I have some feedback please?
Could you reduce the noise by having the accumulator (W in the below) support HTML generation methods?

    @weby.template()
    def index(W):
        with W.html():
            with W.head():
                W.title('Hello, world')
            with W.body():
                W.h1('Hello, world')
                W.p('Lorem ipsum dolor sit amet')
                with W.ul():
                    W.li('Lorem')
                    W.li('Ipsum')
                    W.li('Dolor')
                with W.div(className='footer'):
                    W.p('foo bar baz bim')
A smaller win is to use keyword arguments (instead of passing a dict).
spoondan··on Welcome to the new decade
Winning a particular market segment does not a monopoly make.
spoondan··on 25 Best Hangman Words
I like "queueing" for its long run of vowels. It's not terribly difficult to guess, but does tend to confuse people.
spoondan··on Gmail Adds Drag-and-Drop Saving for Attachments
Dragging and dropping files is an interaction that people already know. Nobody needs to "discover" it, they just need to assume it works.
spoondan··on iPhone OS updated
The reporting isn't so bad. But the headline writing is atrocious.
spoondan··on Today is Everybody Draw Mohammed Day
They will if we don't treat them like delicate children.

That's abject nonsense. Intentionally offending people doesn't make them grow up. It makes them feel aggrieved.

spoondan··on HTML5 And Filling Gaps Between Web and Desktop/Mobile Apps
May I suggest getting rid of the overridden arrow key behaviors? I don't mean to sound harsh, but I gave up trying to read the post because the behavior of "up" and "down" is weird, unnecessary, and comes with an obnoxious animation. I figured out what they did pretty fast, but then I'd lose my reading place by absently pressing "down" in an attempt to scroll the post.

Also, the blue bar might work better if it spanned the entire width of the right column and fixed to the top of the content area. Right now, because of the content that appears above it and all the white-space to the right of it, it feels like it's floating over and blocking content.

spoondan··on Why time stands still at 9:42 on iPhone/iPad ads
But design is as much about "hiding" things incidental to the experience as it is about calling attention to the things you want people to notice. Subtle elements of the design may not rise to conscious awareness but still have an effect on how people perceive the experience.
spoondan··on Mozilla rips off Metalab, issue apparently resolved within the hour
Mozilla employees ought to know the policy and understand how it applies to what they do on the wiki. On that we can agree. But when one fails to follow the policy, and in the absence of any other evidence, is it reasonable to assume that they willfully did so?
← PreviousPage 5 of 7Next →