skysight-inc/HackerNews huggingface dataset:
>This year I've stopped using Reddit. They really are just toxic, and incredibly wasteful.

I have to disagree about Reddit. Reddit is a huge site, with over 250,000 subreddits. Some parts of it are indeed toxic, /r/politics is a good example of this. But there's tons of subreddits for various obscure things, and they're nice places to talk to like-minded people. For instance, there's a subreddit for my car, and there's no toxicity there, just people asking questions about stuff and exchanging tips ("has anyone else experienced this problem?"). Or there's subreddits where people just post pictures of stuff and comment on them (/r/earthporn is a good example if you like pretty nature photos).

The toxicity comes when you have a forum where there's wildly divergent views, so naturally something like /r/politics is going to be filled with nastiness (and for good reason: people who support that other candidate are idiots!! :-) But in someplace like /r/earthporn, what is there to fight about? "This picture of the Grand Canyon at sunset is gorgeous!" "No it isn't, you're a moron!" Some things just lend themselves to conflict a lot more than other things. It's pretty hard to get into an ideological fight about a nature photo. So if you restrict yourself to those subreddits, you can avoid any toxicity I think.
Machines That Dream: Interview with Deep Learning Pioneer Yoshua Bengio
> By the time I get to the whiteboard stuff, I'm looking for someone to want to engage with me, not an attempt to stump them.

Dredging this comment, because while this article is not about whiteboard coding, it would inevitably be mentioned.

I think many people, including many interviewers, completely miss the point of whiteboard coding. I think this article needs to be shared: http://darrenkopp.com/posts/2013/04/19/Post-mortem-of-my-fai...

The key point is that the interviewer is, or should be, a friend. He should not be out to stump a person or out to get him; he should genuinely want a person to succeed at the interview. If not, it's better just to reject the person outright. White board coding should be seen as a way for person to engage in collaborative problem solving, which is something that we do on a daily basis. Can you explain your thought process? Can you admit your stuck? Can you have an intelligent discussion about your solution, listen to feedback, etc. The problem should be challenging and relevant, but it should not be a test of coding skill.
...And plenty of atheists who go to church. I know several, and occasionally darken the door of one myself.
These questions shouldn't be asked expecting an exact solution in the whiteboard, this adds layers of stress and time. They should be asked expecting an explanation of how they work conceptually. You want to see if the person understands the methods used to traverse, sort, manipulate them. Are they important?, of course.
I don't understand what happened to Firefox or how they so comprehensively lost their direction.

The whole rationale of the browser was to be something small, tight and easily extensible and to get away from the unreliability of Netscape.

Now we learn they're deprecating full themes, changing plugins to be more limited (but again becoming more like Chrome), and filling the browser with pointless at best features. I can't recall ever wanting to share browsing. Screens when coding or helping sure, but it's a solved problem, so keep it and the kitchen sink out of the browser.

It's probably why its becoming so slow and flaky. The two key problems it was intended to fix.
>Let's be realistic. The only real profitable revenue stream for Apple is the phone and app store.

The App Store, while big in itself, is insignificant to Apple's revenue stream. Which makes me think you are not really familiar with how it breaks down.

Apple's revenue is ~230 billion. Alphabet is around ~80 billion.

iPhone revenues were 68 of that, the iPad is 9%+, the Mac another 9%, services is 8% and other products (Apple TV, Apple Watch) around 5%.

You could kill the iPhone today and still have a killer company the size of Alphabet.

As for the "blip of the radar" regarding the Apple cloud services:
http://appleinsider.com/articles/16/04/20/as-a-standalone-co...
I can see you guys having an edge in places where the content isn't in English, but how are you planning to be better than Khan Academy in the long run?
Fortunately or unfortunately many more people will be confronted with this problem as affluence increases across the world. Once your material needs are met, a big motivation to press forward in your life is removed. There can also be some disappointment that your happiness level continually acclimates to wealth such that there is no big improvement in happiness, only fleeting thrills with each new purchase. Philosophy, identity, ethics, morality, and theology all take on practical significance once we have the luxury of reflection.

I actually think debt-driven consumerism is a sort of comforting treadmill for a lot of people, as they never need to change their way of living if they are continually on the verge of material deprivation.

On the whole this is a good thing though. Nothing forces you to be unhappy if your material needs are met. At that point it's all in your head.
Especially, since many frameworks are really easy to use from source (Bootstrap comes to mind), but almost nobody does... they have the framework, the patched css, and then in the project, maybe there's scss/less etc. Instead of having a project that starts off composed with the appropriate pieces of bootstrap.

That's just bootstrap, not even the shear number of jQuery UI bits floating around, and heaven forbid you see both in a project.. and all the "bugs" that the input in one page doesn't match others. sigh
At first I chuckled at your comment and scrolled away. Then I saw how many people on this thread are downplaying this. Now I'm wondering if you're right
I've never asked someone to do 1,000 non-trivial programming tasks before hiring them. :-)
China has caught up big time in the fab game over the past few years, though SMIC doesn't have very much capacity for cutting-edge production and it is basically only manufacturing Qualcomm products for 28nm afaik. You'll also notice they didn't mention yields at all there, which are probably not very good for 28nm, but then again no one has good yields at first, they'll catch up in time.
Disqus Is Hiring a Front-End Engineer in San Francisco
These stats[1] are form 2013, but i always find it interesting that just over 1/2 of the suicides in the US are from self inflicted gun injuries.
1. http://www.cdc.gov/nchs/fastats/suicide.htm
Waking up from the American Dream tends to do just that. The banks have more power than ever after the housing market collapse and income inequality keeps steadily increasing. The rules are shifting in the favor of capitalism in its purest form, devoid of empathy. At the same time, the world's poorest are experiencing better living standards. Are those somehow related?
Apple isn't most American companies.
Works for me on chrome on ubuntu.
Obama uses it a lot so that's probably at least part of it.
Tungia – Hay muchas maneras de promover su negocio en línea de forma gratuita
I don't know if you were including me, but either way I'm sorry and I'll stop now (just saw this).

For the record: I sincerely am not trying to annoy or provoke anyone; I've been concerned about derailing the thread, but a discussion of other emotions around death didn't seem too inappropriate. I sincerely think death is painful and difficult to think about, but that it is worth thinking about sanely, and that death is obviously a bad thing in this world. I am sincerely angry when conscious human minds are prevented by Death from exploring, creating, and loving as much as they want.
I honestly just assumed it was the case. I don't mind if anyone proves me wrong on this one.

For the discussion I also didn't really make a distinction between a true atheist and someone who believes in a higher power but doesn't go to Church. I should probably have used "secularism".
> It's like C++, except every line has potentially undefined behavior.

...but you repeat yourself.

How many production C++ programs have absolutely zero undefined behavior?
Funny how the 4th wall narrator - character interaction reminds me of 12 tasks of Asterix intro segment. Probably an homage.

ps: only recently I realized how much animation techniques were a big part of non animated movies too. Matte paintings etc.
Is It Finally Time for a Universal Basic Income?
FBI Paid Hacker $1.3M to Unlock San Bernardino Shooter's iPhone
FYI: this is a dup of the also-recently-posted: https://news.ycombinator.com/item?id=11551187
> That's why Firefox users left it for Chrome.

No, the real reason is Google's highly aggressive 'bundling' (i.e. crapware) strategy.
Too bad we can not measure it football fields
14 deaths for 300 million is non existent if you understand statistics. More people commit suicide each year and even more people die each year because FDA takes too long to approve new medicines.
> This is true for static and dynamic typing as well: they exist in degrees. Rust can verify type proofs that other languages can't regarding memory safety. Some languages can verify that integer indexes into an array won't go out of bounds. Thus it's not the case that a given language is either statically typed or dynamically typed

Memory safety and static/dynamic typing are orthogonal. C is statically typed but memory unsafe. Rust is statically typed but memory safe (except in unsafe blocks). Lua is dynamically-typed but memory safe.

I agree that it's possible to mix elements of static and dynamic typing in a single language. C++ is generally statically typed, but also supports dynamic_cast<>.

But generally speaking, static and dynamic typing have a very precise definition. Something that carries around type information at runtime is dynamically typed. Something that does type analysis at compile time so that the runtime doesn't need to carry type information is statically typed.
At least from the networking perspective, it's a solved problem. You assume the network is insecure, and encrypt the traffic.

This can be done on the protocol level, or wrapping the protocol with a secure shell like SSL/TLS, or wrapping everything with an encrypted VPN tunnel like IPSec.
Engineering the Simple Postcard with Twilio
Not that San Francisco has any room for new buildings but this smells like crony capitalism. Which solar panel company lobbied to have this become law? And which politician is getting the kickback?
Because they're an ancap. From what I've gathered they seem to believe markets should essentially determine everything
This. Awesome service, but pleasefortheloveofgod don't let people run arbitrary code inside Docker, unless you don't mind them getting out into the parent OS and messing around. You want VMs for that. (Yeah, that's much more resource intensive. Safely running arbitrary code is hard.)
From this (last year), Python 2.6 is bigger than 3:

https://caremad.io/2015/04/a-year-of-pypi-downloads/

>I'm guessing that most people who use Python 3 are using recent versions of pip that have caching built in, so that may skew the results a bit.

Since pip updates itself too, why wouldn't people using Python 2 also have newer versions?
Law enforcement has limited resources and hence they should spend based on what they have. I feel they are spending too much of our money.
File Destructor: Send trashed files and blame your faulty computer
You have clearly missed my point. :-)
Hahaha... oh wait, you're serious?

I think, and hope my kids will slowly forget about me except as deep and positive experiences, and it would be narcissistic in the extreme to ask them to carry my DNA around like ashes, just in case.

None of us are that special, me certainly not. Life is for the living, not the dead.
I don't know if they're that contrived. The scenario is that you have a closely matched two party system (as most FPTP places do) and a third party which is close in popularity to one of the mainstream ones on first votes, but is not universally supported by the remaining mainstream voters over the other mainstream party.

That doesn't just sound plausible, it sounds like exactly the pattern of growth for a third party that you'd expect.
Would you call a communist a hypocrite for buying food at a grocery store?
I don't think it was laziness. I think it was an environment of high-pressure short-term performance goals. It is said that a manager is someone who thinks that nine women can produce a baby in one month. I can only imagine how out of touch CEOs and CFOs are.
Sorry, my comment was probably a bit flippant, and I meant no disrespect to LESS as a technology or a choice. There's nothing wrong with LESS..

That said, the major CSS frameworks that I am familiar with (Foundation, Bootstrap, Bourbon, etc) all seem to be choosing SASS, so it feels like it is becoming the de-facto standard..

I'm sure there are lots of excellent and well-supported products that still use LESS though.
Because realistic problems tend to be far bigger than the small, fundamental building blocks.
They can all be considered failures of markets to deal with the upkeep and protection of the Commons.

No surprise there, everyone individually acting in their own self-interest obviously doesn't guarantee optimal outcomes in all situations.
The EFF warned long ago something was going on when AT&T was putting beam splitters on Internet backbones to feed the NSA. Then Snowden revealed how everything is tapped.
Then, be sure all mainstream encryption is "NOBUS". Nothing is truly random. Someone somewhere has the master key: elliptic curve cryptography using magic numbers from NIST? "Secure boot" by Intel? OpenSSL? Microsoft software? All backdoored.
Trust no one.
>Lets maintain some perspective here.

I see what you did here.
W put $50,000,000.00 in EH's T without doing due diligence. Normal people would even take a second look at the bowl before flushing the toilet.
Isn't it also the case that the obsession of aristocrats in maintaining privilege made a mockery of Confucianism in China?
lol, get rid of your car and commute to nj, then preach to me about how much a car is an albatross.
Honestly, I didn't write the protocol for my friends and family, who almost all know exactly how to behave. A few percent, maybe, have no clue. But then people reflect Bob's style and I'm a pretty chill guy. I just thought it would be nice to capture the experience for others, for future reference.
It's getting pretty hard to tell.
funny, i never thought about it (and Theranos seems to has never too :) - the smaller the hole you prick the harder you have to squeeze.

Wrt. the interview - if it were a public co. which i had stock of and i saw that moment at 0:22 - Shriver: "Do you think your company will survive?" Holmes: "Absolutely!" - i'd immediately sold it all. The delay and smile on Shriver's face when she in turn responds to question whether she believes Holmes is also telling :)

Walgreens i can guess is feeling how trial lawyers are gearing up for a class action on behalf of the customers who have had the testing done there.
Was reading the other day on hn about the reporting of suicide on US death reports, and how it is common to track suicide or suspected suicide as accidental death. In Europe there are generally fewer chances to report this was as we (generally) do not have access to guns which make up the majority of accidental deaths recorded. So the suicide rates in the US are likely much higher that currently tracked or reported.
Can't find original thread, but just found post linked to below.
---

some detail here https://news.ycombinator.com/item?id=11551308
Firefox isn't losing market share because of minor performance differences.

We live in a world now where the browser that comes with your computer/phone/tablet is usually good enough for most people. Firefox isn't even a consideration anymore, and I say that as someone that uses Firefox as their main browser.

Firefox's popularity grew when IE was seen as bad even by non-technical users. There's not much selling points for the average person to replace their default browser anymore.
I believe continuation-passing style is an alternative to the direct style you mention. Return-oriented programming and threaded programming may be specific counter-examples.
But humans always judge themselves in context. If you are born in poverty and with no opportunity to make it you probably don't feel ashamed of yourself for not making it.

It is different if you are given all sorts of opportunities in the form of a great upbringing, good school, loving parents and still you fail, at least in your own eyes.
From my observations, when put in situations similar to human's, animals don't "ignore" it in the same way as when left to themselves out there in the nature. (Admittedly, my sample size is very small.) We shouldn't ignore it just because of that -- we have relations, something wild animals not always have. This time of life is the last opportunity to tell other people that matter in your life -- and hear from them! -- all those things you always wanted to tell, but couldn't, for lots of stupid reasons. This will urge you independently of how you think about life, terminal disease or greatest gift (something in your message makes me think you are rather young).

I think Peter's protocol is exactly how this needs to be handled.
To See the Real Story in Brazil, Look at Who Is Being Installed as President
> Would you describe vandalism as a "market failure"? How about shoplifting? If not, why are they a different problem from littering?

In the great scheme of things, yes. Although the definition kinda gets silly and I see your point. At the end of the day, you cannot trust the "free market" to solve vandalism or shoplifting.

You need to create a justice system, hire cops, and then use these cops to persecute vandals or other criminals. Under a free market devoid of crimefighting units, vandals and shoplifters will cause prices to rise (as stores increase prices to offset losses). IE: market failure. Otherwise innocent people are forced to pay for the crimes of others.

The creation of a police force requires innocent citizens to pay taxes for the police force as well. And the state will require the use of force to extort the money from these innocent citizens. So in the great scheme of things, the whole setup is extremely anti-market and demonstrates how much of a market failure the whole crime system is.

So from the perspective of "we can't trust only the free market to solve this problem", yes, Vandalism and Shoplifting require more than just straight capitalism to solve.

Most problems can be solved with capitalism btw. Which is why I'm generally a conservative on issues. But I educate myself on the failures of the free market so that I understand when we need to look at other solutions.

I'm mostly happy with the police system we have by the way. It seems like the "least bad". I see many issues, but I can't figure out a way to make the system better. And when I travel the world and look at other country's police systems, I'd much rather have the American system.

> If there is a problem with plastic bag litter, it is the fault of the litterers, which is a subset of all users of plastic bags. Shifting what should be the liability of the polluters onto the entire population of plastic bag users doesn't right any wrong--in my view the wrong is even greater.

Here's the primary difference: plastic bag pollution occurs even if you are 100% compliant with the law.

Plastic bags get thrown away into a dump, or otherwise discarded by some means. Then they degrade into micro-particles (since there's very few bacteria that can actually break down the bag), and then you start running into long-term pollution problems.

https://en.wikipedia.org/wiki/Plastic_pollution#Microdebris

Someone needs to pay for this. And naturally, making the users of the bags pay for this seems like the most fair solution.
IMHO it's that our goals are not for things that are fulfilling. The "American Dream" is a house, two cars in the garage, a couple of weeks of vacation, money in the bank, looking forward to retirement, clothes, iPhones, etc.

None of that brings happiness. Sure, having the necessities is important. But there is very little happiness in a $50K car over the $10K car, but that extra $40K had real costs -- it took a lot of effort, stress, time, etc. So over and over we trade effort, stress, time, etc for things that don't bring happiness. After a while, we're just weary of life.

I don't know what the solution is exactly. It definitely revolves around relationships with people. Helping them. Listening to them. Cooking for them. Raising them. That is where fulfillment and joy are found.
> If there is a car on the shoulder, someone in the right lane could be not paying attention, and swerve into you to avoid that car.

Then on 101 they'd still be a lane or two away from me, so most of the time it doesn't matter. But someone's car is guaranteed to be broken down somewhere every day, so it just comes up all the time.

BTW, you actually can't turn it off without disabling all Hazards, but the rest of them like "object in lane" seem pretty good.
I'm actually not annoyed nor do I misunderstand why people are sighing. Your emotional appeal does not hold much weight when faced with real business practices of hiring "the best" that every organization is going to strive for.

I'm somehow a poor boss to work for because I told the OP his sighing is obnoxious? It is. It feigns authority and condescends the entire post for being so dumb he has to sigh at it. While you might have your feelings hurt, have you considered the feelings of the guy who took the time to write up an entire post explaining his position in a rather civil & straightforward manner? Have you considered the person at the other end of the interview table?

> No one here has claimed to have it all figured out

> whiteboard interviews are terrible, alienating, unrealistic, antiquated tools for hiring.

Hm...

And ya man, I'm not a programmer but I figured out his coding puzzle in a few seconds.
Depending on your problem domain, you might be able to flatten it by just combining keys together (subject to keys being combinable like with string concatenation, using separators to ensure uniqueness of combined keys, etc.)

E.g., turn {"foo": {"bar": "moop"}} into {"foo-bar": "moop"}. This also requires writing accessor fns, but it might be worth it, depending.
Excellect! It's the most cogent analysis that I've seen from him. Damn, what a fucking hero!

A few comments, however ...

> ... we had to go to the dark side to be able to confront the threat posed by bad guys. We had to adopt their methods for ourselves.

He's using "we" there in reference to the government. But it can also be read with "we" as you and me, and "bad guys" as the government ;) But then, I claim a broad "right to be left alone", one that doesn't concede any state monopoly on power.

> ... you can’t opt out of governmental mass surveillance that watches everybody in the world without regard to any suspicious criminal activity or any kind of wrong doing.

Well, sure you can ... as he goes on to explain ...

> You would need to act like a spy to pursue a career in a field like journalism because you are always being watched.

... and ...

> Instead of changing your phone to change your persona — divorcing your journalist phone from your personal phone — you can use the systems that are surrounding us all of the time to move between personas.

Right! Compartmentalization is for sure the way to go. There are numerous personas like Mirimir. Maybe I make it too distinctive. But I have no meatspace identity that goes on like Mirimir does. And Mirimir, ve has lots of vis personas. So hey, let's create a tangled morass of overlapping personas ;)