skysight-inc/HackerNews huggingface dataset:
Legalise/Regulate all the drugs. Given the choice between a 'traditional' drug like Coke, MDMA and LSD and some new alphabet soup drug with no history of human use, very few people will choose the thing they haven't heard about. If there is one thing we have learned since the war on drugs it is that prohibition does not work.

The 2C-x drugs certainly did not arise from the prohibition of older psychedelics. The man who invented them (along with MDMA earlier) was Alexander Shulgin. It was his life's work to discover and test these new drugs. I seriously doubt it was in reaction to prohibition.

2C-x as far as we know does not have a similar safety profile to the drugs you have mentioned in general. LSD is known to be safe in at least 1000x the normal dose. The highest dose in the literature for 2C-B is 5x the normal dose. Certain drugs in the series such as 2C-P have a very low safety margin[1].

[1] https://www.erowid.org/library/books_online/pihkal/pihkal036...
This might also be helpful here: http://www.generateprivacypolicy.com/
SEO made easy
Perhaps "connected enclosures" would be a better term. The enclosures would be built gradually, incorporating present air-conditioned buildings but with air filtration systems added, and slowly extended to more and more areas. Many subway stations in Asia have a transparent seal between the tracks and waiting area which would be part of the enclosed zone boundary. You probably imagined a dome over a city when you read "encasing".
FAA permitted "PED" use (Personal Electronic Devices) for passengers from late 2013: http://www.faa.gov/news/press_releases/news_story.cfm?cid=TW...

Other countries are slowly following suit.
Without wishing to detract from your point, people also frequently (on their death bed or otherwise) wish they had achieved more in their life - which might imply they wished they had worked more.
sbuk,

We do not have any locations offshore yet, however we are looking to expand and open new datacenters in the years to come.
Google for Work invites you to witness a new interactive event platform
Increase Facebook post engagement with these hacks
Exactly. Show, don't tell.

Telling people to cheat the client is illegal and unethical, but creating a culture where people behave in that way is only unethical.
It doesn't have to be about children, every person goes through different stages in a period of any 15 years. Single people deserve same (good) treatment as married.
Nice use of open data, I can see this very handy when you are looking for an apartment or a house. The baltimore crime map is also very interesting.
Obviously in terms of quality of education there is a huge gap between developing and developed counties. But I wonder can you measure this gap in terms of the number of years spent in education?
My wife works as cabin crew for a major international airline. A few years ago she was grateful that they abolished the requirement that all crew (an A380 has around 30 crew) had to bring their manuals for every flight. The book was about 3kg and rather bulky so took up most of the room in her flight bag where she was also supposed to keep a jacket, jumper, pair of shoes (they switch from heels when boarding to flats during flight), hat, make up and various bits of documentation.
What about Japan? They tried to buy economic growth (dubbed Abenomics) and failed horribly. The economy is worse and government debt is higher than ever.

Models that can't explain some weird edge cases are ok. But what happened in Japan is the exact opposite of what Mr. Krugman tries to convince people.
I wonder what the performance impact is.

Why do young students no longer learn C? Don't you want to be closer to the underlying OS?
This is why ansible-vault (which is not trying to do the same thing) spawned a temporary editor, and immediately upon save encrypted the file - it doesn't exist in history, nor is there a chance of leaving it behind on disk.

There's probably a way to do what you have launching an editor with stdin, but I'd probably suggest documenting an example, to avoid the risk of leaving the secret around.

Also +1 to removing the insecure history option. Documenting the stdin to use 'cat' or something that's not in the history would probably take care of that one.
I'd love to try Spark - Photon seems to be out of stock at the moment though.

In the last couple of weeks I've been dabbling with Arduino Uno and Nano and have been very impressed by how plug-and-play everything is.

But I've been super-impressed with the ESP8266. A thumbnail-sized wonder which has a 32-bit CPU, GPIO pins, wi-fi, more RAM than the usual Atmels, costs peanuts ($5) and is available worldwide on ebay and other sources. Now that it has both the Arduino IDE and the nodemcu Lua environment, this little thing is poised to take off. I just finished wiring up a temp sensor to the 8266 using the Arduino IDE. Now I have a tiny temperature web-service on my wi-fi network, responding to a Bonjour/mdns name and it took all of half an hour.
Well written. The topics are explained carefully and the interactive examples are very nice. Thank you Ben!

How did you embed the examples into the post?
Too many words per line...

EDIT:

I'm getting downvoted so I'll provide some explanation.

The first paragraph (excluding the last line) has 107.8 characters/line (including spaces).

"Anything from 45 to 75 characters is widely regarded as a satisfactory length"

Personally, while I enjoyed this pdf, it could have been a bit more pleasant to read.
Thanks, it can also be used when travelling to make sure you only visit safe neighborhoods.
The thing is: Gabe Newell put his personal e-mail account on some games (I remember seeing it in HL2), and promised to read all those he can, even if he does not reply...

I think that mass deleting e-mails would be noticed by the people e-mailing Gabe...
> that the entire 737 fleet on American had experienced the same behavior.

That seems to be inaccurate. American Airlines confirms "several dozen flights" which is probably less.

http://www.theguardian.com/technology/2015/apr/29/apple-ipad...

And the fix was available through nearest Wi-Fi. Leaving cockpit a few minutes. The horror!

"In some cases, the flight has had to return to the gate to access a Wi-Fi connection to fix the issue. "
http://www.theverge.com/2015/4/28/8511993/ipad-issue-grounds...
Yeah, you might need a config switch to configure what would you want to do with the most common undefined behaviours (or "just change" your C code)

(Because "just change" usually ends up creating other problems. Been there, done that, "code is wrong but works" and when you try to fix stuff breaks)
Which public companies will benefit from  AI and Immortality?
For the next decades, I see 2 trends being the most funfamental:

1. Computers reaching and surpassing human intelligence in all areas.

2. Human immortality. Either by manipulation of the DNA or by continously replacing/repairing parts of the human body.

How could this be incorporated in a stock market portfolio?
Still, Bethesda is notoriously greedy... I think many people still remember their Horse Armour DLC.
Too bad. The current replacement sucks massively and is a pain to use. I guess the old one was just not evil enough.
Hopefully as more developing nations gain access to the internet, our global education standards improve with the new technological access those countries get. The ability to provide education to parts of the world that might not have access to high quality teachers or schools via Skype or other programs will allow for rapid advancements worldwide in education.
Who needs more than 10 route points anyway? New feature allows you to not being able to enter more than that!
TLDR:
* To hit your performance goals, you first need to define your goals. Consider what you’re trying to accomplish.

* While throughput numbers increase over time, latency has only inched downwards. Thus, on most typical programs, you’re likely to find yourself latency-bound before being throughput-bound.

* A profiler is not needed to achieve the desired performance characteristics. An understanding of the problem, an understanding of the constraints, and careful attention to the generated code is all you need.
Nobody does that. That would be insanely stupid. The product these people are selling is legal. Why on earth would they add a Schedule 1 compound to their legal mix? Why would they do that when that compound is very expensive compared to the product they are selling.

The claims of dealers lacing softer drugs with harder ones is classic DEA FUD. Drug dealers are generally not the smarted bunch but they know not to cut a cheap drug with an expensive one.

That being said, a common DEA lie was that cocaine was being cut with rat poison. This actually started happening in South Africa where it caused many deaths because the South African drug dealers thought that the Americans were doing it when in fact it was just invented by the DEA to scare people off of coke.

What possible evidence do you have to make you think that somebody put meth in there?
Era of "modern" browsers.
It would be nice to have some numbers / a scale on the map to interpret what red means. Seattle has twice as much crime reported as Boston, yet Boston looks redder.
> When I was first starting out (way before I took that job) I was told that the idea is to "manage perception" and that appears to be true of a few places.

I have been giving this advice to quite a few people lately, both inside and outside my company.

As a manager I feel that my team's productivity benefits more from "work hygiene" than from long hours, but we have a few team members who have come under scrutiny because of perceived short hours.

My advice to them is always, "I trust that you are doing your best as a part of the team. But remember, the teams perception is what matters. And when you leave at 3 it looks like you are slacking. No one knows you got here at 6 because they weren't here. So rather than changing your behavior, work on changing their perception."
I'm not sure that Shulgin actually invented MDMA did he?

Certainly he dedicated his life to discovery and testing of all sorts of interesting things, and his legacy is enormous, but I didn't think that one was his invention.
I usually start with asking them to describe the technologies in their ideal stack. That gives a good platform to talk about frameworks, technologies, and challenge them with the bits and bogs.

I'm looking for:

* Technical skills (on a rather broad level): how much experience do they seem to have? Are they interested in their field beyond work?

* How clear is their communication? Can they argue well?

* How well their preferences align with ours in terms of technology.
Yes, the app crashed. That was no doubt an app bug. The iPads also crashed. That's eyebrow-raising, and definitely an iPad glitch.

The airline will fix the bug and it won't happen again. But relying on a closed, unauditable platform to keep any sort of safety-critical data in these conditions seems absolutely unconvincing to me.
Thanks for the feedback, this is definitely something we will be improving in the near future.
I'm not familiar with the fraction button. Is this common on calculators? I don't see it on most of the basic function calculators that I look at. Hmm, taking a look around, it looks like it might be present on a lot of scientific calculators, but not the basic calculators I see. I had switched to RPN by the time I started using scientific calculators, so I guess I never became familiar with this button.

Parentheses are common on scientific caclulators and graphing calculators, but as you demonstrate, they add a lot of extra button presses, and you even left out the final "=".

To do this on an RPN calculator, you need nothing beyond the basic 4 functions and the enter key, while you need extra specialized keys like parens or a fraction button to do it on an infix calculator. Taking a look at various infix scientific calculators, they mostly seem to have both parens and a fraction key, so using up the space of 3 keys that an RPN calculator doesn't need and can use for more actual functionality.

Here's how you do it on RPN:

3 <enter> 4 + 5 <enter> 6 + / 7 <enter> 8 + 9 <enter> 2 + / +

You wrote it in Polish notation rather than Reverse Polish Notation, and had left out the enter key that is used as the delimiter between two numbers (pushes a number to the stack, so you can start entering the next number).
Thanks :). Do give your feedback after that :)
The hollow rhetoric of nation-state threats
Think of all the ways you could tempt a phone user to visit a specific URL. An email, Twitter, a QR code, graffiti etc. This is just another one of those -- and not particularly easy to execute, at that.

And if I wanted to carry a URL across borders or into a secure facility I would memorise a bitly link.
>Why do young students no longer learn C?

Who said they don't? This project is about porting existing stuff, for interoperability, etc. Not as a way to "avoid learning C".

>Don't you want to be closer to the underlying OS?

No, why would I want to do that unless I have a specific need for that?
How Selerity Published Twitter's Earnings Early
I'm not sure everything you're talking about, but it's relatively easy to reason about constructive logic by abandoning the idea that your logic is one of "truth and falsehood"—which are, by modern, western intuition mutually exclusive options—but instead one concerning evidence.

One might believe that the Collatz conjecture is true or false, but we certainly lack evidence for either case today. This isn't exactly three value logic, but instead something else. A logic which incorporates the notion of time and communication of proof.
Fair point. Supporting musicians probably isn't in the world-view of folks who are satifsfied with a ripped MP3.

A good application for this would be snagging all of an artist's free downloads in one click rather than a single URL at a time.
Can you explain your idea in more detail ?
This is why people need unions. Because while an individual can say "no" only at the expense of their career, the entire united workforce can force the boss to the negotiating table.
It's easy to do a minimal prototype when doing research. But writing real translators means to get all the details right. In research we usually don't have the time for that.

Translating Java - in my experience - is very hard because of the extensive runtime system (reflection, base classes, synchronization, ...). E.g. if your application does System.out.println("Hello"); you already need the System and PrintWriter classes. They in return depend (among many other things) AWT which needs the security classes. And so on. A HelloWorld pulls in 1208 classes of the base library. They in return depend on java.dll which you have to re-implement from scratch. Or you rewrite all base library classes which is even harder.

I hope this gives you a basic idea of the problem.
This webpage:

https://seanmalstrom.wordpress.com/2011/08/19/email-a-look-i...

shows Nintendo programmers plugging away at HP 64000 which was likely corporate-owned and long destroyed

http://en.wikipedia.org/wiki/HP_64000
Do you translate open source free of charge?
LG G4 hands on overview specs review – eGadgets4U
> The premise that 80 hour work weeks are somehow more productive than 40 hour work weeks is known to be false in the typical case.

How do you know this for sure? Not saying you're wrong, but I can think of many exceptions to this rule.
You might have better luck answering your question by googling "krugman japan" than asking outloud on social media.

I know he's talked about his take on Japan a fair bit over the years and I generally ignore economist blogs in the first place.
I work a pretty standard 40 hour work week in an office, and even that makes me feel like a distant father sometimes. Love my kids, hate seeing them only 2 hours a day before they go to bed (they're still very young).
Anyway, how is Bing Maps these days?
Unfortunately things don't work that way.

I am from Brazil for example, here the education laws are extremely rigid: Homeschooling is a crime (literally, if you try to homeschool your kids you are sent to jail), and the curriculum is defined by law and extremely rigid.

No matter how much internet you stuff here, as long those laws are enforced, people are forced to have crap education.

Feynman article about that (written in the 50s by the way, things got worse since the article was written, not better): http://v.cx/2010/04/feynman-brazil-education
Downvoted. Gonna take that as a compliment.
True, but today's studios need the proper APIs and hardware to produce the games people want. Nintendo is failing to provide such basis for development and that's one its biggest mistakes.
With LiveDive, you install a JS snippet on your website or web app and you can talk with your users/visitors via audio or video calls (using WebRTC) and watch them use your website live with no browser plug-ins or apps for your visitors to install.

It's the insanely easy way to do live remote UX Testing and User Interviews.
Kind of weird, there historically have been similar 'do it the old school way because its more reliable' fallbacks for other things in air transport. What happened to the planes that were mid flight when this bug occurred?
Seems a tad generous considering a back-of-the-envelope calculation puts the average amount contributed to GDP per US citizen per hour at around $6.

From an airline point of view, if their schedule is sufficiently flexible to accommodate the delays without flight cancellations and the delays are insufficiently long to require passengers to be compensated, the biggest costs will be additional fuel if the delays involve the aircraft being put in a holding pattern at the other end and additional time or penalty charges levied by the airports. Staffing isn't that big a deal even if they're on overtime.
UI is nice & clean although I did not understand right away what the service did. Maybe a tag line would help.
Why can't we test these ideas in mice or drosophila and get a better idea about the effects?
This is true for any piece of code but you wouldn't say that it about, say, httpd (oh, priv separation isn't needed if you put enough effort in making sure your protocol implementation is robust). Plus: file (well, magic) is a configurable parser.
The color limitations of the NES made it look so dated so quickly. The resolution isn't much lower than the SNES but there are so few colors available compared to the 32,768 colors of the SNES.
Ask HN: What's next for Fitbit?
What do you think Fitbit's next moves will be in the coming months to maneuver effectively against iWatch?
I took a class on international economic development when in grad school. The class spent some time going through the various theories of economic development, and what has and hasn't worked in terms of aid programs. One of the surprises in the class I learned was that education isn't a big driver for economic development. That's not to say education isn't important, but that if you make a huge effort to education your population, the payoff isn't going to be that great, other factors need to be considered.
I'm an Australian who spent 6 months last year in Sweden. I definitely got the impression that companies needs came second to the needs of individuals. Here in Australia, it is much more balanced, depends on your circumstances. My American friends tell me the US is the other way, the company comes before the individual.

If you are in the driving seat for your career, I certainly feel that the USA provides more opportunity. However for the ~70% (random guess) of people who don't have the luxury of being selective with their jobs, the Swedish model looks extremely appealing.
I've been thinking about it, do you think a welcome screen could help?
True. But also adds a lot of complexity on top of an already very complex translation. But it's certainly something we'll look at in the future (together with supporting Cobol and Fortran).

But I heard there are C++ to C translators. I don't know how good they are and how the resulting code looks like. But if they're decent, you could do C++ -> C -> Java :)
Quite. There's nothing quantifiable in what gaben said but a statement like this is more than enough to have that million dollar figure quoted and re-quoted in discussions about poor gaming company decisions, how to cut losses, the right way to respond, etc.
Yes. As long as it's non-commercial software.
Finns aren't what they used to be
Security Software Entrepreneur Joins China's Billionaire Ranks
Ask HN: Increasingly difficult list of programming questions?
Hello Hackernews!

I am currently teaching my friend how to program - she's a very smart girl with a good Maths degree behind her and I've just explained a small bit of Javascript and asked her to implement the FizzBuzz program on codepen. She passed this with flying colours and is hungry for more 'fun' assignments.

I think it would be really great for her to get an email from me each week with a new programming assignment for her to fit into her busy schedule and will encourage her to keep learning.

So are there any fun assignments that you remember doing; I always think doing something real (where you happen to learn fundamentals) is better than saying "off you go learn about object orientation" or functional programming or MVC.

Does something like this exist online or in a book? I've been looking but nothing feels quite right...

Thanks!
No, he rediscovered it and I believe he was the first one to try it.
Why are pretty markdown editors such a thing on Mac specifically? Is that the favored platform for bloggers, or something?
now what were the giant advances in education attained during the last hundred years?
Can anyone explain that?
Not if you land on the map like I did.
Depending on where you live, ~1/3 of the answer is "to fund people who don't work".
“Pulse Play Could Potentially Change the Face of Racket Sports Forever”
Ruby in Production: Lessons Learned
This is true, but I have yet to speak to anyone old who felt that it was lack of time at work that was the limiting factor in them achieving more in their lives.

I should add that I am not suggesting that everyone should follow my example since it is really for everyone to decide how their life is best lived. I know I have not been able to acheive even a fraction of what I have wanted to do in my life, but I don't regret the choices I have had to make. There is only 24 hours a day for every person.
What do I need to do to get opensource software translated? I would like to have this http://stjarnhimlen.se/comp/sunriset.c as java code..
For me the most interesting conclusion (from the blog author) was that telomere-lengthening treatments may only give you an extra 5 years. But he does point out that this conclusion may be incorrect since the data measurement may need some changes.
Being "better than the competition", by e.g. using children of slave labour is anti-competitive yes.

Being "better than the competition", by sidestepping laws and regulations, like Uber does, is also anti-competitive.
This silly item kickstarted whole DLC market. I'm not saying its a good or bad thing but its a very big market now.
We Thought Our Pay Would Be Higher, Wall Streeters Say in Poll
Ask HN: How can I send progress of a post request back to browser in Node.js
The case is that I am posting data including a base64 encoded image, some description and some title. All I found is some "jQuery-Super-Magic-Automatic-File-Upload-Progress-2000" plugins and some ajax file upload progress tracking instructions, but I need to track the full request not just the file upload. Thanks.
Why and How to Hire Young People Without Diplomas