skysight-inc/HackerNews huggingface dataset:
I'm not sure you could regulate these drugs in the same manner as alcohol, because they really are significantly worse in terms of both biochemistry and societal harm. (As an aside, certainly alcohol causes far worse damage, but only because it's far more prevalent.)

Let's start with the biochemistry. MDPV is both a norepinephrine-dopamine reuptake inhibitor and a dopamine releaser. For most users, it provides a short and intense cocaine-like high lasting several hours before abating.

However, in a significant minority of users, the dopamine receptors seem to get stuck in the "on" position. The resulting flood overwhelms lower behavioral centers and results in intense hallucinations of danger, psychomotor agitation, and uncontrolled aggression. See http://www.pbs.org/newshour/multimedia/bath-salts/

As to the attacks, here's a few, just from my hometown:

"Man Who Stabbed Priest Was High on Bath Salts" http://thetimes-tribune.com/news/police-man-who-stabbed-prie...

"Bath Salts Suspected in Head Gnawing Attack"
http://thetimes-tribune.com/news/da-bath-salts-suspected-in-...

"Scranton police have witnessed several incidents in recent months, however, and found that abuse of the disguised salts leaves a user with feelings of constant and extreme paranoia, imminent danger including threats on their lives, and hallucinations that have kept some hospitalized for up to five days.

In one case, a man in a third story apartment believed to be using bath salts heard a knock on his door, according to Klein. He thought he was under attack, jumped out the window and shattered his ankle.

“Previously, we had a guy that was injecting it at his house (on West Elm Street) in West Side, and he had his elderly mother and father locked in a bathroom,” Duffy said. “We had to have our negotiators come out, and he was actually injecting it as he was coming out of the door to talk to police.”

“Two days ago, a complainant asked officers, ‘Can you see the two males across the street?’” Scranton Police Capt. Carl Graziano said Thursday. “He’s seeing them, and there’s nobody there.”

On Wednesday, March 9, alleged bath salts abuser Ryan Foley, 25, of Scranton, was charged with breaking into St. Ann’s Basilica and stabbing and bludgeoning the Rev. Francis Landry. In a message to parishioners dated March 13, Landry wrote that he suffered “12 stab wounds and lacerations and at least six bruises” in the attack."
It only needs to compare actual file contents if the file properties (dates, size, ownership, rights) have altered with the options used in this example so it would only need to perform directory reads in the case of no such changes. Of course for a very large project this could still be significant, but much less so.
OK, I didn't mean to say there's no need to be concerned. But my point is, by wildly exaggerating the purpose and effects of this law, you're actually derailing what should be a sensible discussion. Personally, I find myself sympathising with the law, in part because of the extreme hysteria in response to it. I also find myself sympathising with it because I want child abuse to be eradicated, but that would be getting back to the actual issue at hand.
I will often 'reinvent the wheel' on my own time just to gather some more detailed understanding of what's happening behind the scenes. I never really use the stuff in production code, though.

I used to code PHP and made a transition to Ruby at some point. After programming Ruby/Rails for a bit I decided to create a rails-like MVC framework for PHP. There are plenty of those in existence. I could have just read the ruby code, which I did a bit, but I wanted to understand a bit better why certain decisions were made.

Doing that little exercise helped out a good bit with that.
> Farmers are going to drive Maserati's in the future

Or people who own farmland?
Replicating the Doom Screen Melt with JavaScript and Canvas
Oh no, you misunderstood. On our project we use git, and git hooks. however we use githooks only for linting and such. We deploy using a different system.

We have development servers for each developer like 'username.dev.myapp.com' so you don't have to install the application on your machine. Most people work on the server using 'ssh: screen/tmux - vi/emacs', but I want to work on my local because it's faster. So I needed a system to upload my changes to my remote box. and commit my changes from local.

Most companies use this technique so that you know how your code will behave on production while developing it, because it has the same exact architecture.

I hope it's more clear now. It's funny that you would think I don't use a version control system :) what year is this.
What to learn to run a Linux server?
> Would someone call "redundant" the fight against teenage alcoholism? Would someone say that we should stop paying attention the epidemics of obesity?

Yes, we should. I don't see any indication that program to fight about those things are helping. In fact, this whole forbid culture is part of the problem. If alcohol is a forbidden product, then using means abusing and that's exactly what happens in practice. Reasonable consumption loses ground to abusive consumption because of the cultural label attached to alcohol.
> I can happily punch a rapist committing the act

I can't speak for the UK, but in the US punching someone that is committing an illegal act, however noble your intentions to interrupt or stop the act, doesn't give you immunity to any civil or criminal charges raised by whomever you assaulted. You might have a pretty good defense for your actions, but you're not immune and you're not on the "right" side of the law.
Nothing new was even revealed though! There were articles in major publications over 5 years ago about the NSA putting boxes on mirror ports at Internet backbone sites. That's when we started hearing about the CEO of Qwest.
Because they more than pay for themselves?

https://www.youtube.com/watch?v=bhyYgnhhKFw&list=SPqs5ohhass...
Like many others have said, it would be best to consult an attorney if you're concerned.

However, while you may not be able to distribute software which uses the API, I think many people would enjoy/benefit from a post describing how you reversed it and what steps you took to create the library.
Ruby does have support for callcc, which most lisps, specially the fast ones like Common Lisp, don't, since it is a pain to implement a fast one without implications in your whole language. Can't comment on smalltalk, since I never programmed in it.
If you want to give a try to Piwik on your own laptop, AWS or Azure we (BitNami) have free one-click installers, VMs and cloud images http://bitnami.com/stack/piwik
Farmers are getting older because small-scale farms are disappearing. Agriculture is an incredibly hard business, and unless you have scale, one bad year will wipe you out. Now, those few that do have more land than some sovereign states and the machinery to work it are making some serious money, so working for them is a perfectly viable career strategy.
I'm sure some of you saw it because it's on page two (and linked in the article)-- but the New York Times has imo a much better article on this: http://www.nytimes.com/2013/07/22/business/in-climbing-incom...
Which CEO do you think you are?
Ouch. That crimestoppers form has code for a Facebook like, Google Analytics, New Relic and Fonts.com.

Maybe you sounded like a salesperson? Piwik was unknown to me until I read it in this comment.
> but to deny it could solve problems at all requires evidence

No, to make something illegal, you should have to prove that it is harmful. There is no proof that rape porn is harmful. You can't just throw out a hypothesis and then say "prove me wrong". That's not how science works, and it's not how law should either.
I'd be interested in the source of the U.S. figure. My guess is that this is only looking at independent farmers. But they produce a declining share of agricultural output. What's the average age of an Archer Daniels Midland employee?
* If you were a rape victim*

Porn is fiction and there's no victim. A depiction of a real illegal act is not what you would call porn, it's snuff video perhaps, and distributing it is already or should be prohibited under different laws.
Excellent, but I question how far it can be generalized.
Tor is the last resort. Things like this should not be happening in the first place. Just accepting whatever they do and moving on to some work-around is not a battle you can sustain and why should you have to?

Not to mention 99% of population can't be bothered or get their head around things like Tor. We are blinded by our hacker skills and constantly over-estimate the ability of the general population and under-estimate their unwillingness of learning technical things and their fear of technology.
That's interesting, I got the exact opposite vibe from marknutter's comment. Considering that the link was about a particular report indicating that climate change might be "less severe" than some think, and then subsequent claims that the report was "misleading", I suppose it's not necessarily clear from context which is supposed to be the "bad science" part.

I suppose there's a thin line between "trite platitude" and "observant insight". (Which one is this?)
so no need to troll

Identify where I was trolling please.

i think many people need to be reminded that whenever we talk of "consensus" we talk of politics and not science.

That's a red herring. It's a common tactic for those who disagree with a prevailing scientific idea to dismissively chide scientists as playing politics, as if the scientific consensus emerged from political donations instead of from conclusions based on data. Consensus does not imply unanimity or even that the data is correct, but it's only in climate science that we see people actively fight the broad conclusions of the scientific community as a whole.
I think the article's headline point is true for me in one odd way. I grew up in suburban Minneapolis, Minnesota, and by chance the school district where I grew up had mandatory foreign language instruction (German) for all elementary school pupils in grades four, five, and six. (One member of the district staff was a German refugee who came over to the United States after World War II. She set up German classes delivered over the Twin Cities educational TV station, now a PBS affiliate station, and at the appointed hour, television sets in elementary classrooms all over the school district were tuned to her instructional programs. I think the school district also made an effort to hire new elementary teachers who had had some German during their higher education.)

My German is nicht so gut, but this early exposure to foreign language study (few Americans begin study of a second language before secondary school) got me started in the process of understanding what it takes to learn another language. Our school district had the usual mix of French, Spanish, or more German in junior high (I continued with German, a heritage language in my family) and added Russian in senior high, which I took. So when I went into university and tried out the Chinese major program, I was sufficiently successful to keep going in that major subject. Quite a few of my classmates from my school district studied interesting languages like Arabic and ancient Nahuatl and linguistics while in university, and several aspired to become, and at least one became, foreign service officers. So in this simple manner a difference in the local schools in my town propelled the mobility to new places of many of the alumni.
The level of transparency in this report is great. Especially compared to things like the Linode incidents.
It is a good learning/practice/appreciation exercise, if nothing else.

After trying to replicate some of rsync's functionality you discover edge cases and other complications you might never have thought about and appreciate all the more how well rsync manages to work for your specific use case and more generally.
Ask HN: Language "feature" for distribution?
With Khronos just now having posted about OpenCL SPIR I was wondering what this "feature" is called, that is, the ability to distribute your software in "non source code form"? And of course what other languages has this feature, and how well does it work.

This is NOT (just) about static/dynamic linking to create smaller binaries. It is about being able to share reusable software in a non source code format, which is also hopefully not easily reverse engineer-able. It doesn't have to be platform independent, but preferably so.

C/C++ obviously has object files, Java has .class files. Go is source-only I think. (It does have ".a files" but I have never seen them in action)

What languages/tool chains allows you to do this, and how well does it work?
You have created a good Streisand effect here. I approve :) Even if a lawyer advises you to take it down it will be cloned more than enough times for the IP to be preserved.
One of the major downsides to most of the diverted licit opioids is that they're intended primarily for oral use, and hence contain all sorts of things that will do terrible things when injected directly into a vein. Tiny particles of tablet filler & binding usually wash up and get stuck in the lungs, leading to a pneumonia-like condition called Talcosis.

Then you have the new "anti-abuse" formulations, which contain specific ingredients designed to be uncrushable, unpleasant if injected, or insoluble/gel-forming to prevent IV use. Given junkie creativity (and suppressed self-preservation instinct), there are various methods of bypassing these obstacles, but in doing so could affect the potency of the extracted remains by a factor of 2-10x. So now you have no idea how much you're dosing, as well as what's still along for the ride.

At least heroin dealers would typically only cut with toxic adulterants by negligence, rather than intent.

[not an opiate (ab)user, known a few]
He's in China, so that's less of an issue.
That would be most languages in wide use today.
On the contrary, efficiency is quantifiable. As is determining whether or not something is broken or prone to breaking. I.E. Brittleness becomes obvious under heavy load.

This isn't a "if it ain't broke, don't fix it" either. You push things to the breaking point and see if that's projected in your growth (maybe a bit beyond what's projected), but maintainability and efficiency don't hinge on what's new. It hinges on what works and if what works is what you have, you don't waste time with new things.

But back to the point... You learn "new" things when you figure existing things aren't up to the task or you try to see if amending x will get you further. y Is still not necessary if it will.
My company is considering the same thing. It's just too much of a pain using other tools, especially in regards to design.

It could be said that for a consultancy, your marketing/blog is a core part of your business, so having a high degree of control over branding would make sense.

Plus, using Wordpress is the last thing I ever want to do. Ever.
No, let me guess - you believe in the scientific method and skeptical inquiry ... unless the science is "settled".
I've done this on the product I'm developing. You can set it up programmatically and it works exceptionally well. That being said, there are some performance considerations, especially if the sites you're hosting are high traffic.

I'd recommend reading the documentation and doing a bit of searching for a configuration that will fit your needs before you begin. It will save you a lot of time.

Good luck and let me know if you have any specific questions!
I don't think you have to choose one or the other. They are not mutually exclusive. Furthermore, I still use Structured programming ideas along with OOP and FP.
Kinda weak post, though what he said in point four vibes with me, where he argues for using OO on the lower level with a functional API / abstraction.

This is a really underutilized design strategy. Much too often architecture is discussed in OO vernacular, and as a result is made much too complicated. I think we'll come to see OO as a low-level technique more and more.
I literally spent 45 minutes one time trying to figure out how to un-friend someone on LinkedIn.
I have no problem with skeptics, my problem is with the blanket labeling of science as politics when you disagree with the conclusions the scientists come up with.
Can't even load page to play/est map. ugh.
See http://status.ovh.net/?do=details&id=5070 for the English version, and https://news.ycombinator.com/item?id=6083944 for the HN discussion.
What kind of passive investments do you have? It seems like you're lucky to get a 3% return on dividend paying stocks.
I agree there's clearly room for nuance, but there always is. No law should ever be treated as black or white, that's why we have prosecutorial discretion, judges, and juries.
Billionaire Dan Loeb Sells Most Of His Yahoo Stock, Makes $1 Billion
The Bayou Corne Sinkhole: A disaster you’ve probably never heard of
UK Gov Epetition - Do Not Force ISP Filtering of Pornography and Other Content
Presentation in French, slides in English.

Summary in a newspaper (in French): http://www.tdg.ch/suisse/vote-ligne-peut-facilement-change/s...
Programming Computers For Money.

Seriously, it's bordering on the most lucrative profession in the US. If "Selling Hotdogs" sounds like it might make you even 1/10 as much, you're simply not charging enough.

So if you're looking for a business that doesn't involve selling your time for money, your best option is Software Product Company. Build something people need enough to pay you $50/month for it. The math works out quite nicely.
It's painful. I hoped that an engine existed, but nothing fit our workflow. This seems like a good starting point, though. Maybe we'll convert to an engine and see how reusable it might be.
Four footnotes on a two paragraph article?

Guidelines seem sensible though.
People As A Service
Looks interesting.

You can apply as soon as the PAFSO strike ends...
OpenGL 4.4 Released - Official Feedback Thread
Terrible title. It's not where you are born; it's where you grow up.
I'd check craiglist, you can find some very cheap laptops(macbooks included).
Where is the insight? Politics makes bad science? Find me someone who disagrees with that statement; it's an empty shell of a response that says nothing about the topic.
> But currently it is not safe to leave a child alone on the internet.

How is it not safe?
I've used Piwik for years and it is incredibly simple to use and set up but this post makes it much more complex than it needs to be. In all honesty, it's just as simple as setting up Wordpress. Drop the Piwik folder on a server somewhere, run the installation (connecting to your database and if I recall correctly you don't need to use the root user, just a user with sufficient privileges), and you're done.

I want to love Piwik, and I do like it a lot, but I do have some problems. Piwik gets slow after a while. This may have to do with the server its running on partly but over time the software will slow down especially if you try to pull out somewhat longer date ranges.

It isn't as pretty as GA. I know this is petty and that its themeable but the UI was important to me. Keeping it up to date and maintaining it was also something that requires vigilance. It isn't hard to update but you have to make sure to check for updates. Sounds simple but you'd be surprised how lazy one can be. Also, integration with Webmaster Tools isn't available which is kind of a bummer.

On the plus side there's very little that GA offers that Piwik doesn't. There's even a great mobile app which GA doesn't yet have to my knowledge. You can monitor multiple sites on different servers using a simple JavaScript snippet just like GA, and it breaks down the data in just about every way you'd want.

In the end, despite really wanting to use Piwik long term I wasn't able to do it. I don't see a problem with using Google Analytics for tracking purposes. Google has the power to abuse the data they collect but I trust them not to. I'm not running a site where visitor privacy is a big priority. If I were running such a site I'd reconsider this position. But from an ethical standpoint if it's somehow not okay for Google to collect tracking data on your visitors (and promise not exploit it) why is it okay for any of us to use Piwik and collect that data ourselves. Google has far more data that can do far more damage but they also have far more resources to put into security than most of us. I can take a pledge not to exploit my user's data but Google does too? I know I can trust myself but my users don't. My users might even prefer that if I were to use analytics software that I use software that comes from Google, a name they know and trust, rather than me, a guy who they know a little bit but doesn't have a reputation that can even remotely compete with Google. To me, that's the more interesting aspect of Piwik. The question of why running your own anaytics software is more ethical than using Google.

Edit: When I said I wasn't running a site that made visitor privacy a priority I was excluding the site I run that actually does make user privacy a huge priority. I'm aware I look like a hypcrite now and I think I might actually spend some time thinking of whether or not to switch over to a self-hosted analytics solution for that site. I'm still not sure that a self-hosted service is preferable in my case but I'm open to the idea.
Ah yes, the causation must run the other way: where you go in life has a huge impact on where you were born.
Went through the different links - does anyone know how long this Visa is valid for? If it's on that page, it seems to be hidden somewhere...
Just got a bogus "reset apple id password" email.

> If you weren't trying to reset your password, don't worry – your account is still secure and no one has been given access to it.

Ironic.
My thanks to the hackernews folks who changed the original link (Y)
The obscenity ruling was a bizarre sideways move for the Supreme Court, given their usual intense protection of the First Amendment. The "I know it when I see it" was even said almost tongue-in-cheek.

> The real shame is, many of those synthetic drugs are actually more dangerous than the real thing.

That, to me, is the real tragedy. These drugs are dangerous, and only going to get more dangerous as the "good" compounds are quickly banned, leading chemists to use less tested and more unusual compounds.
You'd need to sell a lot of bread to make even an average US game programmers salary. The reason being that the work is creative and technically skilled. There are fewer people able to do it and that pushes up salaries. Like any industry there are exploitative employers, but it's just a case of finding or making a good place to work. The video game business is constantly changing in terms of the types of games people will pay for and the technology used. There's a never ending demand for new games.
That's interesting, but if you start type annotating the code, then you lose a large part of what makes Ruby attractive to a lot of people.
Simula is regarded the first object oriented language and the purpose of the language was simulation.

The idea of using an object oriented approach to simulation goes back to at least the sixties.

The way I read his post is that working on sets of information tends to be easier in functional languages event based simulations tends to be easier in object oriented languages.
A prime example at bad Threat Modeling (Or ignoring it) - Yahoo Email Wishlist
Anywhere policy decisions are made, it is practical to vote on alternatives. This is where the "consensus" is justified.

The rest of your conspiracy crap has no place here. You are hung-up on a subpopulation that is likely not even on HN.
Comparing the US and Norwegian prison systems
Major security breach at OVH. Personal data leaked
If I was a customers, I'd be asking if "based on SHA-512" means some kind of iterated algorithm, or if have they lost my password?
Ask HN: What are the 5 most influential statistics papers of 2000-2010?