skysight-inc/HackerNews huggingface dataset:
I'm sure they thought about the consequences. They just got themselves a huge load of publicity...
okay simple from mobile web apps its a way to native layout like the mobile apps do but in css..ie one step closer to full parity between native mobile apps and mobile web apps
We are looking at updating our version of Django in the next year, and I am quite happy that we have a battery of unit tests that test how the features of the current version framework work against our code. I will be a lot more confident about upgrading versions because of what might appear at first glance as 'wasteful unittests'.

Also, as a rebuttal to the author, how can you expect crappy developers who write crappy tests to write good code?
keep your friends close and enemies closer
This is very interesting, correct me if I'm wrong, but Spotify was one of the power users of echo nest's APIs. Maybe they had to use it so much that they had to acquire it.
What if they send them from gmail or somewhere else?
These tend to be people who drink it heavily.
This one is interesting and kind of on same path if you haven't come across yet - http://plumperfect.com/
Well, I guess I can't necessarily disagree since your explanation requires admitting things that cannot be proven. I can say that I don't "feel" more inclined to purchase LEGOs, movie or not, then before. I see lots of the Ninjago show on Netflix because my daughter likes it, but I don't buy them that often and she doesn't ask for them.

I guess I would say that any positive mental associations I have is for the entertainment factor as I liked the movie and the Ninjago show. It certainly hasn't resulted in a positive enough influence to make purchases. That's the focus of my comments, that the article that started this discussion seems off to me because it suggests that the LEGO movie is just a huge branding effort to convince people they must buy LEGOs. Your comments are much softer than that viewpoint so I think I'd be more agreeable to your viewpoint than the article's.
The ~$130 price was on BTC-e. It was very short-lived, and was caused by a very large dump of coins that were bought up by a bunch of bots, which met all the standing buy orders from ~$680 down to (if I remember right) $102.

The price immediately rebounded to the mid-$400's, once that order was consumed.
Not Objectivists. Others call us "libertarians," but we generally reject that. Because we don't agree with the people you're talking about on anything except politics, and where we agree, it's for different reasons.

tl;dr stupid arguments make good causes look stupid.
The moment full screen video ad is forced on me on iOS is the moment I completely abandon Apple ecosystem and start behaving like they don't exist (just like Microsoft before them, albeit for different reasons).
ECMAScript 6 Features and Tools
> I'm currently working on skin detection & exclusion during the color detection phase and am looking at using basic machine learning techniques. The key challenge I'm facing is differences in skin tones.

Try looking at the chromatic colour rather than the RGB values. You can get extremely far with just this, most skin colours fall into one of two peaks [0], no machine learning needed.

Once you've got this, edge detection & a few other bits should give you pretty reliable skin blocks. I've used it a few times before. Here's a presentation I did some years ago that I apparently still have on my desktop: http://files.figshare.com/1409002/1.pdf [1]

[0] http://www-cs-students.stanford.edu/~robles/ee368/skincolor....

[1] Calvert, Ian (2014): Finger pointing detection. figshare. http://dx.doi.org/10.6084/m9.figshare.953171

EDIT - I'm sure there are many good approaches for this, and many fancy ones. This is very simple and was researched/written purely for fun in a couple of weeks.

EDIT 2 - The final slide shows the more interesting part, where you use edge detectors to guide your estimation of what is inside or outside a shape. That plus an adaptive threshold (designed to stop if the number of pixels included jumped rapidly) got some good results, but I've not got the code any more.
This is a revelation for me. I'll definitely leave it in there now.
Google is half right. One translation for "quod" is because, or reason for, which is the sense that Google is presumably using here. You're probably after "ratio" from "reor" meaning thought.
Yes, that's pretty much it. A very similar technique was already used 2 years ago by Zhang et al. in their paper Cross-VM Side Channels and Their Use to Extract Private Keys [1] at CCS.

[1] https://www.cs.unc.edu/~reiter/papers/2012/CCS.pdf
Transaction isolation is not what you think it is. Most databases run at a liberal isolation level. For example, from the PostgreSQL docs[1] you can read that they use 'read committed' as an isolation level by default. In this example, it could mean that the following could happen:

* At T=1, transaction 1 will read the current balance
* At T=2, transaction 2 will read the current balance
* At T=3, transaction 1 will update the current balance
* At T=4, transaction 2 is in a race condition situation, since the update of transaction 1 'leaks' into transaction 2, but the last read balance in transaction 2 still is the 'old' balance.

In other words: this is an area where a lot of people introduce race condition bugs without being aware of it.

[1] http://www.postgresql.org/docs/9.1/static/transaction-iso.ht...
Competitive Programming: a proposed Q&A site on StackExchange
eerily just remembered Shane Todd
http://en.wikipedia.org/wiki/Death_of_Shane_Todd
The tests in my largest code work at a very high level. They are a number of example documents, chosen to exercise particular features, which are processed by the program and compared with known output. The tests have been pretty effective at spotting changes in behaviour and crashes, so I've found them useful. I'm not convinced that any lower level object or function verification would be particularly helpful, but of course programs vary in their structure. Treating the program as a black box with a variety of functions is a helpful way to test I believe.
Android has 97 percent of mobile malware. I wonder if full screen video ads on Apple devices will change that.

http://thenextweb.com/google/2014/03/04/f-secure-android-acc...
The embed codes seem to be broken. They are like this:

<iframe src="//embed.gettyimages.com/embed/141707234?et=bk1OGlvTI0avNVbOUXa3ZA&sig=M0SraL8CHtualNed00tTEEcWOi7KfHFE17a3zoUlQBc=" width="508" height="407" frameborder="0" scrolling="no"></iframe>

with no protocol on the source attribute. Maybe this works in some browsers but it failed in Chrome. Adding the missing "http:" fixes it.

EDIT: please ignore this dumb comment but, if you are really interested, read the replies below.
Well you'd probably want to have both, a negative balance is a problem with bitcoin if it can be arbitrarily negative. Say they issue 1000 withdraws in a millisecond. The balance will be "very" negative and there is nothing that can be done. And it might have to be done only a few times to bankrupt the exchange.

With the regular banking system or even with stock market, some trades and transactions can be reversed in case of errors and mistakes. So just having a ledger works, some bad updates can be reversed. Not so with bitcoin.

So when dealing with someone's account at a place like this an ACID compliant balance update is also needed.

Amateurs have jumped in and started developing banking software that deals with hundreds of millions of dollars -- so this is not surprising.

But at the same time it is kind of nice. It is sort of a Darwinian if you wish, the weakest and unlucky ones fail and get robbed the competent and/or lucky get to survive.
He doesn't seem to be the railing type.

In the Bitcoin conversations, it seemed he wasn't interested in talking about much outside the code. Even though Bitcoin was created for X reasons, the discussions were about code. Then he disappeared. Bitcoin has since exploded and he still hasn't come out.

From the description of the guy, it seems to wouldn't be self proclaimed anything except in passing down advice to his children.

Who knows if these are even his actual views. I doubt we will be seeing any interviews. Just short comments from family who apparently aren't close to him. This includes his brother who thinks he is an asshole.
Cool, more reasons not to use apple products.
We'd likely have moved on to jpeg2k if it weren't for the patents.
I have been adding integration tests. Its an in house app, so constantly changing, and constantly in beta.

I wanted to start adding unit tests a couple of years back, but looking back, I don't think it would have gained very much, and cost a lot of time (creating the data to test the parts).

If there is a functional unit that does one specific thing, I could see it being useful to test. But most of my app basically queries a database and displays the results. The bugs I do get would rarely have been caught by unit tests.
0% this is actually the real Satoshi Nakamoto.
Shhh, you'll expose the entire gamification model for all these pointless applications.
That page took about 20s to fully load. Over 300 requests... wtf...
> In an age of properly kerned digital type, there's no reason to use more than one space.

But there's also no reason not to use two spaces, as kerning can turn one space into 1.5 and can also turn two spaces into 1.5.
List of contenteditable browser inconsistencies
As someone with the name Paul Brown in the Cincinnati area (where the Paul Brown stadium is) I deal with this almost daily. I'm sick of meeting someone and about 75% of the time they go "oh, do you own the stadium?". I'm seriously starting to think about moving far away so I don't have to hear it anymore. I don't even like football!

I also went to high school with a guy named John Conner and everyone use to thank him for some day saving the human race from the machines.
Well, that sure cleared things up.
Lots of Python objects are falsey: empty lists, empty strings, etc. So it's never a good idea to write "if <thing>" when you mean "if <thing> is not None".

This is pretty well-known, I thought.
Read down toward the bottom: the study was based upon one self-reported day of each individual's diet extrapolated over 18 years.

This study is even less meaningful than most. I'd go so far as to say that it's utterly devoid of useful information and quite probably is misinformation.

I wonder how much was spent on performing the study?
Who decides what is "anything of note" or who is considered "highly influential"
"Few businesses are interested in where the content comes from, the research that goes into setting it up".

I think this is why it's an easy industry for dishonest players to exist in, and unfortunately it leads me to only really begin to trust the content on any business's site if it's being produced in-house, and even then it's always worth reading with a very critical eye.

Thanks for replying, I'm glad to hear that the content creation / marketing side of SEO is being rebranded, and I hope it means that the companies that are rebranding are doing so to separate themselves from those who would just seek to manipulate data, algorithms and people for short-term profit.
I would love to try this out, but one thing that's stopping me is pricing.

What price point do you intend to set this at once it's out of beta?

Any plans on supporting older versions of SSMS (say 2008 r2)?
Better than the tweet that I saw a few weeks ago: "I don't understand this, and there is no use for it."
Whilst reading that thread, I stumbled accross:

"goto fail" is a well-known error handling mechanism in open source
software, widely reputed for its robusteness:

http://opensource.apple.com/source/Security/Security-55471/libsecurity_ssl/lib/sslKeyExchange.c

https://www.gitorious.org/gnutls/gnutls/source/6aa26f78150ccbdf0aec1878a41c17c41d358a3b:lib/x509/verify.c

I believe Python needs to add support for this superior paradigm.

It would involve a new keyword "fail" and some means of goto'ing to it.
I suggest "raise to fail":

if (some_error):
raise to fail

fail:
<error handling code>

Unless there are many objections, this fantastic idea might be submitted
in a (short) PEP somewhere around the beginning of next month.

There is some obvious overlap with the rejected "goto PEP" (PEP 3163)
and the Python 2.3 goto module. However, the superiority of goto fail as
error generation and error handling paradigm has since then been
thoroughly proven.

https://mail.python.org/pipermail/python-ideas/2014-March/02...
Not surprising at all. Echo Nest does a great job solving a not-easy problem. Hope they remain accessible to the public afterwards.
I wonder what happens though then if everyone has say a basic income, with when competition does exist; This model is directly in competition with those who want to compete. Those who want to be competitive will gather ideas and try to execute on them better - very much like how the VC model really works; People desperate for money to make their idea happen flood to VCs and other investors sharing their ideas and even full business plans, giving a clear picture of the landscape ... meanwhile then those who are acting in a competitive way will be the ones who will benefit the most. So it comes down to a question of if we want to allow specific organizations to amass and control huge amounts of resources, and if so, what in return must they guarantee us - how must they benefit us, etc.. ingrained in this could be the idea of accountability and responsibility, and if they don't live up to defined expectations then they lose the powers we have allowed them to amass. If someone has proven they are highly capable of organizing and managing resources in a non-violent, sustainable, kind, and fair way - then I would want them to have access to whatever resources they need to continue this.
This may not add to the discussion but I still cannot help my self and have to comment that this doxxing is disgusting and irresponsible.
"Unit tests are unlikely to test more than one trillionth of the functionality of any given method in a reasonable testing cycle."

Taken literally, sure. But are you seriously implying that it's useful, or even sensible, to write test cases for every possible input to the line "z = x + y"?

(previous HN article on testing floating-point implementation details notwithstanding)
I really like these guys. It's really no-nonsense hosting, which as a developer, is exactly what I need.

I've been (stupidly) running my website, VPN, and e-mail servers all on a single EC2 instance, mostly because I had a bunch of AWS credits. I got some Google Cloud credits, so decided to move it there. I then realized that I'm spending $60 a month on a single instance, which despite having "free" money, is stupid.

I split everything up into Docker containers, and run them on Droplets now. Sure, I pay $5/month now for each server, but that's fine. One of the e-mail servers is for my wedding; I'll turn it off when I don't need it anymore. The interface for bringing up new Droplets is simple and clean, and lets me do exactly what I need to, no more and no less.

If you look at AWS or Google Cloud, there are so many available services that it can be daunting to get simple things going. I mean, it's not that bad, but once you've seen DO's interface, you realize how unnecessary a lot of it is.

I would still likely use AWS/GC for cases where I need to respond to changing load needs, which incidentally, is exactly what you're supposed to use it for. A DO + AWS hybrid infrastructure would be most ideal IMHO.
although not exactly for the Java world (but not necessarily so), even since i attended PyData recently, i've been capturing requirements/ideas for a "Python [c]Profile data visualizer web application spec":

https://docs.google.com/document/d/1tPhW2FLjHG47rS6xJGzP6R30...

and this article was a good read.
Are you missing the part where his family happily talked to the reporter?

Brother: "My brother is an asshole. What you don't know about him is that he's worked on classified stuff. His life was a complete blank for a while. You're not going to be able to get to him. He'll deny everything. He'll never admit to starting Bitcoin."

Daughter: "He would keep his office locked and we would get into trouble if we touched his computer," she recalls. "He was always expounding on politics and current events. He loved new and old technology. He built his own computers and was very proud of them."

etc etc etc.
The iBeacon Protocol and How to Hack It
This is the right attitude; more power to you!

Just don't try to justify it by its "benefits" for mathematicians.
Are you suggesting people struggling with major depression move to a different country?
Yes, yes, I agree fully.

The problem is that the philistines can't motivate themselves to do anything without a competitive frame. They just fall into pointless favor-trading and rent-seeking. They see creation for its own sake as self-indulgent, manic, pointless, or (gasp!) effeminate. The result is that motivations like "build cool shit" or "help people" are cast as reckless and irresponsible, vision goes away, and reliable mediocrity becomes the new game of the day. With competing to excel rendered impossible, people compete instead to suffer in pointless social competitions that have a flavor of reality TV.

There's this negative stereotype that engineers "don't want to concern themselves with the business", and that they'd rather shut themselves away in an ivory tower and build "cool" stuff that no one cares about. That's not true at all! However, they refuse (often passively, because to be active in it leads to professional adversity) to subordinate themselves to the business, especially when the business seems to have no vision, no real purpose for existing, and a cost-cutting mentality that squashes excellence.

Often, the only way to get the MBA-culture philistines to do the right thing (and let the creative geniuses shine) is to create a sense of competition and existential crisis. "We have to crush Facebook before they crush us. We need this autonomy for our best people." Meanwhile, Facebook doesn't give a damn about "crushing" anyone. The problem is that the people who are the best at creating a sense of existential crisis are the ones who excel at artificial scarcity and its theater-- psychopaths. The long-term consequences of this competitive mentality (often the only alternative to executive, rent-seeking complacency) are horrible.

I'd love to see the excellence mentality become more common. You're starting to see it in open allocation cultures like Valve. We need a million times more of that because, you're right, OP, we're not in competition. We're just trying to fucking live well. No one has to lose.
The Story Behind the SAT Overhaul
New Echoes
haha image is labeled pretty white girl.

http://developers.lyst.com/images/color_detection/pretty-whi...

racists! saved for later.
Aye, +1 for org mode. I too use org-mode extensively. Perhaps you should try using a combination of custom TODO capture templates, custom agenda views, and/or org-mode's built-in sparse tree generation to help filter through the noise in your (undoubtedly sprawling) orgfiles directory. Not that I've fully implemented this myself, of course, but it's all on the roadmap to org nirvana...
Not sure at all what you mean. Can you describe what "guiding design and describing the behavior of the subject" looks like from the unit test's perspective?

How else are we to specify the behavior of a function than to specify, for a given combination of typed parameters, what is the return value?

As the article points out it is impossible to exhaust the space of all possible combinations - but nobody is trying to do that, so it is a straw man. For me, I test the branches that are likely to occur in a production setting, and any obvious edge cases that might occur, but infrequently.
I've seen a number of homes blurred out on Google Street View.
> Suffice to say Nakamoto did have a change of mind

We actually don't know that. On the surface sure look like it, but he could have had a similar personal philosophy before during and after his time working for the government.

> We can point at ANY part of the sociopolitical spectrum and find hypocrites.

Absolutely agree. I could add also the large number of pacifist liberal vegan types I know who work for the DoD or whatever.

>Non-fing-sequitur straw-man

It's obviously not, if by your own theory his philosophy is what drove him to develop bitcoin, then it is sequitur to examine that philosophy and how it's expressed.

> I could spew the same sort of such outrageous examples about liberals/leftists/progressives/socialists

What example did I provide that was outrageous? You either don't work in or near the Fed-space and haven't come across this kind of person daily or you're living in a state of denial.
The "testability" of a piece of software doesn't really have much to do with the discussion about the quantity or kinds of tests that should be written for it.

Every test is another thing that has the potential to require debugging.
Fascinating. I'm gonna hit up Google for more.

About the sleep app and uncomfortable having your phone in bed - turn on flight mode?

The main sleep app on IOS is usually $0.99 and insightful. Try it tonight. The chart after a night of sleep alone is worth it.
That's what you've heard?

Couldn't the argument be made that the other side is rooted in racism too since it appears their goal is to keep a large percentage of African Americans completely dependent on the government fixed-income for their whole lives?

That's what I've heard, anyway.
#iphone[center-x] == #ipad[center-x];
#iphone[bottom] == #ipad[bottom];

Why are they assigning values using what's traditionally a comparison operator?