skysight-inc/HackerNews huggingface dataset:
Ok, here is my solution in Java. BigInt makes things simple and there is no need for memoization.

public void test25() {

BigInt f1 = new BigInt(0);
BigInt f2 = new BigInt(1);
BigInt f3 = null;
int i = 2;
while(true) {
f3 = f1.add(f2);
f1 = f2;
f2 = f3;
if (f3.toString().length() >= 1000)
break;
i++;
}
res("25", 4782, i);
}
I know this is a joke, but...

I can kind of imagine a system where you setup a "service" per pad. You might configure a database on an individual pad which is dedicated to that task only, or a mail account, or whatever you need. Then plug the pad into the rack slot for safe keeping and powering - actual communications are all wireless. I imagine this not unlike how "crystals" and other such things are used on a lot of scifi shows where they have to pull the crystal/pad thing and tap on them a bit to reprogram them...

Granted, it's probably easier to just have a remote tool (ssh, web interface, etc) to reconfigure services like we do now all in one place (and from any physical location), but there's something very compelling about being able to just pull the pad, tap a few things on it's custom UI, and put it back in the slot to reconfigure something. :)
Am I the only person to notice that all 3 programs fail to consider the fact that the first 1000 digit Fibonnaci number may be 10^999?
Please, I don't want to see any more benchmarks using fibonacci.

NO FIB!!
my company is developing web applications that are used by companies to optimize internal processes. i recently found out about selenium and this tool is just great. i wasn't aware that it is possible to write tests for even complex and heavily ajax driven web interfaces. roxxx. don't get me wrong, it is indeed a lot of work to write those tests. but once written they'll save your time and more important, your life. give it a try.
:) Thanks for the tip. I'll keep that in mind with my next submission.
I don't understand this response.

I really couldn't care less about his wife. I'd just want to smack him if I were her. Or even if I were me. Which I am.
The demo's last time were pretty amazing, and finally there's a good place to meet people working on interesting things as opposed to the usual biz types and service providers!
OneForty and iTunes App Store: Do They Intersect?
Hey Jeff, thanks for taking the time. Google Checkout reviews are a great idea... will definitely look into making that happen.

Don't know if it's useful for you, but in the meantime you can grab Amazon reviews by putting the whole Amazon URL of your product pages into a new search.

I'll send you an email w/ some extra questions - would love to hear more about your experience.
Or, as Feynman said, "What do you care what other people think?"

http://www.amazon.com/What-Care-Other-People-Think/dp/B000S3...
Be sure to include a more reasonable approach to usage (volume) caps. As it is, many providers imposing caps in the U.S. provide little or no flexibility with regard to those caps. You can't purchase additional volume, or you can do so only at exorbitant rates, where a small additional volume can cost you as much or much more than your initial monthly service fee.

Bad enough for solely home use, but imagine having your work-at-home connection held hostage by such a cap / rate structure, particularly if you combine work and home use on a single subscription (something that, aside from otherwise being more economical, is perhaps even necessary, if your area is serviced by only one provider and/or physical delivery medium).

(And its all the scarier if you have kids who might max out your allocation before you know it.)
A no bullshit advertising conference might be good as well. We've learned tons of stuff on network vs direct sales that took a long time to figure out, and the fact that the advertising industry is filled with less than intelligent non-engineering people didn't help that process.
Hector – a Java Cassandra client
Yeah, this is perfect for an April's fools gag. It's still pretty good.

It's weird they did not put in a more visible link to their real service. http://www.macminicolo.net
s/Lazy/Smart/

The code is much more compact and much easier to read. (Of course you'd do bounds checking on 'm' before the assignment, but that's not a huge burden.)
Thanks for the feedback. For many searches, there is a lot of noise and very little signal. This is a big usability problem. As we progress the product, we want to get really good at identifying the signal and filter out the thousands of duplicate and irrelevant comments (as you unfortunately stumbled upon).

The best searches for smaller companies right now will be those with unique names or those using a direct Amazon/YouTube/Rss URL, which is obviously not helpful for everybody.

Thanks for pointing me in the direction of Google Checkout Reviews. I'll see if I can get that added by early next week and let you know.
True. Having the right "passion" makes a big difference. If you have a passion around doing advertising for Fortune 500 companies, you'll probably do just fine. On the flip side, if your passion is helping penniless orphans...it might be a while before you can monetize that ;)
but there's something very compelling about being able to
just pull the pad, tap a few things on it's custom UI,
and put it back in the slot to reconfigure something. :)

Yes, like disabling the cognitive circuits of an AI gone bad..
And in next week's issue of "Gross Misunderstandings of the Very Nature of the Economy": Hot New Trend: Breaking Your Own Windows to Stimulate the Economy.
Like a SheevaPlug?
I want a product that lets me create videos like that on the web in 20 minutes.
Innovation: Who wants ultra-fast broadband?
I don't know if there is but you can link to this page:

http://www.seomoz.org/blog/whiteboard-friday-the-seo-fundame...

Good read indeed.
That's entirely a fair attitude, but since you'll likely end up replacing speakers, as to not repeat yourself, people will miss out of valuable knowledge.

It'd be useful to hear how Company A sold itself, not just how Companies BCD sold themselves.

I might suggest recording the talks, even if you never intend to show them to anyone.

Having the media recorded gives you the option of changing your mind later.
Apple: COO Cook Says It Is World's Largest Seller Of Digital Content
The best pranks are the ones are just un-ridiculous enough that you consider that they might be real.

In that sense, bravo.
Did it in Io (was already doing Euler stuff), pretty similar:

problem25 := method(digits,
term := 0
n0 := BigNum with(0)
n1 := BigNum with(1)
loop(
n0 = n0 + n1
n1 = n0 - n1
if(n1 asString size >= digits, break)

term = term + 1
)

term
)

problem25(1000) println
Yes, there will be Startup School in 2010. Sometime in the fall.
I like the advice, but their own FAQ (link is broken in article but here it is http://www.feedbackarmy.com/questions.slp) fails in many ways.

3 Make it Easy to Skim

A list of categories at the top (or even better questions) that allows you to jump down would accomplish goal 3. Further, the font color of each question is light gray.

Goal 4. Label it Correctly - Maybe it's nitpicking, but the title of their FAQ is Usability Testing Service Policies - Feedback Army
JavaScript Override Patterns
2. Get Relevant Questions By Asking

Have to agree on that one. I create a tool for making FAQ pages that incorporates an "Ask a Question" form directly into it. You can check it out at http://breezyfaq.com
This is an excellent excuse! "I'm not wasting time, I'm saving the economy" :)
Teach For America’s focus on branding shortchanges its core mission
I use rsync.net for backup and just use the Linode for web servers. The web servers all get their docroot from subversion.
"... Most people using the web aren’t especially technically capable. They don’t understand the difference between the search box and address box on the browser they’re using (one of the smartest people I know constantly frustrates me by using the search box to go to sites and declares it “easier” as I vent). They don’t know what a URL is nor how it works. Nor do they even understand what a browser is. Let alone that the web isn’t the Internet. ..."

Something I easily forget.
First steps in python for the rifle club
I agree.

> Just because a platform manages memory management doesn't mean you can create 1 million objects.

Yes, you still have to watch out. Only your example is not crass enough. A million objects does not have to be very much. And e.g. a Haskell program compiled with GHC can churn through a Gigabyte of memory in a second (see http://blog.interlinked.org/tutorials/haskell_laziness.html), and this isn't a bad thing. (As long as the memory is immediately reclaimed, and you do not actually use the whole Gigabyte at once.)
For the record, I've written 18,000+ test cases in the last year. When you can write reasonable tests, they are an awesome tool for programming. I just object strongly to the notion that any possible bug can be reduced to an automated test. That's not my experience at all.
The Politics of Design
Don't use arrow keys or pgup/pgdown. They're totally unthematic with the emacs way. Anything that requires you to stretch your hands from the standard rest position is bad.

Unfortunately some emacs modes, most notably orgmode, use keychords such as shifted or ctrled arrows. This is very unemacs and needs to be corrected.
6 Reasons To Have A Blogger On Your Startup Team
How gethostbyname_r() ate two days of my life...
Getting the vistablet to work on debian
You do have a point, given that these guys' existing customers think using Mac OS X as an internet hosting platform is a great idea.
Problems with the maximum password length in Coova-Chilli and Chillispot
how can i / we tell how good a programmer you are? first, it's hard enough in an interview when you're sitting there answering questions. and second, you are inexperienced, so what you are really asking is not how good a programmer you are, but how good you might be.

so it's pointless asking for that kind of an answer here.

it seems to me, then, that what you should ask for is advice on (1) how to become a better programmer and (2) how to avoid any problems in the future if you fail (or even succeed) as (1).

and i think there are many posts here about how to be a better programmer.

as for what to do now to avoid problems in the future, i would suggest not advocating so vocally stuff that you don't understand. use and learn it, by all means, but i don't think anyone appreciates know-it-alls who won't shut up about whatever they think is "the best", especially if they are clueless newbs.
I'm pretty sure the invisible hand will cause this to not happen. Anybody who makes an open source twitter client that doesn't suck will always wonder "What would happen if I made a premium version that had ads?"

The net result will be that there will be many free crappy Twitter clients, and a few polished paid/ad sponsored clients.
How does anyone decide to trust mint.com? It gives me the security hebbie-jebbies and all their claims of security assurances make the jebbies worse. They're still storing accounts and passwords in a form that can be recovered as plain text, right? I would slap any family members that use it and I'm a Buddhist.
I don't know, the Cambridge-grad-only dating site seems to be pretty popular. Elitism can be a powerful motivator, especially for people thinking about settling down and having kids. Late 20s and no kids yet is a demographic with a lot of disposable income.

And while it might be a small niche, this is a _huge_ market and attacking a niche then working out how to expand (movie matching? music matching?) is a perfectly valid strategy.
Do You Know Why Google Wants to Trade Energy?
Looks like they've got a strong group of mentors. Also David Cohen from TechStars is there. Seems like a real opportunity for startups.
The “demo” will be less like Steve Jobs and more like Guantanamo Bay
The Concept of Flow
Your interpretation sounds valid but I'm highly sceptical since it appears to be a loophole that undoes the entire purpose of the AGPL. You have to be careful about being right in technical terms but wrong in substance - as in the classic exchange on GPL from Stallman:

http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/...

The kicker being (Stallman's words):

"What the lawyer said surprised me; he said that judges would consider such schemes to be "subterfuges" and would be very harsh toward them. He said a judge would ask whether it is "really" one program, rather than how it is labeled"
Ask HN: Anyone from Iowa?
I know most of you who may see this title (and find it interesting enough to click, not many) live in more exciting areas in than me. I live in Iowa City, IA. I'm not fortunate enough to have the kind of community I can only imagine certain locations in SF, Seattle or NY can provide. Are there any hackers near me?

I'm not looking for a co-founder. I'm not looking for work. I'm not looking to hire anyone. I am interested in finding a mentor nearby as I attempt to delve into the world of Ruby programming. Time is valuable, and I'm an accomplished designer willing to provide design/CSS/SASS in return if desired.

No lessons, doing work for me, etc. Just be willing to talk, provide some answer or guidance, and be friendly. Thanks :)
Exactly my thought!
This is a good opportunity for me to ask a question that has been bugging me for ages (eh, bad pun. :-)

How do sites like this get "buried"? I can understand how small objects might get lost and later buried in the soil, or perhaps get intentionally buried in a gravesite. I can also see how dinosaur remains might have been buried by geological processes over millions of years. But how do huge monuments or even cities get lost this way?

On the geologic scale, these things are very very recent, and I don't see how the Earth could have swallowed them up in such a short amount of time. There was another story in the news recently about an ancient road being re-discovered in Jerusalem. I never understood how such things get buried, and would appreciate it if someone could explain, thanks!
Wow that is brilliant. Well done!
Back in my roommates days we used shared google spreadsheet with few formulas setup. It worked perfectly for us.
Truthfully, you sound annoying and out of touch with how the people around you probably feel when you act in the way you're describing.
Agreed. As I skimmed through the text, it almost had me up until I saw the robotic hand... followed by a slight smirk on my face.
Not only is it a silly benchmark, the implementation and methodology is awful. The Ruby code is at a huge disadvantage because it recomputes the whole sequence from scratch every time. The Ruby and Haskell programs print the answer, while the Clojure doesn't. And the LOC comparison is just completely useless. (The Haskell solution can be reduced to 3 lines without excessive golfing, which line up pretty directly with the Clojure, and it could be 1 "line of code" if you wanted.) And, there's no indication of how he's measuring or if he's measuring multiple iterations. In short, this article seems to combine just about everything bad about simple blog article benchmarking in one place.
And no description of which compilers, which versions, which compiler flags, what architecture/OS.

We have the shootout to answer these questions, and it doesn't include fibonacci.
first of all, its irrelevant, the equilibrium behavior of the masses won't be affected of a few of us slack off. second, in the macro scheme of things, its not really possible to run out of value-add opportunities.
Amazon taps British Library for more free Kindle books
You're absolutely right that after 10 years, he should be making more from that website. That stats speak for themselves. You alluded to the fact that 2,000-3,000 people might be daily active visitors (just considering your "night" comment). How many of the 110k users are active? If he's only getting 50k uniques a month, it's likely that only 10%-20% of his registered users are active.

A registered user doesn't count for anything if he/she doesn't come back.

Either way, I think his issue is proper monetization. Everyone hates Adsense, they're return visitors to the forum, not visitors from search (Adsense does better with visitors direct from search).
I tried it out and thought it was a fun site. It will be even more so when there are more people on it.
Hope, by itself, encourages inaction.
Given unlimited money/resources, what good can we do in the world?
Anyone I meet, I ask this question and the answers have been manifold and enlightening. The question makes you think about the problem of "the world" in a different, more holistic way.

What do you guys think? Either right off the top of your head or take your time. This is going to be interesting :)

I think we can learn a lot from the answers and I am considering running a blogging project on this. This is also a question I'd like to see answered by Bill Gates, Dean Kamen, Ray Kurzweil, Barack Obama and others.
There is an even simpler remedy to this: Don't give or lend money if you can't afford to lose it. Similarly, don't borrow money if you can't pay it back.

I just buy friends/family a beer, or food/items with the likely event that it will be reciprocated down the road. Even if it doesn't balance, they're not my client and I don't ever intend to bill my friends. At least, that's not how I roll.

Edit: I think maybe I need to clarify. I think this is a serious problem they may need to address with their app. I don't think I am a one off person, I am sure people have similar principles as me. What I am saying is that I can't see myself using this app to add a friend only to say "Hey, you owe me $8.95, please pay up"; the landing page does not convince me otherwise.
Oh, I definitely wasn't passing judgment on financial firms. By "problems", I meant reducing transaction costs by bundling and/or securitizing. I was more referring to the general problem being that capital markets are not perfect (in the economic sense).

The real question is how one would actually perform a hedge in a gambling market. I guess, what it comes down to, is 1) are there hedging opportunities and 2) if not, why not?
That and the server rack of iPads is hilarious.
Do these work for people with good eyesight already?
I found it strange that you don't pull from blogs themselves. We have our own "what people are saying about our thing" page, and it's entirely populated with blog content.

If TechCrunch wrote up my app, it seems the only way I'd know about it from your service would be if somebody mentioned the app name in the comments.

What's the motivation there?
My 2(-4) Cents (per click):* Most of these posts mention Adsense when they explain why they don't make a whole lot of money. Adsense is not very effective in many niches (for example, "funny stories" would only get you roughly 2-4 cents per click). Sure, you can't all start a forum about Mesothelioma Lawyers, but you can seek more intuitive, less hated methods of generating profit than Adsense.

*I'm so sorry for that intro, I just had to do it :)
OK, the end of the article mentions "the entire site was buried, deliberately and all at once". But no hint as to why.
My FAQ definitely needs an update. I was inspired to write the post when I saw a Feedback Army customer had used the service to populate their FAQ. It seemed such a novel idea to me that I wanted to share.
I'll go first and start by giving an overview of the breadth of suggestions I have heard (without comments):

- Pay off debt for all states
- "Buy" food for all the people in the world
- Pay off debt for only the US to reinstate it as single superpower thus preventing a worldwar in the coming century
- Give all charities in the world unlimited funds
- Found a new state somewhere and build it up as elite state to lead the world into the future
- Force democracy onto all states
- Fly away to other planets
- Build a huge research center solving the worlds 14 challenges
- set up "money-machines on the street everywhere
- buy rain forest to protect it

And these are only the ones I remember. I hope I'll get around to posting my own ideas later tonight.

The problem (or good thing) about the question is, that you start thinking about completely new things. You take on the perspective of a world CEO who tries to fix the biggest problems in a sustainable way but doesn't know where to start.
You might think that the Ruby version is smart for using a O(log n) algorithm for computing the n-th fibonacci number, but in this case it's stupid (and has nothing to do with differential equations). If you are just going to walk over them linearly it's much better to use the straightforward and fast method (like in Haskell and Clojure). So it's not a surprise that Ruby is slower.

You CAN take advantage of matrix exponentiation by using binary search.

Here are my benchmarks:

require 'matrix'
limit = 10**999

def fib(n)
(Matrix[[1,1],[1,0]]**(n-1))[0,0]
end

# search for the point where the predicate changes from true to false
def bsearch(lower,upper)
while lower < upper + 1
mid = (lower+upper)/2
if yield mid
lower = mid + 1
else
upper = mid - 1
end
end
return lower
end

require 'benchmark'

Benchmark.bm do |x|
x.report('stupid linear search') do
i=1
i += 1 while fib(i) < limit
end
x.report('linear search') do
n,a,b = 1,0,1
while b < limit
n += 1
a,b = b,a+b
end
end
x.report('binary search') do
lower = 1
# find an upper bound
upper = 1
upper *= 2 while fib(upper) < limit

bsearch(lower,upper){|n| fib(n) < limit}
end
end

Results:

user system total real
stupid linear search 7.301000 0.000000 7.301000 ( 6.994000)
linear search 0.016000 0.000000 0.016000 ( 0.021000)
binary search 0.046000 0.000000 0.046000 ( 0.039000)

So normal linear search wins and is pretty fast (faster than Clojure according to his benchmarks -- assuming our machines are about as fast because the slow Ruby takes ~7sec on both).

Oh and Ruby wins the loc contest:

n,a,b = 1,0,1
n,a,b = n+1,b,a+b while b<limit

Compared to second best:

(def fib-seq (lazy-cat [0 1] (map + fib-seq (rest fib-seq))))
(let [limit (.pow (BigInteger/TEN) 999)]
(count (take-while #(< % limit) fib-seq)))

Fewer lines and shorter lines and clearer and simpler.
I hope people check this out. H+F is my favorite startup event in NYC. Followed closely by the NYC lean startup group.
Hehe.

I think what you'll see happening is that most Rails users will still continue to use what comes built in to Rails and not take advantage of being able to plug in other ORMs.

The flexibility was needed to make it easier for developers to experiment with new ways of doing things - otherwise we'd be stuck with ActiveRecord v1.0 forever.
Which I find quite interesting. I know plenty of men who are terrible engineers and post pretty bad stuff on their blog, but none get the kinds of evisceration that you are referring to - mentioned over and over again in blogs, forums, etc.

The 'Internet' was/is ruthless in laughing at her and putting her down, in a way that I just don't see happening to guys. Could be just that its more apparent with the fewer # of women - people are more likely to remember these faux pas. Would be interesting to hear of specific technical instances of the same occurring with guys.
I feel that the most important thing in life is freedom to experience everything you can and want without limiting the experience of others.

The best good I can think of is find a way to give everyone this freedom.
Amazon?

I do understand your argument, but department stores rarely have anything worth buying in them anyway. I assume they exist for people that can't wait for overnight shipping from somewhere online selling something decent.
the right location in Silicon Valley

Maybe in 2005-2007.

But not anymore.