skysight-inc/HackerNews huggingface dataset:
Part of "growing up" as an OOP developer is learning what to do when.

I think this is the real problem with this particular example - because the author wanted to make this into an anti-pattern joke, he didn't actually think about what a Real Programmer actually trying to make good use of the extra keystrokes would do in this situation.

The "requirements" that he's using to build up this bloat appear to be:

1) The result might be really, really, big, so no factorial function worth a damn should be limited to a normal int.

2) We might want to swap out implementations of our factorial function, for instance, to cache intermediate results, to use a loop, to use recursion, etc.

3) We should be able to add new implementations without modifying class files already written, and we should be able to select implementations at runtime.

Fine, then. These could be 100% realistic requirements if we were talking about some more substantial or important piece of machinery than a factorial function, so we really might have to satisfy these things, in which case the three-liner would be completely and utterly unacceptable.

So let's say we're in that situation, then. A good Java developer still would never write the code the way it came out in that post, because the abstraction doesn't go far enough, and it's obvious. Almost every time he writes "FactorialAlgorithm", we could just as well replace that with "Algorithm" (or maybe better, "BigIntegerAlgorithm"), and now instead of building up a whole bunch of architecture just to support one stupid algorithm, we've spent a bit of effort to make all of our (big integer) algorithms swappable. That memoization stuff could almost immediately be refactored up and out of the individual implementations, so it would take but a single method call or flag to add that ability to an algorithm, and so on.

I'm not saying that the particular architecture that gets built up to do this stuff is necessarily pretty, that Java-style OOP is an optimal (ha!) or even passably efficient way to achieve these constraints, or that you should do these types of abstractions before you know you absolutely have to. By all means, if you don't have any other requirements on the table, write the naive factorial, FFS! But when you've got to abstract things, rule #1 is to make sure you pull everything "up" far enough, otherwise you're never going to extract enough value out of the added complexity to keep yourself sane.
Actually it's an opportunity for women who want to get into startups to talk to YC founders - most of whom happen to be men.
If Search Engines Played Jeopardy, Which One Would Win?
Please select your FaceSenseWords campaign options:
[ ] Grass Roots Astroturfing
[ ] Viral
[ ] Passionate plea by a bored 14 year old on youtube
[ ] Flashmob protest
[ ] DDoS of competitor

Facebook or 4chan?
Understanding The Kano Model
Faceted Wikipedia Search allows users to ask complex queries against Wikipedia
That suggests that there is an easy way to opt out: Just include some profanity each time you check in.
AFAIK there is no way to do DMA between NIC cards and GPU. However it is possible with current hardware. Having that would improve GPU performance slightly.

On the other hand, this research is limited by PCI-E bandwidth (quote "performance of our system is limited by the dual-IOH") so CPU/GPU does not seem to be bottleneck in most of the tests.
never thought tweakers would be mentioned on HN.
I am launching the site that does this...this weekend :)
I don't understand why though. The financials filed with SEC showed it's not profitable (they've been losing money, less of it each year, but still losing money).

The business model of content farms is questionable in terms of how long it will last. What was interesting was they claimed to be dependent on Google for only about ~20% of their revenue. A lot is coming from registrar business (eNom).

Would/did you buy demand media? why?
Missed opportunity.
good to know you got PS CS5 to play with. i suggest you google few hours for web2.0 design theories and concepts, like - how to create web2.0 effects with photoshop, glossy text/image effects, reflections effects, how to create nice gradients. watch videos, listen podcasts, go through listapart articles if you have time http://www.alistapart.com/topics/design/ tune up your design concepts first.

you can practice with vandelaydesign photoshop tutorials list.
http://vandelaydesign.com/blog/photoshop-tutorials/
choose the one easy for you to begin with.

and once you master these basic skills, you can then search for "design inspiration" around the web to see how other designers are making web beautiful. when you understand the design principles, design tool becomes just a matter of choice. all the best.
Does private beliefs have an official definition? What I mean is, if you make public a belief, is it no longer "private"? Especially in a teaching position, where your personal beliefs directly contradict what your teaching?

Do as I say, not as I do?

> If your beliefs, religious or otherwise, are not affecting your job performance, I don't see how they're relevant to hiring and firing decisions.

Except things that aren't directly related to job performance are used as an excuse all the time. So we come back to the question: why special treatment for some beliefs and not others?
"Duh. Of course no one should live beyond their means. But I’d never thought about the implications of that when I was 25."

I read a while ago that 40% of American households spend more than they make in post-tax income. I imagine this has gone down a bit, but it's still astounding. People are really good at convincing themselves that their "ship will come in" and they'll be able to wipe that debt clean.
Pandora: Community driven linux based hardware project, actually shipping units.
I just discovered this system today, looks really cool.
A loophole means unlimited data for AT&T iPhone
I keep thinking that the Next Big Language will be a thing of re-evolution, e.g. someone going back to C and retracing steps of C++ but in a more sensible way.

Also, on a tangential note -- the garbage collection is a huge deal if an adoption of the NBL among C/++ programmers is considered. The only way is to have the garbage collection optional. Similarly to how D has it, but much much simpler. Something like adding new_gc operator (or a malloc_gc function) and to have two kinds of memory blocks - manually managed and garbage collected...

Anyway, it's just a thought from an old fart camp :)
ahh. Guess I missed that in the link title. It would still be nice to see on the landing page, though.
Is it just me or does this UI look awful? I know I'm going to get voted down for saying it, but if this is the knife they are bringing to the tablet gunfight I don't think they will win this round.

Hate it or love it, the reason why iOS is successful is because Apps are actually useful most of the time. Widgets are just... well, widgets. While you can't do as much with an App as you could with a real application, you can do barely anything with a widget.

The way I see it is that Microsoft misses the mark because a full OS is not quite right and Android misses the mark because you can actually use a tablet for a lot more than having a stack of stupid pictures on a pseudo desktop. Apple 's porridge, on the other hand, is just right.

However, I applaud that Google has made a lot of advances towards creating a usable alternate tablet OS. Hopefully it will improve.
I agree, limiting third parties access to your data is why OAuth exists in the first place. Although everything in this article is about Twitter's implementation of OAuth and not OAuth in general. The title is misleading.
Jeopardy, IBM, and Wolfram Alpha
I teach a series of classes about the web for designers, and this is a great start. It may not be perfect, but in terms of a basic intro to express common structures to anyone with a background in any other language (for example, my students all know php) it's a good summary, and an appropriate bare-bones jumping-off-point into more specific topics.
> Are there any reset libraries out there that do the bare minimum by normalizing against user agent defaults?

Looking at that chart, and looking at Meyer's reset, I'd imagine that your suggestion would lead to a much larger CSS file. As it is, reset2 is fairly short.
Women were only outnumbered 2 to 1? Though that's not completely successful, that's pretty good.
I took his comment to mean that Einstein didn't initially believe in it and it was an intellectual exercise at the time, not that he didn't believe in it after evidence was built up.

Kind of the flip side of the Michelson-Morley experiment where they set out to measure the properties of the ether and then tried to find what had gone wrong with their experimental method in that they couldn't detect the ether at all. Belief in the ether was wrong, yet they experimented on it anyway.

Likewise, if a religious person decides to do experiments to find evidence the earth is not very old, and his experiment is done properly and fully documented, the experimental results he gets, whatever they are, can still be useful and valid. Maybe the results prove the earth is very old. Maybe they show that different methods of dating the same material give different results and that leads to a breakthrough in more accurate dating.
And also making it really easy to say "bye bye" and move to a language that has sane libraries.
Facebook should offer most of its features (which aren't necessarily features from the user's point-of-view) on an opt-in basis. That is the process flow for the majority of other social media and online businesses. You choose what you DO want, not eliminate all the options that you DON'T want, assuming there's been full disclosure to begin with.
Hacker Haus opens in Madison, WI supporting local entrepreneurs
But then I'd have to design a new logo...
Exactly when and where did Apple suggest not to use NSAutoReleasePool?
I would like to add to this, changing some endpoint frequently involves a single, one-time migration to the new system rather than a requirement to support the old and the new simultaneously, thus making some of the modularization moot or just pure overhead vs. a port.
Makes sense. They were never really going to compete with specialists like zillow.com.
This is great, McLuhan has a lot to teach.

I tend to find his work much more insightful and broadly applicable than Kevin Kelly, et al.

His ideas reproduced in _The Medium is the Massage_ are the most popular, but my favorite is the concept of the media tetrad because it tends towards the descriptive, instead of the prescriptive:
http://en.wikipedia.org/wiki/Tetrad_of_media_effects

Taking Twitter for example, instead of saying "Twitter has foo effect on society", McLuhan's tetrad provides a framework for discussion and analysis. e.g., Perhaps you think Twitter retrieves the telegraph, maybe you don't, but McLuhan provides an easy method for discussion.
PlayStation phone dubbed Xperia Play, looks decent for gaming
When the author writes out all the sacrifices needed, it makes it look incredibly hard. And, in fact, starting a startup is in general a very long slog. What makes it worth while is the prospect of asymmetric returns (either in money or in future freedom).

If you had asked my mom at age 30 (before she had me), "What would you do if you had enough money that you didn't have to work?". She would have probably said something like: "Well, I would have kids and stay at home and take care of them. As they grew up, I would love to work more with the catholic church, because that means a lot to me." And in fact, my mom ended up not needing to work, and doing exactly that. But she did not need to make the sacrifices Jessica lists above, nor did spend four years schlepping away at a startup. Instead she just got married to solid, hard working fellow who was happy to be the primary breadwinner.

So perhaps one reason women don't do startups as much, is because they do not need to. It's still far more socially normal for the guy to be the primary breadwinner, and many guys are very willing to work and have their wife stay at home. Since women have a greater ability to leave the workforce or opt out of lousy job (since their family is less dependent on their pay check), women have less of a need to pin their hopes on a risky startup in order to escape the rat race.
Hm, I didn't realize they were also deprecating the Base API in favor of vertical APIs. I suppose they're pulling back from their ambition to create an overarching taxonomy of everything in a single API?
Top Crimeware Hosting Provider Taken Offline
People that signed up to be notified.
YouTube Blog: Share and share a like: we’ve acquired Fflick
Enzyme with 24-hour chemical cycle
Ask HN: How to get a job as a website optimizer (A/B tester / developer)?
Hey HN,

So I'm a current Stanford student in the HCI CS track looking for work as a freelance "optimizer". Aka someone who helps website owners design and implement A/B testing to help improve revenue / user experience. In addition to the HCI courses I also have prior experience implementing A/B testing through the internship I worked last summer.

That being said there doesn't seem to be many job postings for something like this. The closest thing would probably be interaction designer but that's not quite right either.

Any ideas?
Wow, totally didn't get that from the link. Thank you very much, makes a lot of sense now and seems pretty smart too!
GCC extensions make me want to hurt people.
I'm saying the same thing; a site dedicated to web security, and an article about protecting yourself from JS attacks, doesn't work without JS...
The emulator is unusably slow on my Core2Duo. Launching the browser spikes 100% cpu then timesout. Anybody have better luck on a modern i7?
I apologize -- I misunderstood.
Not only is it built on Python, but it uses Django's templating system.
While I agree that there are better sites for looking at for-sale real estate, Google Maps was by far the best place for finding rentals for our recent move into the city of Chicago from the suburbs. I'll be sad to see it go, until a better apartment search consolidator pops up.
No problem, I've got plenty more- modal dialogs have green close buttons! 'Sort by' button doesn't show current sort type without clicking, etc etc. DocumentCloud looks like a fantastic project, I'd love to help out if you need it.
That, sir, I do not know.
Price discrimination doesn't have to be on just cutting prices, although it is often used this way to increase your potential pool of customers. I believe Amazon was using their knowledge of you purchase history, to decide if you were more likely to buy a product. If you were, the price would be higher.
differences in future-time orientation between men and women

I am skeptical as to whether future-time orientation is the issue. Even if we assume it is a personality issue (rather than simply the tech gender ratio), it is more likely that the likelihood of success estimation is at the root.

Future time orientation generally refers to your ability to say "Suffer now for 100% guaranteed success in 5 years" - for example, save now for retirement.

Founding is not like that. Founding is "Suffer now for X% guaranteed success in 5 years". The question is what you tell yourself X is. If Group A think it is 50%, they are more likely to found that Group B, who think it is 1% and are who will probably give it a miss.

But I doubt any of it is relevant. It's worth remembering that something like 40% of small businesses in the US are owned or co-owned by women. It's going to be hard to find an intrinsic reason that applies to the tech industry that does not apply to other types of business.
The women founders that I know would answer very simply: 'absolutely nothing'.

To top it off they're collectively much further ahead than the men, even if there are far fewer of them.

Most women that I know balk at one simple item: loss of security. They like their paycheck and the lack of worries that come with it and they see running a company as going to war. And it's been traditionally the men that go to war.

But when women do decide to go to war they do so with gusto and the female founders that make a go of it typically take no prisoners, they're good at what they do and they'd give any guy or girl a run for their money.

What works for one will not work for all, that's the same in the male as well as in the female world.

JL is not just talking to her past self, she's talking to all the potential female founders out there and her words ring true, only, would she have taken her own advice at the age of 25? That's a thing we'll never know, but lets hope that YC will see a higher number of quality female applicants to prove that these words did not fall on deaf ears.
I get that making it easier to file complaints can be bad, but there seems to be a software solution here. Things like prioritizing the work orders from tenants that seldom file complaints, or use the work order history to calculate to total cost of the tenant and price the lease renewal accordingly. This might all be impractical for legal reasons, but having the data seems like a good first step to solving the problem.
I've used my current phone with both SenseUI and without, and did not notice any difference in battery life, FWIW.
Even DHS is Freaked Out by Using Spy Drones Over America
Sounds like someone needs to tell the Dyslexic Association of America about Readability (or maybe a dyslexic programmer should tweak it first).

http://lab.arc90.com/experiments/readability/
Every single one that I want to go is Females only. Dont you think that men would also like the opportunity to lern from YC founders?
My bad, that makes total sense now. I was the one confused.
In Browser Native iPhone App Development
Ambition is not the whole story. Women that do have ambition (technical or not) are dissuaded by a whole series of subtle and not so subtle social cues that that is not their place to be. Even when they're just as good as everybody else.
Never use them, never will. I just don't see any benefits and I hate how reset stylesheets pollutes firebug or webinspector CSS panels with inheritance nightmare.
this was originally how i hosted simple sites on app engine. It works wonders.
I wonder if there's such a thing as startup groupies. /joke
&nbsp;[regular space]

&nbsp;&nbsp; would work too, but stops the line from breaking after sentences.

Not that its a good idea... But that's how you'd do it :)
On my i7 Win7 laptop with 8G RAM it isn't exactly fast - but it is borderline acceptable. Core2 should not be drastically different - have you tried increasing the default RAMSIZE from 96Mb to say 256Mb?
very cool - looking forward to a berkeley dinner!
I don't think most HN members are the typical renters that landlords don't like. (Heck, I sometimes think all NYC HN members live exclusively in Manhattan paying $3000/month rent. I know it's not true, but Manhattan seems very popular.)

It's very different being a landlord and thinking about how a landlord 'should' do things. There are just things that being a renter you never get to experience or just hear about in passing. You never get to experience dealing with completely unreasonable renters or constant complaints.

Ever had to deal with a renter that thought it was OK to not pay (at all) if they 'only' stay for 2 weeks into the next month before moving? Good luck trying to reason with them. Good luck going through eviction process which is long and time consuming. Good luck getting the money.
Don't we all do such things all the time?

I'll frequently to a friend and say "that movie would have been more interesting if they'd followed the subplot and showed how character X finally did Y".

Here I'm starting with a model of the universe, projecting the givens that we were shown, and extrapolating a theory about something else that might happen in that model. And all of it is false. I'm just playing with a model of the world as it might be. And that's all the scientist in the OP was doing, in his mind.

The only difference is that I'm saying that the model is fictional, whereas he believes it. But that doesn't make the projections he might make from his model any better or worse than mine.
Curiosity, a lack of knowing the risks and a drive to know what's inside the box and how to make a better box, a road to a different kind of life, for themselves and/or those around them.

Those seem to be the common factors between all entrepreneurs that I know, no doubt there are others.
Answering your question seemed to be a big reason for writing Founders at Work to begin with. I agree with your point, but the parent article seems to be expanding into this case, rather than changing direction.
Android 3.0 (Honeycomb) is a new version of the Android platform that is designed from the ground up for devices with larger screen sizes, particularly tablets.

Does this mean that 3.0 is not going to ship on phones? I haven't seen it demoed on phones at all.
Pascal Costanza on Metaprogramming and Reflection [pdf]
I think you're still misinterpreting it a little bit. Google won't penalize you for using wildcards on your domain. They only look for ISPs that use wildcards as a "catch all" to show their branded search page.

Have a look at this scenario. This scenario has nothing to do with Google or Chrome (yet).

Assume: User is using their ISP's DNS service, and the ISP uses DNS wildcards to redirect users to a branded search page.

1) User types notifyo.com in to a web browser; a misspelling of notifo.com

2) ISP DNS finds no match for notifyo.com upstream, so returns their own web server's ip

3) User is shown a web page with search results when they really wanted a specific website

ISP's do this by specifying wild cards at the TLD level. This means .com, .net, .org, etc will all return the IP of their search servers if nothing else matches.

Google Chrome checks for these wildcards only. It does not check for wildcards on your domain. For example, Google Chrome would not find, nor object to .notifyo.com.

Personally, I find the use of wildcards at the TLD level to be flat out offensive. It's a break in the basic protocols of the internet. If a website doesn't exist, I need to know. I don't want a search page, I want an error that reflects the status of the domain I have attempted to visit. That's why I use the 4.2.2.x DNS servers.
I just wrote a plugin (Gem) for Ruby On Rails that makes system level A/B Split Testing really easy and uses Google Analytics as the dashboard.

I'm coming at it from the software side, but if someone (read: You) was interested in approaching the business / advisor side of it, I would be happy to talk about partnering up.

Personally, I think A/B testing is going to get more and more important in the coming / months, years. So being where you are with the knowledge you have is a pretty sweet place.

The project I put together is here:
https://github.com/jhubert/rails-split-tester

I'm currently using it to test this (silly) site:
http://www.tweetfolk.com

If you're interested in talking more, just get in touch. :)

Cheers,
Jeremy Hubert
@jhubert
Google Offers Chrome Web Store Users Another Chance to Get a Cr-48
But why is there even a fee? I mean... there's how many affiliate links that embedly will be picking up as a result and writing as their own... they're earning from your using it... they should be paying you for giving them so much revenue.
Thanks for offering ... if you send me your email address (I'm jeremy at documentcloud dot org) -- I might just take you up on that.
Am I the only one here that finds the use of the term "Social" as it refers to "Social Media" to describe a social activity that is possibly the most ancient form of socialising, disconcerting?