skysight-inc/HackerNews huggingface dataset:
Yeah, at one point Lestig points out that generally fruit is ok because the amount of fructose in fruit is relatively low and accompanied by lots of fiber and micronutrients. Fruit also tends to be more expensive so you can't eat as much even if you wanted to.

A mango is a sweet and not particularly fibrous fruit, and it's only about 15% sugar. According to nutritiondata.com, A pound of mango pulp has about 65 grams of sugar. That would probably cost about $7.00 prepared (you can get them sliced fresh at Whole Foods). According to thedailyplate, a 20oz bottle of Pepsi, which feels expensive at $1.25 as you can get liter bottles for only slightly more, has 69 grams of sugar.

And like I said, mango is not a particularly low-sugar fruit. Pineapple is 8.5% sugar and the bromelain makes your mouth hurt if you eat too much. Apples 10.5%.
Ars Technica on their new phpBB3 forums
my comment from AVC:

One of the things I really hate is how VCs are lumped with PE and HFs when it comes to financial legislation.

I feel like with VCs role in helping create entirely new industries and the level of risk involved in the kinds of ventures they fund VCs should be held at a separate standard that offers more leniency/hands off.

I think that one of the best things right now is how you are seeing an increase in angel investing, often by ordinary engineers who are choosing to invest in co-workers that are leaving to start new ventures... and now with this qualified investor rule, the Senate is potentially legislating to reduce that kind of activity.
The thing is, Flash isn't just for making sites. It isn't just for playing videos. Is a multimedia platform which can be used, among others, to make sites (although its not a good idea imho but some people like it), media players, front ends, games (a very big market), web applications (like those image painters or sound editors), widgets (for stuff like graphs), chat rooms and others.

The implementation is compact (just 4MB) and the files it uses (SWF) are also very small and network friendly (support streaming to almost all levels). The player might not be the best piece of engineering, but it works and as i said there isn't any alternative that enables people do all that Flash can do.
The behavior seems to be part of vim's netrw plugin. Aside from the obvious `:help netrw` you may find `:help standard-plugin-list` interesting.

(netrw has always been enabled-by-default for me, but I've spent most of my time on desktop-oriented Linux distros.)
Walk Like a Geek? Talk Like a Geek? Vote Geek
It was based off a piece of the Linux kernel... I'd say it isn't so much an all-the-world-is-Linux so much as Linux is what is available.
But for those cases where you are just pulling a row or two, this is a nice technique. It hints at something more interesting, I think.

Fundamentally it wants to be an assertion against the schema. It would be better to be able to ask the database about the worst-case complexity of a particular query, then write assertions against that. (I don't think this is the same as 'explain', it's more like 'explain as if' with some structure behind it)

Something like: assertEqual( O(log(n)), schema.worstCaseComplexityOf('SELECT text FROM response WHERE questionId = 27 AND participantId = 38'))

Even better would be a schema language that lets you build in these assertions directly. This is really something you should be thinking about while designing the schema, after all.
Maybe some formula along the lines of “no more than X% of the investor’s net assets or Y% of the investor’s annual income”, and a footnote saying that for the purpose of computing the X%, your primary residence is not considered an asset and your mortgage on it is not considered a liability.
Health Reform Expected to Untether Job-Locked Entrepreneurs
"Cobol is right here right now and works with all major mainframes released the past decade."
It is unfortunate this is happening. Be aware, however, that the solution is not just a technology solution it is probably also a business solution--dealing with various agencies of the city and their processes. I bet most money is spent on meetings and business process consultants... [Edit: not to say it cannot be done cheaper, but may not be trivial.]
Are you really equating government censorship to self censorship?
The $400,000 dollars per year isn't all going to product development. $350,000 of it is to compensate the consultants for navigating the nightmarish government bidding process laced with procedural road blocks to newcomers, cronyism and incompetence. Been there and done that, would not do business with again.

I used to put together proposals for a huge general contractor as a marketing assistant. The completed government proposals usually consisted of between 15 and 30 three inch ring binders of information. It would take me 20 minutes just to load it into FedEx via hand truck from my car. (This would be for something like a military barracks, I'm not talking about skyscrapers or stadiums. Not to mention that it wasn't uncommon to have several rounds of RFP's.) Contrast that with a civilian proposal that would be two or three binders. Software is not construction, but I'm willing to bet the process of bidding is similar.

In other words, it's a fat payday if you can stomach the process, but few can. This is also doubly sinister in that it's a process that is going to be particularly distasteful to just the sort of person that would make a great developer; one who holds efficiency and ingenuity on high, etc... Which is exactly how you end up with terrible DMV sites and CIA, FBI and DHSA databases that are unsearchable, and won't talk to each other.

Addenda: I'm not trying to put people off. I just want to shed some light on exactly how much pain is here: A LOT. Maybe the game-changer isn't someone getting the contracts and doing great, but someone rejiggering the bidding process?
Indeed. Also, a full table scan can take advantage of multi-block I/O, so you really can't rely on grand generalizations. For anyone interested in these topics in an Oracle context, I recommend Tom Kyte's books.
Thanks for sharing.

If anyone else hasn't made an HTML5 iPhone app or any web app for that matter before and got lost at this part:

"Then, next step is to server it from an actual webserver that can set the proper settings on the cache.manifest"

then maybe I'm not alone? I'm assuming I just read it wrong and it means you can use the same webserver you are using to host your blog, website, etc.?

And then, I was curious how you get the icon on the iPhone home screen which I found the answer here after a quick goog search: http://italkmagazine.com/how-use-iphone-itouch-web-app

(edit) I do have one more question to add for all you crazy iPhone app and maybe Palm app developers out there: 1. Is there an straight-forward way to do this method and then use iPhone developer apps to bring it in and export it to then distribute via iTunes App Store? 2. Same question about Palm.
Marketing + Design = User Experience
I think you're wrong, and I don't think you can deliver on that promise. I had the opportunity to speak with someone in a similar sort of project in Canada who told me that one of the biggest costs involved in these sorts of projects are the legal expenses. Often times you have to clear all sorts of red tape that needs to be torn down. Lawyers aren't cheap, and laws will slow you down.

Another point to consider is that you're going to be building something that needs to last for many-many years and can take on new interfaces over the coming years (e.g. iPhones, web, portable devices, etc). You need to build something that is going to be durable, grow, and be maintainable for years to come. Along this point, you'll need to import, manage, and parse old data.

Did you forget the training costs for city employees and the programmers that will maintain these systems? How about documentation?

I know you're being flip and trying to make a point that the city is being milked (and they are), but there's a reason for this. These contractors are doing a difficult, high stress job with lots of visibility. Their compensation, though high, is understandable -- as are their delays.
He also left out the fact about the fibre, Lustig never said fruit was bad, but rather the fructose <b>without</b> the rest of the fruit
HTML5’s local SQL database & OpenLayers
Crowdsourcing isn't always wise
Excellent demonstration of Oracle's inner workings!

The modern Oracle uses a Cost-Based approach wherein the query optimizer will attempt to perform the lowest-cost opration to satisfy the query. If that means performing a full-table scan as opposed to utilizing an index, then this is what will be done. Statistics, data histograms, parameters (such as OPTIMIZER_ INDEX_COST_ADJ) all come into play.
The whole point of advertising something as an investment opportunity is to say that it’s offering better odds than roulette.
I'd release it just to find out if Apple approves it. Could save you a lot of wasted effort. Cool app, IF Apple allows it!
The city is paying some 230 "consultants" an average salary of $400,000 a year for a computer project that is seven years behind schedule and vastly over budget.

This is misleading. The figures in the article are based on the hourly rates charged by the contractor that employs these consultants, not their take home salaries.

This is noted only later in the article:

The actual amounts individual SAIC employees took home are most likely lower than their stated rates, since computer firms typically take a cut of each consultant's charges. Nonetheless, these are breathtaking numbers.

This too is misleading because it suggests that the hourly rate is comparable to the individuals' salaries except for a "cut". In reality, this "cut" is likely 50 percent or more. 60-70% would not be unusual.

This is typical of newspaper coverage of "scandalous" IT contractor pay. The project may indeed be a disaster, but those consultants are not making nearly the money that the article suggests.
> Ultimately, there is a line which the US currently hasn't crossed

If US government is killing civilians in various countries and is orchestrating arrests of minors, morally it is not really rising above China by much. Yeah, it is not sending 'guidelines' to the media, because there are other methods of influencing what gets published and what doesn't -- namely intimidation of journalists and sources, appeals to the owners of media corporations and so on.

> Additionally what scares them is the handing out of classified material;

Well what kind of classified material? Yes, if these are nuclear launch codes, or frequency hopping codes of military radios, they would have a valid reason to detect the source of the leak. I think most of us and most US citizens would agree with the government doing that. But these are videos of slaughtering of civilians. At this point, the CIA should be appologizing and not running around arresting and following people. There are now showing their true face (well to the rest of us who didn't know it yet).

> Whatever your feeling on whether it should be classified or not they have an obligation to reasonably mitigate information they consider secret.

That is what I have a problem with -- "an obligation". Obligation to who? Government? Why should we have an obligation to them that trumps our moral sense of right and wrong? Luckily there is someone there, who is an actual human being, with a moral sense, that knows that killing innocent people is wrong no matter how many classification layers get slapped on top of it. That is why these leaks happened. Someone put their job, freedom (and life?) at risk because they felt that the "obligation to hide murder under the carpet" is wrong.
Yes, You Can Build a Web Company in India. Here’s How.
Very common situation in government contracts and dealing with consultants in general. I am sure IBM and Accenture are in there some how. NYC government could have created a small crack-team of internal IT people who could build the system for less than a 5th of the current cost. Unfortunately most organizations view IT work as something fit for mercenaries and if you ask any King who has ever had to rely on mercenaries, they'll tell you it should be your choice of last resort.
A couple other founders and I do something we call the "Bootstrappers Scrum". It's every week on Monday and we cover what we are working on, what we have gotten done, and then talk about any tough decisions or ask for advice. We have been doing it almost a year now and it has worked out great, I would highly recommend it to other people getting started who need more feedback and motivation.

I think the key to making something like this work is to limit the size of the group. It's five of us right now and that is about perfect, we tried adding another and the calls started getting too long and it didn't feel right. (he quit anyway)

It also helps if you know each other in some capacity, talking about your business in an honest way and sharing information requires a good amount of trust. We all knew each other before starting the call.

The other thing that helped was to create an IRC room for chatting and asking ad-hoc questions (although it tends to just be five friends hanging out some days too, which is cool too)
Most of these consultants themselves are not making all of that money. They work for companies like Accenture which bill their time out at several hundred dollars per hour, but then pay the consultants much less.

For example, the 400k/year figure quoted only amounts to about a $200/hr bill rate. That's far from the worst I've ever heard on a project like this.
Mostly from observation of systems in the field, though it is a very hard to gauge number. I had one install where the I/O rate of the disk subsystem was dramatically faster than the query plan was estimating (it was going too far to avoid I/O over forward read speed) and I discovered that there was absolutely no way to control its setting globally, instead having to add forced-index hints.
Why easy deployment is great
If you read the article, what they said is that the governments involved need to stop doing illegal things to try to figure out what they're up to.
That is not necessarily true. The 'last ditch' operation oracle will perform before a full-table scan is an index range-scan (very IO intensive compared with common index use).

There are MANY factors in play. Stats, parameters, histograms... it really depends.
I have a Da Vinci action figure:
http://www.shakespearesden.com/11520.html

I'm not saying he's better than Charlie, but I find it easier anthropomorphizing a (brilliant!) action figure. (Not only is he great at debugging code, he's also pretty darn creative).
Yes but here in Veneto If I earn $3000 dollars (after the 20% of vat) I have to pay nearly $1400 in taxes, and then I have to pay for all the other hidden taxes like inps, inail and the accountant of course.
I agree, I think establishing the trust and credibility and getting everyone comfortable will be the key to this thing. Before that, even more important will be to get the "right" group together.

I think you're lucky that you happened to know 5 people. We'll have to do some upfront work to get the to level of comfort you already had from the onstart.
The problem of Wikileaks is that it is centralised and, therefore, is vulnerable. Freenet offers a much more resilient approach. It is true that Freenet is not yet easy enough, but it is just a java application which almost anyone can run. Of course, writing wikileaks.org on the browser bar is easier and faster than installing Freenet, but it puts lives in danger. By the way, there is a wikileaks mirror on Freenet. It might be better to do the other way round, wikileaks should be a mirror of the freesite.

http://freenetproject.org/

update: of course, the lives in danger are those of the editors of wikileaks.
They don't?

Seriously though, I do think there's a correlation between how somebody believes something should look and what framework they choose, even if only subconsciously, and even if only rarely, that gives the impression that Rails apps look a certain way.

That said, there are defaults on the template generation of each, but the Django defaults are only for the 'Welcome' page, and it doesn't scaffold templates, and I agree that the Rails-scaffolded templates (that a lot of designers probably just extend, vs. replacing altogether) look better than a lot of pages in general.
Real Time Face Detection with Silverlight 4
What's the point? Isn't OAuth all about 3-legged authentication scenarios? Why would it be useful for IMAP, particularly when the provider, Google in this case, already has your credentials.
It sounds like a good idea, but with that name I just couldn't help but think of this: http://scrubs.wikia.com/wiki/Brain_Trust
AC Adapter/Power Supply for HP Pavilion dv1000 dv4000 dv5000 dv6000
Why do people assume that "children" (I would tend to start applying the term "young adult") who learn everything else so quickly, somehow do not learn social skills and socialize at a faster than normal pace? Some individuals may not, but others may and, just as with intellectual capability, these other skills should be evaluated on a case by case basis.

Further (as has been discussed here before and in several posted items), some people argue that one problem with kids these days is precisely that they and their culture are so cut off from adult and workplace culture, in general. From that perspective, Colin's interactions with adults might actually be healthy.

I wasn't necessarily as bright as him, but I was considered bright. And was it ever frustrating at times to be forced into extensive interaction with my "peers" who were obsessed with isolated social ranking, posturing, and what was for me dumb/uninformed/boring behavior.

Sure, you don't want a child to be taken advantage of, but a blanket response of "too young" is an excuse not to do your job and actually thereby takes advantage of that child in another way, constraining them for the sake of your convenience and peace of mind.

In Colin's case, at least he has moved on to university, which should have broadened his social as well as intellectual environment. I guess a trip overseas might thereupon rather be posed as a challenge to his problem solving skills, and to his ability to adopt a sufficiently protective posture. (An adult is viewed, on the surface, as a more challenging target for victimization than a kid.)

If he's getting himself through university with a 3.9 grade average and honor roll status, and in the face of the age difference with his peers, I'd argue that he already has problem solving skills at least equal to others participating in the program.

I can imagine him, on the basis of his youthful and diminished stature, perhaps being prone to targeting by criminals and con-artists. I would think the program might be willing to put in a bit of work to counter-balance this concern (which might be legitimate, despite any waiving of liability, both out of genuine interest and out of concern for possible negative publicity). His traveling with a guardian, who can devote her full time to counter-balancing such possible threats, should resolve remaining concerns.

This is an exceptional person. Can the university and program not be a bit exceptional, in return, in helping him achieve his goals?

Hopefully, they'll admit the NSF work as equivalent and sufficient, for credit.
I believe that single founders need a commercial-use only "open source" software license:

http://www.google.com/buzz/amichail/XyY72JZhjYJ/Open-source-...
Why Silicon Valley is Not Where You Should Launch Your Next Startup
There are plenty of wonderful places in the UK outside of London that are considerably cheaper. If you’re a freelancer, there might not be any need for you to live in The City.
this is based heavily on the node_chat app that _ry wrote as a node example. on github, fyi. i know cause ive used it myself to figure out how node does its thing.
My initial comment was, "Oh, like the Brain Trust on Scrubs" (http://scrubs.wikia.com/wiki/Brain_Trust). Then I noticed that was actually the name of his startup.
Actually, a banana has about 200 calories, 23g sugars, and a fairly high glycemic index:

http://www.nutritiondata.com/facts/fruits-and-fruit-juices/1...

That's why a lot of the paleo diet folks avoid them.
>That is not necessarily true. The 'last ditch' operation oracle will perform before a full-table scan is an index range-scan (very IO intensive compared with common index use).

Only if the index is covering.
I started college when I was 12, and yes, I was more mature than most of my classmates.

However, I didn't go full time. I still went back to high school. There is some social learning that you just miss out on if you don't spend time with your age-peers.

High School sucked, but I'd still do it all over again.

In the best interest of the kid, they should really send him to interact with some age-peers in some sort of activity, if not High School.

That said, I don't think UConn should be preventing him, especially if his mom will go at her expense.
Lessons Learned Bootstrapping Harmony
Am I the only one who finds the grammatical mistake in the post title humorous?
Placeholder is great. Found this for Django: http://github.com/rhec/django-html5/blob/master/html5/forms/... (however it looks shallow; I already spot that EmailField doesn't subclass the old EmailField which as server side validation). Would like to see these with their respective server side validators.
Am I the only one who found the most troubling item in the article that the middle school is handing out 3 day suspensions for "even a minor social network offense".

How is that even allowed? If I were a parent with a child at that school I'd be joining the PTA and campaigning to have whoever implemented that policy fired. Schools shouldn't be trying to police what their students say or do while at home.

We have laws for threats & libel, let's have our schools handle education and let our judicial system handle legitimate complaints if there are threats of violence or whatever.
If I'm going to sit down and spend a few hours writing a work of fiction, mine will have a dragon in it.

I can't even begin to describe how many things I "knew" were wrong, and moreover were so disastrously wrong that if I had been committed to them would probably have killed the business. In addition, the things that have really helped me out were not even on my radar screen when I started.
I've gone through this process a number of times on different computers so I imagine that others will find this quite useful. Thanks for writing it up!

As an aside, I think you can just download the 2.16 version of fuzzyfinder from vim.org and it will work with Jamis' plugin. That's the version I use - love this plugin and I doubt I'd be able to use vim without it!
The problem isn't the product - the problem is the politics.
Ha I've been developing this same idea on the side - good to see someone else has it covered already.
Ya the styling works properly, it's just that, when every other link shows as read, it gets more difficult to sift through them.

As an experiment, I just tried saving this in a file called stylesheet.css, and setting it as the default style sheet in Safari under Safari menu->Preferences->Advanced->Style sheet:

td.title a:visited
{
visibility: hidden;
}

It's a hack to make the read items disappear. Ideally, the whole row could be hidden under a turn-down arrow, or the site could somehow track which links have been read by the user and skip them (although that's not ideal for privacy, so would be best as an option).

P.S. I wasn't expecting the first reply to be from PG! This site is awesome.
Yes, I copped a bunch of code from Ryan Dahl's demo chat app.
I'm in Kobe and would venture out to Nagoya for such an occasion. Anybody else in the Kansai area?
The usual explanation of those behaviors is that they are "emergent", i.e. individual agents are "dumb" but the dynamics of the whole system leads to complex behaviors. Another example is ant colonies.