skysight-inc/HackerNews huggingface dataset:
> A recent gallup survey says 150M people would move to the US if they could, the UK was a distant second at 45M

Now adjust those numbers to the population of those countries... oh look, the UK all of a sudden came out ahead.

All of these studies comparing numbers usually just boils down to "The US is big". It has been brought up elsewhere that Canada, for example, has more immigrants as a percentage of population. But of course when comparing absolute numbers to the US, it will look like peanuts.
Oh, I see. I assumed the 'it' in the post title referred to the 'Cheating Dalvik' that followed. Not that it referred to a more generic concept of bad-practise.
Cultural values define the economics here. The dowry is expected from women which ultimately end up with the groom once the bride leaves to live with the groom and his family.

The bride's side hence considers it a liability since there is a financial cost with no return.

The other sons are valued because they contribute to the work force. These sons will usually live under the same roof in a joint-family system.
If you say so :-)
I started mine few months ago. It's not big but by adding only 1 article each month, I come close to 10k users per months and 17k page views. My advice would be to start your own blog now, write what matters to you and do quality, not quantity.
Also, post articles on Twitter, Google+ Community pages and LinkedIn (if it's relevant to your job)
Jekyll: the Confusing Parts for Non-Programmers
Vancouver seems to get a lot more rain than London (about twice as much) and nearly as much as Glasgow.
Time for more companies to do engineering/product overseas then and not just open sales/marketing offices. I can't imagine having 10,000+ engineers sitting in one location/timezone where you often can't get the best talents due to visa issues be more efficient than say have three large offices with say 5,000/2,500/2,500 each in America/Europe/Asia and be done with it.
Sorry for your lousy experience with USCIS. I wholeheartedly agree with you that building your life stable is the more sensible thing to do than putting your life in the hands of a lottery!
Why would we stop judging?
It's interesting, actually. In some ways the US is actually the small-government low-regulation country that it likes to pretend to be, but in other areas it's just a labyrinth of aggresive mollases-paced bureaucracy. Examples:

Example: the DMV. In both Australia and the US the procedure for getting my licence renewed is the same. I go into an office, I fill out a form, they take a picture, and I get a licence. The difference is that when I did this in Australia I waited about five minutes and they printed my licence on the spot, whereas in the US it for some reason takes one or two hours and they print the licence in six to eight weeks. It's not that the California DMV appears to have fewer staff per customer or anything, it's just for some reason their procedures make no sense and nobody is able or willing to fix it.

Other examples: immigration and the TSA, but let's not even go there.
Hey, well, if you're going to engage in a practice that potentially destabilizes the entire global economy, why not do it in javascript?
I just played through Swordigo on a Galaxy S (the first one!) and it ran very smoothly. I am, it may be worth noting, using Cyanogenmod 11 nightlies.
Is there a Big Data / NLP / Machine Learning scene in Vancouver? I rarely see any Data Scientist positions being advertised in Vancouver?

I am a foreigner with a PhD in applied NLP from a US university and I have been looking at such positions in other tech hubs like Vancouver, Montreal, Berlin, etc.

But these types of jobs only seem to be in the Valley. I work in the Valley and I like it here but I want to move to a place where I can have a stable immigration situation.

US immigration may be cumbersome but the most interesting jobs in Big Data seem to be in the US.
Well the first thing you could do is to limit H1Bs to American companies (where the HQ is registered and run out of America and where the company is not a subsidiary of an international company).
When you look at the distribution of H1Bs, you'll quickly notice that most H1Bs do not go to people working for 'American' companies. Kind of defeats the purpose if you think about it.
You don't need blood. It's transmitted in sweat, saliva, tears...everything.
I'm an American who works in the EU. Getting my green card was not left to a lottery, and I had my permit in hand after three weeks.
Because a Google or Apple or Facebook can bid $100K+ to get someone a visa in this proposed auctioning system. A 10person startup couldn't reasonably.
The key thing about this is that objects can be pulled towards the device, rather than pushed away.
I understand, Dalvik uses 2 bytes to select a method found in the list at the start of the dex file and then to execute it. Is there any particular reason it is limited to 2 bytes ?
I've lived in Montreal (born & raised), Silicon Valley, and currently Vancouver.

You're right that in Montreal, investment dollars will go much further, and it is a more interesting city for a young person. If you are looking for a place to incubate, as a young company, Montreal might be almost perfect. Similarly, it's a great deal for a student.

But then you have to grow up and live there.

The tech talent pool is very thin, the laws are mindbogglingly perverse, and the taxes are very high. The French/English split becomes very difficult when you think about bringing more workers over from a non-francophone country, not to mention their spouses and partners.

Just like foreign students, a YC company that's growing up will probably want to get the hell out of Montreal.

At least in Vancouver you have some kind of chance to hang around, and if you want more techies there's a reasonable local talent pool, and people from the rest of the world don't mind moving here so much.
You're right, separate namespaces don't actually “solve” the hygiene problem, but rather place responsibility squarely in your lap. It's the usual trade of more power for the price of more responsibility. What you call “unsatisfying”, I call “open for more interesting constructs, if you're up to it”. I wonder how many attempts might have been made to create a macro system that combines wanted capture with hygiene...

As for article dates, I would expect a mature blogging platform to offer that choice without forcing you to insert the date manually, but then I'm not a blogger.
If he had just said "talented", I suspect it would not have been controversial (at least that part). But "talent" often hints at heritage.
Writing Testable Code in Go
>The 12,000 people dying per year from pollution in California costs the health system billions

Even if that number were true, does the "billions" come from a proper study which takes into account the fact that they'll inevitably die of something else anyway?

Also, air pollution from burning fossil fuels has been drastically reduced over the past few decades and will continue to be reduced as technology improves.

>There are no technical, or financial reasons why this can't be done. It just comes down to competence and corruption

One point one trillion dollars, in the presumably-optimistic case proposed. That's $30,000 for every man, woman and child in California.
I was being a little cheeky with that. I know position and orientation data can be quite noisy and getting clean good quality data is not simple
This is genius. A markdown for spreadsheets.

I wonder whether it would be possible to extend this concept to get more powerful features, inspired by spreadsheets (and programming languages maybe). Sometimes you need more than a sum or an average, but writing out the formulas in full, repeatedly, seems like a lot of cognitive overhead.

I see in this thread that Emacs org-mode has something like it, but I'm not convinced that stuff like

#+TBLFM: @2$4=vmean($2..$3)

matches the humane, readable, Markdown-esque approach that I'd want to use.
Is there really any value in this sort of data? Surely what you do is far more relevant to your salary than what language you do it in.
My direct experience trumps your theory. Cats can do plenty to attack people when they feel threatened.
Forget about Xbox, they could start by shipping a non-prehistoric version of OpenGL on Windows.
Try Pale Moon. Firefox with a sane UI and without the latest bloat and privacy violations, with the security patches and performance enhancements ported over.
backupninja
My opinion is that technology development is going to have to bifurcate -- or perhaps even split into three paths. No longer can you simply sit down and code something. Instead, you'll need to code some set of "rules" (this system can't use the internet, it should never access the GPS, and so on) at the same time. Technology will "run" when all the separate systems agree that everything is behaving correctly.

We've tried to do this with various XML/manifest declarative constructs, but the problem is that these constructs just rely on subsystems which are themselves insecure.

These systems will have to be baked into the metal, and they're going to need to come from different vendors.

Unlikely to happen, but that looks like the way forward.
This type of thing has been my experience dealing with many US agencies from federal/immigration related to the local/state level. Recently I went to California's DMV to renew my driver's license. I wanted to do this 8 months before it expires, because at the time it looked like I will be outside the country for a couple of months for work.
To my utter surprise, I was forced to take a new written test because you can only 'renew a driver's license within 6 months of it's expiry date' without taking a new test. How this makes sense AT ALL boggles my mind. I could understand having to take a test if you lapse your expiry date and try to renew, say, two months too late. But renewing EARLY? Why? How?
They also couldn't tell me what would happen to my (still valid) license, if I happen to fail the test. Thankfully I didn't.
I once did "outside of Cupertino" training. The best bit was the pens & notebooks with subtle Apple emblemising on them. It made me much cooler with peers when I did my masters.
Android Prevent Webview From Memory Leak – Engineering  garena
An important thing in what I wrote is that it only applies to certain sorts of free will. The sorts of free will it applies to include the idea of 'free will' that many scientifically educated (and usually philosophically untrained) people have. Let's call it the 'natural' or 'naive' idea of free will. In that view, free will and determinism are incompatible.

However, as others have pointed out in parallel answers, there are 'compatibilist' views in which free will and determinism are compatible. The sorts of 'free will' that those views apply are different from the naive idea of free will and the important point to take away from that is: it may not be clear to you or me what the phrase 'free will' actually means.

I do not subscribe to compatibilist views, because they define 'free will' as something that I do not believe is worth wanting. However, that begs the question: what is a definition of 'free will' that I do believe is worth wanting? And I have found that I cannot answer that question: I cannot define it satisfactorily in a way that is amenable to philosophical analysis, while all definitions that can be analyzed are unsatisfactory.

So it boils down to this: I believe it is important to have 'free will', but I cannot define what it means to have free will. As I cannot become unhappy about not having something that I do not understand clearly enough to reason further about, my life is effectively no different from never having thought about 'free will' at all.

So that's how I deal with it. In a way that is unsatisfactory to many people, because it seems to allow for a bit of 'insert magic here' just to satisfy my emotional need for the existence of some intuitive notion of free will. To which all I can say is: yes, I believe that believing "I don't understand" and being happy is better than believing "the best answer we can come up with is depressing" and not being happy.
Thanks i'll see what I can find in the morning.
obnam is pretty good.
That is a very good point. If you have data lying around, you might as well take a look at it, but think two and three times before you spend time and money collecting new data.
When 6 months down the line your car's manufacturer decides your car isn't supported any more and wants you to change to their new model that only comes in automatic transmission, has a spike instead of a driver's seat, doesn't allow you to go above 15mph, and transmits your GPS location in realtime to the police, then yes, it makes sense.
Magnetohydrodynamic drive
High-contrast Computational Caustic Design (SIGGRAPH 2014)
>That means you don't ever get suggestions or autocompletion in the search bar.

Perhaps some of us care about our privacy and don't want that?
According to mozilla, only 1% of users are technically competent and customise their browser or use advanced features. As for blocking ads, you can't - lightspeed is designed to make the browser a passive content consumption device like a TV. Welcome to the Brave New World.
When Robots Take All the Work, What’ll Be Left for Us to Do?
1. Saying someone said something is a personal attack? Let me rephrase: "The textual information that became visible to me once the reply button was pressed on your computer" — or is my use of 'your' still out-of-bounds?

2. I didn't include enough detail in my post to actually conclude whether my appeal to authority is fallacious, since that entirely depends on in what manner I'm citing the authority. On the other hand, the post I responded to contained implicit appeals to supposed authoritative information ("There is a universal correlation...", emphasis mine) and the subsequent conclusions based on that authority.
AddThis tracking using canvas makes impossible to opt-out. What do you think?
People keep saying that in this thread but I don't see why. It's a unique enough name, and the entire first page of results is relevant. What's so bad?
Get your designs converted to Shopify E-Commerce website
Um, no. The model suggests that particles would be entirely predictable unless acted upon by an outside force. It doesn't matter at all if "signal-sending things" are deterministic or not. This "free will" wouldn't exist in the physical world, it's metaphysics.

If the pool table were the universe, the course of the billiard balls is predetermined until the shooter shoots. No shooter, no change.

If the solar system were the universe, the planets would be deterministic until the aliens blow up Jupiter. Aliens don't exist? Then the planets would be entirely deterministic for the full course of their lifetime.

If the universe were the universe, all particles are completely deterministic, unless spooky ghosts make magic. Whether the spooky ghosts are real is a question of gullibility.
Do hiring managers expect candidates to hav side projects or hobbies in IT?
A GoPro timelapse is also called a prolapse.
Agreed, Fabien's work is fantastic :)
I recommend monit for keeping processes like these running.

http://mmonit.com/monit/
Buzfeed longform is really good, the idea is that they want to do more of this and with video as well:

http://www.buzzfeed.com/longform

This was a great story:

http://www.buzzfeed.com/susanelizabethshepard/wildcatting-a-...
Improve your Chrome experience using Speed Dial 2
GDB uses a system call(s) to attach to the running process[1], and python exposes an API that lets you evaluate code in the current VM context[2]. Specifically, https://github.com/lmacken/pyrasite/blob/develop/pyrasite/in...

[1] http://aosabook.org/en/gdb.html
[2] https://docs.python.org/2/c-api/veryhigh.html
Very true!
Just to think that today a Sergey Brin or an Alexander Graham Bell or a Jerry Yang or a Pierre Omidyar might not have been able to start their billion dollar businesses that employ millions of Americans, if they just happened to have not won a LOTTERY.
The system has always been broken. But it gets more and more broken as time progresses. Sad.
The word as used in the dictionary isn't religious, but 99% of the people are using with connotations of a sort of religious-mystical-woo.

(I refer just to the noun-form "mindfullness" and not all forms of the word, e.g. "to be mindful of [some specific thing]".)

Reading the article made "Asana" sound less like a business and more like a slightly creepy cult. Which, hey, if that helps them make money then more power to them, but they should be very careful that this kind of thing (meditating before meetings?) doesn't start turning into discriminatory hiring practices.
https://labs.riseup.net/code/projects/backupninja
http://www.rsnapshot.org/
Lets chat as well - I'm the founder of BitBalloon (https://www.bitballoon.com), we do static hosting as well. mathias@bitballoon.com
Regarding the Canadian visa situation, how easy is it for a non-resident senior Java dev to find a job in Vancouver and get sponsorship for a visa? Here in UK most companies will not even consider applicants who are not residents.
There is a way: https://github.com/creativepsyco/secondary-dex-gradle

The new gradle build system really simplifies a lot of things in terms of the build cycle
Motionlead Makes Mobile Ads Effective Again Thanks To Interactive Design
Recognised that cover right away - I remember paying a huge amount for a copy of this as a student back in 1996! Incredible really how the web has made such a large amount of educational material available for free.
Elementary OS 0.3 Freya Beta1 released today
It's a beautiful image free icon set with full transition animations. It's good for putting dynamic icons into sites and apps without booting up GIMP or Photoshop.
One thing I noticed is that the search presented on http://glittershark.github.io/reactable/ does not seem to work quite right - if I search for "Shawnee" then "Shawness" then "Shawnee" again without reloading then the found entries seem to be duplicating freely so I end up with 6 (and counting) found versions of "Shawness". Good luck with maturing this library.
love it! thanks for sharing.
URL2PNG – Screenshots as a Service
Ask HN: Who are some real fringe scientists?
and their works and who's your favorite?
OpenStreetMap Then and Now
Well, yes. A big part of the problem is the lack of terminology and models. "Software development" is a stupidly large scope, it encompasses activities that are comparatively as varied as backyard astronomy and heart surgery. There are many different kinds of developers and many different kinds of software, but we lack the words to express the differences clearly. Which makes it that much more difficult to improve processes and standards. It's common for bromides and recommendations to be made as blanket statements applying to all software development, when it's clear that no one set of practices could possibly apply universally.

Worse, many devs aren't even aware this is a problem, and few people are working on fixing it. We're deep in a morass that will take a long, long time to get out of.
Try to raise children on one salary living in a high-cost city like San Francisco/Bay Area when the spouse can't work for six years. Then try to find a job after six years out of work. I have friends whose marriage broke because of similar situations.
This Week in Science – 10th Aug 2014
But that's part of the labour budget. It's like saying that small companies can't compete with big companies for employees, because they can't afford to pay them as much.

If your small company wants to employ someone then you have to be willing to pay as much as a big company will for the same employee. And that goes whether you're just paying salary or paying salary plus visa price.

The only disadvantage I can see to small companies is that a big company could afford to buy visas in bulk at the start of the year and figure out what to do with them later, while a small company wouldn't buy visas until it had a specific employee in mind. So I'd make the auction monthly, not annual.
Oh you will be surprised: Not every game requires higher Android version, they are mostly satisfied with c++, http://imgur.com/iX4dcL5

Card Games: Gingerbread (14%)
>Citation needed.

Citation provided:

http://www.rawstory.com/rs/2013/09/22/solar-and-wind-power-n...

>Solar and wind are still way more expensive per KwH compared to nuclear or natural gas.

Natural gas? Hell no:

http://cleantechnica.com/2014/03/13/solar-sold-less-5%C2%A2k...

Nuclear? Maybe, but there are still safety concerns. Plus, the nuclear liability cap subsidy is still FAR too low for me to be convinced that those safety concerns are invalid.

> Please show us figures demonstrating wind or solar production that costs less than $0.10/KwH

Solar power is apparently going to be sold to Austin Energy for a tiny bit less than 5¢/kWh under a new 25-year power purchase agreement (PPA) with SunEdison.

>I'm not anti-solar or anti-wind, but if they were cheap enough, we'd have MUCH more on the grid, and be planning for more on the grid. At the moment, we're still seeing isolated cases of experimental large-scale farms being built, but no "industry wide" construction rush like we're seeing with natural gas.

The difference is that natural gas has superior lobbying (it's also got some great PR teams who are 'greenwashing' it).

This is why cheap solar panels get whacked by 30% tariffs despite pathetic evidence of dumping and why frackers are able to cause all manner of havoc with groundwater, earthquakes and mysterious illnesses and push the costs on to somebody else. At best they pay out token damages - http://edition.cnn.com/2014/04/25/justice/texas-family-wins-... - but more usually, nothing.

Even in spite of that, the gas companies have been piling on debt to keep the fracking boom alive - http://www.bloomberg.com/news/2014-04-30/shale-drillers-feas... - which is a story that usually doesn't end well.

Solar/wind adoption has been growing very fast, but it's constantly being beset by political roadblocks like the 30% tariffs - usually erected at the behest of the carbon burning companies, who still wield vast political power in the US.

We're very much at an inflexion point where current levels of technology is capable of providing a cleaner, greener future at a knock down price. it's just politics now that is preventing it from happening.

Specifically, it's lobbying done by oil, natural gas & utility companies to hurt their greener competitors.
> If there's a bug in a library you use it would show up when testing your code that uses the library.

That's not true at all. You may catch some lib bugs, but not all, even through testing of your own code that leverages the lib. Unless you're implying that you'll pass every possible value to your tests which will then cover 100% of any and all code in the lib.
Stop this "immigration control" craziness. The reality in the US is sometimes, that it is easier for low-skilled immigrants to live in the US, than it is for high-skilled immigrants.

Why? Well, ask some of the 10million+ undocumented immigrants. They can live a better life in the US compared to their home countries, even undocumented. Tech workers or even middle-skilled workers take more issue with being "illegal" or "undocumented".

I think all immigration restrictions have to be put on the stand. Are they practical? Do they have a measurable benefit (beyond some hand-waving about supply and demand)? Do they have measurable negative impacts?