skysight-inc/HackerNews huggingface dataset:
Using version control and frequently checking in your changes (I'm thinking several times a day, not a big checkin once a week) will allow you to pursue avenues of exploration, possibly realize they are dead-ends, and roll back to an earlier state with no difficulty. This can be really liberating. Don't worry if they are non-working checkins (do those on a branch if you want), just make sure you have preserved significant stages in case your subsequent work doesn't pan out.

Implementing some form of "print myself" function (operator<<, I think - it's toString() in Java) on each object in your data model, so you can see something within a debugger, beyond the usual "object at address 0xDEADBEEF" type of information can be very helpful.

Since you are working on a program in a well understood domain (chess), there is a lot of available data (PGN databases) and a number of other implementations. I think it would be worth spending some time building some scaffolding that will let you take advantage of these for testing. For example, if you are building a move generator, you can build some harnesses that will take libraries of PGN games, and use your move generator to successively generate the candidate moves for each move of each game, and make sure that the move that actually followed is one that your move generator is capable of generating. You can also build a harness to compare your move generator's candidate moves to another implementations', and make sure that they agree. This kind of thing can take a long time to run, but if you set up some continuous integration kind of thing to do it continuously, asynchronously, or to do it overnight, you can catch some problems early enough that you can handle them more gracefully than later, especially if the cause is ultimately the object model - you want to fix that before you build lots of code that depends on it and is resistant to changes.

I'm not sure whether this is as easy in a non-GC language, but I've found using immutable data objects makes many things more easy to understand. I'd seriously consider making a position (a particular state of the chess board) be immutable, and applying a move to that position produces a new position instead of modifying the position. The functional language literature has a fair bit to say about the benefits of this approach with respect to understanding what a program is doing at any given time.
What do you suggest instead that's in Python?

Also, what markup to you prefer?
Or you could fill a truck up with diesel and fertilizer and blow it up. This technology is far more likely to reduce deaths associated with cars than increase.

Go back to the beginning of the 20th century and think how much damage could be caused by creating a nationwide electric grid. People could electrocute people at will. Personally, I'm kind of glad we went ahead with it.
Using Lightscribe In Linux
I really don't like these "do this way ALWAYS" or "NEVER EVER do that" advices. In my eyes it will not help the reader. A good plan is not one that magically pops up in your head, but one that you refined many thousand times through sweat and experience. The upper bound (in terms of success) of most strategies is much higher then most people think. Just choose one that makes you feel comfortable. If people want to negotiate piecemeal, they SHOULD! If they do that often and work out how to act in different occuring situations (good and bad ones will come with EVERY strategy), then their plan will gradually improve.

I claim that the worst strategy, but with very well worked out details and executed by a practitioner with a lot of experience and who is well shaped for that strategy, will beat most people applying the best strategy. Of course with 26 years in age, I can't say that my theory is true or not. But my experiences until now support that theory. What do you think?
> if your goal is to become a famous writer, there's nothing you can do to make success certain - but if you never write anything, you can guarantee failure.

I know you were using that as a counter-example but this immediately came to mind (from a successful writer)

> It has never been easy for me to understand why people work so hard to create something beautiful, but then refuse to share it with anyone, for fear of criticism. Wasn’t that the point of the creation – to communicate something to the world? So PUT IT OUT THERE. Send your work off to editors and agents as much as possible, show it to your neighbors, plaster it on the walls of the bus stops – just don’t sit on your work and suffocate it. At least try. And when the powers-that-be send you back your manuscript (and they will), take a deep breath and try again. I often hear people say, “I’m not good enough yet to be published.” That’s quite possible. Probable, even. All I’m saying is: Let someone else decide that. Magazines, editors, agents – they all employ young people making $22,000 a year whose job it is to read through piles of manuscripts and send you back letters telling you that you aren’t good enough yet: LET THEM DO IT. Don’t pre-reject yourself. That’s their job, not yours. Your job is only to write your heart out, and let destiny take care of the rest.

http://www.elizabethgilbert.com/writing.htm
Flight attendant threatens plane security
> I just don consider advances in these areas terribly important in the grand scheme of things.

What is the grand scheme of things?
Domain Names 101
I never said it was mind bending. I said it was a good mental exercise for young engineers to go through to fully understand pointers.

It's one thing to read about pointers, it's another to actually implement a linked list in C.

Again, I want to stress I don't think you should get awarded a PhD for it, but for first year CS majors: it is good practice to actually implement and debug pointer-based data structures.
Via Hack a Day: http://hackaday.com/2012/03/09/tuna-can-and-some-other-trash...

This version has comments that explain what the sponge does.

--

Original in yaplakal: http://www.yaplakal.com/forum2/st/0/topic411405.html (Russian)

Autotraslated: http://translate.google.com/translate?sl=auto&tl=en&...

This version has the DIY instructions, with photos of the building steps.
Self driving cars are going to be a defining point of our generation. I don't think people realise how disruptive this will be. The way cars look will be great to see evolve as mobile lounges or offices once the driving position is not needed. Or even a bedroom so you can travel medium distances while you sleep and not waste time on this any more. And as systems get better we might see allowable speeds increase greatly.

And beyond personal cars this is going to be huge in the transport and delivery industries. It will make it easy to car pool by being a member of a group of cars that stay around the city and I think owning one car for one person will be much less common. It will be a boon for online businesses as the cost of delivery will be reduced with the removal of drivers. Combine this with faster warehousing systems and when we order that product online it could be delivered in the time it take to deliver a pizza today.... unless you decide to just 3D print it. I find this quite exciting.
I agree that nitpicking is unhelpful, but you're wrong about singular they. It goes back at least to Chaucer and is as English as can be. Shakespeare used it ("God send every one their heart's desire") and Jane Austen way used it (http://www.crossmyt.com/hc/linghebr/austhlis.html). No one can accuse Austen of "silly new grammar".

The point is that all the good writers have used it forever. That includes Byron ("Nobody here seems to look into an Author, ancient or modern, if they can avoid it") and Wilde ("Experience is the name everyone gives to their mistakes") and, as Geoff Pullum wonderfully discovered, E.B. White: http://books.google.com/books?id=aqe9RoZorLIC&lpg=PA109&...

The kicker is that the real PC silliness turns out to have been generic he, which was imposed 200 years ago by grammarians who wanted to make English more proper and Latin-like. It never fully took, and now it's fading as social norms shift. If those meddling ideologues had left well enough alone in the first place, we wouldn't be having tedious pronoun battles today. Given the history, though, it's pretty clear that English is slowly reverting to what the real masters have been doing all along. Sounds fine to me.
Another alternative to consider is using a tool that is not WYSIWYG (like Org-Mode). I think putting together a presentation that's good enough for most things--e.g. a developer talk about some technology--with a tool like Org-Mode is easier and faster than using PowerPoint, Keynote or any other similar tools.
Hacker News: Stop greying out flagged comments
I tried several words, they are not blocked. Maybe it's because the government is loosing some of the restrictions, which seems to be true in the last few months. Usually political sensitive contents on Renren (RENN) were blocked within a few hours, but now they are "allowed" to be there, for now. My favorite blocked word was "Tomorrow", which was blocked during Feb 2011 when "Arab Spring" spread to China, so that people could't say things like "let's go on the street tomorrow", lol, of course, it's not blocked now.
Easily change your source code without the need of logging into your ftp account
Hi,

I am the founder of Codepigeon.com

A service which allows you to edit code snippets online and embed them in your website. You don't have to handle different FTP accounts anymore. Store your data on CodePigeon and quick edit content on your website. You can embed html/javscript and PHP.

Right now Codepigeon is the ALPHA/BETA phase and were are looking for beta testers.

As a BETA tester you will be entitled to all the payed features for free (payed features will be added in a few months - right now it is totally free)

If you are interested please visit http://app.codepigeon.com!

Please provide your feedback in this forum or preferably under http://helpdesk.codepigeon.com

Thanks

Your Codepigeon Team
> By using these cliched examples, we're intimating that our society is somehow different.

It is, the price system is fundamentally different. Even if those or similar processes take place within certain organizations (like large corporations or universities), most absurdities are largely confined to those organizations.

And the examples from communist countries are great because they show where bureaucratically controlled economy leads, which is sometimes difficult to notice in systems where government's influence is more or less diluted.
The specific reasoning is key: if you negotiate point by point, each issue becomes a compromise, regardless of importance. It's better to be able to hold fast on important issues, give in on issues the other side thinks are far more important than you do, and compromise on the rest.
I'm pretty sure he painted the glass sets of the Death Star for "Empire strikes back", too.
As I say in the post, this is meant as purely constructive (not blindly or rudely critical). I think a different approach to downmodded comments would be helpful in achieving the intended purpose, which to me is limiting visibility of inflammatory comments.
I think there's lots of things people don't realize what a driverless car means.

Most people claim they like driving, but sit in a car with any of them and most don't enjoy it. Beyond the people who road rage at the simplest of things. Everyone gets stressed when people drive erratically, can't merge properly (getting stuck behind someone on a centre-turn lane road because they can't get their vehicle out of the driving lane), can't turn faster than 1mph, etc. and keep that stress throughout the drive.

What I look forward to with driverless cars is:
- I can go to a bar without paying $20 for a cab there and back for $1 in gas and a 30 minute wait
- My wife (without a license) can use my car without me having to drive it, plus I can pick my wife up from work without having to take the 30 minutes daily (5 1/2 days a year simply picking my wife up from work)
- I can make the 3 hour drive up north on a friday night after work and not have to fight to stay awake if it's been a long day. Shit I can make the 20-hour drive to the east coast to where my wife's family lives without having to spend 20-hours driving.

Whats more, the trucking industry is one of the biggest employers in NA. They're restricted to 10-hours driving a day. Not only does driverless mean more cost efficiencies, potentially less vehicles on the road, but it means goods move faster. Here in Ontario I get California strawberries and 1/2 the time they're beginning to mold. California is almost a 40 hour drive away. Meaning those strawberries are at least 4 days old. Not 2 days old. Meaning they might actually be edible.
This is very cool, thanks for posting this.

I wanted to find a similar utility for Windows and came across Color Oracle:

http://colororacle.org/

Also, thanks to this, I've noticed that the common purple color for visited links is distinguishable from the blue it usually accompanies (e.g. Google) for people with deuteranopia.
Cue another "IMPOSSIBRU" rant on the TSA blog ;)
Violent agreement.
The problem with OOP is that its really not something that should be taught to people who are first learning to program. It is extra complexity and doesn't add any value for beginners. That is my problem with Python.

C has its disadvantages, but you get: 1-a simple syntax 2-good mental exercises in learning, implementing and debugging pointer based data structures 3-a good idea of what is happening at the processor level when a computer program is being run.

You simply don't get that combination in any other language.

There are caveats of course: theres the functional vs procedural argument (which is a higher level argument than this). There could also be a good point that OOP should be the very first thing a student should learn, but only if you teach them a smalltalk based language, not python, java, C++ etc.

For the context of my argument, I chose: 'for teaching first year CS majors their first procedural programming language, what is the best choice?'
http://en.wordpress.com/tos/
Live streaming. Especially low (well, lower than HLS for example) latency streaming.
Can you think of an important, common situation where it is definitely better to negotiate piecemeal? Maintaining leverage and being able to trade off concessions in different areas is very important in a wide variety of situations. "Never do X" advice can be useful as a heuristic when it pays off in the average case.

One probably could develop his own good negotiating techniques over time, but that would only come after being destroyed repeatedly by highly-skilled negotiators. I think it's way better to shorten that process by learning from others.
Show HN: Password validity hinting
Yes, it's called "bundling".

http://businessnegotiationservices.com/bundling-in-negotiati...

I highly recommend everyone learn the basics of negotiation. This isn't rocket science and is one of a set of well-known techniques.

Go buy "Getting to Yes". It's a great primer to negotiation.

http://www.amazon.com/Getting-Yes-Negotiating-Agreement-With...
I'm uncomfortable with naming a nation. Especially with the US cultural thing of "polish jokes". But the article needs a nonsensical bureaucratic system, and CCCP communism provides an excellent example.

I agree with you that a poor metric will do harm, and that there are plenty of examples in "western" manufacturing. (I used to work in electronic sub contract manufacturing, and I saw the nonsense that was ISO900x documentation.)

Going further, there are a few things which need new names.

"Mexican Bridge" - there's a four lane road bridge and politicians want to improve traffic flow so they remove the lines and paint more, turning it into a 6 lane bridge. That's a 50% increase in lanes, but now they are narrower and so there are more accidents. The politicians decide to go back to four lanes. That's a 33% reduction. Because they are politicians they call this a 50% - 33% = 17% increase. (This is from "How to lie with statistics", a great book with occasional uncomfortable language.)

"Chinese Whispers" - the childhood game where one child starts by whispering a sentence to her neighbour, who whispers it to his neighbour, etc, and then at the end of the chain you compare the original with the final sentence. I've heard this called "Broken Telephone"; but no-one (in the UK) knows what I mean when I call it that.

"Indian Giver" Louie CK does an excellent routine on this.

And then there are other things which are fine, but which some people think aren't: "Nitty Gritty" (nothing to do with slave trading ships) "Chinese wall" (in business, no racist connotation) etc.
In the worst scenario the privacy of the system may be breached but the integrity of the system is always preserved. Let us emphasize this a bit more. Let us consider the unlikely, worst-case scenario where a hacker gets full control of both the software and all the secret keys of the system. Even in this case, the system guarantees that if the hacker tries to change the posted votes or the tallied result, then auditors would detect the attempt and reveal the forgery. Thus, if the elections pass audit and are successfully verified by voters, then voters can be assured that the election results are correct.
If your legacy code has no tests, how do you know its replacement works correctly?
It also creates other jobs, but continually means you are losing unskilled jobs. So unskilled labour workers need to be re-educated.
I don't see what you're getting at. Those machines were produced in the same time period. Old machines that only have KB of memory do stop being useful because of age. At this point it would be an egregious use of power to run these things to do calculations that can be done by your cellphone in milliseconds. If you want to experience ITS, run an emulator.
Why do authors like to use headlines like "China's version of Twitter" or "China's version of Facebook"? What is wrong with just simply calling it "What is not allowed on Sina Weibo" or "What is not allowed on Chinese microblogs"?
HTML color codes
HTML color codes
ALWAYS/NEVER has a lot to do with attracting clicks. You ALWAYS see headlines like this getting voted up, but NEVER see articles titled, "It may usually be a good idea to not negotiate piecemeal," getting much traction.

Your latter claim is debatable but isn't wrong. I would just say that if one is willing and capable of adapting and adjusting to the situation, that you're going to be at least competitive with if not ahead of most people with an inflexible strategy. Only in solved games does the 'fixed' game theory optimal strategy beat anyone who deviates.
I've realised who disruptive this will be, and have pointed it out to my wife many times.

The first that comes to mind is that driverless cars can literally end drunk driving. I've seen many bars close down due to lack of service, because no one wants to spend $40 in a night just on cabs.

I know people whose cottage is almost 12-hours away through rural roads, and go up every other weekend. It would entirely change their time if they weren't stopping in motels and getting there mid-day on a saturday. If they had a driverless vehicle, they would get there at 6 in the morning and be fully rested.

Greatly increased speed limits is what excites me the most if only because it's the next step in making our physical world that little bit smaller. When you double vehicle speeds, you're changing the world. There would be less overloading on urban centres due to the convenience of short commuting distances.
Collapsing is not a bad idea if there's a threshold setting in Preferences set to some sensible default (e.g. -5).
Wow, what a great piece. Lots of good advice. Made me cringe in recollection at a few times in my life.

Interestingly enough though, my most adversarial negotiation of my life went like this (caught partner embezzling funds after he'd had a personal finance crisis)... interestingly, that one was wound down by email and fax with entirety of the agreement like this, and was the most successful. I didn't get this point back then (I still screw it up, actually, by trying to proactively "fix" things and oftentimes taking things at face value that are just leverage/negotiating moves). Yet -- I got lucky. My ex-partner's father was a lawyer, so we just faxed/emailed drafts back and forth.

That one came out OK, good outcomes even. Many other situations I had a much better position and better odds, but did poorly since I compromised/conceded/"helped"/"fixed" too early and set an expectation that things would continue that way.

Hmm. Expectations are a funny thing.

This is a really great article. Anyone who thinks it's not relevant to them should read it twice, since it covers a hell of a lot of life. Brilliantly put piece.
نكت مصريه عن الصعايده فيديو تموت من الضحك
Hacker News > Google+
This story took a long time to explain a simple concept.
Thanks a lot. I wish there was a higher density of cars. Also different teams => different systems.. that might introduce good jitter to avoid systemic locks. Anyhow it feels pretty safe.. can't wait to see it becomes standard.
Use "verbatim" under "Search tools".
Best processor
According to wikipedia, Lucas used one of his designs for ESB's Imperial Probe Droid, but that's it (although later features draw from his style and works e.g. Coruscant)
Sometimes, it's just not a good idea. If you have a piece of software that has been battle tested and many of the bugs have been worked out over the course of several years, you will have an entire new set of bugs with a complete re-write (which could take lots of time to figure out).

I've also seen this as a solution to many problems because it was much easier for the developer to start over than to figure out the existing code and try to work with it.

But, there are some instances when a rewrite is the answer.
I would have liked to see them attempt to fix Trivial Pursuit. Comparing with Wordfeud doesn't help because a Trival Pursuit board contains more information. What would you use to distinguish player pieces besides color? You can't use different shapes like Monopoly (if you do want to do that, problem solved; just put a Monopoly piece next to your TP piece and move them together).