skysight-inc/HackerNews huggingface dataset:
At some point (I'd say in less than five years) we won't have to worry much about this situation as I envision having 2-4GB of RAM on these devices along with perhaps 100s of GBs of FLASH.

But for now, iPhone applications should implement their own paging system by creating an architecture that allows them to listen to the "applicationDidReceiveMemoryWarning:" message and effectively page parts of itself out of memory and in to flash until needed again.

Are you essentially writing your own MMU? Yes! But that's ok, it's a temporary solution to a temporary problem.
DFA vs NFA. I thought it was humorous that the most important features of modern regex engines are the things that prevent them from meeting the criteria of the original definition for a regex engine.
And of course, with a true DFA regex engine, you'll never suffer from catastrophic backtracking or exponential performance degradation with a bad regex or bad subject string.
I think it is more about instilling in them the idea that science can be fun.
Use a standing desk. Odds are your body evolved to spend more time standing than sitting in a chair.
I agree, but I wish I could caution my younger self about the risk of low back injuries from certain weightlifting activities

1) You can develop very strong lower back muscles (primarily the extensors), but don't challenge those muscles when they're nearing their endurance limit.

2) If your femurs are long relative to your tibia, don't try to force yourself to perform as heavy or with the same form and depth on squats, deadlifts, or cleans, as more normal folks. At low depth, your back will consistently be more parallel to the floor than upright, dramatically increasing shear across your spine.

Of course, it goes without saying that you shouldn't round your back excessively while bearing significant load, especially if it's far (horizontally) from your hips. It's not necessarily that a rounded back is automatically dangerous, but in general, if you're bracing your abdominal/back muscles (which will prevent rounding), you're less at risk of injury.
Leave it in for full disclosure.

A buyer would like to know that, with some media events, you can drive a spike of 75k visitors. A buyer might have some new ideas about how to keep them coming back.
Named groups have their use and are nice when the language supports them.
There is a lot to be said for the (?xi) flags to allow a complicated regex to be indented and commented usefully.
Yeah. PHP syntax. From what I understand, they stuffed it in there mostly to allow easier processing of nested HTML tags and such.
Google deals with this situation pretty well on Android. You have 16 MB of heap to work with, and you have to deal with their garbage collection.

I agree with the person writing the article. I'd rather have 16 MB of guaranteed RAM available, than maybe 40, or maybe 2. My iPhone app sometimes can't even initialize my tab view controller without crashing depending on the state of the users' iPhone. You can usually get away with using the keyed archiver to page in and out once your app is loaded, but it is typically getting loaded that is the challenge.
Actually, it is because research on antidepressants which unambiguously make you feel better - namely, dopamine reuptake inhibitors - was outlawed.

What we're left with are the ones that only work in a mild, sometimes-sort of way. And don't buy the notion that the purpose of an antidepressant is to "correct chemical imbalances." No such imbalances have ever been identified:

http://www.etfrc.com/ChemicalImbalances.htm

"How are the chemical imbalances which are the supposed basis for the prescription of "antidepressants" diagnosed? Is exploratory neurosurgery performed, using some technique that allows the surgeon to quantify synaptic transmitter levels? No, the very idea is absurd. Is a spinal tap, then, done to at least measure, on a gross scale, the distribution of neurotransmitter metabolites? Of course not – how many people have undergone spinal taps before receiving a prescription for Effexor®? Is blood at least drawn, to test something? No. This diagnosis – the diagnosis of the most subtle of chemical disorders in the most complex organ in the body – is made on the basis of the patient's report of feeling sad and lethargic. Try to imagine a hematologist diagnosing leukemia this way to get a sense of just how ridiculous this idea is."

"The principal reason for rejecting biopsychiatry (aside from the fact that intellectual honesty demands its rejection) is that it locates the cause of psychic suffering in people's "bad brains," and excludes the conditions of modern life, or anything else, from consideration as the cause of such pain."

The purpose of an antidepressant is to improve mood. No more, no less. And the degree of doublespeak doctors find necessary to dance around our society's puritanical views on pleasure just to be permitted to market the current, wimpy antidepressants - is staggering.
http://threebit.net/tutorials/nestedset/tutorial1.html

Using this method on a table with 1.2 million rows, I can get a thread with a single db call. It hasn't given me a single problem yet, though obviously it is slower then standard flat list.
Children of the rich and successful
In a vulnerable state (from athletic wear and tear), I've incurred unexpected sharp nerve compression pain (feeling like part of my spine crunching against the nerve, maybe some minor lumbar disk slip) from things like kicking a lid shut on a trash can, or crouching down to open a cabinet - in those cases, conscious bracing (or just being more cautious when not feeling 100%) would likely have avoided the irritation altogether.

Those minor tweaks have always resulted in at least a few days or weeks of pain, which seems a little ridiculous, but one of the unfortunate things about back pain (not muscle strain or soreness, but actual spinal soft tissue incidents) is the increased likelihood of reinjury later in life. For many of us, there's a direct and obvious spinal trauma causing a few weeks or months of injury, followed by seemingly normal function, but with (lifelong?) heightened risk of reinjury from more minor strains.
Just curious, can swap space be enabled on a jailbroken iphone?

The iPhoneOS doesn't ship with dynamic_pager, which implements user-space allocation and enabling of page files, but in theory, the necessary kernel support should be available.

Enabling paging to a specific file is done via the macx_swapon syscall:

http://fxr.watson.org/fxr/source/bsd/vm/dp_backing_file.c?v=...

dynamic_pager handles allocation of swap files on-demand (requires free ADC account):

http://www.opensource.apple.com/darwinsource/10.0/system_cmd...
> our vision is violated by garish sprawling advertisements from public places, so even if the property is private, it still infringes on the individual.

Can you explain to me how your stance doesn't equally disapprove of people saying things that you disagree with (which is quaintly called "freedom of speech") ?

> people are exposed to the ads without consent

Oh noz!

Why, exactly, do you think that your proposed "right not to see things you don't want to see" trumps the right of others to advertise on their own property / speak their own minds?
Wow, your bounce rate is amazingly low. That is a sign to me that your site is high in value. Too bad I don't have the funds.

Good luck with the auction.
Think about the scam that the newspaper business pulled on hemp during yellow journalism. I think it was hearst that owned land with trees to be used for paper. (I forget off hand who it was for sure) Hemp would produce 4 times the amount of one acre of trees. He printed all kinds of bogus stuff to protect his interests. Now we're in a huge mess because of his greed. Don't let Murdoch make a similar mistake with the net.
AFAIK, the Django trunk is stable.
I mentioned this already, but be cautious of full depth if your femurs (upper leg) are relatively long (to your lower leg, not your whole body). Those lengths affect your hip angle in keeping your center of mass (including the hopefully heavy weight you're lifting) over your feet. To get the weight low, long-femured folk are more bent at the hip (back more horizontal).

Enjoy the fact that you have a mechanical advantage in cycling when you're feeling lame for not going as deep.
James Hong recently wrote a blog post containing a video and excerpts from a book by Esther Gokhale called "8 steps to a pain free back". It's worth a look, helped me.

http://blog.jhong.org/2009/02/back-pain.html
Installing Windows 7 with some Linux help
"No such imbalances have ever been identified"

This guy would disagree:

http://george-eby-research.com/html/depression-anxiety.html
A friend explaining to another friend why he was leaving grad school to start a startup:

"Hey, and it could actually work, so it beats studying string theory!"

"Yeah, but it could also fail. So that's a disadvantage versus string theory."
I guess I fail to see how math prepares you better to do biology than CS does. Neither major contains the domain specific knowledge that a biology degree would impart, so it seems like neither would prepare you better than the other. I'd also imagine that both involve more math than biology, so they are both sufficient in that department.

And as I pointed out in my last paragraph, I'm not saying I agree with the article either... I was just pointing out that CS knowledge is useful outside of CS.
Wow. Yeah this seems like a staggeringly bad design.

Perhaps now that it's so obvious that the huge majority of apps are games Apple will put more thought into how to make the next iteration of the iPhone into a more capable gaming device.
Virginia patient prescription database stolen; $10 million ransom.
If you need to deal with hierarchies in SQL, look into nested sets. It allows you to make a single db call to retrieve a full set of parent/child related items.

It's basically an augmented data structure (adding a left/right value pair to the data) to allow you to query somewhat like ErrantX mentions (ie, to find the child tree of a thread with left=x and right=y, select all data where left > x and right < y). Re: deleted children, I'd just add a column to the table to store a deleted flag. You can pretty easily move comments to new parents, but have to recompute your left/right value pairs - I've done this in SQL before, it's no biggie, but I wouldn't want to be doing it in an app where I was aiming for high transaction rates (ie, human edits to threads would probably be ok, driving millions of bank transactions would not).

Joe Celko has a whole book out on hierarchies in SQL and I like it. You can find decent examples out on the web as well.
myspace currently offers access to status updates, twitter already does, and i think facebook is thinking about it.

anything else of interest?

i guess i was asking what do you think people put in their status updates that is actually interesting.
Stuart McGill's http://www.amazon.com/Low-Back-Disorders-Evidence-based-Reha... is a good textbook. It's not for the layperson looking for quick recommendations, but he does give some recommendations based on physical and computer models of the spine under various exercises (and traumas).
Well, it doesn't look that fun.
To show that science is fun, he should give them more "hands-on" experiences to do.
I seem to recall from the Chubby lock paper the statement: "we have found Paxos behind everything". Of course they expressed it more eloquently.

I think the Paxos papers are among the most beautiful in computer science.
Curiously, the development of DNF is very similar... switching engines, scrapping previous work several times, eventually releasing screenshots and gameplay videos. We don't know how much other Valve projects delayed the production of TF2, but we also don't know how much other 3D Realms projects (e.g. Prey) delayed DNF. The big difference is TF2 released while DNF did not.
previously: http://news.ycombinator.com/item?id=598269
Ask HN: "Founders at Work" of Gaming Startups
I'm interested in reading interviews of founders of great computer games. Besides "Masters of Doom", are there any other books?

I'd love to read things on the founding of Wow / Lineage / Everquest; the start of Duke Nukem / Unreal / Halo / Mario; ... or anything else along those lines.

Book preferred, but list of interviews cool too.

Thanks!
duplicate: http://news.ycombinator.com/item?id=592043
Someone has been watching The Corporation too many times.

When I don't want to see ads - I don't live near high traffic areas. When I don't want my child to be a mindless consumer - I teach him to know better. When I want to see art - I go to the many galleries throughout the city I live in.
A shortage of certain vitamins (B6, for instance, a precursor to serotonin) will often cause depression. There is, however, no evidence that most depression responds to vitamin supplementation. I fully expect that the reason for this is dead-simple: the modern 9-to-5 treadmill way of life is often the cause, rather than any "disease" in the traditional sense of the word. Your brain is responding correctly to external stimuli.

And there is no shortage of crackpot sites claiming miracle depression cures, just like for any other disease where the medical establishment has proven itself utterly worthless.
Read the May 3rd post at http://www.publicadcampaign.com/

It explains the difference between first-party signage and third-party signage. It sounds like this group had been targeting illegal third-party signage and that a certain company (NPA) had found an ingenious legal way to have third-party signage classified as first-party signage.

Rob
AFTER EDIT:

research on antidepressants which unambiguously make you feel better - namely, dopamine reuptake inhibitors - was outlawed

Do you have a citation for a law or policy statement that shows that there is indeed such an outlawing? I see Google Scholar citations that suggest that research is ongoing, and there is more planned.

http://www.ajp.psychiatryonline.org/cgi/content/abstract/163...

/AFTER EDIT

There are more than 100 countries in the world, and they would have to be united in banning a certain direction of research for there to be no research on that subject. But dopamine reuptake inhibitors, based on ongoing research in various places, are a risky approach to treating major mood disorders.

"DRIs are notorious for their high abuse potential and ability to cause addiction and dependence. Pure DRIs such as cocaine and combination releasers such as amphetamine and methamphetamine are widely abused throughout the world."

http://en.wikipedia.org/wiki/Dopamine_reuptake_inhibitor

"NDRIs approved to treat depression

"Here is the only NDRI that has been approved by the Food and Drug Administration specifically to treat depression, with its generic, or chemical, name followed by available brand names in parentheses:

* Bupropion (Wellbutrin, Wellbutrin SR, Wellbutrin XL)"

. . . .

"Safety concerns with NDRIs

"Bupropion can increase blood pressure in some people, so regular monitoring is important. The risk of developing high blood pressure may increase if you also use nicotine replacement therapy, such as a nicotine patch, to help you stop smoking.

"There's a small chance that taking bupropion can cause a seizure if you've had previous seizures, a head injury or a nervous system tumor, or if you've had an eating disorder, such as bulimia or anorexia. Because of that, don't take this medication if you have a history of seizures or eating disorders or if you're abruptly discontinuing use of alcohol or sedatives. Be sure to tell your doctor about your past medical issues.

"Also, because of potentially dangerous medication interactions, be sure your doctor knows about any current or previous use of monoamine oxidase inhibitors (MAOIs). Tell your doctor also if you have severe liver cirrhosis, because Wellbutrin can cause liver problems. In addition, don't take Zyban while you're being treated with any form of Wellbutrin."

http://www.mayoclinic.com/health/antidepressants/MH00068
A Solar Zero Yen House
"Facebook private messages are governed by the Electronic Communications Privacy Act, which forbids communications providers from intercepting user messages, barring limited exceptions for security and valid legal orders."

Are private message systems in apps generally governed by this or is there something about facebook that makes this a special situation?
I read Sarno when I was suffering from "carpal tunnel" like symptoms that wouldn't heal. I didn't believe his claims, but his argument about the possibility of self-perpetuating psychosomatic pain made me put more effort into being happy, which was valuable.

In cases where you have inflamed or slipped disks pushing on the spinal nerve (e.g. sciatica), Sarno is completely inappropriate.

Of course, bulging or not-perfectly straight disks in an MRI or xray do not mean the pain should be solved by an operation - most symptom free people have some irregularities that will show up.
It is nicely done. If I may ask, what does it cost to run each month? What was your business plan for making money from the site?

I would try to sell it directly to a likely buyer. It seems like a music school, a foundation, or independent label might be interested in purchasing this as a platform.
The 6502 in “The Terminator”
"[Rob Pike] is a Canadian citizen and has never written a program that uses cursor addressing."
Steve McConnell advocates a similar thing in Code Complete 2, which he calls Pseudocode Programming Process, PPP.

The idea is that when first creating a method or function, you write out in comments what you're going to do in a 'why' level (eg, 'keep track of resources') rather than a 'how' level (eg, 'increase cntFooBar by 1').

You then start 'filling out' the code to do what you 'designed' via the comments. Hopefully you end up with a better designed routine, and you get free comments to boot as they now explain what the code is doing.

When I first read Code Complete as an impressionable teenager I tried it out and liked it, but I have since had a change of heart on this issue and other Code Complete wisdom. I rarely comment inside methods anymore.
"The purpose of an antidepressant is to improve mood."

I'd say that their effect is that they reduce the amplitude of emotions, so to speak. You get sad, but not -as- sad; however you also don't get as happy as you might have been otherwise.

This is a reason that some people don't like taking such drugs: they feel it takes away their emotions and transform their personalities.
Notice how Wellbutrin - the 1970s state of the art - is what we're stuck with. Precisely because research has been curtailed - yes, internationally. Progress stands still.

Also compare the side effects you listed with those of the wildly popular SSRIs.

And yes, any hypothetical drug which reliably makes you feel better will be addictive in some sense of the word. Deal with it, and move on with life. Addiction is only the bugaboo it is claimed to be when the thing you are addicted to is actually harmful. Most people don't consider themselves "drug addicts" for using caffeine, for example.

The focus should be on developing drugs which do the mood-lifting job, don't produce tolerance, and don't damage your internal organs. There is no evil spirit which manipulates the universe to make this goal impossible. It is simply considered undesirable by our Puritan rulers (and the outposts they have built inside our own heads.)

Reply to Edit:

> Do you have a citation for a law or policy statement that shows that there is indeed such an outlawing? I see Google Scholar citations that suggest that research is ongoing, and there is more planned.

Check out the Federal Analogues Act (US) and its foreign equivalents. Any drug which is chemically similar (with a very liberal definition of "chemically similar" that provokes howls of laughter from chemists) to a currently banned drug is instantly placed into "Schedule I" - "no medicinal use" - and is outlawed, in such a way as to make research nearly impossible and certainly unprofitable. But the real problem lies with our society's perception that a drug which gives you pleasure is an unambiguous and unmitigated evil all in itself, regardless of whether it has harmful side effects. Few of the research drugs in the papers you've seen will be permitted on the market, for this reason. Certainly none of the ones which actually work will be.

By deliberately marketing antidepressants which only work subtly and sometimes, the pharmaceutical industry continues to uphold the ruse that they are actually treating an ordinary disease, like leukemia. But we know how to build antidepressants which work on everyone. It isn't being done because if it were, the smoke would clear, and we would be forced to admit that we are actually treating unhappiness. Unhappiness caused by stimuli which ought to make a sane person unhappy.
Are We Beyond the Two Cultures?
Math Atlas -  a Gateway to modern mathematics
Guzdial seems to hint at applications to audio compression, but my mind turned to speech synthesis and recognition. I'd like to maximize a handful of audio clips of human voice and look for patterns.
> they reduce the amplitude of emotions

SSRIs appear to have this effect in many people, but it is not universal to all antidepressants. See my other comments in this thread.
You are right of course. Sorry for the noise.
MediaTemple: Anatomy of Storage (and failure) on the GRID
MySpace | A Place for Friends
I believe the most interesting aspect of your comment is the conflation of individual, corporate, and commercial speech as "free speech".

Why, exactly, do you think that your proposed "right not to see things you don't want to see" trumps the right of others to advertise on their own property / speak their own minds?

Your position is predicated on the idea that other's speech and property rights trump speech rights -- that is, the artists' free speech rights are constrained by the property and free speech rights of the advertisers and owners.

Does this not imply that there could be constraints on the exercise of free speech insofar as it infringes upon the rights of others? Could pervasive, unavoidable public advertising, explicitly designed to instill desire through emotional manipulation, somehow infringe on my rights as an individual to not listen?
Although with a four digit year, we must admit that neither 2005 nor 2009 are fibonacci numbers. (Last one was 1597, next will be 2584.)
On AWS it costs less than $200 a month to run.

Cherrypeel’s revenue was planned to come from a variety of sources;

-Selling music through iTunes,

-A for fee service to help bands get their songs listed on iTunes and other online music stores (Tunecore.com),

-Selling advertising space,

-Receiving sponsorship of specific events and competitions on Cherrypeel,

-Selling ‘sponsored artist’ spots to artist to help them self-promote,

-Future premium pay services for artists/record labels and content providers.
I didn't expect Atlanta to be number one on the list. I guess I shouldn't complain about living in Atlanta and not the Valley. Though these numbers may be skewed by non-tech start-ups.
I used to have terrible back, shoulder, and wrist problems.

Then I bought a Herman Miller Mirra, got decent wrist-rests^ for mouse and keyboard, and took up bike riding and other forms of exercise.

I can't say for sure which of those three had the biggest effect, as I made all those changes at once, but I definitely don't hurt anymore.

---

^ Definitely recommend the IMAK ergoBeads products for this!
Most new businesses aren't tech startups.
Who in their right mind values twitter at half the price that youtube went for?
Who in their right mind would even consider acquiring twitter at this point?

If you have that kind of money at your disposal then build your clone and blow the leftover on marketing. It shouldn't take more than 10-20 million to put twitter out of "business".
Ask HN: Face Recognition Program for Smart Phones?
Do smart phones have the performance to handle face (or character or any object) recognition algorithms? Or should this sort of application be handled by a server/cloud?