skysight-inc/HackerNews huggingface dataset:
Sorry Alberto, but a lot of that is context-specific advice given as general advice.

1) 'days', 'temp', 'data', etc are perfectly valid variable names in context. I'm gobsmacked that anyone can think 'temp' is a bad variable name.

3) A comment next to one instance of the variable is not sufficient - would you be happy working on code where the variable names are 'a', 'b', 'c' etc., with or without a comment in one particular place? I wouldn't.

4) I'll leave aside the eternal debate over hungarian notiation, and just point out that 'red_apples', 'yellow_apples', 'green_apples' etc would more properly be
'apples_red', 'apples_yellow', 'apples_green' etc. Least specific differentiators first.

5) Negative names are fine, in context. I don't find it any harder to parse 'disabled' than '!enabled'. I find it more distracting to have the redundant 'is' in the variable name, and it's only ever correct in some contexts. Even if I were to concede the point of polarity, "if disabled" is less of an obstacle than "if not is enabled".

Then there's the issue of default - I find it much clearer in the wider scope to label the variable according to exception. For example, if a setting is enabled in 99.9% of cases, I'll use 'disabled' as the variable. If the majority is disabled, I'll use 'enabled'. This links the variable name with the intent more clearly.

7) I'm sure on occasion there's a good reason to have two identical types with different names instead of one type with a property to differentiate the two, but that ain't it. Changing the property of the item represented should map cleanly to changing the property of the variable. Your way would have you copy one type of variable to another in order to change the property. "Order->approved=true", or better still let Order do the work itself for extensibility with "Order->approve()", but not "approvedOrder = nonApprovedOrder; nonApprovedOrder = null;". Gah!
Did HN ever support markdown? (Except for the asterisks (which still appear to work))
No it's a victim of an business model that's not willing to change. If anything, Hulu should be the evidence every single TV exec should hold up as the new way works.

Hulu's way may not be the only or best answer of "how does the new way work?" but it's certainly proof enough that the new way does work and the industry should start experimenting to find the best solution.
This site doesn't use markdown:

http://news.ycombinator.com/formatdoc
I don't use anything more complex than a bookmarking service (delicious) to tame my personal chaos, and I'm the most chaotic person I know by a couple of orders of magnitude, literally.

Why do you want more complexity?
Stopped reading here: "Good example: daysFromDateRangeStartToEnd".
What kind of retard downvotes an "I will" response to a book recommendation?
E-Books Directory - Categorized Books, Short Reviews, Free Downloads
Credit card code to combat fraud 
The Emue Card generates and displays a unique code each time it is used. Developers say that the new technology would make it very hard for fraudsters, as any transaction would require the pin to generate the code.
I started with $60 back in the day. That imposes a certain discipline on you, which has good and bad influences on your thinking.

Good: "I need revenue to buy the stuff I think I need to make more revenue. I guess I'll have to make something people want and sell it to them."

Possibly good: "Well, I can't afford web design, but I'll stretch this OSS template about as far as it will go until I have enough money to pay for a redesign."

Not good: "I don't have $50 to spend on icons right now so instead I'll waste several hours embarrassing myself in Paint.NET and ultimately come up with something which is ugly, converts poorly, and distracted me from tasks where I actually add value."

Speaking of which: open source. Its not just for software anymore. You have to dig through a lot of junk to get them, but there are OSS designs which are far, far better than what you'll come up with (resident designers excepted). I recommend Styleshout for that Web 2.0 look, and oswd.org (and a whole lot of needle-in-haystack searching) for finding a good template for anything else.

Also: Wordpress (free) + $4 a month hosting + writing skill (I hope you've got it) = cheapest marketing you will ever accomplish, and some of the most effective, too.
He's got a newborn son now so he probably want to limit travel for the time being. Just a guess though.
Popular keynote and motivational speaker, Ole Carlson
Samsung i780 Black at unlockcell.com
Samsung i780 is completely included with as a great deal trait that you need every claim at every time. The phone is superb with web browser of WAP 2.0 / HTML, Opera Mobile 8.65 with Wi-Fi 802.11b/g and HSDPA, 3.6 Mbps with GPRS and EDGE.
Using docstrings as executable code is an indication that your language lacks actual extensibility.
I'd like to take the opposite side:

I believe that once you publish data (particularly data, but even other kinds of information) on a public, indexed web page, you automatically relinquish control over how it will be used.

That's just reality, and it's also the most profitable way to view online published data, from a global perspective. It is better for all of us if the act of publishing data on the web grants an automatic licence to the downloader to mash it up any way he sees fit. The alternative scenario, where you have to ask for permission for every bit of data, is frightening.

Just because it's "big Google" who is doing the mash-up doesn't make it less ethical than if it was some start-up coming out with a new product (or, say, Wolfram Alpha).
The Hidden Secrets of Online Quizzes
EU slaps Intel with $1.45 bn fine
Web Windows | Providing Better Consumer Experience Can Boost Online Sales
The rise in delivery experience is fantastic news for hard-pressed consumers, and clear evidence of the terrific efforts being made by retailers and carriers working together to provide predictable and reliable delivery options.
you can wedge everything into a db or file/directory tree so you can hit with Google desktop, or SOLR, or sphinxsearch if you need control doc granularity, tokenization, stemming
I'm not sure what the submitter implies by "Project Euler meets Brainfck". While some "fun" problems on SPOJ involve coding exclusively in esoteric languages such as BF and Whitespace, most others are the standard algorithmic challenges. This site is pretty well-known in the programming contest community.
"Project Euler meets Brainf*ck" is a pretty terrible description. It looks like a website with programming problems to solve, similar to Project Euler, but with less of a direct emphasis on math.

It also looks like you submit your source and the site operators test it, and there are time limits.
Best Exercise burn fat - do you accept
Exercise is a good habit doesn't matter whether we are fat or slim. Best exercises burn fat not only make you fit but also are healthy to your organs
I don't buy it. Ad supply is just users x time. There's no reason to think that this is changing.
Blackboard Academic Suite
Subversion: LDAP integration using Apache
Twitter accounts are certainly like domain names in that the namespace is controlled by private interests with no incentive to buck against the prevailing trends in so-called intellectual property.
Well, the second sentence of the talk excerpt reads:

"When you're writing software that is only going to run on your own servers, you can use whatever language you want."

If you're not distributing software then the GPL doesn't apply. A web-based start up can use as many GPL-based libraries as they want.
void swap(int* x, int* y)
{ int t = *x; *x = *y; *y = t; }

Small blocks with very obvious code are perfectly Ok to have short variable names in. All other rules in this post can be criticized as easily.

Hence, rule #8: forget about the previous rules, just be a smart coder.
The issue is though that Wolfram is not going to provide the mudane sort of data that people want in the instant way Google are going to claim to do it.

Search camera on Wolfram and I expect you get lost of data on the history of camera's and other such stuff. Google seem to be offering to provide a list of camera models with some pertinent data for each... I suspect the latter will be more "useful" (especially as Wikipedia would probably be fairly reliable for the camera background...)

I think your point is valid: a curated database will be the #1 source for info on camera history and facts. Unfortunately that means Wolfram is competing with Wikipedia not Google... and that is probably even worse for them :(
Seems like the author didn't take his own advice - "2.- The variable name has to be as short as possible."
Blerp Aims To Turn The Web Into One Big Forum
Continuation passing style: "Do this, then go here".
> Example. If your customer just considers “order” an “order” that has been approved, don’t call “order” to a non approved one in your code, call it “nonApprovedOrder”.

Doesn't this violate his rule #5?
Firstly I doubt wolfram would sell (but maybe license). Secondly Google are already facing grumblings about being a monopoly - acquiring or licensing Wolfram could backfire.
And thirdly there is probably no need: Wolfram dont bring anything much to the mix (as far as I can tell) except a stack of "expert" curators - which could be hired easy enough :)
Modeling Malware Over Wi-Fi
Who won the biggest loser 2009
This is exactly what I do, and IMO if you're following a decent number of people it's the only viable solution. It drove me nuts when I briefly turned on the option to see @replies to people I didn't follow. You perpetually see half of a conversation and it makes little sense out of context.
Ideally should be using short methods, so what's wrong with using generic names?
I cant help thinking "cool idea, awful name".

Seriously: it has connotations of throwing up on the page (which I guess is what it lets you do, but isnt exactly the nicest metaphor :))

I also cant help thinking that it might well result in "too many users". Forums stay manageable (in terms of the amount of data you have to assimilate / the number of "posts") because the user base is fairly small. Imagine a forum with a million users - and with a fairly small semi-fixed number of threads (static web pages Im thinking here more than blogs etc. where it could work well). The noise is going to be epic and the potential of trolling insane... It isnt clear how they plan to handle that.
I'd be willing to wager that getting money out of Intel will be easier than getting documentation out of Microsoft.
Linux certifications: Hot or not?
No. It's not any different from the paper based alternative. That risk is always there no matter what the medium.

SnapExpense has a basic fraud-detection feature that prevents duplicate images in the system.
Don't skimp on the screen. Hackers always need more pixels. (A friend of mine currently uses three displays.)
Tenant Loan UK | Cheap UK Tenant Loans | UK Tenant Loans for Bad Credit
All about Loans provides cheap tenant loans UK, unsecured UK tenants Loan with good or bad credit. Apply for the best UK tenant loans online now.
"Don´t use negative logic for your variable names."

Obviously written by a software weenie who lives far, far away from the actual hardware. ;-) (Digital logic often uses active-low signals for good electrical reasons. And some purely historic reasons: do memory chips actually need to power up in the activated state?)
Please look up the definition of "effect" and contrast it with the definition of "affect".

And, in answer to your question, no.
Sigh, you got me.
Malcolm Gladwell: Underdogs
Pylons:
Python... check
MVC...check
SQLAlchemy...check
Mako....check

Umm... can somebody compare Juno to Pylons please - I'm kind of confused here
Residents of NYC pays 11.1 billion dollars more in state (and 10.9 billion more in federal taxes) than they receive in benefits[1] (hell, we had to /beg/ for help from the feds after 9/11). That's why there's a NYC income tax on top of the other two. If they received their fair share, things like this /might/ be able to be fixed - along with the huge deficit that the MTA runs[2]. And the kicker of it all? Upstate New Yorkers tend to heavily dislike us city dwellers. Despite the fact that we fund just about everything the state does for them...

[1] http://www.nyc.gov/html/om/html/2009a/pr166-09.html

[2] http://cityroom.blogs.nytimes.com/2008/11/10/mta-faces-12-bi...
How creativity springs from a choreographed set of mental events
Isn't the Affero GPL supposed to address the end-run problem? I guess I should check myself really: [Seems it is](http://en.wikipedia.org/wiki/Affero_General_Public_License).
Indeed, I think one very useful rule for naming variables is "the length of the name should be proportional to the scope". If you're iterating through a list of objects representing unfilled orders, it's OK to do this:

for uo in unfilledOrdersIterator():
oid = uo.id
status = uo.status
email = uo.customer.email
sendEmail(email, "Your order %s is in status %s" % (oid, status))

But if there's a 200-line method that does all sorts of other things with a single unfilled order, then calling the order "uo" is probably a bad idea.
Isn't taxation precisely that? I mean, if the government coming and taking some portion of your stuff isn't an infringement of your negative rights, what is?

Yet I'm all for tax, if it pays for necessary stuff.
Hi babo,

you are absolutely right with your observation, that variable name its just a bad example, I have just edited the post and I have changed its name to daysDateRange.

Thanks for your feedback
Hi Deestann, good catch, I should have stressed that these are guidelines not rules, what I meant is if possible use positive logic, but it fits better the negative, use the negative one.

Thanks for the comment
Plugging Holes in the Science of Forensics
I guess it just creates a sense of being less real/concrete. I don't know if other people see this too, but maybe doing more to reassure people that it's all quite concrete/traceable/permanent on the site would help? The FAQ is good, although perhaps for companies, instead of "you can download...", something like "we regularly send you a backup ..." might be a good measure?

Anyway, just a few notes.
Note the 2001. I think his point had more to do with a lack of library's making any powerful language useful. Ruby on rails vs Lisp is not really in favor of lisp, but there is a reason nobody has good C web frameworks.

PS: Which is something to think about, if you are spending as much money on HW as Google it might be a good idea to use C or other fast but hard to write language for some of your core functions.
Wolfram Alpha already breathing on their necks?
Who's feeding Silicon Valley?
Rails Development No-Nos
Ubuntu and Debian's special relationship
That, and the title is typo'd.
I don't really have a problem with a state government giving tax cuts to newspapers, as long as there are no strings attached. Tax cuts aren't necessarily a bailout. If a government gives money or a tax cut to the press in exchange for journalistic favors, then we have a problem. The best way to prevent that is for the government to not give newspapers money. Newspapers receiving ad money from the government is pushing the boundaries of a free press.

I disagree with the President's opinion that newspapers are necessary going forward. Matt Drudge and the Politico have both shown that the functions many newspapers serve (at the national level) can be done better in other ways.
Several Nokia Phones can be Purchased with Rebate on Amazon
Microsoft PowerPoint under attack
If you guys find this interesting, check out a book called "The Works: Anatomy of a city"[1]. It covers almost everything that makes NYC tick. From freight channels, to how post offices route everything, to how water and electricity is generated and delivered to zip codes and land division. The book is filled with gorgeous info-graphics and illustrations. I sat in the book store for an hour flipping through it before buying it.

[1] http://www.amazon.com/dp/0143112708/
..>> thanks, anyway
See Which Twitterers Don’t Follow You Back In Less Than 15 Lines of Ruby
Is it a bad thing that there is a media outlet that has a different slant then the other outlets? Everyone's biased and few (if any) avoid it in their journalism.
I bootstrapped our mobile software company simply because I knew we would turn a profit within the first month of sales (which we did, 3-5x ramen profitability :)).

The problem, however, was that most people just aren't built for startups. So while I kept things extremely fair — everyone was on a 50/50 profit share, myself included, after operational expenses were paid (less than 4%) — that just wasn't enough to keep people motivated to reach the 2-3 year end goal.

To be fair, I think it was less about motivation and more about income and lifestyle. But again, most people just aren't prepared/designed for startup life which in this case would have required they code in the evening hours after their full time job was over. Ha!

Startups are difficult, getting traction is difficult (the juice), and I would say that assembling a skilled team is equally challenging and will significantly impact chances of success/survival — never settle with your team. The challenge with building a team is that startups will change people, especially virgin startup-ers who've never experienced the workload. Burnout/frustration in combination with low pay and kool-aid stock options will destroy a team in a year or two if they're not prepared.

All that being said, this month I've decided to take a drastic turn and attempt to raise a small amount of money to make a few full-time hires. The good news is, I proved myself as a young entrepreneur and we may secure a really awesome lead investor that could do a lot more for us than just give us money.

I definitely recommend bootstrapping, it helps you set realistic priorities based on severely limited resources (prepares you for when times are rough), and helps you find the holes where investors can provide value besides just $$.
Leaf blowers are especially irritating in that it's far more convenient to make your leaves someone else's problem with a leaf blower than to actually make a pile (I don't want to say it's "impossible" to make a neat pile of leaves with a leaf blower, but I think it must require lots of skill, at least). But they don't actually solve any problem permanently, instead just moving the problem to tomorrow (or "right after the wind starts blowing again").
This was much, much quieter than the Microsoft proceedings. Its generally the same story, but it was probably quieter since Intel isn't the OS, it doesn't evoke such strong emotions in the users.
WSJ would only let me see the first two paragraphs.

http://finance.yahoo.com/news/EU-fines-Intel-145-billion-apf...
Hence my italicization in the grandparent comment.
I like the GPL, and I like SAAS. It's not an "end-run around the GPL" unless you believe that the object of the GPL is to stop people from making money from programming. If, instead, you believe the rightful purpose of the GPL is encouraging people to control the software on their own hardware, then SAAS fits in with that goal quite well. Letting people use my computer with my software on it for some task does not make my computer (or my software) theirs, and it shouldn't.
As I understand it the full court press isn't used all of the time because it has a tendancy to leave the defending basket more vulnerable once the opponent manages to get the ball down the court (some of the defending players are still down towards the other basket).

This applies in business as well. Sometimes its best to defend your core business (your basket) tightly and let the competition have its way on the outskirts (their side of the court) of what is important to you. You can't always be defending everything all at once. I guess it boils down to how you manage risks.
Antitrust eyes turn toward Google
Another solution is to use a Twitter client that lets you easily view entire conversations.
Steve Blank: Gravity Will be Turned Off
I think they've taken away one of their best features. This goes to show that very often people and organizations do not understand what makes their product great, something budding startup starters on HN would be wise to consider. One must be mindful of even (or maybe especially) the small things that give your product heart.
However, for PHP, we really didn't need the indication. :) I use PHP every day, though, and it gets the job done.
Agreed. Great book.
EU slaps a record fine on Intel
i didn't find a good tool that record my online stuff, delicious, su and digg are mostly commercial and don't help do that.

I use emails by sending and featuring a note, but it depends in the situation, sometimes i save in delicious, sometimes in my browser and sometimes in a txt file
IPhone 3.0 upgrade rumor
If the government even gets to say who the press is then the door is wide open to corruption. You don't - and shouldn't - need any interaction with or permission or support from the government at all to publish. Those that do cannot help but be beholden if not to the present government then at least to the principle of a state-sanctioned press. That's Communism.
Tried to add my note to the post, but it seems to be moderated. So here's my comment:

Well, here's another - due to lack of time unfinished - Bloopsaphone tune of mine. It's called "warp-o-mat", which grew out of a test of my FX commands implementation:

http://gist.github.com/110939
http://freQvibez.net/music/warp-o-mat.mp3

Oh, and here's a mp3 of Cheeky Drat, without distortion:
http://freQvibez.net/music/cheeky_drat.mp3
Hacker News doesn't support the full Markdown spec; only a couple of the more common features...
Text of the decision: http://europa.eu/rapid/pressReleasesAction.do?reference=IP/0...
Its far more difficult to organize in a different country. I was surprised to see it being held in London.

PS. I live in Bangalore
This just occurred to me: Frankenstein by Mary Shelley
Jody Foster as Maggie Simpson delivers Howard Roarke speech adaptation
At Start-Ups, Boards Spar Over Cash Plans
How to Repair Faded Letters on a Keyboard | TechJaws: Internet Security and SEO
Developers: manipulate the state of bytes in a text file

Admins: manipulate the state of bytes in a running system
Shouldn't there NOT be 200-line methods in the first place?
If you have curiosity, many of these ideas are implemented in Arc:

Macros for generating HTML: http://arcfn.com/doc/html.html

Closures Simulate Subroutines: http://arcfn.com/doc/srv.html
Ask HN: Is there a HN like site for semiconductor/telecom segment?
I was wondering if there is 'user-driven' and 'clean' news website like HN for semiconductor/telecom/communications/embedded technology segment?

EEtimes/embedded systems design is not user-driven and updates about once a month. Technology categories in topix.com or digg.com are not as clean (crowded by ads) and also there is not enough coverage on low-level details (programming ideas, specific details on standards, new chip architectures etc)
ACLU sues over patents on breast cancer genes
As lame as it sounds, I would be supremely happy to be a victim of success like that
Other than the bit about tax breaks in New York and being too zealous in support of China it doesn't look all that bad. What did you expect.

Everything at the end about tax havens and loop holes is no matter. Either he's doing something illegal and the government should do something, or the law needs to be changed.

Edit: changed 'someone' to 'the government'.
Also one of the things to keep in mind is that the offense usually adapts pretty quickly, since there are very effective measures againts any kind of press. So in general you do not play press for long stretches at once, if you are going against someone at least your own strength. Mixing in the press for little spurts though, is generally a good help, if properly executed.
Whoops I linked to the "more" section instead of the direct permalink. You'll have to scroll up to read the whole post. Sorry.