skysight-inc/HackerNews huggingface dataset:
> GOSPLAN had decades, and access to unlimited men with guns and dogs, to make its plans work. And it failed.

I am no fan of oppressive regimes, centralised planning or Stalinism, but it always grinds my gears when people point to the collapse of the Soviet Union as the One, Absolute proof that centralised planning is always doomed to failure.

While I'm sure that the hierarchy and command structure of the government and economy had their parts to play in the collapse, their importance is often overplayed by gargantuan proportions.

At the time of the October Revolution, Russia was a largely agrarian society, which henceforth industrialised and developed remarkably quickly under Stalinist Five-Year-Plans, in the midst of the Great Depression. However, it was still poor and barely industrialised when it was decimated by WWII. Despite this, it recovered to become a major world power that challenged the US during its peak.

US GDP has consistently been 3-5 times USSR GDP during the the latter's entire period of existence. Despite this, the pressures of the Cold War forced USSR military spending to match US spending, reaching more than 25% of GDP.

Any country in a similar position would be doomed to crack under the economic strain, regardless of the structure of government or economy.
Connecticut DMV Drivers License Handbook and CT Signs Flashcards
The truth about SEO and 'free' traffic from Google
As a regular visitor of /r/all The_Donald is spoiling the experience. Racism and bigotry aside, if all posts are coming from the same sub there is a point to change the rules of /r/all.

EDIT: for typos
The rise of APIs
I've no idea either - tbh it's quite possible that it ends up being the blind leading the blind, but if you're paying hefty fees it feels like you're actually doing something.

Related note - The Armando Iannucci Shows (by "Veep" creator, about 10 years beforehand) tackled Management Consultants very well: https://www.youtube.com/watch?v=MSJggp-mbiA&t=0m58s
You get a fuckton of this in government as well.

Want to do something, but you know the public will riot if you propose it? Hire some big name consultancy to write a report that basically deliver the same message, but now with an air of clinical objectivity...
From a web of archipelagos to a web of continents
Please don't.

We detached this comment from https://news.ycombinator.com/item?id=11931097 and marked it off-topic.
Computer Science Education Is Security Education
Accounting would likely help much more than the other two...
Pitbull attack dog
Brexit and Immigration Impact
why would you do that? They need uncontaminated steel not uncontaminated ore. There is plenty of the latter on earth.
How much time did you spend on marketing each one of these, and through which channels ?
I have built a few tiny services/tools myself, deployed them but usually get close to 0 traction...
> As an idiot that fell for the Trump secret political savant narrative

At the risk of veering off topic, would you mind explaining what this meant for you? I've heard people say sort of similar things before ("he's just pretending, he'll be different in office"), but never fully grasped the thought process behind them.
Not only a disgruntled employee, but also there must be an unusual motivation for the journalist/media organization.

Like you said, it's completely counterproductive and, I believe, actually not news to publish the results of an old red-team test without any information about what has been mitigated since.
From Dubai to USA – what visa do you need?
Some are air gapped, allot of them are not actually accessible over the internet but just go over mixed infrastructure (which makes them vulnerable to some attacks), but also allot of these networks are have to be accessible over the internet by soldiers, civilian workers, contractors etc.

It's not like the nuclear launch system is accessible over the internet, but for example the procurement and logistical system is because it's the only real way to assure that every contractor and supplier can easily access it, as well as every logistical unit in the armed forces can easily access it from everywhere not just the few bases that would be hard wired to connect to the pentagon.

It's really easy to come and say just air gap things but when you have networks that span not only an entire country but the entire globe that need to be accessible to millions of people from both the military and the public sector you can't just do it.
I've switched from Scala to Kotlin after 8y of Scala. There are some things I miss (e.g. Options and Futures) but Kotlin feels much more focused on real world problems.

And Gradle is so much easier than the monster that is SBT.
I'm a moderator here, so it's my job to set these expectations. That inevitably involves judgment calls, a.k.a. opinions. I'd say the lines we draw are far from arbitrary, but of course I'm biased.
How China's navy rapidly modernized to rival the US's
This thread of thoughts is the reality I have seen first hand.

Management consultants are simply there for often political reasons. Sometimes as an extra pair of hands, but often not.

In addition to the reasons given, it was also sometimes as simple as inept ivory tower management having lost faith in group and deciding they needed to hire real pros to come in and fix things. Another one: Management never wants to point the finger at themselves. They hire some real pros to come in and lay down what went wrong. I hated that job--swimming in bullshit all day every day.

I have so many ridiculous stories I've experienced in my short time doing that kind of work that I don't think the average person would believe.
Access to skills, networks or resources you don't have. For any significant decision it can be valuable to get a different perspective. It can also be a way of protecting confidentiality.

Lets say that you are deciding whether to sell a business unit, or to ramp up investment to try and break through.

- Skills benefit: creating the financial models is something many companies don't do all the time. Using an external consultant may also benefit as they may know current industry valuations.

- Network benefit: They might know other people in the segment who would be interested in your business unit. (for product development this is a better benefit). Counter-argument, it's part of managements job to know about the industry so your own network should be enough.

- Resource benefit: The whole team is busy so bringing in external resource to consider the problem lets internal resource keep focusing on existing business. The counter-argument is that if this is the most important thing to do then existing resource should be focusing on it.

- Different perspective: Someone coming from the outside who's not part of your group think. You can sometimes get access to real expects - counter argument is that they're often not real specialists, you have to test.

- Protecting confidentiality: You may not want it known that you're considering selling the unit. Consultants can act as a natural firewall. Tends to be more useful if you're looking at an external purchase - since in my example they'd have to crawl through the numbers of the unit and that makes it obvious.

The benefit no-one talks about:

- CYA: it's a tough decision and may turn out to be wrong. Helps to have "blah blah international consultancy says that X market will do Y and recommended as follows ...". Counter-argument: get some integrity. In fairness it can help to bolster an argument to have external 'calls to authority'.
> Whenever someone doesn't have an argument they resort to such empty phrases

except it is not an empty phrase.

It's making a real point: what I'm talking about is a very basic constraint, one that is independent of all the specific technicalities that everyone else brings up. And it is that constraint that means that functionally the brain processing must be doing something anticipatory.

And I notice that your comment here is not making trying to argue any justifications for your points or pointing out any evidence.

You're just asserting and saying that because you studied neuroscience you must be right.
What's New in Swift [video]
And paying someone who knows how to fix them their rate to replace a $.10 part can cost more than getting a new thing. I dug a 19" UltraSharp display out of the trash, tested it, and found the problem to be some bulging caps in the power supply for the backlight. The parts cost less than a dollar, and it took about 4-6 hours of my time total. I was billing $90/hr 10 years ago to do PC repair, and we didn't touch electronics, so given the value of my time, it was definitely not worth it for me to repair this monitor, which is maybe worth $100 now ($60 if you can find a good deal).

Since a car is so large and complex, I highly doubt that repair costs will exceed replacement costs in the foreseeable future. Disc brake pads are under $100 for a set of 4 for most vehicles. It's hard to find a car for $100 in any sort of road-going condition to make it more cost-effective to swap cars instead of doing the repair.

A head gasket is different. On many older cars, the cost to replace it exceeds the value of the vehicle. Related: http://jalopnik.com/the-time-smoke-came-pouring-out-of-my-br...

This is of course aside from things like insurance, registration, bills of sale, etc which make swapping vehicles a big hassle right now.

I honestly don't see this situation changing in the next 20 years, and the future I see is more in shared vehicle ownership, where instead of owning a car directly, one might join an organization for a few hundred dollars a month which provides access to a network of vehicles, possibly self-driving ones. Uber is, as far as I can tell, trying to be the first to do this, and they might even charge for actual usage instead of some flat monthly fee. BMW is also looking into this, but given they're a car company and not a tech company, I expect them to be badly beaten to market: http://www.theguardian.com/sustainable-business/access-over-... (I'm sure there are other companies working on similar ideas as we speak).
The assertion that cookies require server state is wrong. A JWT would easily fit inside a cookie. Or a URL for that matter.
Scala native exists, and is probably a similar overall maturity to Rust (scala native itself is newer, but much of the ecosystem has been around longer).

(Why are you running things on uncontrolled machines? Don't you have puppet or the like set up so that every machine has whatever it needs to run whatever you put there?)
Apple also shares which macOS Sierra components have been ported to Swift.

For those not on iOS, Mac OS X or Android, the video can be watched via VLC.
The correct signature for that method is something like (don't know whether this is the syntax)

fun with<F super E>(F elt)
> All that we've achieved to date seems to be prettier way to squander cycles.

And stack turtles.

Whenever i see a headline about unikernels, i envision doom running on DOS in a VM on top of Linux on top of some hardware somewhere. How many layers of (potentially leaky) abstractions are we looking at?
Or worse, like Andromeda Strain [1], full of dangerous viruses. Maybe we could sample it for viruses but can we test its full volume for viruses before bringing it on earth? But, it may lie dormant there and pass tests there, and once in Earth's climate, springs to life.
In either way, gold or viruses, very thrilling.

[1] https://en.wikipedia.org/wiki/The_Andromeda_Strain
> If I'm going to be successfully pitched a programming language, I will need to see its power of expression or be shown how it solves some problems that other languages don't address well. Some "special sauce."

I think that is wrong approach. Kotlin has nothing special or innovative, everything was already here. But it is well balanced and industrial strength (something like java). It is simply good workhorse for most tasks. It is excellent replacement for java, that is all.
You might find https://spin.atomicobject.com/2014/12/09/typed-language-tdd-... enlightening (note that in modern typed languages there's a lot less overhead to using type technique than there is in Java - but even in Java you can do some of this stuff)
Can you walk us through your idea of the daily work of a manager, since you say it's "a job in itself"? I understand that if you give a person a title and tell them to sit around for 40 hours a week and collect a paycheck, they'll invent ways to stretch that out, but in real terms, what are the daily objectives that a manager must address? How many people can one manage before they need to commit their attention 100% to management? 10 subordinates? 5? 1? Is someone not a "real manager" as long as they have time to do code work on the side? Is a manager who does code automatically less qualified than one that would ensure his managerial duties exclude any time for other pursuits? Is someone only a legitimate "manager" if they went to school for it? Can it be self-taught?

I've had management positions before so I have my own answers to these questions, but I'm curious about yours.
> I mean, who's going to even want to sign up to the machine dispute resolution? Not me, no way, that's the freaky dystopian future we're supposed to be trying to avoid.

Hell, that was a plot point in a 1987 episode of Max Headroom, "The Blanks", where a "blank" (someone who has erased themselves from all government databases, which is a crime in the world of Max Headroom) protests after she is tried by a computer that she has a right to be judged by a human but the prosecutor points out that as a "blank" she "has no rights" (implying that if she was not a "blank" she would have such a right).
Kinda. Density allows for either speed or for price, and going for speed allowed the companies to hold the price fixed.
I also wouldn't want the potential to have Facebook have access to all that data.
I can assure you I understand what a Turing machine is. I brought them up because the less powerful abstract machines you mentioned are not sufficient to (fully) express Ethereum or most other mainstream imperative languages.
You seem to argue that imperative programming is just as mathematically rigorous as FP, because one can have abstract state machines in mind, yet strongly object when I compare Ethereum to a Turing Machine. You also appear to suggest that formal verification has no problem dealing with computations that require Turing equivalence (by dismissing my point as 'false') and then state that Turing Machines have no place in formal verification. If I sound mixed up it's because I'm trying to make sense of your position.

> Everything is "Turing equivalent"

This doesn't make any sense. As you say, there are less powerful automatons. A programming language does not need to support universal computation, for example Unix RegEx.

I cannot disagree that imperative programming is more popular, but again that is no proof that we are better of using them is we want to easily build correct software.
Java already has real closures and pure object orientation. Operator overloading is just sugar.
Coaching Habit
Economist paywall. Can someone post the article?
Neat. Speaking of stubborn, usually desirable plants: mint. Plant it separately in a container.
The next generation of geniuses is growing up understanding why Friendly AI is hard. That's actually pretty damned encouraging.
3 Effective ways finish writing 1 ebook in 7 days
Or maybe even not completely GC-free [1].
What might be especially helpful is a good JIT that could reoptimize the code on-the-fly, when data patterns changes.
Maybe performance level of 'data-guided optimization' provided by (controllable) GC and state-of-the-art JIT could beat down traditional approach someday.

http://lukego.github.io/blog/2013/01/03/snabb-switchs-luajit...
1. I think your problem is relatively detached from the "should I join a company" question. Good ideas take time and are brewed in your brain after you've seen a problem enough. SolarCity's founders (Elon Musks cousins) first were told about solar's potential 2 years before they came up with the idea for SolarCity and their innovative financing model -- they went out and did a ton of research on the market, interviewed experts, and went to conferences before they saw that "no one was owning the problem that people couldn't afford solar." So they chose that as their "idea".

Basically, if you want to come up with an idea, go find problems you think are injustices in the world and go off and learn as much as you can, both online and in the real world. Why do those problems exist? Is it a technical problem, social problem, etc? As you go for a root cause analysis, you'll naturally end up coming up with solutions.

2. Sometimes it's simply hard to get a high-level view of the tech industry and the markets that interplay. There are tons of cool startups. I recently wrote a blog post that you might like, where my company lists 75 of the most exciting startups, segmented by problem space: https://jobstart.com/guides/top-startup-picks-explore-the-ma...

Hope this all helps, and good luck!
> ruby/rake, which has just 627 stars

ruby/rake is in maintenance mode, so there really isn't a lot of reason for people to notice it or even star it. You can see how active it is, in the screenshots below:

http://imgur.com/a/cYYwn

And as the last screenshot shows, in the last year, they only changed 104 files with 227 commits from 23 contributors. And if you look at the churn graph, there wasn't a lot of churn between 2011 to 2015.

Now compare this, to something like GitLab (18,000 stars), which is my goto repo for showing high rates of activity. This is there churn for the last 7 days, which doesn't count added/deleted files and changes by merge commits. And the reason for not counting added/deleted files, is I was told they are doing a lot of restructuring.

http://imgur.com/a/2A1VM

In the last 7 days, they changed 505 files with 390 commits, from 35 different contributors. In one week, they doubled the activity of ruby/rake's one year activity. What would be interesting to know is, of the 35 contributors, how many are GitLab employees.

I would also love to analyze GitHub's and Atlassian's Bitbucket development repos. I can't imagine they are iterating at the pace that GitLab is and I have yet to find another open source project that is going at their rate.
A good example of the value of marketing, I believe.
>… the science of handling pig iron is so great and amounts to so much that it is impossible for the man who is best suited to this type of work to understand the principles of this science, or even to work in accordance with these principles, without the aid of a man better educated than he is.

That is the most accurate description of MBAs and anyone involved in selling management consulting and advice.

It boils down to is "it's complicated, you need an expert." Don't ask why, you'll learn your lesson quick enough: "we're smarter than you, and we're really good at expressing it." In fact, that seems to be the primary skill required in this field: expressing that 'we're smarter than you.' I don't believe for a second the selection process at the most prestigious consulting firms is biased towards undergrad institution prestige for any other reason. Plenty of firms looking for great engineers/developers will hire a great candidate with a degree from a less-than-prestigious undergrad. I've never even heard of that in consulting and finance (I'm sure there's some exceptions, but I bet they're few and far between, and probably due to personal connections).
I agree. Folks that talk about how 'nice' it is to edit a React "Native" app layout with CSS.. It's like being happy about fixing airplane engines with chopsticks.
To me the moral of this story is that advice is just that, advice. There are always exceptions to every rule.
I am not aware of any difference in how privacy is handled between the sexes (nor should there be).

Can you elaborate on where you see the difference in how privacy is handled?
I actually like that it's informational rather than ideological.
No, because after the call to Transfer() and withdrawRewardFor(), it sets their balance to zero:

totalSupply -= balances[msg.sender];
balances[msg.sender] = 0;
paidOut[msg.sender] = 0;

So the bug is only exposed if the recipient of the reward transfers out the balance during the execution of withdrawRewardFor().

In fact, to me it doesn't look like there's a typo at all there - the call to Transfer() was fully intended just to log the burning of the tokens that will be accomplished by the later lines setting the balance to zero. The bug is simply that the balance isn't adjusted before the attacker gets a chance to execute code.
Ask HN: Do you need to know CS stuff to get a front-end developer job at Google
I've seen some people from Udacity Degree programs who claim to work at Google, at least that what they say on their website. I know that the Udacity front-end developer courses do not teach CS stuff like data structures and algorithms only web development stuff, and on the other hand some people say to get a front-end position at Google, you have to know deep CS stuff. I have 5+ years doing front-end development and have a strong Javascript background, I hope to apply to Google but I'm not sure if I have all the right knowledge to apply.
I think that might be what's needed for a really good programming language. If you want a general-purpose language, you probably don't want something unique and envelope-pushing - you just want a language that avoids all the mistakes that are so common, that learns from what's gone before. Like buying a table - you usually don't want a radical table that can do something other tables can't, you just want a good solid table.

(I don't think Kotlin is such a language - I think Ceylon might be. I work in Scala at the moment)
Oops, also just realized there were some 4096 textures in there. I've resized them down.
>Do you not agree?

Yes and no. It's a rational choice for a refuge but not for language reasons, let's be honest here.

>As for Sweden, I think we should accept more refugees and refugees should be accepted more evenly across the EU.

I agree that there is more place in Europe however Sweden seems to be out of capacity now. Last year new people where put into tents. There are no jobs, SFI is overcrowded (and always was kinda bad). Food for thought.
I'm leaving Sweden after my SO finishes her PhD in a few months but boy that country has changed. I hope its for the better for old and new Swedes. Rapid immigration and big changes in fabric of society seem to have generated big party of right-wing crypto-nazis which is damn scary.
I confirm everything you said.

My father, working as a tradesman, has more work that he can handle so I use to help him during work peaks (I've a non-STEM degree). You don't need to be a genious, only trustworthy. The problem IMO is that to be trustworthy you need to enjoy your trade and that is not exactly a personal choice (specially on the short term). Educated people are addicted to be challenged and to compete not to routinely execute stuff.

The low competition on trades is a symptom of a massive need of talent and huge opportunities.
"I like the FedEx driver, because he's a drug dealer and he don't even know it... And he's always on time."
Backyard transpiler 101
Click on web at the top, find the link and open in private window. It let me in through the main door without paywall tough.
Also, some people just have ideas and the desire to implement them.
There is an attempt to patent something ANS-related: http://cbloomrants.blogspot.com/2015/05/05-21-15-software-pa...
Structural equivalence doesn't necessarily means there's some missed abstraction:

struct Point
{
int x, y;
}

struct Fraction
{
int num, denom;
}

Would it be desirable to replace both above definitions by the following "abstraction"?

struct StructWithTwoIntegers
{
int first, second;
}
What's your setup like?
30 mistakes entrepreneurs make