Better HN
topnewbestaskshowjobs
Log inSign up

mcbits

2,232 karma · joined Apr 25, 2016 (10y ago) · 906 submissions

Submissions

comment 7y ago · link · parent

"select id, name from ..."

"from c in customers select ..."

Fill in the blank. They're not equally readable to the IDE that's trying to provide $1,199 worth of code completion for a partially typed query.

comment 7y ago · link · parent

It would be more interesting if the number 1,488 never appeared in any of the millions of papers containing numbers in the low-thousands range.

comment 7y ago · link · parent

If we find life surviving on one of the planets that we've been exploring, and it's so similar as to be indistinguishable from Earth life, then it almost certainly came from Earth on one of our missions. Even if an asteroid transplanted something that managed to take root millions of years ago, it would have endured some pretty severe evolutionary pressure by now (and probably didn't have any competition from native life).

comment 7y ago · link · parent

Workers dig holes. Managers dug holes. Executives decide if holes can be profitable. Directors know a general who needs a lot of holes dug for the empire's war effort.

comment 7y ago · link · parent

What you're calling a "how" can be a list of simple "what"s.

> In an electronic word processing system for creating and editing a document, the document comprising a plurality of sentences, a combined spelling and grammar dialog box for displaying both spelling and grammatical errors in one of the plurality of sentences in the document comprising:

> a rich text edit command (RTEC) field for displaying both spelling and grammatical errors found within the sentence and editing the sentence;

> an error title line for indicating whether the error displayed in the RTEC field is a spelling error or a grammatical error;

> a suggestions list box for displaying a suggestions list, the suggestions list comprises a fist plurality of suggestions operative for correcting the spelling error found if the error type displayed in the error title line indicates a spelling error, or the suggestions lists comprises a second plurality of suggestions for correcting the grammatical error found if the error type displayed in the error title lined indicates a grammatical error;

> a plurality of common command buttons operative for correcting both errors in the spelling and in the grammatical composition of the sentence displayed in the RTEC field.

https://patents.google.com/patent/US6085206A

In other words: an editable sentence, the description of a spelling or grammatical error, a list of suggestions to fix the error, and some buttons to apply a suggestion, skip, etc.

That specific combination of UI elements was perhaps new in 1996 (as were most GUIs), but not what I'd call an "invention" so valuable to society that it deserves 20 years of protection from free market competition.

The actual spelling and grammar analysis code might be worthy of protection for a year or two, but they probably lifted most of that from some college kid's paper.

comment 7y ago · link · parent

Styling an anchor as a block element has never violated the spec, and HTML5 deliberately added support for wrapping anchors around block elements because people had been doing that anyway, even though the browser wasn't required to make it work as intended (but it now is).

comment 7y ago · link · parent

It's not clear why the number of cameras in a city would fit a power law, which usually arises from some kind of feedback effect. More cameras -> something -> more cameras. Any ideas for what "something" is?

(Also... holy shit, that's a spammy site. Blocked.)

comment 7y ago · link · parent

The "correct" conversion to (modern) miles would be 20, both because 30 has only one significant digit and because it makes more sense to round 18.x to 20 than to 15.

comment 7y ago · link · parent

It's possible because "empty" is a relative term and the solar system is big. Hell, a whole 'nother star system passed through the solar system (if we include the Oort cloud) just 1,000 lifetimes ago. https://en.wikipedia.org/wiki/Scholz%27s_Star

comment 7y ago · link · parent

Since AMD has equally no obligation to Intel users, they can submit a patch that replaces Intel's

    if (intel)
        fast();
    else
        slow();
with

    if (amd)
        fast();
    else
        slow();
Or maybe there's a better way.

comment 7y ago · link · parent

There are captions on the video explaining some of it. This wall is only temporary storage of the bricks while they dry. The roof keeps them (somewhat) protected from rain until they're ready to be fired into stronger bricks.

comment 7y ago · link · parent

These discussions go back well beyond 90 days, which is more than enough time to wait for public disclosure.

comment 7y ago · link · parent

The most recent financial statement I could see is from 2017: https://assets.mozilla.net/annualreport/2017/mozilla-fdn-201...

They spent $253 million (45% of revenue) on software development, presumably the bulk going to Firefox. Other major expenses were $66 million for marketing (yay Moz://a!), $72 million for the dubious "general and administrative" category, a few million here and there for other things, and the rest went into the $500 million nest egg.

So they could certainly spend a lot more on Firefox if needed, but it's not evident to me that Firefox's weaknesses are money related.

comment 7y ago · link · parent

Correct me if I'm wrong (and I really hope I am), but it doesn't appear to be possible to use "pro" features like OpenCL with the open source AMD drivers, at least not with my 2400G APU. The last two times I tried, I had to install some blob that failed part-way through the installation and rendered my system unbootable.

comment 7y ago · link · parent

If indeed they're banning accounts for using virtual cards, I see a parallel with the early days of Gmail. You couldn't use a Gmail account to sign up for a lot of sites because short-sighted admins categorically prohibited all free webmail accounts. In their minds, the only "real" email addresses were at AOL, Earthlink, employers, universities, etc. Never mind that Gmail was invite-only and probably a much stronger indicator of a legitimate person at the time. The victim grows up to become the bully.

comment 7y ago · link · parent

It's also more consistent with "no longer", which implies a progressive action. An alternative is "will not support", which is no longer indicating (or does not indicate) that it had been supporting epub for a while.

That said, "will no longer support" is more succinct and clear enough.

comment 7y ago · link · parent

I don't find that remotely readable. By that I mean that nothing in the code gives me the slightest inkling of what kind of command I would type or button I would click, expecting this code to run in response.

comment 7y ago · link · parent

> June 1, 2020: ... all Mercurial repositories will be removed.

It's understandable that they would discontinue Mercurial support, but this part is shocking. No doubt that 1% includes more than a few obscure but historically interesting repos that will disappear because the owner wasn't monitoring their email (or is no longer with us).

Is BitBucket really that pressed for disk space? I hope they will reconsider and move those repos to a read-only archive like Google Code and CodePlex did instead of obliterating a piece of history for no good reason.

comment 7y ago · link · parent

Multiply that by a thousand or more if they had already accrued $10 million in "damages" by 1999 as they claimed. Apparently it would be extremely valuable to them.

comment 7y ago · link · parent

What is the definition of "violence" for that chart? Specifically, does it include self-inflicted violence (suicide) and vehicular homicide (drunk driving)? If so, it is much less surprising.

comment 7y ago · link · parent

The beer and wrench won't work on me, but the $5 might.

comment 7y ago · link · parent

I think Reddit is largely protected from being sued (in the US) for copyright infringement in comments/submissions as long as they comply with valid DMCA notices. But yeah, that involves removing the content.

comment 7y ago · link · parent

I'm sure it's not the only one, but it's the one that immediately came to mind. I thought it might be in the list because it's close to a foundational word in American English.

Sorry that you chose to read my comment as hatred. Yeah, that's not a real apology.

comment 7y ago · link · parent

Since "gotten" isn't in the list, I'm going with "someplace". It even seems unusual to me as an American, as I would write either "some place" or "somewhere". If the phrase is also unusual in British English, that's definitely something I had never noticed.

comment 7y ago · link · parent

Not-actual sentiment analysis is already useful (to some) and used in real world applications (though I'm not a fan of those applications), unless perhaps you're referring to the "actual real world" that lives somewhere beyond the horizon as well.

comment 7y ago · link · parent

The number of options that prettier exposes (despite boasting about being "opinionated", i.e. disregarding the user's opinions) suggests that there are people with different aesthetics or accessibility needs who would not consider one style to be always correct.

IMHO we're about 10 years overdue for committing a canonical representation of that AST to version control instead of treating a particular serialized visualization of it as the single source of truth (and spending countless hours debating which format is "good enough" for everyone in every situation).

comment 7y ago · link · parent

It works well for Patreon, but Patreon content creator earnings seem to follow the same power law that afflicts much of the economy. Almost nobody makes more than a couple bucks until they have network effects strong enough to fuel orders of magnitude higher earnings outside of Patreon with traditional (annoying) merch/advertising.

That's not to shit on Patreon. I think it's the right idea but still far from effective enough to consider creative funding a "solved problem" yet.

comment 7y ago · link · parent

If a tool is going to enforce line length limits, I'd rather have it spit a warning/error than silently try to guess a good place to break the line automatically. Otherwise, an editor tool that soft-wraps long lines at the (often poorly) guessed location without touching the code would be better.

comment 7y ago · link · parent

Oops! I actually thought about double-checking that before writing it, but I vaguely remember reading some list of reasons why they had initially gone with Electron instead of Chromium, so I assumed it was still true.
1
789
31