skysight-inc/HackerNews huggingface dataset:
Python people are too busy solving real world problems fast and quick and getting their shit done, to fall in love with python.

Tools are just tools. And I don't mean to come across as a jerk. I love developing. But that is as a means to an end, but not as an end in itself. - Those who like the latter, end up as research scholars; or Rubyists.
anyone using pypy in production for real world work?
I immensely enjoy "War with the Newts" (http://en.wikipedia.org/wiki/War_with_the_Newts) and only realized after reading the Wikipedia page, that it is by the same author, Karel Čapek.
Nagoya is not a terribly expensive city to live in if you live like a Japanese person. (The starting salary for engineers is about $2,200, and for a single young man that makes one comfortably middle class.)

If you live like a Western executive, though, it can be kind of pricy. (My friends and I sometimes talk -- mostly jokingly -- about the English tax: if you need somebody to explain things to you in English, you are almost certainly paying a premium over market for that service. On high-end apartments, for example, the difference between going to the place I know which markets itself as foreigner friendly and walking into the apartment service and asking for the comparable apartment next door is about 50%.)
So, it limits the President's power.
But, in doing so, it also gives more power to the rest of the national government.
Ask HN:  Anyone using  Python 3 in production?
I'd love to make the switch over to Python 3 before I get tons of code written on my startup. Anyone using it in production?
If it's simple, then just about anything (including Google Docs) will do fine for you.

But if you have a complex presentation, or you're a stickler for detail, I recommend creating each of your slides in Inkscape or Adobe Illustrator, and stitching them together with something else. It's the only way to get the design just right.
I've always had a bit more luck with the "typedef each step of the construction" rule-of-thumb. Also, I tend to hide anything as complex as "pointer-to-array-of-pointers-to-functions" (even though you memorize this idiom pretty quickly after an hour in the kernel) behind library ADT's, so you're never indexing an array, but rather passing an index and a whatever_t* to whatever_get(w, index).
Beware the Spectacular B-Round Valuation | Kellblog
if any given screencast you link to does something they charge for, you could arrange with them to get an affiliate kickback fee
> Their iPod touches have this really slick, polished metal back. It looks really great – for a few weeks. Then it’s quickly getting scratches.

Likewise for the chrome bezel. Within an hour of ditching my iPhone's case, I nicked the damn thing with a very slight bump. It was a huge relief to see Apple lose the chrome for the iPhone 4. But after one of Engadget's phones got a nice big scratch on the back, I can no longer assume they're using gorilla glass on both sides.

I'm forced to believe they make questionable material choices merely to increase the "shiny", which is one of my main gripes with Apple. It's undoubtedly why they use glossy displays by default on MacBooks, iMacs, and iPads, even though matte is far more usable.
Interactive map of World Debt
A lot to chew on here. First, I think your distinction between mathmatical proofs and everything else (?) is a bit simplistic. Second, you seem to suggest that the non-math side of the divide ("human language") is necessarily not truth seeking and that any attempt to point out a fallacy in such a context is pointless. That strikes me as far too strong.

Imagine I am discussing a topic with someone. The topic might be anything, but let's stipulate that it's not a member of the mathematical proof family that you mention.

If I or the other person commits a logical fallacy and someone points that out, we can avoid one bad outcome: trusting an invalid conclusion. (I'm using 'valid' and 'invalid' in the sense philosophers use it of an argument where the conclusion doesn't logically follow from the premises. An invalid argument may have a true conclusion, but the form of the argument makes it unreliable. Example: My name is Peter. Therefore, I will die. The conclusion is true, but the premise doesn't actually get me there.)

I completely agree that conversation shouldn't be like a scored debate, and so I think pointing out fallacies to ding other people is childish and largely pointless. But if you are actually striving to understand something, then an awareness of (common) fallacies can be very, very useful.
I can't tell if you read the article -- but anxiety attacks, hallucinations, and seizures are reported in some percentage of people who engage in meditation.

There are an amazing variety of human brains, and if you accept the results that meditation causes measurable physical changes in brain structure, you should also be open to the idea that for some brains, those changes might interact badly with other preexisting (and quite possibly inherent) brain tendencies.

People should know that if they have bad reactions, it's not necessarily a matter of 'doing it wrong', or just fighting to get over an initial challenging hump. Stopping might be the right thing for their brain health.
We Bought Links and It Worked
Sure helps to read code faster!
This is the third story posted to HN about the same pie-in-the-sky unicorns-and-fairy-dust identity scheme. Every official workshop ever done on the Internet identifies lack of authentication and identity management as one of its top three weaknesses --- going all the way back to Clinton and Magaziner.

(Since these are never conducted by engineers or, for that matter, competants, nobody ever notes the how this "problem" harmonizes with the end-to-end argument).

In no alignment of the planets and on no floor of the Alamo including the basement is the government going to solve the identity problem by fiat. The company that manages to come up with a tractable solution to this problem is going to be giving out $100 bills as conference tchotchkies.
Don't overlook the fact that F# is build on top of a proprietary, potentially patent-ridden platform. For many people, including me, that's a non starter.
No, it doesn't limit the president's power.
I was at a rock show and before the singer started she said make sure to go out back and get a burger. The placement of the back button in the title allowed me to skip this post. It would have made a heavier impact at the end of the story, "Now hit the back button."
Ask HN: What is a good CMS/Wiki for RESTful API documentation?
We need a better way to document our application's REST API.

We had one customer recommend organizing it like Amazon does - http://docs.amazonwebservices.com/AWSEC2/latest/APIReference

One interesting issue is that we're trying to be as RESTful as possible. So we don't have things like 'Actions' or 'Methods' that need to be listed out with specific parameters. But we do need to explain the URL building pattern and what happens with a GET vs POST and stuff.

Any suggestions or recommendations?
LaTeX is cool, but it's probably a bit more than you need. In this specific case, you may want to go with something browser-based - you could actually execute the Javascript!
I kept the i+1 separate because the parent noted that this was a trivial example and wanted to make a point about the more general map-filter-map operation. I wanted to make the point that you can do the map-filter-map in Python more succinctly and more efficiently without sacrificing any power or flexibility.

In this example, yes, it's easy to solve the problem with only one iteration through the list. In a more complicated example (especially when the first map step is expensive and you really only want to do it once) this kind of solution may not work.
The article would be better titled "Most Expensive Cities (if You Live Like an American)".

That's the only explanation for all the African cities. No doubt American food, and in particular, American brands, are very expensive there.

OTOH, if you're willing to eat native foods and buy native brands, I seriously doubt Louanda is all that expensive.
reads like advertising. where's the technical meat?
We know for sure that one big media company in the US had the ‘Collateral Murder’ video for years and did not release it.

That seems especially incriminating. I wonder if it's as sinister as it sounds, or if there's a good reason for this? (for example, it was encrypted and beyond their resources to decrypt)
thanks Kim ;)
My mistake, Sen. Lieberman claims it limits the President's power.
That there's no formally-defined internet kill switch in this bill actually worsens the problem --- if you're the kind of person to see it as a "problem" that the same guy who can have a major metro area in the middle east bombed in your name can also cause a packet to be filtered.

That's because The President already has the authority to shut off the Internet, and, uh, pretty much everything else. Sec 706 (47 USC 606) (d). Comms Act of 1934. Suck it, Internet!

A more carefully proscribed national security power for the President --- one that acknowledged the Internet and the limits of the President's power over it, rather than simply "all wire communication" and "all electromagnetic communications" --- would actually help Internet-liberatarians.

For my own part, I'm glad the President has this power; I predict he'll need it within the next 4-6 years.
Yes - in the next part of the analysis.
Huffington Post’s list innovation
List Week comes to a close. Today, we’ve got a very concrete example of an organization that’s using lists more deeply, and more effectively, than just about anybody else.

That organization is the Huffington Post.
on the summit of Olympus Mons

it would be all downhill from there :)
Relax on your desire to join a startup, get some outside interests, and find a problem you want to solve.

I have too many ideas. :(
Astrophotography: Anyone Can Do It
I have no opinion either way, since the field seems to be dominated by empirical "evidence" and cranks, but this guy's entire argument rests on this sentence:

"One of the myths of "Uberman sleep schedule" is that it makes it possible to enter REM sleep and skip non-REM sleep stages entirely. That myth is derived from another false claim that implies a non-essential role of deep sleep. I will ignore these claims as standing in total disagreement with laboratory findings and models of sleep. Instead, let us focus on a more plausible claim of the possibility of compressing sleep stages.".

I.e. "I will ignore one of my opponent's arguments and instead focus on another. Since I can rebuff the other argument, my original viewpoint is true". It's a logical fallacy.

He also tends to say "X is unnatural/abnormal" => "X is unhealthy".

I wish someone did serious research into the topic without prejudice.
Chicago does not make rocket ships. I love this city, but please keep it real. The downside to Chicago: you won't get funded. The upside to Chicago: you won't get funded.
That would be lovely...

Unfortunately none of the existing publishers on the site run an affiliate program.
Luanda has been notably expensive for a long time, for western lifestyles anyway. I think the main issue there is that the western contingent is small and very corporate.
I live in Copenhagen, and I can assure you those are not average prices. I don't know where they got those numbers.
You're right, the first was released in October of 1991. But look at what else Apple joined in the same month:

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

Looks to me like they were just establishing the brand in advance of the first chip.
No problems here, that is, with D's right-to-left declaration syntax. ;)
Here's a tip: don't be a "wantrepreneur".

Get out there, focus on ONE THING and execute.
Regular People Don’t Think About ‘Smartphones’
Ask HN: log on, drop out?
Like a lot of HN hackers, I've been living and working in a big metropolitan area for a while (S.F. in my case). This certainly has its upsides, but also some serious downsides. It's expensive so being unemployed for even a short time can be risky. It's also crowded and noisy and distracting.

So, I've been considering selling everything, quitting the 9-5 and moving somewhere cheap, where I can live for $1,500 a month or less total. I've got savings to tide me over for a couple of years and I think this might give me the time and quiet I'd need to do some more serious hacking on my own projects and also to just disengage from all the urban energy for a while. I think I could do enough freelance work to at least break even and probably do better and I could charge less than people that need to pay S.F. or New York rents.

There are a lot of places in the West, for instance, where you can rent a big apartment or even a house for ~ $500 a month and live next to some really beautiful national parks, forests etc.

Anybody else had similar thoughts? Are there pitfalls I'm overlooking? Anybody else had dreams of a hacker Walden Pond?
yes this is the kind of thread I expect to see @WalterBright chime in on :)
I do the exact same thing (as do countless other geeks). It would be interesting to have an extension that just displays your reading pattern on Wikipedia (e.g. "A->K->E->S").
That's monthly? I would make more as a postman in norway (working considerably less).
char* str[10]; /* Better */
This will seem a lot less heretical if you do a lot of A/B tests, since if you're already supporting 2^13 versions of the code running simultaneously, heck, what is a couple more.
A good argument can be made great by working in a Pee-Wee Herman reference.
Cold might be a blessing in disguise. Pretty much any off Earth colony is going to require extensive life support. All that machinery will need a place to dump it's excess heat.
Only got one response. My comment didn't get enough upvotes for enough people to see it. Considering reposting as a new submission, but I suspect one app survey on the front page is enough for this week.
this is fantastic, but apparently "void (signal(int, void (fp)(int)))(int);" is a syntax error?
I was shocked at how low the salaries were in Japan when I lived there. The company subsidizes the train, which otherwise would be a major expense, but still...
When you see the breaks, the three little black reveals that interrupt the band, in photographs, you could be forgiven for assuming you're seeing three separate strips of metal with gaps in between; but in fact it's all one piece.

from the internal photos at ifixits iphone 4 teardown[1] this doesn't appear to actually be true... or am i crazy? ( i am fully prepare to be called crazy/blind :) )

[1] http://www.ifixit.com/Teardown/iPhone-4-Teardown/3130/1
The results remain valid if the lunch in NYC it is compared to was similar. High wages in scandinavia probably makes for a big price difference.
Wow. He actually scores more karma for saying Adobe are assholes.

HN hits a new low.
If you read my post carefully, I propose a Factory, then reject it in favor of something simpler.

My proposal reduces the refactoring to "this block of code becomes a function call." There's still a piece of conditional logic, for each dimension, but it only gets written once. The application code gets smaller by applying this, except for one startup routine where we set up the thunk. Overall, it's actually less code than sprinkling conditionals everywhere. You could set things up so you change the configuration of all your A/B experiments in a single file. It's not so much a pattern as it is a reorganization of the logic along a straightforward application of DRY.

One might still want to stick with the conditionals everywhere if most of the code needs local state. This is probably an indication of a need to refactor, though.
Well, the picture in the article is of D'angleterre, perhaps they ate their lunch there? :-)
Makes sense. Obviously books are an area where search alone won't cut it. Knowing that a book exists and knowing you would like to read it are very different questions. How do you identify the boundary between search and trusted curators? How do you integrate trusted curators with collaborative filtering? How do you filter out books filled with rookie mistakes?

A similar issue is being worked out in news. Most people would still rather read the NY Times and WSj rather than wikinews. The reason: editorial input. Wikinews is a noble effort but has not got the magic formula for editorial control.
My first resource to get to grips with Cocoa programming was the Hillegass book pointed out elsewhere. But when starting the iPhone focus, the Stanford iPhone Programming Lectures on iTunes U really were a great help for me, even though they didn't cover the latest version of the OS (They were doing it on 2.x when I did it, I suspect the latest one was for 3.x) they really explained a lot about philosophy and methodology, not to mention giving assignments and generally acting like a class.

In fact, I am intent on revisit the latest version of the course, but all the dev videos kind of ambushed me, so I haven't gotten around to them yet. Speaking of which, I really get a lot out of, but I think a lot of the reason for that is taking the iTunes U course first.
i picture something tied to one's SS#
I was doing this earlier today -- pulled up some article on the French Directory and went through maybe 15 related pages.
A couple of points.

1. I love python.

2. The OP was being a troll.

3. People need to be more honest about themselves and their favorite pet languages. I can write a sorted set in assembler too, if I wanted. However, there's been several times that I've wanted a sorted set data type while coding in Python but found that none was easily available. I hate the, "you can write your own!" counterpoint, because it is essentially meaningless unless you can prove that writing your own is as trivial as importing someone else's implementation.
It's somewhat redundant, since the domain part is missing from the title, but that being said, I really prefer the prefix as well.
Obfuscation of email addresses is, and has been, obsolete for some time in my opinion. My address on a domain thats been active since 99' is everywhere in it's plain form, and I get so little spam that it's a surprise when I do.
To be fair, the introduction of glossy displays was done after most other laptop manufacturers had switched. I'm sure they did it because it looks better at the store, i.e. you have to know that a matte display is more usable in daylight to prefer that over the glossy display.
Doubly so because it made it to the front page of Hacker News.
Gresham's law is usually stated as "Bad money drives out good".
FireFox has an add-on Tab History: "links opened in a new tab retain their history". Although it doesn't tell you which link on the previous page you clicked, it does help.
Hah, that one is funny. The numbers for Stockholm look really weird. Groceries is at index 110, but rent at 27. This is true and a result of decades of political rent control, but what the numbers don't tell you is that it's impossible to actually get a decent apartment for rent. It's a completely dysfunctional market.

If they would have factored in the costs for buying an apartment or a house, it would look a lot more sane, and you would get numbers that are closer to what you would expect.
Ah crap, I accidentally downvoted you instead of upvoting. This is a good book, and you can read a lot of it even before it's released via MEAP.
My girlfriend is amazed that I have the patience to read a 10-page wikipedia article from start to finish. I think I got that because I started reading newspaper articles when I was very young (strongly recommended to all parents).

It seems I'm a bit different than most other people here that I open and read new tabs as they come up, rather than opening them in the background and coming back to them (like a call stack instead of a queue), which helps for maintaining context. The articles that I tend to get large stacks on are math articles. I think my stack-based approach came from starting on math articles, because you need to understand underlying referenced concepts before you can continue with the rest of the article. Most other subjects aren't so linear, not even historical subjects, because an individual tends to participate in several events, an an event impacts several individuals, and you get all sorts of back- and forward-references.

On a related note, I have read references books cover-to-cover, including a selective dictionary (one that only includes difficult words, not "the" and "door"). Textbooks with excercizes are far better for retention, but I always stop instead of doing the excercizes.
Personally, I think that's a great thing to do, especially when your line of work uses a computer. Even if you're not working, you can still build your skills (hacking on open source, iPhone apps, web pages, whatever) while living almost anywhere. Enjoy life, avoid the stress, it's always worth it.

The main risks I can see are that it may be harder to connect with people in your industry, and you may find few jobs willing to let you work remotely (this tends to be available only to very experienced people, e.g. CTO can live in the mountains if he wants, and the company says OK). Then again, if you're trying to avoid 9-5, not even having a job for a few months is still good stress relief.
Don't get too excited about that idea, if Stackoverflow's experience is anything to rely on:

http://blog.stackoverflow.com/2009/11/our-amazon-advertising...

However, your experiences might be a bit difference since people going to watch screencasts are more likely to be looking for a focused instruction than people going to Stackoverflow, so maybe these people would buy books. It's worth a try, but I wouldn't invest a lot of effort in it.

They also mention the Adsense problem on technical sites that you refer to elsewhere in this post.
No answer... No one wants to give the competition any ideas...
Anyone know how well it handles at least moderately dynamic languages? Say, Ruby?
Since freshman year of college, this is what I did too. I had tons of ideas and off the top of my head, at least 6 of them made it into the construction stage. The score: 4 busts, 1 nice acquisition, and 1 evolved into a business I'm currently working on. Aim for success, but don't be discouraged by failure if you learn from it. Also, market response to your ideas is 100% unpredictable. Users/customers vote with their attention and wallets and not with their words of encouragement/discouragement. Don't run your idea past anyone... just do it. One of my bigger failures was the one most congratulated by peers and one of my bigger successes was mocked before it became a cultural phenomenon. Good luck and have fun!
Please consider the state of scientific human subjects research before the institution of IRBs, and the problems that resulted: http://canonical.org/~kragen/costs-lives.html

I do not read the editorial you linked as saying, "You didn't do it according to protocol." The editorial, in fact, is explaining why PLoS Genetics thought the study was okay to publish, how the 23andMe study strictly complied with existing protocol and went above and beyond its requirements, and how the IRB system needs to be improved to deal with GWAS.
"So is somebody gonna create a tool that uses this parser so you can declare your C in English?" -My roommate
Nobody is switching to Python 3. If you go first you get all of the pain and no advantages (plus switching later isn't very hard anwyay). I would import unicode_literals, division, and the print() function from __future__ and stick with 2.6.