skysight-inc/HackerNews huggingface dataset:
Show HN: Access to VK.com (Vkontakte) API via R
In my home town, a good superintendent left for a bigger district with $50K more salary, and was replaced with an insecure incompetent. Test scores started dropping, but by relaxing requirements for minor details like homework and discipline (bad behavior including assaulting a teacher was rewarded with candy, I am not making this up), the graduation rate started going up. Then an EF-5 tornado hit....
Ask HN: Easiest way to install a GitHub app?
Hey, I am a middle aged product manager, I want to sharpen my technical chops and play around with a few ideas as a side project.

I am finding it time consuming to get a VPS set up, to where I can clone a simple github app and get it working.

I chose a cheap VPSDime server, which has nothing pre-installed. Maybe that was my mistake.

I configured as best I could ssh, postgres, nginx, github, ruby...

Right now it is complaining that I don't have active_record installed.

I don't have a lot of spare time, and most of the dev guys I know seem to rely on someone else to setup their boxes.

Is there an easier way? Should I throw money at the problem? Are there any scripts books or videos that get you to the point of having something meaningful running?
Challenging read from a software guy like me. But really thankful for you publishing it. Where can I read more about these things? We're starting our own company and as money starts to flow in, we're worried about not being prepared enough to draw all this numbers. I'd prefer to know all of this instead of hiring someone and blindly trusting her/him on these things.
Indeed. However, Zurl is a standalone server process, not a library that you link with.

I know that the GPL's effects across process boundaries can be a bit of a gray area depending on how coupled the processes are, but as the author I'll just clarify that it's safe to use Zurl's ZeroMQ-based interface ("ZHTTP") without the result counting as a combined work. The fact that I've published ZHTTP as an independent spec may help ease minds on this: http://rfc.zeromq.org/spec:33
>you were also forbidden from looking at any open source software

For work/internal use, but I'm pretty sure he kept using it in his free time.
Think there's an issue with the throttle challenge

For tests 3 and 4, you expect the context and args to be determined by the last callback. But according to the first 2 tests, the last callbacks should never be invoked.

Looks like someone already raised an issue: https://github.com/kolodny/exercises/issues/3
I am not sure if this is the same, but Redhat's Project Atomic does similar thing using rpm-ostree

http://www.projectatomic.io/
He won’t say what all the adjustments were in the final e-mailed agreement with the Trop, but they included playing with a hand-shuffled six-deck shoe; the right to split and double down on up to four hands at once; and a “soft 17” (the player can draw another card on a hand totaling six plus an ace, counting the ace as either a one or an 11, while the dealer must stand, counting the ace as an 11)

The blackjack rules (excluding the discount agreement) mentioned don't seem out-of-the-ordinary. Most Las Vegas casinos have these exact rules for their higher minimum tables http://wizardofvegas.com/guides/blackjack-survey/.

The house edge of this game (using http://wizardofodds.com/games/blackjack/calculator/) is 0.33457. There's no additional player-favorable rule that I can imagine to which all 3 casinos agreed (like late surrender, a rule I've never seen in a Las Vegas strip casino) that would account for the ~0.08 difference in house edge. Like another comment suggested, I think there's a good chance he intended to count cards when calculating his odds. A simplistic card-counting strategy (http://wizardofodds.com/games/blackjack/card-counting/high-l...) could account for the difference.
Ask HN: Where i can get design layouts for training my frontend skills ?
Hi.

About 7 years of my life a worked as a project manager, and now i wanna switch to frontend development. So, i'm not newbie (5-7 sites with mobile and adaptive), but i think it's still not so much.

And, i would like to find some psd (or any kind graphic layout). Result of my works should be under free license. If you know where i can find them, please let me know. Or (it's even more interesting) if you are web-designer, and you have some time for open source, we could work as a team.)

My last one work is http://30621.selcdn.ru/joinme/index.html https://gitlab.com/notagame/joinme (russian language).
>> "Heck, the earth use to be the center of the universe according to religion."

Em, didn't everyone believe this? Sure religion was slow to adapt when proof the Earth wasn't the centre was brought forward but at the time that was a pretty big claim.

>> "Personally religion is a non-scientific thing that really has no place in science at all. As a result, it's really not relevant on hacker news either , IMO."

Of course that's your opinion but this is Hacker News, not science news. If your interested in how someone runs a large company it can be relevant to look at religious leaders like the pope of dalai lama as that is essentially what they do and on a bigger scale than any company.
To show that there is a correlation you have to quantify both hiring process evaluation and job performance. Since both are elusive quantities that are hard to quantify, showing there is no correlation may just mean that measurements are done poorly. E.g. when job success is measured by boss satisfaction.
Clojure Web Security (2014)
Bilderberg Conference attendee list (2015)
With less water, we could become herbivores. A higher price for water could be reflected in the amount of meat that we eat. And truth be told, a lot of us, myself included, could live quite well on less food overall.
Snoop Dogg wants to be a new Twitter CEO
If this is your honest opinion, you'd be pushing for emergency triage of water allocation for agriculture. Specifically, reducing luxury crops like almonds, beef, and chicken.

We could cut our water usage in 1/2 and still produce enough nutritious food for the entire nation plus some.

This coming from someone who has favorite pass time of smoking brisket, ribs, and grilling steaks. It's just the facts.
Most of the east coast doesn't suffer under a meaningful hurricane threat. For example, the average 'hurricane' that has hit Virginia in the last 40 years, had 40 to 70 mph winds.

Earthquakes of any consequence are extremely rare on the east coast (basically non-existent).

Most of California's population centers are humid in fact. Los Angeles averages around 71% daily humidity; San Diego is 70%; San Francisco is 74% (among the highest in the US). By comparison Washington DC averages 64%; Pittsburgh averages 68%; NYC averages 63%. And for contrast, Denver averages 52% daily humidity, and Vegas is 30%.
Thank you, I am afraid there isn't enough published on this, which is part of what motivated me to write it. I know the content is a bit dense, I hope it was at least palatable enough to get to the end.

For further reading I highly recommend SaaStr.com which is a blog on SaaS and helpful for most recurring revenue type businesses. I also think it is wonderful to work with an accountant, and once you start getting revenue it is worth it. We waited a long time to do this (which is part of why I know as much as I do about this stuff) and that was probably a mistake, as it made a lot of cleanup work for us later on. Hope that helps, good luck with starting your company!
The high level stuff is the same, and works out of the box. But if you're asking about why Linux doesn't work on some hardware, then it's about the low level stuffs having slightly different optimization and changes and break older code.
This is really only relevant to Startups that are trying to raise VC money.
The fact that people are very passionate about the slider means you're onto something.

(Wish I could find the story about how it's better to have a few people who really love your product than a bunch who simply like it.)
This isn't cutting any Gordian knot; this is just flow being insufficient to meet the demands of rights holders with certain priorities. (And its not about farmers except incidentally, not all the affected rights-holders are farmers, and its just based on the priority dates of certain senior rights holders in certain watersheds, not whether they are agricultural or other kinds of users.)
SLEEPTRACKS SLEEP OPTIMIZATION PROGRAM- FALLEN ASLEEP IN LESSER THAN 15 MINUTES
Distros have to choose which kernel version they want. This can be a tradeoff for stability or new features etc. If they pick an older kernel, the decide which newer drivers they want to try to backport. Then they decide which drivers they feel like supporting and putting in the repositories, and which of those get loaded onto the installation media. Some distros might have closer relationships with specific vendors and have information about configuration details or workarounds. Laptops are notorious for using nonstandard hardware from niche suppliers and taking a lot of work to configure.
Your experience with Consul and mine with etcd may suffer that of the pref for hard drive brands.

> Also, looking at your quote I would consider it very out of context, the previous sentence right before that:

> "If there were any changes to these etcd machines, AWS would reboot them to apply the changes, potentially all at the same time."

>So they had Cloudformation potentially rebooting all there machines at the same time, I think any cluster is going to have an issue when that happens and really has nothing to do with CoreOS's update system.

Two things:

(a) I'm saying that etcd has a tendency to break in _exactly_ _the_ _same_ _way_ without AWS rebooting anything.

(b) Production systems have a tendency to fail completely and all power on (or experience the end of a network partition) at the same time. It is absolutely necessary for anything as essential as etcd claims to be to be able to deal with a situation where all machines are powered off or unreachable to each other, and that comes to a sudden end.

CoreOS's update system happens to trigger this on its' own, because when it updates, it relies on etcd.

If you're not going to rely on CoreOS to update itself, what in the world is the point of CoreOS?

I'm just saying there are other boxes of sticks, putting some sticks in a box ain't that fuckin' hard, and these particular stick-gatherers are suffering from a dangerous bout of megalomania.

Feel free to lean your livelihood up against whatever box of sticks you please. :)
A Data-Driven Exploration of Tech IPOs from 1997 to Present
Nix is awesome. The last time I ran it stuff like gnome-shell wasn't packaged, which made it hard to use for a desktop (they did have a number of window managers packaged though).

That's the hardest part about nix right now (the lack of packaged software). It is pretty easy to write your own packages for basic software though (and the Nix project is good about taking pull requests).

Looks like gnome3 is packaged now, I'll have to give it another shot: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/s...
There's a decent movement going to make restrictions like that from HOA's null and void if they conflict with state conservation interests.
He's written a tool that solves one problem using one set of algorithms and a very simple format in a few thousand lines of c.

It almost certainly contains fewer bugs than gnupg.
I found a link. I wasn't able to reply to the commenter below. http://sacramento.cbslocal.com/2015/04/30/california-a-state...
Regulation is where scarce resources go to die. Why not find a way to produce more?
The Day Philae Landed- ROOM the Space Journal
Love this question, I think most SaaS companies underprice (including us!). We have raised our prices once since we started, and probably will continue to do this yearly. We make most of our money on expansion revenue (additional seats or services like our API), so the per seat pricing isn't that limiting. But why collect $600 when you could collect $1000? We try to price at the highest point where people will complain but still buy.
Yeah, we're clearly talking about Mesosphere.
> True but the state well knew this was coming _some day_ but did not institute policies allowing farmers to slowly adapt to a new reality.

Farmers don't need state policy to be able to slowly adapt. Farmers (and other senior rights holders) can choose to invest to prepare themselves, or they can choose to take the risk that someday the water that they have a right to, subject to more senior rights being filled first, simply doesn't exist any more after those more senior rights are filled, and they stop getting it suddenly.
> I think even better would be to solve a problem on the whiteboard WITH the interviewer: one which the interviewer did not know or prepare an answer to.

wow, that's a great idea. I would love that interview. In addition, they should solve a problem with an engineer that would be their junior and their senior, to show how they contribute to those situations.
The hype is less about present practicality and more about the future. Within just the last few years print resolution and available print materials have skyrocketed while printer prices have dropped enough that you can even find them on some store shelves. If that trend should continue, it may well supplant "traditional machinery" in some areas.

Until then, we have hobbyists and artists working to improve the industry and bring attention to the potential it can have for the future.
Ah, you're concerned about 'entire'. Yes. As of 2014, it's just people without the means or skills to change their situation. http://www.nytimes.com/2014/10/03/us/california-drought-tula...

It's more accurate to say, municipal water authorities can no longer meet demand.
>>Em, didn't everyone believe this? Sure religion was slow to adapt when proof the Earth wasn't the centre was brought forward but at the time that was a pretty big claim.

Everybody believed it due to religion, even when the science described a different reality.
Fewer workers means less spent on wages, which means less contributed in income taxes. These changes reduce government's profits while increasing the oil company's profits.

The new NDP government promised as a part of their campaign to review royalty rates. This seems like an argument that they'll need to increase even just to keep revenue constant.
As a designer that would love this tool for the speed and cleanliness factor it would give, i have a few other Qs:

1. Does it spit out a css file or multiple css file I can use immediately? Can i actually amend a local document with it, or do I have to copy paste?

2. Does it give any critique on poor selector methods? Definitely have a few foolish ways of doing things that could be improved with a little bit of "hey...stop that" feedback, in my work

3. ??? PROFIIT

4. Can it give me a few stats on the css to benchmark it? You're already showing me the unused ccs selectors, can you present other data that you could present to your boss and say hey...look at this, this is why it's worth doing this stuff

5. Known browser issues highlighted. "Hey! In IE8...that div ACTUALLY does this". Also, heres how to fix it. Insta–contextual documentation. As I say that I realise I'm asking for Clippy back in a way so I shall bow out. Responsive design? worth thinking about...anyway!

Really interesting project! I'm going it use it this weekend and see how it goes :)
One solution is technology. Trap evaporated water and recycle it. Invest in high performance hydroponics. There are so many solutions to flood farming that no one bothers to invest in because the water is essentially free to them.
Ah, I see what you've done here - makes sense. It's nice work too.
Do you seriously think the answer isn't "produce more, and stop using so much until we do"?
I respectfully deny your simplified definition of "hate speech" and reassert that history has decided that hate speech is to be prevented (unless we regress completely to a pre-civil rights society). Your supposed "justification of violence and coercion" seems misinformed, and I'd like to hear more about these instances of injustice.
OPM breach – I am one of the millions of federal employees who just got hacked
Like most CSS tooling, this is a treatment for a symptom of an underlying disease: the inherently global nature of CSS[1].

Rather than "blob" all your CSS together, and then "de-blob" it, why not build your CSS dynamically based on what components your app is using?

[1] I strongly encourage you to watch this talk: https://vimeo.com/116209150
X509 extensions can be marked as critical. Certificates must be rejected if the stack encounters a critical extension it doesn't understand. (In theory at least, I haven't looked at real implementation behaviour.)
I pointed at an open-source project by Cisco that pretty much sidesteps them entirely.

Obviously, CoreOS is going to start wanting your money pretty soon, as well.

Having worked for one of the earliest commercial linux distributors, I have little faith in such an effort to get anywhere. Red Hat and Canonical can barely make a dime.

Mesosphere isn't really an alternative to etcd, though. It relies on Zookeeper, which isn't perfect, but is much more battle torn than either Consul or etcd.

I have high hopes for something to replace Zookeeper, but I'm not deploying something in infancy which inherently can't heal from outages.
GnuPG is complicated, the gpg(1) man page is quite extensive compared to signify.

I imagine very few people have set up PGP without the help of a search engine.

$ man gpg | pr | grep Page | awk '{print $6}' | tail -1
58
$ man signify | pr | grep Page | awk '{print $6}' | tail -1
2
I'm a bit confused on the issue of certs because I've heard that they don't work for subdomains, so can anyone tell me:

If I get a cert from someone like letsencrypt for a domain I control, for example "xyz.com", will that same cert also work for "wiki.xyz.com", "blog.xyz.com", "someotherthing.deepdomain.xyz.com" and so on?

I'm interested because I use jwilder/nginx-proxy and then have a docker container for each of my webapps, each connected to a different subdomain (video, music, rss, vm, desktop, files, etc).
This is poetic:

"Kubernetes has a Clintonesque inevitability to it"

:-P
Why the fu ck would you do that?
From svn's red book:

By atomic transaction, we mean simply this: either all of the changes happen in the repository, or none of them happens. Subversion tries to retain this atomicity in the face of program crashes, system crashes, network problems, and other users' actions.

Does Nix mean the same thing? Is it atomic in the face of program or system crashes?
Totally off the top of my head, but:

It seems like a service discovery system for IoT devices might be a good idea where the service discovery system is tracking what is actually allowed to run a particular service - like an HVAC system running embedded webserver.

For example, imagine if the industry had it so that the HVAC system was to announce that it had the capability to be an embedded webserver for status - but it instead should check to see if there is a different host to where it should send its metrics. This way you could control what the core host is for said website - and have all systems in the community basically ask for direction on self-hosting or publishing...
No vilification of farmers here. The reason it's absurd to squeeze urbanites is their a minor user of the resource. You simply can't solve the problem by reducing urban water usage.

You should always look at inefficiencies in the 80% before you squeeze the 20%. And if the industry contracts a bit, it's not the end of the world or even a significant impact on the economy.
Yeah, that makes sense. I was just under the impression that most of the hardware-facing software (kernel, drivers etc) were the same across distros and therefore keeping up with Ubuntu would almost be a given.

I was about to express my shock that Windows server had immediately obvious bugs, but then I sensed the irony. I would guess that Windows server on any given x86 server works a lot better than nixOS on my laptop. So not sure if I get your point there.
Sam Altman: We're in a 'mega bubble'
You should look at Cloud Foundry again, particularly with the introduction of Lattice. It used to be tied to apps, now it basically thinks about tasks and processes in a completely generic way.
This has been slowly building to this crisis since the 70s at least. California hasn't done anything of value to curtail the crisis.
>The problem is religion is a constantly moving target for falsifiability. Religion constantly transforms itself to fit the world as science describes it.

So does science.

>Heck, the earth use to be the center of the universe according to religion.

That's a gross simplification. See: Ptolemy and Nicolaus Copernicus.

It was actually "common knowledge" in the scientific community that the Earth was the center of the universe. The popularized issue between Galileo and the Catholic Church (and not just "religion") was largely political. The Catholic Church, to retain power, could not be wrong about anything. If they had been teaching (with scientific backing even!) that the Earth was the center of the universe. That was how it must be.

Galileo wanted to educated people outside of the scientific community that the Earth was not the center. So he had to be silenced, else the Church would be wrong and may lose power.

As early as 300~ B.C.E , there is a reference from Archemedes' book "The Sand Reckoner" of a heliocentric system described by Aristarchus of Samos. [0]

[0] https://en.wikipedia.org/wiki/Aristarchus_of_Samos
While I like Consul, and actuallly run Consul in the CoreOS cluster I'm currently building, I have had far fewer problems with Etcd in AWS than Consul. For starters there's a long standing issue supposedly to do with ARP caching that makes restarting Consult iffy (we need to keep the Consul instance down for 3 minutes to prevent the cluster membership from flapping continuously after it rejoins, for example).

On the other hand I've never seen the problem you describe where the cluster won't heal after an upgrade.
Scarce resources need to be exposed to market forces. The purpose of markets is to allocate scarce resources and price them appropriately.
Desalination is actually quite expensive. They're building a plant down by San Diego.

Not to mention the pollution issues impacting fisheries and coastlines.
Sassy-exists is Sass micro library for existence checks
When was the last time you talked to a bank teller face-to-face to withdraw cash?
Are these challenges supposed to be solvable within a reasonable amount of time in an interview (15-30 minutes)? Looking through the problems they are all things I could do, but I don't think I would be able to solve any of the harder ones in under an hour - and that would be on my own, not in a high-stress interview.