skysight-inc/HackerNews huggingface dataset:
I really enjoyed this piece, there was a ton of truth in it and some really funny anecdotes. I've been lucky to only work for a Japanese company for a short time, and it was in fact a rather unusual company, so I haven't had to suffer through a lot of the other salaryman pain described in the piece, although without a doubt this is an accurate description based on hearing stories from many friends and family, both Japanese and non-Japanese.

However, I would caution against making this kind of comparison:

That said: is racism a bigger problem in Japan than e.g. in the United States? Oh, yes. Unquestionably.

First of all I don't think the piece makes any egregious mistakes in how it discusses racism--I want to make that clear. But as with many complicated things, the answer is "it depends," and in this case it specifically depends on who you are. (As a white guy living in Japan,) I think it's really hard for a white guy living in Japan to get a sense of how to accurately compare--as a random but probably highly pertinent example in the case of their respective countries--the experience of an African-American with that of a Zainichi Korean. The U.S. has a history with regards to those of African heritage, and Japan has a history with regards to those of Korean heritage, and those are both enormously complicated things. So I think it's simply best to acknowledge, "yeah, Japan has some stuff to work on, just like the U.S. does, and probably everywhere."

But I can say that it's absolutely the case that a white dude really doesn't have it that rough, and the racism I've experienced up until now (after 3.5 years here) is on the level of persistent annoyance, and I think Patrick absolutely nailed the most annoying thing I encounter day-to-day, which is this:

Imagine walking the tax return for your multinational software company into the local tax office and being asked, in a clerk’s best speaking-to-a-slow-child voice, “Who can I call (mimes phone) if I have a question (shrugs) about this paper (points)?”

...it makes me want to scream on a bad day, but I think he's also entirely correct that

Few things in life are worth fighting over. Fights that are worth fighting are usually worth winning.

At some point, your response just ends up being a shrug and the familiar Japanese "shouganai..."

(EDIT: a little for grammar and to clarify quoting from the piece.)
Not the author, but since the whole thing is defined in a header, everything has to be declared inline to avoid violating the one definition rule.

Inline hasn't had anything to do with performance for years (compilers just do what they want anyway), but it's somewhat confusing that the meaning was changed.
And now, to check how port it to TR3200 cpu...
the whole page is an iframe for this:
http://homepage.ntlworld.com/edmund.grimley-evans/bcompiler....
> There's nothing like them in Nim, Java, or C++.

Are you sure?

Nim supports direct access to the AST so macros can be used to define new programming constructs like in Lisp.

Also other languages support things like that (as library), Java for instance:

http://www.antlr.org/

http://tunnelvisionlabs.com/products/demo/antlrworks
a leak of the entire film could be a disaster. Lions Gate's Expendables 3 bombed in theaters when it was released
in July after a high-definition version of the movie was posted on sites that traffic in pirated films

Expendables 3 was also awful -- X-Men Wolverine was leaked very early on, and went on to do extremely well. How a leak affects ticket sales is pure speculation, I wish 'journalists' would stop talking about the harm piracy does without any substantiation.
> everything has to be declared inline to avoid violating the one definition rule.

Actually, methods defined inside the class definition are implicitly marked inline.
As European I always feel a big difference between cities that evolved in the course of millennia and cities (or parts of them) that have been built after cars. They have different patterns. It's not the grid, Roman cities have that too, (check Turin in Italy). It's the size of the roads, all the space used for cars' infrastructure, which separate buildings and makes those cities difficult to walk (first thought LA).

So an evolutionary theory of cities should take into account their environment, whether they are in symbiosis with something else (example: cars) or where they "live", on the top of a hill or in a plain, and which constraints they must obey to (regulations, space, etc).

This is going to be interesting.
It was common in the 80s and 90s when JIT and other efficiency ideas were actually exported from America to Japan, when unions ruled American automakers. As history shows, the Japanese took this margin and crushed American carmakers for decades; the pendulum is only recently swinging back (and that's with government intervention to avoid US automaker collapse due to their own incompetence).

It's not true, but that was a big driver of the sentiment.
Geoffrey Hinton: Dark Knowledge [video]
How the Berlin Wall Really Fell
what does he mean by "self-hosting" ? I mean it generates a binary.
I haven't had much of an issue with groceries/etc. Opening hours are good enough for me, typically 8am-10pm x 7 days a week (depending on how long ago you were in Copenhagen, that might not have been the case at the time).

I guess I'm not really attempting to integrate into Danish culture per se. I feel pretty comfortable with cosmopolitan Copenhagen culture, which is a bit different. Copenhagen is a really international city these days, and my group of friends is from a number of countries (Spanish, German, Greek, Polish, Italian, Swedish, Norwegian, Korean, Syrian, and yes, Danish). So unless we all become fluent enough in Danish to prefer it over English, we're going to speak English as a practical matter anyway. If you're in the central areas of the city, in my experience that's not uncommon— in a typical bar in Indre By, Vesterbro, or Nørrebro, the table next to you is almost as likely to be speaking English as Danish. It'd be nice to speak Danish too, just from a practical perspective I have little opportunity/need to.

I'd say about half of the cultural events are in English as well, so it doesn't even really feel like being in some kind of expat bubble. Especially anything to do with science or technology: game-dev meet-ups, hackathons, research talks at universities, etc. are mostly done in English. Looking at the talks at http://www.cphtalks.org/, for example (which admittedly leans towards academic talks), I count 50 talks in the coming week, of which 41 are in English and 9 are in Danish. Between that and having learned enough written Danish that I can read a newspaper ok, I feel reasonably connected.

I do think it's hard to meet Danish people, but once you know 1 or 2, it's easier to meet others. And Copenhagen is a great place to meet non-Danish people. I think I have honestly met more German people here than I would have if I were actually living in Germany.
The claim I make is that if a woman is on facebook/pinterest/etc, she clearly has the time/connectivity to use github.

Mentally it is certainly different - but discriminating based on mental differences is entirely the purpose of a hiring filter.
Or being a half-Japanese, half-white American. I seriously believe this is one of the worst racial profiles to be in the land of my ancestors.
What kind of experience do you need to get started?
Julia: A fresh approach to numerical computing
I had to register for this. You have pretty much tried to invent Either via code generation. I suggest you look at functionaljava's Either for further reference.

Code generation is in my experience a clear indication that the problem you have has not really been understood.
I get it - I'd meant "yes" in the sense of "yes you'd choose to be unarmed".
I'm finding it not too bad; the style is somewhere between 'C with classes' and EnterpriseJavaReallyLongNames, and aggressive testing has kept it working over the years. MFC itself is pretty intuitive and I like the window message system.
I think those stories are apocryphal. But regardless, the reason to work hard creating products is because it's intrinsically satisfying to do good work and be productive.

Build something to amuse and delight, to help people be more productive, to solve a problem, or to hone your skills. Making things is wonderful. Stealing other people's content and profiteering is pathetic.
It means it can compile itself.
It's exactly like that. For some use cases, that cost matters. Trove is a popular project that does just what you describe for Set, List, and Map.

For this library, if you stick to binary-core, you basically get what Java 8 provides out of the box, while also getting exception-throwing functional interfaces, static `unchecked` functions for concisely converting from checked to unchecked versions, and `bind` methods for providing currying operations.

So the full type enumeration is one part of it, but there`s a little more to it than that. I probably could have done a better job touting the other benefits.
> it should be obvious [Haskell]'s not a language that will ever become mainstream

If it is obvious then you should be able to explain why in a few sentences.
Western "society" isn't assigning "cultural" value when some American guy offers me his own money to build something he wants for himself. He's estimating how much money he can net from the deal after paying my fee, not judging my value as a human being. The same for those who hired me to mop their floors. The people paying me clearly estimated different dollar-denominated benefits to themselves for the different types of work done by the same person.

Yes, the Japanese programmer was talking about how "noble" the jobs are, but Western marxists do the same thing. If his objection was to people's attitudes about the inherent human worth of a janitor, well, I couldn't agree more, thank you very much. I was just as noble a person when I was a janitor, but what people were willing to offer me financially for my work made it clear that one type of work was more financially valuable to them than the other. Paying me for nobility hides a price signal that I can use to adapt my work so that it is of more value to others.

Pay for theoretical nobility ought to mean equal pay for everyone, which is the kind of economic inflexibility that is ultimately self-limiting.
Not any more than folks in any other Western country. I don't think there's any particularly pressing need (like there would be in, say, Nigeria) but at the same time I'd be totally okay with it.

I worry when Governments go out of their way to disarm their citizens; even if they're benevolent at the time, they often don't stay that way. Look up the history of disarmament in pre-WWII Germany and Russia.
It was good to see the end of this evil totalitarian system, where the Stasi would spy on civilians and monitor and record every telephone conversation.
Receita de bolo de cenoura com brigadeiro quente
Perhaps kickbacks?
Should've tried Kickstarter instead.
> Perl 5 may or may not be 'incoherent'. It is certainly somewhat idiosyncratic. But so is JavaScript, perhaps to a lesser degree.

I think if "it's not a lot worse than Javascript" is the best you can say in its favour...

> Perl 5 in the large requires some somewhat different (but not too difficult) disciplines. But that's not so different than most other languages.

The problem I always saw was that libraries would follow their own styles, so once you had a project that depended closely on several different libraries you'd be forced to cut against the grain of several of them. It's a problem that's lessened in a language with a single standard way of doing OO, a single standard way to do event-driven I/O, or even trivial things like code formatting. Maybe the perl community has found more of a consensus in recent years.

Nowadays I work almost completely in scala, which some people compare to perl, so I'm concerned about not repeating perl's decline in popularity.
The older webOS devices are incredibly hackable on the software end compared to any other consumer electronics devices I've dealt with. Far more open than Android, much closer to an old-school Linux distro even then some desktop distros, easy dev unlocking (and good tools!), and Palm/HP even used .ipk as their package format. I loved my old Palm Pre and HP Touchpad until they both eventually died violent deaths (technically one still runs after a 5-story fall onto marble, but it's not happy). The homebrew community rather quickly got an X server working complete with a couple of common desktop environments. Or rather I should say X servers plural, you could launch more than one and flick between them like any native app.

With a bluetooth keyboard and mouse I could work much more comfortably than with the exact same hardware running Cyanogenmod. Being able to do Perl/Ruby development and run a real RDBMS is possible on Android, but it's not natural. When webOS came out GUI was also more pleasant than Android or iOS for a lot of things and definitely better at multitasking, but they couldn't compete in the market. Luckily some of the webOS UI folks ended up at Google and Apple (and some had come from there), so things like the Android notification system benefited.
On the subject of interesting magnetic effects, a lot of people don't know that pretty much all matter is magnetic, just that the strength of the interaction is a lot smaller than what we're used to with ferromagnets.

All materials exhibit a diamagnetic (pushes against the field) effect, but in many materials, that effect is overwhelmed by a competing paramagnetic (pushes in the direction of the field) effect. Most of the things we call "magnets" exhibit ferromagnetism, which typically produces much stronger forces than either of the previous two.

H2O is particularly interesting, because it's actually diamagnetic, and will push away from magnetic fields. Given a strong enough magnet, you can have a lot of fun with this effect by putting common water-filled objects in its field:
http://www.ru.nl/hfml/research/levitation/diamagnetic/
Are these works (esp the latter) accessible to people with no economics background, but a decent foundation in maths (calculus & algebra) and basic statistics (distributions etc)?
Detect not well implemented design patterns in C++ automatically
Hiring Happy Mobile Engineers to Help Solve Email
Streak.com (YC S11) is hiring a curious mind to develop our Android and(or) iOS Apps. We're two technical cofounders growing a small team (<10) to expand on our mastery of Gmail. There are a billion users of Gmail, and we're making it better. How do we know? Our (paid) users love us! At Streak, we:

LAUNCH QUICKLY - Our App(s) will be your baby(s). No PM, exec approval... just listen to users and build them something amazing.

INNOVATE ON GMAIL - Make a mobile app with Gmail's audience, without being on the Gmail team. We're also cooking up some really exciting things in our secret lab.

FEEL THE LOVE - Your work will have a direct impact on making the lives of our users more organized, efficient, and better. And you'll hear their gratitude!

Today we’re focused on business processes (sales, hiring, fundraising, customer support, bug tracking, product dev, etc). Tomorrow we’re on track to build the system that solves email for PG and many others.

Benefits:

- Real ownership (equity)

- Real ownership (product)

- All the benefits you'd expect (and open to suggestions)

- Well funded by elite silicon valley investors.

Our requirements:

- Intellectual curiosity

- You have a mobile native app to show that you've built or significantly contributed to

- Local to SF (Not hiring remote work, currently)

Tell us why you'd be a great fit:

mobile@streak.com
It may be! It would be pretty cool to do something like:

import net.mintern.functions.auto.ObjCharToBool;

and have the generate-classes stage be able to see that import and automatically generate the requisite interface. Of course, the IDE might not be happy until the first compile, but that seems tolerable.

It seems like Project Lombok has some similar issues... I'll have to see how it handles them.

That would also allow an arbitrary function signature, though I personally think it starts to be better to write your own @FunctionalInterface for readability reasons once you hit more than 3 arguments.
100% Paypal Money hack  with live proof
100% Paypal Money hack with live proof This tool will give you money and it is really free!
Yes you heard it right! Unlimited free Paypal money on your Paypal account.
Buy anything you want, withdraw as much as you want!. http://freemoneyhacker.webstarts.com

Hi Guys... I have the Payoneer Card Loader hack with Live Proof Updated i recharging my Prepaid Card
@ $10,000 every 3 days. its 100% Real check it out here http://payoneercardloader

Congratulations! I'm about to reveal to you a SECRET mass traffic software to earn up to $4000 in one day.
Get ready to be SHOCKED! http://masstrafficsoftware.webstarts.com

Have you ever wanted free and working PayPal Money Hack? If yes, then you are on the right place!
Do You Want To Make Easy Money? http://instantpaydaynetworks.webstarts.com

Click Here ? to watch PAYPAL MONEY HACK 100% WITH LIVE PROOF
https://www.youtube.com/watch?v=5ae4W44c5iA

Click Here ? to watch payoneer card loader hack
https://www.youtube.com/watch?v=sslfj8zOytc

Click Here ? to watch paypal money hack with live proof
https://www.youtube.com/watch?v=Z1z9NXHkOkw

Click Here ? to watch mass traffic software
https://www.youtube.com/watch?v=H-QbDPNeoJU

Click Here ? to watch Reverse Your Diabetes Today
https://www.youtube.com/watch?v=9iOudcsjG00

Click Here ? to watch venus factor
https://www.youtube.com/watch?v=v50-Aq3FvAY

Click Here ? to watch payonner free money
https://www.youtube.com/watch?v=UFqL0VCJG9A
The fall of the Berlin Wall [video]
http://softwaresin.com/uniblue-speedupmypc-2014-serail-key-f...
How to Get a Car Loan on Bad Credit Almost Instantly
you mean AL-e-um? (w/ British overtone.. :)
The most fascinating aspect of this is that he sounds like an absolutely ordinary guy 'just following orders'; it's likely what he actually was and has been.

The evil of legitimizing immoral actions is that they become what is, within that context, justice.
> Maybe if the entire company had everyone at the same pay, and any excess income was taxed for the use of the whole society, I could see it.

I think that's why this works in Japan. The American notion of these CEOs earning millions (and then getting extra millions in bonuses even when they screw up or are fired) is very foreign (as the article says, the company will keep you in style appropriate to your station, but in more subtle ways). The conglomerate pays everyone similarly, makes modest profits (which probably means that some parts of it are losing money big time, and subsidized by the profitable divisions - but it would be unthinkable to just close a division and fire everyone) and returns them to shareholders, who are at least perceived as being mostly ordinary folks saving for retirement.
I am glad that there are new Linux compatible boards on the market almost every week.

http://linuxgizmos.com

I have the impression that the competition of Linux implemented UEFI/SecureBoot just to lock Linux out from "their" boards. I wish the Linux community would stop to support UEFI systems completely. Linux pretending to be "Win 8.1" to outsmart the bootloader is not an acceptable solution.

The Linux community has a much better choice in embedded boards, and they should support the makers of those boards instead of buying UEFI products. There are a lot of boards which are powerful enough to be used as full blown office PCs. Soon we will even have ARM quad cores with 4 GB, dual HDMI and full SSD support. This is the way to go!
I visited Germany several times before the wall fell. I can remember taking the train from Berlin to Munich which passed through East Germany. We stopped for some reason and there was a biergarden right there. The trains windows were open and a waitress addressed me in English and we started talking. She invited me to step off for a beer assuring me that it was OK.

This seemed reasonable and as I reached for the door handle on the train someone grabbed my hand. It was the guy sharing my train car and who had earlier feigned not knowing any English. He said in clear English, 'don't do it the risk is too high. If the guards spot you they will prevent you from re-boarding the train.'

Turns out the guy was an IT consultant and we had a very pleasant chat on the way into Munich and I had dinner with him while I was there. The waitress was cute and I've always wondered if I'd have been lucky or gotten to know the inside of an East German jail cell.
Excellent sarcasm. Did mummy help you?
But CPU's have the overflow flag, that is actually set if the operation overflows?

You can't write that check explicitly in C, but you can in assembler. Available now, across the different hardware.
When you say "basis" are you talking about tax basis? Are you suggesting there is some positive tax implication to trading options? Or are you talking about something else?
> Likewise Smalltalk

Java happened. Business were already in the process of adopting Smalltalk.

Hotspot is a Smalltalk JIT compiler reborn.

Eclipse is Visual Age for Smalltalk reborn. It still keeps the old Smalltalk code browser.
Ask HN: Contemporary 2014 resources on SEO
Hello all,

I'm asking what resources are you using for creating SEO-friendly website.

The story about this question is that last such thread was 6 years ago [1] and I guess things have changed by now.

Anyway everything I'm reading consists a lot of words like "may be", "usually", "somewhat" and other non concluding statements that make me feel the whole SEO-business is actually somehow a SCAM.

I'm particularly interested in:

1. Infinite scroll navigation ( Should I include noscript tag and put pages links or what is the technique in general to make the pages indexed )

2. How to replace javascript UI elements with crawlable links ( for example a price slider )

[1] https://news.ycombinator.com/item?id=277259
I understand Either, and I would absolutely prefer to be using it. That was going to be one of my follow up projects, and it would depend on this one.

I took a look functionaljava, and it doesn't provide the following:

Either<IOExeption, String> line = Either.from(reader::getLine);

For that, you would need to have a signature like:

static <E extends Exception, R> Either<E, R> from(NilToObjE<R, E> f);

That's exactly what this library gives you.
High on humour, low on actual content. But very entertaining though.
I don't think I agree that multitasking itself is a dead-end productivity sink. Its necessary, sometimes, to put tasks in the background and let them complete .. where this goes wrong is when its used as a reason to ignore other tasks. That, again, is up to the user.
Uber said that the median driver salary was $90,766 for UberX drivers in New York, but reporters can't find one driver who made that much (google the slate article for details). I don't think that is really crucial to the success of the company, but it is crucial to my trust of the companies estimates.

Groupon or Zynga should teach people that a business model can expand rapidly and make money for a while, or attract enough invetment to appear viable. The question is: will this still be making a lot of money in five years? When they have to expand to less attractive markets? When they have to defend against copy cats?

It's not that it isn't a good business, or a clever company. It's just that at $25 bn it has to be a really profitable, really big company for a long time. Maybe.
Interesting idea but $10/mo is more than twice what I pay for a full dual core server with 160GB of SSD cached RAID10 and 1GB of ram...
Can you briefly outline where you've lived that transit outages are not common and bus drivers are not frequently jerks? I can tell you that it's also the case in Toronto, Seattle (well, bus service outages), San Francisco, and London, so I'm curious what you'd hold up as a good transport system.