skysight-inc/HackerNews huggingface dataset:
I worked on a similar project: a tool that (primarily) tees it's stdin to your tty before you decide how to continue your pipe[1], which is a little more general, though it's admittedly less polished or nice. I think there's an interesting space in making the process of writing commands more interactive, though doing that really well will involve an intelligent solution to the problem of commands with side effects.

[1] https://github.com/jkarni/extendp
Oh, the pain! I remember doing that 25 years ago too, ouch.
I was surprised about how relevant the google results were actually!
http://en.wikipedia.org/wiki/Mathematical_coincidence

(pi^4+pi^5)^(1/6) is a coincidental approximation to the mathematical constant e
As old as the family, the village. Forgive Western bias, but here's Aristotle:

...that the state is a creation of nature, and that man is by nature a political animal. And he who by nature and not by mere accident is without a state, is either a bad man or above humanity; he is like the "tribeless, lawless, hearthless one," whom Homer denounces—the natural outcast is forthwith a lover of war; he may be compared to an isolated piece at draughts.

Or, of course, the Stanford Prison Experiment: http://www.prisonexp.org/

More subtly: the notion of American "rugged individualism," and the group with which many (right-leaning) "indiviudalists" unironically self-identify.

On HN, I suspect there's high participation the group of rational, logical thinkers who consider themselves superior to the fears and insecurities that compel the typical "joiner."
We have used S3 for over 3 years with no issues at all. Care to divulge?
> Anyway, I’m pretty sure the comment system
> accepts Markdown, ...

I suspect that's where you're wrong - I suspect the comment system is hand-rolled.
Did you mean "baby making" monitoring? ;)
Thanks for the kind feedback. =)

Actually, we started by experimenting with SQLite (which should be faster than PgSQL I believe since it has no protocol overhead), but it was kinda slow for bulk queries. We then ended up switching to LMDB and LevelDB with a bitmask to represent the availability of all TLDs and the performance improved greatly. As an added benefit, this also made the JSON responses way lighter.

The main problem I see with the pg_trgm approach is that it would only return domains that exist in the database (or in the zone files) and thus they would have to be registered, which totally defeats the purpose of the tool. We couldn't possibly store all the 63 alphanumeric combinations in a database, that's like a gazillion gazillion possibilities! =P

StackOverflow tags is a neat idea for a set, I don't know how we missed that! Thanks!
That's right. We gather our data from the TLD zone files.

We also run Go on the backend. <3
3.141 takes up less space and is more accurate.
Good book on this (and similar) subjects:

http://www.amazon.co.uk/Backroom-Boys-Secret-Return-British/...
Mentor Saturday
Two previous threads [1][2] show that there are some interest in such threads(the second one did hit frontpage though, only /ask). Let's continue this experiment, and match mentors and mentees.

[1] https://news.ycombinator.com/item?id=7825900
[2] https://news.ycombinator.com/item?id=7862082
It is actually just the "standard" 5-star hotel rating scale. (I put standard in quotation marks because there isn't actually a worldwide common standard for what constitutes e.g. a 4-star hotel.) We've been wondering about whether it is confusing for people to display this alongside our own TripExpert Score. Sounds like you think it is?
Where am I: a git powered foursquare alternative
A really simple typo - but it's always stayed with me. Many years ago on a Very Important Solaris Box(TM) I wanted to check when it had rebooted a few months before, so typed "last | grep reboot". Only I forgot to put in the 'grep'... (and if you're not a Solaris person - 'reboot' is pretty brutal on it - you may as well just pull the power cable out the back).

What a fun day that was....
More interestingly, 10! seconds is exactly 6 weeks.
I think he meant that he had no affiliation himself
Seeing the discussion here, I'll recommend to the Hacker News readers who haven't heard about it yet the new book Mindwise: How We Understand What Others Think, Believe, Feel, and Want,[1] which reviews research on topics like this and a lot of other mysteries of the human mind. It's a book based on current experimental research in psychology, but it has had some good editing to be a readable, interesting popular book that will reliably prompt you to think about aspects of your thinking you perhaps have not thought about recently. (I'm reading the book right now, which is why this comes to mind.) I think reading Mindwise just might help you understand yourself better, understand your significant other better, understand your co-workers better, and understand the group dynamics on Hacker News better, and anyway it's fun to read.

[1] http://faculty.chicagobooth.edu/nicholas.epley/html/Mindwise...
Very useful as a reference. Thank you!!
My uncle lost his arm in a car accident. He was very grateful when I showed him this video about phantom pain:

http://www.ted.com/talks/vilayanur_ramachandran_on_your_mind
Are you open to the idea that "anyone else with a different point of view" might also be treating the "main core 'regulars'" on Hacker News as an outgroup that they don't really see as fellow human beings with thoughts and emotions and their own understanding of the world?
Css properties in emacs [inspired by know-your-http-well]
I'm the technical sole-founder of a startup that restructures semantic RDF triples to create a fast and intuitive BI interface to open data. (See here: https://vimeo.com/87414567)

I could use help on the non-technical aspects. (E.g. What are the best ways to identify customers? etc.) My email is david at brodlist dot com.
Install Winusb in Ubuntu 14.04
Please, don't repost from a different account: https://news.ycombinator.com/item?id=7877104
I've never seen S3 go down, the availability is 5 9's. EC2 has had outages in the past.
32 bit + 32 bit = 64 bit?
That's true commitment.
Client to listen instantsfun sound from the shell using ncurses and Node.js
Fastforward trick:

window.setInterval(function(){
elems = document.querySelectorAll("a");
for(i = 0;i < elems.length;i++)
{
elems[i].click();
}
},1000);

Edit:

Went to eat someting, the trick gave no money and a lot of broken hearts :P

Afterwards, playing it fast. The game respresents making choices in your live. It's fundamentally good actually...
42 is not a mathematical constance?

It is the answer to the ultimate question of life, the universe, and everything.

This is demonstrated by 42 being: Represented by 101010 in binary; The refraction angle of light off water in the forming of a rainbow; Light requires 10^-42 seconds to cross a proton; as well as being the result of 6*9.

Or have I simply been misled?
Not my experience. 90% of the recruiters who contact me (and I get a lot of mail) are for genuine, decent paying contract work - usually in the EUR450-500 day rate range.

You have to ignore the obnoxious stuff you don't like with LinkedIn and just treat it as a tool.
I see the future of purchasing intent based analytic solutions, and it is scary! Now in store mechanisms will not only determine the customer's intent and object/area of interest (this is the current "big thing"), but assess heart rate and infer excitement too!

There you are, beset by a horde of sales people who recoil in horror when they find your elevated heart rate is the wrong kind of excitement, making the potential sale an awkward one:

"Arghh! Get back! Get back! He's in the adult section!"

We live in interesting times.
I read somewhere ages ago about researchers measuring pulse and respiration of a mobile phone user from the data available to a cellular base station.
The Robbers Cave Experiment is really interesting: http://lesswrong.com/lw/lt/the_robbers_cave_experiment/

I have found the whole concept of "in-group vs out-group" to be very useful in explaining a great deal of human behavior. Humans evolved as hunter-gather tribes and all of our social instincts are from that. We have empathy for our friends and family, but it has an off switch labelled "enemy" or even "stranger". More than that, we are actually compelled to hate the out-group, or follow the in-group, far more than we would otherwise do.

The reason politics sucks is that everyone is trying to identify with a tribe more than they are rationally debating policies. The reason racism, ethnic conflicts, and even wars happen is we consider the other side a rival tribe that is a threat to us.
Floor – a simple expressjs inspired web framework for Rust
I use String(s)
It's not just storing files as a service in some generic way. It's storing objects using exactly S3's API (or at least a subset) so e.g. programs and libraries written to use S3 can use DreamObjects instead by just changing the base URL. That's a clone of S3 as much as Linux was a clone of UNIX, and as much of a clone as there can be when the original is closed source.

Disclaimer: I'm on the GlusterFS team at Red Hat, which puts me pretty close to the Ceph team but not actually one of them. I've never had anything to do with Dreamhost.
S3 went down in 2008 for a few hours. Lots of coverage at the time. e.g. http://techcrunch.com/2008/02/15/amazon-web-services-goes-do...
I've only had very minimal issues with S3... one of the things thats holding me back from switching to a cheaper provider from Amazon is if its not broke, don't fix it.
You don't need gow if you are using msysgit right?
What if they don't care? Not because it's "designed" or "rigged" but because privacy is not something they value?

Humans lived in small groups, then villages pretty much until yesterday, easily for most of our species' history (99%+ of ~200k years). People knew everything about each other. And then gossiped to make sure nothing went unnoticed.

Contrary to the article, we probably still reveal less than we used to. People would bathe in semi-public places. That's not common outside of vacation spots any more.

Yes, advertisers bank on our nature. Gossip blogs bank on it. But they didn't make us that way.

OK, so the nature of information collection changed but we don't feel it. Some people can rationally appreciate it but not casual Internet users. And most nightmare scenarios are still hypothetical.

Imagine being subject of public hate because you expressed a unpopular view when you were young.

Many people, even here, are fine with that. On Twitter it's practically a part of regular programming.
Meanwhile, those of us who "get out more" would appreciate any improvements that can be made.
Taxi Wars and the US Economy
The similarity of "rm -rf *" and "rm -rf /" makes me nervous any time I "cd" somewhere and then issue the first.

There is no trash can in my Unix, deleted is gone forever.

A move (mv) or copy (cp) just overwrites files with the same name (as default)

Right clicking (&executing everything (every line) that just got pasted from the current clipboard/copy-buffer)
The only tragedy of this war is that one day it will end
High Court privacy case puts Ireland at centre of data collection controversy
Have you tried any voice recognition? This guy manages to program with Python and Dragon by creating macros in Emacs.

http://m.youtube.com/watch?v=8SkdfdXWYaI

Voice recognition is probably good enough now and could be useful if support were just built into the tools.
Similar, a camera can also be sufficient to measure heart rate: https://www.youtube.com/watch?v=SA5QVm8M9PE

The method is actually quite interesting. By exaggerating slight changes in color you can actually visually see someone's pulse (and other small changes in the environment.)
Twitter Deletes All Official Accounts of ISIS
It's not always possible, but whenever I'm going to delete things with rm, I first test the pattern with an ls.

I have a coworker who never does this and it drives me crazy. He just blindly trusts his first attempt. And yes, he has accidentally deleted stuff, but thankfully nothing that was irrecoverable... so far.
I remember reading somewhere that in Russian culture the optimal number of people to drink together is customarily considered to be three, because they could each toss in a ruble and that would pay for a half-liter of vodka to share and a small snack.
Get all frontpage posts from ProductHunt as JSON
NASA Testing Astronaut Rovers for Missions to Mars – RAW Footage
The obvious benefit for me is that Qt provides cross platform GUI creation which is, after all, what it's designed for. Building your own frameworks is great if you have the man power to do it once, but I think there is a strong case for using something like Qt even if it locks you into using its data types.

If you're just writing a utility of some sort then sure, you probably don't need the kind of overhead that Qt dumps on you. That said, I've written very performant code using Qt's threading and concurrency libraries and it t was surprisingly easy. Think industrial image processing that needs to be done at 150Hz on two camera streams simultaneously.
Swift enumerations: kind of like Scala case classes and Haskell ADTs
It wasn't. kiba's point was that just because it wasn't open source, it didn't stop people creating clones
> actively works against the latter.

For your definition of 'anyone.' BSD software often does not let the end user use it as they see fit, as they no longer have access to the source code.
It's disappointing to see this as the top comment, as it fundamentally misunderstands and misrepresents the point of Sam's post.

Running a startup is a very difficult and stressful activity, especially when things are not going well. The message is not, "get your shit together and succeed." The message is to talk to someone when things are difficult, because loneliness will only make it worse. This is true for any major stressor, whether business, health, or relationship, and the comments here from actual founders all reflect the value of this advice.
Instant confirmation via Bitcoin payment protocol
I dunno, I have had both since the beginning, and I feel on the basis of experience during that era that the Oric-1 just felt tons, tons better. (Still have my Oric-1, long since got rid of the Speccie kit..)

Maybe it doesn't really look like it in pictures, but its quite more usable as a keyboard than most other bits of gear. Much, much better than the ZX Spectrum, anyway .. but I learned to touch type on my Oric, so maybe I'm biased. Also, it can be argued that the Oric was a better machine than the Spectrum - although the Spectrum had far better market traction.

This was a lesson I learned during that era but applied every decade since: its not about the power, its about the users. It doesn't matter if the machine is 'better' on spec; if the market allows for lesser technology, so be it for us developers to follow along.

But .. what is it about the 6502 that made it 'worse' than the Z80? A lot of the other machines in your list used similar CPU's .. even the C64 had a 6502-derived processor (6510) ..
Ask HN: What ever happened with the TrueCrypt shutdown?
I haven't heard anything since the first few forum posts. Did we ever figure out definitively if it was a hack, information operation, canary, dead man's switch or what?
I never played Elite back in the day, though of course I'm familiar with it now, but I did play Frontier and I liked it.

One thing about Frontier that blew my mind and that Elite didn't have (AFAIK) was seamless transitions between planetary surfaces and outer space. Maybe now it's not as technically amazing as it was then -- even though right now I can't think of a modern game that does it -- but the absence of loading screens during the transition between planet and space is what made Frontier so immersive for me.
If I remember correctly, Erlang was designed for fault-tolerant telephone switches and there were always two of them (the switches) in one box, because the system had to cope with even hardware failures.

So Erlang is pretty much designed to deal with systems distributed on different machines, it's nice behaviour on modern multicore machines is just a byproduct of that.
I don't think that tribalism is going away, but it is becoming less geographical. You used to be able to identify groups by location, but that is getting a lot more fractured by global communication networks.

This is also interesting from a defense perspective as it means that area-weapons get less effective when the people you are trying to attack are no longer conveniently located in one spot. Things like nukes, for instance, are completely ineffective if your target is scattered throughout another population. I suspect that one of the main outrages of war in the 21st century will be from saturating an area with close-quarter drones with instructions to target a section of a population, rather than the bombing of whole cities.
وظائف مدرسين للعمل فى سلطنة عمان 2014 / 2015 للتعاقد تخصصات مختلفة
That advice is completely spot on :)
Lossless audio compression with libpng
This is the missing link: http://mathworld.wolfram.com/e.html (Compare the result of the expression to the value of the mathematical constant e. They coincide approximately [1].

[1] http://en.wikipedia.org/wiki/Mathematical_coincidence
What? No, seriously, huh? Misogynistic? Saying someone grows up to be like their parents is misogynistic? Come down off your high horse, the clouds up there are making you see things.
This same process did not work for me, at all. My dead relatives I emailed years ago are always in my recommendation list. I never connected to an external account, and have repeatedly tried to contact linkedin with no response. I'll gladly be a counterparty to this suit.
I thought the purpose was to keep a list of professional contacts I know.

I don't expect to be contacted by recruiters I've never met before on an almost hourly basis during the week.

For my company, this is a genuine nuisance and most of our phone calls are from clueless recruiters offering candidates that don't even have the skills we're looking for.

Even if we needed a recruiter, I'd hardly choose one that called out of the blue. It's getting to the stage where we have to put warnings for recruiters not to contact us because we get so many it's harming our productivity.

So that's why I hate on it.

As an employer, I can say I've never had a good recruitment experience even outside of this situation.

However, I don't expect them to stop any time soon. If this is also a problem for anyone here, the best result is to quickly politely tell them you're not interested. Perhaps ask where they saw your details. Put a note there. Don't stay on the phone for the inevitable questions they've been trained to ask to keep you on the phone. Just say no if you value your time.
zsh, or at least oh-my-zsh, asks you for confirmation if your rm command looks dangerous.
The cisco story was about huawei pirating their software. That's copyright infringement, not patent abuse.

Copyright protection is all you need in the software space to differentiate from your competitors, because in software development the execution is a lot more important than the idea. Well executed versions of old ideas can blow away the competition. See e.g. the iphone, which did less than earlier smartphones, but did it much better. Note also that it wasn't the patents that prevented competitors from catching up, because they ended up ignoring them anyway and still took half a decade to make a competing product despite having access to the same hardware from the beginning.
Why would anyone do this instead of encrypting on the client?
svckr 2 hours ago | link [dead]

Reminds me of the "most stupid thing" I ever typed into Terminal.app. I somehow managed to create a subdirectory named "~", and decided it was a good idea to do this:

rm -rf ~

It took me about 5 seconds to realize the command should have returned immediately, and frantically press Ctrl-c. But that was all that was needed to ruin two week worth of code.

If you want to try a fun little experiment, type this command into your colleague's shell and see what happens (and how long it takes):

mkdir ./~
Y u no source version control?
I like to use "trash" (i.e. "put in the Trash") instead of "rm" (i.e. "remove permanently").

For Linux there's a suite called "trash-cli" (on Ubuntu the binary is called "trash-put" so you will probably want to set up an alias). I guess there's something similar for OSX?
I think it's a flaw to bring in village life in pre-modern time in the context of the meaning of privacy. For one, in that context what information one shares is apparent and the impact of the information is more readily understood. This is not the case when large volumes of data are shared with unknowable powerful parties, used in unmonitored ways with effects that one cannot predict or control.

Secondly, we do not live in a small community, we have an incredibly interconnected world. Democracy does not function well when people lose the capacity to moderate access of information about ourselves, our thoughts and communications to some degree, when other parties may use that information against the individual. It stunts individual expression and that is pretty fundamental to living a modern society.

It's incredibly naive to undervalue the need and importance of privacy. Nightmare scenarios are not hypothetical to a lot of people, they are acting out right now, each and every day.
http://youtu.be/Ft3HS37hWpc
I for one think it's laughable that Dell has the nerve to laugh about any company at all. Ignorance must be bliss indeed, over at Dell.
So, the new version is ~ 5 times better than your $32 version? http://codecanyon.net/item/advanced-custom-qr-code-generator... (The $32 script also seems to have all/many of the features represented in your original post, and the $32 price point is currently the most expensive QR script on Code Canyon.
Have you seen the trailer for No Man's Sky?

http://m.youtube.com/watch?v=nLtmEjqzg7M
Spreadsheet-like programming in Haskell
nope, 32 bit + 32 bit = 33 bit ;)
Pew Research Study: Political Polarization in the American Public
Just to follow on from this... perhaps to understand my acrimony, people from outside the UK might be interested to know that at times it seems as if we have an economy powered by an army of unskilled 'service sector professionals' calling the entire population trying to sell recruitment, utilities and PPI claims.

For many of us 'Were you mis-sold PPI?" is almost a daily question via SMS.

The sad thing is that at some level it must work.
I'm interested in Ceph-in-production stories as well. I subscribe to this feed http://www.sebastien-han.fr/blog/ which follows Ceph development and have been toying with the idea of testing it when time permits. Currently we use local storage for VM hosts provided by LVM but something distributed and designed with HA in mind would be helpful.
Not enough people have downvote powers and too many people have upvote powers.
> Typecheckers definitely do things. But are those things interesting?

That seems like asking "seat belts definitely do things, but are those things interesting?"
that's some trigger happy downvoting. So how do we imagine how much power is in 250 food calories?
Lawmakers Fume Over Lost Emails In IRS Probe