skysight-inc/HackerNews huggingface dataset:
Ask HN: What are some good examples to demonstrate unix philosophy?
If you were to explain to someone how linux is different, how simple tools are used together to achieve just about anything, what example(s) would you give them? I'm talking about a shell pipeline that's useful and easy to understand but one that would be very difficult to get done in an environment like windows. Examples other than a shell pipeline are also fine as long as an outsider can relate to them.

I use gnu parallel a lot and naturally that's my first choice, something like:

$ <urllist ssh user@host 'parallel -j 30 curl "{}" | grep -Po "tel:\d+" | sed "s/tel://" | sort -u'
Just do it.

Normaly a job is not so specific that you can't start into some path like that, and once you are on the path, you can change positions.

But, if your job is that specific, well, that sucks. You'll have to build something on your free time.
It takes quite a while to load, I would suggest fixing that early.
Everything people are saying here against OLPC, such as "give them food and build infrastructure first" equally applies to cell phones. But cell phones clearly are win in Africa and have really helped.

Would we all criticize a one-cell-phone-per-person charitable organization? Would people like glesica rant about how a one-cell-phone-per-person charitable organization is wasting, as he said, "resources that could have been used providing more basic types of development aid that would have created something to multiply in the future"

Technology is not magic, but it does help, even poor people.
There is some truth in this post.

However I still thank the Agile "industry and business" as it allowed me to open my eyes as a developer years ago.

Because believe it or not, some of the so called master/consultant are genuinely caring about the values behind the manifesto, and putting a lot of efforts into improving everyone practice of software development.
Several members of the committee were attempting to declassify the report about waterboarding. I think this was related.

http://www.theguardian.com/world/2014/mar/11/feinstein-accus...
That specific case works.

But, it's "yum install nginx" some places. And some package names vary by distribution and even versions of same distro. And there is post install configuration that has to happen. And there is coordination with the proxy cluster, the memcache cluster, the db cluster, monitoring system that has to happen. And many sophisticated users will need a custom nginx or extension which requires building locally (and all those dependencies) or private repo. And you're glossing over configuring sudoers so the user you are logged in as can even sudo in the first place.

tldr; Provisioning is fucking hard.
Monokai theme Optimised for Netbeans IDE.
See higher-ranked report at https://news.ycombinator.com/item?id=7379236
The real reason Bitcoin is doomed
2014 version of Napster.
Have you considered doing an early access program or draft editor list? I would be interested in either if you chose to do so.
Intro Etiquette
From github:
The algorithm is iterative deepening depth first alpha-beta search. The evaluation function tries to minimize the number of tiles on the grid while keeping same/similar tiles in line with each other.

This basically means he's running an optimized version of minimax -- essentially, depth first search of game states looking for states that minimize tiles and keep them in line.

At each step, he looks several steps into the future, assigns them each a numerical score, then picks the move that leads to the best outcome.

Iterative deepening means that he evaluates all 1 move options, then all two move options, then all 3 moves options and so on. It increases the chances of finding a good move within a time constraint.

Alpha beta is a "lossless" optimization that allows you to more aggressively prune the tree when you're searching.
America's Cities Are Still Too Afraid to Make Driving Unappealing
Works like a charm, got to 2048 and over 10k points

Second time around was pretty close http://i.imgur.com/psdSwjM.png
The pocket microscopes you linked to provide 60x magnification. Imaging of most microbial infections that can be diagnosed visually requires at least 1000x magnification.

The Foldscope project provides over 2000x magnification.

Also, the 50-cent cost is right now. They hope to get the cost down significantly lower by scaling up production.

Finally, it doesn't hurt that the Foldscope is significantly more rugged than a plastic microscope. You could easily stack a thousand of them in a small pack and bring them to some remote region on foot, horse, or motorcycle.
See higher-ranked article at https://news.ycombinator.com/item?id=7379236
Sad.

I always thought that OLPC was a great idea poorly implemented. Sugar was interesting but a bit too out there for most people to want hack on. The mesh networking was the best part.

I wish they had used standard PC hardware so that the communities that got the hardware could learn to service the devices and make changes to the software themselves thus building local technology savvy communities that could use technology to solve their problems with in community knowledge thus enable a ground up technology movement.
Also the state isn't actually the network, it is somebody's email inbox. Which is just another name for database.
Whats sad is a few years ago I wouldn't believe that our gvt would waste money on combating negative views in online forums, but with your user being created 43 minutes ago and everything they've done so far. I don't put it past them that your account/post is paid for buy our tax dollars in some idiotic effort to change the views of the tech community.
wow, talk about easy money.
Definition of leadership in three sentences, explained
I really don't mean to offend people running or participating in good incubators. I stipulate that YC, 500 and Techstars and others are run by people who know what they are doing and work to contribute to the success of their members. They are not the problem.
He said "we could go OTT with CBS." Over-the-Top Content (OTT) refers to delivery of video, audio and other media over the Internet without a multiple system operator being involved in the control or distribution of the content.[1]

[1] http://en.wikipedia.org/wiki/Over-the-top_content
If you hopped in the taxi cab, rode to your destination, and jumped out without paying the posted fare, you'd have a point.
There's been no proof that it is metadata, we are supposed to take liars at their word. Seems rayiner is willing to do so.
everybody gets their own incompatible bespoke crypto currency
> Women's attractiveness has a direct correlation with her reproductive capacity,

Source please.
Commissions are the same as Kickstarter, IE you pay before it's created. In no way does something like this have any bearing on works by commission, in fact it puts things back on the path of human traditions, which have typically relied on commissions, patronage or performance, rather than ownership.
Yeah, I never understand why it takes so long to respond to an email. Just a one line of "Hey, got this, will chat soon" would suffice.
As soon as I clicked through and saw the site was really about promoting another manifesto and book I closed the screen.
+1 I found both an odd irony and irked by the implication of "its ok to snoop on random citizens, but not on me"
For better or worse, the distinction between data and metadata is deeply ingrained in 4th amendment law, specifically Smith v. Maryland. And technology hasn't changed the rationale underlying that distinction either. Back in the day, addressing on the outside of an envelope was considered "metadata" and unprotected because you had to reveal that information to the third party for the mail to get routed, so had no expectation of privacy. This same reasoning applies perfectly well to the phone calls in the 1970's in Smith, or for that matter a cell phone call, and arguably TCP/IP headers, today.
The most amazing Postgres feature: Transactional schema changes.
Create tables, alter tables, insert data, all inside a transaction. If any step fails, everything is rolled back!

This blew my mind when I switched from MySQL (which doesn't even support transactions for inserts/updates in most engines).
> Why use shell? It forces you to think simpler

I have the shell scripts to prove it makes you think more convultedly in order to get things done that are cleaner in other languages.
Is there some Aereo equivalent that I can have at home? Would love a simple solution to DVR stuff by way of antenna.
I tried twice and it didn't finish, after getting to 1024 both times... this shows just how difficult is that game!
"Amazon Instant Video (formerly Amazon Video On Demand and LoveFilm Instant) is an Internet video on demand service offered by Amazon in the United States, United Kingdom, Germany and Japan."

iTunes: I don't see renting option.

Fox Digital: "United States
Brazil
Mexico
Canada
Italia
Australia
Deutschland
Belgium
Holland
United Kingdom
España
France"

ARRRR!
That's intended. In 'Threes' for the iPhone you have to use that remaining block to solve more as you can see what's coming next.
Pretty much all my embedded stuff is C, because it's generally the only HLL for which there is a compiler for most embedded architectures (with notable exceptions for PL/M and Modula-2 for the 8051). Most networking stuff I write is in C, because I'm use to it and I often need to get quite low level. Same with drivers.
Goodbye academia? Hello, academia.
Or letting an intro sit and rot in your email box without replying. Drives me nuts.
It failed when I tried it.
The difference between taking a taxi and walking are significant. For your analogy to work you must alter it in one of two ways:

1. You hijack the taxi and demand the driver take you to your destination for free. This creates an equivalent or better experience for the consumer at zero or near-zero cost.

2. Instead of clicking a button and watching 12 Years a Slave, you get a crudely animated version pieced together by drawings crowdsourced from 1st grade students around the nation, and voiced entirely by Gilbert Gottfried.
An the blog post argues for adding another command and a new set of names ;). As much as I love the idea of Nix, it would only make that problem go away if it managed to take over the whole world - which it won't.
He left out Cfengine for the same reason everyone who has used Puppet/Chef/Salt/Ansible leaves it out. Its utterly atrocious. Combining global booleans as a weird sort of declarative flow control to make up for the lack of explicit dependencies between objects that everything else has is horrific.

Thousands and thousands of these:
(debian_6|debian_7).(role_postgres|role_postgres_exception)::

And ordering? Nah, just run it 3 times in a row. :\
replace rc4 with ChaCha20 here, too; ok djm, tedu, deraadt

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c.diff...

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c
Alleged by whom? Note that the record industry had a habit of making totally ridiculous claims concerning their losses.
Feinstein's motivations are confounding.

I suspect that she knows that in the long run of history the Rendition, Detention and Interrogation program will be considered an unambiguous set of war crime's authorized at the highest levels of the US government and seeks to be personally exonerated from these crimes.

Anywho, https://shameonfeinstein.org/
My prediction. This will be one of a few stories, the media will be told to silence it, and the public won't care.

The most amount of outrage it will likely generate will be a rant by Jon Stewart which will draw laughter, but likely nothing more.

Does anyone have any suggestions about generating proper outrage about such a blatant violation of all of our rights?

If our representatives are being controlled by security apparatuses within the government, then that's the red flag of red flags.
Plus, malaria isn't transmitted via fecal-oral or respiratory route, so holding it up to your face isn't terribly risky. Taking the sample is much more risky, since there are sharps involved.

Now, if it were cholera...
Yeap, same here. http://i.imgur.com/TIr88B0.png
A new browser performance benchmark has born?
ReFS can.
http://en.wikipedia.org/wiki/ReFS
Hahah, I knew this was coming sooner or later. Thanks! Great job!

EDIT: This AI is a better player than me.
I would like a browser version of this to chrome cast it. Anyone know of one?
Having argued in favor of the article, let me give some props to Ackman: honest protests here aren't enough. Scams of all sorts and this one in particular work by taking advantage of the vulnerable. Part of what makes people vulnerable is a lack of political power.

Given that our government is a pay-to-play enterprise, I'm glad that somebody is paying to go after Herbalife. If people are going to destroy something for profit, I'd rather it were an exploitative company like Herbalife. Rather than, say, a perfectly good mattress manufacturer: http://www.nytimes.com/2009/10/05/business/economy/05simmons...
Sorry, the code is a little unkempt.

The basic idea is minimax search. Googling that will get you started, but basically the algorithm plays out the game and keeps a score of the position after every move. Then it just makes the move that leads to the best score.

The "score" here is basically a count of how many free squares there are (with a little extra to keep things aligned if possible).

One major thing with these search algorithms is that the game tree grows exponentially as you move forward. To combat that, implemented alpha-beta pruning and a heuristic to only search the nastier computer moves rather than all of the possibilities.
This is a hole. You can do the same thing with a coke cap and a bright light. Also notice that the work wasn't published in a scientific journal.

As somebody who works in optics this is the most infuriating thing I have seen in a while.

ITS A BLOODY HOLE.
Our mission, our philosophy – non-compromising in being open and libre
The gaffer doesn't have a mansion.
how to view multiple servers on one screen?
Many games run on multiple consoles.
Appliances that make you look cool and signal to others that you "think different."
I'm working on the genomic sequencing problem at a hardware level (actually, it's pretty cool, I just got the prototype working and no one else has anything close in terms of transduction mechanism or fundamental stability).

What are the chances of RockHealth funding something like that?
iOS 7.1 improved “Touch ID fingerprint recognition”
Regarding idea #1 - "We’re looking for an iconic consumer company to reinvent health information."

This would be great. I wish there was something out there that provided objective up-to-date interpretations of health-related medical publications applicable to everyday living. For example, conventional knowledge vilifies saturated fats, but new research seems to indicate otherwise. Numerous diets exist all clamining to be optimal and backed by science. What scares me is finding out 20 years from now, all efforts at maintaining a healthy lifestyle were completely misdirected and in fact, unecessary or even detrimental. What are some ways to accomplish a completely unbiased health guide? It could be based on meta-analysis of academic publications, crowd-sourced, or expert peer-reviews...just something that weighs the reliability of research, points out any deficiencies, and fights the propagation of sensational headlines like "Red meat kills you!" anytime some journalist misinterprets a dubiously controlled experiment on lab rats that shows a statistically insignificant correlation between two variables.
A New Card Back with an Attachment Viewer, Covers, and lots more.
Dokku and Flynn creator Jeff Linsday will speak at dotScale (Paris, May 19th)
If it's an embedded system, why not use SQLite instead?
Oh well, I lost with AI as well. I just let it run and got to a game over with 8476 points.
Nine Inch Nails, etc.?

Go on. You might be able to cite Radiohead's In Rainbows. Did these new distribution models flourish, or were they one-off experiments? NIN's new album is available online now for a fixed price.
Contribute to open source software, attend meetups, talk at meetups.
Ok maybe I'm missing it, but why is this game huge? I like this game, but I fail to see why it is THE top post on HN ever!
Hahaha, this explanation is retarded in every possibke way
Exactly. Inn a few hundred years, 12 Years a Slave will be free to watch. But people don't want to wait that long, so they pay or steal.
"But US copyright primarily extends from US laws, which are hard to break if you're in a foreign jurisdiction."

well. sometimes the US has strange notions of 'foreign jurisdiction'. for example if a US citizen were to order a drink at a bar overseas and that drink happens to contain rum from cuba. you've just violated US law. that will be $250,000 and 10 years in prison. [1]

see this bit from treasury.gov:

"Transactions Involving Cuban-Origin Goods in Third Countries

The question is often asked whether United States citizens or permanent resident aliens of the United States may legally purchase Cuban origin goods, including tobacco and alcohol products, in a
third country for personal use outside the United States. The answer is no. The Regulations prohibit persons subject to the jurisdiction of the United States from purchasing, transporting, importing,
or otherwise dealing in or engaging in any transactions with respect to any merchandise outside the United States if such merchandise (1) is of Cuban origin; or (2) is or has been located in or transported from or through Cuba; or (3) is made or derived in whole or in part of any article which is the growth, produce or manufacture of Cuba. Thus, in the case of cigars, the prohibition extends to cigars manufactured in Cuba and sold in a third country and to cigars manufactured in a third country from tobacco grown in Cuba."

[1]
http://www.treasury.gov/resource-center/sanctions/Documents/...
Cat SCHOOLS owner Best cat EVER
If taxis go out of business, you can still walk. If people stop making new movies, you can't watch new movies.

(You can still watch old movies of course, so if you restrict your downloading to old movies, and not fairly recent releases, your argument works.)
Unless the footer image in question was awarded by some kind of auditing body (with links back to their page so a visitor could verify the site really was audited), an idea like that has no fangs - for example, what's to stop a site storing them in plaintext because "it's easier, and we'll fix it when we have time" but throwing the image in the footer anyway to ensure they don't lose users in the meantime?
Actually you do. You pay the price they ask to consume their content, or you don't consume it. Hence why doing so without paying is illegal.
It's still a proof, just an inelegant one. But I agree, it's considerably different than standard proofs, since it doesn't explain "why".
It's too much of a jump from one person being recorded without a warrant, to everyone being recorded without a warrant.
That distinction hasn't changed at all.
Is this game always guaranteed to be winnable, or is it like Solitaire?
Well this takes trolling to a whole new level, even creating an entire site just to spread FUD in a way that appears official.
100% true on all fronts.
I think that demanding that people look at every wrong thing at once mainly acts to reduce the amount of effective action against wrongness.
Funny enough, I'm using a combination of small shell scrips that are executed within an internal application depending on the status of the the machine. So I guess I'm in the "why not use both" position.

Currently, I have automated system set up where basically a cluster of vm's in nodes of two communicate with each other to pass over where the other server in a node left off in its operation (or dies from timeouts) running nginx/gunicorn/django.

And those servers on each node are monitored by another server (running apache/php/mysql) that checks the progress/status of the operations and may send requests (reinitialized a node that stopped running) to the nodes where those bash scripts (concatenating files, finding a specific place in one of the files to help reinitialize a process in a node) are executed and piped through back to the monitoring server.

It is way more complex now, but surprisingly, I don't have troubleshoot not even close to as much as before since I automated that.
I don't think we have a difference of opinion on what Google does, just on what chromatic was trying to communicate. I think he was implying that Google is a bit pretentious in their interviewing when it seemed to amount to a regular sysadmin job from his perspective. It appears what you took from it is an assertion that Google is somehow stealing data and locking it up, and that's a bad thing? I'm still not exactly sure what you took from his text on that subject, your reply seems to be justification of your position, not clarification on what exactly you interpreted and found worth rebutting.

That said, my take on his reply to your original comment is that he really interpreted it as a shit job. I'm not sure if that's just the work at the level they decided he fit at, or is par for the course, but I can see how someone who identified as a programmer may be put off by an interview where they ask "Is it a problem for you to be maintaining code but not writing it?"
That's an interesting take on it. Even in a single entertainment category it can often feel like the supply far outstrips demand, especially if my morbidly obese Steam library is considered.
How to speed up your computer using Google Drive as extra RAM
Have you ever tried setting up Piwik? It's terrible software.
Math... the fun killer.
Don't use propaganda terms like 'compensation' here. It's not compensation unless you hired someone to do something. The reason the media corporations want you to use terms that don't make rational sense is because it gets you to think, wrongly, that you owe them money all the time and forever. Don't fall for it my friend. No one thinks there's anything wrong with supporting creativity and artistry so let's stop using their bullshit terms together.
"Intro replies need to be timely. If you’re the one being introduced, it’s your job to reply, and now. If the person you’re being introduced to replies first, you’ve lost the game."

So true. Don't half ass it. If you are being introduced to someone then most likely their time is valuable. Why would they bother with you if you don't show them you value them?
It runs based on random numbers, so it's hardly a reliable benchmark.
Oh, the scientific method is great, isn't it?

It's new tech, just from the XIV century... It would be great if people were that up to date.
Get OneTab
https://chrome.google.com/webstore/detail/onetab/chphlpgkkbo...

You click a button and it saves a list of your open tabs. You can sort and organize your tab list(s) and even prevent it from storing dupes.

It is basically a glorified bookmarking solution.

Just try it for a few days. When things get out of hand, click the button. Boom, no more tabs. You will be surprised how often you go back to read those tabs you needed (for me, almost never). You can go and search when you remember a month later about that one site about that thing (via ctrl-f broswer search on the onetab tab).

Some have complained that no "tab history" is stored, but for me, I don't need any of that. I just need to know that my tabs are saved so I can feel safe closing them. I have a problem...

OneTab gives me one button to click that gives me peace of mind, and more memory. I even use it for most of my bookmarking needs, since it is so flexible.
I was outsourced to Eastern Europe for a project and moved my iTunes account too, because it was a bother to send money to the old VISA card.

I have seldom felt so stupid (+) as I did the next time I looked at the empty iTunes store... :-)

(+) Cough, without alcohol being involved.
She likes it when they spy on other people.