skysight-inc/HackerNews huggingface dataset:
This is one of the better HN posts in a while.

Science is our light in the darkness.

It is not a new form of religion. It does not give us the answers to everything. It may not even be able ever to give us the answers to everything. It does not even give us a way to think.

It does not advance in a linear way. Instead, many false starts are made before progress takes hold.

Better ideas/models do not win out over older ones automatically. Instead, many times an older generation has to die before new ideas can firmly take root.

Funding does not equal knowledge. You can throw as much money as you want at some problems and get nowhere. Many times this is because the questions are being asked the wrong way. But you'll never know -- until progress is finally made.

It's just Bayesian. Science is that study which tells us if we do something or if some state exists --- then there's a very high likelihood that something else will happen or some new state will occur. We try to create models to explain this tenuous causality, but over the generations, models have gotten us into more trouble than they have gotten us out of. If we understand science as just being the study of what most likely follows what, instead of how things work, it's easier on everybody. After all, at the end of the day, even with a model, for you to manipulate the universe around you? You're going to need to know if you do one thing, what other things will happen.

I fucking love science. But it's not what people think it is. We teach science in much too prideful a manner. If anything, the history of how science has been done should give us a deep and overpowering sense of humility.
That just brings up another problem and that is defining your goals.

Germany is not using sustainable energy, Germany thinks they are, but they are actually importing their energy from China.

But to get back to the main topic, in a moonshot you need to research and then implement, but here the research is done, it's the implementation that is left - it makes for a very different type of thing. One is exciting and dramatic, the other is slow and plodding.
> Square or higher roots of arbitrary integers are definitely less famous than the golden ratio though...

Out of the list of algebraic numbers in question, zero is the most infamous.
That's fair. Sorry, my "GUIs rule" knee jerk reaction flared up. There are a lot of bad GUIs that can give the illusion of helping users, but place upper limits on what you can accomplish. I have been frustrated by various hacked together UIs on top of Linux package management and wrappers around source control tools.
Or just "Afraid to use the terminal?"
I currently have an ansible script which can set up a web-service on any Debian/Ubuntu box, and can be invoked

1) over SSH, or
2) by Vagrant when provisioning a VM.

Docker, on the other hand, provisions it's containers from a rather simplistic Dockerfile, which is just a list of commands. The current solution to provision a container through ansible is rather messy[1], and shows that Docker's configuration doesn't display the same separation-of-responsibilities as Vagrant's does.

Luckily, this lets me use Docker as another provider through the Vagrant API. Woooo!

http://www.ansible.com/blog/2014/02/12/installing-and-buildi...
I would have gone with "not so simple either".
This is a problem why? Fuck'em.
And what happens when you add retweeting spambots into the mix?
I can't speak of psychic energy as it's not well-defined but if anyone is interested in some interesting science on radiation emitted by humans, here are two good studies:

http://www.ncbi.nlm.nih.gov/pubmed/1767800

http://www.ncbi.nlm.nih.gov/pubmed/23865304
Debian was the keeper of the flame for non-X86 forever.

I don't think Android could have happened if it wasn't for the Debian volunteers keeping Linux portable for 15 years.

Yeah, the kernel devs wrote the kernel, but Debian ran the build farm that ensured arm, pa-risc, m68k, SPARC, Power, and MIPS actually worked.
It'd require incredible certainty that any of this were illegal for an employee to risk their career going that route.. personally I'm not sure anything described in the pastebin is definitely illegal, but IANAL
Speaking about where PHP is heading, I think it's pretty important to mention the funding Fabien Potencier managed to get for SensioLabs (company behind Symfony):

http://fabien.potencier.org/article/71/sensiolabs-raises-5-m...

I haven't seen any mention of that on HN.

Symfony components are used in Laravel and upcoming Drupal 8.
The funding above means that SensioLabs will continue to work on solid platform(s) that will bring higher quality development and standards to PHP.

Honestly, I'm pretty happy for that.
I have no idea if it is true or not, but it speaks volumes to the lack of transparency Google offers into the Adsense/Adwords programs.

The simple fact people will consider this plausible is the news.
FF 28.0 in the Ubuntu 14.04 repo, now on FF 29.0. So, no, this is a current problem.
Looks like you handle CSV's and non-Github links to datasets. You should add transparent handling of gz/zip files as well as xls. This would be useful for poking around government datasets.
I'm not GP, but the problem, in my colorblind opinion, is not the hue of the gradient. The extremes of your gradient are way too close together. Nothing really stands out. At least with blue/red, you can make it one extreme or the other (as opposed to white or black...on a white background).

That said, once they got to purple, I'd barely be able to distinguish them, anyway.
Well, for instance, Haskell programmers are much more likely to be researchers than PHP programmers are.
I'm not sure why you think working at Google lends you any credibility in this discussion. To me, your continued discussion here does not help Google's position at all.

Are you authorized to act as a spokesperson on Google's behalf? If these accusations are true and someone thought it warranted a class action lawsuit or otherwise, would you really want to be so visibly commenting on it?
I did this about a year ago, but doesn't really extend or care about rails at all.

http://obvious.retromocha.com

The only "framework" part that you need outside of some reasonable OOP design principles is some amount of type checking to enforce some notion of boundaries. Ruby is super weak in this area, so I added some bits to do that.

For the record, until you experience the trouble that the MVC Big Ball of Fat Models or Controllers gets you to, you probably won't have much appreciation for the service/command style or the hexagonal ports/adapters style. At least, that's been my experience with other developers.
Homebrew is an OS X package manager. Most of Cakebrew's target market will be familiar with that, but agreed on the page not making it very clear.

http://brew.sh/
hosay123, I've worked with the people this post talks about since 2005. Even though I'm the head of the webspam team, I'm familiar with how AdSense deals with fraud.

For example, I often see disgruntled publishers complaining on the web, and from time to time I've followed up on specific blog posts to get the other side of the story. In addition, the group that manually fights webspam at Google is a sibling organization to the group that fights adspam.

Finally, I passed these claims directly to the ads side and so far I've gotten three (now four) different "this is fake" responses from people I trust and have worked with in different capacities for years, including an engineer that I worked with in search quality who later went to work in ads.
That's certainly a valid pricing model to follow, perhaps not the best one.
It is often wise to design code to be testable. This usually results in cohesive, decoupled packages consisting of many simple methods. However, it's rarely a good practice to make custom code in your application solely for testing. That's usually a tell-tale that you could design better for test such that the code can be tested without special modifications, i.e. MVP over MVC.
Pair this with Jeffrey Way's generators and you will end up with something close to what Rails has:

https://github.com/JeffreyWay/Laravel-4-Generators
Out of curiosity, what was the context of his statement? Meaning was it made on a private, but taped, phone conversation?
Is A/B Testing Worth The Trouble?
CVI
My first thought when they mentioned it was the optical illusion where the color looks different because of the colors around it[0]. Maybe having distinct colors (red/blue) would help with that.

[0] Bad at explaining so an image: http://i.imgur.com/oyWO4IP.jpg
can't deny this also looks nice! Good luck with it. Hope to evaluate you vs OP in the not too distant future.
This is an interesting project, and I'm going to have to give a bit more time to it in order to wrap my head around a few things.

One thing that makes this a more difficult language for me to really get behind is the (required?) use of Unicode characters. That will take a bit of getting used to, as I am not in the habit of using ANY Unicode for anything.

I will still give this a chance, though. I'm always open to trying new ideas in the programming head-space.
I don't think most people realize how hard online-to-local-pickup is for a retailer. "Interested in local pickup? Give us a call." is going to be a better customer experience 9 times out of 10. I hope Square gets it. Retailers - many of them with limited resources and technical skills - face big technical, UI, and logistical issues. I'll give one implementation example that shows all three; this applies to all retailers who don't stock everything in the store OR have multiple locations.

The retailer must essentially keep availability counts for items that can be sold online (if different), then a separate list per store. These lists must be accurate or you're going to have angry customers showing up to grab items you don't have - and anyone who has done retail knows how hard accurate inventory can be, especially with entry-level staff.

Once inventory is accurate, these retailers must then program their sites to show which items are available for pickup at which locations. THEN if you want to allow customers to pick up items that aren't in the store, you need to communicate when they can pick it up based on delivery time.

It gets complicated: do you have the customer choose their closest store up front, even if they don't want to do local pickup? This implementation wastes online buyers' time and creates a barrier to browsing. Do you have customers choose the store when they check out? If so, the option might not be available for the items they've chosen thereby frustrating your customer. Do they choose the store on the product page? The product page is usually your busiest page already, and you generally don't want to add any steps between it and checkout.

Regardless of which option you choose, you then have to figure out how to deal with available at nearby locations. Do you really want your user selecting all 3 nearby locations to check availability for pickup? Do you want to display every nearby store that could fulfill pickup? How do you give them the message that it's available nearby? Should you share the negative when it's not available nearby either to prevent them from checking each store?

The questions just go on.

It's not impossible, but there's a lot that could go wrong here for two or three-store retailer. Even Target got it wrong when I recently tried to buy a wedding gift. They wanted me to wait 2 days for them to deliver a vacuum to the store, even though they had half a dozen in stock when I called.
Can Big Data Save Horse Racing?
I guess it depends a bit on what genetic regions we're talking about but to my knowledge since the Y contains so few genes it's not surprising that almost none of them changed for a long time. It's already very stripped-down. I'm far less sure about non-coding regions though, I'd have to check up on that.

From what I can tell the text doesn't contain a lot of new or surprising information, but it does present it in a misleading way.

It's clear that sexual dimorphism in humans is profound in some respects and superficial in others. Since the Y chromosome regulates sexual development, and since males do get some metabolic modifications, saying the Y influences protein synthesis in vital tissues is mostly a truism.

Saying that for example autoimmune diseases with lopsided sex distributions are not connected to sex determination is a fruitless semantics game disconnected from the actual science. To be fair, it's not any more sensationalist than the "rotting Y chromosome" spiel which has been in the press earlier, but all of this is really more a testament to all the things that are wrong with science reporting (and the scientists who enable it) than anything else.
Just tried and there is -ZERO- lag. I'm tremendously happy and the dev tools are white now!

20 tabs, each with it's dev tools open. Zero lags! I'm in love.
IOS 7 Squandered a Year of Third-Party Development on Superficial Changes
Donald Sterling Is a Blight on Jews’ History in Basketball
I've just started using docker (I had to reimage my linode to take advantage of the recent upgrade). I've got nginx and postfix containers running. If anyone can offer some thoughts on the following points I'd be grateful.

1) I built two Dockerfiless on my laptop (one for nginx, one for my postfix setup) tested locally, then scp'd the Dockerfiles over to the server, built images and ran them. I didn't really want to pollute the registry with my stuff. Is this reasonable? For bigger stuff, should I use a private registry? Should I be deploying images instead of Dockerfiles?

2) The nginx setup I deployed exports the static html as a VOLUME, which the run command binds to a dir in my home dir, which I simply rsync when I want to update (i.e. the deployed site is outside the container). Should I have the content inside the container really?

3) I'm still using the 'default' site in nginx (currently sufficient). It would be kind of nice to have a Dockerfile in each site I wanted to deploy to the same host. But only one can get the port. I sort of want to have a 'foo.com' repo and a 'bar.org' repo and ship them both to the server as docker containers. Don't really see how to make that work.

What I think I want is:

- a repo has a Dockerfile and represents a service

- I can push these things around (git clone, scp a tgz, whatever) and have the containers "just run"

Not sure how to make that fit with "someone has to own port 80"
Yeah, agreed. We do actually handle xls files in our main product (this is sort of a demo of an API connection). Probably should have enabled that for this little implementation.

Can't yet take gz/zip files, probably should though.

Thanks/cheers
Large publishers have had account managers since 2008 and earlier. But you have to be pretty large.
Hope you enjoy it :)
Android Silver Program Designed To Give Google More Control
My cynical reaction: Heroku is a pillar of the frequently extremely PHP hostile Ruby community trying to extend an olive branch now that they want to do business with the community. Obviously Heroku isn't responsible for all the PHP hate in the Ruby world (or any of it for all I know) but I understand why they feel the need to open with a compliment & appeal to friendship.
I was wondering about that too.

Why not just let us write to the C++ API ???

It seems .... circuitous. And I don't like the debugging implications at all.
On my Nexus 4 it worked fine for a few months, but then they started blocking it (I used it lightly during my commute, probably <1gb monthly, I have the $30 5gb-fast/unlimited-slow plan). Give it time, it'll probably happen to you too.
What kind of magic are you looking for?
A quick google search of 'homebrew' tells me: 'Homebrew — The missing package manager for OS X'

Ah, now it makes sense.
This is simply crazy talk. He creates a list of genuine issue, e.g. over-engineering and slaps them under the moniker of "because TDD."

I don't know how many times production was saved because there was an automated test written via TDD that prevented bad code from going out. Too many times to count.

What the author is suggesting is to throw this out and go back to the days of broken production apps are okay. This has never bothered Facebook, and it will definitely bother engineers who want to take pride in their work.
Cool visualization. I hadn't heard of quad trees and this presented them in a very clear way. Within a couple of minutes I understood how they work and what they are used for (the hit detection use-case particularly resonated with me).

Couple of minor gripes, though. It encourages you to play with the first pair of tree/map, which involves a lot of scrolling (which is stolen and zooms if I accidentally hover the tree). This would've been a lot easier if I'd been encouraged to move on and see the side-by-side (or maybe omit the bigger versions completely).

Also, you asked my biggest question ("Why four children?") and then completely failed to answer it. This looks like it could be implemented trivially as a binary tree (twice as deep, of course). Why 4? Why not 2, or 8? Arguing "by definition" tells me nothing.
Or if you are on mobile m.xkcd.com/<number>
I dismantled my website due to ugly public attacks and moved it twice. I kept the info but it is currently not published.

The body does not maintain a constant ph. The body maintains the BLOOD at a very narrow range of ph because if your blood leaves that very narrow range of ph, you die. But if you watch crap about dinosaurs and stuff, you learn that not only are bones necessary to support your mass when you leave the ocean, they are necessary to mediate your blood ph. You can have sharks and invertebrates in the ocean because the mineralized sea water maintains their blood balance. When you leave the ocean, your body strips the bones of calcium to maintain blood ph when the body is in crisis. This is consistent with the fact that my condition is known to promote acidity of the tissues and also known to cause early onset osteoporosis, as early as the teens.

If you develop acute acidosis (example: http://en.wikipedia.org/wiki/Diabetic_Ketoacidosis), they hospitalize you because you can die within 72 hours if it is not successfully treated. But then for my condition, they don't even treat the acidosis that they know it causes.

So whoever told you the body maintains a constant ph is full of shit. It isn't true. The body maintains a constant blood ph, a very different answer. I think blood tests are likely not a very good indicator of subtle or early problems because your body places a real high priority on keeping your blood in homeostasis in order to not die. I suspect we would really need to do tissue samples to genuinely track some things in a meaningful way. So I tracked things symptomatically since a lot of the tests the doctors ran said there was "nothing wrong with me" yet I was dying.

Feel free to email me if you want to discuss it further.
Curiously, they don't say how the switch in the rats flip-flops. The article notes that crocodile sex is determined by the temperature of the egg, which is also fascinating -- but how would it work in mammals?
I'm new here. Is there a new language mentioned on Hacker News this frequently? I have skimmed the front page and seen at least a dozen or so being mentioned in the last month.
No worries, I understood where you're coming from. I partly agree with you: I switched to git at the command line from tower because I wanted to script some features (and understand the tool better), but having the GUI there made it easier for me to get used to git in the first place. (though admittedly, tower is one of the good GUIs which make it easy to do a simple task, too many of them do the opposite)
This is exactly an argument I am having at work right now, from someone that hates dependency injection.

If I have a controller that calls a service, and a service that calls a dao, then the service needs the dao injected:

public Service(Dao dao) {
this.dao = dao
}

Which means (in the absence of autowiring) that the controller needs to be "aware" of the dao:

...
service = new Service(new Dao());
result = service.serviceMethod(param1, param2);
...

And that is objectionable because of putting too much of a burden on people writing controller logic, because of separation of concerns, etc. I am finding it difficult to argue against that point.

I get that this goes away if using a proper inversion of control container so one can autowire, but that is not always practical.
aggronn, I've been debunking conspiracies about Google since 2001 ("buying ads on Google makes you rank higher/lower"). I believe there's value in commenting on untrue claims quickly to nip them in the bud. As a long-time employee with a close perspective on the post, I can tell you from personal experience that the terminology is incorrect and the allegations are completely at odds with my direct experience. I'm also hearing multiple, strong confirmations from the ads side that this post is completely fake.
SpeedStick Gear Targets Adrenaline Junkies via Twitter, YouTube Personality
When you know that you're working towards something
I think the key may be that the rich roommate actually prefers a room, while the poor roommate does not (according to their assigned valuations) have any room preference at all. So if the poor roommate is second, they make the most choices in this calculator and their lack of preference makes the split even, whereas if the rich roommate is second, they make the most choices and their stronger preference causes them to pay more.

Even so, the order still seems to matter somewhat, and I would have expected it not to matter at all.
Thanks for jumping in. Lots of interesting information.

> What do mean by monitoring? Would be interested in hearing more about what you're talking about and the use cases.

Maybe I expressed myself incorrectly. I mean this type of information profiling.

https://developers.google.com/chrome-developer-tools/docs/ti...

Very useful to track down where some, sometimes pesky, JavaScript code has bound events to the DOM.

This is a big debugging pain, to track down why events are being triggered, or not working, in a certain way and what JavaScript code is responsible for it.
Indeed. I think DHH was very specific in his criticism, that for controllers only, then TDD and unit tests aren't the wisest choice, because they introduce complexity and potential problems (really, are you sure all those mocks catch all your edge cases?).

The critics, including Kent Beck here, have by and large reducto absurdum'd it to "DHH HATES TESTING AND EATS BABIES", which isn't his point at all. Sure, DHH could have been more narrowly focused and less confrontational in his language, but that doesn't mean he's wrong.

Look at it this way... are controllers hard to test in Rails, or are controllers hard to test in general? This is an argument for lightweight controllers that are little more than routing glue (don't put business logic in controllers), and then giving them a pass on unit testing in order to keep them clean.

This gets to something I've been chewing on and should write about, which I think of as Tautology Testing. It's endemic in excessive unit testing. You create a mock so you can create a test so a test exists. The test doesn't really test anything except its own existence. How is that useful? You're just adding complexity, not functionality.
What's the point of homebrew cask? Why is it any easier than finding an app I need and installing it normally?
Vanilla Google Maps is not a lot slower on Firefox than on Chrome for me, but third party apps that build upon GMaps, like Garmin Connect (Running / Biking tracking tool for Garmin GPS watches) are definitely much slower and less responsive for me on Firefox than on Chrome.
Or deal with HTML, JS, CSS :( (my job).
It doesn't seem too frequent to me, but I often hear of languages first here on HN.