skysight-inc/HackerNews huggingface dataset:
If I feel myself dipping then I put on earplugs, cover my eyes and take a nap. I awaken in 20 minutes like clockwork and am good the rest of the day.

I usually get sleepy around 1:45. If I don't get a good night's sleep, then I might have two episodes like this. The nap is the cure.

FWIW Winston Churchill was a great proponent of napping:
http://www.nytimes.com/1989/10/02/opinion/l-churchill-unders...
The Reading List is just a folder named "Reading List" within your Bookmarks folder; anything that can create a bookmark can add something to it. (It's actually all your bookmarks that are iCloud-synced, not just the reading list.) I imagine there are a bunch of apps with code for an "Add to Reading List" button already written but #define'd out until iOS5 is released, to avoid confusing people who press it and don't get any syncing.
I'm currently in India working with an NGO building software for surveying, rebuilding their website, and trying to work with a group at IIT who are building an open source GIS software.

There are plenty of NGOs who could use your skills. Governments are coming to expect computer work, GIS maps, survey data etc. This puts NGOs who are behind the times at a real disadvantage for getting funding and getting on with their projects.

There are plenty of things you could do outside your field aswell. Some research and finding some people in the know is all it would take. Have a look at Engineers without borders.
incompetence is relevant to what you want (or is needed) to achieve and beyond
I assume the last few must have been spam bids!
Please forgive my bluntness: this is not a method of evaluating anything.

The entries have been made every few hours. The author started to have some hopes about Clojure, then in the same day (heck! in three hours) he resigned.

Even geniuses need some time to digest information. The best way to do it is to think hard during a day, relax and let the brain work on it during sleep. You're lucky if some insight comes just another day. But it will come eventually.

I'm telling this not in the defense of Closure, but in the defense of a proper method of examining the world around.

And if you like modern Lisps, you can always check Racket. (But slowly :)
And I guess that's exactly why trademarks were invented.
It does not state whether all 250 items must have unique codes. It also is not clear whether, in the questions, the guest chooses a random code (unlikely), a known item, or an item that is marked as being on the menu.

The second question is very misleading, because the answer is obvious without any math at all, which led me to believe I had misinterpreted the problem completely.

Finally, when you call something a grid, I expect it to be 2-dimensional, and without a picture this is the image that stuck. It took me longer than it should have just to grok this basic premise of the problem.

Addendum: it is also not clear whether the five items must be five distinct items, i.e. drawing with vs. without replacement.

On a related note, pages with no title and no favicon give a feeling of illegitimacy. This also added to my overall poor impression of this startup.
And who ends up on top? Us computer scientists.
I mean if you're HP, your Windows 7 is always going to be just the same as Dell's Windows 7. If Apple decides that they can use a new scheduling algorithm to better exploit current hardware, they can do that. Acer and Asus have to wait for Microsoft to release a patch or roll out the next version of Windows (in... N years).

I'm not taking the position that Windows 7 is so intrinsically terrible that it can't support the 'ultrabook' category, just like you're not supporting the position that it couldn't be improved upon.
Speaking of ridiculously verbose, if they're going to pull in Moose to do OO in Perl they could at least use it's ability to provide default arguments instead of abusing BUILDARGS:

package Int;
use Moose;
has 'value' => ( is => 'rw', isa => 'Int', default => 0 );
no Moose;

Of course, Moose (while awesome) is hardly the only approach to OO in Perl:

package Int;

sub new {
my $cls = shift;
$cls = ref($cls) || $cls;
my $val = shift or 0;
bless \$val, $cls;
}

sub getValue { ${$_[0]} }
1;

Rather than wrapping the scalar int inside another data structure to be treated as an "object" it's possible to just take a reference and use that as our object. So in this case getValue is really just a verbose way to dereference ($int->getValue vs. $$int).

If you don't care about inheritance you could also take out the first two lines of ``new`` and just have:

package Int;
sub new { bless \($_[0] or 0) }
sub getValue { ${$_[0]} }
1;

Disclaimer: this kind of code is usually considered terrible Perl style and why people have such a hang up about the language, don't take this as idiomatic

Edit: Just noticed that they seem to think instance variables in Perl are private by default. Not sure where they got that idea? I guess Moose attributes are read-only by default, but that's hardly the same thing.
Careful, you might make new YC companies' head explode.

(YC S11) Interviewstreet is disrupting the recruitment space and create a place where the best hackers get the best jobs

(YC S11) Splitterbug private beta: track expenses with friends from your phone

Munch On Me (YC S11) Helps You Discover Tasty Dishes

Stypi (YC S11) Is Etherpad Reborn

Parse (YC S11): A Heroku For Mobile Apps

Envolve (YC S11) Launches An API For Real-Time Chat

Kicksend (YC S11) Launches To Make Sharing Big Files A Breeze

Snapjoy (YC S11) Will Organize Your Photos For You

Leaky (YC S11) is Hipmunk for Car Insurance

Picplum (YC S11) is automatic photo printing service created to help you easily share your best memories with friends and family

Plus about 10-15 (YC S11) Advertising companies (a guess)

And.....drumroll........

ZeroCater (YC W11) Raises $1.5 Million For No-Hassle Office Lunches
Just a higher level of abstraction. Many people don't want to care about what zone they're running in, or really anything about the machine (or even virtual machine) they're running on; they just want to run their apps "somewhere" that persists through hardware problems. Maintaining such a thing isn't Amazon's charter, though; it's more the job of a cloud application hosting provider, like Heroku (who I'm surprised isn't multi-homing their apps on several clouds by now for just this reason.)
Jordan sneakers
I thought I had a pretty nice hack to solve #1 - I opened the matrix in a new tab of the browser, used Ctrl+F to see for 'P'. This highlighted all the P's with a different color and then just visually found the biggest looking rectangle. Took about 45 seconds :P
The Secret of Creation Lies in the Wave
There are 40+ million in the US on food stamps. The World is a harsh place, and politicians are doing very little to help ensure a more even distribution of the wealth, even within a relatively rich albeit divided country like the US.

These are general points, but I don't believe they should affect what a private company chooses to build. Perhaps you should ask your congressman if he supports higher taxes on the wealthy, or a single-payer health system.
Mother Theresa once said: "When I look upon the masses I can do nothing. When I look upon the one, I can do something."

Find someone to help. Help them. You have then changed the world for the better. Now do it again.
It isn't clear to me that the people with technical know-how deserve nearly all of the revenues from a country's indigenous natural resources. If that were the case, the most rational strategy for these countries would be to leave the oil in the ground until they can develop their own expertise -- they are losing hundreds of billions of dollars to China right now in return for some low-quality jobs and "political stability" (which really means brutal suppression of locals it seems.)
I might be incorrect regarding Perl's "scan" function, but I think you can implement it like this:

my $s = "foo bar baz";
my @b = $s =~ /\w+/g;

Granted, this is not a scanf, but neither are PHP/Python/Ruby examples.
Improving education doesn't have the same immediate benefits, but the way I see it insufficient education is at the root of most of the world's problems. With improving education, you make a ripple which turns into a huge wave.
Giants, in my experience, don't spend a lot of time dithering about which restaurant to go to, organizing the photos on their hard drives, etc.

The "giant's" primary school teacher, sure. The guy that funded his first crackpot-sounding business. His admin assistant, etc. That forgotten 5th employee who wrote half the code... or all those other companies that the "giant" first bought and sold stuff to/from. But no - not generally a bunch of random 'lifestyle' startup guys peddling restaurant finders and photo organizers and casual games.
MIT Scientists Develop a Drug to Fight Any Viral Infection
Maybe It’s Time for Plan C
It's refreshing to see such a great communicator. He spoke, off-the-cuff, for over an hour, at a level that seemed pitched to appeal widely.

The best thing, though, was the obvious love and enthusiasm he has for his team and their software.
Should you meet with VCs early for feedback?
They can write plugins and applets, but if you can't modify the operating system it's really easy to wind up with "you can't get there from here in Jersey" moments. Like all of those horrible network control applet replacements that were endemic a few years back.
I saw traffic numbers $HUGE_ISP last year and google was pulling almost 85% in search. That was by number of bits shifted, not impressions - I'm not sure how that would change it.

If you're really interested, I'd reach out to sandvine. They are on net at several majors and they gather tons of information and are allowed to share it. They might take some time out from writing breathless press releases about netflix traffic to kick you some numbers, all good publicity. I think volume on a large national ISP is likely to be a much better metric than trackers.
Live Stream True Blood Season 4 Episode 8 - TV Amerikaan
Well, if your interest is to release on Android in the immediate future, you may be best served by sticking to Scala. Clojure code needs to bootstrap itself at start-up which creates a bit of a load delay on the initialisation of your app. If you want to just throw up a splash screen and not worry too much about the load time, Clojure may work out fine.

At this point, I have written significant amounts of code in both languages, and I honestly prefer Clojure. Scala is definitely a big step up from Java, and there is a lot to like in the language. Nonetheless, I think that Clojure is a step up from Scala.

There have been a number of times when writing in Scala that I wish I had some of the features of Clojure, macros in particular. Scala provides many neat features that would be implemented as macros in Clojure, but there are some things that can be done as macros that cannot be done in Scala.

Of course, typing is a big issue. I'll have to admit that when writing client code static typing is very nice, but when writing library code dynamic typing makes things easier. Most importantly, Scala suffers from some of the typing problems that are part of the JVM, most notably: type erasure in generics. Scala provides some means to reify generic types, but it is still a pain to work with. I think that Clojure also contains superior polymorphic dispatch capabilities.

In the end, they are both fine languages. I enjoy coding in Scala and Clojure more than C++ or Java. Still, if I have the choice between the two, I'd go for Clojure.
I get and agree with the point you're making, and like the distinction that you're making, but I'm going to quibble a little about the choice of the name "adding happiness" as the counterpart to "fix injustices".

"Happiness" is a real stretch to describe the thing that a lot of these startups are "adding". "Pleasant distraction" might be a more apt phrase, or even just "pleasure". Or "yet one more goddamn reason to start vacantly at my smartphone, ignoring everything around me", if you're of a cynical bent.
Go strikes a middle ground between low-level and high-level in some awkward ways. It wouldn't be hard to use e.g. nullable types or option types to outlaw null pointer exceptions without restricting the set of possible programs, and with stronger static guarantees of correctness. On the other hand, Go also has mandatory garbage collection, which emphatically does not reflect the underlying machine and also restricts its usefulness in certain situations.

w/r/t regularity: most of the functional programming languages (e.g. ML, Haskell sans GHC extensions, various Lisps) are incredibly regular, especially in the semantic sense of providing a few semantically simple features and milking them for all they're worth. Go has quite a few special cases (e.g. the make versus new distinction, the iota keyword) and some odd omissions (e.g. simulating union types involves what I perceive as interface trickery; const only allows numbers or strings as values.) Coming from C++, Java, &c, Go seems incredibly regular—the lack of OOP goes a long way towards keeping it simple—but it's not a simple language except in the context of "modern, Algol-derived applications languages." Which it is an improvement on, but it's not regular in the strict sense.
Not to start a language pissing war...but that syntax looks awfully like Ruby.

That means it's pretty elegant and nice :)
I think if BART owns the repeaters or cell towers etc. then they have every right to turn them off whenever they want. With or without permission from the carriers or occupants.
Why We Changed Our Logo.
Do you have an anecdote on this topic?
Exactly..I agree with r00fus.

If both Lodsys and Apple go head to head in the courts, then it really comes down to a game of attrition. Who has the most cash to pay the attorneys. Even if Lodsys is run by attorneys, and the principals work free, they still have to pay everyone else.

Lodsys can't outpay Apple. They just don't have the cash. So it should be a deterrent.
Hm, I'd rather pay the cost of having to add a virtual keyword in a few places (easily found using the equivalent of g++ -Wnon-virtual-dtor, and you do ship C++ code that is warning-free, right? :) rather than have to deal with up to eight bytes extra per instance in all my classes.
品茶论事
Jonathanscard: A social experiment, or not?
Yes, Amazon protested Macmillan's eBook policy changes by the temporary Macmillan boycott. But don't forget what Amazon was protesting: Macmillan was refusing to sell eBooks to Amazon at the higher pre-Apple wholesale price that permitted Amazon to set its own price downstream.

Let me say that again. Macmillan demanded that Amazon pay them less money per eBook so that Macmillan could control the price Amazon charged the end consumer. That sounds obviously anti-competitive to me.
Rapper, The Game, uses Twitter to incite telephone flash mob agst police
Whatever happened to Anark? Was it any worse?
Each of Harvard's houses did provide a Facebook, which is why Mark was able to create Facemash in 2003.

houseSYSTEM's Facebook was the first "universal face book" at Harvard University.

I offered to sell or just give houseSYSTEM to Harvard, and HASCS turned me down, probably because they insisted that everything had to be done in Java using Harvard's internal iSites framework. Instead they built their own version and launched it a couple of years later.
"The Cortex-A8 core used in the A4 is thought to use performance enhancements developed by chip designer Intrinsity (which was subsequently acquired by Apple) in collaboration with Samsung."

Sorry, what you are saying makes no sense. They designed the chip alongside of Intrinsity.

Samsung provides the same chip as a different part number:

"The resulting core, dubbed "Hummingbird", is able to run at far higher clock rates than other implementations while remaining fully compatible with the Cortex-A8 design provided by ARM. Other performance improvements include additional L2 cache. The same Cortex-A8 CPU core used in the A4 is also used in Samsung's S5PC110A01 SoC."
One piece of evidence: Steve Jobs's apparent foreknowledge that "The prices [of eBooks] will be the same."

Citation (from Jan 2010, well before Amazon agreed to the agency model): http://kindleworld.blogspot.com/2010/01/steve-jobs-pulls-his...
I think you're actually in agreement - if you can do more good via your day job than you could going out and doing manual labor, it's objectively better for the cause for you to do it via working more at your day job. It's just saying that it's silly for someone with a ton of leverage to abandon that leverage and volunteer as a manual laborer, rather than using the leverage to do a lot more good.
The source on that page is for the Nautilus (GNOME File Browser) extension that adds right click menus and special icons to the file browser and "dropbox" a command line client for talking to the dropbox daemon in the same way as the Nautilus extension.

The secret sauce is dropboxd which is not open source.
It's worrisome you would ask a bunch of strangers what profession you should take up. We don't know you from Moses. We don't know if you like crossword puzzles, make your own maple syrup, or have a lisp. You need to write out a list of what you love to do then explore the possibilities.

For what it's worth, here is what I suggest: switch to a stand up desk for any computing tasks. I cobbled together an ugly ad hoc one and I could never go back.

Also, while you deliberate over what your new profession will be, get a job in retail or sales. The pay will suck but you'll be on your feet and interacting with human beings.

I wish you success!
Non-paywall link: http://www.nytimes.com/2011/08/14/fashion/maybe-its-time-for...
I don't think we're are doomed to be narcissistic, but it's very easy to be so. This is a question which deserves to be taken seriously. The author is expressing a position that a lot of people fall into without actually being comfortable admitting it.
No one at The Crimson would write about my work except to accuse me of stealing passwords, which in fact was what Mark ended up doing. In contrast, Chris Hughes's French A conversation partner was on the editorial board of The Crimson, and they lived across the sidewalk from The Crimson's then-president.

Sites like these need press to grow. Without press, there's no point.
"Apple offered a better deal." As was extensively documented at the time, unless you include anti-competitive factors, Apple did not offer the better deal. Amazon paid more money per eBook (and sold the eBooks downstream for less money) before the agency model than after it.

The incentive that Apple offered was helping publishers control downstream prices, which is exactly the price-fixing this case is about.
Really silly to see temphn on Hacker News, of all places, disagreeing with a single line early on in a long article and trying to refute the whole thing without having read the rest of it.

FTA:

The situation in Angola is more complicated, though also disappointing. Chinese contractors have built some housing and railway lines and the projects were at first financed by the syndicate. Signs saying “China International Fund” appeared on construction sites. But in recent years they have been replaced by those of other Chinese companies. According to Western diplomats and Chinese businessmen, the syndicate stopped paying bills for more than eight months in 2007. All work stopped, 2,000 Angolan day labourers were fired on the Benguela railway project and only a Chinese cook remained on duty. Western diplomats suspected the syndicate was banking on being bailed out by the Angolan government, which had staked its legitimacy on infrastructure development. Soon enough, the government issued treasury bonds worth $3.5 billion to finance the projects. Subcontractors are now paid directly by the Angolan state.

The Economist is alerting readers to a syndicate extracting wealth from various African countries (apparently) without delivering the promised benefits to those countries. Nowhere in the article does it try and claim that the idea was inherently wrong in the first place, just the execution.
Quick question on the code. I'm looking at this commit:

https://github.com/kennethreitz/requests/commit/773630b0109c...

and wondering what "from .status_codes import codes" does?

Specifically the fact that it's not "status_codes" and has a dot prepended. Is that something special in Python (guessing no) or some convention that is used? Just curious.
Just needed to look at the docs: http://docs.python.org/reference/simple_stmts.html#the-impor....

The relevant bit:

"When specifying what module to import you do not have to specify the absolute name of the module. When a module or package is contained within another package it is possible to make a relative import within the same top package without having to mention the package name. By using leading dots in the specified module or package after from you can specify how high to traverse up the current package hierarchy without specifying exact names. One leading dot means the current package where the module making the import exists. Two dots means up one package level. Three dots is up two levels, etc. So if you execute from . import mod from a module in the pkg package then you will end up importing pkg.mod. If you execute from ..subpkg2 import mod from within pkg.subpkg1 you will import pkg.subpkg2.mod. The specification for relative imports is contained within PEP 328."

Cool stuff.
I think Netflix isn't the best thing to compare things to. It's absurdly cheap for what it is, and they might not even be able keep it at that price point (undervalued, and the content companies know it).
In the previous model it is true that prices for eBooks on Kindle were set by one entity: Amazon. However, that did not mean that the prices of eBooks were fixed by Amazon. There are these things known as "other eBookstores" (e.g. Barnes & Noble Nook, Kobo and Sony Reader) that set their own prices for eBooks after paying the wholesale price for the eBook, just like Amazon.

There is clearly less pricing diversity after the agency model than before, where there is a single entity setting eBook prices on a book-by-book basis: the publisher.
I agree that people who are capable of doing high level work should do so, but the comparison shouldn't be a high-powered lawyer vs. picking up trash, it should be: being a high powered lawyer vs. being a "high-powered leader" of a social movement. If Gandhi had decided to continue being a lawyer and donating his profits to charity, there's no way that all the cheap labor he could have hired would have added up to the kind of world-historical moment that his life did.
Another Mother Teresa quote: "Never despair at being but a drop in the ocean, for without it the ocean would be one drop less."
>Hajdukovic’s paper on a dark matter alternative is also an attempt to understand cosmological phenomena without assuming the existence of unknown forms of matter and energy, or of unknown mechanisms for inflation and matter-antimatter asymmetry.

so he brings in unknown negative gravitational charge. Basically giving another name to unknown machinery behind the observed phenomena.