Hacker News new | past | comments | ask | show | jobs | submit | more percept's comments login

US assistance for UXO in Laos has been slowly increasing (though some point out it's only a tiny fraction of the amount spent bombing the country in the first place).


If you enjoyed the Joel interview, a bunch of his Q&A's during college tours are on YouTube, and they can be quite funny and insightful.

Check out this one about 'Uptown Girl' (yes, I know, but there's interesting and funny stuff in there, from Beethoven to model-dating):

https://www.youtube.com/watch?v=6UqhaLFpBM4

Another one, on 'James' (somewhat about the song, but more about the songwriting process, for him and the Rolling Stones, he throws an impersonation in there too):

https://www.youtube.com/watch?v=LrYWXFynnQs




hahaha, I just finished reading the letter from the neuroscientists, and this sort of thing is exactly what they were talking about. very appropriate.


I don't know if it's bad, or just rapidly evolving.

Somebody should create a cool map/visualization of the AWS landscape. (Possibly relating it to some other concept: AWS as a small town, Disney World, or Simpsons' Springfield?)


Surprised nobody mentioned HFT.

He also sounds like the sort of candidate many startups are looking for in their job ads. So there's that.


You're both upvoted. I'm going to try the Fibonacci version for a while.

(Though perhaps as is suggested with languages, it's better to start applying the new system directly, instead of performing a conversion step first.)


Yes! What is a meter? One Yard! 1km = 10 football fields (no end-zones)

I find that meters are better for thinking about walking measures, why does our system even have a yard? Think in units, metric is good. I learned this in American Public School. I was very lucky.


"IARC list ethanol in alcoholic beverages as Group 1 carcinogens and arguments "There is sufficient evidence for the carcinogenicity of acetaldehyde (the major metabolite of ethanol) in experimental animals.""

(Wikipedia, citing http://monographs.iarc.fr/ENG/Classification/Classifications...)


FWIW, it places well across TechEmpower benchmarks:

http://www.techempower.com/benchmarks/


Raw PHP is reasonably fast. The performance issue comes with loading source files on every request: http://talks.php.net/show/froscon08

This means that there is a conflict between performance and having a well structured object oriented framework.

Demand loaded classes and byte code help a lot with that: http://www.yiiframework.com/performance/

Best would be a model where a persistent process handles multiple requests concurrently, but that is not normal for PHP. So you need to make sure that all the libraries you are using are not leaking, have a nice db connection pool, and write a PHP framework that handles concurrency. Might as well use a better language at that point :-)


> This means that there is a conflict between performance and having a well structured object oriented framework.

What do you need a 'well structured object oriented framework' for? You're going to build up a huge object graph in memory, to output some HTML, and then throw away all the objects at the end of the request. Nobody is going to see your beautiful object tree, so don't bother. A blog entry page should be super simple.

header, title, content, comments, recent comments, footer.

Header and footer are dead simple echos of the boilerplate, maybe replace in the html title or something. Read the title and content from disk[1]. Have another data file for all your articles for the index page.

I prefer not to have comments on my blog, but if you must, you can put them in a database; limit to something like 100 or 1000 comments per article (because really) and limit threading, and it's going to be pretty quick to query them (make sure your webserver is doing reads from a database in the same metro area, if not on the same box).

Recent comments is across all blog entries; I would probably add a index on the time in the comments table and just select 2 from there; you could union that into the earlier comments query if you don't want to make two round trips to the database.

You don't need to do this with concurrency, each page load has barely anything to wait for, so more threads doesn't help throughput. Run enough php workers (php-fpm, or apache children if you're using apache_mod_php) to keep your cpu busy, and you're golden.

[1] There's four articles on this blog -- it doesn't need a database. PS run php as a user that can't write anywhere on the disk, and push the blog entries and the summary datafile with another user.

Edit to add: If you skip comments (or outsource to disqus or some other comments w/ javascript platform), you can make the whole site just static html, and leave PHP at home. OTOH, these guys are running Wordpress, because they like frequent security updates?


> The performance issue comes with loading source files on every request

PHP ships with an opcode cache built-in (and at least on every distro I've seen, enabled by default) since PHP 5.5 that keeps the compiled bytecode in shared memory


Important:

“Sudden-onset dementia should really be a red flag for Lyme [disease], especially in people with compromised immune systems,” she said.

“Everyone over 50 has a compromised immune system.”

Dr. Zubcevik said that doctors and parents should know that Lyme presents differently in children than it does in adults. “71 percent of the time, headache is the most common symptom in children,” she said. “Mood disturbance, fatigue, and irritability are also frequent symptoms in children. If they are acting out in school all of a sudden, get them tested.”

“The bull’s-eye rash only happens 20 percent of the time,” she said. “It can often look like a spider bite or a bruise. If you get a bull’s-eye it’s like winning the lottery. Borrelia miyamotoi, which we have a lot in Massachusetts, will not test positive on either test. That’s a huge problem, so the CDC is moving toward a different kind of test.”

Crazy:

"Dr. Zubcevik said there are videos that show a white blood cell pursuing a spirochete, which evades capture by drilling into tissue."


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: