skysight-inc/HackerNews huggingface dataset:
I am reminded while reading this article, that there exists hundreds of thousands of "casual" cocaine users who are capable of using for short periods of time, even a single night, and then getting on with their lives. This is supported by statistics[1], but also my personal experience of knowing plenty of successful ambitious people who will occasionally take a weekend off and consume psychedelics, or MDMA, or split a gram of coke between friends for a night. In fact I think it's safe to say that the majority of cocaine users don't become regular users with expensive and costly habits. Of course no one ever writes lengthy exposés about the occasional users because that wouldn't fit the narrative that has been playing on loop for the last 40 years: "all drugs are bad and even one single use will lead to your ruin".

It's people who are suffering from mental illness or who live in conditions that cause them mental anguish who usually become addicted to drugs in general. It's a form of escape and the community that dulls their pain.

The sooner we can start having sane, even-handed discussions about drugs the sooner we can start solving the root of the problem, which is not drugs, but mental illness and mental wellbeing. Sensationalist stories such as this one that completely ignore >90% of drug users and focuses only on the ones' whose stories are worth exploiting for clicks are not helping.

[1] http://www.theguardian.com/commentisfree/2009/jun/29/drugs-c...
He cites 12:1, casual to addicted, in the USA.
> If I bought one I would not expect the ease of road tripping afforded by gas -- at least not today and not for a while -- and thus would not be disappointed for not getting what I never expected to get.

Exactly. I'm bullish on electric cars, and the next time I car shop I'll probably get one, though at the moment they are better suited as town/station cars. The typical person doesn't need much range day to day, but it can be pretty difficult to take a long trip in one. If I got a BMW i3, for example, I couldn't take it for a weekend trip down the shore because I'd run the battery down halfway home, and there are no public charges near the beach I go to.
Rainbow Warrior –  30 years on
Interesting research results contradict HIIT as a pure general guideline for everyone (I think alternating between both is an excellent approach though).

"Given that ∼20% of subjects fail to improve aerobic capacity with intense endurance training, while ∼30% do not enhance their insulin sensitivity (12), it is clear that we must develop genotype-tailored lifestyle interventions."[1]

[1] Using molecular classification to predict gains in maximal aerobic capacity following endurance exercise training in humans

James A. Timmons, Steen Knudsen, Tuomo Rankinen, Lauren G. Koch, Mark Sarzynski, Thomas Jensen, Pernille Keller, Camilla Scheele, Niels B. J. Vollaard, Søren Nielsen, Thorbjörn Åkerström, Ormond A. MacDougald, Eva Jansson, Paul L. Greenhaff, Mark A. Tarnopolsky, Luc J. C. van Loon, Bente K. Pedersen, Carl Johan Sundberg, Claes Wahlestedt, Steven L. Britton, Claude Bouchard
Journal of Applied Physiology Published 1 June 2010 Vol. 108 no. 6, 1487-1496 DOI: 10.1152/japplphysiol.01295.2009
Do you ever hire contractors for odd 6-month jobs?
Show HN: DesignCoder.io – Make an App: iOS and Android Design and Development
Their phone agents insist that the page is "totally secure and safe to enter your personal details". The link provided is from their main website and is clearly not secure. How on earth can they get away with this?
I don't think it's feasible, but that's a great premise for a scifi story.
So "never" isn't actually true.
don't fill up app stores with this cruft
We're supposedly starting to do this in LA, in particular, there is a lot of talk about tearing up the LA river so that whatever rain water we get can be restored to ground water.
On the other hand, the guy who switches because he's interested in harder problems might not take the same amount of time to train up.

At my last company my boss hired me with the intention of me taking a year to learn the business (it was an entirely new industry for me). I was running a part of a new team 3 months later. After a year he left, and brought me with him to a new company. If you ask him I was a pretty successful hire. If you look at my resume, and ask... why only a year? You might think I am unreliable.
Record-breaking super bright supernova spotted in southern sky
This sounds really good to me, I like beaver ponds.
Does anyone know of any downside to reintroducing beavers?
Data doesn't always look like data
How much time did it take for you to adjust? I still am finding it difficult to wrap the concept of dockerization.
The problem is that it is politically impossible to implement the only solution that would take them to zero emissions. It is a solution that uses existing, proven, decades-old technology, but thanks to extremely powerful anti-science lobby groups we can't use it. Think about that for a minute: just how powerful does a lobby group have to be to prevent us implementing a solution to 1/3 of global air polution?

Everyone reading this, if they think for a few minutes, will be able to figure out what the technology is (because it's marine propulsion, and how do we make that zero-emission?) and who the political groups are who oppose it, so I'm not going to actually specify them because I think the point will have more impact if people work it out for themselves. The sad thing is that half of the people who do figure it out will have an immediate reaction of, "Well of course we can't do that!", thereby dismissing a practical, safe solution to 1/3 of global air pollution based on the nothing but politics, because what does the well-being of the planet matter when implementing a workable solution means changing your political stance on anything? That's something only those looney pro-science people do, right?
Historical sector VC funding analysis
I don't flag "surveillance articles". I flag political articles, and blogspam retreads of things that have already generated 300-comment threads earlier in the day. I think HN is really bad at discussing surveillance issues, but I don't think that makes the articles --- which are mostly about technology --- inappropriate for HN.
Hi Marvin!

I used to work at a web reader platform and we found that this page flipping animations a) are very hard to do well, b) are bad for performance and c) people HATE them.

As you can see, people ignore everything else and just focus on how much they hate the page metaphor when in fact I think what you've done with the inline visualisations is pretty cool. So, I'd advise you to consider ditching it.
Maybe I'm just short-sighted, but unless the device can catch non-verbal signs that someone is about to say something that conflicts with your worldview, it would be hard to censor stuff on-the-fly.

Also, are we really at a point where we want to protect children from opinions?
Announcing PoshSCruise 2016
I also think it has to happen on the web (open or closed), instead of the desktop software.

Also, d3 wont be able to pull it off.
If we do a comparison, i think that d3 is MooTools, wee need to get to ES6/angular/react kind of libraries.
So, do the astroturfers get a heads-up when articles like this appear so they can prepare?
PowerShell leaves land and takes to the high seas. Destination, the Bahamas.
>What abuse?

phishing attacks.

https://en.wikipedia.org/wiki/Phishing

http://feross.org/html5-fullscreen-api-attack/

>I think it's a similar risk to letting people walk down the footpath.

No, that's a really shitty analogy. It's more similar to a personal location-tracking mobile device where a lot of people store private and sensitive information, on which you can access web pages and install apps that have the ability to read that information, sometimes in ways beyond what the user expects.
Maybe other political parties too?
The problem with switching often is that there are good reasons to do it, and bad reasons forcing you to do it... That is, many people that read N books and look like experts at a first glance, but can't actually code tend to switch work very often since after some time they are "uncovered" and move away. There are other good reasons to switch often: being exposed to new technologies, getting a raise, and so forth, the risk is to be confused for a frequent changer for the reason she/he can't actually code.
Well, the F-16 is still my favorite. Spent way too many hours in Falcon4 back in the day. :)
I would say: definitely yes. I definitely think it is more common for a programmer to expect that if they make a substring, and never reference the original string again, only the substring would remain in memory after GC. It is more intuitive. Without prior knowledge of the implementation, why would you expect a reference to a substring to hold the entire original string in memory? I don't think it is necessarily sloppy code to interpret the method this way when you do not know the underlying implementation.

The description in the Java 7 API for substring is "Returns a new string that is a substring of this string." That does not suggest any sharing with the parent string; it says "new string".
A bit off topic.

1. Went to lpushx to see what it is about.
2. First latest post is about having a link to lpushx from HN
3. One of the comment is *LE HACKERNEWS ARMY IS HERE LOL*

So my question is, should I try to visit it again tomorrow? Is it worth it?
Finding and hiring the right person is very time consuming, training up that person is very timing consuming, and when someone leaves, training someone to take over their responsibilities is very time consuming. Combining all of those these together, each time a person leaves a company it incurs a cost of about 6 months of their salary. I'd rather pay more for someone that's going to stick around then hire people who are likely going to get bored and leave. Many companies try to figure out way to reduce turnover - it's very expensive.
Back in 1996, some terrorists almost launched VX gas–armed M55 rockets from alcatraz into the middle of san francisco. Fortunately, chemical weapons specialist, Doctor Stanley Goodspeed saved the day.
Since I did not see it in the article or in the comments here: Intelligence is compression / dimensionality reduction. Finding the essential parts of a problem/object/concept and creating a code book for it. The better you can compress things, the better you understand them. If you know that the left wing of a plane is the same as the right wing of a plane, but rotated/flipped, then you would not need to store (redundant) information about both wings. The upper bound to an intelligent action is the Kolmogorov complexity (upper bound to compression) of the problem it aims to solve.

http://www.hutter1.net/ai/pfastprg.htm (The Fastest and Shortest Algorithm for All Well-Defined Problems)
UK Gov surveillance plans could put citizens, economy and Internet at risk
It's like the old real estate mantra goes: "It's all about location, location, location."

There will be some metros where no one cares; they're so short-handed and the tech market so hot, they won't care and will hire you. Other metros which are more sedate, with few companies and therefore over-saturated with techs and H1Bs will look at you and laugh.
Startups aside I'm about 1.5 years on average and the massive finance company I'm at right now only asked about my entrepreneur itch and whether I'll be tempted to jump back in..
Ironically, your comment is the reason the article was written.
Japanese internment camps, wasted energy on McCarthyist witch hunts, Nazi concentration camps, and futile wars are all excellent examples of how patriotism can undermine national power.

Patriotism is an emotion. Emotional decision making can help avoid debates that lead to inaction, but it can also enable horrendously stupid decisions.

It's not clear to me that overbearing patriotism in the general population is a net benefit to a democratic superpower.
Java, by prioritizing API compatibility across releases and having compiler-checked types.

The result being that unless you hit a particularly crappy piece of software, it's save to just pick the later version of two dependencies and use that.
> I guess all scientific progress has been by coincidence then?

Correct hypotheses are, in a sense, a product of fortune, and scientific progress requires them to happen sometimes, so, in a sense, that's true. Without a certain minimal degree of luck, you would have no scientific progress.

The scientific method can be viewed as simply a method of filtering out the intuitions without utility and promoting those (if any) that have utility. It is a way to avoid wasting the good fortune of the intuition of forming useful hypothesis, and avoiding the waste demonstrably fruitless intuitions.

> some credit has to be given to those that are right

But vitalism is so vague as to be untestable, and justifies no useful models. "Some (unspecified elements of) living things are not governed by physical law" is indistinguishable in effect from "We have not yet discovered the physical laws governing (some elements of) living things".
Interesting.

I like these types of "program it and compete" things.
It wasn't clear that the rules were fully fleshed out here.
Some other of theses I've seen.
prisoner's dilemma game: Algorithms compete. Some simple ones work very effectively. I can't find an online version.

IBM's robocode (building virtual robot tank control system, put in an arena...). I'm not sure this is still running either

Code Combat multiplayer arenas:
https://codecombat.com/play-old
Why be cynical? That's engineering. Real engineering is about materials, cost and time (if you leave one of those out, you're either doing research or just aimlessly puttering around ... maybe both :-) ). There are other dimensions, too. In the consumer market, engineering is also about the reliability that you want your customers to experience.

Companies that make console hardware want you to be happy; they're not going to ship you a hunk of hardware that generates a Warranty Expired Interrupt at one-year-and-one-day because they want you to keep buying games and services. Having to buy a new console is a hassle. Maybe you'll buy the competitor's console instead, who knows?

On the other hand, console margins (and yes, generally they have margins these days and are not sold at a loss) are razor thin. There are knife-fights in meetings over three cent changes to components because at production scale those pennies rapidly turn into millions of dollars. You don't make a console with a reliability of 20 years because it would cost way too much and be obsolete long before the failure curve started to inflect.

So you optimize the product lifetime for user expectation of value, how long you think the technology will remain relevant, what the market will bear, and a bunch of other things (chip sourcing, cost of manufacture, architectural headroom and so on). This involves hard-won experience, spreadsheets, testing, figuring out how vendors are lying to you, plane trips to godforsaken industrial parks, and fist-fights in hallways. It's awesome :-)

Are there companies selling stuff that will break the moment the warranty is over, or earlier? Sure; they are betting that actually getting warranty service is so inconvenient that you won't bother. On the other hand, having watched (from the outside!) the execution of a product-recall-scale warranty, I was impressed with the company's professionalism, and it didn't strike me as a company that didn't care about repeat customers. It sucks on both sides for something like this to happen, but there's very little cyncism involved.
I agree that something like this could be good. Maybe instead of a sidebar, it could have them interspersed throughout the page? (possibly with the additional requirement that they wouldn't already be on the front page)
Low level and also advanced geometry. IIRC he was one of the first to ship real time dynamic shadow rendering. I can't judge the math behind it, but it wasn't trivial for sure.
I guess my point is that 1. $equation here$ is exactly the markdown for a numbered list and it will give you somewhat nicer formatting/alignment that stands out if you have to scroll back up. Chat is already in the process of changing, look at slack[1]. The whole idea of markdown is that you don't have to do a lot of formatting.

I agree with the unintended formatting but having all of latex can give you unintended formatting too. IMO markdown doesn't have that much formatting. Markdown could be abused but then again look how the latex is being abused on the site already, people put $$\huge ...$$.

Is it ideal to be writing on a whiteboard to communicate your math? From a teaching/tutoring perspective, unless the video is being recorded, you lose the history. Email is nice but it requires a (possibly) long waiting time for a response comparatively.

[1] https://slack.com
I think what he means is this:

x := y // say y is of type int

// rather than in C/C++ & Java

int x = y;

So you just declare the type once, and don't have to repeatedly declare it
This is a good point, but you also have to assume that people who drive cars that cost more than a modest house are probably not overly concerned about the cost of gasoline. Even if it were a car attainable by normal middle-class drivers, I believe most people would rather be confident that they can reach their destination safely than fret over a hundred bucks of gasoline (and a tow costs at least $75).

Maybe the moral of the story is that all Tesla owners doing long-range driving should invest in a AAA membership for the inevitable occasion when the battery jumps down to -22% before reaching the next charging station.
I think the IC itself is 16 pin, but only 6 is broken out on this board (rest is LEDs/etc). But yeah, good point on the pin count.
How to Apply to the Microsoft Ventures Accelerator
Its only a problem if it causes you problems. You shouldnt make decisions about which jobs to stay at or leave because you have some perceived correlation between length at a job and reliability.

This is one of those classic cases where the culutural pressures and beliefs are wrong and ripe for ignoring. Especially for an engineer/hacker its important to second guess your societal perceptions and make decisions on more substantial foundations.
Too Many Notes How a Silicon Valley Designer Is Disrupting Piano Music
At least it didn't burst into flames like others teslas..
> consider being more picky about the jobs you take.

This. It looks like he didn't understand what he was getting himself into, in a number of occasions (including academia and "financial difficulties" -- ever seen anyone getting rich while working as university researcher? Me neither). Maybe he should just take some time to find a job he's really into, rather than jumping on the first successful offer and regret it 6 months later.
It's possible to learn from other people. And better tools do make your life better, even when "nothing was wrong" with the old tools. While you shouldn't try to upset people, negative feedback is valuable. I don't think this is the way forward.
The Nightmare Plane Seating Arrangement – Middle Seat Backwards
correction: In Technology, Big Fish, if they get eaten, are almost always eaten by Small Fish. Also, Small Fish almost always don't survive.
The point of this post is simply to (anectodally) measure the usefulness of the Tesla as a road trip vehicle in July, 2015. One year from now, the experience will be different, and likely different enough to move a percentage of prospective owners from waiting to buying.
3 Decades Later, New Secret Discovered in Original Super Mario Bros.“
Are fuel costs actually a realistic concern for people buying $140k cars? Even at 5 MPG you'd have to go on a lot of road trips for it to add up to even a small fraction of the cost of the car, so I'd expect general wear-and-tear to be a bigger expense.
Zombeavers. You don't want those.
What speed can this run the AVR core at?
Feel free to explain why please.
I found http://adam.chlipala.net/cpdt/html/Hoas.html to be very useful. It looks like it was once a chapter of the book, but was replaced by the final chapter http://adam.chlipala.net/cpdt/html/ProgLang.html

I found the first version much more useful so I'm posting it here for others.
I have been reading that Vagrant provides a out-of-the-box support for docker after version 1.7. So, it seems this will be easier, and with an obvious case for Windows or Mac.

I am already on Linux, so, my question is why create extra abstraction to it? Is not the function of docker to provide isolation as Vagrant but without the extra overhead of VM. As far as I could gather, one prominent use cases of Docker is the cheapness. Would not doing Docker on top of Vagrant beat that purpose?
I'll check it out. I switched to Mac/iTunes at the same time as the author and I lost interest in iTunes at the time they introduced iTunes Match. Also I now use an Android phone so I had to figure that bit out already. I have a large music collection that I rsync'd to linux and I have a copy in windows. Foobar2000 and Clementine are more enjoyable for me as players. I buy all of my digital music from Amazon or eMusic so that's not an issue.

I'll give Swinsian a try; it seems like a good replacement.
I would point out that, getting karma using submission isn't that hard. Considering that Hacker News is very tolerant to re-submissions, you can usually land your submission to front page, posting some of the many awesome articles that you might have read from here. Some of the articles have been posted dozens of times, yet they articulate interesting discussion, even after being posted nth-time.
The average post in /newest is so bad that it's not clear you want to promote any of them to the frontpage randomly. I'd guess on average on a 30 item page of /newest I might click through two links, and upvote one.

I actually wonder if the stats in this post can possibly be correct. Never would have guessed that anywhere near 10-20% of the submissions hit 10 points. There's a lot of spam and offtopic stuff, and it is indeed really common for great posts to get lost in the noise with just a couple of votes.
Eh...is there a point to this?
The article is a bit biased in calling humans the subjects of the test... A subjects of an experiment is the entity being observed

It's actually pretty conventional to label any research that involves changing the environment of people as involving "human subjects" -- even if the purpose of the research is not directed at understanding how the change affects people.

Here [0], for example, is a U.S. Department of Energy web page that defines the "scope of research" for human subjects studies. It says, in part, [R]esearch using human subjects encompasses a broader range of research than many investigators... often realize. In addition to traditional biomedical and clinical studies, human subjects research includes, but is not limited to, studies that... evaluate environmental alterations

To make that even more explicit, they have a "regulations" web page [1]. The top link there is to a memo that clarifies that any "research involving intentional modification of an individual's or a group of individuals' environment" must be managed according to the rules for human subjects research.

(All that said, it's possible that the military did go through an internal "human subjects" review, which might have concluded that the trials were OK, on the basis that the agents were supposed to be harmless.)

[0] http://humansubjects.energy.gov/research/scope.htm
[1] http://humansubjects.energy.gov/regulations/