skysight-inc/HackerNews huggingface dataset:
My last remaining complaint with new formatting is with Pylint and logging messages. The old-style way is to write:

logging.debug('some value: %d', 123)

which avoids the cost of string interpolation if that log message wasn't going to be emitted, say because the log level is higher than DEBUG. If you instead write:

logging.debug('some value: {}'.format(123))

then Pylint will complain that I "Use % formatting in logging functions but pass the % parameters as arguments (logging-format-interpolation)".

Yes, I can disable that particular warning, either by maintain a pylintrc file or adding annotations to the source code. Yes, this is a dumb complaint. But yes, it still bugs me.
I also have this feeling, but from my limited experience with control systems you might want to try the simplest first.

There is a tremendous amount of variables to consider, and the analysis of how to take each into account is non trivial -- if you don't measure some variable precisely enough it might make the whole system less stable, the solution might get worse due to increased computational load, the conditioning might degrade, etc.

So with the number of controls they have and the predictive models available, I'm sure they're actually scrambling to refine their systems right now.
Changes of what? There are millions of parameters that affect each other in a nonlinear fashion due to genetics, environment, diet etc. Getting such data from the living system would be prohibitively invasive, blood tests have their limitations and doesn't provide real-time data.
Something to note, for those who want to flood nice people with emails: I sent him a couple emails (probably similarly stupid questions -- I recall one was about his thoughts on Twilio having a "build your own appointment reminder" page -- not a direct competitor for your customers, but that does seem a little rude, no?), and never got a response. Nice people get busy, and it's best to consider if clever googling / just trying it will be a better use of the shared public resource called 'Patrick's Good Will'. In my case, I could have just e.g. assumed his thoughts mirrored mine, because even if they didn't, not really important to me.
I was under the impression that was for more hobby level apps with a very tiny amount of revenue, but maybe I was mistaken. I'll check it out, thanks!
This looks cool and works great on desktop.

Unfortunately on mobile (iPhone 6 Plus, 8.3, Safari browser) it's very buggy.

In the third example, moving an item anywhere (including in the container, even right back where you selected it) will delete it.

In the fourth example, you can't move any of the items at all. They immediately snap back to where they started.

It's a great start though.
I can understand that line of thinking, but in given the OP is talking in JS, and and that I've only ever written such languages at Uni or for practice, I don't find them applicable to my day to day. I deal with Java, Scala, JS, and a few other C-style languages. These are how I think and work, these are, and I'm going to assume (make an ass of you and me ;)) that these are what the majority of HNers deal in.
Anyone else feel like we could get along without the "'clit' interface" jokes?
Anti-trust isn't competition law in the US.

Anti-trust law in the US does not exist to promote competition.

Monopolies are not illegal in the US. The violation of anti-trust law generally occurs when the government 'proves' harm to consumers. It's an almost entirely arbitrary decision on the part of the government as to whether they pursue a company on anti-trust grounds.

Intel maintained a near monopoly in personal computer processors for a long time. They were allowed to keep that position, despite the lack of serious competition beyond AMD's small slice of the market. Cisco, eBay, Facebook, Google and Microsoft have also been allowed to keep their overwhelmingly dominate positions over the years. Why? Because anti-trust has nothing to do with promoting competition.
Having a goal to live longer isn't too different than having a goal to live healthier. Living healthier and living longer go together, and you can't generally cherry pick.

Of course, if you want to reduce probability of premature death or permanent disability by staying away from dangerous activities and places, then that's a different conversation.
I'm anti-GMO, anti-dairy, pro-cheese, and pro-beef (so Im not in the vegan crowd at all)... yet I'd at least try this especially if it produced high quality cheeses on par with the best unpasteurized cheeses I've had.

Why am I anti-diary? The pasteurization process produces denatured proteins (linked to cancer), contains hormones that are not biologically inert for humans (we are not baby cows), and contain huge amounts of lactose (a sugar that some people are allergic to, and is not a particularly good thing to have in our diets).

The production of most hard cheeses and some soft cheeses tends to remove a lot of the hormone and lactose content, as well as some of the denatured proteins. Cheese does not require pasteurized milk, nor does it benefit from it in any way, as cheese was the first viable method for long term storage of milk.
Cancellara was recently injured, and doesn't seem interested in trying for the record anyway. http://velonews.competitor.com/2015/02/news/cancellara-lost-...
Great News – Early Retirement Doesn’t Mean You’ll Stop Working
The only thing I could find describes it as a "chase plane". I know one time they used Musk's private jet but I think that was an emergency replacement.
Walking onto property you claim as your own is not a violent act. Kicking the crap out of me because I've walked onto property you claim as your own is a violent act.

Constraining my movement with respect to your lawn is putting a constraint on my freedom. Beating me up neither constrains my freedom nor encourages it, it's just you being violent.

It's also silly to say the US is founded on "freedom" when that word is uselessly vague.
Caique – Mobile e-commerce platform
My timing tests have never come across a case where it's faster, for those cases that can be expressed directly in a '%' format string:

% python3.3 -mtimeit 's="%s %s %s"' 's % (1, 3, 9)'
1000000 loops, best of 3: 0.361 usec per loop
% python3.3 -mtimeit 's="{} {} {}"' 's.format(1, 3, 9)'
1000000 loops, best of 3: 0.593 usec per loop
% python3.3 -mtimeit 'f="{} {} {}".format' 'f(1, 3, 9)'
1000000 loops, best of 3: 0.569 usec per loop

The construct "x % y" has special support in CPython. Quoting from ceval.c:

TARGET(BINARY_MODULO)
w = POP();
v = TOP();
if (PyUnicode_CheckExact(v))
x = PyUnicode_Format(v, w);
else
x = PyNumber_Remainder(v, w);
Py_DECREF(v);
Py_DECREF(w);
SET_TOP(x);
if (x != NULL) DISPATCH();
break;

That is, in the '%' case, if the left-hand side is a string, then go directly to the string format. Otherwise, go though the normal binary operation resolution mechanism.

While the "".format(x) path goes through the normal method invocation path - it has no special treatment.
> We found that almost everything we build fits into one of these three components

What doesn't fit? I think it's important to know where the framework lacks, they seem to have made some experience with things that didnt quite fit into this component structure.
What does Google need on mobile?
For reference sprinters like Mark Cavendish often reach speeds of 70 to 80kph (43mph to 49mph) in the final 200 metres of a road race.

http://www.stuff.tv/features/tour-de-france-contender-mark-c...
Before I saw this comment, I assumed it was some sort of memory leak tracker.
You can now Google your lost Android phone
Hurd was interesting a decade ago, but IMO these days the more interesting proposals are far more radical, such as the Ethos OS [1].

[1] https://www.ethos-os.org/
SpaceX has a chase plane that films the landings from afar;

https://twitter.com/elonmusk/status/588142879245238273

I can't seem to find what type of plane it is though.
I use SBCL for some scripting, and haven't found the overhead to be that bad just using #!/usr/bin/sbcl. For basic stuff, I just use zsh, so by the time I've switched to Lisp, the task is already at the point where startup time isn't a big factor.

I do have some compiled programs I use, but IMO they're a little too big to be called scripts.

An interesting idea would be the ability to dump a shared library of the core image, and then dump incremental changes as executable images that dynamically link to it.
Lactose intolerance is not an allergy.

(I'm not sure that is what you mean or not though, and some people do indeed have milk allergies.)
Driving Behaviour as a Telematic Fingerprint
>I'm anti-GMO,

Why? The overwhelming scientific consensus is that it's perfectly safe.

>The pasteurization process produces denatured proteins (linked to cancer)

I think someone may have been playing a joke on you when they told you this. Denaturing proteins is a critical part of the digestion process. Our body can't really do anything with proteins that maintain their secondary/tertiary/quaternary structure through digestion.

> [lactose] is not a particularly good thing to have in our diets

What makes you say this? Sure, some people don't produce lactase and can't digest it, but it's fine for the rest of us.
I'm reminded of this article:

http://www.businessinsider.com/things-harder-than-getting-to...

Some highlights:

Walmart 2.6% chance

Getting an iPhone 6 on release day: 0.1%

Apple Store: 2% (I think Genius is really, really hard, but no number.)

Google was also mentioned in this article at 0.4%
$190-250, sheesh - that fine amount is far to high. The maximum parking fine in LA, for parking on a red curb, only costs you $93.
Mazdas (at least the 6 and CX-9) will beep at you if the key isn't inside when the vehicle is running.

If keyless ignition does make it big in the motorcycle world, I would expect that motorcycle manufacturers would add lights/beeping/ignition cutoff if you got too far from the key.
I disagree. There's a significant amount of security we gain from collectively using the CA system over self signed certificates. If a CA is subverted my browser or OS vendor can pull the CA or the CA, if trustworthy, can revoke the certificates.

Let's say a CA has issued certificates for example.com to someone with nefarious intent. It's discovered that the CA's security is completely compromised and my vendor pulls the plug. In our current scenario I can visit example.com while being MitM'd and my browser vendor has made sure I get a big alert when I connect.

In a scenario without CAs, I visit example.com and my browser vendor has no idea that I'm being MitM'd nor do I since I've never been to example.com and examined the certificate.

Is it perfect with CAs? No. Will some get victimized by a CA's carelessness regardless of when it's caught? Probably. But most of us remain more secure with it than without it. For most users on most sites it works albeit haphazardly. It should absolutely be replaced. But to suggest that the security benefits should be abandoned because it's possible that it could happen is short sighted. It would be open season on internet users.
You can also try Nmap, but apparently it's not able to tell too much if the server doesn't reply with a header:

nmap -T5 -sV --version-all -p 80,443 www.google.com
Starting Nmap 6.00 ( http://nmap.org ) at 2015-04-16 03:02 CEST
Nmap scan report for www.google.com (80.202.12.244)
Host is up (0.0015s latency).
Other addresses for www.google.com (not scanned):
(...)
rDNS record for 80.202.12.244: cache.google.com
PORT STATE SERVICE VERSION
80/tcp open http Google httpd 2.0 (GFE)
443/tcp open ssl/http Google httpd 2.0 (GFE)
Service Info: OS: Linux; CPE: cpe:/o:linux:kernel

Apparently stackoverflow (well know user of .net stack) is "unknown", but microsoft.com gives:

nmap -T5 -sV --version-all -p 80,443 microsoft.com

Starting Nmap 6.00 ( http://nmap.org ) at 2015-04-16 03:05 CEST
Nmap scan report for microsoft.com (134.170.188.221)
Host is up (0.18s latency).
Other addresses for microsoft.com (not scanned):
134.170.185.46
rDNS record for 134.170.188.221:
microsoftproductionstudios.org
PORT STATE SERVICE VERSION
80/tcp open http Microsoft IIS httpd 8.5
443/tcp open ssl/http Microsoft IIS httpd 8.5
Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows

I didn't look to carefully at the so-output -- maybe there's a funky loadbalancer in front or something.
Yes, I agree. The flow of traffic for most commuters, like myself, seem to around 75 mph.

"The speed limit is commonly set at or below the 85th percentile operating speed (being the speed which no more than 15% of traffic is exceeding)[41][42][43] and in the US is typically set 8 to 12 mph (13 to 19 km/h) below that speed." http://en.wikipedia.org/wiki/Speed_limit
I would be interested in seeing recumbents used in individual time trials perhaps. However, they seem to be significantly less nimble which is flat out dangerous in the peloton. Their wheel base is longer, so I wonder if a peloton might actually be slowed by being spread farther apart. Also they are absolute trash for climbing.
Feel free to provide numerous examples of US companies avoiding anti-trust by paying off a decent chunk of Congress. You need to prove your assertions when they're that outlandish.

Microsoft, IBM, Standard Oil, American Tobacco, Alcoa. Several of the biggest companies in US history, all pursued very aggressively by the US Government on anti-trust. You're clearly wrong.
I don't know what can be or should be measured. The idea is to develop better techniques for monitoring the body. A future tricorder X-Prize, for instance: http://tricorder.xprize.org

You're telling me what we can do today. I'm asking what we can develop to solve the problem.
OffPocket, perhaps.
This brings back memories. When I started learning C++ in school (outside curriculum), I did have someone older teaching me, but I didn't have access to a compiler. I'd finished half of the introductory book before I ran my first program.

I was used to programming in BASIC and a few other languages by then, so it was far easier for me. But I still remember the first time I typed in my first C++ program in Turbo C++ and got it to compile.
Duh. Y Combinator was mentioned in the article.

Success rate of startup companies: 0.4%
Otherwise, what’s the point of having a countdown signal?

It tells people currently on the crossing how long they have. If they're infirm, they may be better off waiting at a traffic island than trying to rush across. The red hand is pretty clear - it means "don't start crossing", not "start crossing if you're confident you can make it in time" (though that is the way the countdown is used).

$200 is a ridiculous fine, though - that's over 20 hours work at the minimum wage.
the inverted method is basically all the benefits of a french press and none of the mess.
baldus!
Huge congrats on the GO challenge man!!
What If We Admitted to Children That Sex Is Primarily About Pleasure?
Oh the humanity that a company you willingly purchase a license from restricts you from doing whatever you want with it. Cry me a river.
One could profitably read this against "Lies We Tell Kids:" http://paulgraham.com/lies.html
Wow. Very, VERY applicable to my last full time position.
I've been learning Haskell for the past year. You wanna talk about a lot to learn...

I still don't understand category theory, or Arrow aside from the two canonical ones (functions and Kleisli). Monad transformers I would not call myself fluent in. Even with those gaps in my knowledge, I'm still more productive in Haskell than I would be in almost any other language. (Clojure might be comparable, because macros are much more approachable than Template Haskell.) I think we're reaching a point where complete knowledge of anything is impossible; we're just going to have to learn to be productive with a "merely good: level of knowledge.

I would like to see a more condensed "common core" of computer science. I feel like it'd take a 9- to 12-year educational program that'd have to be concurrent with actually working as a programmer in some context. But in a more ideal world, it would exist.
When near fuel exhaustion, the Merlin engine has a thrust to weight ratio above 1. Its firing is timed in order to land at a distance above the landing surface that will allow for a reusable vehicle (close enough to not snap off the landing legs). It carries only enough fuel to do this while also using that same fuel for hydraulically actuating grid fins for aerodynamic control while in a controlled fall to the ground.

Stopping a first stage rocket traveling back to an ocean going barge from supersonic speeds with substantial lateral velocity is hard, no matter what engine is performing its suicide burn while coordinating with RCS thrusters for attitude keeping.
A very important detail - these are survey studies:
"Of course, these studies relied on people’s shaky recall of exercise habits and were not randomized experiments, so can’t prove that any exercise dose caused changes in mortality risk, only that exercise and death risks were associated."

NOT Randomized controlled trials.

So take these with a pinch of salt and then go outside & run for 30 mins every day.
Huh. I always thought that Oracle acquired MySQL directly, but it turns out I was wrong (Sun did so in 2008). I guess you learn something new every day.

Maybe I was thinking of InnoDB or BerkeleyDB or somesuch and just conflated them all together...
They can, and so can the passports with the same technology.

Someone did a demo where they snagged someone's private details by "bumping into" them on the street.
Women applicants preferred 2:1 in STEM
Tactical Laser Weapon Module Can Laserify Almost Anything
Clickbait in science happens too.
The explosion isn't going to cause significant damage to the landing ship or the landing pad. There isn't much fuel left onboard at that point anyway, so it's fairly superficial. The rocket is scrap if it falls over regardless of whether or not it explodes, and the explosion won't hurt much, so there's not much reason to put effort into reducing the risk of an explosion in a crash. The plan is to eventually land at the Cape once the technique is proven, but there's no need to make a rocket that can tip over without blowing up to achieve that.
EME stands for Encrypted Media Extensions http://www.w3.org/TR/2015/WD-encrypted-media-20150331/
My lighthearted point above was to illustrate these records fall on a spectrum of perceived legitimateness. There is no "real" top speed - there are only qualifications of one sort or another. But I'll rise to the challenge.

On your above conditions the fasted record was set by Bruce Bursford who reached a top speed of 207.9mph on a treadmill (which I should note, tops out Mr. Gissy's record above.)
Totally agree. The problem with a Todo app as the prototypical example is that a 'todo' item doesn't really have any nesting whatsoever. Something like a list of Album/Tracks is much more illuminating about a web framework for anything that has a web form or model.
The trend overall in society has been that people are both living longer lives, and also have shorter periods of morbidity at the end of life.

Moderate exercise would seem to be helpful for both length and quality of life.

Have your cake and eat it too!
Historically, I've used rich enums in Java to be able to use switch statements to reason about a system state and as poor man's type pattern matching. Sometimes the switch is handy for making a state machine clearer, and sometimes it makes it easier to explain the relationships of these states as an ordered list. Another important use of enums is if you're trying to create a rich set of annotations that take parameters, which would force you into dropping a lot of the Java OOP typing available. I can't have a closure or even an anonymous class as an argument to parameterized annotations - and this is definitely by design.

I got bit pretty hard before trying to design an annotation-driven convention for a library I was writing (I had been writing a lot of Python for a while) and realized I'd have to squash a bunch of my carefully arranged classes into an enum. You run into similar problems when marshalling your objects to, say, a Thrift structure definition.
Chris Brown song cover (with some voice cracks lol)
I recently got a $197 ticket for crossing a marked crosswalk in an uncontrolled intersection on foot.. In front of a cop car. There was no danger, but he accelerated at me in the intersection causing a "hazard". Nailed me for CVc 21950(b). It's a racket - they're scumbags. If I didn't work in tech, that could be a very difficult amount to deal with.
It might also be that the structural changes required to handle a grabbing force would be too extreme. At that point it's basically a thin shell, so a grabber or cable might just slice it.

I like the 'but then it can't land on mars' answer too though.
Follow up question.

Do you feel like the industry's support for older versions of IE perpetuates the idea that businesses can continue using such archaic systems?
Since it's on the chromium mailing list, http://lmgtfy.com/?q=oilpan+chromium
Electrics would have similar problems, though at least they can be charged from either generators or the electrical grid.
Do your lungs/throat clog up or shut down? It could be asthma, or, more interestingly, subclinical cystic fibrosis. (CF requires a mutation on two genes, and it's very apparent even from childhood when you have the full form; but there are phenotypic differences in people who only have one of the mutations, such as being resistant to some parasites which are blocked by mucosal thickening(!). The implications of the single-mutation variant on health, though, are AFAIK completely unexplored in medical literature.)
On the other hand, if the speed limit was set at 75mph, would that remain the common speed of traffic, or would the common speed increase with the limit?
You probably mean bounded manifolds—the plane is closed (it contains all its limit points). The most general condition is that the manifold M itself has a positive, non-infinite measure m(M) (where m is the measure function). Then you can take the probability density of a set S to be m(S)/m(M). From this perspective, the problem with the plane is that it has an infinite surface area, so you can't divide by it to get a well-defined probability density.

For parametric surfaces, here's a mathoverflow post answering your exact question: http://mathoverflow.net/questions/9991/how-can-i-sample-unif... (ultimately linking to this SIGGRAPH paper: http://www.cs.virginia.edu/~jdl/bib/globillum/arvo01_notes.p...)
Agreed; this isn't at all ambiguous. If you were allowed to cross, it would be a walk signal with countdown.
And dangerous, if you have a glass one. I do, from the '60s; it's cracked and I've never tried it.
Technically, the Aether was only proved to be isotropic to an Earth bounded reference frame, and only locally here at Earth's surface.

That the Aether does not exist is only the simplest explanation (by a huge margin), but there are infinite possible theories that satisfy the experiments. Also, as the anisotropy is the only relevant characteristic of the Aether, thus most people prefer to consider the case settled.
The idea that language and its implementation can be separated is only theoretical. In practice, the adoption of a certain language is highly influenced by its implementation (and ecosystem).

The language improvements are nice. I know this because I started with Python 3 then switched to Python 2 and missed some of the goodies now and then. But the language improvements are not enough to overcome the breakage of backwards compatibility. Only a vastly improved implementation (that is not backported to Python 2.7) will.
Number of pages in the Federal Register, 1936 (16p) – 2014 (80,000p)
Do muscle building supplements cause testicular cancer?
"GNU Hurd runs on 32-bit x86 machines. A version running on 64-bit x86 (x86_64) machines is in progress".

This sounds just like "HURD is almost ready" back in 1990s
Ah thanks for the info; didn't notice the onmessage. Still I'm biased towards my own messaging library but that's neat :)