skysight-inc/HackerNews huggingface dataset:
I wrote a web site http://gregfjohnson.com/redblackbuilder.html that takes interactive algorithm visualization another step. I would be delighted and appreciative if people go check it out and provide thoughts and feedback. IMHO It is fun and informative to play with, and a great tool for learning the algorithms.

It is specific to red-black trees, but I am considering adding other data structure manipulation algorithms as well.

On insert and delete, you can single-step forward and backward and see the tree manipulations at each step. Or, you can do the entire operation at once.

There is pseudo-code for insert and delete, and at each forward or backward step the line of code being executed is highlighted.
Police will use drones in Old City [Uruguay] to patrol the streets
Washington Post reports servers attacked, suspects Chinese hackers
That moment when you realise you're older than Perl, and many of the same adjectives apply to the both to you.
These are $5 for a reason.

http://www.reddit.com/r/haskell/comments/1rj2jq/book_haskell...
Traction Book interviews
I'm all for standardizing core function names and deprecating outmoded items, but I was merely pointing out the problems inherent in doing so - there are pros and cons to all decisions, and a great deal are complicated greatly once they're out in the wild for a long time.
I think the idea is to show that worthwhile things can be done with what seems like a small amount of money, otherwise potential donors may feel that their $10 can't make a measurable difference to a real person's outcome and will be less inclined to donate.

Ringfencing money like that would be very inefficient unless you can perfectly balance supply/demand beforehand. What happens if a ton of donors donate goats but then you find that nobody needs the goats anymore but you could really use the money for something boring like employment liability insurance?
Easy for me: App Store didn't approve the app because it was (apparently) against their set of rules. In Google Play it has been for months and the user base is constantly growing.
Happiness is overrated: It's better to be right, study finds
Novice Neurosurgeons Train On Brains Printed In 3-D
Out of curiosity which books did you buy (so I can avoid those titles).
More frequently updated: http://thedailywtf.com/
What's wrong with http://retroshare.sourceforge.net/ ?

It's encrypted, distributed, open-source. It has chat, messaging, file sharing, forums, etc.

What more do you want? If anything, why not just write a plug-in for it or otherwise contribute?
Ask HN: When you code, do you use tabs or spaces?
I've been reading many many internet jokes about the war on tabs or spaces but I never heard any single explanation why one is better than the other from any serious programmer.

I'm not a coder, I'm more designer/UX coder which loves to code. When I started frontend coding I always used tab spacing and view hidden chars and that was the way to do it in the past if you wanted to do clean HTML/CSS code. But since the first release of Textmate and Ruby on Rails, I've been instructed by seniors coders to use spaces and I never asked why. When I raised the question all I've got was some digressive rant.

These are my questions:

1. Your preference and why.
2. What do you think it is the correct one.
3. In your company did they tell you what to use? is there any coding guideline?

Thanks for sharing.
I wouldn't have had a job between 2003-2004 which was untangling Perl and rewriting it in C# :)
Forget rent. In Upstate New York buying is cheaper than renting. There's an idea for a starting bonus: we'll give you the downpayment on your house.
They already exist (python, ruby, ...). Improvement is the only way the PHP commuity as the php community will progress.
Don't use the word idempotent. One of my pet peeves is use of higher level vocabulary in the wrong context. Nothing is being applied multiple times. And the optimized code is a beast of its own, it's not an 'optimized' operation on a normal piece of code.

The code simply does not perform the same rigor as slow, spec-following code would.
It's down, does anyone have a mirror or copy?

edit: managed to get in long enough to grab the text, it's up on http://pastebin.com/5eQnCXkX with links put back in. Apologies to the author for denying them ad revenue, but your site seems to be creaking under the HN strain.
> A mechanical sliding piece of material without any electrical components at all must be considered simpler (and thus "less engineered") than an LED, mustn't it?

Looking at my current macbook lid, I don't how how that would physically fit. The camera would need to be recessed further into the lid to accomodate for the door.

> I would be way easier to convince that a piece of plastic is harder to hack than a LED. For instance, there would be no embedded microcontroller to subvert.

I'm inclined to believe that a mechanical sliding door would have a higher failure rate than an LED.
stop using the internet.

then get a fake identity in the same ways that have been possible for hundreds of years now...

that big trail of data on the internet is useless if it points nowhere.

what i never understand is why anyone wants to do this unless they want to do something wrong and get away with it. i also think we all collectively need to get over privacy - if its not about being caught out doing wrong things then all you get is embarassment potentially? i'm not sure i really understand...

i had to fill out a voter registration form recently, its a legal requirement and there was a big part of me that wanted to not do it on principle. however, weighing up the advantages of being a legal member of society over not quickly changed my mind...
Zuckerberg to sell Facebook shares worth about $2.3 billion
There are some real gems in here for data guys at least - here is two to recommend:

Building Machine Learning Systems with Python

Data Visualization: a successful design process

Disclaimer: They gave me a book for free to write an article on once, other than that I am not affiliated.

EDIT: I see many posts about the quality of books published by Packt, the data vis book I recommended is written by an leader in the field of it (Andy Kirk.)
Still too much for their "Mastering NGINX" book.
I read that in the New York Times during the glory years of The War Against Terror. So yes, our friends at the NSA are on to that one already. So you could go to random cyber-cafes in a big city and still be stalked.

Obviously there is no evidence of them having apprehended an al-qaeda terror operative using this technique, mostly because there is no such thing as an al-qaeda terror operative.

However, there is writing analysis too, 'I'd' imagine that they know you use 'I'd' and you might want to start using 'I would' from now on just to foil their systems. Me, I am going to stop using the phrase 'The War Against Terror'...
Their collective inability to stay on the pedestrian side of the Brooklyn Bridge. One time, I saw a couple getting married in the bike lane! WTF?
Let me point out http://perl-tutorial.org because most books you'll find by simply googling are terribly outdated and teach, plainly put, how to write shitty perl. Modern Perl and Ovid's Beginning Perl (not the older Beginning Perl) are excellent books to learn from.

Also a note about the sigil: Get a decent syntax highlighting set up for your editor and you'll quickly realize how nice it is to have functions, variables and different variable types colored differently.
Anyone know how this shakes out for the authors from a profit standpoint?
Just build your private API as a public API. That's what we've been doing and so far its turning out great
And while PHP has been screaming to its community to "CHECK ALL INPUTS SDGY&F⁴8943%#$%#"

and then we have the Ruby guys coming along, butthumping Rails and mass assignment fests.

Name a perfect language/framework?
It's interesting and I'll have to think about it further but I wouldn't think that a listing fee of 10% of project budget, payable in advance, is going to work.
Ask HN: Why is Linkedin such a low quality?
It is supposed to be a professional network, but the quality is lower then my facebook feed.

Meaning the 'Pulse' which shares outdated or irrelevant (x tips to y) stories, updates, the timeline which is filled with absolutely useless/annoying content. The groups who are owned are taken over by recruiters/spam.

I guess its only real power is to be connected with (previous) colleagues and to see what they're up to. And ofcourse the job postings for companies (although I would never look for a job starting on Linkedin..)

Am I the only one?
Jane Elliott's eye color division experiment
Did anyone say Ponzi Scheme ?
5-hour-old Google mirror: http://webcache.googleusercontent.com/search?q=cache:m91Zysh...
Just in case you can explain it quickly. What happens if the people you know and trust let your down? (It that's a phrase)

The one who is last is holding the IOU is gonna support the loss ?
681 Mbps down, 641 Mbps up. (http://www.speedtest.net/result/3174926712.png)
Check, its up again.
Old Unix sys admins made Perl special. Before Perl, they had to chain a bunch of sed, awk, grep, etc commands together or try to solve their problem in C. Both approaches were doable, but neither were ideal for the task. Perl was perfect for Unix scripting and sys admin tasks. From there, the rest is history.
'Pardon Snowden,' one tech exec tells Obama, report says
TL;DR: Men built the modern society, women should be grateful. Men are doing all the dangerous work in the world, women should be grateful. When society collapses, the classic male figure will be necessary once again.

That's it. I guess the author does not think that women would be "pouring concrete, laying bricks" even if their lives depended on it.
If you're looking for learning and reading material on Perl, http://perl-tutorials.org is the only way to go, exactly because Perl is so old.
I don't understand how they would do this. On oDesk, both employer and employee only have the opportunity to rate one another after the work is completed and the project is closed.
Yes, if you're: at a university. Oh, and if you support the University's mission. Oh, and if the University decides to allow it. Did you read the article? It wouldn't be New York State if there weren't 173 rules and regulations that had to be met before you were eligible.
A book, he's constantly reading.
1. I strongly prefer tabs, mostly because a lot easier to count than spaces, and because I do not like ambiguity (see 2).

2. I think both are correct. Arguably, tab is the indentation character whereas space is the separator character; but languages are human-defined, so I do not mind if people choose spaces over tabs.

3. Never seen company-wide coding guidelines. I have seen project-wide guidelines, which I think makes perfect sense. I believe mixing tabs and spaces for indentation in a single project, let alone in a single file, is extremely bad practice.

EDIT: as an explanation, this is because I regard tabs as individual characters; I believe the real problem is that IDEs will insert 4 (or sometimes 8) spaces when you type a tab.
The problem is that most people in developed countries still owe some kind of rent/mortgage payment at the end of the month, national insurance payments for pension and healthcare, and then they have to actually buy food, clothing, and other actual material goods. They need a consistent income, and often a large one because it's the rentier-capitalist class to whom they owe all the money, and the rentier-capitalist class who are pushing up the price of necessities through asset bubbles in the first place.
I can't place the reference now, but I've read that Gates studied the lives of the big industrial titans - Carnegie, Rockefeller, Alfred Sloan at GM. He clearly found advice on building empires... but he also, I believe consciously, emulated the charitable aspects of their lives. I think he's a Buffett fan because they share an admiration of the earlier generation of American titans.
I think the problem is that the total market share of smartphones is a very poor metric to gauge Android or iOS dominance.

I can't find the link, but I remember reading on HN that a large majority of Android's market share isn't actually users who use their Android phones as a smartphone, but instead don't really care what phone they get, so long it was free with their plan i.e. think of the flip or candy bar phones from a few years ago.

I think maybe a more accurate measure would be to compare iOS to the higher end Android phones, like the S4s or the Nexus's, which I think will be a little closer in percentages.
Couldn't agree more. Happy that I did though.
Pet your dog? Now you're singing my song, potnuh...
I had the same thought until I realized that Human capital is a lot harder to move than buildings. Yes, it's possible to move a company away from a city, but 10 years is a long time. Long enough that a company would lose a ton of employees by moving out of state.
This is quite an interesting topic. For me, the thing is, I have no idea what I am going to be up to in the coming decades. What if I want to serve in some local comminity position? Or create my own company? All of the sudden, that hasty from-the-hip comment I posted to a forum years ago might actually matter. I find it quite tiring to stress over my online "brand". Locking down my Facebook profile has helped, I will say. Using my real name on HN, especially as someone recently trying to pivot into web dev, has definitely affected the way I post. I am more considerate, which is good. But I also self censor more.

The never-forgetful nature of the web definitely changes things.
300 Million Year old machinery found in Russia
This contest is a direct result of some arguments that happened on HN when they announced their product.
Stock Footage - Anistock Stock Footage | about.me
What if lots and lots of people donate to the goat fund, but what people really need is chickens?
I always use spaces because there is no ambiguity of interpretation (ie. 1 space is always 1 space whereas tabs can be set to different indentations depending on the editor). Using tabs leads to the potential for different indentation behavior with different editors and mis-formatted code.
My Experience in the Educational Apps Market – 2013 report
I see. Did they teach you about the very real Gilded Age? Because that's when the US was doing things their way; it didn't turn out so well for the very real American people back then.
My consulting rate is not $5 because I'm not doing "Wordpress installs". I make similar wages to a software developer working in the US.so I do own an iMac 27'' and a $1200 built Windows PC for .NET work.

It would be very hard to donate laptops here in Bolivia because of how this ass-backwards government handles importing goods and taxes when importing something.
>> I hear this a lot and I think it is grossly unfair.

> Judges thought differently, multiple times.

Judges ruled that the practices of the company were illegal.

This is a very far stretch from saying "I think Bill [the person] could be fairly judged as evil and maniacal at times."
I was supposed to write a book for them. Even though they refer to people as experts, table of contents and page count is given up front and is hardly negotiable, so I decided to not proceed. Instead I reviewed the book written by someone else and I'm confident they are not a publisher worth working with. Even though I tried my best as a reviewer the outcome was at best mediocre. Language review is done after the book is done, so it's hard to focus on the content. Half of my comments were ignored because they would cause major rewrites (as a reviewer I was contacted after initial drafts of multiple chapters were completed). And the only payment is a copy of reviewed book.

I don't think these books are worth even $5.
Openshift has failed us :(

Thanks for putting up the mirrors. Do read and tell us what you think :)
I'm tired about all these "Why aren't there so many female engineers?" articles. What is the mystery? The answer is very clear.

Girls, from birth, are subject to absolutely enormous pressure (even if it's subconscious) on the part of nearly everyone they ever come into contact with, to be "girls" and not "men".

If you haven't noticed it before, try having a daughter, and realize that you do it too. I don't care who you are. You do it too.

In a sense, it's hard to consider this as something strange - of course, people talk to each other differently, dependong on who they are. You talk to children differently than you talk to adults, for example. What is difficult is to adjust to the idea that women on men, on certain levels, should be addressed in the same way, and on other levels, addressed in different ways.
>number of intelligent women coders

As opposed to middling intelligence? I'll assume this is a language miscommunication.

>most of them quit half way
>Male dominated workplaces seem to be a contributing factor to this.

Chicken and egg problem: speaking from experience it's really hard, for your entire career, to be around men and more men all day long. Hiring women is hard. Getting women into programming via Dev Bootcamps has been the best attack on this I've seen, and it's a fun way to do it.

>I think it’s coded into a woman’s DNA to not take their careers as seriously as a man and the change of that mindset starts at home.

Stop right there! Cultural assumptions abound!

>If there is any hope for an equal representation of genders in IT, it has got to change from the grass roots level.

Correct. More dev bootcamps please.

>what difference will women bring to technology. Well, I don’t know about difference

What did women entering law, politics and medical fields do? Maybe nothing immediately obvious but the social ramifications these last hundred years or so have been massive, if nothing else I got to grow up having role models.

Edit: links for related dev bootcamps or intro classes:

http://railsgirls.com

http://hackbrightacademy.com

http://women2.com/tag/dev-bootcamp
This article is about a year old by now. Since then, a significant amount of progress has been made. Full details are available in this research paper published at the HIPS conference this year.

http://www.cs.indiana.edu/~eholk/papers/hips2013.pdf

This describes in some detail how they used the PTX backend and linked the host and GPU to perform matrix operations and so forth. Awesome stuff!
Another dimension added to Atomic Microscopes..
Yeah, well, I'm agnostic about public crytocoins being widely used. I'm definitely opposed to encouraging people to taking payment in what is essentially a company scrip.

Setting all that aside, I bet one big problem would be compliance with Sarbanes–Oxley.
Sorry, I never really had anything to do with that department so I don't really know any numbers.
It is not like the feminist groups are fighting to make sure 50% of all pouring concrete jobs is done by women. It's not like feminist fight to make sure that in 50% of divorce cases children go to fathers. This isn't helping feminist image at all. Another special interest group that fights for special treatment. This much about equality.
That's cool. :) But I'm sure the correct statement would be untangling messy code written in "your non-favorite language" and rewriting it in "your favorite language or management's choice based on buzzwords". :)
Show interface in depth
> If only for the fact that both Python and Ruby come with decent, built-in webservers.

With PHP 5.4+: `php -S 0.0.0.0:8000`, just as useful as SimpleHTTPServer.

And I wasn't aware of Ruby coming with a web server. I know of WEBrick for Rails -- but is there a standard module that Ruby ships with that's similar to the above PHP and Python servers?
Still the best all-purpose language. Trend languages like Ruby and Haskell are flashes in the pan.
Show HN: A repository for private messaging services, like Telegram
Spaces.

Using spaces practically guarantees that code will look exactly the same for everyone, and that people won't accidentally exceed the project's 80-column rule because of how they've set tabs in their editor. It doesn't take too much diligence to avoid these issues when using tabs, but it's more than zero.

It's not a company rule; it's a project rule. I think using tabs is very slightly less optimal, but what's more important is that people be consistent across the project.
Perl was my #1 language 1996-2004 and my answer for the period would be.. CPAN. It's easy to find great libraries for almost any language with traction nowadays, but back in, say, 2000, library availability and packaging was piss poor in languages like Python or Ruby. CPAN was full of great stuff, all reasonably well documented, and, the kicker, a lot of it had tests too.
Tabs for leading indentation, space for alignment would be my favorite combination. However, in practice, it seems too complex to enforce. So space everywhere is good enough.
I think he intended to add a /s at the end
We had this conversation while building our somewhat popular mobile game. Despite being a huge fan of Android, iOS remains significantly more profitable, especially in games.
Ah, the great PHP massiah. This indeed looks like some very productive use of your time and effort.
I loved my Dad. He let me hang out with him in his workshop, he did cool tech stuff with computers (back when having their guts spilled out on the floor was the norm). I grew up loving tech because I loved my Dad, and it just become something I gravitated to. Might not be the entry point for all women but Dads - hang out with your daughters and spill the guts of your computers on the floor and make the lights blink.
One thing I like a lot about PHP is its version stability, it has changed somewhat over time, but not to the point where it breaks important features.

I have seen many a framework and language (the sort that you might see hyped on this website) that make drastic changes and only their most ardent fans stick with the new version. It's often an opportunity to switch to the next big thing.
Thanks I wanst sure on the technical details. Nice to see the problem has been isolated to the valve.
> his theory on morphological evolution isn't based on anything but experimentation and theory

Alright, I'll bite. Can you point me to his papers that describe falsifiable experiments, and to the peers that have repeated his results? Or just some books on Amazon?
One of Perl's strengths, actually, was (is?) how well it was supported on many different types of systems. Today's world is largely Linux/Windows/Mac, but that was far less true in the 90s.

I started using Perl on VMS, where there was no sed, (g)awk was new, no grep ("search" did not handle regular expressions, "find" did but arrived very late); and the command language, while sane, was very slow. Perl's system integration on VMS was excellent.
Interesting! I knew about clang and what Google is doing there. It is definitely related to the point I'm trying to convey.

I'll be taking a close look at Coccinelle. Thanks for the link.

And as you say, C and C++ "might be the worse languages amongst typed languages to develop such projects on," due to things like the preprocessor, hard to parse syntax, etc. So I'm saying, perhaps it is time to invent the programming language that is most amenable to this.

It's amazing what we can do if we put our best engineers onto the hard problem of achieving this with C / C++ code. Imagine what might be possible if we designed a language from scratch with the primary goal of making this easy. As far as I know, no programming language has ever been designed with this as its primary goal (I'd love to be corrected if I'm wrong).
Técnicas de Reforço de Solos em Curso do IST
Thank you. Here it is

http://www.wrinq.com/

It is not much at all just a description of what wrinq is going to be. But I am making progress every day.