skysight-inc/HackerNews huggingface dataset:
So Rust has some cool safety features, especially for concurrent code. But, and perhaps I'm just uninformed, I never really understood the safety benefit of Rust's 'never nil' design. Nil is a useful modelling tool, even in Rust where it exists via Option<>/None, correct? Perhaps by forcing you to be extremely explicit (and enforcing `match` always handles all conditions) you gain some arguable safety, but at what cost? It's certainly not easier to use and reason about, IMO. And it seems just as likely you'll end up crashing your program due to a bounds-check error (which may happen more often since Rust encourages indexing over references due to this very design.. at least, so I've read).

It seems to me the design was chosen more as a way to ensure memory lifetime could be better predicted by the compiler rather than any strong argument for safety.. but then, I'm not well read on the subject, and It's very likely there's good safety arguments for it I'm not aware of.. either way, in my experience nil-deref errors are rarely a painful thing. They happen often, but are also fixed quickly.
Credit link to the original sheep in CSS too.
Microsoft Announces Azure Stack
> Except people in Singapore stated they like it there.

In a country where you are not allowed to openly criticize the ruling power, how can you even measure what people of Singapore really like?
It's funny, I have next to no knowledge on the current state of Singapore or it's politics. I have no idea what this man's political views are, or how well he has been leading. But seeing this code (and little bit of personality left in comments like the grandparent post) does make me like the PM more, as a person and a leader. It's not really rational, but it's the truth.

I guess I finally understand the whole "I want a president I could play sports / grab a beer / whatever with" sentiment.
But you need free speech to conceive of, prepare for, and then execute an experiment. If you limit speech, then you limit the kinds of experiments you can even talk about, let alone run.
As much as i like this article, Tesla would never had the success they now have, without the "petrol car"-Industry.

The automotive industry brought a lot of innovations and lowered prices for tooling etc. by a lot. I think this article is very funny (and sad), but you have to give those "old" companies a lot of credit for their work.

That's still no excuse for other companies, not to hop on the electric train.
This is great. Now I can build something to chase away boys that come by to pick up my daughter! The ultimate in Dad-tech.
The charging confuses me. Of course you pay to get gas at the pump, don't you pay to get electricity?

I've always wondered that, seeing cars charge on the street or in parking lots, how does the system know whom to charge... or is it government-sponsored to promote electric cars?

Edit: Relevant section

> The seller looked very puzzled at us and explained that it is not possible to refuel gasoline cars at home, and there are no free gas stations. We tried to explain our questions, in case he had misunderstood, but he insisted that you can not. Apparently you have to several times a month drive to the gas station to recharge your petrol car at extortionate prices – there are no alternatives!

Edit 2: I should clarify, I'm from the Netherlands (Europe).
Easy ways to support colleagues with mental illness
Openwashing of Binary Blobs That Microsoft Uses to Attack Free Software
> for electric cars there are no cheaper alternatives

Not true at all. I traded in a Subaru WRX and pay less for my Leaf every month than I did for the Subaru. Not to mention the savings on the costs of driving it around.

> The 99% of the world are not complete idiots; electric cars aren't mainstream yet.

These two phrases don't necessarily have anything to do with each other.

It's true, there are good reasons why EVs aren't mainstream. One is that if you're in an apartment or condominium EV ownership is pretty much out the window unless you can get your property managers to install charging stations.

Another is that you can't get one with 200 mile range for under $60k right now, and that's a big hurdle for most people to get over mentally. Even though most people don't drive more than 80 miles in a day, and a Leaf WOULD do just fine for them, they can't bring themselves to act rationally about it. Being that close to their limit is a mental block. That's why it's important that Tesla delivers on the promise to offer a $30k 200 mile range car in 2017.

Now, all of that has nothing to do with the original article. The point of which is really that EVs are way, way nicer than petrol cars, for a variety of reasons. Which is something that most people just don't get yet.
I agree that all languages have it's warts and a good programmer should know about them.

I think what makes both PHP and Javascript not so great is the fact that it is so easy to overlook deadly mistakes like using "==" instead of "===" or forgetting to add a "var". And worst of all those errors can go unnoticed until something breaks and when it does it's pretty hard to find out the root of the problem.
> think you're greatly overestimating the rate of the change

Take a look at Hawaii - the "rate of the change" is so big the utility pretty much stopped connecting people's PV panels because the grid couldn't deal with it.

As the percentage of renewables increases the fluctuations grow bigger. e.g. Germany already has 40GW of solar installed...so if its overcast then you need an entire fleet of nuclear plants to pick up the slack (sure it doesn't drop to 0GW but you get the point).

Those companies you mentioned that will still need power - not sure how that is relevant to the fluctuations? Or do you propose that they carry to cost for everyone?
Facebook to Begin Hosting Content for Instant Articles
Yes, if reasonably priced monitors in the 30-60" range existed, I'd take them over a smart TV. As far as I can find, they don't.
Actually, there are parts of the essay that I am finding difficult to understand.
That's what happens when externalities are properly priced into vehicles using taxes. Nicely done Norway/Sweden.
You don't pay at Tesla stations
Campaign Coverage via Snapchat Could Shake Up the 2016 Elections
Its not just free speech (which ironically takes care of other issues as it allows proper multi-party politics and being able to 'talk to power' without reprisal).

Its also LEO abuse because their system allows unlimited detention without charge. Homosexual rights are non-existant: Prime Minster Lee Hsien Loong has spoken dismissively of the challenges to article 377A: “Why is that law on the books? Because it’s always been there and I just think we leave it. I think that’s the way Singapore will be for a long time.”

If that wasn't bad enough:

Singapore’s Media Development Authority issued a regulation effective on June 1 that banned major news websites available in Singapore from “advocating homosexuality or lesbianism.”

All Foreign domestic workers are excluded from the Employment Act, which provides employment protections.

Its easy to sit here on your expensive computer and fast internet connection in a Western country and pretend living under a regime like this is wonderful. You're not a gay man being jailed for loving your partner or a poor Philipino being beaten by his employer because he cant work 18 hour shifts everyday. Apparently, curtailing speech didn't fix these issues, so why are you advocating for it?

>I actually like that there's lots of little experiments going on,

We've gone down this path a million times. Its not surprising that it brings the same results as before.
A video game that can actually help you learn guitar
I guess those must have a Tesla logo? I've never seen any of those (I live in the Netherlands).

Edit: Those? http://www.teslamotors.com/supercharger I guess we don't have these, I would surely have recognized them.
The cuisines most likely to give you food poisoning
McD UK certainly have milk, which is probably a decent choice, as well as mineral water and diet sodas, of course (http://www.mcdonalds.co.uk/ukhome/more-food/drinks-shakes.ht...).
>Centralization Death Spiral

Isn't this a non-issue in the long-run due to Moore's law? Even if centralization happens in the short-run as a result of processing expenses, everything is destined to become decentralized as processing power increases.

>Transaction fees

Could someone please explain why transaction fees are deemed necessary?
While it is obvious that PHP's == operator is horrible, JavaScript has its share of pretty bad issues, like "x" - 1 giving NaN.

What I don't understand is why some people agree that PHP is a horrible language, while at the same time praising JavaScript as messiah of scripting. These two languages don't just have problems, they have very similar problems. Moreover, they gained popularity for very similar reasons (lack of choice).

Seriously, if you posted something similar to OP about JavaScript the first thing people would tell you is "What, you're still not using ===?!"
I've lived and worked extensively in singapore, thailand and china, all with speech controls. They all have their pros and cons and I'd be hard pressed to categorically state they're better or worse than my home country of Australia.

> you dont have to live in such a place

True, and neither do they. Singapore's a first world country; its citizens can settle elsewhere with relative ease. And yet they don't. I wonder why?

And just to turn your rhetorical device against you, what I've heard "so many times" is these self-righteous rants by people who have never even visited the place they're criticising, but they're oh so sure they're right anyway. And for what it's worth, the USA is an experiment too, and from an outsider's perspective I'm not sure it's working out too well.
I don't see how "==" would help in that situation, other than "solving" this particular issue by opening another can of worms.

You simply can't use php arrays for user-generated keys in a safe manner. At least you have to add some prefix like '_stuff_' to all keys, to avoid accidental conversions. And yes, this "proper" solution (Can you ever can say "proper" in php? Anyway ...) doesn't have to involve "==", but works perfectly (and preferably) with "===".
No country in the world has real free speech, whereby free speech means you can say whatever you want without going to jail (or to guantanamo).
Indian startup funding 2015 (~2.5Bn raised till now)
One possibility that hasn't been mentioned is that this could be a political smear attempt as well.
> but you have to give those "old" companies a lot of credit for their work.

I can't think of any industries where that wouldn't be the case.
IMHO, the practical best-case scenario for Perl 6 at this point is a Lisp-like status where the language itself does not see much commercial use, but ideas from it fuel innovative attempts in existing and new languages. That would be the best-case though, and it might just bomb and be forgotten within months, which in fact seems to be the common expectation from many.

In any case, this was one of the most unabashedly biased articles I've seen on HN, with badly made attempts at revisionistic history. Perl is still my favourite scripting language, but even I have to admit that Perl 6 has little hope of adoption, and Perl 5 is dying a slow and painful death: due to the momentum, clarity and leadership and P6 took away from it. A few ported-back features gained can't possibly make up for the lack of a cohesive vision that resulted from nobody being sure of the status of the Perl 5 language. Subroutine arguments have long languished in interminable bikeshedding due to this (despite actually having a few enthusiastic implementors - a rare phenomenon in P5 world now!), and we have embarrassments like autoderef and smartmatch[1] which reduce people's trust in the language even more.

What makes the situation truly infuriating though, is the snarky and superior attitudes taken by most P6 folk, just like this article exhibits. Even if you begin with an attitude of collaboration, it soon begins to feel like you're talking to King Joffrey, with that ever-condescending smile of his.

[1] http://www.perlmonks.org/?node_id=961344
It's a good indirect way to get rid of someone. Just put drugs on their apartment and call the cops.
>I guess I finally understand the whole "I want a president I could play sports / grab a beer / whatever with" sentiment.

This always seemed like an excuse by a defeated people. They know their person in charge is a nightmare and limits their ability to be free actors, so they just rationalize it away in a Stockholm Syndrom-like way. "Hey he's a good guy, you'd like him if you met him."

I see this a lot with Russians who know full well Putin is dictator for life and they essentially have no rights or recourse against his administration, but play up a positive bullshit spin like "standing up to NATO/Nazi killers in Ukraine" or "bringing us back our Soviet glory." Its pathetic and on some level even the die-hards know it.
What war did Obama start exactly?
If you're referring to the continuation of America's involvement in Afghanistan, let's not forget who was the president who first got America in there and provided training and financial support to the forerunners of the Taliban. That's right, Jimmy Carter.
No, sorry, that statement wasn't meant to be exclusionary. People of all living situations and ages could definitely find it abhorrent. Just expressing my opinion that that specific demographic would likely slant extremely heavily towards calling it inhumane, if not outright torture. People in older generations are sometimes closer to having been the recipients of corporal punishment themsleves, whether in school or at home, and my vague inclination suggests that these practices might have continued longer in rural areas than in urban areas. In that way, they might not see it as inhumane, but younger generations might.
Why keep on going wpietri?

You know, I never said anything about 'illegal drug use'. Maybe I chose poor words that would have one think I meant that? But I made several comments elaborating that's not what I meant after having made the initial comment. You made your posts after I made those comments. And I'm telling you now too that's not what I meant -- and I told you that before too -- it's just not what I meant. So there's really no reason to keep going on about this, do we agree?

Maybe take a break and smell the fresh air? I hope all is well with you.
I did this once for fun (I live in China). Total compensation was around 500-1000$ for one day if I recall correctly. I didn't have to speak to anyone and just sat at a table eating food. It was a fun experience but I wouldn't do it professionally.
Iraq has a lot of problems. Historical and modern.

And you never really commented on the original point: (given Iraq's, or any other similar state's, current state and status) is democracy and free speech the quickest path towards a more modern state?
Using Social Media to Locate Eyewitnesses
Given how happy PHP is about converting strings to integers on demand, it would be pretty easy to take string input intended to be a number, forget to actually convert it, and go around using it happily until one day you accidentally set off a bomb.
I think the fact that they are paid less, in the context of the video, implies there is less demand for them (probably much less as I assume they are also in shorter supply. Could be wrong about that though). If there is less demand, and their value in this context is their appearance, that means their appearance is seen to be less valuable in impressing customers. Hence, the conclusion that black people are seen as less good looking than white people.
Some current facts: ~17% of packages on PyPI support Python 3 and ~5% of packages downloaded from PyPI are downloaded for Python 3.

If you start a project today then yes, start with Python 3. But if you have a Python 2 codebase you're likely to have (1) one or more dependencies that haven't been ported yet, (2) no solid economical reasons to convince your employer to switch or (3) no sufficient technical reasons in switching at this point (which may change as more Python 3.x versions are released).
Your comment might mistake "data science" as being more than a neologism for describing something that hasn't yet taken enough concrete shapes to be clearly defined.

I think many would agree that "machine learning" and/or "deep learning" are at least cornerstones for "artificial intelligence". After all, nobody singularly defines intelligence.
The first four generations were defined by hardware:
(1) vacuum tubes, (2) transisitors, (3) integrated circuit boards, (4) microprocessor full CPUs on a chip. I would define (5) clusters and (6) mobile. Candidates for next generates include huge data engine clouds, wearables and internet of things.
I can't answer your question, but i can tell you that engery prices will rise, if more people need more electricity to charge their cars. Electricity cost is so "low" because most cars don't need this type of Engery.

To solve this issue people need to charge their cars at home with solar power.
Practically, a lot of vegetarians are not going to want their burger cooked on a grill that is used to cook meat. Which complicates the issue.
http://www.teslamotors.com/supercharger

Not sure if it's going to be in Europe
Indiebound – product hunt for indie games
To be fair, though, we theoretically don't need the car industry at all. Tesla is building an electric industry to solve the emissions problem created by a transportation industry that does not need to exist.

Take NYC for example. MTA enables transportation to just about anywhere in the city, all through an electric, mass-transit trolley system.

If we look at the history of municipal transportation, it looks pretty clear that trolleys were winning over the majority of the car industry up until GM took over trolleys[1] and shut them down to essentially require people to own cars to do any transportation outside of biking and walking.

I think what Tesla is doing is wonderful, but I feel like the problem they are having to solve didn't need to exist in the first place, and the petrol car industry got us in a bad situation.

[1] http://en.wikipedia.org/wiki/General_Motors_streetcar_conspi...
Same. 14. And Taco Bell. Even at a time in my life when I had no major life pressures, there wasn't much about the place to bring out the enthusiasm in me.
In my opinion perhaps the most astonishing thing is the development of material technology. How the industry can make engine components that endure mechanical wear for hundreds of thousands of kilometers and tens of millions of engine rotations, with huge pressures and extreme heat inside the engine, applying tremendous forces of torque, and operating in either hot or extremely cold climates.
Well, if energy prices rise a bit, solar becomes much more attractive economically. So it's a feedback loop that solves itself.
The $10 per transaction stuff is totally ridiculous and seems to be just a way for people who don't like bitcoin to throw out a scary number which comes from VERY distorted math.

I have the whole blockchain on SSD. It's on a smaller drive that I would have trouble making much use of anyway. The bandwidth is basically nothing compared to even watching a youtube video every day. So the whole idea has not basis in a pragmatic reality. The financial industry is 8% of US the entire GDP. There are real inefficiencies out there but bitcoin isn't among them. The incentives are lined up correctly.

It also seems that as bitcoin grows, the possibility for centralization is there but outweighed by the increased number of people participating as well as their investment. That is good, because even now there is a web of competing incentives so that it is increasingly unlikely the system won't work as people expect.

Miners if anyone have somewhat cloudy incentives, but ultimately if transactions per block are a problem, it is likely that not all miners will agree that they want transaction fees to rise when it is trivial for them to process many more transactions. This is combined with the fact that like the internet itself, if transaction fees grow to something non-trivial for the majority of cases, off blockchain transactions will increase while growing more mature similar to the dynamic of high gas prices have an effect on consumption (or any commodity).

When the price went down some people proclaimed that it would be inefficient to mine. The results weren't even noticeable to a casual observer, miners with less efficient mining hardware shut it off, which made mining more efficient for the ones that stayed, and the equilibrium happens organically.

Really the blockchain size is a hurdle, but not a technical one. The broad scale incentives are set, they work, and the system is long past the point of fragility.
Microsoft Brings Azure to the Datacenter for the Next Generation of Hybrid Cloud
I post that in most discussions about smart tvs.

I have one, connected it to the internet once, disconnected it and did a firmware reset. Never again.

That particular thing - a Samsung, mind you - installs adware/crapware/shit when you first connect it. We can argue about the featureset in general and if the 'smart' part is usable in general (I .. don't think so), but it is especially annoying if you look at the device, connect it and see it installing the worst of the worst stuff, pinning it to the most prominent places in your menu.

Tech support (yes, I was desperate to call them) said "Yeah, that's a feature", "No, you cannot prevent that from happening", "No, you cannot hide/remove/move those applications and icons". Disconnect, firmware reset, no Samsung TV in the future, ever again.
"I said, ‘There’s a simple answer.’ I had my phone on the table, and he had his phone on the table. I said, ‘Look, our phones are next to each other, can they talk to each other?’ He said, ‘of course they can.’ I said, ‘directly?’ And he said, ‘no, they cannot.’ And this is not because physically they can not, physically [you can connect] phone-to phone using WiFi, Bluetooth. But the TCP/IP protocol is the roadblock for phones to directly talk to each other. The protocols need to change because it doesn't enable the communication that we want.”

Am I missing something here? If both phones are on the same network (IE the internet) and have public IP address's (which IPv6 makes it feasible for every device to have) Why can't they talk to each other? Why is the TCP/IP protocol a roadblock??
I'm still trying to figure out why everyone, including Deutsche Bank, seems to think the Tesla Battery is such a great deal at $3500 for 7kwh.

I can buy 18 35Ah 12v AGM batteries, plus 0 AGW conductors, for about $1350. That's 7.5kwh for $1350.

What exactly defines the "good deal" argument I keep seeing?
This seems mostly useful in highly constrained embedded environments (AVR, MSP430, ARM M0, PIC etc.) Unfortunately it seems like none of these "modern" system languages (Nim, Rust) seem to be putting too much effort towards embedded platforms :(
Carly Fiorina failed to register this domain
I don't have a link offhand (my apologies), but there is a DOE report floating around out there from 1-2 years ago stating that almost 80% of the current light vehicle (cars) fleet in the US could be converted over to using the electric grid solely with existing generating capacity.

Combined with the relentless expansion of solar and wind in the US, I disagree with your assertion that energy prices will rise long-term. You'll probably see peaks and troughs as demand increases and supply comes online, but there is a lot of land left for renewables to be deployed to.
I'm also getting this warning on 42, debian 8