Recent submissions

Comment · 10 years ago
Different tab widths are a non-issue. Sure, the maximum character per line only works for a set tab width, but I take that “problem” over the rigidity (and unsuitability) of spaces as indentation.
Comment · 10 years ago
The weight is spread around the body, though. But yes, certainly it will affect featherweights.
Comment · 10 years ago
... but only if they realize to use it.

Not to say that I'd approve this farce.

Comment · 10 years ago
A value with a type is an object?

What else do we need? “Methods”? Why?

I very strongly support the proposed Unified call syntax.

Comment · 10 years ago
A struct is an object. Even a plain integer is an object, considering the referred article was talking about C++.

(Yes, you cannot inherit all kinds of objects – but you definitely can inherit any kind of struct, POD or not.)

Comment · 10 years ago
>Now here's what this would look like in C++ without using objects:

    mixer_set_volume(m, 0.8);
What is m, if not an object?
Comment · 10 years ago
Haven't you seen a single of these “Android Linux” tablets in the last five years or so?
Comment · 10 years ago
>Yet when front-facing cameras came out, EVERYONE jumped on that feature, now your phone is dead in the water without it.

When do you think front-facing cameras came out?

The answer is, they were rather common in (non-touch) smartphones outside the U.S. before the first iPhone was even rumoured of, yet Apple only introduced one in the 4th generation of their phones.

Comment · 10 years ago
The mentioned blog post is horribly ignorant, and lacks almost any valid points.

find, in particular, very much has a fine UI, and I dare you to process, and not just list, the files with cmd.

Comment · 10 years ago
In this particular case, I'd write

    var el = $("<a href=/ class=link>Link</a>");
Comment · 10 years ago

    sandbox command
Comment · 10 years ago
>Torvalds in from the Swedish minority in Finland

Torvalds is from the Swedish-speaking minority in Finland.

Comment · 10 years ago
Well, you could always begin another scope with each assignment.

    auto var = // this type can't be inferred because it's not used
    {
      auto var = 2;
    }
I'm too exhausted to think why this may not be applicable.
Comment · 11 years ago
So much explained disagreement.. not?
Comment · 11 years ago
Nothing on the post above is even remotely accurate.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton