skysight-inc/HackerNews huggingface dataset:
Yea. From the summary quote:

"For example, one way to evaluate possible new features for a system is to clone the affected subsystems and introduce the new features there, in a kind of sandbox testbed. As features mature and become stable within the experimental subsystems, they can be migrated incrementally into the stable code base; in this way, the risk of introducing instabilities in the stable version is minimized."

One might say, branching? Indeed, the paper mentions "forking" and boilerplate code. Many examples are poor, where a better language would be able to abstract at a higher level and not require "cloning". One example required "cloning" because the developer didn't have write access to the section he wanted to fix.

As far as real "copy and pasting": "Common examples include the initial lines of for loops".

But hey, I don't have a good survey to back up the fact that most of the real "copy and paste" I see in programming is laziness or poor platform limitations that end up being a pain in the ass and introducing more bugs.
Something slightly different....

It would be nice if Github gave you the option of adding $1 - N$ onto your membership fee, and then distributed that between the open source projects or authors that you follow.
The getters and setters change is looking great! Overall lots of good ideas!
I doubt it. If Viacom is financing the hosting of the online content, then online viewers cost them disproportionatly more money than those who watch on cable and satellite. Viacom would have only the ads insertted into the streaming video to recouperate those costs and (maybe?) earn some profit.
Backbone controllers don't replace Rails controllers. You will still need both for a functioning app. Rails' views are largely replaced by client-side templates in a single-page app, although you can use the asset pipeline to compile and serve these.
Thank you - the light just went on for me! Is this what is meant by Domain Specific Languages (DSL's) ?
Toronto Job Bank
Job Bank Toronto: Recent years, people are facing problem to find new jobs in Toronto (Ontario, Canada) but since 2009, JobMash has been solved this problem. JobMash is one of the top job search engines in Canada providing a simple method to explore & settle down in the new place. JobMash has a big database that is growing all the time. For more information please visit http://jobmashcanada.wordpress.com/
The article clearly states that there are more features like a read-only keyword.

https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented
I highly recommend The Paradox of Choice http://www.amazon.com/Paradox-Choice-Why-more-less/dp/006000...

To quote from the article:
"People who constantly try to always get that great deal end up spending all their time chasing those deals and never actually get things done. I’ve seen people do this their entire lives, and it is debilitating."

You can say the same about people who spend all their time trying to constantly get "the best" product. Figure out a few things that are important to you and maximise these - whether on quality or price. For the rest, learn to accept "good enough" and get on with your life doing things that matter for you.
We used Slim to build a RESTful API for our product. It was a great experience. Really lightweight, yet the perfect amount of structure to make an easily extensible API.
Everyone already realizes that. Now when you realize that we do realize then we can make some progress.

Once it becomes uncomfortable enough for enough people, or the right people, then IT departments will respond. That's how many departments work. Push change out as far as possible.

As I have already explained, there's an opportunity cost for supporting legacy. Companies like Apple are quick to drop legacy, and move forward. It works quite well for them. Google doesn't support less than IE8 for their apps (are they being lazy?). They claim to only support the last two browsers. It'll be interesting to see what happens when IE10 ships.

One thing that I think would be useful is to tell people that your site no longer "officially support" browser X before you actually stop supporting it.
I think a standard password hash API is a good thing (there was a proposal for such a thing for Python recently on -ideas, though it was essentially rejected in favor of recommending/using passlib), but I'm wary of having default cost factors, that seems unwise: what are the defaults, how are they decided to be ok, and more importantly in what context are they updated over time (and based on what data)?
Yes, it really is a douchey thing to do.
A lot of people tend to buy middle-priced things. Marketers rely a lot on this fact, actually, to take advantage of your ignorance.

I've found it's much better to avoid middle-priced things, most of the time. Usually, the cheapest option will meet your needs just as well.

But then you need to identify the things in your life that really contribute to your happiness, and then pay what's necessary for full quality in those.

I spend top dollar on fresh meat and vegetables and on my kitchen pans and chef's knives and olive oils for salads. But I have the cheapest vegetable peeler and spatula and paring knives and toaster and olive oil for frying.
That's an interesting idea. How would you go about collecting all these emails first though?

Would you tell the user to "just enter all email addresses you ever registered" and then send confirmation emails to all of them? I'd imagine this ending with one or two confirmed email addresses and maybe 3 additional unconfirmed ones.

When the user then tries to use one of the unconfirmed addresses to sign in — what do you do? Refuse log in because the address is not confirmed? Send another confirmation email to that account and ask the user to confirm it? List those confirmed addresses in the account and ask the user if he wants to sign in with one of them?
When the Last.FM leak surfaced, I e-mailed all my non-technical friends who used it, warning them and explaining why and how they should change their passwords. Sadly, my message was received with a general tone of "you computer nerds, always complaining", and promptly ignored.

People just don't care.
Growing sucks with large codebases. I worked with about a dozen people on a huge app, that would have been much easier to make if we had had a better idea of what we were building when we started instead of making stuff up as we went along.
I got a really good workgroup printer, paid more than twice as much as for a cheap one.

I loved it but had to leave it when I moved -- just too heavy.

(And anyway, the Mac support wasn't good a couple of O/S versions later, but it still worked well with Linux.)

My takeaway from this has more to do with negotiating moving packages (and Samsung support of old customers, grumble) than anything else.
Security Factions: Roosters and Owls
WOW if we protected people health and wellbeing as well as we protect digital media then the World would be full of healthier people. Kind of messed up realy.

I'd dare say more TAXable income thru avoidance is lost in a single day than is lost through piracy in a single year. That would realy put things into perspective.

[EDIT ADD] Just did a quick thumb in the air statistical google for the UK http://www.newstatesman.com/blogs/the-staggers/2011/11/tax-a... gives us £69.9 billion a year lost thru TAX avoidance (esitmated) and for piracy the net effect is http://www.itproportal.com/2011/11/11/video-game-piracy-uk-c... for games and for movies http://www.metro.co.uk/news/817878-illegal-downloading-cost-...

So alot less and yet the effort/publicity for the later and laws compared to combating the former TAX fraud/avoidance do seem somewhat out of kilt.

Need I say anything else beyond messed up priorities.
Do You Need SEO Website Services?
A $300 meal can be 10x better than a $30 meal. Most $30 meals are fine, but a $300 meal may be the best meal you have ever had.
Erlang also has the benefit of being able to compile to native code, if you wishes to do so.
Why are numerical passwords insecure?
Where is Java?
Backbone is built with that intension in mind. It is quite opinionated in that regard as well. Look at how Backbone collections work to understand why.
What about that old saying: "The right tool for the job"?
The issue is that people are justifying the US's improper handling of the case by saying that he is guilty.
Also, the font size could do well a few points larger.
This looks really interesting especially for editing large blocks of data that are generally static (think something like a profile summary instead of something like a blog post). I'm definitely going to try it out in a little weekend project I am working on.
Tell us why! With the low memory overhead, built-in cache, Active Record (+PDO support) and easy-to-understand MVC approach, I think it is the best framework for writing small to medium-sized web applications.

CI is not Zend, but nothing prevents you from using the Zend libraries with a small CI Library wrapper - I have done so many times in the past, and it works great.
I've found that Laravel is quite a bit nicer than most other frameworks in PHP. It uses some stuff from Symfony as well. I don't think it's contending with Django quite yet, but it's extremely nice to use and work with. I honestly don't feel like I'm writing PHP when using it.

http://laravel.com
Good catch, updated now! So what did you think of the article, was it useful to you?
highlight.js [1] does this, though by running highlighters rather than using some learning-based mechanism. It feels wasteful to run this on display rather than storage, though. SourceClassifier [2] also works, though with less languages. And here's [3] an implementation made with Bayes and Go.

[1] http://softwaremaniacs.org/soft/highlight/en/ http://softwaremaniacs.org/media/soft/highlight/test.html

[2] http://blog.chrislowis.co.uk/2009/01/04/identify-programming...

[3] https://github.com/octplane/go-code-classifier
Why would one do that if that's slow and an image can't be saved? One does not need to have docstrings in the running Lisp. The typical solution to this problem is to have a file with docstrings, an index and look up the docstring for some symbol from the file when needed.
Yeah, it's the importance.

And if 50,000 passwords are cracked, what are the odds that someone is going to use the cracked password to enter your account and do nefarious things, instead of the other 49,999 accounts? Pretty low. And with Yahoo Voice, what's the worst that's going to happen, really?

If it's not the password to your bank account or Facebook, most people are going to figure, it's probably not going to affect me.
I think this article jumps the gun a little.

There's no evidence that this is indeed from Yahoo Voice, no evidence how old it is, no evidence how Yahoo stored their passwords... And he's only found 300 accounts that existed in both Sony Systems and Yahoo. Quite a leap from some random file someone posted to the web to this.
Webvan massively overbuilt/overspent in a fairly typical dot com era story of losing massive amounts of money to try to own a new category. Peapod leverages physical grocery businesses through partnerships. It's much less ambitious in a lot of ways. The fact is that grocery delivery has been available in urban cores forever. Peapod just expands on that a bit, adds online ordering, and treats it as a premium service (ie. you pay for delivery).
Dependency Convergence in Maven
I thought the same...I think that some people want to support good open source projects, but it is not really convenient to go through several project pages and donate (which is not always possible). This would facilitate such contribution.
Media distribution rights are held by the studio, the artist can continue to produce other content that their contract allows for(many have active twitter accounts/facebooks & behind the scenes clips.)

The music video clips in question are exclusive to the studio for the contracted period, and it's this which vevo are willing to shop around. It's an exclusive product without substitution. I'm yet to find a convincing argument that a consumer will be satisfied with a home remixed version with custom graphics when they're looking for the original clip. (Or rather that they'd choose such a clip when the original is available elsewhere for free.)

As for unlicensed copies, youtube's own system is very good at taking down illegitimate versions. Additionally the studios are lighting fast with DMCA take down notices (within hours) for clips that sneak past one way or another. The system is geared heavily to copyright holders, automatically denying clips that would normally construe as 'fair use' in the USA.

I won't comment on traffic flow, since that's not publicly revealed, however it is reported to be youtube's most watched "channel", that on its own indicates that the traffic result is not due to a unique "youtube experience", but rather the result of being the only place online where the videos can be viewed for free.

This is something Vevo can shop around, I suppose what I'm conveying here is that ultimately they don't need youtube. Youtube to vevo is a commodity video service, it's network was once unique, but now other sites could handle the level of traffic that the catalogue would generate. In another thread I've listed simple examples where it could be better leveraged, possibly producing a better outcome for the studio than what youtube provides.
The Caves of Clojure: Part 4
Backbone.js was originally developed as part of the front-end of a Rails app: DocumentCloud.org

... that said, it's being used with a vast variety of different backends these days: http://backbonejs.org/#examples
It's probably the Higgs. There are some decay paths that have not yet been observed, some because they haven't analyzed that data yet, and at least one that just doesn't appear to happen as often as predicted (very interesting). But it's acting almost exactly as the Higgs should act, so while it's not absolutely sure, there's no real reason to think that it's not the Higgs.
Laravel already does alot of this stuff ^^^
Previous discussions:

Part 1: http://news.ycombinator.com/item?id=4212948

Part 2: http://news.ycombinator.com/item?id=4214606

Part 3.1: http://news.ycombinator.com/item?id=4218287

(No comments right now on the others.)
Interesting - I copied that from the page itself. I'll try again - thanks.

edit - now submitted with a working link. Thanks again.
Can you explain more about how high quality engineering software projects do not rely on programmer's experience and intuition, but instead follow formulaic rules and achieve excellent?

From my limited reading, it seems that most "mission critical" software is achieved by applying a lot of resources, especially testing, to the project. Not to mention having a very well-defined (and relatively unchanging?) problem space.

Surely, if there were engineering principles that enabled folks to reliably create high quality software, we wouldn't see the horrible failure rates across all sorts of software projects.
Some debuggers let you "drop frames". This brings you back up the call stack and you can step back down into the beginning of the method call.

http://stackoverflow.com/questions/2367816/when-using-the-ja...
That's not what he's referring to. He's specifically referring to a read-only that only affects external classes. So, the object itself could write to that field, but nothing else could.
> This decoupling of MVC is well-supported, but you then find that you're using Rails as an API alongside being a web application; It's not a clean definition of responsibilities.

I'm not so sure about this part. To me, it feels like the difference between a web app and an API is simply the fact that an API returns machine readable data (be it JSON, or XML, or whatever). The JSON/XML/etc is just another way of presenting the same data - you should still be able to share a lot of the M and C between your two Vs.
I agree; I started using ledger[1] for that, and 'though it can be sometimes cumbersome, it's very helpful to understand why I have so little money ;)

[1]: http://ledger-cli.org/
That's awesome, thanks for the info =)
These sound like useful improvements, especially the new getter/setter syntax and scalar type hinting.

However, what I'd really like to see in next PHP would be the Composer dependency manager bundled in, a bit like Node.js nowadays ships with NPM. This has really brought a new world of cross-project code sharing into PHP:

http://packagist.org/

I wrote a blog post on why this is important for improving the state of PHP:

http://bergie.iki.fi/blog/composer_solves_the_php_code-shari...
I hear many things about Texas. Are you referring to the cities alone, or the entire state? I read the US history curriculum of Texas, and it it only reinforced my anecdotal perception of the parts of that state that aren't Austin and Houston.
Kwpolska, you can't respond here (about the buttons toggling) since you're banned from HN.
Ways The World Will Change By 2052
Cara Mudah Memesan Ace Maxs
If it's any consolation, his district (the 21st) has been gerrymandered so heavily that you'd need a nuclear powered crowbar to get him out. Given that his party is free to cherry pick the people who can vote for him, he's a representative in name only.
Dammit, it's not real-time web. There are no time constants considered, designed for or proven.

At best it's "live" web or "quick update" web.
billpatrianakos: FYI, it appears you've been hellbanned, presumably from the last PHP megathread (judging by your comment history and when they started going dead). Might want to contact pg about it.
OOP is defined primarily by its ability to abstract and encapsulate data (and state) in objects.

I cannot help but thinking this is a tautology: 'Programming with objects is defined by putting data in an objects.' What is an object? How does it defer from other data structures where its members are hidden to the outside world?

I am not arguing that OOP does not exist, just that one aspect that has always been touted as one of its greatest advantages, also exists in most non-OO languages.

The second defining aspect of OOP is messaging (goes along with encapsulation); Alan Kay has more to say about that (just check out Message Passign on wiki). The third is probably dynamic dispatch and polymorphism; not all OOP languages have that.

Is message passing without dynamic dispatch and polymorphism really message passing? (In contrast to a function call that has a structure as an implicit argument?)

there are other ways to encapsulate state; e.g., as monads

A data type is a monad if a function is provided that defines how computations of that data type can be combined[1], and that function obeys the monad laws. A monad can be used to combine effectful computations (IO, ST) or threading state through function calls (State). But e.g. the list, Maybe, or Either monads have little to do with state.

[1] Excluding 'return' for brevity ;).
To be responsible or not? Forgive me for not thinking you're taking the moral high road, here, jerk.
Is it my duty to know where to buy shoes?
I feel the same way, and I've been trying to get away from Cake for a while, but the fact that everything except the quirkiness of the ORM is so nice that I stick with it.

Also, the next version is supposed to redo the ORM to return actual models.
Hubble telescope finds a fifth moon orbiting former planet Pluto
First reaction: the bland beige looks terrible (maybe that's because I'm not American; I always notice that 1/2 of everything is beige when I'm in the US). Combine that with the name and I'm reminded of the Persona contraceptive device.
The developer audience is small and targeted. Kickstarter woos the masses. I doubt GitHub would make much money off this idea. The bigger problem is who gets the money from backers. Projects can have multiple contributors, projects can also be forked. There is no way this system could fairly pay the right contributors without massive complexity and pissing people off.
Here's a Video demo http://vimeo.com/38067834

I couldn't find much information on how that happens!
Interviewing Engineers for Engineers
Testing private methods: easier than you think
Prosecutor's Fallacy
Cables and switching infrastructure weight a lot. mSata SSDs weight as less as 7g. So the total weight of the SSDs is 1778g. I guess you can save more then 2kgs when you buy lower capacity switches and share some cables. I also think that they might have needed another central server for serving all the clients.
>>a printf that's inserted that causes a program to stop crashing.

Huh?
In the whole EU the customer can return items purchased online up until X days since the purchase arrival where X varies by country. There are some exceptions like digital items, custom made ware, DVDs etc. Check your local laws.
450K Yahoo Voice passwords posted online
Who will acquire RIM?
"As any startup will tell you, most publications will only feature a startup if given some sort of exclusive. In their eyes, the only reason to cover a startup is if it provides readers with something they can’t get anywhere else."

How do you start this conversation with a publication? How hard is it to simply cold email Mashable and attempt to get an article?

I'm assuming once the relationship is built it's easy to get follow up posts but do you have advice for making that initial connection?
However you should listen to an expert on Astrology, not an expert in Astrology.

Sometimes outside perspective is important.
Being a redditor isn't exactly an exclusive club, and it wouldn't be too hard to profile a reddit user based on appearance and geographical location.

True, totally true. And if you went out trying to solicit a Reddit user from a crowd, talking to multiple people along the way, then yeah, I'd say you could find a Redditor almost anywhere.

But the chances of picking somebody out of a crowd, based on what, just skin color and maybe attire, and just happening on a Redditor? And one who would immediately run to Reddit and post this (to multiple reddits as well, apparently)? That doesn't strike me as likely, which is why I am now tending to agree with the idea that the "homeless guy" and the $50 never existed and that none of that stuff ever happened at all. The Reddit OP is probably the person behind (or an employee of the agency behind) the whole thing, IMO.
Mexico Signs ACTA
Hey man, no judgement. I think it's great that the Microsoft ecosystem has developed a FOSS culture. There's not much point to saying "hey OUR FOSS community was first!" other than to say "the world you grew up in is not adjoined to the world i grew up in."

I'd also disagree with your assessment of Mac users. I would go so far as to say that so few people deploy to mac servers, that I can say "nobody deploys to mac" and no one would contradict me. All mac devs have to have at least a passing knowledge of linux.

A consequence of that is that mac using devs bump into (and have to rely upon) linux devs for expertise.
You seem to be saying that as a defense of Amazon's treatment of warehouse workers. It's not. Read the Mother Jones article linked above. When people are working in terrible conditions, and they believe those conditions are better than the alternative, that is not a good thing. It's heartrending.

I say this as someone who hates shopping in retail stores and can't wait to buy everything on Amazon. But the unseen and unregulated treatment of the hidden workers who make our amazing lives possible is a huge, unsolved problem in the world.