skysight-inc/HackerNews huggingface dataset:
> 2. Deferring your happiness to the future is a terrible idea

Every time I see this, I ask myself, how is this advice reconciled with the famous Marshmallow experiment? http://en.wikipedia.org/wiki/Stanford_marshmallow_experiment

There surely must come a point where enough deferred future marshmallow gratification makes deferred gratification a recommended life strategy.

If I were always to choose not to delay my happiness, I'd eat unhealthy foods, not force myself to do exercise and never work hard to achieve anything.

As I heard a comic say, "I decided to live every day as if it were my last. Now I have really bad credit."
You're arguing against an Existence Disproof here. Right this minute, there are tens of thousands of people travelling the world slowly from a backpack, picking up casual work as needed to get them to the next place. No special skills needed. Most of them you'd consider unskilled, which is just fine for waiting tables or running the front desk at a hostel.

It's less common to see Americans doing this, but you'll be hard pressed to find a Brit or Aussie who didn't take a Gap Year at some point.
My point about bloated IDEs was to highlight my specific setup and preferences, which may not be specific to your setup.

I also think that proper configuration should be preferred over hardware-investments. Heck, I lived in a time when optimizing Config.sys and Autoexec.bat was required for playing games.

I do get annoyed by arguments that take a small part of what I said and comment on it out of context. Don't take this the wrong way, but your rant is not warranted -- if Eclipse floats your boat then I have no problem with that.
You should always worry about losing it, traditional spinning disk or not. That said, my SSD is doing just fine, but I still have a full backup of it.
Why People Avoid the Truth About Themselves
Have you tried hiring good devs and then let them learn php, rather than narrowing your pool of candidates by only considering good devs who know php well? I mean, the latter may be preferable, but the former will often do.
In addition to the functional programming techniques it offered (which are now handled by underscore in the jQuery landscape) its selector was much more performant than jQuery's for a long time.
Easy. Any biometric sensor. Fingerprints for instance. If the machine detects the same person trying to play again, it just refuses to run. Or... (if I was designing this) kills them where they sit. Next person that reaches the game's remote location gets to remove the skeleton from the chair. Good incentive to not cheat.
(I'm assuming some kind of real-world post-apocalyptic scenario, in which 'legal ramifications' don't exist.)

Actually, if there was some decently functional strong AI in the game, this could get very mythological. Quest to visit the Oracle - you have to get to the site then play the game in order to reach the Oracle in the gameworld. If you die in-game before then - well tough.
From my CF time, I remember a lot of CFML code.

That and utterly unreliable servers, to the point of having a process running under Windows to restart the server when it accumulated, say, 50 pending requests.

I'll never touch it again.
Not really a fair comparison. GitHub is aimed at open source development, and is doing quite well at that. So for github you want your data to be visible to everyone in the world.

Imagine if someone thought a blogging software was like a diary in days gone by. "You mean everyone can see what I write in my diary?! How terrible!"
One of the greatest surely has to be the original Yahoo. Started as the founders' personal list of links. No categories - they only added those later.

http://docs.yahoo.com/info/misc/history.html
Link for the BBC version http://www.bbc.co.uk/news/uk-politics-14193124
NBOX RMVB MP3 AVI MPEG HDD TV USB SD Card Media Player
100% Brand New.
Weight: 302g
Size:140 x 90 x 22 cm
Color: White
The high-speed USB 2.0 interface supports "hot plugging" and enables connection with such equipment as Digital cameras and portable hard drives
It supports portable memory drives such as MMC, SD Cards and USB hard disks
How much sharing actually goes on? (And just because somebody impulse clones a repo doesn't actually mean there's meaningful sharing going on.)
Add "in bed" to any website
This is why https://codeplane.com/ was created. 2GB worth of private repos for $9/month.

See http://news.ycombinator.com/item?id=2674417 for the discussion of Codeplane on HN.
Isn't there some value in paying for a service that you use and value?
I'm sorry, maybe my comment was unclear. I'm writing the tests. I was looking for suggestions for programming questions (i.e. is giving them a problem that requires implementing a binary search or a graph useful?).

That link is useless to me since the site is in English and nearly all my applicants are Chinese who don't have the language skills to read it. Throwing 200 weak applicants at it would just be a waste of $600USD/month.
I won't argue that some people are allergic to lavender, but I would appreciate a citation on the other two pieces of information. I googled a bit and couldn't find anything about the hepotoxicity of the lavender flower. There was some info on lavender essential oils, both as poison and so-called estrogen mimic, but a vial of oil is obviously different than a sprig of a plant.
I have not yet resorted to that. My concern (which is possibly unfounded) is that it would take significant investment before the productivity gain made it worth it. Then you have the risk that a newly trained person would leave the company as well. Also, I am not sure that a good developer from another language (like ruby/python) would consider using PHP on a day-to-day basis due to the perception of php as a crappy language.
Imho, php arrays are not better but more convenient for the job: they are silent, not throwing exceptions when keys dont exist etc, they are all hashtables so you can use them as both arrays and lists, "foreach" syntax is better, nonexistent values convert to "" or 0 appropriately, you can do $a[1][2][3][4][5]++ without defining $a etc. Not better, just more convenient when you're in a hurry.
Nerds are so cheap it's ridiculous.

Let's look at the standard plans for smaller teams - it maxes at $22/month for 20 private repos and 10 collaborators. Not bad.

On the business side the max is 125 repos for $200/month.

Even in the midwest a full time dev costs say at least $4,000 a month. Assuming you have a team of 10-20 devs, that is what $40,000 - $80,000 a month.

So, at the high end to keep your team of 10-20 devs happy it costs you an extra $200 a month on top of the $40k+ you are spending in salary and so forth. Drop in the bucket.

And if you're an indie dev and you can't afford $22/month for awesome code hosting for all your projects, you are the kind of cheapskate that you might as well look elsewhere. Also, there are a TON of options out there like bitbucket, assembla, and so on if you want "cheaper" hosting.

Seriously, you could put out a crappy android app that makes you $100 a month in a weekend and that pays for your github hosting.

Why complain?
Remove any URL from Google via Webmaster Tools
But that would give up the really good dell discount for buying 30 identical machines.
Building an Aduino Thermostat
For error handling it is considered fine.

The way it is used in that code is pretty horrible, IMO, and splitting it into functions and using "return" in place of goto would have been far better.
Signs of an ill-factored system
People without college education sure, but they have a different kind of education, which was my original point. Why is college seen as the only way?
AmEx Offers Deals Based On Your Facebook Likes
I don't mind GitHub pricing, but I wish it had a "Archive" option for the private repo, for those projects that aren't active anymore but still want to keep the repo on GitHub just in case. And of course the archived repos wouldn't count towards your total repo unless they are reactivated.
I personally do not feel that question will help you too much. You will be stuck within a team, say 5-10 people reporting to someone, and that is the environment you truly care about, and it's something the recruiter will not know much about. Those are the people you'll be sharing most of your time with for years and it's truly the one area you have to get right. The satisfaction level within the department is strongly secondary to that.
I'm thinking something a bit more high tech, like using NFC or Bluetooth so that you have to have the phone in range of the computer.
Acutally, github is aimed at making money proving awesome code hosting. They host open source stuff because it is a GREAT way to acquire new paid customers. It's the freemium model done really well.

github is still a business and at the end of the day they need to make money.
The problem with PHP isn't so much PHP itself as the shares of bad programmers, libraries and examples out there.

Awesome PHP is awesome.
Well, if you don't say anything you will most likely get a number lower than X.
Linux 3.0 Release Delayed
Hacker News! It's still pretty minimal, but look how well it suits its purpose.
Ah, my recollection was that the Django guys wanted to include South in a previous Django version (maybe 1.3?) but that the South developers didn't want that to happen. I had a quick look and couldn't find where I read that, and you seem to know better than I do, so I'll assume I'm misremembering something.
Totally agree and they also have free unlimited plans for academia and students :)
well. if it is 2-3 hours task - i believe 15 minutes wasted for context switch is still better then 2-3 hours lost waiting =)

Questions is - will 2-3 hours task become 30 minutes task with SSD drives?
14 Things Your Startup SHOULD Copy From Foursquare
And if you're stuck in the Microsoft ecosystem there is DOS on Dope:
http://secretgeek.net/dod_intro.asp
You can "outsource" some of it. I know fellow Brazilians who work in the US and come back for dentists. In part because our dentists are better (or so I've heard), but mostly because they are a lot cheaper.
From my own perspective: my wife and I love going to the local big-box bookstore, grabbing a few books or magazines off the shelf, buying a few coffee/bakery items, and sitting for an hour or so. Judging from the crowd that accompanied us on most weekends, I don't think we're unique in that regard: the only money we're spending there is in the coffee shop, or through impulse purchases.

The fact is, we buy most of our books on Amazon or other online retailers; the bookstore is a form of cheap entertainment for us, not a serious place to shop. Their variety of inventory simply wasn't good enough to rely on (I paint Barnes and Noble with this brush as well, and the last time I was in a Chapters, it was similar), and overnight shipping is close enough to instant gratification for us.
No objection to your general comments, but just to clarify, knockout.js is a regular open source community project, not an MS product. Also, do try it - you might find this approach to binding to be much more compelling in a dynamic world (i.e., JavaScript).
Just a quick question about the A/B test you ran: It looks like the structure of the signup page changed as well as the background. Don't you feel taht could've affected your results? I have little experience with A/B testing myself but have usually read that it should only be done by changing one aspect that you want to track. Was your A/B test different?
Wait, you can upload a .rb file to a random hosting provider and it'll just work?
http://docs.python.org/tutorial/datastructures.html#list-com...

This should help you.
Not so different in theory. This just displays how little fuzz client certification can be on a higher level which is more easily approachable by web developers.
Unless you're Werner Vogels, in which case you mandate whatever the implementation team feels like using, as long as it scales and adheres to the service interface specifications.
That's exactly what happened.

Those crazy kids at Berkeley cooked up BSD, which was written to meet their needs and subsequently forked into a few variants. The GNU people made a GNU collection of core utilities that met their particular needs and desires.

The Unix nerds at my University felt as you did, and ran a Unix System 5 variant into the late 90's.
The press or non-profit organizations should not be put in the position where it is responsible for providing a robust defense for people accused of capital crimes.

Agreed - the justice system should be doing this. They aren't. Until they do, I feel the sunlight that the death penalty attracts is highly valuable.

...inequity in the manner defense is provided against prosecution makes me completely against the general practice of the death penalty...

Is the inequity greater for the death penalty than for life imprisonment? If not, then do you also oppose life imprisonment?
"Wary", not "weary".

I'm not sure that I agree that data binding is a 'sloppy coding trick'. It's a time-saver. It enables what you were going to do anyhow, but with a lot less code. (And hopefully a lot clearer.)
I assume that what the poor twenty-somethings actually want is the interface since alternatives like Gitosis and Gitolite are cheap and cheery, but unpopular amongst that crowd. If that is the case however, then I am surprised noone has made a FOSS clone duplicating the interface ideas.

However your argument doesn't explain why there is not even a single private repo free tier. That wouldn't canibalize their B2B tiers at all, while keeping a lot of very small developers happy.
Strongly disagree. Kohana is, IMO, rather poorly designed (while rewritten, it's still fundamentally all too similar to CodeIgniter for my liking). There is not a strong focus on security[1], there is not a strong focus on modernity--it's inexcusable to not be on PHP 5.3 today, and while Kohana will run there it does not understand PHP 5.3 idioms and features--and the code quality, after auditing, is not all that impressive.

Symfony2, on the other hand, puts a fairly strong emphasis on security, is fully based around PHP 5.3 idioms, and is written with sparkling code.

[1] - http://dev.kohanaframework.org/issues/2766 comes immediately to mind; forget the resolution of the bug (such as it wasn't), the behavior of the developers is not good. I get the feeling from those who've used Kohana that this isn't a unique situation.
This is what the internet does.

I've grown up with a price point of $0.
Agreed. And remember you're only seeing a little snapshot in time, so there are probably quite a few questions you could ask regardless of your observational powers.

Do you eat lunch together? Is dress always this casual? How often do you refresh your equipment? How often do people work in groups vs solo? Do you encourage working in pairs? How geographically distributed are project teams, typically? Do people take personal calls at their desks? How do you manage shared resources like conference rooms? At my last job, everyone stood up and belted show tunes for a 1/2 hour at tea--do you have such a program?
A college student I know likes to play a certain online game. Some accounts have items and status symbols that are valuable in-game, but the accounts are abandoned for years. Some names are even intrinsically valuable (names like "Sun" or something like that). This college student, at least once a month, guesses the correct password for these old accounts based on information the users provided years ago.
This Ji person turned out to be quite the allegory of the present moral state of humankind, didn't he? Is there any aspect of the original concept he didn't corrupt?

What's the bet he either didn't actually play the game, or played several times?

One kind of signposts the gameworld should have. Gravestones. Enter your name to play; when you die the game's graveyard gets a new headstone. Would show up... Ah! (slaps forehead) no - of course cheaters would use a different name each time.
But still... a graveyard would at least show how many times the game had been played. Maybe the epitaphs could record the manner and time of death?
Cooking: Emma's Recipes: Chicken Parmesan - Free Online Games
In Python:

foo = mydict[key] # Throws exception if key does not exist
foo = mydict.get(key) # Returns None if key does not exist

PHP foreach compared to Python foreach:

# PHP
foreach ($arr as $value) {
echo "Value: $value<br />\n";
}

# Python
for value in arr:
print "Value: %s<br>" % value

# PHP
foreach ($arr as $key => $value) {
echo "Key: $key; Value: $value<br />\n";
}

# Python
for key, value in arr.items():
print "Key: %s Value: %s<br>" % (key, value)
Developing the IBM Trackpoint keyboard
While some of your other listed projects are okay (as it happens, Doctrine and Twig are both used as part of Symfony2), Zend is generally considered about as ancient as CakePHP today, and I don't really know anyone who recommends using it for new projects. Most of the "big-name" PHP projects out there are creeping horrors (I'm looking at you, Wordpress), and Zend kinda falls into that bucket.

Personally I'd be very wary of Lithium as the code looks pretty slipshod internally from a brief scan into it, but Solar and FLOW3 are solid projects.
Sharing doesn't necessarily mean someone cloning or contributing to your project. I find github useful because it lets me read other people's code both for evaluating potential co-workers and getting better at my craft.

I've learned a lot from reading other people's code and I still think it's one of the best ways to learn new languages and techniques.
The problem is the cost per repo... Some people would rather have a lot of small repos to hold all their random stuff, instead of trying to stuff them into a larger repo to save money.

I have personal projects at home that I've started and don't want to release yet. (Maybe not ever.) I'd love to put them on someone else's machine as a backup. But at those prices, it's not worth it.

Even as a business, there's probably a lot of little utilities that could have their own repos, but they don't get modified much, so they don't really need them. Github isn't an option for that scenario.

As for 'Why complain?'? Because money doesn't really grow on trees. Rich people get rich by spending their money wisely.
To be fair, the markets of Dropbox and Github are dramatically different. In fact I'd say that the Github pricing model is quite better in terms of adjusting the price to the demand. As I've read in some other comment here in HN, if you don't use Github because $100 is a lot of money to spend in your project, then you probably shouldn't be using Github.
Still, they offer great and FREE micro accounts for students (I have one) and the support is great.
It's very easy to message "Free for OSS, paid for other folks", and it prevents you from having a failure to convert moment when a) you start using Github internally at a job/startup/etc and b) you need to add the second repo. If you then have to go get authorization for a purchase, you might do something stupid like a) migrate or b) cheat, rather than go through the authorization process, because you've got work to do today.

It is much easier to say "Look, you know Github, you like Github. You want to use Github for work? Get them to fork out for it. No, not fork(1). fork($)"

Hypothetically suppose a particular company's advantage is UI/UX. If this is true, that company is in less than zero danger of getting FOSSed.
Ask the team which they'd prefer.
It seems like "-n" flag appeared in UNIX v7: http://www.bsdlover.cn/study/UnixTree/V7/usr/src/cmd/echo.c....
Google+ Quick introduction
In the context discussed in this thread, "framework" means code that includes MVC, URL routing, and often an ORM. PHP in itself doesn't offer that; you need a framework such as CodeIgniter or Zend Framework on top. So no, PHP isn't a "framework" in itself (at least not in the way that Django is).
My main beef with PHP is that the most deployed applications that use it are some of the most difficult to manage and messy pieces of code that I've ever seen.

I'm talking about Wordpress and vBulletin.

While MVC isn't the only valid design pattern, some varient of it is rather nice when working with websites and these two seem to ignore it through and through. Testing? What's that?

I know that better can be written in PHP, but for apps that I've had to deal with, PHP normally looks like an overpowered scripting language that's just a mess. I'll stay with Rails and Sinatra when I can.
Windows 8 coming soon
It's not nitpicking to want consistency of convention.

When I work with an unfamiliar class in Ruby, or come back to something familiar (say, Array) after a long time away, I'll often not "know" the exact method signatures for what I want, but I'll just guess something reasonable based on my knowledge of the language and idioms. And, lo and behold, most often it works!

Having to "remember" (does this method use array_?) or "translate" is a mental tax; there's cycles wasted that could keep your mind in the business logic.
Epic Marketplace caught stealing history by Stanford Security Lab
So how can we use that? Is there any tutorial or examples?
cat.c is also interesting. The GNU version is an appalling unreadable mess. V6's assembly implementation in easier to understand.

V6: http://www.bsdlover.cn/study/UnixTree/V6/usr/source/s1/cat.s...
V7: http://www.bsdlover.cn/study/UnixTree/V7/usr/src/cmd/cat.c.h...
Plan 9: http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/cat.c
BSD: http://www.koders.com/c/fidF501905968D8BE7BBDD355C3C8DB62804...
GNU: http://git.savannah.gnu.org/cgit/coreutils.git/plain/src/cat...
I actually meant weary as in "tired" so there!

(Just kidding, I was totally wrong on that. Thanks for the correction)

As far as data binding there are two reasons I consider it sloppy...

1. It's magic box coding (as in I put these simple commands in and the environment just handles it for me and I have little idea how)

2. It (by Microsoft's admission) hogs bandwidth. In the desktop world that wasn't a problem but in web applications its a big one.

Which is basically my point. Data binding was a desktop application technique that Microsoft carried over into Web Forms and which is now trying to make its way into MVC. But it's not technology built with the web in mind and designing a new model around it doesn't change that.

I will take Mr. Sanderson's advice in the other reply here and try the thing out but for the reasons above I don't see myself adopting it.
agreed, but I just put 'archived' git repos in, ironically, dropbox, and delete the private repo on github.
I expected this to be a post on how Dropbox is too expensive.

Also, putting my grumpy hat on, what's with all the cheapskate whining? "Give me more, I want it FREE!"... bleh.
So buy a $10/month 256MB VPS with 80g of diskspace and go nuts.
The police in the UK are not known for their professionalism.
But, bear in mind that the iPhone was only ANNOUNCED in 2007, not developed - in fact rumors of an iPad-like device (the basis of the iPhone interface) were circulating for almost a decade prior to the iPhone's announcement. During that time, Schmidt was on the board of Apple, and was certainly in a position to benefit from knowledge of Apple's mobile strategy.

So in short, it is plausible and likely that Apple began working on a touch screen phone years before Google even considered purchasing Android.

And correct me if I'm wrong but, weren't the early models of Google's phone based on a blackberry-like design with a half screen / half keyboard front? And wasn't it not until Apple unveiled the iPhone that Android began to take on its present form?
Same site with the .police.uk and linking to the same twitter account.

http://www.west-midlands.police.uk/np/birminghamwestandcentr...
That is one terrible written article. It's almost like the writer decided to collect 20 tweetable paragraphs and tie them together into one "article"