skysight-inc/HackerNews huggingface dataset:
I'm afraid that this post, while well intentioned, is actually clouding the issue it's attempting to clarify.

It demonstrates that CoffeeScript's `do` feature provides a convenient way to create a new scope for particular variables (a thing only possible in JavaScript via an immediately-invoked-function, at least, until `let` arrives) ... which is true, but is also an orthogonal concern to whether or not CoffeeScript's normal mode of variable scoping is lexical.

In many of the examples in this post:

do (foo = 'outer') ->
do (foo = 'inner') ->

... all of the variables are local to their function, making it a moot question whether the language is dynamic or lexical. Just as in JavaScript:

function() {
var foo = "outer";
function() {
var foo = "inner";
}
}

... it would make no difference if the language had lexical or dynamic scope, because there are no variables present here that would need to reach outside of their enclosing function in order to perform variable lookup.

Lexical vs. dynamic scoping only comes into play when you refer to an external variable. Whether or not that variable is or can be shadowed is beside the point. Putting parameters aside ... In JavaScript, the variable's identity is the closest "var"-declaration of that variable. In CoffeeScript, the variable's identity is simply the name of that variable, wherever it might occur in the current lexical scope. Both ways are lexical, not dynamic.
Oh yea for sure. Tons of companies provide smart phones for their employees, it's a nice perk. My statement is more based around this new free phones thing, the announcement of free food to the employees, etc. They are pitching it as if free stuff to employees is going to turn the company around. Obviously making the employees happier and better connected will help, but I haven't heard of anything technical that they are doing to further the company.
We're a small business with 20+ repositories and faced this problem long ago. GitHub pricing simply isn't tailored for small projects. We moved to SpringLoops which only charges for "active" projects, so we can close those projects that only get opened for an occasional fix/compile. I really miss GitHub and all the new features, but can't complain for the price.
Well, there is a really hackish way to do this, actually. You could preload the gif and then use something like http://slbkbs.org/jsgif/ to jump around the gif frames.
This isn't about aesthetics, it's about grammar. Just as in written human languages, computer languages have grammar that make things easier to read and understand. How well that grammar is done depends on the language. My point is that if aesthetics is one of the reasons you choose a language, you really don't understand software development or the simple idea of "use the right tool for the right job."
Kimerick — A New Vision for AI Trading
Because I don't want to tell my boss about my personal life but I feel like I have to, since he asked me direct question about it. Better to start with some simple but functionally relevant topics, if you want to transition. Or just say, slowly and calmly, "it has been a crazy day today, huh? Let's take a moment to catch our breath and take stock of what's going on.
Bowing and Scraping Isn’t (necessarily) Good Service
I would guess that this nonsense word means "poopy".
My glasses are likely stronger than yours [1] and I've never had a problem with chromatic aberrations. Are you nearsighted, farsighted, or something else?

[1] (How strong? Well, the current frames I'm wearing aren't the frames I initially chose; they're the frames I chose out of the set of frames that have the earpieces connected far enough back to allow them to fold closed given the thickness of the lenses I wear. The fact nobody warned me about this when I picked out my first set of frames indicates it likely doesn't happen a whole lot.)
Alexis Ohanian Internet 2012 Tour - St. Louis
Concurrency and running 10 servers are equivalent. It may be very coarse grained but process level concurrency is where things are MUCH easier (though there are still pitfalls).
I think it is funny you mention that in light of the recent comments on HN about how html5 isn't the problem but the implementation that Facebook took.
But does Google actually provide support for GCS?

I'm perfectly happy paying $0.005/GB more if it means I can actually contact someone when things break.
I noticed that while reading it as well, as it's one of the (few) things that bugs me when writing coffeescript. It should have a 'then' between the conditions of each 'for' loop and 'do', because that is the only way to include the loop body (the 'do' statement) on the same line as the loop conditions.

do (methods = ['remove', 'show', 'hide', 'stop']) ->
for method in methods then do ->
Frame.prototype[method] = ->
for element in elements then do ->
this[element][method]()
If you install Plan 9 Ports, check out /usr/local/plan9/src/cmd/devdraw. Russ can correct me if I'm wrong, but I think that's the only place the graphical programs interface with X. You'll need to find the places where devdraw is using X, and replace them with framebuffer code.
I can imagine something like every shopping trolley having a tablet built into the handle that shows the store layout,specials near you, etc.

Would be pretty neat
NoSQL and RDBMS (how to make a decision)
Using the right tool for the job is the best advice I have heard on this subject but how do you know what the right tool is if you dont have years of hard won experience? What type of information do you need to know to make an informed decision? Lets have a discussion that will be relevant to 2012 problems and available technologies, but lets also discuss history so that there is an understanding of how we got here.
It takes two to tango, so to speak. No matter how peaceable we are as a race, if the other guy has bigger weapons and is itching to use them, it might not make any difference.
(I don't work for etsy)

http://www.etsy.com/blog/news/2012/etsy-hacker-grants-suppor... is why etsy is sponsoring this kind of grant at a different but similar Hacker School.
In the South Bay by Mountain View. You can start the NYC chapter.
> Its flexibility lets you do bad things with it, but the flipside of that attribute is that you can do very good things with it.

The problem is that there is a local maxima in the flexibility cost-benefit curve. After you reach that maxima additional flexibility degrades your experience.
Everything in the paragraph "Open with innocuous preamble" strikes me as false and condescending. He uses the language of respectfulness to advocate not being forthright. I find that incongruent. In fact, the more I look at the article, the more incongruent I find it. I say this as someone who cares a lot about respect for others, and I have the general impression that you do, too. So I'm surprised our perceptions are at such variance.
Do keep in mind that $35 USD in China is not directly comparable to prices in the USA. And not just because of the cost of living in the USA.

There are no returns, for example. When you walk out of the store, that's it. If there is any kind of problem, your main option is to just throw it away. There is no tech support either.
[emphatic] Vimium user here.

Would you accept a pull request to satisfy https://github.com/philc/vimium/issues/61?

Like many of the commenters there, I often only find myself reaching for the mouse while browsing to select and copy text.

If it's something you're open to I'd be willing to give it a shot.
Regarding whether it would be more responsible to pay down student loans/down payment/pretty much anything other than a diamond - absolutely.

But, if your goal is to demonstrate commitment to the betrothal - the Diamond ring does the job.

The Diamond has the additional (and important) aspect of being a demonstrable and physical artifact of the proposers intent. Plus, it's sparkly.

The vacation doesn't serve our purpose as well, because the proposer will get significant utility value out of the trip. But you are on the right track.
> [...] but what does a diamond "mean"?

"I would hurt poor people for you."
Sorry, CS and Python treat whitespace as a significantly different beasts. It's a disservice to everyone to say, "I read <insert significant-whitespace-block language> everyday, therefore <insert language that substitutes anything from call points, to auto-insert this or that, infer types, etc> is just fine!"

I think a majority can grok and parse Python, but the same can certainly not be said for CS. It's unfortunate too, because it has some Good Parts.
That might explain djb's tweets a couple days back: https://twitter.com/hashbreaker/status/246745440798781440 and https://twitter.com/hashbreaker/status/246746124222865409 — he's, uh, not a fan of dnssec but this really seems like more of a failure to apply late-90s recommended practice
Grab smacme.tar from http://plan9.bell-labs.com/sources/contrib/rminnich/, or just browse the source under smacme/. You'll have to diff the files against the sources in Plan 9 Port.
Want to decrease your attrition rate? Bill me on the 20th.
Also with their new capped data plans (marketed as shared data) offering tethering for free is a boon to their bottom line.

At $10 a pop per additional gig over your plan, as well millions and millions totally clueless about what a gigabyte is ... Verizon and AT&T are going to be fattening their profits nicely!
I'm liking the update so far, keep up the hard work!
Since Netflix supports android, it seems it should be possible to run the android application on a linux desktop.

http://askubuntu.com/questions/104957/is-it-possible-to-inst...

However, it may be the case that the display ends up being quite small.
Experiences I’ve had with advertising and marketing in the last weeks
Almost every higher ed institution has scholarships for under-represented populations.

If you can think of better ways to encourage more balance in our industry I am sincerely open to suggestions.
The basic tradeoff is between flexible input and flexible output. I do think it is sound advice to push the relational database model (this overlaps but is not identical to the relational algebra model) to the breaking point before going elsewhere. If you don't do data validation you can't do ad hoc data transformation later reliably. Strict schemas are always an investment in the future for that reason.

> Polymorphic structures are a PITA to model in relational tables, but they fit very well in schemaless, document-oriented NoSQL systems. This has nothing to do with data validation.

JSON and XML types in PostgreSQL rock. If you can limit the areas where the data is polymorphic, you can push the rest into those types. Many other RDBMS's support XML types as well.

> Rapidly changing schemas are a PITA in RDBMSes, especially with a large cluster of servers. It's usually very easy to alter schemas on-the-fly with NoSQL systems. This has nothing to do with data validation.

This again trades one set of problems for another. You are allowing old schema and new schema to co-exist. How many old schemas does your application have to support? It seems to me this would likely ossify things down the road a bit because if your schema is that rapidly changing, you may never get caught up and so backward compatibility is going to be a bitch. In other words, the less guarantees you can make regarding information stored, the fewer guarantees you can make about data output. That's a big deal as your product matures.

And don't get me started on BASE.....
Are there other similar sites that showcase mobile app design? Best is one that covers Android, iOS and Metro apps.
Yahoo removes registered trademark (R) from logo
High five for using 'PIN numbers' and not caring about repeating the word 'numbers'. That'll probably drive some people nuts, but not me!
Perhaps mistercow means things like

def foo():
x = 5
def bar():
print x
def baz():
x = 6
print x
bar()
baz()
print x

Which prints 5, 6, 5. If baz tried to print x before assigning, it would be an UnboundLocalError.
i can see how we could soon see a birth of "another language", that's supposed to be solve all problems coffeescript'ers face

That's called incremental progress a d most people see it as a good thing. Others yell, "Get off my lawn!"
It's a pretty meaningless measure - that's all I'm saying.
It's a fascinating piece, for a number of reasons. The first, and perhaps most interesting, is that the story behind the De Beers cartel is well known. Perhaps not in this depth, but still, it's no secret. Pretty much everyone knows they exercise a monopoly on diamond production and distribution, artificially keeping prices high. And yet, nobody takes the red pill and opts out of the illusion. Call it the power of the diamond industry's marketing. Call it adherence to tradition (created by the diamond industry's marketing). Call it what you will. But it's a powerful force. Consumers know it's a lie, and they choose to live the lie.

Second: a major prediction made in this article did come to pass, but it didn't have the predicted effect on diamond pricing. A serious contender to De Beers emerged in the early 2000s in the form of a multinational, "breakaway" cartel. Yet, both cartels -- and all other minor, independent players in the market -- seem to be acting in concert to keep supplies artificially low, and prices artificially high. In fact, the rate of price increase is at its highest in modern history. Economics tells us that this shouldn't be the case, especially given the emergence of new market entrants. And yet, the rate of price increase took off at precisely the same moment as the entrance of the new competitors. (Source: http://www.ajediam.com/investing_diamonds_investment.html)

What could be causing a major, year-over-year price increase in the face of new competition? Well, one guess would be that the two cartels are colluding in some way. Perhaps they've made an arrangement to fix prices or production. Or perhaps they've carved up the map, and reached some sort of non-competition agreement in each other's territories. Perhaps both. Ordinarily I'd call these ideas paranoid. But the history of the diamond business tells me that we can't put it past these guys.
Agreed. Maybe an example of how JavaScript/CoffeeScript would behave if it had dynamic scope semantics could help:

// In dynamically scoped JS...
var f = function() { alert a; }
f(); // would throw an error as expected, but...
var g = function() {
var a = 5;
f(); // would now work because `a` now exists.
} // The scope of `a` ends here though, so...
f(); // would throw again, but if we give life to the dinamically scoped `a` again...
var a = 6;
f(); // now works! Printing 6 as "expected" (at least after swallowing dynamic scope).
Thanks for pointing that out! This really is impressive.
Thanks for all the feedback...Be sure to check out http://hackmyfacebook.com
You're right.

People with dwarfism are disproportionally not software developers, too, but it's not trendy to care about them, so DevBootCamp doesn't care.

Transgender people are disproportionally not software developers, but it's not trendy to care about them, so DevBootCamp doesn't care.

White males born into poverty are disproportionally not software developers, but it's not trendy to care about them, so DevBootCamp doesn't care.

Hey, DevBootCamp: What makes an affluent latina more important to you than an impoverished white male? What makes an affluent white woman more important to you than an impoverished Indian with dwarfism?

Your organization is toxic. Go away.
I'm sort of getting mentally stuck on the part about enterprise pricing ("like if every enterprise software company doesn't put their prices on their website"). My knee-jerk reaction is that a lot of companies -- especially those that aren't necessarily in the enterprise market, but are wanting to look like they are -- actually are just doing it that way because they're imitating the other players in the market. (And as an IT consultant, that is super annoying to me, even when I'm working with a client that actually does have the budget.)

So: I'm genuinely curious, have you seen something that tells you that there's a clear advantage to doing it that way, especially where it's better for the customer somehow? e.g., does that give them a chance to gather sales leads or actual phone conversations from more serious customers?

And do you think that that sort of behavior translates down to smaller businesses? Should I not be saying, "I hate that, it sucks", and posting our rates on our site?
> If a space faring species encounters non-space faring species, the one with warp is probably (not necessary) in the better position.

I read a fun science fiction novella once about a interstellar space faring species that invented their warpdrive whatchamacallit before their industrial revolution, no electricity, machines, etc. Flying medieval space galleons. And they were going about successfully conquering a bunch of similar or more primitive species. Then they encountered 20th century earth...

Wish I could remember the darn name.
It lets you pretend to hack your own facebook. We found that this is hilarious for both you and many of your close friends.
So, banks like barclays have been treating diamonds like money, and Russia chooses now to try and upset the diamond industry.

This should be fun.
> Wrong. SQL databases (except for SQLite) are almost completely interchangeable because they are all based on the same relational model and they all implement the ANSI SQL standard with only minor deviations.

Wrong again. Here's a very trivial example. To index or not to index? On MySQL InnoDB you usually get a major performance benefit out of indexing just about everything you want to search on later. On PostgreSQL you usually get a major performance benefit out of indexing columns only as needed later. This is because of internal design differences, sequential scans through a table are much cheaper on PostgreSQL (in MySQL it has to scan a table in key order, not physical order which means no OS prefetch). Also non-PK index scans are faster on PostgreSQL though PK index scans are slightly faster on InnoDB (basically the table is contained in the Primary Key index there).

Contrast the fairly easy and routine process of migrating between MySQL, PostgreSQL, or SQL Server with the huge amount of work involved changing your application code from MongoDB to anything else.

So suppose I want to move my database which uses PostGIS and pgcrypto to MySQL or SQL Server. How would I do that?
Here in New Zealand banks reject sequential and repeating numbers for your PIN, and they also check for your birthdate.

So the trick is to find their anniversary or first child's birthday.
Well said.

Rate discussions should be conversations, and email is too slow moving to really be practical. Don't say, "This is my new rate." Instead try to really get at the heart of why you're being hired, what kind of returns are practical, and speak in "Doing X will produce $Y benefits for you and cost you $Z".
Search 354,000 Broadcasts from Internet Archive
Heavy Metal Watchmaking
Both systems makes sense, because it depends on your situation. There is no better, its just different.
That's how I started figuring out it wasn't a recent article. I ran into this link from the G+ HN circle and didn't see a mention of the date.

Then about 1/3 of the way through I started thinking "what the hell, no article can be this long", then I looked at the date.

A great read though, it does a lot to remind us how articles used to be back in the day before our current attention spans.
That conclusion about red states being overrepresented in the untaxed 47% was the first thing I thought of. It makes me think that Romney mis-spoke, was pandering, or has been seriously taken out of context. I have a hard time buying into the narrative that he is so clueless about American demography.
This is a great resource, more information can be found on this NYC article: http://www.nytimes.com/2012/09/18/business/media/internet-ar...

As far as I can see it doesn't support complex searches and an API.
Previously discussed on HN 535 days ago, still a good article:

http://news.ycombinator.com/item?id=2396120
TripIt should definitely take note. I'd love to use this (spec'd) app.
the story behind the De Beers cartel is well known.

Is it really? Or are you assuming that because you and your friends know about it that you think that everyone knows about it? (not an attack, just a easy trap to fall into).

players in the market -- seem to be acting in concert

I think that whenever a new participant enters the market they find that the most profitable path is to collude with the existing cartels. After all, if diamonds are really worth nothing, why would you enter the market unless you planned to keep the status quo?

What could be causing a major, year-over-year price increase in the face of new competition

I seem to remember reading somewhere that the growing affluence of Asian markets was increasing demand. But that might be the marketing spin.

edit: added everything under "or are you assuming" sentence.
Dislike button for Social Networking like Facebook
I guess it really is just news here, in case you want to have a discussion that might help people, lets discuss over here: http://branch.com/b/nosql-vs-rdbms-how-to-decide as long as you are willing to keep it constructive, you are invited.
My guess is that he was pandering. The statements were made at a fundraiser where he's trying to echo the narrative of the crowd, not present a realistic overview.
IPhone accessories 
As an iPhone fan, how can't you refuse to make your beloved iPhone more gorgeous? AccessBuy provides various products about iPhone for you including colorful and abundant iPhone 4/ 4S case and skin, high quality iPhone batteries, chargers and adapters, cool iPhone gadget, practical iPhone car solutions, parts and repair, earphones speakers, iPhone cable, dock and remotes and durable iPhone 4 screen protectors. You can find whatever you want to decorate your iPhone on AccessBuy.
Apple's manifest supports spreading the video across several images (the spinning earphones use this).

Real-world video (filmed with a camcorder, not just a screencast) of any length probably wouldn't work well at all with this compression scheme, though. Apple's JS video compression basically only optimizes out parts of the image that don't change at all. If you're filming the "real world", pretty much every 8x8 block in each frame is going to have changes (it's basically guaranteed due to sensor noise, lightbulbs flickering, etc).
It's really well known. There are articles written up about it every few years. It gets the occasional pop culture shout out.

We could split hairs for awhile and debate about how well known it is, or whether "Joe Sixpack" in Des Moines knows about it. But it's far from obscure.

I'll grant you that a lot of the major demand drivers (young couples, new money, etc.) probably don't know, or at least don't care. And that might make all the difference.

EDIT: Seems we both edited our posts at the same time. I think the Asian theory is interesting, and it might be the most savory / least fishy driver of price increases. Perhaps the "Joe Sixpack" of Shanghai, newly monied and with very few reasonable investment options in his home country, is buying diamonds left and right. Wouldn't surprise me. Either way, it seems odd that the cartels wouldn't go head to head in Asia for the big prize here, unless they reached a gentleman's agreement on territories.
http://www.ibm.com/developerworks/lotus/library/ls-Domino_Re...
http://www-12.lotus.com/ldd/doc/tools/c/8.5.2/api852ug.nsf/8...

Yes it does offline sync with multiple users. Changes aren't prioritized but you can configure what it does with conflicts (merge if possible, discard, or leave the conflict).

Time synchronization between multiple devices has been a solved problem for years. Not worth worrying about.

Creation of identical record keys — while theoretically possible — really never occurs in practice.
Only problem with my Kindle is I forget the title of books I read. I don't see the title when I "close" the book (read: turn my kindle off).