skysight-inc/HackerNews huggingface dataset:
We all have our reasons for working. In some cases I'd much rather be at work than say sit on a beach. I'd get bored after endless days of sitting on a beach right?

I think this conversation could easily go into the "whats the meaning of life" topic, so let's try not to go there. My overall point is more so this, what's so evil/bad about the the so-called lost era in Japan?

growth is required to spend more time with family, leisure and to do things that we really want.

And yet Americans spend more hours at "work" than most other countries. How has our growth shown that?
Supersoldier ants created in the lab by reactivating ancestral genes
List of every member of congress who supports SOPA, sortable by donations
سلسة في قصصهم عبرة - نادي عباد الرحمن الإسلامي - الطيرة
Very nice. All my mac-wielding colleageues at work have had access to nice gradient tools and as the sole ubuntu user I was missing something similar. Great work.
CTRL+R ? Like normal. Is iTerm another iProduct? Never used macosx, wouldn't know.

All terminals (GNU/Linux) Ive used tmux on, ctrl+r works, and scrolling as described in previous post.
http://www.theatlantic.com/international/archive/2011/02/the...
I use the little programming I learned in HS a lot more than I do the Spanish classes I took. Plus, being more comfortable with computers help me get familiar with all the online/computerized ways to learn spanish.
In Sweden you wouldn't get 2.5 months of accrued paid vacation, it's more like 10 days, as the first 120 days (of 480) (pa/)maternal leave is counted towards vacation.

Then again you have the legal right to take 25 days of vacation per year, but not all of these have to be paid.
Could it be that they're just being up front about using closed-source software for development (e.g. an IDE they paid for).
The overall point of the editorial might be right, but some of the metrics that it mentions are random or problematic. The number of high-rise buildings constructed? That says more about how little buildable land Japan has than it says about the strength of the Japanese economy.

The article also mentions electricity "output" (a.k.a. consumption), which has grown faster in Japan than in the US. The article spins it as an indicator of the strength of the Japanese economy, but you could just as easily describe it as a success story about US conservation efforts.

And some of it is just strange. Michelin ratings as a measure of the strength of an economy? Cultural factors matter as much as economic strength, there.

Japan might actually be doing better than people in the US think, but this article isn't a good argument for that position.
And on the other end of the technical spectrum, in your terminal via Telnet.

`telnet miku.acm.uiuc.edu`
maybe you can seed the database with event that are already available.
THE TOP 25 MOVIES OF 2012
THE TOP 25 MOVIES OF 2012 , THE TOP 25 MOVIES OF 2012 , THE TOP 25 MOVIES OF 2012 , THE TOP 25 MOVIES OF 2012 , THE TOP 25 MOVIES OF 2012 , THE TOP 25 MOVIES OF 2012 , http://news.psdmate.com/the-top-25-movies-of-2012/
Maybe, but they are true. Small companies sometimes just don't have the money. I heard about this hairdresser shop that was about to get bankrupt as four of it's six employees were on maternity leave at the same time.

Ok it's rare occasion that 4/6 would reproduce at the same time, but if the owner nice enough to hire mostly just graduated hairdressers, it starts to look possible.
I'd say it's good for talent since you don't have to pick a startup depending on what benefits you get (vacation time, health insurance, parental leave) due to the government providing well enough to begin with. Of course employers here can differentiate by offering more vacation, privatized health insurance, pension deals, but the swedish government seems to provide a better package than most US employers do.
You're welcome. However, the checksum doesn't work out for "X-Cnection":

>>> sum(ord(c) for c in "Connection")
1040
>>> sum(ord(c) for c in "X-Cnection")
952

I suspect that in this specific scenario the checksum doesn't need to stay the same, but the packet size does.
If you're going to call yourself a copywriter, you should probably make sure you don't have any errors in the copy you're using to promote that. Oh, the irony.
Nginx + php-fpm is MUCH faster than a vanilla apache httpd + php stack. The magic though, is not just speed. It's also the feature-set. I'm
working on a pyramid(pylons) project right now and will be using nginx to load-balance the wsgi server instances and to serve static content. I don't think I could use apache for that. The configuration for nginx looks neater as well (my personal opinion)
Every modal dialog plugin I’ve seen takes the following approach: try to anticipate the ways people will use it and provide configuration options accordingly. The problem is that as soon as you require anything the developer didn’t anticipate, the plugin becomes useless (or you start messing with the source). If you’ve read Spolsky’s essay, you’ll recognize this as a leaky abstraction.

Veneer tries to minimize leakiness by doing the absolute minimum while making it simple to add anything you need (as in my third example).
This paradox looks easily resolvable to me: keeping the same door can be seen as choosing a new door - but the same.
I'm not the parent, but I have a similar story. I know numerous drupal people who are now doing node.js work. There is a great desire to make a 'drupal for node.js'. Hasn't quite been accomplished yet, but I know many people who have something that might amount to smallcore for node. I know I do. It's very difficult to actually publish usable code though.
> What is the end result of growth that makes societies "better"?

How about the fact that, when we do well, we are a bit more likely to spend that 1% of our resources on new technology, and get stuff that we later take for granted, like flying through the air, curing nasty diseases, and having immense computing power at our fingertips that can reach any nook and cranny of the Earth within milliseconds.
Primum Non Nocere
There are usability concerns that you should consider, but that doesn’t mean there are no appropriate use cases. Anyway, you don’t have a choice when it’s a feature a client asks for.
Army researchers develop cancer vaccine that could cut recurrence rates
I'll assume that there are two players, and that you spin the cylinder at the beginning, but not after each turn. If this is the case, then at the start, the die is cast; the bullet is in one of the chambers, each with equal probability. It therefore has an equal probability of being in an even or odd chamber. Depending on if you go first or second, you either take odd-numbered or even-numbered turns. Either way, you have the same probability of losing.

On the other hand, if you spin the cylinder after each turn, it's best not to go first.
Exploring the V8 JS engine (Part 2 of 2)
Paul is right on this one. Maybe Spamhaus used to have good intentions but all of my recent dealings with them indicate that they're as unethical as the spammers they claim to fight. Their "shoot first ask questions later" methodology proves that they have no problem railroading anyone unfortunate enough to get caught in their crossfire.
Great, now how many more lines to move the arrows from the top of the image (as in http://jacklmoore.com/colorbox/example2/) to the sides of the window as in my example?
Ask HN: What stats do you want to know about your address book?
Hacker News, we need your inspiration.

A little background: We are creating an address book management tool which aggregates all your contacts and makes them available to you on all your devices and services. This means we connect with phones, email and social networks, import those contacts, deduplicate the resulting complete address book and in turn export it back to wherever you could need it.

We are now in the process of making our product more interesting and more communicative. One of the ways we want to do this is by providing our users with extended statistics about their address book. Currently we tell them how many contacts they have, how many of them are linked to social networks and how many got updated within the last thirty days.

To extend upon this we are wondering:

- What are things you always wanted to know about your address book?

- What are things about your address book that would be helpful to know?

- What are stats that would make you chuckle?

- etc.

Thanks!
Java.util.concurrent is one of the most attractive features of java for server programming. ConcurrentHashMap is faster, cleaner and much easier to use than locking every time you need a access a shared HashMap. Not only that but it doesn't lock the entire hash, just a partition of what ever you will be accessing.

Also AtomicInt,Float,Long make life easier when dealing with threaded programs.
Another ennemy's downvote :V

Ask PG: is it fair? Shouldn't be the downvote ability attributed at a case by case basis - like some kindof community moderators?... the upvote ability already serving as quality mesurement...
Make HTTP requests from your browser
It's only a problem if it is keeping you from some goal. Example: If you're doing a research report on a certain president and you find yourself reading up on a dozen other interesting presidents, well that's a problem because it keeps you from finishing your report.
On the other hand, if you are interested in genetic algorithms and you wind up reading about real genetics, epigentics and then Dawkin's book "The Selfish Gene", I don't see how that is bad.
How about:
5 apps in 50 weeks challenge? Write 5 useful, stable, well designed and tested apps in 50 weeks. Use whatever language/database seems easiest and most productive.

I understand the desire to learn a lot of new things, but the hard part of coding is not the first week. Practicing the first week over and over won't get you many useful skills.

The hard parts of development are the marathon (keeping your focus/motivation), and making everything actually perfect.

In the first week you can just get it to 'good enough'.

Subsequent weeks, you enhance things... this is where the flaws in what you wrote in the first week really come out.
"Some of the wilder speculation we've heard has the company buying Smarterphone in preparation to sell its smart phone line-up to Microsoft, then focusing entirely on feature phones."

Now THAT would surely be business suicide.
Facebook hates the handicapped?
This is exactly what I'm thinking, i.e. rather than programs like FIRST Robotics that aim to inspire students without much actual learning, empowering them with coding knowledge.

I would definitely not mention the word "hacking" in any talks with high-school people, though, since these people do not know the real meaning. Maybe not even "coding".
Why can't Nokia just kill off Meltemi and adopt Smarterphone's system? It's not like Nokia's previous smartphone OS efforts have gone anywhere (Maemo, Meego, Symbian^3, etc).

I honestly thought, when Nokia and Microsoft announced their deal, that Nokia would finally give up on making OS software. I guess they'll have sink a little lower still.
>closed as not constructive by Robert Harvey♦ Oct 5 '11 at 5:49

>This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion.

I appreciate StackOverflow's active moderators, but this question was actually pretty interesting. What harm would it do to let the question open?
Email can use up inodes quickly. A thousand users with a thousand emails each is a million files in Maildir. Plus three directories (cur/new/tmp) for each mail folder.
Using Mac OS X as a self-binding device
There's so much wisdom condensed in this comment. That's the best advice I've ever read on creating startups.
The app doesn't deal with corporate hierarchies. For example, it correctly identifies Cheerios as supporting SOPA, but not Gold Medal flour; each is labeled as "distributed by General Mills Sales".
I was surprised there are more democrats for SOPA than there are republicans.
I'm quite confused. It's a CSS3 gradient generator for linux, yet the screenshot shows an image of an OS X app and the footer mentions it was developed on Windows.

I can only then assume it's an Adobe AIR app, in which case why isn't it just a desktop CSS Gradient generator for all three platforms and why not also make it a standard website if it's just HTML and Javascript?
You are too serious - Or why Germany still sucks for startups
Very depressing. Almost without any exception (I admit there are a couple) every single for or against can be determined by how much money they get from the computer industry(Against) or from the Music / Movie industry (For).

All of this happens across party lines...
عاجل هجوم سلفي شرس على احدى الكنائس بمصر
In India they DO teach hacking in schools!Yet it isn't as much fun as the personal projects.
My experience so far in Hungary - and I expect Slovenia to be pretty similar is that you can't really compare the benefits between state provided medical in Central/Eastern Europe to what can get through private insurance in the U.S.

I never knew someone in the US that had to get cash to the doctor on the side or bring their own toilet paper and food to the hospital.
Ummm, that already exists. That's how XHTML (delivered as XML) works. Make a syntax error in the page? Browser gives up, displays an error. It didn't catch on.

The various HTML strict modes turn off "quirks" mode as well.
"Since our first computers were Dells and not Macs, Gradiator is free software."

Umm what? This whole thing (osx screen shoot, the bit about being developed on windows, ...) smells like a jape to me.
The host eliminates an "incorrect" door only after you first choose one. The monty hall problem is about using the new information that the host is obligated to give you. if you use it you increase your chances to 1/2, if you do nothing with the new information you remain at 1/3. Consider an alternative scenario with the same concept: you have 100 doors, and after you choose a door the host eliminates 98 wrong doors. you can now choose the 1 other door or keep your original choice. Its obvious the other one is a better choice
Google+ helps you Supercharge your stream
Yes you have to do something: choosing a new door - but it can be the same. Do you get me? The action of making a new choice is either visible if you are choosing a new door, but you can also say that you are making a new choice by choosing the same door.

By the way, it is simpler: the probability the door you've choosen at first hide the car is just increasing when the host is eliminating one. You don't have to do something for that.
CWIZO,

Unfortunately many democrats live in areas where the Movie, recording industry is located...therefore they get lots of $$ from them. Thus the widespread support from both dems and republicans.

This depresses me even more:

http://www.opensecrets.org/pres08/indus.php?cid=N00009638

Obama got almost $9 million from the Movie industry. I would suspect he would not veto it.
When you're in copy-mode (activated by prefix-[ also prefix-pgup as mentioned above) search is like vi or emacs depending on your copy-mode (vi by default I believe).

SO: / to search down, ? to search up. If you want to search from the top down, hit "g" in copy-mode to go to the top of the buffer (in vi mode). "G" to go to the bottom.

These, especially /, are really common conventions. / is used for search by vi, less, Opera (Firefox now too I think), even twitter.com.* My point is that / and ?, and to a lesser extent g/G/etc. soon becomes second nature and are worth learning because they are so common. How do you search backwards from the bottom in iTerm?

See "copy-mode" for more info http://www.rootr.net/man/man/tmux/1

*twitter.com (as well as duckduckgo.com and to a limited extend slashdot) uses some sweet vi keybindings. Try n, j, k, r, etc.
It's sad to see that for almost ever 1 SOPA opposing member on the list, there are about 4 supporting members.
I have been following Fingleton, the author of this article for quite a while. His main thesis that "Japan's lost decade is an illusion" has not changed much over the years. In fact, he was among the group "Japan bashers" in the 90s, and their main argument was that Japan's Ministry of Finance (MOF) was intentionally trying to paint a grim image of Japan to gain advantage in trade negotiations. This argument holds little water these days: it is next to impossible to hide information about the true state of a country when access to information is so easy thanks to the Internet.

Fingleton also claims that Japanese are early adopters in technology, which is only partly true. Japanese, in general, prefer to excel in something by using manual skills and they take great pride in that. They resort to technology only when manual skill is not enough. Making good cars require industrial robots so they have plenty of them, but in other parts of the industry, adoption of advanced technology can be quite limited. In other words, Japanese companies often find themselves at local maximums as compared to their American counterparts. Just look at the current state of Japan's once great electronics companies: Sony, Panasonic, Sanyo, NEC, Hitachi, etc. Only Canon seems to be doing fine these days.
Interactive 3D holograms from Microsoft Research
Much of Hollywood/traditional media leans left. Most of the Dems against it are in the Silicon Valley.
A rarely mentioned factor is that one can apparently cheat at roulette. If you've got a gun with a barrel that really spins freely - which is a precondition for the first shot being at all "random" - then since the chamber with a bullet in it is heavier than the empty chambers, it's quite likely to end up on or near the bottom of the gun (with "bottom" defined relative to whatever way you're holding it) and quite unlikely to end up on top.

Thus if the rules were that one spins the barrel every time, the game can actually go on indefinitely. And if the rule is that you spin once, the first round is the safest.
Using mod_php with Apache IS faster than PHP-FPM, however, it uses MUCH more RAM. In a RAM constrained environment like a VPS, it simply isn't an option.
For anyone curious, this a reference to Demolition Man: http://www.youtube.com/watch?v=xFiDoOgRTpk
Microsoft to pay retail workers to recommend Windows phones
That's happening in Finland, you earn less you pay taxes progressively less. And we have this thing called parental subsidy or something like that, it is about the money needed feed a child.
Only thing this has solved is the possibility to have 20 children in one family. The new problem is that this one religious group is having those large families, and nobody seems to have the time to actually raise those kids.
Distract Customers With Technology | Bombtune
If you don't mind some feedback...

Instead of harshing on the OP, making him find your email, and beg for help, don't you think a more proactive approach would be more valuable to the conversation?

Like the following, for instance.

-

"As a copywriter, I see quite a few common mistakes on your landing page. I took a few minutes and made a first pass at cleaning it up. (Find a before/after article on my blog here: [link] )

I'm happy to help you improve your (or any HNer's) site copy. Drop me a line to discuss. Email's in my profile"

-

This more proactive approach is far more likely to actually help someone. Based on others who have offered non-programming services/advice on HN, it seems likely to lead to some freelance/consulting work should you desire some.

Make it clear that you only spent 5/10/15 minutes on your draft. That sets expectations about quality, while still showing people how much better things could be with help from a real copywriter.

Food for thought.
There is a currently a large push from tech companies, colleges, and CS teachers and the CSTA to increase the number and diversity of students in both programming and computer science. The College Board discontinued their AP CS B exam because not only was enrollment unimpressive, but the overwhelming majority of the students taking it were white and asian males.

There's a lot of pushes out there to make programming accessible: Randy Pausch and CMU had Alice (which feels painfully abandoned, unfortunately), MIT has Scratch, which Berkeley extended into SNAP/BYOB. All of these are really offshoots, in their own way, of the promise of LOGO: to introduce children to a programming language that is both conceptually deep and initially accessible.

The painful bottom line, though, is that many students in the new generation don't see the need for computer programming. They didn't grow up with the command line, or even with finicky and annoying Windows 95 programs. They have computers that do everything they want, and the computers generally do it very, very well. They use Facebook and Blackberries and iPod touches and don't worry about where the software comes from. The experience has generally been so seamless for them that they haven't had to think about it.

Try asking a teenager how many people they think work for Facebook, or Amazon, or Google.

I used to teach both Math and Computer Programming in a high school. Now I teach Math full-time, and my math classes are twice as big as they used to be. With budget cuts and the current economy/political climate, continuing an old elective program is hard enough, let alone starting a new one.
Really good entry-level intro. Useful!
I think the best system would be one inbetween mbox and maildir. You specify a filesize limit of say "10MB". Emails are repeatedly added to the same file, until it hits 10MB, then a new file is created. Emails larger than 10MB would not be split over multiple files. An index is kept of all of the messages. When a message is deleted, rather than immediately removing it from the file and blocking like most mbox implementations work, it should just be flagged as deleted in the index. A background process can clean up these messages when the file is not in use.
Hi. The idea is great, but I ran into some issues.

- it took me quite a long time to find the 'Claim all your identities' - it should be in the same place I edit my profile.

- after I claim one account I don't have a link to go back and claim other accounts

- something is wrong with handling bitbucket projects, it sees only 2 of my projects

- if I go to 'Claim all your identities' for the second time, I don't see a list of my claimed accounts.

- no link to jump to my profile in the profile menu (top-right), ther should be one

- "Your profile is 40% complete" 40% of what?? it begs for a 'learn more'

- javascript ranks higher in the chart than python although it has less projects (even from the small number it recognizes) and less code

Too confusing.
This website is loaded with impressive content, and it's creator appears to be a bona fide wizard.

I cannot pass until every page is studied carefully. Thanks a lot.
These were to run Windows. The tablet is a different well-defined market. I'd run a MIPS desktop but most people won't.
Biggest surprise among supporters: Al "Net Neutrality is the 1st Amendment issue of our time" Franken.

Among opponents: Bachmann.
It is easy to get company registered, the issue can be getting a bank account. I have seen that UK banks do not trust a company if sole Director is a foreign company, even if from another EU state. Some have told that it is easier if Director is physical person (even if from another country). So yes, expect challenges.
Leaked Memo Says Apple Provides Backdoor To Governments
Makes you wonder how much worse things are going to get with the introduction of SuperPACs.