skysight-inc/HackerNews huggingface dataset:
I agree.

I have experimented quite a bit with Node + MongoDB, and we chose Mongoose when they made their first announcement.

It's been a little bumpy ride, with fast-changing APIs on all fronts, but that's to be expected with so young technology.

Overall I think Mongoose definitely brings some value, but it's still quite convoluted how you do queries, in my experience.

The querying seems to be heavily influenced from Django's ORM, where you work with Query Promises which you can chain together, so you will do stuff like:

Collection.find({published: true}).sort().skip(20).limit(20)

And then the whole query is lazily executed.

When playing with MongoDB and Node I recently got an idea: JavaScript 1.6's Array prototype has some pretty powerful methods for sorting, filtering, map/reduce and so on. Maybe it would be desirable to create a layer on top of MongoDB that implements this interface, so you could build your app using builtin datastructures (typically objects in arrays) and then just connect it to MongoDB, and that's that?

var posts = [];
// Do something to connect posts to a MongoDB collection

var published = posts
.sort(function(a, b) {
return a.publish_date < b.publish_date ? -1 : a.publish_date == b.publish_date ? 0 : 1;
})
.filter(function(post) {
return post.published;
});

posts.push(newPost);

And so on. What do you think?
Provided it does not produce financial hardship, go. Maybe major in something other than CS: the next big thing (if not current) is domain knowledge.
It’s certainly great if you don’t have to use Word. Many people have to, though, because they depend on other people who can only or will only use Word.

Writing in that context ‘but you don’t really have to use Word’ without actually answering the relevant question is wildly off topic and irrelevant and only true for a, I would guess, rather small subset of people.
Creating An NFS-Like Standalone Storage Server With GlusterFS On Ubuntu 10.04
Morse code?
Agreed, a more differentiable color scheme would be nicer. In the next couple days I will reach out to a couple designers seeing if they can emulate the "Earth at Night" poster that I mentioned in my note.
I think it's more along the lines of "a woman trading sex for stability"

Women, especially those with children, care a very great deal about stability ... and since men care a great deal about easily available sex the equation works out pretty well for both ends.
how long has lol been around anyways? I know it's been around for at least a decade. longer?
Best personal finance software
I'm looking for a budgeting solution that will allow me to input my current net worth (WITHOUT actually connecting to my bank etc), input my (theoretical) expenditures and allow me to play with the numbers to determine things like;
a) How long can I live off my current net worth
b) How much does it cost me to live each month
and so on and so forth. Any ideas?
I should clarify I don't want to use excel/spreadsheets, or store information in the cloud. Also, free or close to free.
I really like sparklines and I wish they were more common. I dream about Twitter adding support for them. ;)

If you want to play with sparklines I can really recommend this library - it's very nice to work with and supports lots of different sparklines:

http://omnipotent.net/jquery.sparkline/
Perfect. Thanks swombat, I knew I read your article and the discussion on HN a while ago but couldn't find it.
Because taller people tend to earn more money and people with bigger feet tend to be taller?
One thing I learned from Redis tests
"Good" is relative. Compared to IE 6, Safari for Mac is great. Compared to Chrome, Safari is annoyingly slow. Chrome never just locks up the way Safari does.
Anecdotally I used discrete math, relational algebra and calculus all during my summer at Microsoft. Proving that a possible architecture was valid in SQL server was very helpful before spending months trying to implement it.

I think many people never use it and that's fine, but I also think it's a nice tool to have in your toolbox if you encounter a problem that could use it.
I must admit I don't totally get what sparklines are and what they aren't. They seem quite recent, but the examples I see don't seem that unusual or new. Is it a new name for a concept, or is the concept itself new, or is it a particular take on or way of using that concept?

For example, do gkrellm's "krells" count as an example of sparklines, or are they something else? --> http://members.dslextreme.com/users/billw/gkrellm/gkrellm0.p...
Android version distribution based on Market access. Over 70% on Android 2.x
Time zones?
>If there's a demand for something, someone, somewhere will figure out a way to monetize it.

That certainly seems to be true. What puzzles me is if it's the startup potential of such a business or perhaps one that develops web services to support it that makes this a relevant story here?

</halo off>
With the exception of Intel and TI, I think that "major fab operations" for most of the US semiconductor industry are now handled by TSMC, UMC and other foundries in Asia.
ErlyDTL, a Django Template Language compiler: http://github.com/evanmiller/erlydtl

Chicago Boss, an MVC web framework in progress: http://github.com/evanmiller/ChicagoBoss

This doesn't get mentioned enough, but Erlang has excellent compiler tools, so if you're willing to roll up your sleeves, you can usually hack the language to fit your problem. For instance, Chicago Boss ships with a nice but completely non-standard database querying syntax, described here:

http://www.chicagoboss.org/api-db.html

You will weep for joy when you rewrite a gnarly SQL query with a few well-chosen Unicode set operators.

The compiler tools also make it easy to generate Erlang AST and compile it to BEAM (Erlang bytecode). That's how ErlyDTL works. I haven't done performance benchmarks myself, but the folks at Zotonic report that their Django templates and controller code come out 10X faster than comparable PHP code.

I think a couple of things prevent Erlang from being a do-all language:

1. Lack of libraries. The situation has been steadily improving, but Erlang's VM and processing model makes it difficult to draw upon the "C tradition" in the same way that Perl, Ruby, and the others can take a popular C library and write a thin wrapper around it.

2. Inferior OS integration, at least with UNIX. For instance, custom signal-handling facilities are non-existent, and you have to jump through strange hoops to do simple stuff like close only the write end of a read-write pipe, or get the exit code of an exec'd process. Weak sauce for anyone who has spent a lot of time with Perl, Ruby, or C.
This is a good reference point, at least for starters, when someone asks you "what kind of NoSQL database should my application use, if any?"
Preventing Road Accidents With 3d Images (Hopefully)
In New York, both women and men are allowed to be topless in public. Fewer women do it, but it's still legal. The fact that the market demands social sites to be the moral police on boobs is disappointing.

National boobs on facebook day anybody?
I have an account with Harris bank. I'm not paying any fees; I've been impressed with the quality of their customer service; and it came with a mastercard debit card.

Most importantly for me, they're happy with Canadian customers -- but I think they're a good bank even if that's not a consideration.
The original tweet: http://mobile.twitter.com/lrz/status/24137640579

Copy and pasted on an iPad.
But is a rum & coke a soft drink or a hard drink? :-P
Heroku just gets it. Top-notch hosting aside, for personal exploration, there's no better platform: frictionless, free, and dead simple.
In many places where prostitution is legal, there are certain health-and-safety conditions associated with running a brothel (the same way there are certain health-and-safety conditions involved with running a restaurant) and they include mandatory STD tests.

It's too hard to regulate individual prostitutes, but quite easy to regulate brothels under the banner of existing local planning authorities. There will still be individual prostitutes working outside the legal brothels, but you're ensured much more safety if you go to one of the legit places.

/not from personal experience
Lots of people jumping on the Google Instant train...

Anyways, towards your iTunes instant:
Why not offer the possibility to preview songs from your web app? You get the preview URL via the API!
One Small Step For Man...
I would go to college for the connections. Go to college with a good CS and business network, MIT, Stanford, Harvard, etc.

Be friends with your professors especially. They can open doors for you.
ACTA Action: Call on Obama to end the secrecy, reject the treaty
Sovereign Bank has no minimum balance or monthly fees on basic business checking accounts.
One myth I've heard a bunch of times from anti-prostitution campaigners is that something like two thirds of prostitutes enter the industry before the age of 14, or something equally ludicrous-sounding. I don't know where that number comes from, but it surely can't be right.
To preempt the "this might cause accidents" argument: They did think about this, and the image is placed such it is very unlikely anyone will mistake it for a real child + ball. Drivers will see it coming a long way off and have plenty of time to notice that the image isn't moving.
"You don't want people to have to learn the difference between a browser and the web and a search engine and an operating system - you want things to just work."

But then such as in the linked question, you can't properly ask the right questions when your looking for an answer. What I took from the question is that they didn't want instant search which going to www.google.com doesn't get rid of.

Having options and being able to change/customize can only happen if you know the basics of what you are messing around with. Not learning the difference between the web and a browser is being ignorant which in turn is what leads people to using outdated IE browsers and joyfully giving their personal information away to malware.

[edit]I didn't see the date on the post at first so the instant search statement doesn't make sense but I feel it's still relevant.
you almost certainly want a separate bank account for your business. in my experience, it's easier to have personal and business accounts at the same bank, because there aren't any delays or holds. also if lots of your customers use citi... that could also mean less delays in getting your $$$.

banking is sort of a regional business. where are you?
> ... almost every Russian I meet seems to be great and cynical. Maybe Russia being messed up makes the Russian people great...

No. Russia being messed up makes some of the relatively well educated and open minded Russian people leave the country, and that results in the very skewed representation of Russians.
Yet if you criticize their lack of knowledge, you're the asshole.

If people evinced the same kind of ignorance about cars there would be more outrage.
Microsoft, piracy, and independent media in Kyrgyzstan
The site doesn't explain (anywhere that I could find) what is different about this framework, or what this "fresh new approach" is. That should be the first thing on the homepage.
Cumulonimbus
does this require a premium docs account? meaning a min # of paying users?
First, go to a college, not a university. The ideal place
is a teaching college that does not focus on research and
does not have grad students. They exist, and they're
awesome.

Or go to a top University. The Professors certainly care more about their research than you (it pays the bills and keeps them employed), but it's OK if you're smart. You don't need one-on-one attention. If you want to get super smart, join a research group and work on hard problems.

And if you go to the right university, you have instant credibility. Even if your goal is not to work for a megacorp (which, by the way, is trivially easy out of CMU), people will assume you know shit, which makes your path infinitely easier.

It's true that very smart people come out of all types of colleges with all kinds of backgrounds, and that there are a lot of idiots at places like MIT, Stanford, and CMU. But the intelligence density is still always going to be way higher at a top 5 school.

In short:

Stanford - Best overall for undergrads, in my limited experience. It's not that the smartest people I've met have been Stanford undergrads/alumni, but they're consistently bright (across a sample size of 10 or so).

CMU - Very good at programming. Most of the systems classes follow the "Write X from scratch" mantra, which is a great way to learn about malloc, distributed systems, kernels, etc.

MIT - Obviously a great school, and some of the smartest kids go there, but I've not been universally impressed (we're talking about rising seniors not knowing how malloc works). Still, my sample size is small.

Berkeley - I've heard that the professors there are trying to create more professors. I work with one Berkeley grad (now a PhD student at CMU) and he's pretty sharp, but doesn't have the programming background that I do.
As a soon to be graduate, who thought university education wasn't worth it as well, GO TO COLLEGE! It's so much more than just programming. You'll learn technical things and non-technical things. The experiences you'll have during these 3-4 years, you will cherish for the rest of your life. You can always work for yourself later, if the need be, there's no hurry to startup by throwing yourself in 100%. Take some time off, learn some core CS/Math concepts, join a few campus clubs, party hard in the dorms - remember work is never gonna get less.
I definitely agree about living overseas for a time. If you ever get the chance and don't take it, you'll only live to regret it. And who knows, you may not want to move back! I got a chance to move from the States to London in late 2006. I expected to be there for about a year, and ended up there for 1.5 years before moving to Oslo. I've been here since, and I have no plans to move back to the States anytime soon.

When you immerse yourself in a different culture, you start finding that you look at a lot of stuff in new ways. Sometimes it's frustrating, but it is a very rewarding experience.
Yeah that would work. Also, the method they used to allow the writer, Jean-Dominique Bauby, to write the Diving Bell and the Butterfly in which a single response would select a letter of the alphabet read out loud.
Which is what was Windows Mobile 6 and earliers' big downfall. Once it crashed, everything crashed, once it froze, it all foze...
> Like I've mentioned before, Google and browser support are hardly the limit of how annotations would be useful.

But they're the only reasons anyone would use them NOW.
No, you are right. If anything, it is slanted towards allowing the ex-wife to EXCEED the financial situation of the ex-husband.
The problem with that definition is that it still lumps modestly-heavy drinkers (two small beers after work, two glasses of wine with dinner) with really heavy drinkers (guzzle whisky until you pass out every afternoon).

If you plotted "health problems" vs "amount drunk" you'd probably see a fairly flattish curve from zero up to some level, combined with a sudden increase at very high levels of consumption. The "heavy drinking" number you're getting here is going to be a section of the flat curve combined with a section of the sudden increase, so the number you're getting doesn't tell you much.
College does so much more than teach you how to code. In a good CS program, you're going to get exposed to ideas and concepts you'd probably never encounter in your own studies. There's also that thing about going to college to become a more knowledgeable person in many subjects. If you go to a good school, it will probably be worth it.

Also, getting your foot in the door can be tough without a college degree. It's not you don't know your stuff, it's that the HR people will toss you off the pile. You stated that you want to work at/on start ups so this probably won't be a problem, but it's something to think about.
But it's smaller than the proposed data island.

<script data>
bizcard={
name: 'Hendershot's Coffee Bar',
address :{
line :'1560 Oglethorpe Ave',
city :'Athens',
state :'GA',
zipcode:'30606',
country:'US'
}
};
</script>

<div>
<h3><span data="bizcard.fname"></span></h1>
<span data="bizcard.address.line"></span>
<span data="bizcard.address.city"></span>
<span data="bizcard.address.state"></span>
</div>

Which also won't work for people with javascript disabled. Plus, does Google go through your javascript and figure out what eventually makes it onto the page?
1) Who searches on "sausage" or "Sausalito"? I might search for 'sausage making quote' or 'Sausalito italian restaurant'. And while I type that I get faded type ahead in my search box and results popping up on the screen. Annoying.

2) As long as I'm criticizing, I also use quotes in about half my searches, but Google's type ahead feature strips them out rendering the function useless.

3) OK, a rave about Google's search tools...being able to search in past 24 hours, week, month, year, etc is wonderful when trying to find an answer to a specific technical problem.

But Instand? I turned it off within a couple hours. It's too distracting.
Same as in Portland, OR actually and at some college...like Reed you will see it.
Also, I think that studies (and my own experience) have shown that alcohol increases the amount you eat anyway.
Dupe: http://news.ycombinator.com/item?id=1530895
Hey guys, author here, thanks all for the kind words. It's nice to see it reaching the front page of HN when someone with decent karma submits it.

Just to let you all know I've only spent about 6 hours on this and plan to polish it up somewhat as it's still quite rough. I've also got a bunch of other developers requesting inclusion into the site swell, which I'll also add.

Things on the todo list are visual polish, adding other services, new menu, adding the suggest feature, perhaps changing from just using the google search to better apis etc.

Thanks for the feedback.
Kind of off-topic, but Matt (the author of cocoawithlove.com) is one of the best hackers in the iOS/Mac community. You will notice a great majority of his posts contain very valuable information and are simple to consume because of his unique writing style. I highly recommend grabbing his RSS feed into your reader of choice if you are interested in learning more about Objective-C/Cocoa, etc.
>With more financial parity, presumably you would also see more men trading sex for money.

There was a study in Sweden a while ago that showed that there were more teenage boys that prostituted themselves than teenage girls, and most of these teenagers were middle class and presumable pretty well off, but they usually did it to get more disposable income to buy stuff to impress their peers.
I hope that's sarcasm. The potential downside of messing with Russian police is orders of magnitude higher than the upside from trying to protect some random client, especially if this incident was initiated by some high official.
Upvote. Carr doesn't know what transactional memory is obviously. Most people don't know how to do a lot of things, but with Google they know how to figure it out in 2-3 minutes. I remember Sherlock Holmes in I think 'A Study in Scarlet' tells Watson he tries to forget information that he doesn't have a use for so it doesn't clutter up his mind. I think that's pretty much how most people are now, why bother memorizing something if they know how to figure it out when it is needed.
>What makes it icky is that developers then need to worry about how they name their variables.

Good point.
How do you differentiate yourself from Memeo Connect, Syncplicity, or even something like Gladinet?
>if I wanted to template each list item in an array, I could use array_map with another template function

Good point.
MS Exchange “remote wipe” is a terrible, terrible bug
I'd say don't go to college if you think you can meet people and find jobs without it. Here's my story.

In 2007 I left high school 2 years early and went to community college. I didn't know what I wanted to do with my life; all I knew was that I hated high school. During the next 3 years at community college, I learned that I was way better at computer programming than I thought, and that I wanted to do software startups for a living.

I got accepted as a computer science transfer student to UC Berkeley, but by this time I had learned to work 6-8 hour days 6 days a week programming my own stuff. I was very ambivalent about whether to go, but a friend of mine who I had a lot of respect for said I would actually be more productive there, so I went.

Pros of going to college:

* Diverse experiences are good, right? I walked alone in the hills a few times, snuck in to one of the other dorm buildings at night, got girls' phone numbers and learned just how polite a rejection can be, tried drinking, and met a homeless guy who succeeded in convincing me he had a PhD in biology from MIT. I probably wouldn't have had these adventures at home.

* I met a designer (who was actually already my friend on Facebook) and now we're collaborating.

Cons:

* My 6-8 hour days fell apart. I now work maybe 1-2 hours a day on my projects.

* UC Berkeley students aren't really all that clever. Even among the computer science students, many couldn't program before they came here, and a solid majority of them never program unless it's for school.

* It's a bit hard to relate to the freshmen on my floor. I don't think I've ever had a really good conversation with any of them, let alone a good conversation about physics/economics/etc.

* My classes are dull. I already know what's being taught. And non-sped-up lectures are an inefficient way of learning things in general. I'll believe that educators seriously want to educate students when they write education websites that optimize for learning the way e-commerce sites optimize for conversions.

How to meet people?

* Scour your Facebook friends, gChat contacts, etc. I didn't know my friend Persia was in to web design; I had to run in to her in Berkeley to find out. That's an inefficient way of doing things.

* Go to events like SuperHappyDevHouse, meetup.com stuff

* younoodle.com? djangopeople.net? etc.

One option is to go to college and then withdraw. UCB at least offers guaranteed readmission to withdrawals. I'll probably do that if I find that I can't reconstruct my 6-8 hour days or I become ramen profitable.
There was another article recently that looked at gender issues and concluded that the differences weren't so much women being better or worse off, but the men being more extreme and greater risk takers. So men see more of both the highs and the lows. It isn't an inherent difference in ability at all, but there may be inherent behavioral differences partly accounted for by hormones and other genetic factors.

It's a very limited comparison, but look at the behavior differences between male cats that have been "fixed" and those that haven't.

Differences in testosterone and oxytocin levels vary and can have a large influence on behavior.
Ask HN: Graduating senior. Resume advice please
I am about to graduate from college and am putting my resume together.

I have built a couple of fun things over the last few years. Some were for school (larger school projects), some were not for school. Is it appropriate to basically have a list of projects I have done and a one line description of each on my resume? Or would people rather see a line like "see http://xxxxxx.com for a portfolio of things I have done" to avoid cluttering up 1/3 the page? If the former, how big or how cool should a project be to warrant putting it in the list? If the latter, then what kinds of things would you consider important on a resume for someone still in school?