skysight-inc/HackerNews huggingface dataset:
>But the argument that socialism is against human nature is obviously wrong, as humans are social animals.

Socialism is anti-social (or were you confused by it having the word "social" in it?). Socialism says two people do not have the right to come to an agreement on the exchange of property and labor. What is social about that? How is that in harmony with human nature?

>There were enough articles recently for instance about Amazon, as an extreme example of hiper competitive anti-social environment that encourages people to backstab each other and play politics to advance.

And yet people work for Amazon. Willingly. What's wrong with that? Just because the work environment does not meet your standards of what you expect from a job, why would you want to deprive others of their jobs? That's very anti-social.

>Now you can argue that companies are not countries, but I don't see how such learning don't apply.

Not only are they not countries but trying to extrapolate such scenarios which happen between free acting, cooperating, social individuals to a generic edict enforced through threat of violence is foolhardy.

>Sorry in advance for the ad-hominem, but that supposedly intelligent people even here on Hacker News keep reiterating old tropes about socialism and human nature unreflected, while any research in that regard or simple observations as illustrated above are contradictory to it, is baffling.

Again, your examples tell us nothing of socialism and are not even applicable.
> YAML expresses structure through whitespace. Significant whitespace is a common source of mistakes that we shouldn't have to deal with.

> Both HOCON and YAML make the mistake of implementing too many features (like anchors, sustitutions or concatenation).
Recent-ish versions of GNU rm do the same. However, it only protects against `rm -rf /`, not `rm -rf /*`, as the latter is expanded by the shell.
Amazon also got some cool robotic know-how when it acquired Quidsi (aka Diapers.com, Soap.com, etc): https://www.youtube.com/watch?v=A6NK0zexl4s
The best damn Bluetooth Keyboard in the world
That's the nice thing about Go code... I almost always know exactly what it'll make the computer do. I know how much memory will get allocated, what the likely CPU usage is going to be, etc. The abstraction between the code and the computer is low, which helps lets a lot in understanding why your code is slow, or why it's producing a lot of garbage. "oh hey, here's a loop in a loop... oops, N^2 time".
It's the common thread among those that get caught. What's to say how many there are that do retire as millionaires before getting caught?
Yep. My wife is the same as me (a big reason why we're together) but she hides way too much (in my opinion). The best way to deal with it is to just be willing to feel the pain and move on. Go through instead of around.

There is a lot of pain in the world, but it doesn't really hurt you. You don't have to be afraid of pain.
Depends on which version of `rm` you have. Newer versions (rm from coreutils 8.xx I believe) use no-preserve-root
He was running with full administrative permissions and thus file access permissions on files were ignored.

"root" is the name of the default administrative account on Unix and Unix like systems.
I was looking for that; surprised I didn't see it in the github page/docs anywhere. It's weird looking at London Weather with Imperial units.
From this thread you'll find people that will reject someone with 10 years of experience because of failing Fizzbuzz in the conditions of an interview. It's not always used to talk shop. What I say is that there are things that are probably more statistically significant that questions with gotchas.
What about passwords? Either from an ssh prompt, or in a static file like MediaWiki's LocalSettings.php.
I like that you're planning to earn trust long-term, but, if customers are entrusting their proprietary codebase to you, some more concrete promises will be important, too.

There's a difference between trusting someone not to redistribute your work versus having it in writing. Both are important.
Thanks! FYI: if you sign up at kite.com then you'll get to enter the language you use, so we can get in touch when we get to swift.
A point against YAML, that I always read, is its specification, too big etc. I don't know much about this issue...

I like how nice config files can look with YAML and JSON being a subset of it makes it even more convenient
Corporate inertia mostly
I think the C code presented and the rust code presented are approximately equal in their levels of quick and dirty. Using "expect" is the quick and dirty way of ignoring the error case in Rust, and doing nothing is the quick and dirty was of ignoring the error in C. Perhaps "unwrap" is more quick and dirty, but it still fails much faster and with less damage than the quick and dirty C code.
Women submit better pull requests than men, study suggests
IIRC douglas crockford purposely didn't include comments
MapD – GPU database for fast big data analytics and visualization
...and the lack of trailing commas.
Visual Studio Code 1.0
I completely agree there are aspects that arent simply handled. But you, the individual, are far more capable of inventing than stopping existing industries. You are more capable of maintaining a small bee hive than stopping industries from using pesticides. What is unclear to me is what effective legal actions can be made inorder to protect nature.
American diet in the 70s was not what the American diet is today.
I dunno. My personal opinion is that humans to some extent are innately good, and that it's the broken ones who turn to crime. Furthermore it's the EXTREMELY broken ones that become the crime lords etc. and those people often have massive flaws in their character such as the arrogance you described.

Basically I don't think he could've ever accomplished what he did if he wasn't arrogant and wreckless to his core.
There is a market demand for performance.

You could fulfil that demand without breaking existing code by making the riskier optimisations configurable and turned off by default.
There are about 4 million births in the US ever year, so that program would inject $4 trillion per year into the economy (assuming everyone currently living is left out). It would be impossible to pull in that much through taxation (today) so it would have to be pure money creation. $4 trillion is about 25% of GDP, so if the economy isn't growing by at least that amount every year, the value of the dollar will inevitably fall to compensate, most likely to a level where the return on the $1 million investment isn't anywhere close to a livable income.

Come to think of it, I'm not even considering the money multiplier. When that $4 trillion is spent or invested, eventually it ends up in someone's bank account, and because we have fractional reserve banking, it adds to the banks' deposits, allowing them to loan more money out. The banks' reserve requirement is 10%, so in the worst case (if the banks loan out as much as they possibly can), that $4 trillion becomes $40 trillion. (Each bank loans out 90% of their deposits, the loans becomes deposits at other banks, who loan 90% of that [81% of the original], and so on and so on.) That's 250% of GDP, so you'd probably see inflation severe enough to threaten social order in general.

If we imagine that the program has been running for several generations already and the whole population already has their $1 million trust fund, you can at least destroy about $2.4 trillion per year as people die, but the bigger issue would be that "$1 million" means a very different thing in a world where there's $300 trillion in citizen trust funds compared to today when the total of all physical currency and liquid bank accounts is about $10 trillion.

There's also the problem of who gets to decide how to invest the money, which would be a magnet for corruption.
UB being the various "undefined behavior" bits of C?
In Hong Kong 1 kilo bars are very popular.

From the article:

acquired $30 million in one-kilogram gold bars from Metalor Technologies
That just makes me really,really want to know what the original company was and what product they were selling.
It's in the 2nd paragraph, linked from "called Server Fault" text.
Porting Bullet physics to JavaScript
There's no stipulation that data needs to be decryptable by the party holding it, is there? If the law passes in its current form, we'll probably see a slew of client-side encryption and secure multiparty computation offerings from providers.
Why would rent go up? Some homeless people would rent apartments, sure, but they're a very small percentage of the population, and a good portion of homeless people have other issues that makes that unlikely. In other words, demand would not increase substantially. And supply wouldn't change. If neither supply nor demand changes, why would prices?

There would be some movement. The prices of the worst shit-holes would probably go down because people would gain the ability to move into a nicer place. That might cause a little increase in the price of low end apartments.

And any city that is currently supply-constrained would probably see upward movement on prices. But most cities that aren't San Francisco have vacancy rates around 3%, they aren't supply constrained. If one landlord raises prices, people can and will move to an cheaper apartment elsewhere. And if prices do rise, people will build more apartments, driving prices down. (again, assuming not San Francisco).

Because even though anybody relying on Basic Income may not be starving, they'll still be really poor, and really cost sensitive. If BI is $10,000 a year, a $100/month price increase is a huge chunk of their income, and worth the huge hassle of a move to avoid.
Microsoft is too focused on corporate clients to move the needle in the consumer market.

Yuppers, you could see this coming late in the 360 product cycle. After booting the Xbone for the first time, it was if it were an official announcement: "Microsoft now looks to advertising and other 'monetization' for profit. You, previously referred to as 'customer', are no longer a factor in such measurements as 'customer satisfaction'. We still measure it, we just don't survey users anymore to get that number".

Other than the obnoxious UI, there's no single thing that makes me hate Xbone; it's death by a thousand cuts. If you asked me, "why won't you be buying the next generation Xbox?", I couldn't give you a single or even a half dozen deal breakers. It's more that every function of the box has one little, inconsequential thing that annoys me. Want to watch TV using the pass-through? You have to login first now, or spend minutes sifting through the menus. The OS now allows buggy games to bring the whole box down (never saw that happen on 360). You have to store games on a hard drive, but you still need the DVD to play it. Etc., etc. Just a thousand little things that should be better, but aren't, and it adds up to me just skipping the whole thing next time and getting a PS or Steambox.
Pony Foo Weekly – Issue #6
This is one of the reasons why we have infrastructure as code now, so system changes can be reviewed and tested just like application code, and more types of accidents can be reverted via source control :)
Bill Frist is/was actually a highly regarded heart and lung transplant surgeon.
It clarifies the fact that Go is successful for more reasons than just being pushed by Google. So it focuses the question to "what is it that people like about it". And then we can have a better conversation.
I really don't understand why they are doing this. I have a rather old Mac Mini I wanted to give to my mom, and it would be perfectly suitable for her uses. But as of about a year ago, Chrome stopped supporting it because the hardware is too old.

I get that it is more work to support old hardware and operating systems, and I think it would be forgivable if it was a small shop and software that has limited number of users. But this is Chrome, and Google. What exactly is their reasoning in being so aggressive?
>However, there is nothing in the video to back up why that argument is true now and/or will continue to be true in the future.

It seems obvious to me why it's trivially true but maybe you had something else in mind.

Let's say you have an equation like this: x+3=10.

How do we make it so the answer of "x=7" is only given by angels but never by demons? Cryptography is mathematics and for the entire period of its existence, there's no math that only the good guys can perform but the bad guys can't. Math and numbers don't have a concept of angels vs demons acting on it. Same idea as a physical key not knowing if the hand using it is a legitimate police officer or a criminal.[1]

Also, the distinction of angels-vs-demons is not as simple mapping it to government-vs-terrorists. What if the actors in government are the demons?!?" Examples are police officers using their computers to digitally stalk people or CIA officers probing into citizen's private files that they're not authorized for.

Clinton said, "There must be some way. I don't know enough about the technology,"[2]

Ok, it seems like someone can just sit down with Clinton and outline the math above. Or, if we really really wanted to play along with the "there must be a way" idea, I suppose we could postulate a math device that only performed mathematics after scanning the users brain and determining that the neural patterns constitute a "good guy" with lawful intentions. Well, what about all the electronics and math unrelated to the biometric verification? Just bypass it.

[1]https://www.google.com/search?q=tsa+keys+leaked

[2]http://arstechnica.com/tech-policy/2015/12/hillary-clinton-w...
Side note: the original title was rather long (104 characters), and I didn't see a way to shorten it without reformulating it slightly. Hoping it's a fair enough rewrite, though.
Yes. Compiler developers like it; everyone hates it. :)
Show HN: Metro UI Grid in CSS with Flexbox
The point is to make shots, not just take them.

EDIT: There's roughly a finite number of shots a team can take in a game. If one player takes most of the shots, then sure they will score a lot of points. But are they maximizing team points? If other members of the team have a higher shooting percentage then taking less shots and passing the ball around will be advantageous.
These Startups Are Selling Vinyl Records, Graphic Novels via Text Message
As the post says, yield and async/await will be based on exactly the same mechanism. Either the entire mechanism will be implemented, or it will be postponed.
Why the Success of Conversational Commerce Depends on a Great UX
C#: Learn with Expert Online Training – Codementor
If Philly is where our industry is, then we only need as many people to live in Philly as the labor market demands. However, if unemployment is high or wages are too low (relative to the cost of living) in an area, then that suggests we have an oversupply of labor there, not a shortage. Basic goods (food, clothing, materials for housing) are grown/produced in many areas (even rural ones), not just in dense cities, so no, transportation costs don't really increase the cost of living in rural areas. To the contrary, in most cases it's far, far cheaper to live outside of dense cities.
This is not a good article, but to the point I disagree. I don't want a game machine that is also a PC. I want a screaming fast, high powered, ass-hole-clenching machine of pwning power that is separate from the ones my kids use to download viruses and watch porn on... Just sayin...
paper this is based on was discussed here: https://news.ycombinator.com/item?id=11074587
This is similar to the Developer Assistant plugin for Visual Studio made by Microsoft: https://blogs.msdn.microsoft.com/onecode/p/devassistant/
Haven't we all been there? We want to setup some great polymorphic abstraction that allows us to adapt it deeply and effortlessly in the future. Then half way in we're like "fuck I actually just needed x, not the whole alphabet". I actually give props that he finished it rather then revert it to something simpler bug uglier (as I would've done).
They were explicitly removed: https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaG...

HN discussion: https://news.ycombinator.com/item?id=3912149
It's not quite that easy.

But in any case you don't need a data breach to get you fingerprint - it's probably right on the phone.

A fingerprint is the weakest form of security out there.
The point is to out score your opponent.
I have to say, strictly as an uninformed outsider, this bit of nastiness is just pushing Go, Rust and even Swift higher on my priorities list.

I don't think I'm the only one.
HJSON isn't exactly a nicely compact spec I'd want to use in data exchange either. For local configuration files and the likes, where you want comments etc., it doesn't really matter how big the spec is.
The obvious problem with the "The second is to ask what is most useful" approach is that if you ask 1000 C programmers, 990 are not clueful enough to give any sane answer and will pollute your answer database with noise, and of the remaining 10, 5 are language lawyers and favor approach #1 anyway, and the other 5 will give 20 different answers (Note: above numbers completely made up).

So then the compiler developers give up and implement stuff 1) according to the standard document 2) such that performance on SPEC cpu is maximized.
Sorry if there was any confusion, but just FYI we're sending out the first invites today, so we're definitely "in motion".
Actually readability at the point of use is very reader-friendly:

machines := db.GetAllMachines()
sort.Sort(byName(machines))

For those not familiar with Go, the sort.Sort line is converting the list of machines into a type that matches the interface that sort.Sort expects. The list of machines is sorted in-place

The only part that can be subtly changed is the Less function, which determines the sort order. And as I've said elsewhere... that definition of sort order is something you have to define in any language (for non-trivial types).
Sorry, I mean the opening of a Github issue regarding generic programming by the Go team itself is the beginning of a new stance.
Using Conversations to Grow Your Business: Messaging Apps to Market Your Brand
...and this is why we include a 'backup technology' question in our technical interviews--where 'offsite backup' must follow with something like "possibly the most important type of backup because..."
> I'm wondering if this was something that Blackberry was doing back in the early 90s, and, as the state of the art advanced, they never upgraded their systems.

It's called backwards compatibility... though that's not really an excuse.
can you not set google as your new tab page?
Microsoft sues U.S. government over data requests
Sure!

lspci -vvv: http://pastebin.com/raw/FUsMqPZz

cat /sys/devices/virtual/dmi/id/bios_version: 1.2.3

Happy to provide any other info as well, I love this machine to bits and would be happy if I could help other people enjoy it too.
Nice idea. A nit: making trailing whitespace significant (rather than stripping it) seems like a bug.
Say what you will about the NBA (like the fact that they're about to vote to have corporate logos on jerseys in the near future), but what they're doing with data science, and especially the open sourcing of it, is a gold standard not just for sports but for many other industries.
Don’t be fooled by long term averages
I real-life Breaking Bad story.
This narrative of `fault' has two very serious problems.

That can be said almost any time people are trying to find fault. Better to just look for a solution, and not worry about whose fault it is.
If the goal is feedback, it might be better to have a link to a page that does not require login/signup because there is no technical documentation, demonstration video, or other supporting collateral.

I came to the site to learn about your product. Make it easy. Don't put barriers in my way. Don't optimize for your needs over your users'.

Good luck.
It's just a hack, but you can write a comment in a key that is supposed to be ignored:

{
"__comment": "The following config does...",
"key": "value"
}

But I agree that it is not much intuitive.
I think young people are not buying homes not from some money issue, but rather a desire to not be tied to a single location. They want freedom of movement, and I think a general desire to live in more urban/cosmopolitan neighborhoods. Places where houses cost more than most people of any age group can afford.

As for me for those who care: I'm 33 and bought my first home last year. I did so not to start a family, but because I was finally able to get myself out from under the thumb of crappy apartment corporations, their always-increasing rents, rules, and the general nature of living with people all around me.
When he says, "YOU are full of bullshit," is that the intellectual honesty part? Some people are merely assholes constrained by social pressure other people are actually being honest when they are nice. It's hard to believe this when you are one of the former.

I agree with your system-level vs. low-level point except that he also talks about git which is neither.
Ok why not get Lynx on your Android device?

the rule of of diminishing return applies.. at some point, the usability shortcoming of ascii interface out weights the payload penalty
But why do we always want more, more, more? If gcc -O2 without whole-program optimization was good enough to encode MP3 faster than real-time on a 366 MHz Pentium laptop in 1999, then surely it's good enough now, with all the increases in processor performance since then. If that level of compiler optimization isn't good enough now, then maybe that means we programmers are doing something wrong. At some point, better optimization in a compiler probably isn't worth what you give up to get it, in terms of reliability and comprehensibility.

Edit: All the responses are right. Feel free to downvote this ill-considered comment into oblivion, now that I can't take it back.
I have used both the Alfred workflow https://github.com/Kapeli/Dash-Alfred-Workflow and the Vim connection https://github.com/rizzatti/dash.vim in the past. They are useful and provide very fast symbol lookup.
CEO John Chen earlier said this about BlackBerry security (at http://crackberry.com/john-chen-discusses-blackberry-securit...):

> There have been a number of news articles over the past few months speculating that BlackBerry technology may have been deployed in a non-approved manner, placing sensitive government information at risk. While I cannot comment or speculate on those news stories, or the extent to which any vulnerable non-BlackBerry components may have been involved, I do want to reiterate the security technologies that BlackBerry provides to millions of government and enterprise customers around the world.

New BlackBerries are based on Android now. I'd venture that 95% of a new BlackBerry is made of non-BlackBerry components. I find it interesting that he carefully disclaims any vulnerabilities that might have been found and exploited in that 95%.

I don't have anything particularly against BlackBerry. I wish they'd get their act together and do well so we can have more competition and innovation in the cell phone market. However, I wish we'd put that whole "BlackBerry is secure" trope to rest because that doesn't ring remotely true to my ears.
This gave me some insight. I've always wondered why people support charities that do things in the western world (ie research cures for cancer) when dollar for dollar you are better off feeding and educating children in developing countries if your goal is to prevent human suffering. At first I thought it was racism, then maybe nationalism, but neither explanation ever fit every case. Maybe these people can't handle the suffering of a mother in Africa making less than a dollar a day to feed her 8 children so they don't think about it at all in the first place.
Thou Shalt Not Use Struct
Three Simple Steps to Improve Your Email Response Rate
Microservices in the context of distributed systems