skysight-inc/HackerNews huggingface dataset:
Canada and Mexico don't have open borders so it would seem silly for the US to have open borders.
lol zuck wasn't an "immature frat boy"

dude spent his time studying latin, programmming and taking psych courses.

evan spiegel of snapchat is more your typical transformation from immature college kid to billion dollar company CEO
DNA Fountain enables a robust and efficient storage architecture
Here is an analysis from a data-driven organization dedicated to listing, understanding and reducing biases in science records. They have covered the National Climate Data Center data (which apparently GISS uses).

http://berkeleyearth.org/understanding-adjustments-temperatu...

Edit: this discussion does focus on the U.S. network, where some of the articles you listed referred to data from Africa and South America, but assumedly the corrective techniques are similar.
>the propensity of certain governments (mostly the US and UK) to undertake extreme measures to get their citizens out of trouble in foreign countries

In Hollywood movies. In real life, from a lot of accounts I've read over the years, the local embassies/consulate/etc are not much help and not very eager to help either...
That is the (build) circular dependency. OK if you are happy "downloading jars", but not if you are packaging for Debian: check the dates on this discussion https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639910

Gnu make does not need make to build (it includes a build shell script for that), gcc can be built using any C compiler via a 3-stage bootstrap. But sbt, it seems, can only be built by sbt.
Show HN: Scroll through time
This reminds me of the effort by Sussman to teach physics by programming : Functional differential geometry [1] was discussed on hacker news before [2].

[1] https://mitpress.mit.edu/books/functional-differential-geome...
[2] https://news.ycombinator.com/item?id=7884551
Local Privilege Escalation for MacOS 10.12.2 and XNU Port Feng Shui
DNA is an attractive medium to store digital information. Here we report a storage strategy, called DNA Fountain, that is highly robust and approaches the information capacity per nucleotide. Using our approach, we stored a full computer operating system, movie, and other files with a total of 2.14 × 106 bytes in DNA oligonucleotides and perfectly retrieved the information from a sequencing coverage equivalent to a single tile of Illumina sequencing. We also tested a process that can allow 2.18 × 1015 retrievals using the original DNA sample and were able to perfectly decode the data. Finally, we explored the limit of our architecture in terms of bytes per molecule and obtained a perfect retrieval from a density of 215 petabytes per gram of DNA, orders of magnitude higher than previous reports.
What's the "most desirable passport" depends on how many want to get citizenship to the country issuing it (which for the US is quite a lot), not on how other countries receive it's owners.
Bitcoin’s “creator” races to patent technology with gambling tycoon
I love elixir and phoenix, I have started learning it around a month ago and it has been a eye opener, the only thing that I struggle are the error messages, sometimes I spend more time than I should try to understand where I made a typo, I am not sure if it's just me because I am so new to this technology or many ppl have the same problem.
Redshift restored my sleep cycle
That's correct. What this ranking is about is "world's most valuable passport for an individual who wishes to live and work in multiple countries around the world".

Still a valuable ranking, but it's a very specific one for a very specific type of person.
"So, they gave you the comprehensive pat-down?" "Yeah, I got the full Donald!".
Plus it has an advantage of having a half-life of ~521 years unlike tape storage
Wow what a lovely tool!

I used it successfully to delete many old Forks.

Just one request if you could give list with select/unselect for all the forks queued for deletion so we may can unselect any few of those repos just in case.
Cyber firefighters, Germany needs you! Firms asked to volunteer staff (2016)
I just think it's the nature of your field. The market for PMs is congested so when you're actually recruiting a PM you can set the bar very high and still expect a great number of applicants.
7 Scripts That Will Help You Build a Live Video Streaming Application
10x

Especially the American name thing. You can only know the disadvantages of having a non-western name if you've actually used one. There's a reason why so many ethnic (particularly Asian, from what I understand) lawyers use American "professional names".
Yes, DNA is extremely long-living!
There is precisely one person who can be productive with Penrose notation, and that's Roger Penrose.

You should see him do it, though - very impressive.
Have you been?
>How many communist countries have you lived in?

How is that relevant? I've lived in a country that wasn't communist, but had a whole communist vs right/centre civil war. And I've visited a number of ex-communist countries, and know people from there.

But this is not about what I've seen with my eyes, it's about what's recorded in history.

Note also that I didn't say "preferred" (as in making barter the dominant and/or official economy).

Barter was very common in communist countries for "black market" stuff (and in times of great crisis, for essentials).

Here's from Wikipedia, about the aftermath of the revolution in USSR:

Civil War ensued and the economy of the new regime became even more chaotic. With mismanagement rampant and hunger sweeping the land, the value of the ruble, currency of the nation, essentially collapsed.[1] During this interval, remembered by the name War Communism, money lost its function as a store of value and a means of exchange. A return was made by people in their daily lives to a _primitive barter economy_ (emphasis mine)

Also here are some more modern examples:
https://www.forbes.com/sites/timworstall/2016/12/16/another-...

And one not related to communism (as I wrote, barter was used in Western Europe and many other places as well, in rural societies, but also in times of inflation/depression):
http://www.naturalnews.com/052224_economic_collapse_Venezuel...
While action fallback sounds pretty useful, it feels like a framework solution to a language problem. The language just doesn't handle nested if statements very well.

Also writing elixir always feels like the lines of code are longer than the width of my IDE. It is so much text...

My Elixir (and phoenix) experience so far, has been far from amazing contrary to all the hype on hn all the time.
Just for curiosity, I would like to hear your thoughts about western europeans ;)
>That's a feature Luxembourg doesn't offer.

Yes they do. In small countries the situation is even more personal and usually the PM himself is involved every time a citizen is caught behind enemy lines.

Happened quite a lot when the US started messing around with Gaddafi. Lots of Europeans working there were very reluctant to leave and then they returned there immediately after and had to be rescued again.
Watching episodes 3, 4 & 5 of Captive on Netflix may disabuse you if that notion. Sure, if you end up in a situation that's politically advantageous to get you out of, and/or your family has good connections or can market your case well, you may get some state assistance. But it's far from a sure thing.
The GHC runtime has built-in support for memory profiling, it can produce a graph that shows a breakdown of the heap over time. After trying various combinations of flags I managed to produce a graph where one part was clearly growing over time. The corresponding function was a recursive function with two arguments, the first never changing in recursive calls. I rewrote that to a single-argument nested function, and that made the leak go away.
The memory only runs 20% faster (maybe?), but the GPU core runs more than twice as fast.
Artificial Intelligence trained to tweet like Elon Musk
Slack has to be one of the worst pieces of software I have seen based on what it does and how it behaves. It gobbles CPU and memory to do something that should require neither. It is offensively wasteful.
We do have a different small tool in Haskell that we are likely going to open source though :)
Just because you say it's "socially untenable forced immigration"
does not make it so. You have no evidence that it is, indeed, untenable.

Have a look around the suburbs of [Sweden] Stockholm, the city of Malmö, some of the suburbs of Göteborg or [France] the banlieux of Paris to get a view on what the original poster meant. There is no need for 'rants from "expat friends"' to form an opinion on the situation which has developed due to untenable migration.

Also, what do you mean by 'immigrant refugees'? There is no such thing as an 'immigrant refugee', people either come as refugee or as immigrant. You can claim that refugees are by definition immigrants. Objectively speaking this is true as they migrated from another country, but in the context of the discussion on migration it only serves to muddle the view as refugees have a special status, guaranteed by international conventions, whereas immigrants do not have this claim. This is an important distinction due to the fact that many immigrants (without valid claims of refuge) came along with the refugees from the war in Syria and Iraq. In some countries - Sweden being a good example - the majority of those claiming asylum fall under this category and as such did not have valid reasons for asylum. The insistence on grouping these different categories together only serves to erode the public support for true asylum seekers as the number of people 'hitching a ride' on the crisis quickly strains the capacity of a country to take up (true) refugees to the breaking point (viz. Sweden, again). Sweden has now 'closed its borders' (in theory, at least, in practice it still takes up around 50.000 per year).
Do many small countries have the ability to project power like that in the first place? It's not the will to do it that is a problem - it's the infrastructure to generate a suitable force and put it on the ground that requires a very long tail of people, equipment and money on permanent standby, and of course you also need the expertise and experience to do it.

If you're a citizen of somewhere like Luxembourg they just don't have the capability to reach across the world into somewhere like Syria and rescue you like the US or UK would attempt to.
Basic Income is Utopianism. It's appeal is a populist reaction to the uncertain times we live in. No different from rightwing populism such as Trump.

The other problem is its association with Socialism, which has been democratically rejected by the vast majority of countries.

So it really doesn't have much going for it.

The loudest advocates say that we must do something because technology will eat all the jobs, but that is just modern Ludditism.
Concept Shadowing and Capture in MVC and Its Successors
There's a bit more information on our Facebook page (https://www.facebook.com/MiraLabs.io/), but we're purposefully not sharing much at this time. What I can tell you is it's a consumer-targeted mass market augmented reality headset for under $100. Apps for the platform are built using Unity.
Amazon's AWS Outage Was More of a Design(UX) Failure and Less of Human Error.
https://www.linkedin.com/pulse/how-small-typo-caused-massive...
True Random Number Generation Using a Smoke Detector
> the point is not that "i get every job i interviewed for because i'm that good"

I'm not reading that in the quoted comment. But still

> "i get every job i really want because the enthusiasm fuels the interview".

why lead with that, to display confidence? Very well, interesting though that confidence is the argument to be made and so the presentation of the response has to agree with the argument. But that still lacks some sympathy and isn't constructive, when it's addressed at the lack of confidence (which admittedly seem obvious from posting about the issue on HN).

> nothing to do with a lack of ambition. enthusiasm is the only thing

Interesting, I'm not aware of the difference. I'd say ambition subsumes enthusiasm.
And yet Slack runs just fine on my 2016 12" MacBook, iPhone 7 Plus, and iPad Mini 4.
SEO Manager – Google Maps
Porsche Design Book One
Didn't Yahoo's Mayer ban working from home?

So, when she says burnout comes from not being able to do the things you love, like spending extra time with your family by working from home - seems somewhat hypocritical..
They could keep track of people as best they can, and shadowban them from all transportation using Greyball so the people couldn't function in society. It'd be kind of like getting blackballed for life from credit card issuers. Effective to the extent they can make a monopoly, probably more effective when it's a shadowban rather than explicit rules stating the person is barred from using the service forever.

It would be rather profitable to be able to hold the world hostage, single out whoever you want and make them hoof it. Particularly if they'd got used to using Uber to get to work or something. Long game would be making private vehicle ownership illegal, but that's very long term indeed. I'm just saying, you can keep going and every step of the way is increasingly profitable. Wall Street would love it.
"The U.S., by comparison, taxes citizens’ income no matter where it’s earned."

This is a common statement I see pretty often on the internet, often in the context of bashing the US. However, there's a big asterisk there if you look the rules up. If you're not making over 6 figures, you still have to file I believe, but you don't pay taxes. So the vast majority of Americans abroad are not paying taxes back to the US ($100800 / year is the cut off by the looks of it)[1].

I'm not saying it isn't annoying still to file with the IRS or there aren't people who are over the threshold getting burned, I just feel it's often a glossed over detail that puts the US in an unnecessarily harsh light, considering, again, most people won't be penalized financially here.

[1] https://time.com/money/4298634/expat-expatriate-taxes-us-myt...
This idea has been waved around a bit, but in the form of `impl Error` where `_` is. That is, inside the function the `E1 | E2 | ...` type is being built, and if you have automatic dispatch for `Error`'s methods then it will work with `impl Error`.

Actual global inference has never been on the table and still isn't.
Engineered lumber is quite common in the US for smaller buildings. When we renovated our house, the builder used an I-beam made of such material. I would be interested to hear if this is also being used for larger structures - I doubt if it would be possible to make a 10 story building out of wood.
This article is badly marred by a blockquote styling which fails to wrap lines and has text scrolling off to the right of the enclosing box.

Author, if you're reading, please fix this. Default blockquote styling is far preferable to what you've done here.

Thank you.
I have yet to see any evidence that they do it in higher
proportion that european-born population.

Evidence is available in abundance for those willing to look for it. Here is an often-discussed publication from the Swedish "Crime-prevention council" on the subject:

https://www.bra.se/bra/publikationer/arkiv/publikationer/200...

https://www.bra.se/download/18.cba82f7130f475a2f1800012697/1...

Similar publications are available from other countries, eg. The Netherlands:

https://www.cbs.nl/NR/rdonlyres/FA26E32C-250B-4D1D-B3B9-3508...

I'm a migrant myself (from the Netherlands to Sweden) so this thing is interesting to me. If you read these reports you'll soon find out that it is not simply the fact that someone migrates from country A to country B which makes him or her more likely to commit crimes. A simple look at the statistics shows that immigrants from certain regions to both Sweden and the Netherlands are actually underrepresented in crime statistics, this goes for people from eg. China and Japan. People who come from eg. north-African and middle-eastern countries are over-represented. Over- or under-representation in crime statistics is more a factor of culture and cultural differences than it is a simple factor of origin.
I believe there are conversations of being able to promote enum variants to full-blown types, though I don't know if there's any project for lightweight enums of types.
The title is wrong as it includes a piece of the abstract. The original title is "The Most Desirable Passports On Earth Don’t Include America’s."

Please someone remove the "visa" at the end as it makes no sense
I love this. It's such a depressingly accurate and concise depiction of the last office I worked in.
But it doesn't mean that rustc (or C) will fail to compile all programs, which implement given functionality.
Show HN: Espeakui – a text-to-speech interface with mplayer-like bindings
I'm fairly certain Roman concrete also relied on chemistry as an alternative to thermal energy in its manufacturing process, as thermal energy simply wasn't as abundant to the Romans.

The longevity may simply be a fortuitous consequence, though a highly significant one.

(A topic I should add to my research list.)
Pros, Cons of Using Brain Waves As Passwords
Naming things is the most fun part. At least in my opinion. Closely followed by creating the logo. Then going back to the naming again because for the original name you could not create a good logo.
I guess it depends on what you work on. Both of my primary Rust projects (a .NET metadata parser & a Game Boy emulator) are heavily dependent on macro usage, and they implement multiple new macros. Both do lots of binary parsing, so I use bitflags, enum_primitive and bitfield all the time. For instance, I use this [1] two-macro monstrosity to parse tagged unions from the CLR metadata.

[1] https://github.com/paavohuhtala/clri/blob/b8a9057397ef95c0de...
Quote from MM -

"When I learned in September 2016 that a large number of our user database files had been stolen, I worked with the team to disclose the incident to users, regulators, and government agencies.
"However, I am the CEO of the company and since this incident happened during my tenure, I have agreed to forgo my annual bonus and my annual equity grant this year and have expressed my desire that my bonus be redistributed to our company's hardworking employees, who contributed so much to Yahoo's success in 2016."

So does that mean no one pushed it up the chain
What about other positions? I'm interested in full-stack.
Because Electron (or whatever they use) is web-scale.
Adding more immigrants is a good way to destabilize the country. Just be the change you want to see. Man up, and create. Building things rather than destabilizing or disrupting other people is always the best thing for everyone. Just saying "oh all of you need to change, so let's bring in immigrants to force you" is a really strange mindset. It sounds quite unpatriotic to me.
I'm sure US citizens who have been trapped in Yemen for years without any assistance from their government will beg to differ.

The USG's propensity to help its own citizens abroad is a function of local power politics and the ability of the petitioner to create waves in Washington. Tread carefully before getting into trouble abroad.
Interesting. While Elixir syntax definitely requires writing more code, than for example Ruby which I use the most, I have not been struggling too much. Could you give some examples of these long, problematic snippets?

Also, what are the other things you did not like about Elixir/Phoenix? I am really curious to hear about them since, here on HN they are mostly praised and I wonder myself what are the cons (my experience has been great so far).
Amazon boss Jeff Bezos wants to start shipping packages to the Moon
3 Ways to Track Competition on Amazon Marketplace
Sure... until you want good medical care, or want to watch a play or that latest Oscar winning "art" movie... or even moderately interesting work at which point one of the mega cities is your only option.
Drivers can and should prefer passengers with a higher probability of being "good" customers.

Greyball seems to be a clever tool which attempts to predict the good-ness of potential passengers.

The unethical piece comes in to play with the heuristics injected in to greyball. (kinda makes you wonder if "grey" moniker refers to the ambiguity which comes with the territory of rating people)
"...with a single team of 5 and 2 channels".

Seriously, it's not about "running just fine", it's about how many resources it uses. Even the startup time is awful for what it does.

And the Slack team itself recognizes that there are issues -- as seen in TFA:

"However, these capabilities come at a cost: the desktop client can use a lot of memory. This memory footprint increases as the user signs into more teams, as each team runs in its own webview. More memory usage means worse performance, degrading our customer’s experience of Slack and their other applications."

and:

"At the time of writing, about 36% of active Slack users are signed into more than one team in the desktop app. 17% are signed into 3 or more teams, and 5% are signed into 5 or more teams. Each of these teams is running the full JavaScript web application and maintaining and updating the DOM tree as the state of the team changes. This application can consume between ~130MB (p10) and ~960MB (p99) of memory depending on team activity and UI state."
Declaring the new enum and implementing it are the boilerplate.
This project is related to a "life hack" of sorts where you get to process more information by listening to it read aloud. In this case its by a computer using the espeak speech synthesizer. One way is to skim text by setting the speech rate rather high and pause/slowdown if anything catches your attention.

However, sending large amounts of text to espeak is too fragile. If you miss a bit you have to restart the entire thing. If some parts are uninteresting its not possible to skip through it. But large amounts of text is where espeak is really useful. An audio/video player's interface on the other hand is very good for playback. So I made this, a TTS with (some of) mplayer's playback interface.

So I made this. It has evolved quite a bit with my personal use and I now use this much more than anything else I've made. This also means there are some leftovers when I thought the interface would go in a different direction. There's surprisingly little information about designing audio interfaces that I could find (so that I'd have a better chance of getting it right on the first few tries).
Gokrazy – a pure-Go userland for your Raspberry Pi 3 appliances
it WILL lead to social upheaval. People calling for massive immigration to Japan to "change things" is ludicrous. "oh you aren't good enough, we need to flood your land with unfamiliar people" so you can change to fit x standard. Absurd and racist.
The algorithms was triggered before any attempt to send the funds anywhere was made, and without any knowledge of where the funds were going, and with the stated concern that they might not be going to a charity.

Yes, we get it, it's ironic that the Red Cross didn't look so good either in the aftermath of Katrina, but this has literally nothing to do with Paypal or their algorithms.
I’ve Been Sexually Harassed at Several Jobs, Here’s Why I Never Reported It
The Black Community Needs Encryption
They use like 5 widgets (styled text, textfield, buttons, radios, etc). They could create their own UI toolkit with 1/10 the resources they have.
If that was true, Wii-U would have been an inevitable smashing success. But no.
Paypal is evil, but what are the alternatives?

AliPay? WebMoney? Bitcoin??
Clarification - this is not suppose to be competitively priced, it usualy goes as a bonus to some of more expensive car purchase.