skysight-inc/HackerNews huggingface dataset:
Avdi, love the tapas! :) What do you think about collaborating with some of the other wonderful content creators on this list to bundle, say, "Any 5 for $30"?
So, you have two choices:

1) You can go through the trouble of identifying and resolving all the edge cases that you encounter when using Git as a deployment tool. Keeping in mind that one of those may result in an embarrassing security disclosure. Woops.

2) You can use a deployment tool that was developed for that purpose, has existed for years, and has had many sets of eyes on it; many of which are inevitably more experienced than you. And you still may end up with an embarrassing security disclosure, but the chances are better that you'll hear about it through responsible disclosure channels first, rather than waking up at 3 AM to the voice of your boss/client asking why the site is redirecting users to buy Viagra at a discount.

A bonus third choice:

3) You look at existing deployment tools and ask yourself "I wonder why they do that?" Then, maybe ask around a bit. Once you've got a good idea of all idiosyncrasies involved with deploying software, then you embark upon building your own tool. I think you'll find that simply `git pull`ing from your httpd document root and `rm -R`ing the .git/ directory won't be your final solution.
He admits in the article that the Guiding Paw of Deimos is a disingenuous story; in truth he was dissatisfied with his career path. He motivated himself by being accountable to an external party, a psychological "hack" that works for many people.
CatFi.Sh is back online (new host)
1660 - 96% white

1700 - 89% white

1800 - 81% white

1870 - 87% white

1910 - 89% white

1960 - 89% white

You are technically correct, even slightly more if you distinguish between white and Hispanic. But I'm really not going to argue over a few percentage points with anyone.
By default it won't spawn SSH processes but use paramiko instead (python module that implements SSH).
The NSA doesn't have enough analysts to "closely watch" anywhere close to that number though.
No hacking without freedom.

This is like asking on a weapons manufacturer forum to only discuss small arms used privately.

News services are making money of this? Oh my, as opposed to the usual posts here, which never are about money, at all? Are you actually serious? If I read the current front page, there is so much stuff on it that is not "deeply interesting". I just don't want to bash any particular one of it, I don't mind that, but I gotta call hilarious, unintentional irony here.

If you're that worried about deeply interesting subjects, and not an apologist for power and its abuses, then I am looking forward for your threads on all the other stuff. Funny how so far the people who complain seemed to have more of a problem with this particular topic, than superficial things in general? You think there is a connection?

As for the "this will not stop anyway", that's nonsense.

Somebody is saying this is inevitable - and whenever you hear somebody saying that, it's very likely to be a set of businesses campaigning to make it true. -- Richard Stallman
Salt/Puppet/whatever. I ignore them all. Why? I have put a lot of thought in to this area.

IMHO, the overwhelming problem with salt/cfengine/puppet style solutions (which I will refer to as 'post-facto configuration tinkerers', or PFCT's) is that they potentially accrue vast amounts of undocumented/invisible state, therefore creating what I refer to as configuration drift.

IMHO, a cleaner solution is to deploy configuration changes from scratch, by deploying clean-slate instances with those changes made. In addition, versioning one's environment in this way creates an identifiable point against which to execute automated tests. (This class of solution I refer to as 'Clean-slate, Identifiable Environments' or CSIES.) Examples are Amazon AMI's, and any other kind of versioned/identified VMs.

PFCT's deployment paradigm tends to be relative slow and error prone. CSIE's tend to be fast and atomic. PFCTs are headed for the dustbin of history. They are temporary hacks that clearly grew from old-school sysadmins' will to script. CSIEs embrace modern day devops, as more holistic entities that embrace virtualization and recognize the integrity of the environment as critical to preventing ridiculous numbers of environment-induced, service-level issues that are an expensive tangent to service development, testing and deployment. Thus, I would argue that what we are looking at with PFCT's is a failed paradigm, and with CSIEs, the now real and current opportunity for something far more elegant.

(Disclaimer: Haven't tried ansible or vagrant first hand, but they do seem to be PFCT's to me.)
Startup Design Examples of Login Forms and Signup Pages
Is this sarcasm?

The new rating is probably right. Maybe the timing looks suspicious, but the new rating would have come sooner or later.

There's a collusion of US Government and big corporations, but rating agencies have been pissing off Washington, so I don't think in this case there is collusion.
yes. Especially when it is of this importance. Even IF it was 80%, which of course it is not.
This is basically a tree like data structure.

Did they look at http://www.ibase.ru/devinfo/DBMSTrees/sqltrees.html and see if it can be adapted to their problem?
See also: "The Cool Cam"[1] on The Daily WTF.

1: http://thedailywtf.com/Articles/Classic-WTF-The-Cool-Cam.asp...
Yeah, except that the cost of power to run those machines can be significant. The most obvious difference would be reducing consumption by replacing a CRT monitor with an LCD. That should have minor effect on Ubuntu ... today ... maybe. But I do remember fighting to get a monitor configured a couple of years ago (before I moved to a Mac).

Are modern desktops more efficient than 10 years ago? Hard for me to say although Intel has a paper that says that Energy Star and other measures make a big difference.

Probably the easiest thing to do would be to swap the old desktop for a modern laptop. You'd gain all kinds of energy savings - LCD screen, automatic sleeping, etc.
Any physical activity is obviously much better than living a sedentary lifestyle. If you only like running, that would be better than nothing (though your joints may not think so). But the argument here is that if you have limited time and are looking for the most benefit per hour of physical activity, strength training is much better than cardio. As for why barbell training in particular is so much better than other ways of getting strong, I recommend this article: http://startingstrength.com/index.php/site/article/strength_...
Would this be a good resource for someone who doesn't have a CS degree and who doesn't necessarily know the foundation of CS?
> the translucent bar button

a.k.a "the pill".
We need stories on Snowden because ultimately this story is not about Snowden but how the government deals with the privacy of individuals.

We are at the intersection of privacy of individuals and technology. The internet made information abundantly available for anyone (including govt) to search. Our entire lives is being tracked and recorded permanently in history. The people ("big brother") that control this information can control our lives (we all have secrets and/or broke the law one way or another without knowing it).

We as the tech community, we have a responsibility to protect the privacy and the rights of individual more than anyone else. Some of us on Hacker News build products that millions of people use. We need people that build these product bring awareness of privacy concerns to their companies. If we will not stand up for the privacy of individuals, who will? the Senators of our country?

We need to make people more aware of privacy issues, not less.
Could you imagine if Daniel Ellsberg...

Hmm, let's see what Ellsberg has to say, shall we? http://www.ellsberg.net/archive/edward-snowden

"For the president then to say that there is judicial oversight is nonsense – as is the alleged oversight function of the intelligence committees in Congress. Not for the first time – as with issues of torture, kidnapping, detention, assassination by drones and death squads –they have shown themselves to be thoroughly co-opted by the agencies they supposedly monitor. They are also black holes for information that the public needs to know."
I always hear this, but I'm never sure what the solution should look like. I mean this completely seriously: what is the expected stance to take? I'm white, middle class, lived a life without serious struggles, college degree, living alone, big screen TV, new car, great neighborhood etc. So clearly, I'm one of the beneficiaries, and I mean that too, completely, seriously. Please don't take this as sarcasm; I'm merely trying to make sure we're on the same page about how many benefits I enjoy.

That having been said ... What is expected of me? How should I act? How should I feel?

When people get angry about this subject, I understand their feelings and I don't think for a minute that everyone was born with equal opportunity -- but, should I be throwing money at people? Should I give up my life dreams to go even the odds? I'm not sure what the expected response is? Is it enough if I hang my head at my ancestors, pay my taxes, and do my best to not sound entitled? I'm quite serious, because for all of the complaining about how good people like me have it, I never hear a series of actions that makes my life "acceptable" instead of "something that just causes seething rage in people when they think about it."

EDIT: I guess what I'm saying is, I don't understand what the appropriate response is when someone says, "You don't own slaves but that doesn't mean you didn't get the benefits from it!". Is the answer "yes", "no", "I see", "I'm sorry"?
What has that got to do with anything? If someone donates half their wealth to charity and keeps the other half for their heirs and family, is that morally wrong? How does them still being super rich in any way negate their massive charitable contributions?

At what point is it enough? 50%? 70%? 90%? I bet I can find examples for each of those percentages where billionaires gave up about that percentage of their wealth. Surely that disproves the OP's claim that the super rich NEVER give significant portions of their wealth to charity.
Finally, someone started taking my advice! This is very interesting. I never considered that homeowners might put up fake signs to detour the public.

"Special logo thanks! ---> We'll put your logo / icon (280 x 280 px) PLUS a link to your website on a special thank you page in the app! Plus, an advance copy of the app.
Estimated delivery: Jun 2013 "

https://news.ycombinator.com/item?id=5794094
Loglevel: Minimal Lightweight Logging for JavaScript
Nearly anything you say about a classified intelligence program to unauthorized people, you mean. Yeah, I think that's the point :)
The 5 simple bits of sh/bash you should know
Yeah, design lacks a bit, next weekend then :)

The AI is more or less a little bit more intelligent than just a random walk, trying to
1) win if possible
2) at least not to loose
3) set a random point.

We lack a little bit of ideas about where to look for a strategy, anybody any ideas (books to recommend?)
You can claim that most or all of the posts that have appeared on here are relevant, but they aren't all relevant.

Yeah, but "most" are. See how it works when you leave the sophistry out?

And your response is not to argue the point but to basically tell us to shut up. Thanks for contributing.

Are you kidding? Are you projecting?
Python and the Real-time Web
This is almost exactly what Capistrano does. What's hilarious is that this entire thread reads like a discussion that could have lead to the development of Capistrano.

* Capistrano can deploy via git (it uses export)

* Capistrano keeps a configurable number of releases around in case you need to rollback

* Capistrano provides an ordered task system with before/after hooks at every one of its pre-defined tasks

* Capistrano can be just as lightweight as using git to deploy:

cap deploy
git push

Two additional characters!

* You may not need all the stuff that Capistrano provides today, but as your project grows, you will need it. Why waste your time with a compromised deployment hack when better tools are available and easy to use?
That may be a good thing, but open source doesn't mean non-patent infringing.
I don't think this is aimed at older people specifically?
Google Analytics: How to Manage Same
The two issues that keep the public from taking action are:

-Apathy or laziness

-Not knowing how to effectively make a difference

So let's brainstorm how to address one or both of these.

Apathy and laziness is an economically logical reaction to data collection because 1) most people don't have time or interest to deal with governemnt issues, 2) they don't feel their data is relevant, 3) they don't know about their Constituational rights and don't have the time or effort to defend them, 4) the issue hasn't become serious enough yet. Really, what most people are doing is just upvoting pre-written opinions they agree with plus relevant articles they see online (guilty). The most we can ask for is for people to send cookie-cutter emails (such as the EFF's) to their representatives.

I'm not saying I agree with the current system of government, but without going into the entire American government system, suffice it to say that we are supposed to contact our representatives directly. The transaction cost of doing so requires that a person 1) find out who their rep is 2) compose a (well-written) email or letter to them and possibly follow up at a later date. How many of you can say you have done this?

So perhaps we can try and narrow the transaction cost of contacting a rep? How about a website that automatically finds out your rep, then let's you send them a voice message with your mic on your computer. This will fix 1) Some of the effort required, 2) Diminishes the ability to dismiss cookie cutter emails and letters, 3) Allows the user to send a voice message before they get up from the computer and become apathetic or forget about the issue. Would this be a viable solution?

Side-note: If you really want to make the biggest impact, start using Bitcoin. The government has power over you because they can tax you.
Can you name a culture in human history that has NOT tried to conquer other lands, take their stuff, or otherwise do things to native people? I imagine one exists(-ed?), but I sure cannot think of any other than the few tribes in the rain forest who have had no human contact, or perhaps the Inuit.

The vast majority of people on this planet are descendants of cultures that, at some point, were dominant in their area by conquering their neighbors. Vikings, Romans, Persians, Chinese, Russians, Inca, Aztecs, Spanish, French... I'm sure others can give more examples. Given human history, I'm pretty sure that those who did not (or have not) done so failed due to a lack of _means_, rather than will.

Yes, I'm sorry that the founders of this country completely screwed the natives. That was a terrible thing to do. (My ancestors
didn't come here until a century later.) What would you have us do? How can one meaningfully repair those wrongs? We've seen in Israel the extreme difficulty of resolving the "I was here first" group's claims with "But my family has lived here for hundreds of years" group. It's like someone coming to take your house because you bought it from someone whose great-grandfather stole it from his great-grandfather.

It saddens me that we, as humans, seem to be unable to agree on a way to live together harmoniously. I'm sure that advocating forgiveness for past wrongs is a position that I only take because I am not from the group that was wronged, but ... where does one go?
It seems most people miss the fact that any sufficiently large system is going to require both a pull-based and a push-based solution.

So, take ansible.
Primary use: push. But has ansible-pull.

Look at puppet.

Primary use: pull. But has mcollective.

IMO, and I am not there yet but soon to be. The gold standard is to combine two strong players that specialize one each in push/pull. For me, it is looking like ansible/puppet.
These politicians are increasingly sounding desperate. Like the parents of a teenager who realize that their power is not limitless and is in fact evaporating.
Agree very much with this article - this is probably the most common problem I see when founders try to pitch me their ideas and getting me involved.

They have some domain expertise, and they've let that convince them that they know exactly what needs to be built. They've slaved over designs, they've painstakingly considered all the angles they think matter, and they've been operating on pure hypotheticals for months on end.

The reality is that, should you prevail and be successful, your product will only loosely resemble what you're envisioning right now. I am frequently frustrated - even by experienced technologists - whose "MVPs" are the size of the moon, and they regard validation as being only applicable to details, not the core of their concept.

As someone once said, "no battle plan ever survives contact with the enemy".
It isn't 80% right now thankfully, but it has been at many points over the last few weeks.
I don't see what purpose it solves apart from making people avoid HN.
A new way to support worthy causes
Exactly what I was thinking. Moodys is headquartered in the World Trade Center and is about as establishment socio-political-economic world order as you can poke a stick at.
Just for a little context for those unfamiliar with Malibu. Some beaches are public, some are private and open only to those who live in particular neighbourhoods. The residents here are remarkably wealthy, we're talking Speilberg, Streisand, Geffen, and at times have hired their own private security to check people's ID to ensure they belong there. Broad Beach (I think) is public, but there's gates that block access to it requiring a key. So this app informs people which gates are legit and which ones are erected under false premise.

Malibu problems.
> Go to America. Live there for a while. Move to a red state and actually talk to people. This presumption won't seem so arrogant when you meet so many people for which there is no other logical conclusion to make.

I lived in a red state (TX) for three years. Tell me more how this is supposed to have exposed me to the idiotic masses who have one exact reason why they vote conservative.
Invoicing tip: invoice sooner to be paid sooner
Well I think I agree in principle that the implementation of healthcare should be left to a free market-esque system, with oversight and resourcing provided by the government.

It could even be much like those "basic income" schemes being floated around here; the government pays out up to a certain cap to cover basic preventative and "major life function" care. If people want fancier doctors that's fine, but they have to pony up the excess themselves.

I think the best examples of government interaction with the business sector have come when the government says this is what needs to happen without enforcing how it has to be done, and then letting entrepreneurial types figure out how to do it best. I see no reason why healthcare has to be fully nationalized, or why ObamaCare can't be the first step toward a system like that.
Iphp - embedded php runtime for iOS device.
Like the idea - many hands decrying PRISM - but I think the execution needs to be significantly more polished before any big-time sites will sport it.
After skimming through it a bit, and as a CS student, this looks like an excellent introduction to the theory of computer science, especially for someone with no background in it. It corresponds with what I would expect a first or second year university course on Computer Science would cover. After reading some of this, if you're still interested in this sort of thing, the rather infamous Introduction to Algorithms published by MIT press may be a good next step. PDFs can be found online with a bit of digging.
Ok, the declarative and idempotency sounds great. But consider this one use case. I want to stop a service, upgrade it to a new version, restart that service. The service is an application which I wrote that runs in apache tomcat.

1: Stop Service
2: Upgrade
3: Start Service

Right now I have just made three non-declarative statements about my tomcat server. I am describing a process that runs through a series of steps to reach a new conclusion.

So puppet has these beautiful (sounding) properties. But declaratively describing the state of my servers isn't a real problem I have.

I need to deal with the way that my servers change. I need to upgrade services, including starting and stopping. Puppet absolutely fails at this. Any attempt to describe a process is antagonistic to puppet at a fundamental level.

Whenever people seek a solution to these problems they always get fed that line. That puppet is declarative and idempotent, which is fine. But we should be _very_ clear that puppet does a spectacularly bad job of solving a very ordinary problem that I have, and which I would expect almost everyone else working with large numbers of servers to have too.
> language is of no importance

well, you are just being facetious, and i guess you know it too. languages are part of 'devising the appropriate mechanizable techniques to solve it' as well as algorithms & data-structures which support the abstractions that you just came up with...
I served 6 years relatively recently and went to West Point, and in hind sight my opinions are at this point in time, joining the military is :

-a job with risks, rewards, and reasonable compensation
-not intrinsically more patriotic than a variety of other jobs (although the culture is designed to make you think it is)
-I have contributed far more to America outside of service than I did inside it
-I left service convinced that patriotism is not really a value worth caring about. It is like "team membership" like being a Yankees fan.
But isn't this just rephrasing the question? AFAICS, there is no general trend towards global unemployment, and we've been automating things for a long time already. Why should we now suspect that redundancy will outstrip the volume of new roles?
I think this is great idea. I also think that promoting it on students' Facebook groups would be very effective. (I know that from my own experience- this concept has been implemented by my host university to help Erasmus students learn German/other languages and to help regular students learn whichever language they wanted. And I know the program has been having a great success. Lots of students were discussing on Facebook groups about this topic, trying to find tandem partners after the deadline set for signing up for the program. That's why I think you should take this approach to promoting this platform)
The writer's comments were not primarily about a dog being locked _inside_, there were more about the dog being left _alone_. It's illegal to lock a kid inside alone all day (or at all), but that's how many dogs are left, even though dogs are pack animals that decline without interaction.

Yes, there is the additional element of nature (i.e., Tahoe) in the narrative. And nature certainly enriches both our lives and a dog's life. But having interaction with others is a more basic and even more important requirement in our lives. Nature, important as it is, is more like the frosting on top.
I have been designing an OS distribution that would work much like you describe. I am thinking about using NanoBSD to build a lightweight FreeBSD core, and running something like CEF/CEFPython to display the UI, all in HTML+CSS+Javascript. Apps would have their very own Jail, and the UI would be basically a browser that would connect and communicate with the front end. Somthing like that, anyway. It is kind of a hobby design at the moment. One of these days I may get waround to putting it all together and releaseing it for others to play with.