skysight-inc/HackerNews huggingface dataset:
The percentage of page views served from cache depends on the type of site you're building. Newspaper site? Sure, cache it all. Social network? It's going to be tough to manage a cache when the content is constantly changing and is viewed differently by each user.
Really, this is a non-issue.

All they have to do is post any revision of the bill as soon as it is available. Then someone can write a bot to watch the site, download any new revisions, and put them in a VCS repository. This would be perfectly legal, since U.S. Govt. works are public domain. And no one would have to teach some senator what a VCS is.

In any case, the original objection is a just cop-out, isn't it? Apparently some senators want to hide the contents of the bill from the public. That's the real issue here.
Kinda interesting, but the demo itself is pretty basic.

The official Raphaël site [1] has a whole bunch of awesome demos. Check it out (scroll down a bit, they're all right there on the home page). The pie chart [2] is my personal favorite.

[1] http://www.raphaeljs.com

[2]http://raphaeljs.com/pie.html
Out of curiosity, how long ago was "a while back"? I've been building on Drupal since version 4.7 (now on 6.14) and haven't ever had a problem with sites breaking on upgrades within major versions.

It's only when upgrading from v4 to v5 to v6 that I've had to adjust my custom templates and modules to work with new APIs. But that's why major upgrades get new major version numbers and are years in the making (and testing).
DDOSes are a sucker the first time round.

We went through the symptoms these guys did for about a week(!) before figuring out and putting hardware DDOS protection in place with our dedicated provider.

The lesson was well worth it though. Next time we have these symptoms, we won't be reinstalling the OS, hardware etc.
It's important to realize the body is a machine : you have particular protein, fiber and calorie requirements. Meet them. I take a protein shake every day and a large quantity of veggies and skimp on carbs. I make sure to keep in mind caffeine is a drug and I monitor my dose. I do pushups and situps and as soon as my damn knee heals, I am back to running.
I loved living in Mountain View and being able to be in the city in 40 minutes whenever I felt like it, and enjoy a quiet, clean life in the suburbs, with a 5 minute commute. Lots of geek happenings in Palo Alto, Mountain View and Sunnyvale, some live gigs at Shoreline Amphitheatre (with discount/early tickets for residents!), live comedy at Rooster T Feather's (where the first Pong machine was installed), and amazing food at places like Alexander's Steakhouse (in Cupertino), made the South Bay very appealing.

I had no problems driving up to the city for a mid-week show or event, and I could get a 4 star hotel room in the city for $70 on Priceline, meaning I could live in Mountain View during the week and stay in the city every weekend and it still be cheaper/more convenient than living in the city proper.
Moreover, his ideal city is Portland. Now, I like Portland; it's a nice place. But if you want urban culture and a population that isn't obsessed with outdoor recreation, you're in for disappointment there.

Honestly, it sounds like the guy just doesn't like it here, and is looking for reasons to justify his feelings. To each his own.
Be careful though, it will take over your life! I am constantly battling between working 100% on getting a startup off the ground and selling all of my possessions, buying a van, and driving around the world climbing.

It is not an easy choice.
I'll skip to the main part of your question: Is it a big problem?

My answer is the same as what I wrote above cities. Whatever works best for you. It's totally personal.

For me, it's a problem, but for other people, it's not at all, and I'm not mad at that.

Diversity can mean lots of different things. For some it can mean people from different countries, different genders, different schools, different parts of the country.

For me it mostly means different backgrounds. I basically seriously dig it when the people i discuss tech stuff represent the world i otherwise live in + with.

(As Alex hinted at with "1st world problems...")
Some can people stand in a circle at a launch party where everybody talks about their favorite ipod headphones for 45 minutes and totally dig it, and others can walk away from that feeling really out of place. Neither one is wrong or right, but it is quite easy to slip into an intense, concentrated subculture in quite an exceptional way.

(the second part of your question: startups vs big tech co's)

I go down to SF a lot for conferences. I notice more diversity and different backgrounds at events from large companies (like VMworld) than i do at open source things, i wish that were flipped, as i do more open source stuff than corporate stuff, but it's cool. Either way i get a lot of good info from the events.
>Money: Adsense pays for my hosting bill so can't drop them, besides there is no worthy competitor with Adsense (for small blogs)

Project Wonderful? They seem to get decent results:

http://www.blogcatalog.com/discuss/entry/project-wonderful-v...
Not a sane source but a personal anecdote:

I stayed up all night before my sub-thesis due date finishing it off thanks to Red Eye (red bull analogue). I had so much of it that I was literally shaking late into the night.

In general my caffiene intake is zero - my theory is if you drink it every day it has less of an effect than when you really need it. I rely on willpower most of the time if working late.
Just 30% Say U.S. Will Be Most Powerful Nation At End of Century
Robust implies a positive connotation, I always saw it as desperation.

It's one thing to see someone begging on the street-corner. It's a whole other thing to see them out there wrapped in an old wool blanket when it's below zero. One is fairly innocuous for anyone acclimated to big cities, the other one gets you thinking "holy shit, that person is in mortal danger".
The thing is, this machine doesn't seem to have any indicators to an untrained eye.

How can you tell if you need more protein? Something else, like Omega-3 fatty acid maybe? How can you tell that you don't need carbs? etc. etc.

I would love to read up on this to get to know the workings of my machine better.
"You should not allow Unicorn to serve clients outside of your local network."

-Quoted from the Unicorn philosophy page at http://unicorn.bogomips.org/PHILOSOPHY.html
To paraphrase Arthur C. Clarke: Any sufficiently advanced card game is indistinguishable from Magic.
Mountain View is affordable (compared to both Cupertino and Palo Alto, but unfortunately not to the rest of San Jose) - there's a great deal of good restaurants, it's a major Caltrain station (for a trip to the city).

It also escapes most of the suburban cliches (there's independent grocery stories, fewer chain stores -- other than the Walmart/Target area near San Antonio).
Two rules: plenty of vegetables/fruit with every meal, and 4 miles of running every day. Everything else seems to sort itself out.
If you are going to scrape other people's web sites there are a few basic courtesies that you are expected to observe.

1. Respect the instructions in robots.txt, if they don't want you crawling anything under /foo/* don't request /foo/bar or /foo/baz. A corollary is to identify your bot as a robot in the UserAgent string you send.

2. Observe response times and be gentle with the sites you are scraping, remember that you are not a paying customer and that you should not be requesting pages faster than the site can produce them. If response times suddenly rise, back off the rate at which you are requesting pages. Similarly if you start getting 500's or other errors stop and wait at least 10 minutes before resuming.

FWIW, IANAL, etc. I've been told that it's perfectly fine to read information that is publicly posted to the web, the place you get in trouble is where you start republishing material without attribution and without transforming it in some manner.

I have worked with sites that gathered a lot of pricing information in specific product categories in order to generate pricing recommendations for merchants, and there was no problem with using that information that I know of. But your specific situation may be different enough that my experience is not at all applicable.

Your mileage will vary, ask your own lawyer, Hacker News is not legal advice.
Twubble. (Doc)
One of the major advantages of moving to a language aware IDE are the refactoring tools!

Rename: Alt + Shift + R (utterly invaluable)

Extract Local variable: Alt + Shift + L (Very handy for adding self documentation on complex expressions)

Inline: Alt + Shift + I

Move: Alt + Shift + V

Display Refactoring Context Menu: Alt+Shift+T

Another sweet feature I'd like to mention is Mark Occurrences - if find this invaluable for rearranging method bodies. For example, placing declarations closer to usage.

You can also distinguish reads and writes by configuring different highlight colours (Preferences->Java->Editor->Mark Occurances->Write Occurances).

I love eclipse.
Isn't it obvious why?
The hacker's diet: http://www.fourmilab.ch/hackdiet/e4/
Also it is very intolerant of error - one mistake an hour negates your advantage.
What sort of reading on health do you recommend for a newbie that wishes to learn how to stay healthy? I'm beginning to worry about my health, but I'd hate to just follow some or another fad diet, even if recommended by fellow hackers. First, I wish to understand how my body works.
Chicago and San Francisco are corrupt in different ways, and I prefer Chicago's way.

San Francisco towed my car, via a third-party contracted by the city. They lost my car for several months, and when they found it, they charged me for the time it spent hidden in the lot. A lesson learned: it is extremely hard to sue a municipality.

Chicago towed my car. My registration was expired, and it was a Friday night, so I was screwed until Monday afternoon when I could get that straightened out. I asked, "is there anything I can pay to get my car tonight?" $50 later, I learned about the loophole that says your car can be towed out of the impound lot; you just can't drive it out. Total win.

People talk about the "corruption" in Chicago as if it was a daily hassle. If you're in politics or commercial real estate, I'm sure it is. But for the rest of us, it's mostly a problem in principle and not in practice, and it's not a problem Chicago has a lock on.

I don't know how old the busses are in Chicago, because I never ride them. Busses don't count. Something's gone wrong if you have to ride one. Where do you live in Chicago that you can't walk to an El stop?
Didn't he say the culture sucked except for the ballet? At any rate he seems to suggest he like museums and since he is originally from D.C. Which probably has more museums monuments and architecture to view than any other city in the country it no small wonder he is disappointed.
Dude...you lived in Bayview? Of course you found it filthy! It's one of the worst neighborhoods in the city. SOMA is marginally better, but still pretty grungy and industrial.

I don't know why you think Noe Valley is covered in poo, though. Noe Valley seems no more or less filthy than the nicer areas of the Castro.
Thsi comes up regularly, but since there aren't any defining court cases for "fair use", you have to set your own bounds:

http://searchyc.com/copyright

http://news.ycombinator.com/item?id=411555

http://news.ycombinator.com/item?id=806548

this blog is also a good resource:

http://www.coultertm.com/blog/2008/02/mashup-fair-use-or-inf...

http://www.coultertm.com/blog/2009/05/remix-culture-fair-use...

http://www.coultertm.com/SocialNetworking.pptx
plus, g.raphael.js, a graphing library built on top of raphael, is due out oct 7th according to dmitry, the main developer
http://github.com/DmitryBaranovskiy/g.raphael
I found that not to be a win.
Font technologies such as TrueType/OpenType are extremely powerful. A glyph in such a font actually may use a small programs to deform the shape radically according to resolution, platform, or language. This is used to chose an optimal shape for the character under different conditions. However, it can also be used in a security attack, since it is powerful enough to change the appearance of, say "$100.00" on the screen to "$200.00" when printed.

Important to keep in mind, what with all the new web font capabilities.
There is no single-use Lego
I have to disagree, with the exception of Toronto, I've never seen a cleaner big city than Chicago.
It's pretty crazy how cheap San Jose is, especially over in the eastern part of town. But it's just not that exciting of a place to move to.

Mountain View is much better than Cupertino, so long as you are relatively close to Castro St. Highly recommended if you want to live in that area and don't want to pay Palo Alto prices.
> Drink as much water as you can: helps flush the body, a hydrated body is a happy body

I heard of this too, but I wonder: isn't there such thing as drinking too much? If anything, I suppose it puts high stress on your kidneys and washes away salts.

> Cook your own food: know the ingredients, the less you eat the more you will enjoy it and want it to taste better

This is so that you won't eat too much, I suppose? Not everyone has such problem. Besides, maybe the things I can cook myself are not the healthiest ever.

> Spice up a salad (we have molars for a reason): a vinaigrette and some almonds or walnuts are great

This is so that you will be able to eat more of it, I suppose? Again, I don't have such problem as I taught myself to really like salads. Besides, vinegar kills white blood cells.

I am afraid, as fine a community as we might be, in questions of human health most of us are clueless. So we'd better not expect that sharing and following such fads gives more benefit than harm.

I'd better go with established sources of information on health issues.
The headline confused me too. I thought maybe it was referring to "dumb" toys being ones that force kids to read/think/calculate/imagine for themselves (as opposed to "smart" toys like some video games that do it all for you and let you go into a near-trance). But that seems only loosely connected to the body of the article.
Thanks jacquesm, I would be happy with that :)
Yup. CPAN is only going to hold off Ruby and Python for so long.
Start a file somewhere (we did Google Docs) or even just a text file, and write down names as they come to you. Then after a few weeks, just look through the list (you will get ideas for new ones since there is a collection to look through).

To get started, this is also cool http://wordoid.com/

I've also used Mechanical Turk (have the job to submit 10 names, that doesn't have the .com still available for example).
I hear all of these people talking about dirty cities, but have you been to anything in the south? Memphis, Atlanta, New Orleans? After a trip to the rougher areas of Memphis or New Orleans, you'd probably eat off the sidewalk in the Tenderloin.
Lucandra = Lucene + Cassandra
If you know that alfredo is equal parts butter, cream and parmesan, you will use it more sparingly.

In general, if you know what goes into food (e.g. oil, butter etc), you realize how many calories (e.g. food) is in it.

Also, (generally) it is somewhat difficult to cook the heavily fried and sugared foods at home. (requires a great deal of special equipment). Stew is easy. Veggies are easy.
It doesn't mention my favorite Unicode attack, which is using UTF-7 to evade content filters or fool heuristic encoding-sniffers:

http://security-sh3ll.blogspot.com/2009/05/exploiting-ie8-ut...
I don't know why you think Noe Valley is covered in poo

I found that observation a bit odd. The part about North Beach being clean was also a bit suspicious. Whenever people make blanket claims about how dirty SF is, I wonder if they've ever been to the western half of the city.

If Noe Valley is covered in poo, at least it's dog poo.
To respond to both: It is probably a good idea to watch what you eat. There appear to be two factions who agree on this. They disagree on how you should do this. One (China study) claims you should avoid animal-derived products (I think. Haven't really read it). The other claims the opposite (meat rocks!).

Needless to say, both say that the other technique will lead to suboptimal results, and both say the science is on their side.
sure. i don't plan to run a marathon for similar concerns about health. i still believe that a half marathon is totally different than a marathon.

here's why: "athletic" folks in my mind are those who play running sports such as frisbee, soccer or bball. Even just pickup, which is low stress and to some extent low motivation, require stamina of 1-2 hrs. Athletic folks are comfortable going on half hour runs a few times a week.
Quadrupling that running time to 2 hrs is a small matter of stamina and psychology. Assuming you're not running a half marathon to win, there's no need for physical destruction.

i'll happily play frisbee for 2 hrs (with water breaks, hard sprints and down time on the line), but get bored running. training for a half-marathon was a great experience mostly because of the mental zen aspect. you get into a zone...it's wonderful. i'd come home, lie down for a bit, eat a great breakfast, and do some excellent coding.

running in the half-marathon was exhilerating. there are so many people, and there's such a great sense of accomplishment afterward. having the goal of running a race--however long--is excellent motivation, too.

(the link you provided contains so many questionable methodologies and conclusions that i can't take it seriously)
Very misleading. Does not account for point inflation over the years (when a 15 point article or comment was equivalent to 230 points now.) There is not much one can infer from simply dividing points by days registered.

Maybe we need to find out the average point total of the top 20 comments (separately, articles) for each month before calculating anything else. Would pg or the search.yc guy(s) be able to calculate these numbers?
Information-Theoretic Incompleteness (free ebook) [pdf]
I have a great mechanical fish ready to photograph in case of emergency.

That said, I agree that avatars are not a good idea. I like them on a lot of sites, and I like the idea of HN as a community, but it really is supposed to be all about the words. Let's keep using words.
I would also mention the most important part: Leo works his ass off to a degree that would shock most podcasters dead. His operation is very small, and he does a huge amount of work all by himself, from production to editing to ad sales, new product development and more. He's a one man army.

The same work ethic was in evidence at TechTV that I could see in my limited experience doing segments with him. He's also a hugely nice person, something you don't see much in TV people...
I lived near 30th and Noe (on Harper). Harper was clear. It was way up on a big hill. The bottom of the hill, 30th, Church, Dolores --- great Chinese food, filthy.

My point was, I lived in really crappy SF, I lived in hipster urban SF, and I lived in residential SF, and they were all filthy.
I am looking at it economically.

If you are clearing so much thanks to her that you can chortle about it so happily, then that suggests to me that she can get more from you; if she can get more from you but isn't, then you're underpaying her, which I have a strange irrational urge to call 'unfair' and cast all sorts of moral connotations on (but I'm sure at Hacker News I'm just an outlier in that regard).

The other alternative is that you are over paying her (no doubt out of the goodness of your heart), which I think can be rejected given that your whole post is about optimization of things like that.

(The third option of course is that the price is exactly right, but as you are neither of you _Homo economicuses_ with unlimited computing power, perfect information, and working in efficient markets, that's extremely unlikely.)
Well let's see, don't drink redbull, hold off on snacks, no coffee, and make your own noodles instead of ramen.

Basically cook your own food, don't sit around all day. This at least works for me, but I think I have a high metabolism or something.
also the NY times lawsuit was settled and didn't have any defining decision

http://www.boston.com/business/articles/2009/01/23/lawsuit_o...

http://www.mediapost.com/publications/index.cfm?fa=Articles....

http://investors.gatehousemedia.com/releases.cfm?ReleasesTyp...
> I believe I was thinking of the Cambridge Handbook of Expertise and Expert Performance.

Yes, you are. That's the canonical source for the 10k hours figure.
Easy.

- no sugar if it wasn't grown as part of a vegetable or fruit

- get your heart pumping

- eat fat! not processed shit, but avocados and fatty fish like salmon!

- when you're doing your cardio, do it intensively for 6 seconds. then, take it easy for the next 9. rinse and repeat.

- water. you need it. you really, really need it.
my favorite meal, after peanutbutter on apples or cheese on apples or peanutbutter on carrots, is to cook vegetables in some olive oil in a cast iron pan. parsnips, carrots, green peppers, onions, eggplant, radishes, whatever (usually not all at the same time). paprika and chili powder, or tumeric while cooking, or green zatar and nutritional yeast and sesame oil once it is done.

i think running 4 miles a day would be too distracting for me, but that does sound fun. i tend to exercise at night once i've gotten all my work out of my system, and i don't like to run at night. pool is open until 11pm though.
Rich Hickey on Erlang concurrency
I'm really surprised that you said you were "unlucky" to live in Santa Clara. I went to undergrad at Santa Clara University and it was perfect. Gorgeous weather year round (warmer and less windy than SF), slightly more reasonable rent, incredible diversity of food, and compulsively clean. Oh, and every weekend you had the choice of going to SF, Santa Cruz, Los Gatos, and Palo Alto to name a few.
"As above, it’s easy to meet people through work or a common interest, but harder to meet random friendly strangers. Rarely in San Francisco has a kindness been done to me by a stranger..."

This statement was demonstrated all too literally for me my first night out in SF as a proud, newly minted resident:

It was a Friday night out with co-workers at my new job, and I had a blast. Really felt like it was easy to click with people, and that they were all so much more interesting than the "d-bags" I'm used to pretending to get along with at bars. Then again, these were co-workers--all very talented in their own right--and probably not an accurate sample.

Contrast with what happened immediately following: on the way out of the bar, at around midnight (not too late), I was stopped and robbed by a gang. Mind you, this was a nice part of a "safe" neighborhood (Castro). Bad luck I guess, but the worst of it was trying to find a sympathetic soul to (at the very least) let me use a phone. As soon as it was apparent that I needed assistance, this well-dressed twentysomething became invisible. Even the cops couldn't have been less helpful, and thought it best to drop me off where it had happened.

In most other cities I've been to around the world, I can't imagine folks being so apathetic.
His points are OK... But why harp on the sidewalks of SF when there is poo in every single hamburger made?

http://www.nytimes.com/2009/10/04/health/04meat.html?_r=2...

Bottom line: I don't think a person is qualified to rip on a whole city unless he has lived in at least 5 different neighborhoods and has actually made a bunch of friends.

SF takes work to maximize. Portland is nice too, but more like a busy suburb than a city fwiw. I qualify that by saying that SF should be thought of as a cluster of neighborhoods rather than a city.
The Best Honda Transmissions For Sale
Looking for Honda Transmissions For Sale? GotTransmissions.com has you covered. Great company!