skysight-inc/HackerNews huggingface dataset:
Isn't this just splitting hairs using the definition of "celestial?" If I were on Mars, then my observations of celestial bodies would certainly include observations of Earth. Can you please explain when the distinction is relevant?
frenchconnection.io is available: https://www.nic.io/go/newfast/frenchconnection.io
Using pair-programming for learning to code
Eh. Inexperienced programmers will find a way to screw things up somehow. Probably by over-engineering, like the original article describes.
Striker Feyenoord Dirk Kuyt
Functional Programming with Erlang – MOOC Course (YouTube)
>Because the two active compounds in Basis, pterostilbene and NR, are natural (occurring in blueberries and milk, respectively) and have long been available separately as supplements, Elysium has been able to skip the FDA gauntlet and sell its capsules immediately.

Combined with:
> while animal studies have been encouraging, the company is selling a product whose effects on humans have yet to be proved.

Suggests this article is little more than Click bait.

This article feels like an advertisement. Not necessarily for the drug, but the inventor, in an effort to revive funding
Major next steps for fusion energy based on the spherical tokamak design
Okay, growing lettuce in space is better than not doing it at all... but how many billions of dollars are you willing to pay for it? Lots of research helps with "beyond cis-lunar" exploration. Maybe building a biosphere in antarctica? While I'm glad it exists, the ISS is a very expensive project that seems to do rather insignificant research
>There is absolutely no proof that violence backed theft against the rich leads to a higher standard of living in the long run.

In the scenario I'm describing, it's a certainty. Without theft, everyone starves to death because they have no property which would enable them to acquire food. If they steal from him, they survive.

Now obviously this is not a very realistic scenario, but my point is that strict enforcement of property rights can cause direct harm in certain situations.

And I would argue that lesser inequality still exhibits the same kind of failure mode, where the poor become incapable of acquiring resources, because they have nothing the rich need.

>That's an immature standard for morality. Theft is wrong.

Moral absolutism seems a lot more immature to me. Almost any category of act can be good in the right circumstances.

>And even if there were, social outcomes cannot in any sane justice system justify violating someone's rights.

But now you're talking about a justice system. Enforcing rules at the expense of short term outcomes can be beneficial, but only if people respecting the rules causes better outcomes in the long term.

Rights are only as valuable as the outcomes they lead to.
Electric cars can do 800+ miles a day easily with sold charging infrastructure. Sure, if you want to do a cannon ball run rent a car, but 4 hours of driving, get lunch, another 4 hours of driving, take a 30 minute break, 2 hours of driving, dinner anther 4 hours of driving get some sleep. That's an extra 30 minute break for 14 hour road trip.
https://github.com/andrewrk/zig/issues/89

As long as we rely on libclang and LLVM there will be a part of the compiler written in C++, and I foresee these dependencies sticking around.
Absolutely this! Instead of awkwardly building DOM in JavaScript just build it in HTML, manipulate in JavaScript and style in CSS. This separation still works amazingly even if popular frameworks like React are blurring the lines.
20 minutes is still 30x faster than charging. And how many charging stations do you think there are south of 96th street?
Overall unconvincing. People also messaged "him" to bemoan his assassination. Did they actually think they were talking to John Fitzgerald Kennedy, even though they obviously knew he was dead?
Note that this isn't all that dissimilar to Xandem's tomographic motion detection. Their "Xandem Home" product makes a Harry Potter Marauder Map style overlay on a map of your home showing where all moving people are in realtime. It is really cool stuff that I'm about to have installed in my own home:

http://www.securityelectronicsandnetworks.com/articles/2014/...

http://www.xandem.com/motion-detection

Compared to crappy PIRs from companies like ADT, it is great stuff.
I once saw someone propose an 'X-prize' style system of publicly funded incentive based competitions for medical device and pharma research. Interesting idea.
"I make my students code FizzBuzz, but they will have literally done 106 complete programming projects before it."

Pretty sure I've never met one of your students in an interview...

(Just joking...)
Using crel as a comparison:

var input = crel('input', {type:'email'});

vs:

var wrapper = document.createElement('div');
wrapper.innerHTML = '<input type="email">';
var input = wrapper.children[0];
Direct container to container communication isn't the recommended pattern when using ECS. Instead you let ECS associate with either a legacy Elastic Load Balancer, or one of the new Application Load Balancers, which can direct requests to different classes of containers based on the request path, allowing you to take a set of containers of different types and meld their http resources together into one API on one domain.

If one container needs to talk to another container of a certain type it just uses the load balancer, and the load balancer takes care of directing the request to the other container which may be on the same machine, or another machine, or maybe even in a different cluster.

Obviously this forces you into a fully stateless design because the load balancer round robins all the requests across random containers, but its very fail proof, and gives you high resiliency.
Still no IOS support yet I take it? I was so excited about that before realizing it only worked on Android.
> first Java programs in Notepad

Do you find this to be beneficial? What are your observations?

My first impression would be the frustration with lack of simple features that programmers take for granted in their editor, like auto-indentation. I can see the benefit in deferring syntax highlighting, but something as simple as the former can be unnecessarily off-putting, and distract from learning.

With that said, I try to think back to when I was learning HTML in elementary school, using Notepad to edit. I was so focused on struggling through comprehension that typing extra tabs/spaces wasn't what slowed me down. I also didn't know what I didn't know about editing. But I have observed frustration in others who didn't know how to program, pounding the tab key or spacebar. And I did forego indentation in my early days in many instances, because it was a PITA.

So this isn't a criticism of your decision to have students use Notepad; I'm just curious of their feedback and your observations. Java indents virtually every line.
While I sympathise with the author, the end result was pretty inevitable. Getting a popular handle like that is both a blessing and a curse.

My experience from the other side: There is a well know budget airline here in Australia which (like all budget airlines) is renowned for it's poor service. After one particular bad flight experience a couple of years ago, I hastily sent off an annoyed tweet @airlinename.

A few minutes later, I received a barrage of insults and self righteous tweets from that account. Checking the account history, I see that is is some guy in the UK with the same handle as the airline, and looking at his historical timeline, it seems to be his routine day job to hurl insults at anyone who mistakenly tweets him thinking that is the airline's twitter handle.

Fair enough, I should have checked first. But he never pretended to be a rep from the airline - just a rude, bad tempered git with poor spelling and grammar skills, so I was never mislead, and I just forgot about the incident. Until a few months later when I checked on that account again and discovered that it was now a private account.
These are common arguments. But really it comes down to your last comment "Electric is interesting, but nothing more as a result for me personally"

Okay, fine.

There's solutions for all the other stuff.
Spark is somehow crucial in traditional car engines...
Recently moved to SF and wanted to be able pick prospective apartments from Craigslist based on how close they were to BART/Muni stops...so I hacked together a little bookmarklet to help with this. Check it out if you are in the same boat:

https://github.com/christopher-skeels/add-walking-times-to-t...
Shameless plug: https://www.npmjs.com/package/crel
Bluetooth Beacon Makes Push Notifications Less Annoying
Rust? Maybe. But then, why not Go or Swift or Lisp? Personally, if I were to be expelled from C/C++ paradise, I would try Oberon - the only language I know that can compete with C in its simplicity and, despite normally being perceived as garbage-collected, the ability to serve as a truly systems programming language.
Comparing Wagtail, Django CMS and Mezzanine
It's an interesting phenomenon, specifically how processor companies (erm, Intel), who make "general purpose" CPUs, have clearly made trade offs to optimize for OSes that behave like UNIX or Windows varients!
There's only one car that can go 4 hours on a charge, and that's the Tesla S. If you charge it for 30 minutes, it can go about another 2.5 hours.

My VW Golf TDI goes more than 750 miles on a tank at 65MPH. That's an entire days' driving for 5 minutes of fueling. Yes, the filthy Volkswageneers have to buy my car back, but it was certainly nice on the range.
Health Insurers’ Pullback Threatens to Create Monopolies
Warned of a Crash, Startups in Silicon Valley Narrow Their Focus
Nobody said anything about the why am being bad. The scam is that the wines they ordered just didn't exist -- what little they did receive was the genuine high-quality stuff. That's the whole reason the scam was able to take off
You can already do this with `write` which is in most linux distro's. Make sure `mesg` is set to y then test with `echo "hello" | write <username>`. `Wall` messages all logged in users and I wouldn't recommend that approach.
Why is this better than working with d3 selections?
It actually shares two authors (Jon and Saman). Their work on Halide was amazing!
> I am someone who has been often disappointed by vaunted authors of the past (Vonnegut, Clarke, etc.), because their work suffers from the "it's not novel (anymore)" feeling one often has when watching old movies.

Clarke and others established the mainstream of modern scifi: spaceships, advanced technology, robots etc. I do 100% agree that most of this genre has been done better later, and especially Clarke suffers from this.

Le Guin's scifi is ...different. Her emphasis is not on technobabble or flashy new gadgets. Her style is ...anthropologic. Technology and space travel are there, but in the background. And this line and tradition of scifi has received much less modern attention, compared to the mainstream.

So while Clarke has been surpassed many times in his chosen style, I don't think anyone has surpassed Le Guin in her style. Not that I am aware of anyone even having tried, really.

Just grab one of Le Guin's books (The Left Hand of Darkness is the most famous) and see if you like her style. I think it's still unique.
In case anyone's curious about the "public-private partnership" that's been working on these renovations for the last couple of decades: http://campuspartners.osu.edu/who-we-are/

Plenty that's been razed really deserved to be destroyed, but the way the good and the bad is all being replaced by the generic is pretty depressing.
Alternatively, look at the people who pay the utility companies to install a utility pole/transformer just for them. Because, apparently, normal electricity is too noisy/dirty because other people are using it too.
It's not the similarity that bothers me, it's the general craziness of it all.
Is it within the terms of service for your ISP to do so? I was always under the impression that if your provider caught you trying to do that they'd lock you out and make you get a business plan, but I suppose I never took the time to figure out an answer for sure.
Their team photos look so happy that they seem about to explode in a sparkling cloud of rainbows and unicorns.

http://wildbit.com/
Are you insinuating that the problem is with Python 3? What is actually so much more amazing about Python 2 that you would rather freeze the language than upgrade?
> It's the lowest level you can be, while still providing the HL constructs we're all used to.

I disagree completely. A language much better than C will come along in its niche, and I'll be switching.

C isn't low level enough. It has too much undefined behaviour (and tries to be too portable), each instance of which denies you access to real machine behaviour. Signed ints don't even wrap around! Effectively, C does not even support twos-complement signed integers, as exist on all modern computers since decades ago, without a special compiler flag! You have to resort to tonnes of compiler-specific extensions to get things like leading-zero-count, SIMD, and computed-goto. Even with GCC's zillion extensions that were added for people who have to do really low level work, C is still hopeless for writing maximum-performance VMs, that's why Mike Pall wrote the LuaJIT2 interpreters (one for each architecture) in assembly. Here's one of his explanations why C shouldn't be used for such a thing [1]. I've also tried writing a high performance interpreter in C, and I found that I wasted 80% of my time trying to get the C compiler to output the sequence of instructions I wanted. Next time, maybe I'll just use assembly and save myself a lot of trouble.

Secondly, C is not high-level enough. A low level language like C needs a powerful macro system to let you abstract away the details of your object system or whatever. C's preprocessor has many flaws [2] and is one of the worst in existence. A good macro facility allows compile-time generation of code in a readable (or at least type safe) way, like D and Lisp do. C and C++ users don't realise they have the preprocessor equivalent of a Blub language [3]. Sure, C++ is an extension of C with high-level features, and was a good attempt, but it's too complex and C++'s template meta-programming just about the only compile-time codegen solution worse than C's preprocessor.

[1] https://web.archive.org/web/20160209102431/http://article.gm...

[2] Read any rant, e.g. http://c2.com/cgi/wiki?CeePreprocessor

[3] http://www.paulgraham.com/avg.html
You say "it is not" then link to something tying his profile image to the airport? All you've done is reinforce what I said, that it is clearly designed to mislead and impersonate the airport.

People in this thread act like this is "David and Goliath" when in reality the owner of the JFK Twitter handle intentionally changed his profile picture to one associated with the international airport then acted as a representative in order to generate complaints/bad sentiment.

It is pretty indefensible. It wasn't an accident or a mistake. He did it over days, not hours, and further compounded the deceit by changing the account's profile picture to misleading people into believing he was the facility.

Sorry, but I would have killed that account too. I would not be able to trust him not to do it again in the future, and frankly he might be better off losing it than getting sued by the airport (even if he doesn't appreciate that at the moment).
"I was talking about replacing C globally"

I gave up on that when I noticed the COBOL and Windows situations. ;)
I was talking to my father a few weeks ago about electric cars, and I wanted to quantify how much going electric would save him so I ran some numbers. Where he lives gas is currently somewhere around $2.20/gallon. His car gets around 30mpg combined, so he's paying ~$0.073/mile.

Tesla's website contains a "charging estimator" for the Model S, which estimates a cost of $12.04 for a total charge of 300 miles in a 90D. In the fine print, they state that the calculation is based off of the assumption of $0.12/kWh cost for electricity, which works out to a total of 100kWh to fully charge a 90D to 300 miles of range. However, he pays far more than $0.12/kWh - he actually pays $0.22/kWh. This means that the fuel cost of the Model S for him is exactly the same: ~$0.073/mile.

I write this to say that I had always assumed that electricity was far cheaper than gasoline, and I was surprised when I ran the numbers and saw that it wasn't. It seems that articles like this assume that of course people will switch to electric cars in droves once the cars get cheap enough and the range is good enough, but unless electricity becomes cheaper or gas becomes more expensive, many people, like my father, will choose to continue to drive gas-powered cars.
5 Lessons Learned from Startup Life 5 Years into the Crazy
And avoids being able to use ECC memory. (side effect of processors that don't support vPro).

Another niche that AMD could fill if they were thinking about it.
I taught a few programming courses (C programming) this past year at a local college and I went for basically the same route: Get them to type out small simple programs in gedit, and compile them on the command line with a simple make file.

Modern programming is often so high-level and tool assisted that it is difficult for a newcomer to understand the difference between what they did and what the computer did. Many of them previously programmed using the arduino programming environment (which I haven't ever used), but I have been told that it does a lot of stuff automatically for them, they don't even write the 'main' method. Many of the students started trying to do all kinds of crazy stuff when trying to make a simple 'hello world' C program, including various Windows headers (on Linux), trying to do GPIO pin stuff etc. I think it can be beneficial to keep the number of new things as small as possible, and build up from there.
That's not true. The paradox exists, and it's because particles behave experimentally like particles, and like waves, and the two models are both correct in certain circumstances, depending on intuitively irrelevant details like taking extra measurements of the phenomenon.
That's a lot of downtime. Most people I know, including myself, when doing a 14 hour roadtrip would stop as infrequently as possible, for a total of 30-60min over the course of the trip. And that figure is including pee break stops, which your calculation presumably didn't.
So the answer to the question "are some of the validators async?" is "Yes."

That makes perfect sense then, thanks! Looks like a great lib where async validators are needed.
Querying a Geographical Database with GraphQL
Some 90% of journeys by vehicle are under 100 miles, well within the range distance of an electric car, a sizeable number of those being your daily commute.

The amount you save in gas money alone would easily pay for a gasoline rental for those occasions where you really do need more and can't possibly stand to wait for a recharge.

Alternatively things like the Chevy Volt exist which get you that interesting pairing of electric and gas generator (it recharges the battery using gasoline, which gets you away from the horribly inefficient variable speeds for combustible engines). The Electric motor will do you for 50something miles on a charge which still covers a good number of journeys, and with the full tank of gas you can get some 400 more miles out of it.
OK, a bit more here: https://attractivechaos.wordpress.com/2008/08/28/comparison-...
I'd say rollback is possible under a 'git driven' workflow.

That said, sincerely I find rollback one of those inherently complex ideas:

- Rolling back assumes going back to the previous commit will fix everything, an unproven (unprovable?) hypothesis in the face of database migrations, job queues, etc.

- Making database migrations reversible can be nearly impossible (particularly at scale), aside from a significant engineering effort (for something that should absolutely never happen)

So I just don't contemplate the possibility of rolling back a deploy.

Instead I try things (particularly migrations) on staging rigurously:

- staging environments always ephemeral - created from scratch for a given relase

- always load fresh production DB into staging

- check that all my model objects are still `.valid?` (http://api.rubyonrails.org/classes/ActiveRecord/Validations....) after the migration

- leave staging running a few days.

- if you really can (not easy), forward production traffic to staging as well.

If things go wrong (which under my proposed discipline would be a massive screw-up), then the fix would require analysis, a regular fix (no time travelling), and a regular deploy.

Reacting instantly (i.e. without analysis) is kind of delusional thinking. I'd rather stay broken a little longer for avoiding further complications!
It will happen, eventually, though. It's starting with the affluent. Anyone who can afford a house with a garage is capable of buying a charger and having it installed. As that happens, charger prices go down and they get better. As more affluent people buy electric cars, they will also get cheaper and better. Unlike Hydrogen and Ethanol, electricity and batteries are well-known technologies that most people have been using for years.

By the time apartment dwellers start buying electric, gasoline automobiles will seem like quaint relics of the past.

The only problem is that electric cars won't do anything directly to mitigate global warming, because they will still be powered largely by fossil fuel.
But of course, this is specific to your father's scenario. A quick Google search shows the average cost of electricity in the US actually is $0.12/kWh.
Outsider Music
Conducting Research on Doodle / Drawing Behavior
Hi everyone! My team and I are currently conducting research regarding doodle behavior on mobile screens. We're interested in what people usually doodle when using popular apps such as Snapchat or Instagram Stories, and why they draw what they draw, and so on. I figured it would be interesting to see what the hacker news community's behavior looks like (it's all anonymous of course!) If anyone has any questions, feel free to leave a comment below. :)

Link to Research Survey (~2 min): https://docs.google.com/forms/d/1sdsi3Ng-w9nDDrdP-SxVb8vAFdxvI8fW-LOp47so25c/edit

Cheers!
Pride comes with embarrassment. I have an almost 12 year old steam account and am regularly ridiculed for playing CSGO poorly with a 10 years+ veteran's badge.
We needed new language constructs (the matrix assembly) and a new type system for matrices that ties back to the graph to make it simple and fast. It is also not limited to FEM codes. It can be used to write any application that computes on sparse systems using linear algebra. Some application areas are optimization, machine learning, data analytics, fluid dynamics, image processing, and robotics.

For more information about the language, why it is designed the way it is, why it is fast, and what applications it can be used for, see the talk I gave at Microsoft Research last Friday: https://youtu.be/raPkxhHy5ro?t=40m32s
While true, that range is from a 12,000$ battery pack which could be put in a 35,000$ car. So, really these cars don't have great range because they don't need to have great range.
But did Feynman think anything as a physical thing-in-itself? Feynman repeatedly argued that that physics is whatever the instruments measure, generalized by whatever computational models match the measurements, and he was happy to analogize to metaphorize whenever convenient to describe an aspect of a phenomenon ("photons jiggling")