skysight-inc/HackerNews huggingface dataset:
I'm a (moderately [1]) happy customer. But I have to ask, isn't this industry slowly turning into just virtualized hardware leasing? After the management tools commoditize, and I think there's a solid risk of that, isn't it just price and DC-location that differentiate?

And in that vein, wouldn't the winner in each area just be the one who bought their hardware the most recently? Instructions/dollar are still increasing on each CPU generation, but it'll take more than one generation for each machine to pay itself off. So, whoever is closest to the current generation pays the least per instruction, and can charge the least.

Or, maybe it's memory/bandwidth, which are mostly commodity, but slightly bottlenecked by the hardware (e.g, max on a motherboard, NIC throughput). Maybe the combination of prices in cpu, memory, and bandwidth leave enough variation between competitors to keep the field a little open? I donno.

[1] Modulo concerns about their ssh key management. I haven't looked after the last news ping on it.
I also use them and in general like them but would add to this list;

* Can't add backups to an already provisioned node

* Undocumented "droplet limits" e.g. one day you'll click "Add Droplet" and it will say "You've reached your droplet limit, please contact support". They'll generally raise it after some basic security verification but it's a nasty shock since you don't find out about it until you need to provision a new Droplet, especially if you're in a hurry.
Yay Getty Images Are Free Now.... BUT...
I don't understand - how does using actors/reactor allow you to skip using circuit breakers?

You might implement it differently, for example the circuit breaker might just be a wrapper around your original function `Request => Future[Response]`. But I don't see how using actors saves you from thinking about the consequences of throwing a normal workload at a failing service.
Bitcoin creator Satoshi Nakamoto revealed after years of mystery?
no, not at all. read the very first posts he made, where he predicted world wide use. he was absolutely aware of the possibility.
tautological tests are not necessarily useless. there is a lot of value in testing for unexpected behavior. the tautology SHOULD pass trivially, if everything behaves the way you expect it to. If the tautogical test fails that means your expecations are not correct and you need to learn more about the technology you're working with.
Google Trends Screensaver
The quote does sound odd, and I wouldn't be surprised if it were an embellishment or paraphrase.

But you know, the New York Times has been running stories on Bitcoin for a couple of years now. It's been all over CNN and other mainstream news sources. The New Yorker printed a feature about Satoshi Nakamoto back in 2011 [1]. Popular TV shows like The Daily Show have talked about Bitcoin [2]. Newspapers are printing political cartoons about it [3]. The Washington Post has three Bitcoin headlines on the front page of its web site this morning! (One about MtGOX, one on Nakamoto, and one on Autumn Radtke.)

Anyone who has read, watched, or listened to news in the past year has a good chance of knowing some stuff about Bitcoin, just like they know that Steve Jobs died and what Google Glass is. The name Satoshi Nakamoto is reasonably memorable and distinctive. And law enforcement officers in particular might have some professional curiosity about the Bitcoin economy.

[1]: http://www.newyorker.com/reporting/2011/10/10/111010fa_fact_...

[2]: http://www.thewire.com/entertainment/2014/02/daily-show-help...

[3]: http://buttcoin.org/bitcoin-hardy-har-har
Supposing there is some truth to the quote, I have to assume she skipped over the part where she told the police officer "He is the guy who created Bitcoin."
Another article I've seen recently pitted Yahoos engineers simple set of equations vs the Carroway solver and it was slower by a 1000-10000 times or so, hah. I think ultimately the time is negligible since you'll run it maybe one or twice on a complete page.

The point is that you don't have to re code an entire set of equations for a new layout. That's big for designers to not have to involve coders (in theory).
I understand the distinction between the two ways of writing the conditional. The point is that the documented way is surprising, and as far as I can tell everyone agrees that it is wrong. It's really not a matter of making the original poster's code work, it's a matter of making the language constructs have the expected behavior. Everyone seems to agree that code that used this behavior in the documented way would be bad code. That being the case, I see no way in which changing the behavior to the expected behavior would make anything worse.
Ayn Rand withdrew Social Security checks (to get back what the government took.) There is nothing necessarily wrong with that.
First of all, let me describe my bias. I don't write unit tests. I have written a giant, well-organized framework which is used by several of my web apps. I don't even have integration tests at this point. My apps are my integration tests.

Whenever I make a change, I am very careful to reason about what it affects and then proceed to test it manually across the apps. Still, bugs crop up an alarmingly large fraction of the time - probably 0.25%.

For any team, I wish we would do TDD. It's as simple as this: you want an automated system that will signal an alarm, just like a compiler. This is especially useful for weakly typed and duck typed languages.

Right now, we do have a system but it's not automated. It's better than nothing - having many clients of an API who use it heavily allows us to make sure we didn't break anything significant.

However, at this point, I would go for API Unit Testing first. Meaning - every function exposed by the API should have unit tests matching the documentation. You can document internal functions later, but start with the most outward facing ones.

There is a second consideration: VERSIONING

As for us, we have a system where code that potentially breaks existing API contracts is strictly kept in a branch. This branch is then imported by all stakeholders and tested. Once they sign off that their clients are compatible, it is merged into the mainline with a version number and a notice of breaking changes. Everyone pulling has to read the breaking changes before updating. If they aren't ready to deal with those changes, they have to clone their own repo of the framework and cherry-pick commits until they ARE ready.

On the good side, our installer automates all this. The framework and plugins keep track of version numbers for the db schemas, apis, everything, and signal when something is out of date.

Automated systems are better than blaming humans. They are worth up to 50% extra time of the project.
W3C has been hashing out new grid-based specs for quite some time now, because as admitted in the Grid Layout Module working draft, "As websites evolved... floats, were not necessarily well suited for application layout."

http://www.w3.org/TR/css-grid-1/#background

Dozens & dozens of CSS grid systems have emerged, but without retooling the internals of the browser's layout engine and adding new CSS language features, such attempts retain the flaws of CSS float & will taint content semantics.

But, of course, the W3C's grid-based efforts is not without flaws, see:

http://www.markboulton.co.uk/journal/rethinking-css-grids
New Newsweek Taps Slovakian Paywall Gurus for an Ambitious Relaunch
A libertarian government worker would be more like a nuclear engineer who thinks nuclear energy plants are intrinsically dangerous. So dangerous that they should be avoided if at all possible.
Bitcoin can be untraceable. All you have to do is mix dirty money with clean money and split them. No way to tell which pieces are dirty, which ones are clean.

Most likely you don't even need to do that. Nothing would stop you from selling stolen money on LocalBitcoins. All outsiders will see is money moving from wallet A to wallet B and no way to find out who the owner is.
Most VC's want 20%-25% ownership. And DigitalOcean is a very capital intensive tech company, needing to buy/build machines, pay for electricity, rent rack space, and pay for bandwidth. Virtually all tech startups on the other hand just need to pay for writing software and renting said machines/hosting.
"GSS is a CSS preprocessor & JS runtime that harnesses Cassowary.js, the JS port of the same constraint solving algorithm Apple uses in Cocoa Autolayout for iOS & OS X. GSS & Cassowary are based on “Constraint Programming” - a paradigm where developers focus on declaring the “what” and relying on a mathematical solver to figure out the “how”... This makes Constraint Programming a natural fit for declarative languages like CSS."
This is true for pretty much any VPS-only hoster, they all have well defined ranges and tons of targets to attack. I see thousands of attempts a day at Linode and hundreds at Leaseweb (dedi and VPSes) and DO. It's just part of doing business.
We need to know the adress he used!
"Privacy issues: Embedding adds user tracking"

This is the one that will probably stop me from using this after all. I've already gotten rid of tracking buttons on all sites that I control, so this would be a step backwards.
If Charlie Sheen, Nicolas Cage and Tom Cruise had their own programming language
>>> The sound of the GAU-8 main gun is something you have to hear to believe.

Proof right here: http://www.youtube.com/watch?v=8wQ0BXExYkg

The commentary is priceless on this one.

More proof right here: http://www.youtube.com/watch?v=PrhoYnpgm-g

Get goosebumps every time I watch those. Too bad they're being retired.
Just wait until someone registers youmaynotneedthecarrowayconstraintsolver.com.
really fascinating story: now we must ask you the Transaction ID :D
An Alternative to the Singleton Anti-Pattern
Show HN: Shell Environments v1.1
When I was a kid I saw this demo tape and was blown away by how lethal and intimidating the A-10 looked. Ever since I've been fascinated with it. The video quality is very poor because this was shot in the late seventies or early eighties but it demonstrates the ferocity of the plane pretty well.

http://www.youtube.com/watch?v=lVvAQHz5jGs
Maybe it's because lisp has warped my brain but I'm not entirely sold on dependent type systems and formal proofs yet.

It will be interesting to see if there's anything worthwhile that falls out of it as a consequence of such research but I don't think it's very interesting in its current state. It could use more exploration and I look forward to seeing what comes of it.
This is probably not best practice, but I often disable tests that take a really long time. An alternative would be to have a 'full suite' and a 'fast suite'. The fast subset could be used locally for most development, but then you run the full superset when you are ready to release. A 5 minute release is no big deal, but if it takes 5 minutes to run a standard dev test, then people are not going to test as much.
Every time someone tries to retire something from the Cold War, turns out we need it after all.
Please don't disclose the transaction. It's a serious decision, at least.
I sometimes find that code which doesn't involve lot of nesting is a lot easier to read and comprehend as one long method / function / subroutine than chopping it up into multiple small methods and having to jump around trying to work out what is happening. There is often nothing to be gained by splitting it up in my opinion.

Is that not why some languages are known as scripting languages, because you can read them like a script?
The more I become experienced with testing, the less I think the difference between functional, integration and unit tests is important. What's important is to have a test suite with good coverage that runs fast. I found that a mix of high level and lower level tests is a good way to achieve this goal and I don't mind mixing them in the same files. High level tests provide coverage more quickly, but some stuff, such as verifying that an exception is handled properly, is easier to test with unit tests.
> iOS developers have the power of using constraints for their layouts. Why not give the same to web development?

Because the web is meant for documents first, not applications.

The example who linked to is a nice demo, and I understand how the GSS is meant to be used. But for all the fancy CSS techniques that hit the HN frontpage (and that are usually frowned upon because there is no "practical" use case), there's probably one just as suitable for this particular situation.

A somewhat related example, with just a few JS lines: http://toki-woki.net/lab/fluid-corners/
And my Atari is better than your Amiga because...
That's right.

The reason I finally settled with DigitalOcean after trying AWS, GC, RackSpace and WebFaction etc, is it's stupidly simple interface. I start things with just a few clicks and few words typed and then it's just like I am in my good old Ubuntu terminal.

Though I run my low volume email server, VPN, proxy, ownCloud on one droplet and it works just fine - no load, no issues.
Working on a CRM for small business owners. Currently aligned towards the pet service industry and in the future other small business verticals

Production - www.petworkslabs.com
QA - www.petworkslabsqa.com (admin login - sp1@pwl.com/password)

Feel free to forward it to your dog walkers!
JavaScript parameter string substitution
I've created what I think is a pretty cool function to do arbitrary parameterization of strings in javascript like printf but simpler.

"I'm not as %s as you %s I am".substitute('think', 'drunk')
=> "I'm not as think as you drunk I am"
No tests. No documentations (even in Russian it's not enough). It is not only KPHP but also some their engines written in C. Like Search, Queue, Storage, Text and so on. All of it in just one repo.

It is a great example when sports programming works (VK.com #26 Alexa Rating).
The China study's results are a massive dataset of statistical correlations, useful as input for hypothesis generation.

On the other hand, "The China Study", Dr. Campbell's best-selling popular book wherein he attempts to interpret the data causatively, has been absolutely demolished and debunked as egregiously bad science for some time now. Evgeny already linked to Denise Minger's notorious initial critique that got the ball rolling. Dr. Eades (of the grandparent post) wrote his own critique at:

http://www.proteinpower.com/drmike/cancer/the-china-study-vs...

"The web has been alive with commentary the past few weeks since Denise Minger lobbed her first cannonball of a critique across the bow of The China Study, the vessel T. Colin Campbell, Ph.D. rode to fame and bestsellerdom. Seems like everyone is now jumping into the fray and gunning for poor Dr. Campbell, who early on in the fracas made a few halfhearted attempts to fight back but has now fled the scene. I've been laying low watching it all play out, and so now figured it's about time I add my two cents worth to the debate."
This is funny. I was pretty skeptical when I read your post, but when I looked at your site I realize how seldom I replace my toothbrush if my wife doesn't buy me a new one. Then I remember how much better a new toothbrush feels. So I think this might work!

I wouldn't use the service, but a little feedback:

- I couldn't tell the difference between what you get for $1/month, and what the $19 is for. Is the $19 for your first toothbrush with a stand?

- The images of "classic" toothbrushes kind of turn me off. They look like objects I would not want going near my mouth. I understand the appeal of a classic razor, but I have never thought of toothbrushes as having any historical appeal at all.

Good luck!
> * can't resize or add storage

This is a huge issue for us and we've wasted time with this.
How is "midnight" an additive identity? It's not a time delta. "+0 hours" is an additive identity. (And if Python's time library doesn't distinguish between absolute and relative times, that's a design flaw.)

That's like saying "north" is an additive identity on a compass. It's not; "+0° clockwise" is an additive identity.
5) huh? DO added this in 2013[0], Linode has had it since 2008[1].

To add another. 6) Linode offers IPv6, while DO says it's coming "soon"[2] (and has been saying that for well over a year).

[0] https://www.digitalocean.com/company/blog/introducing-privat...

[1] https://blog.linode.com/2008/03/14/private-back-end-network-...

[2] https://www.digitalocean.com/community/questions/is-ipv6-ava...
Isnt this the best online development environment already? And now 250 TB FREE
Easy is my middle name.

I like it.
> Publishing identifying information on someone hugely influential is very much ethical.

How can you even say that? It's easy to say that if (assumption) you haven't done anything "hugely influential", but I think the feeling would be different if this article was about you.

It's plain disrespectful. The guy obviously wants to be left alone or he wouldn't have stopped emailing, stopped answering the phone or called police when the reporter showed up.
Midnight is not the addittive identity of points in time. There is no additive identity because there is no addition operation. You're confusing the ``time`` type, with the ``timedelta`` type, which represents a duration, and does have 0-minutes as an additive identity.

midnight is not, nor has it ever been, the "zero-time", it's simply a point whose typical representation contains some 0s. It is no more Falsey than the origin (0, 0) in the cartesian coordinate system is Falsey.
The page isn't showing up in IE10 for me and is sluggish performance wise on Webkit (OS X and Windows). You can see the layout stutter when recalculating whereas with natural properties, layout recalculation is smooth. In Chrome, the layout barely reaches 30fps.

Using CSS grids or flexbox would be more appropriate, and there is an outright lie on their section of flexbox. Flex items can be relatively sized according to their siblings using the flex property and aligned using the justify-content, align-items and align-content properties. In fact you do not need to change the HTML to reorder elements individually or as a column or row or reversed. Horizontally centering elements is now solved by flexbox (display: flex; on parent and margin: auto; on targeted element) and for legacy browsers, use display: table.

Trying to replace the browser's layout engine, instead of compliment existing technologies, is a terrible approach. It will always be slow and result in degraded performance. And shame on these guys building a so called 'layout' engine but not using requestAnimationFrame.

Anyone concerned about layout performance should visit these:
http://jankfree.org/
http://wilsonpage.co.uk/preventing-layout-thrashing/
Amazon Debuts An Official Mobile App For Amazon Sellers
Obviously the conversation has been heavily edited. Nobody really speaks so clearly and succinctly.

To me, it looks probable that she really said something like "I would like to ask him about Bitcoin. This man is Satoshi Nakamoto. I think he's the man who created Bitcoin"

So she prepped the police officer to deliver the quote that she wanted "This is the guy who created Bitcoin?", by planting the suggestion first.
Computers of armed forces and DRDO hacked
Braintree Again Courts Startups By Waiving The First $50K In Processing Fees
Is it important that you're testing the implementation interactions with DateTime? Why not ensure for the supplied DateTime that the expected result is returned?
A few years back, I picked up a Zeo to help answer why I didn't feel rested in the morning. If you had told me the deceptively simple answer before I purchased the Zeo, I would have dismissively laughed at you. Today, the Zeo collects dust and I'm in bed before 10:30p.

Full write up here: https://garrickvanburen.com/archive/how-i-learned-to-get-up-...
> From a recent tweet by Bill Wake: ”It’s ironic – the more powerful the mocking framework, the less pressure you feel to improve your design.”

This is exactly my sentiment. I would go even further, though, and say that "the more powerful the mocking framework, the more it discourages design improvements." If you have 50 or 60 references in your test to a mocked class of type A, and A turns out to no longer be needed, then the effort to get rid of it is higher than it otherwise would be.
Well, web developers already have to implement design constraints into CSS. Now you just do it by manually calculating and hardcoding positions and sizes. With GSS you can offload a lot of that effort to the constraint solver.
The number of page hits the article gets? Come on - Bitcoin is news, and it's been made news by people like us. Don't be too surprised or appalled when the general media tries to latch on to the publicity train.
My understanding from my Libertarian Ron/Rand Paul friends is that they believe the Federal government should not have a single program that's not explicitly specified in the U.S. Constitution.

It's not really a viewpoint I totally agree with, but people who are really deep students of the philosophy come across as pretty internally consistent in their viewpoint.

I think their's a good place for this type of politic. But I'm afraid far too many people who self-identify with it, don't understand it deeply enough or the implications of the ideas.
The thought of OpenBSD developers doing any kind of marketing, honest or otherwise is amusing. These are the last people that would do anything other than simply letting the work speak for itself.
> Seriously, don't try to break into a guy's house who is employed by the U.S. Government and has access to that kind of stuff.

I'm sure he has Fox Mulder's number.
This is clearly a gimmick, but I laughed and smiled while watching the video.

Nice job! And I'll be sure to repost the video.
> and politely declined citing that bitcoin is an anonymous currency.

I wonder if he still believes that today.
Python already comes with the logical conclusion of goto-fail out of the box. There's no need to add a new special feature for it.

(There is absolutely no certificate store checking for certs by default, nor is there any hostname checking, or any of the myriad of other checks one might expect a reasonable TLS implementation to perform. Use the requests module.)
Respect and professionalism?
Oh what a witch-hunt after Satoshi, he wants to be left alone from the public so please respect it.
All of you asking for the transaction ID are incorrigible. The man clearly wants privacy. The kind of privacy that you all opine for every time there's some governmental incursion. Or some startup gets hacked or whatever.

Leave the man be.
To take it from the same James Coglan -> "You can't add midnight to 3-o'clock in the same way you can't add London to Chicago."
Oscar Mayer Institute for the Advancement of Bacon
While we clearly disagree on whether the web is a viable app delivery platform, there is no reason why documents couldn't look beautiful on the web either.

Compare a nicely designed magazine or a book to a typical website. Which one is more readable? The reason why so much of the web is not nice to read is because complex layouts in CSS are hard.
Nice job explaining away one language bug with another.
In every other language I've used, a time value of 0 is used when a datetime only contains a date and doesn't have a specific time. The existing behavior would make sense in that context. I know Python also has a separate date object, are the two interchangeable enough that you could mix and match without problems?
Because a cornerstone of the currency is anonymity.
Wallet of the store:
1KfQKmME7bQm5AesPiizWk6h3JPUekwoBC

source: https://twitter.com/Ocrepes/status/83671795693133824
I saw one doing tricks at an airshow at RAF Valley many years ago. It sounded like tearing silk.
It has a lot of strategic significance to the Russian Navy, significantly less to anyone else.
This is the address for the creperie's wallet: 1KfQKmME7bQm5AesPiizWk6h3JPUekwoBC

Blockexplorer: https://blockexplorer.com/address/1KfQKmME7bQm5AesPiizWk6h3J...

Source: http://o-crepes.com/