skysight-inc/HackerNews huggingface dataset:
When do salarymen retire?

Typically, exactly at the age the company forces you to. I believe it was 65 at my company.

A company pension is typically sufficient to sustain one to a reasonable middle class standard of living, historically, and you have the option of being hired by the same company as a contract employee while receiving it. There's some grumbling about that, as of late, but my sense of it is that the material situation of salarymen who came up in the 1970s right now is pretty decent, but one might not say that about e.g. retired men who were working in the factories as contract labor during the same time.

You can pick out the retired gentlemen on the train fairly easily. The outfit is usually a Western suit a few decades out of date. Tweed is popular.

Some take up hobbies and become/remain pillars in their community. (Former salarymen are rather common among e.g. active members of my parish. The words "I left the company and joined Catholicism" might have been mentioned once, to a bit of chuckling and some scandalized looks in the direction of the parish priest.)

Some have the troubles one generally associates with aging. That is particularly difficult for salarymen who don't have a personal social network (due to never marrying, divorce, estrangement from family due to being absent for 30 years, etc).

Do the perks keep going after retirement even for the non-CEOs?

It depends. I know one guy who is clearly on The Track, and regardless of whether he makes CEO or not, I expect that he expects to be taken care of indefinitely. I'm not sure if one can expect that if you're not one of the golden boys.
I highly recommend Woocommerce, a Wordpress plugin.
Wordpress gives you the ability to make any modifications you want, or you can just use prebuilt themes and there is no need to code.
Shopify is also great, but it's not as flexible.
In most languages, the language says nothing about what data is protected by the mutex. Modula and Ada did, and Java has "synchronized" objects, but C/C++/Go lack any syntax for talking about that. This typically becomes a problem as a program is modified over time, and the relationship between mutex and data is forgotten.
I have no great answer to this question (I'm only peripherally aware of how Samsung works and the entire Android ecosystem is a bit of a mystery to me), but if you do, you could get a lot of bookings on the Japanese equivalents of MSNBC.
shopify gets my vote!
Your numbers are off:

- average long-term return on the stock market is 8-12%

- full-time wealth management means no more tech job, means no need to live in the bay area, means $100k p.a. nets you a comfortable lifestyle

You're looking at $1-1.5MM before retiring to the quiet life.
Why Mark Zuckerberg wears the same T-Shirt every day
Oh please no. That's the ugliest looking broken-ass link style I've ever seen.
Actually, it has been accounted for in the studies. See: http://www.stlouisfed.org/on-the-economy/the-cost-of-chasing...
If you compare it to the gargantuan that is an actual production compiler, it sure is tiny.
Cool, now you need a proper domain :-)
Also, pretty much guaranteed to improve outcomes for almost investor:
1) pay off your credit cards before investing
2) max out your IRA/401(k)
Could you show an example for what you meant in #6?
Sigh..this is why we need more of FEMINISM. Everywhere it's always about only men going against the rules and being treated as heroes. If a woman does the same, she is accused of being a bitch. What a double standard! We should stop encouraging articles like this and be as gender neutral as possible.
> In most languages, the language says nothing about what data is protected by the mutex.

Or the other way around, what mutex protects a piece of data (or even that a piece of data should be protected at all), so it's easy to forget it and just manipulate a bit of data without correctly locking it.

I was pleasantly surprised to discover that Rust's sync::Mutex owns the data it protects, so you can only access the data through the mutex (and the relation thus becomes obvious).
This same issue (a malformed TCP option) bit Juniper in the ass a few years ago.
There is a lovely, very recent film about this (in German) called "Bornholmer Strasse" starring many of the people who were actually there 25 years ago.
> But its broken closures

They were "unbroken" in Python 3, though because of the way scoping works in the language it requires marking variables (with `nonlocal`)
> Just use int and it

is a completely different piece of code.
It is just amazing that you can write this post after having created, essentially, a native Chrome application.

Your head is filled with Google jingoism tailored to almost fit the ideals you're trying to spout, but you failed to create an open application.
First class functions is a language feature. I definitely understand omitting it from a language. But go has that already. The issue is that without good higher order functions in the core libs, it's quite a waste!
Rivoluzione E-bike: tra ecologia e business
F# has that. With Mono you can produce static binaries. And the F# compiler can also make statically linked assemblies, including the bits it needs from all its dependencies.

Although I'm not sure if there is an F# code formatter tool. Which is made up for by F# being a vastly more capable language.
Thank you so much for that extensive text!
I've just recently learned Hiragana on my own (using two Android Apps and pen&paper writing) and learning by reading a german japanese learning book.
Since i self study in my free time i switch between those all the time (learning hiragana, writing them on paper, reading book) i was wondering what might be a good next step.
Actually i currently try to learn some Kanji and grammar and did not yet learn a single katakana..
Having finally learnt Hiragana and learnign some basic sentence structure i feel like my next step should be to write and read basic sentences in hiragana only and then move to learn some basic Kanji. Don't know yet when to learn Katakana, but currently i feel not like learning them as well, since i just learned the other alphabet and would like to have at least success doing something with that.

I didn't know about SRS, so that looks like a good way to learn some words while on the train. I will give it a try!
The japanese learning book i got is only an e-book and i plan to buy a real book, so i am looking at Genki now.

As a reference, i found http://www.japan-activator.com/ (an Android paid App) very useful..
Difference between Seed and a rounds
Mobile Eating the World [Video Talk]
Have you considered RxJava?
"In an ideal world there would be no racists, but in the less than ideal world that you may find yourself living in, at least hope to run into ruthlessly capitalist racists, because that’s something you can work with."

Best line in months.
The application in this case is that the mapped operation generally has a fairly low cost and the (sequential) cost of dispatching and resynchronising back into a result are going to dwarf any gain you'd get unless either the collection is huge (and the parallelization is coarsely chunked) and/or the mapped operation is extremely expensive.

Same reason why even though mergesort is fairly trivially parallelizable there's basically no stdlib running parallel mergesorts by default: you need huge collections before you recoup the synchronization overhead.
Thanks for being the first one to comment. I understand EXIF is important to photographers.

The initial goal of this tool is to reduce software release size. Most of the formats it supported for now are likely to be part of a software. Software don't need comments, only human needs them.

Maybe I'll add an option to keep EXIF and comments later.
A true story about belonging by Airbnb
Can you please explain how one of the corrupt fee only advisors situations worked?
I agree Haskell has had an important influence, but I don't see why people would necessarily "go directly" to it because of that. In fact, I would argue just the reverse. People chose the derivative languages b/c they provide things the original does not.

To wit, Lisp never became mainstream despite exerting a huge influence. Likewise Smalltalk.
Mavericks. Moguls. Millennials. It Must Be the Web Summit
"Nearly all men can stand adversity, but if you want to test a man's character, give him power"--Abraham Lincoln
Nothing at that price I can recall, but you're looking for a watered-down Red Pitaya? (A single board doesn't have enough 14 bit inputs, but in all other ways, particularly frequencies, it exceeds those specs?)
The rise and fall of Kozmo.com (2001) [video]
> What should that do? Crash the program? If so it should have been renamed to something like `panic!` now

It crashes the current task (thread/process), not the whole program, and has in fact been renamed panic! recently: https://github.com/rust-lang/rust/pull/17894
I suggest http://en.m.wikipedia.org/wiki/Recall_election should be simple/swift/inexpensive.
Wow, this is pretty cool. I've looked at Raspberry Pi hosts before, and almost all of them require you to ship the hardware to them.
People knee-jerk say that because they assume it's the only thing being done to secure an asset, when obviously it's a valid defense in depth measure, one with very low marginal cost (setting a few variables in conf files).
Yeah I'm confused here too, I understand there might be a need for some of these, but you should be able to just rely on autoboxing of primitives to Objects like what RxJava does: https://github.com/ReactiveX/RxJava/tree/1.x/src/main/java/r...

I can maybe see an extra variation for exceptions, but that would be one more generic or a Set<? extends Exception> no?
Winston Churchill said: "The best argument against democracy is a five-minute conversation with the average voter."
Nice hack! The next step would probably be a CC which compiles to a minimal virtual CPU instruction set so that we just need some Assembler macros to port it to a native platform (x86, ARM, etc.), plus a library of formats (ELF etc.) to create applications for those platforms.
I run/develop ecommerce sites and I have bounced around between many carts. Nowadays I run everything on Shopify.

Shopify is pretty flexible as long as you have someone who knows the ins and outs of the API. If you are paying a developer, I think Shopify would be the cheapest to get quality work since the API is pretty well documented. For a while I avoided Shopify because their checkout page was under their domain but I took the risk and it didn't really affect the conversions.

The only case I've seen where Shopify wasn't customizable enough was for a site that needed major user customization(custom designs printed on goods). There are plugins for it but it didn't meet the business needs of the product being sold.

I would avoid Magento at all costs. It's a major headache to develop anything custom on there. The documentation is terrible. IMO Magento has their own way of doing things so it has a bit of a learning curve development wise.

I wouldn't go WooCommerce also.. You might as well just use Shopify and not have to worry about anything server side(hosting, ssl cert, mail server, etc).

If I had to pick a open source cart for customization reasons, I would go with Spree Commerce which is written in Ruby. It has pretty good documentation.
Try shopify, bigcommerce Without any coding!
Please make this a node package at some point.
C# already has basic support for computation expressions which they implemented to support LINQ and later extended for DLR, but I cant see why they couldnt extend it further for async tasks.
> you need to spend a fortune for the explosives and the license to use them, as well as demolition experts and all sorts of insurances
RxJava: A Java VM implementation of Reactive Extensions
May I ask why you choose to use inline on the non-template class-methods? Did it make any difference in the code produced? For the rest: this seems very well done. Love all the proper comments and the huge amounts of static_asserts.
Ask HN: Why work hard on creating a product?
I have heard of many sites which do nothing except posting "viral" content from other sites and work on viral marketing from facebook and their revenues from adsense are huge, as high as $2000 / day.

Although, I agree such revenues might not be sustainable for a long period of time but still, it makes me question why should one work hard on creating a product, its marketing, customer acquisition? when there are people earning huge revenues without doing much.
Homage to Catalans
I agree with this. I moved from SF to Tokyo 2 years ago, and for almost the exact same price as my studio apartment in downtown SF, which was tiny and the bathroom was covered in mold, I have an apartment about 15-20 mins out of Shinjuku in a building that was brand new when I moved in.

I was also pleasantly surprised at the cost and quality of food here, although some of my coworkers who moved here from different countries (South Africa, for example) have complained that it's too expensive.

My bills are also less expensive, and the quality of the services are better. Internet for example is very fast and reliable, and costs me about half the price as Comcast did in SF.
Buying the index is the orthodoxy. There isn't a strategy that I've heard more often from non-industry friends.

It's so orthodox even relatively straightforward ways of beating the index are largely ignored. Look up Falkenblog. He's got a thesis about it.

If I didn't run a hedge fund, I don't know what I'd do differently though. Costs are pretty high on individual accounts. One thing you can do is invest via spread betting, which is tax free in the uk. Also the sheer a mount of infrastructure, both in terms of financial data, modelling, and the systems used to execute strategies, makes it a bigger job than one person can do.
The fine art of bullshit – Killed by Google
Something some might not know of is the great colour scheme designers available on the Web, I quite like colour scheme designer 3 [0] - hit triad, click around and then click the colour list tab for complementary colours for all three.

[0] http://colorschemedesigner.com/csd-3.5/
The code does have fence instructions. I have no idea if it is correct, I just took a look at the source code.
Cypress PSoC5?

1x20bit and 2x12bit, but at sample rates far higher than you are looking for.

Powerfulboard.com and moeller.io both make proto boards for them.
In ASIC design (that's what the commenter probably refers to when mentioning IC), just like in the more widespread FPGA world: many of the proprietary expensive tools are exposing their functionality as aTCL scripting engine. While the graphical tools hide this to some extent, as soon as you go for automation, which is unavoidable for complex work, you'll find yourself to write scripts in the TCL language.
Note: as google discovered a few years ago, round-robining the connections is probably less than ideal.
We should use http://en.m.wikipedia.org/wiki/Fmri to select best politicians/representatives
Big Japanese companies are like small communist governments. Once you are in, you get paid the same as everyone else, regardless of your value, because it's not as though you could leave. If you left, nobody would hire you, so your "market value" would be next to zero. So why pay you more? You get paid the same as everyone else in your hiring cohort, and you do whatever work they tell you to do, and that will always be true for the rest of your life. You marry someone from the company, and if the company tells you to leave her and go live overseas for a few years, you do it. Your loyalty is to the State---I mean the Company---first.

In exchange, you get a lifetime security net that gives you the same guaranteed life as your coworkers. Serve the hive, and you need never fear. If you ever left it, you would never again have access to a security net from anybody, and with so much of your life depending on your hive membership, you're unlikely ever to leave or to be thrown out.

In such a system, where you don't know how you could survive outside the hive, maintaining the hive matters more to the bees than increasing profits. Yes, maybe the hive could get some economic benefit from hiring more women due to their being undervalued in the market, but maybe the unintended consequences of changing something like that might destabilize the hive. It's just not worth the risk if your whole life is going to depend on this one hive.

And maybe your hive could benefit by hiring skilled people in mid-career. But none of the hives do that. They've never done it and don't even know how. What would you pay somebody joining the hive in mid-career? How could you even judge the value of someone financially? We've never done that; nobody does that; there's no "market". What impact might it have on existing bees, who have been together since age 22, to have a foreign bee join them in mid-life? It's just not worth the risk to the long-term stability of the safety net on which all life depends. Don't change anything. Do what has always worked, defend the hive, and it will defend you.

I'm not sure if this is your idea of something "working on a societal level" but it's not mine. Ironically, I think this "stability over adaptation" approach puts Japan at greater risk of instability over the long run.
This is your second armchair psychologist post that's incredibly negative, naive, and assuming. Be a little more sensitive and/or less judgmental.
I thought that was one of the more insightful lines in the piece.

Perhaps you should take the time to refute the logic.

I was surprised to see a comment like yours. If you can't be bothered to make a reasoned comment, then don't write anything.
I've been following (or, trying to follow) the index investing strategy for years on my own, and the final culmination of that was switching to betterment.com for my small savings and retirement accounts (no affiliation). They use MPT and a host of other things to take the decision making control out of the hands of the investor (except for risk tolerance) and provide a really great modern product to do that. And the best part is that it's probably cheaper than just setting up your own online brokerage account and paying fees for transactions. They charge a percentage fee for assets under management like a normal advisor might. Anyway, I just feel strongly that the robo advisor category is major win for average people trying to invest and I wish more people looked into it rather than getting killed in the market or paying high fees to managers. Lets you just put your money in and just focus on your own life and achieving your goals, which is often the point of investing for an average person. Wealthfront is also good, but from what I understand betterment has better returns (and I prefer their interface)
The go community reminds me of the java community. Blind faith in the design decisions of the language. Any feature it doesn't have is passionately defended as a good decision because the clumsy old way is subjectively clearer, up until the day it gets added.
Great comment. And really, neither one is right; they're just different.

Also, even from my western perspective, I can see logic in both positions. Programming certainly requires more skill than janitorial work. On the other hand, it's more inherently rewarding as well (at least to most people). So even outside of cultural biases, if there's sufficient highly skilled labour available, it makes sense for pay rates to equalize (and eventually for less desirable jobs to be paid even more than skilled ones).
There are a myriad of eCommerce solutions available, just see shopify or magento... . If you just want to get a 08/15 store, look at shopify and be done with it.

But if you want to build something that is unique or has special ideas/requirements or stands out against the thousands of standard online shops out there, have a look at meteor.com, a framework that needs roughly a day to learn (even for beginners), and let you develop websites/apps in a few hours. especially eCommerce stuff is among the most trivial things you can build as a developer nowadays. Oh, and you'll get iOS/android apps for free.
Show HN: Pebbos – A Pebble app to control your Sonos speakers
That theme has a slide-to-next/prev-post feature. Tapping shouldn't activate it but maybe it's buggy with some browsers. Opera Android doesn't (same engine of Chrome).
Big difference between the following two scenarios:

Simple, not easy (sweatshop)
Difficult, not hard (programming)
Per object vtable pointer, yes.
fellow electronic music producer here.
For me it's not so much about being tired. It's rather that late in the evening I finally managed to mentally "recover" from work.
New telescope array captures planet-forming disk orbiting distant star
Load balancing Django
Your collections don't have to be stupifyingly huge for a parallel mergesort to be faster. It's bad for a standard library to auto-parallelize because that's an unwelcome side effect. If you're writing some program where you actually cared about the performance speedup, in most cases having a sort function spawn threads or use threads behind your back in a way that your system can't control is completely unwelcome.
and yet, "new" and "delete" are amongst the very first things covered in every C++ tutorial book.
for example in Stroustrup's "A tour of C++", it's covered in section 1.6. without any remark about shared_ptr and friends.
The author of this article is a hacker from the time, when the word hacker meant something different than it does today. I remember his website from my early teens when I started using the internet via a dial-up connection back in 1998. Lcamtuf, glad to see you're still around. Your fellow countryman.
Motorola Droid Turbo Review: Synthetic Fiber, 21 MP Camera
Also the janitor adds lots of concrete, measurable value. Avoiding half of the company getting sick and/or quitting? Check.
Seems to be quite nice! Do you have a plan on adding an "Advanced" mode that allow editing the code?