skysight-inc/HackerNews huggingface dataset:
I try to tell others about my lessons from the past and I try to be as specific as I can, check my posting history for some examples.

Currently working on a piece about online credit card processing and everything that goes in to that, writing something like that takes time and effort, not some half hour blog posting.

What bothers me most about these 'mistakes' is that while most of them are common mistakes the solutions provided send readers off in to the woods. I can imagine someone with a 5 year career to come up with a lot more substantial stuff than this, essentially the author shows a pretty myopic view of what programming is all about and has learned a few very superficial lessons and in my opinion provides the wrong answers to lessons learned.

I could pick it apart point-by-point but I think that should serve as enough warning if you're relatively new to this stuff and you read this like it is a piece of profound insight.
Twilight (Ultimate Collector's Set)
It also depends on how many 'good times' for waking up you have in 20 minutes, and how much they last. For example if you have 2 minutes optimal waking time two times, you might have a 1% chance that a given moment is optimal for both of you.
How Indians made Silicon Valley the world's tech hub
If your program cannot say you where is the problem, it is better to invest your time into better code: add more self-diagnostic, constraints, asserts, and automated test cases.

If you waste your time on debugger, then you will have just bug fixed and nothing else.

If you invest your time into code, you will have bug fixed AND much better code.

Computers can catch bugs much faster than humans. Programming is invented for that. Think like you already have programmable debugger inside your program. Invest your time into useful tools, which you can use to trace and check your program.
Looking at it, it seems to be in a regression test.
The problem with this post is that it neglects recouping non-marginal costs. If the factory costs you $100 Million to build and you sell the cars for $20,000, which is the marginal cost, how are you going to recover the $100 Million?
I pre-ordered one and i'm in Australia. I figured $5 was worth the risk to see if they will ship it to me.

edit: and had i opened my eyes i would have seen the free shipping worldwide!
An Interview With K2 Creators, JoomlaWorks
Isn't this (and many other similar points) just a generalisation of:

"Apple has spent time and effort making native apps work seamlessly, they haven't bothered for web apps"

This applies to missing APIs for photo upload, bugs or missing features in Webkit (even stuff that's there but not widely known), user "installation", even payment.

If that is the case then you can say "webapps are limited (currently (on the iPhone (compared with native Cocoa apps)))" but that's a completely different statement from "webapps suck".

What's odd is that Google isn't banging this drum hard for Android, but they are for ChromeOS.
Well, thats what you get for sending confidential information over plaintext. Most of the stuff I've seen is just status updates anyways, probably irrelevant after 8 years.
int runs = (int) Math.random() * 1000000;

is equivalent to int runs = (int) (Math.random() * 1000000);

This search is better ( "\s?[;)]" is added at the end):
http://www.google.com/codesearch?hl=en&lr=&q=\%28int...
Madcow – A new PHP framework for binding components together
Windows - Reboot,
Unix - Be root!
There are a number of valid reasons for this, and a number of not-so-valid ones:

The valid reasons mostly center on the fact that 'mining history' at some point comes to a halt, there are only so many relevant subjects from the past that warrant inclusion.

At some point it gets harder to find stuff that you can include on pages about historical events, objects and people.

This will lead to a reduction of work and like any company that would work on a job that has 'an end' (the documentation of history would be that job) that when the job is done the people end up without work.

The other reasons are less nice and do not stem from accomplishment but from the power that a relatively small group of experienced users wields.

Wikipedia is full of politics and infighting. The atmosphere, especially for new people joining up is full of venom. New editors have their content (their work!) deleted, often without cause, get bombarded with messages with lots of wikipedia specific jargon and feel in general seriously intimidated.

Of course this nicely serves the purpose of those that have hijacked wikipedia from being a public project to one that they use as their personal fiefdom.

There are 'factions' amongst the editors that seem to be aware of this problem and there are those that seem to be it's main creators. I hope that in the long run the first group will get the upper hand but judging by the various wars on 'talk' pages it might be that it is the former group that is now giving up and leaving.

I predict that wikipedia will sooner or later be 'forked' by a group of the former, with stricter guidelines in place for moderators and that the 'old' wikipedia will be abandoned to the inmates that want to run the asylum.
Clickable link: http://bou.me/bespoke-comics-for-your-website/
2001-09-11 06:27:40 Skytel [003928287] D ALPHA TOM. THIS IS RAY, MY CONTINENTAL FLIGHT CANCELLED MHT TO EWR. NEXT FLIGHT IS AT 9:40 AM ARRIVING 11 AM. PAGER NUMBER 1 888 935 8317

EDIT: sorry - the proper place for comments like that is http://www.reddit.com/r/reddit.com/comments/a7xpt/conspiracy...
Also available in python: http://www.google.com/codesearch?hl=en&lr=&q=int\%28...

Only 7 matches though. 1 false positive (print(random.random()) in python itself, and no real bugs in projects that I recognize.
While it is probably true that a more hostile environment is to blame for a big portion of the decline, the maturity of the articles might also be a factor.

Maybe the articles people care most about are sufficiently well written. Many people can't add much valuable information to a lot of the topics and so they don't feel the need to participate. Without this first quick win, there is little incentive to keep editing.
Yeah, they added that recently. I guess they got that question often.
21 Trends:

#5 United States

#6 Silicon Valley

#20 Venture funding

all need to move to the "Not Trends".

The US, like a wealthy person whose money ran out but kept spending on credit cards, has just started its "big reckoning" and it will only get worse -- much, much worse.

VC and the Valley are the old model. Technology is moving us away from the large capital requirements that used to be necessary to go from 0 to 60. Prepare for a deluge of Indian, Chinese and European startups because of this.
So you think you know traceroute...
Electronic stethoscope
Littmann Stethoscopes with free laser engraving - 3M Littmann Stethoscope, diagnostic equipment, personal physician and doctor purchases. To find more information in regard to the other stethoscopes such as Electronic, Personalized, Cardiology etc, please visit our website.
Thanks for replying.

Your first comment didn't mention that he provided the wrong answers (most of it was about the word "career"). They seem (to me) to be common issues, and he mostly has the right idea. Rather than pick it apart point-by-point, could you pick just one point he's wrong on?

When a person makes disparaging generalizations, it sounds like they have prejudged the work, without reading it (why waste time reading it - they know it's bad). Maybe you're right, but it's hard to tell if you give only judgment and no evidence. Therefore I ask "can you elaborate please?" :-)

BTW: I followed your suggestion, and found this excellent comment of yours about pitching to VCs (http://news.ycombinator.com/item?id=866299), and I agree a lot of time and effort went into it. So I stand corrected on that issue, and my apologies for suggesting otherwise! :-) (though I'm sure much more blood sweat and tears went into the getting of your experience than in the writing - maybe that's true for the blogger too?)

aside: it's weird - I upvoted, but your comment is still at 1 point... I've seen this happen before when I upvote a reply to me. It may be a bug, perhaps related to downvotes being disabled on replies to one's own comments.

PS: this exchange made me think about my own mistakes. They are very specific to my area, and then to be against the received wisdom (e.g. Alan Kay above). But it's not immediately clear to me what my mistakes have been, and what I've learned... it seems like it would be a useful exercise to consider this.
Only 3 matches in Ruby: http://www.google.com/codesearch?hl=en&lr=&q=\brand(...
There's no one stopping you to put links to your projects that are hosted on GitHub or somewhere else.
The Year Of The Mega Data Breach
My guess would be http://news.ycombinator.com/item?id=936379 had something to do with it.
What will editors do after they leave? There is an enormous amount of available time and attention span that could be spent on other valuable projects for mankind.
Cell Reverse Phone Lookup Methods
To do a Cell Reverse Phone Lookup You Need to Start with the Right Company. If you Need Accurate, Up to Date Information Instantly; Start Your Search Here ...
The section on "when to apply science" seems very disparaging of our predecessors: how does he know that no one tried experiments to prove either of the two ideas?

Both require knowledge of drag (and preferably a vacuum chamber) to perform correctly. Without that understanding, experimental results would probably have "proven" the rational model.

Does anyone know when air resitance/drag were discovered? A quick google indicated some time in the 1600s
heh. This one is my favourite:

r = str(int(random.random()))

[http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&#...]
Then put a star next to "all phones" and add some fine print that bluetooth is a requirement, and app requirements. I'm guessing it's been written for java/symbian/iphone/blackberry? Also a good idea to write the phones tested on.

Not every phone has bluetooth and can run third-party apps, especially if you bought a cheap non-branded phone. Also, not every would know it's necessary for a device like this.

Even better, why not allow us to download the app now?
Thought about that too. I think http://www.openstreetmap.org/ is similar enough in at least one respect: You describe the part of the world that you understand and know best. But maybe contributors concentrate their effords on their own pet project or spend their time on twitter.
Packers and movers delhi, packers and movers in delhi
Art Opens the Door to Connecting, Understanding, and Inspiring
This really looks like a wonderful opportunity for visualization freaks to get their blit on .. I'd love to have this massive database visualized in some way ..
Facebook stock structure change prompts new IPO speculation
Another problem with this post , is that it goes under the assumption that prices in a competitive market becomes the marginal cost. but price in the competitive market goes towards the marginal costs. there's still some profit margin even in competitive businesses like walmart , commodities markets, netbook markets .
Actually it looks like casting (being a unary operator) takes precedence over multiplication:

http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op...

http://www.cs.uwf.edu/~eelsheik/cop2253/resources/op_precede...
Firefox's Plan to Kick the Login's Butt
Affordable Small Business Websites | Custom Websites For Small Business
Levelfield.com provides affordable small business websites creation and affordable custom websites for small business. We also were offering e-marketing tools, Website Design, web hosting, reporting tools and more
Thanks a lot. I didn’t know how to do it.
Radio Controlled Helicopter
Radio Controlled Toys - Free NEXT DAY Delivery on Radio Controlled Cars and Radio Controlled Helicopters. Get the Latest RC Toys. We have RC Cars, RC Nitro Cars, RC Helicopters, RC Boats and RC Planes.
Your description of your extro-/intro-version sounds like how I'd describe myself.

Do you find that online interactions count as alone time vis-a-vis recharging?
Skifree Game Flash Online Download for Free
Yahoo Creatives in short digital story about their life
By my calculations that's about $14,000,000,000,000,000.

Not bad for a year.
Code Justin is BACK
"I predict that wikipedia will sooner or later be 'forked' by a group of the former, with stricter guidelines in place for moderators and that the 'old' wikipedia will be abandoned to the inmates that want to run the asylum."

That won't matter much. Google loves the wikipedia.org domain so much, that any new site will need seriously hard work to get it even moving. In short, it won't have the traffic necessary to compete.
So, yes, somebody that happens to be a "total extrovert" speaks before thinking. Not that they are dumb, or don't think. It's just that their do their reasoning externally, "out loud".

That is not at all the definition of "extrovert" that I use. An extrovert to me is someone who is happy to speak up in social situations, jovial and engaging, socially adept.

I've never thought of extroversion as "outloud logical progression" or "self-argument posing as argument". Indeed that last one sounds rather like an introversion to me as it is ignoring the external stimulus to focus on the internal, a sort of outloud internalisation.
This is even more glaring in the flawed movie analogy. Consumers of movies are not just paying for the experience of the movie. The movie itself is the main distinguishing factor. There is no "perfect competition" across all movies as the article seems to imply by limiting the differentiating factors to things surrounding the movie itself.
I think HN drops votes selectively, most of the time it manages to hide the fact that it does to the voter. Personally I think this is rather childish but that's the way it works. (In my view if a function doesn't work you simply drop that part of the interface, not to give the user the impression that something has been done when in fact it hasn't. This is part of the 'secret sauce' of HN, so maybe the overall effect is positive, but I feel like I'm being treated like a child.).

About that 'one point':

1) not using a proper ORM:

ORMs have their place. In a project that does 'simple' stuff (ACID style) you can get away with using the ORMs
worldview to get through your day. The problems start when
you have to do stuff that the ORM does not provide for. As
soon as you hit that limitation you're in for a fun ride, mostly
because ORM data models were meant to be accessed through a
program writing the queries. To write queries that do complicated
stuff for database tables that have been created and maintained
through an ORM will get you bogged down pretty quickly. Assuming that you are even allowed to do so. So
to thoroughly research the use cases for your data before
committing to a specific ORM can save you a lot of time later.

In general I think this is a problem that relatively inexperienced
programmers face, they pick the first tool that seems to
cover all the bases and start working on the code, only to
run out of steam somewhere halfway in to the project, by
that time you've got a lot of effort invested in to that
particular solution and to abandon it gets harder with every
minute that you further invest.

The fact that the author has re-written this particular chunk of code 3 times now and still isn't satisfied is telling,
the lesson to learn here is not 'use a proper ORM', the
lesson as far as I can see it is 'research your work
before committing to your tools'.

Experience will teach you that requirements change, they
change all the time, there has never been a project of
any magnitude that did not have its requirements change
over the course of its deployment, and as a rule this
already surfaces during development.

So you plan ahead, you build for the future, not for the
simplistic view you have today. It will save you lots of
money and time later, your first rewrite then is a decade
off instead of a few months.

The rest of the 'mistakes' listed suffer from similar shortcomings in their 'lessons learned'.

That is why I have a problem with this posting, not because it is bad to learn from your mistakes.

I think this guy should work together with more experienced people that can guide him in the right direction, rather than to assume that because he's making some slow progress (5 years ??!) he is now in a position to present his wisdom.
Trade-offs in whale design
Disgruntled Designer Quits Via Custom Warning Dialog
That depends. If it involves a wily way around the rules limiting bike engineering, for example, it might be HN :-)

But I get what you're saying, and that's why we have moderators. Left to its own devices, a crowd is unable to self-moderate and keep something like HN from drifting into popularity cascades.

This is especially true when people are given information about what other people think (the score, the position on the home page, comments) before voting themselves.
Why, There a lot of organizations that have allot of invested time, training and code-base in Java. Even if no new features where added to another Java application, adding closures to ease the maintenance of existing code is justifiable enough.

Like it or not Java is the enterprise language and Ruby, Scala, Haskel et.al. are not going to take that crown any time soon, just as it took Java a long time to supplant COBOL, one of them will have to grind it's way in inch by inch. The fact of the matter is that for what Java is intended for, it does a very good job so it is not in the same seat that COBOL was.

I dislike Java (from a personal enrichment perspective) as much as the next guy, but it is never too late to improve a language with such a useful feature, especially a language that is going to be the dominate language for the foreseeable future.
Maybe people tend to choose harder or riskier ventures the second time around.
"The foundation also invested $890,000 in a new design for the site ..." Yow! I'm sure that's wrong/misleading in some way, but what does this figure actually include?
Screw Post-It Notes
You're placing the horse behind the cart. Google indexes websites, websites do not exist to be indexed by google.

If another website will take wikipedias place in terms of quality and wikipedia will degrade then wikipedia will find that people will start linking to that other site. In time this will lead google to increase the ranking for these pages.

Remember that google indexes PAGES not DOMAINS.

So for every page that the new wikipedia contains that the old one does not the forked one gets right of way. It's not like wikipedia started off with millions of pages and lots of backlinks. The new project would be a fork in the open source sense, a new name with a fresh start and a chance to show how it can be done better. Its ability to lure people away from the 'old' wikipedia is what makes it go, the editors will determine its success, not google.

And the chances of that success are simply a factor of how much time they put in collectively to make it different and better than the original.
Super Mario World Download - Dogpile Web Search
I think that's what they're using the word to mean. Which has always seemed a bit silly to me; if you want to say someone' clever. I'm not sure where using the word "gifted" comes from; perhaps a desire not to insult people who aren't "gifted" by labelling them not clever.
Did You Know 4.0 [video]
(new Random()).nextBoolean(); // too much trouble?
(new Random()).nextInt(2); // too much trouble?
The most interesting part of the article was unrelated to its ostensible thesis:

"Suppose, for example, that A charges its internal customer B per hour for software development services"

If this incentive system is the norm within companies, it is no wonder that they are having issues.
You could. After the Red Clip guy, the Million Dollar Page, and the woman who sold a tattoo on her forehead, this is becoming an old trick. Yet it still works!
No.

class Test {
public Test() {}
public static void main(String[] argv) {
int i;
for (i = 0; i < 100; i += 1) {
System.out.println("RND=" + ((int) Math.random() * 100000));
}
}
}
I'm in INFP or sometimes INTP depending on the test I do. I don't really how understand how thinking and feeling are supposed to be at opposite ends of a spectrum...
I'm experimenting with Go on a few personal projects and enjoying it; it grows on you and its good not to have to deal will objects all the time. But the experience (specially the performance) has made clear Sun's accomplishment in the Java language and the Java Virtual Machine. Current fad of dumping on Java will pass and history will be quite kind to Java (imo).
Don't forget (long)Math.random():
http://www.google.com/codesearch?hl=en&lr=&q=%5C%28l...
Some MySQL Best Practices
Strange. I've tried it on 3 year old mac mini, OSX Leopard, 2gb ram with Firefox.
Worked just fine.
Right:

http://java.sun.com/docs/books/jls/second_edition/html/expre...
dnstracer is actually the tool I meant, oops.

Easy to get confused (especially since from an end user [but not backend] point of view, they're both similar to traceroute).
It is fast - but not significantly more than Haskell, C#, OCaml, etc.

Java is a terrible language though. For example:

-The syntax for doing anything remotely functionalish (anonymous classes, function currying, etc) is completely unwieldly.

-Null pointers still being a problem in 2009 is an embarrassment. A simple Maybe Monad would fix it (of course, because of previously mentioned syntax problems - I need the language implementors to add syntactic sugar since library-based Maybe Monads are too ugly.

-Generics and autoboxing were a good start at fixing the terrible type/primitive system, but Sun has proved unwilling to break backwards bytecode compatibility, which leaves us with ugly hacks like type erasure.

The JVM is undeniably impressive (and even more so once we get invokedynamic and tailcall bytecodes) and I think that is going to be the true legacy of Java. Scala, Clojure, et al show amazing promise - in a few years I could see JVM languages dominating the field.
Aargh, no! That will seed the RNG on the basis of the current time. According to the docs, "Two Random objects created within the same millisecond will have the same sequence of random numbers" which really really isn't likely to be what you want.

To get sensible results, you need instead to keep a single Random object around and use it every time you need another bit. And yes, that's more trouble than just calling Math.random and tweaking the result.
Stuff like this is why I have anti-procrastination on. What a waste of time. Stop voting up please.