skysight-inc/HackerNews huggingface dataset:
Let's see. This is MIT, but 3-clause BSD is pretty much equivalent:

> Copyright (c) 2013 Felix Gilcher
>
> MIT License
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
>
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The important part is:

> to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:

All I need to do is retain the copyright notice, but only if I use substantial portions. So as long as I retain the notice, stating that some specified part of the code is licensed under MIT, I'm in the clear. The permission to sub-licence is explicitly granted, no further restriction is placed on the combined work. I don't have to provide the source code either. The end result can be whatever I choose, the license does not spread to the combined work. WTFPL is even more liberal:

> DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
> Version 2, December 2004
>
> Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
>
> Everyone is permitted to copy and distribute verbatim or modified
> copies of this license document, and changing it is allowed as long
> as the name is changed.
>
> DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
> TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
>
> 0. You just DO WHAT THE FUCK YOU WANT TO.

No restrictions at all - effectively placing the code in the public domain, but a valid copyright waiver in jurisdictions where code cannot be placed in the public domain (e.g. in Germany, where copyrights cannot be waived)
Dropbox moves beyond simple file management
Sleep cycles, they're incredible. Disclaimer: not a biologist. Roughly every 90 minutes you almost wake up in your sleep, if an alarm wakes you up around this point you are much much less tired than if you wake in the middle of one such cycle. On average it takes 14 minutes to fall asleep.

I use DoubleTwist on my Android phone and it works incredibly, but that's a paid app you don't really need if you do the simple math.. and of course your mileage may vary. :)
I did talk to people at Boeing. (And yes, I'm the article's author).
Can you give some examples? I looked into upgrading from Office 2007, but it didn't seem like it was worth the hassle. Better data analysis functions in Excel would probably tip the balance.
Semi related CVEs aside (CVE-2013-0333 and CVE-2013-0156): YAML's security problems have been known for years by the community. YAML aside, don't trust user input. This is egg on rubygems's face and the ruby community. I don't think http://rubycentral.org/ has full-time staff for rubygems either.

Gems, specifically should be signed. They are not, this type of exploit will continue to happen, hell, remember when github screwed up ssh keys? Who knows what's in the ecosystem.

TL;DR; Ruby's security ecosystem is butter.

Disclaimer: I love ruby and use it daily. It was two critical problems IMO: unsigned code and GIL. Yes, GIL. I'm looking at you ruby-core.
I disagree with your assertion. Some violent depictions can trivially be political speech, and "think of what the children will do" is simply not a compelling reason for the government to limit any political speech, especially when there is such a tenuous scientific link between viewing that content and long term health impact.

Consider The Bully Project film from 2 years ago; the MPAA rated it R because they consider it to be too violent, even though it is literally actual footage of bullying in schools. I find it difficult to accept that 15 and 16 year olds should be legally forbidden from watching something that has direct and important relevancy on their lives and could, from a reasonably objective view, actually improve the lives of bullied kids. Just because you are 16 shouldn't mean you have no rights.
That guy in the video is a crank. I watched the first eight minute (until he brings out a poverty graph). He a)leaves out the massive reduction of poverty in the US in the first half of the twentieth century and b) brushes off Social Security's massive success in reducing the elderly's poverty rate.
Bitcoin Mining is measured in hashes per second. This box is 60GH/s for $1,299.

Deepbit, one of the more popular pools (teams that split profits) is currently doing 1.9 TH/s and accounts for roughly 17% of all mining operations.

So you are buying a single device capable of approximately .5% of the output of everyone else combined.
It's now the underdog. Who doesn't want to root for the underdog?

With Palm Pre out of the equation now, Microsoft continuing to be a piece of crap, I'm rooting for RIM to be the solid 3rd choice.
std::wstring remove_side_spaces(const std::wstring& str) {
auto begin = std::find_if_not(str.begin(), str.end(), std::iswspace);
if (begin == str.end()) {
return std::wstring();
} else {
auto end = std::find_if_not(str.rbegin(), str.rend(), std::iswspace);
return std::wstring(begin, end.base());
}
}
Mining is extremely risky right now. If someone else turns on ASICs before you do, the resulting difficulty spike would reduce your profits significantly. It's even possible (although unlikely) that some of these ASICs will lose money. But selling ASICs locks in the profit immediately.
You're right, generally suffix arrays are more efficient than suffix tries, but biologically there are two reasons why suffix tries are preferred.

1. There are a lot of repeated sequences in biology and many of them are slightly different than each other. For example, we need to insert "difference" and "different" in the structure. The suffix trie would have shared nodes while the suffix array needs an entry for each suffix.

2. Mutations are how evolution takes action. Biologically, in sequences, mutations are just misspellings. If you're looking for a sequence with arbitrary misspellings at position i, a tree structure is easier and faster to traverse.

But in reality, most indexing, especially in DNA, uses BWT [1] for indexing. However, there are more complex implementations of suffix arrays that may be suitable [2].

[1]: http://en.wikipedia.org/wiki/Burrows%E2%80%93Wheeler_transfo...

[2]: http://www.mi.fu-berlin.de/wiki/pub/ABI/AdvancedAlgorithms11...
Linux/Python developers: Work on high-performance messaging at Mailgun
We work on messaging infrastructure: our technical challenges revolve around making servers efficient and reliable at passing messages and storing data. Fast. If you're into high-traffic concurrent server-side programming on Linux, our set of problems is fairly unique. We're Python fans, but never forget our C roots.

We offer competitive salary, challenging problems to work on and smart engineers to eat lunch and have fun with.

The projects we're currently working on are not old. You won't be fixing other people's bugs or debug some legacy spaghetti. Our technical debt is at all-time low, and most of what needs to be built needs to be done from scratch. Join us!

We're in SOMA, San Francisco. Ping us at jobs@mailgun.com
I actually wrote a paper in university about whether violence in games and tv causes violent behavior in real life. It turns out that the US has spent tens of millions of dollars since the 1950s on studies trying to prove that violent media does in fact cause real-world violence. After the decades of studies, and the gobs of money that's been spent, still not one shred of conclusive evidence has supported the notion that games cause violent behavior.

Here's a link to a draft of the paper if anyone's interested: http://goo.gl/TJQaU
Thanks for the info !
Time Allocation Formula for Creating a Viable Business
I think the critical difference is how long the bucket full of gasoline has been sitting there. If you just filled it up, there will be a lot of vapors hovering above the surface. If it's been sitting, undisturbed and uncovered, for a good long while, there won't.

In the former case, you're going to lose your eyebrows, at best. In the latter, the match will go out.
I think the ribbon is okay. I had just as hard a time finding things in Word/Excel 2003 as I did in Word/Excel 2007 but after a while the design started to make sense. I still had to google things but I also had that problem with the older versions.

Word 2007 worked much better for mathematical documents than 2003 and once you learned the shortcuts (it even allows some tex like functionality) short reports work out much faster than emacs+auctex or lyx while still looking generally good.
Thx for correcting that... have used that screen a million times without realizing they lumped dev apps and prod+dev workflow together. 3 columns would eliminate any confusion (Production Apps, Development Apps, Development Workflow) but might not look at clean.
Both. It's a requirement for me that it be both fun and provide a good living. If it didn't deliver on either of those I'd have a different job.
Everyone is fallible. How do you know that you are not in regard to the failure of the masses?
A safer way to vaccinate
Very simple: they did NOT have the funds to develop these ASICs by themselves. They HAD to pre-sell them via pre-orders to bootstrap their business.

Avalon is literally the work of 2 chinese guys (ngzhang and yifu). They are not a big company with lots of money.
We built the exact same service last month http://www.jumpcrowd.com/ The hosted SelfStarter movement will open up crowdfunding in the same way services like Blogger and WordPress opened up blogging platforms. KickStarter probably won't survive in its current form.
You might think it's odd, but it's exactly what Boeing had done in the past.

And if you think the 787's problems are confined to its batteries, please read this:
http://www.bbc.co.uk/news/business-21230940
"Keith Hayward, head of research at the Royal Aeronautical Society, said that if the issue is no longer about replacing a faulty battery, it raised the prospect of Boeing having to do a major re-design.

"I think people had their fingers crossed that it was a battery fault... it looks more systemic and serious to me. I suspect it could be difficult to identify the cause," he said."

(Disclosure: I'm the article's author)

Cheers

-- james
I wanted to see where in the spectrogram the sound was as it was playing, so I threw together this quickie jsbin to make it happen: http://jsbin.com/amunug/10

Useful for anyone else who wants to be able to match the sounds and pictures, I hope!
"Reasonable" is in reference to ordinary people. Was he behaving how an ordinary person would? No. He was an activist. Activists are almost by definition unreasonable.
Slightly curious, what kind of projects were you working on that are "several hundred million LoC"... wouldn't 45-minutes be reasonable for that many lines of code?

I ask because I've never even come close to touching a project with that many SLOC and I was also under the impression that most modern operating systems are barely fitting into 100million+ LoC category, correct? This is your chance to redefine my perspective on "big project" haha.
The major cost of generating bitcoin is not the hardware itself, but the power.

I know people who have unplugged their entire setup and flown it half way across the US to get power 10% cheaper.
Ask HN: best startup swag?
We're having our first company outing shortly and I'd like to get everybody some great swag. What's the best swag you've seen recently?
I think you're not really asking for help... more like looking for an investor and possibly going about it the wrong way...
Interestingly, some provinces place weekly or monthly limits on the purchase of tax-exempt smokes in order to combat this. However, their method of synchronizing the limits with retailers is laughably outdated and insecure (one province transmits drivers' license numbers and home addresses in plaintext using plain FTP or dial-up). Because of this, some retailers are able to forge the necessary ID to obtain limitless tax-exempt cigarettes which are then sold to non-Indians.

Source: I worked as a network technician for several retailers across Canada who were later penalized for fraud of this sort. Yikes.
In what world could this ever be considered a thing that shouldn't be opposed?
Are you saying those c# devs who use C++ libs are okay but Java devs who use Java libs are lazy simply because they use Java?

So a good programmer reinvent the wheel whenever he can?
Linus must be grinning :)
Basically in the game you take a phone call from some guy and try to get him to answer a sufficient number of security questions that you can actually change whatever needs changing.

Being too fuzzy on the details and not pushing for enough information results in the caller being happy(ish), but you get an e-mail from the boss afterwards telling you you're fired. Being sarcastic or downright rude results in the person on the other end making a complaint to your boss, resulting in you getting an e-mail firing you when the call ends.

Amusingly, I'm not actually sure whether it's possible to finish the game while both managing to make the change the user wants and not getting fired. I think the best ending I've got so far was the caller failing to make it past all the security checks, and having to drop the call.

The game does not use any real recorded voices and it doesn't particularly make fun of callers. Just the caller is somewhat quick to anger and doesn't know the answer to any questions, really.

This is a massive overreaction by the minister, who obviously hasn't played the game either.
If you sell machines, you get $1300 cash. If you mine, you'll get continually decreasing returns, and you end up with bitcoins instead of USD.
A particularly tricky aspect for the purposes of this discussion is that the positions on those spectra are somewhat circularly defined when looking at outcomes, at least as defined in the DSM, the most common U.S. diagnostic manual. Many of the conditions have outcome-related diagnostic factors right in the definitions: whether the person is experiencing significant distress in their life, conflict with others or their surroundings, inability to work a job, etc. The pragmatic goal is to avoid over-diagnosing things that aren't actually causing people problems, but as a result it's tricky to isolate causal factors. Even worse if you're diagnosing people in retrospect: of course someone who went on a shooting rampage is going to meet all those criteria, after the fact.
Blackberry’s Impossible Mission
In the gold rush the people who made the most money weren't the gold miners, they were the hardware stores selling mining equipment.
The problem with this type of issue is that the topic is complex, it is hard to get anything like clean evidence, people start with strong opinions, and attempts at careful analysis immediately get derailed. We could try to reduce it to its component parts. But that fails, as Calvin points out at http://www.myconfinedspace.com/wp-content/uploads/2007/04/im....

But that said, here are my personal beliefs:

- Exposure to violence in mass media (including games) is probably correlated with overall violence in life across all of society.

- The individual correlation is very, very small.

- There are widespread confusions about cause and correlation that come up over and over again.

- Long term comparisons have trouble dealing with the confounding influence of a long-term decrease in violence in our society, with possible causes from changing mores to reduced lead to parents not resorting to corporal violence to who knows what.

- No simple correlation exists between levels of gun ownership and violence in a society.

- The "assault weapons" (yeah, that term is not well defined) that get used in high profile mass shootings are, on the whole, less often used in crime or to kill people than handguns. Even if a ban was effective, it would be unlikely to produce any noticeable effect.

- There is no way that, given how polarized our politics are, that anything resembling an assault weapon ban is getting through this Congress.

- The Supreme Court in Heller made it clear that governments have limited power to regulate the kinds of arms that are available, but has not ruled on what those limits are. There is a real possibility that assault weapons bans, like the one that just passed in New York, are going to be struck down on constitutional grounds.

I now return you to your regularly scheduled argument...
Yeah pretty much just because you aren't 21 you have few rights. Its strange - by legislating a number (legal age) we can disenfranchise, economically marginalize, and socially stigmatize whole groups of people. And no constitutional protection helps.
I haven't heard of "violent music" getting blame in a long time. I think video games kind of took over that rhetoric just because people, mostly children, are immersed in the game in which they are shooting and killing things. Whereas with a movie and even lesser with music they are just watching/listening someone else's story.

Video games haven't broken into the art barrier just yet.
Fun...but I'm not understanding why search results just randomly pop up and block the action? I was thinking that somehow the search results would be the "asteroids" you blow up
To put this into perspective, I'm mining with two Radeon 7970's overclocked and running at 100% utilization, and I get about 5.6GHash/sec.
Yes, recently an article was posted here (WSJ) that correlated unleaded gasoline with violent crime. That's actually believable.
> IRA terrorists

You seem confused to refer to freedom fighters defending their nation against the tyranny of the british imperialists in such a manner.

End the illegal English occupation of Ireland.
I didn't have played with WebAudio yet, but I assume that the main problem of HTML5 <audio/> is that the controls cannot be customized to fit the stylesheet. Using WebAudio probably allows to use custom html structure.

So the main question is : when will we have a standard shadow dom styling ? :(
There was some fascinating research on this in the 90s. Apparently most Americans were more concerned about violence in movies than sex. But thought their neighbors were more concerned about sex than violence.

Our beliefs about other people's beliefs affect what issues we'll complain about in public. With the result that there is more care taken in our ratings to prevent children seeing sex than violence.
Everything you just stated is gimmick. Physical keyboards are over.

And the "true multitasking" sort of works (pretty much as well as Anroid) only because they bolted 2GB of RAM onto the thing.

BlackBerry are dead. The OS looks like amateur hour, the icons look inspired by Windows XP, and even their default font is badly rendered everywhere. The Android emulator is unusably slow (nothing like what it was in the desktop simulator) and pointless. It should be removed.

It's a decent beta, but that's about it. They're done.
Well I think the senator should be more worried about those amalgamated automatons roaming around our steppes, breaking our penny-farthing bikes and soiling our women's petticoats.

These godless contraptions are invulnerable even to the senator's modern blunderbuss, and are fueled by the pills he needs to live.
You stopped watching when he brought out a poverty graph? Did you think the data was wrong?

He wasn't arguing about the elderly's poverty rate. It's not relevant to the video.
Don't forget to blame the comic books!
agreed. I like the Metro design the for the OS but for Office it's terrible. I think Metro is only good for designs that have a lot of white space. For something like Excel you need a little bit more detail to show what's clickable, ect...It's the same problem for Rdio's app.
This is Lamar Alexander, one of the top senate recipients of NRA contributions (http://sunlightfoundation.com/blog/2012/12/18/nra-and-congre...), so this sort of misdirection is rather unsurprising.
That's no longer true for ASICs. This box consumes only $1-2/day of electricity, so it's likely that it will consume less than $1,300 of electricity over its entire lifetime.
Really? Its pretty well understood that women come off badly in video games. Either super-sexualized, or just props to be beaten and killed.

And now somebody will point to 1 or two games that don't. That's called 'the exception that proves the rule'.
I have no idea why anyone would have downvoted this; it seems basically accurate.
Yeah -- this idea that it's this "other" group of people who are the problem is real prevalent pretty much everywhere, on all sides, in this gun debate. I know it's an easy, captivating argument, but that "other-group" argument seems to be part of the problem itself.
Superficially, this sounds similar to what CurveCP[1] does (modulo the cryptography being done on the latter).

[1] http://curvecp.org/index.html
This is actually really interesting..
>I hope someone somewhere is documenting all the Bitcoin farming hardware.

>The future people would probably like a nice list of things that people are trying.

I can imagine future "coin" collectors gathering the ancient application-specific hardware that was used to mine bitcoins. "And here we have a 2013-era bitcoin ASIC...quite quaint really. I'd imagine she might be worth around...600 pounds?"
Everything else aside, it should be illegal to advertise that your drug "has similar side-effects to placebo" if the placebo has active ingredients deliberately intended to cause the side effects.

The claim as made by the ads indicates to the average rational person that taking the drug has no higher chance of side effects than simple sugar pills. The reasonable conclusion for anyone who would be willing to take sugar pills is that this medication is safe, when in fact it easily might not be.
While I can imagine some situations where I would definitely agree, I'm not sure this is one (I'm not sure it isn't either; I don't have all the details). I think he's entitled to vent in his personal life without presuming it will affect his work, and since people's private lives are increasingly public, the lines of visibility and freedom are under pressure to move. I think I'd rather those lines move in the direction of increased individual rights and free expression than the other way, but I'm OK with an "assessment" of his supposed "crimes against humanity" as long it isn't a substitute for rational judgement and is allowed to conclude dispassionately that he's not breaching anyone's privacy or other rights, if true. I don't think it's enough that CRA doesn't like it... At face value it seems harmless. (I might be inclined to call him immature though... Obviously most people's jobs feel like banging your head on a table; do something else if you can, but publicly resenting people just asks for the same in return. And so on...)
And by people you mean Americans. Here in Europe the world is a little different.

A few years ago a large advertising festival ran jumbo ads across Slovenia. They were everywhere. The only thing on them was a pair of naked soaped up boobs.

Nobody even batted an eye.