skysight-inc/HackerNews huggingface dataset:
I've found Amsterdam to really have everything I'm looking for in a tech hub.

- Super friendly and easy regulatory environment. The Dutch have regulations but there are actual humans you can call at almost any department to get an answer. It's really incredible. I've literally spent more time waiting in the line at SEA/TAC customs then I've spent combined at the dutch immigration service IND.

- Incredible internet. I have 500MB/50Mb at my house and it's no big deal, and perhaps equally importantly my latencies are incredible. The second largest peering point in the world is here: https://en.wikipedia.org/wiki/Amsterdam_Internet_Exchange

- Unmatched bicycle infrastructure and public transit infrastructure.

- Airport with incredible connectivity. I can have direct flights to most major American cities, almost all of Europe is a ~30$ easyjet flight away and Nairobi is an 8 hour direct flight.

- Pretty reasonable combined income tax burden. There's a 30% ruling that lets you exclude the first 30% of your income as if it didn't exist for most tech workers in NL.

- Reasonable rents (I paid 1450 Eur for a furnished 1BR, probably no where near average rent in Nashville but I live in the center.)

- Almost no homeless people. It's pretty great to live in a society that actually takes care of people.

- Tolerant attitude genuinely. Whether it's marijuana or prostitution in 2018 or other religions in the 18th/19th centuries, Amsterdamers don't really care if it doesn't impact your neighbors.

If you're thinking about taking the plunge and moving somewhere, drop me a line at earl at apolloagriculture dot com. DAFT (https://en.wikipedia.org/wiki/DAFT) makes it pretty easy to set up a Dutch company and get immigration to go with it. If you don't want to start a company/go it yourself and can code, send me an email.
I'd suggest instead: if you're going to eat meat, be picky about its provenance. Specifically, insist on grass-fed beef (as the corn-based diet of factory cattle is a major contributor to sick cows and the "need" for antibiotics). Voting with your wallet -- thus providing signal to the marketplace that how meat is sourced matters -- is more effective than opting out altogether. Not an option for everyone, but many omnivores could take this approach. Combined with options like "impossible burger" we might be on the verge of a tipping point towards a large and positive change.
104: Roasting Oracle, Kubernetes, OSS in 2018, Google, Breaches, and More
> As someone with a domain at home and a working email server

Maintaining your own email server is crazy and not feasible unless you're passionate about email servers.

It's also a false dichotomy. Nobody with any experience and common sense suggests that you should install your own email server. Use FastMail, use Protonmail, use Office 365, heck, use Google's G Suite.

Most such services have import tools that work and the option to work with forwarded emails and external SMTP servers, so migration can be smooth.

Seeing software developers complaining about migration costs makes absolutely no sense.

Just yesterday I migrated a GSuite account to FastMail. I just changed the DNS records and imported the email via FastMail's import tool, which was automatic. And with a @gmail.com address you can just work with forwarding until everybody knows of your new address.

I migrated email addresses several times, including from my old @gmail.com address which now no longer exists. It wasn't a tragedy.
Global tech leaders bet on IoT, robotics, AI to propel growth through 2021
If your whole world is asm and C, then I take it you don't care much about type systems. Bless your heart, you lonely programmer of ephemeral software, may you be employed gainfully fixing your own bugs for decades. The saltiness if mostly for entertainment, please don't take too much offense. For everyone else working at a level of complexity where mistakes are inevitable and costly, types are an essential bicycle for the faulty minds of programmers.

The article is not arguing that we shouldn't express or model the absence of a value. It is arguing that all types having to support "no-value" case leads to error prone code that has historically cost immeasurable amount of money and much credibility and respect. If everything can be null then it takes too much effort to null check every reference, so developers routinely forget or think they know better. Instead it argues that we should model the idea a possible empty values as a separate composable type. Then you can write a large percentage of your code with a guarantee that objects/type/values are never going to be nil, while still handling that possibility in the smaller error checking parts of your code base.

One interesting anecdote is that our team, working in Swift, had to integrate a crash reporting tool and verify that it works. The challenge was that we haven't seen a runtime crash in several months in production.

> A "nullpo crash" is one of the more trivial things to debug

If it happens in your debugging environment in front of your eyes then maybe. Some of us work on software that is used by millions over decades and would never get to see any reports from a majority of crashes.
On Firefox, I love the Owl - Dark Background app.

https://addons.mozilla.org/en-US/firefox/addon/owl
But expanded null checks could be automated by the compiler if so desired right? Without having to change the nature of null into an optional.

@MAYBE
if(a.getStuff().getValue() == "TEST")
more sites than what?
Thank you mrzool, I accept the criticism. I think I will try to understand better the use of system fonts (:
Was reading about Edge before posting comment so I guess I was bit too late to help :P
As someone commented: This creates couple winners, but millions of depressed losers.
Firefox Quantum also nags constantly about logging in and syncing devices, not that I'm against it, it's great when you have multiple devices and don't want to install the same plugins, sync bookmarks, etc.
please don't flush wet wipes, even if they are "flushable wipes"
Don't forget the absolutely terrible translation add-ons on Firefox
> I've been conscious to not put crappy advertising games on there, or anything with psychological hooks.

It's almost like reasonably moderating the content your child consumes will help prevent undesirable behavior.

I'm being a bit gratuitously sarcastic right now but that's really the crux of it. If it's trying to sell your child something or constantly stimulating them in a way the real world can't or it's not teaching your child something you want them to learn, be careful about how they consume it.

I'm nowhere near the age of having kids yet but I'm already thinking about the optimal balance of usage so my kid would be digitally native and not addicted to apps.
I use this chart from XKCD https://xkcd.com/1205/ to decide how much time to spend on something. Sometimes you need to do something that takes longer if there is a broken process that is only going to get worse.

I'm like the author, I do fix things as I find them, but only if there is test cases to run afterwards. I'm unlikely to mess with something if it's not fully hooked into our test environment.
The GP might be suggesting that it benefits both the employer and the employee here. The employee gets a better tax treatment and the employer can have a permissive approach to expenses when it might be politically difficult to officially give a raise.
Same way you eat an elephant!
I think Qatar is seeing the writing on the wall for OPEC. The US production is now high enough that OPEC can't really control prices anymore. What good is obeying the rules of a cartel who have no market power?

The real downside to all of this is that OPEC's restrictions to production in order to raise the price of oil also had the effect of reducing the use of fossil fuels. Climate change is real and atmospheric C02 plays a major role in it. With oil cheap, you'll see more SUVs on the road.
Many people at large employers do work on open source. Including some with large Manhattan offices. But living in comfort in NYC is a high bar and your options are fairly limited to work in open source, especially if you want to do so exclusively.
I think they mean desktop Firefox on a touchscreen laptop, rather than mobile Firefox. Personally, I can't imagine trying to pinch-zoom on a desktop, but maybe I'm just old.
Thanks, unfortunately not enough.

In order to use Payment Services, you must be at least 18 years old. You confirm that you are either a legal resident of the United States, a United States citizen or a business entity authorized to conduct business by the state(s) in which you operate and that you are an authorized signatory for the business you represent.

https://privacy.com/terms
It's odd, I suppose, but as a kid who grew up in America immersed in Hollywood movies ... we also recited movies to each other.

I'm in my 50s and have a friend who has uncles and cousins in the Colombo family of the Mafia. We would crack each other up at work by saying lines from The Godfather during boring meetings.
Man, I pay $50/year for my Fastmail account. I use a custom domain, so total cost is a bit higher, probably something like $60-$70/year, not sure. Moving from gmail to fastmail, given their integrated migration process, was a complete breeze. I still have gmail forwarding set up to my new email address, but I haven't logged into the account for well over two years at this point.

This reminds me to actually check how many emails I received over the past year that came via gmail. Off the top of my head I can only recall a single one, at least from a person I know and wanted to receive email from. I swiftly replied with my new address of course.

I'm going to stop forwarding now, and set up an auto-reply to give people a new address. Not my personal one, but an alias I'll set up in a minute, so that I can shut that down eventually too. Probably useless paranoia, but it floats my boat.

I don't regret the move one bit, and the whole process of setting up my account and moving all ten or so years worth of email from gmail to Fastmail was over and done within a week. Fastmail does what it says on the tin – it's very fast. It also pretty much never fails. In the past two or so years that I've had my account I have only experienced downtime once, for a few minutes. I made myself some coffee and then service was back again.

I am not affiliated with Fastmail in any way, shape or form – just a very happy customer.
Type erasure and reification
Missing Emirati princess 'planned escape for seven years'
In most cases, choosing to do creative or socially worthwhile work will result in lower pay. Corporate jobs pay a premium to get employees because the work they offer is boring, harmful to others, or otherwise unpleasant.

I would not expect writing open source software to be an exception to this general rule.
Actually in Kotlin, nullability is part of the type system and denoted with a ?. So String and String? are two different types. Dereferencing a nullable type is a compile error until you do the null check. Doing that triggers a smart cast to the non nulled type. So the inferred type becomes non nullable and you don't have to do any casts. You can force this cast by using the operator !!, which you should avoid for obvious reasons but is useful with some legacy code. If you get this wrong you still get an npe.

It also provides backward compatibility with java where java types are considered nullable by default unless other wise annotated with a @NonNull. Also you get nice warnings about redundant null checks.

This provides for a lot of extra compile time safety and it largely removes the need for Maybe, Optional, and other kludges that people have been coming up with to force programmers to replace null checks with empty checks.
Yes,they did. Shark Tank is the American version of Dragon's Den, as the article points out.
Uh, no? I tell my friends and family that Chrome is the new IE and they should get Firefox or a different Chromium-based browser. Stop projecting.
The point is the C lowest common denominator is a bit low. I'd like something that by dropping C we can be a little higher.

I'm fine with the ABI having an explicate this pointer (which python already does for classes) which allows C to call/implement classes as well, but it needs to be in the ABI (languages with first class classes can choose to hide the this pointer and v-table).

Operator overloading (which forces name mangling or something like it) is tricky though. As is exceptions. I don't have answers to that.
It seems free on Chrome and Firefox but £5 for Safari... :( Why?
Just for the record, I don't believe that 1Password has unit tests either. I was unable to find evidence of unit tests, but I did find this: https://discussions.agilebits.com/discussion/comment/156429/...

We have a tendency to compare opaque with transparent and balk at what we find, but I question what you would feel if you could see through the opaque.
Top 5 most ROI driven ML releases from AWS re:Invent
Tony Hawk’s Skate Jam Can Now Be Pre-Registered For
The FANGs employ a lot of engineers to work on open source — and so do many other companies, from IBM to Walmart.

That's enormous corporate subsidy of open source development. The opportunities today to get paid for writing free software are amazing compared to twenty years ago.
Your best guess +1 ;)
Slowest to implement things.
As for the traffic, you can thank the Koch brothers. Sigh. https://usa.streetsblog.org/2018/04/26/koch-brothers-and-dar...
Saying "We don't want to outlaw encryption, we only want to outlaw strong encryption," is a bit like saying "We don't want to outlaw pregnancy, we only want to outlaw being more than 90% pregnant."
> Is the rest of the world really better off if Google can easily be bullied and manipulated by the Chinese government?

I think you overestimate the influence they would have, have you noticed Microsoft or Apple getting bullied by the Chinese government? Both companies bends over backwards to please China, if they don't get affected much why would Google?
I've invested lots of time, but it's enjoyable. It's not work.
Puborectalis muscle
A congressman’s loss clouds the future of two demanding missions to Europa
I Ihave around 50 tabs in FF, but active only maybe 15-20. On Mac OS I see a standard problem when I connect external monitor after wakeup, FF starts to "eat" memory like crazy, until I either kill it, or it's crashed. I need to restart FF every 2 days to get my memory back. Here is screenshot from App monitor: https://www.dropbox.com/s/rh133wnhk1wgbe2/Screen%20Shot%2020...

Sometimes, after 2 days of work each worker consumes ~7Gb of RAM (on machine with 16GB of RAM)...

P.S. mostly opened documents in google doc, gmail, calendar, JIRA/Confluence...
I spent hours and hours with Robot Odyssey when I was 9-10 and hours with Fisher Technic around 10-11 because there just wasn't a ton of other games on the family Apple IIGS. On mobile so sorry no links but the former is basically robot programming with logic gates. The latter was scale industrial hardware and software. And yeah. Now I'm a roboticist.

Also I did a ton of engineering and robotics extra curricular stuff through the years. Then one year we got broadband and I got Lego Mindstorms. I took it out of the box once. I still feel bad about that gift.
It depends on the environment and the employee.

In the cases I personally know of, there was at least an element of the employee believing they had been cheated out of something: perks being removed, legitimate expenses being denied for seemingly arbitrary reasons.
I don't think they are second class citizen. I think that a lot of Swiss women are more privileged than their spouses.

A woman with kids can choose whether to stay at home or work (full or part time at their discretion) and plenty of women choose to be stay at home mums.

No such choice is given to most fathers.
It's about the time hipsters started to take an interest in vim so not too surprising.
Contemporaneous hn discussion:

https://news.ycombinator.com/item?id=6830566
There are FF/Chrome extensions that make Netflix run at 1080p. It is a DRM problem but apparently the DRM is not very effective.

https://addons.mozilla.org/en-US/firefox/addon/force-1080p-n...

https://chrome.google.com/webstore/detail/netflix-1080p/cank...
Latest version on MacOS
It's one of the primary gestures of MacOS, and is in heavy use with casual users. It's f.x the primary method of reading material on websites that my parents use.
Weekly newsletter on European startup scene
This is precisely what I have done and it's worked great. All services I use (and care about) I've changed to use service specific aliases now and it works fantastically well. Effort wise I'd say I spent probably a couple of days migrating some ten odd years of email from gmail, setting up domains etc. All in all, the migration itself was done within a week. Only maintenance I do on this setup now is send receipts to my accountant, and update credit card details when needed.
I switched back to Chrome on Android, and will stay there until FF Mobile and LastPass start playing together nicely. I'm not sure which party is responsible, but it's a dealbreaker in general for me.
The quick answer is: it makes it possible to work on project full-time. Only 1 of 2000 makes a donation https://darkreader.org/blog/500k-users/
9/10 times when I encounter a bug either when doing web dev or just browsing the web, it's because of Chrome/WebKit improperly implementing standards.

It's not Firefox's fault if people aren't testing their websites on both browsers, just like it wasn't Firefox or Chrome's fault whenever people only tested their webpages with Internet Explorer and its mess of exclusive APIs and deviations from standards.
I keep my gmail because my self hosted email’s ip sometimes gets put on spam lists (probably by gmail admins.)
There's also an underlying conflict between Qatar and Saudi. It's not going to turn into a war while Saudi is still engaged with Yemen and Iran, but: https://www.theguardian.com/world/2018/sep/01/saudi-arabia-m...
Dark Background and Light Text is great also ...

https://addons.mozilla.org/en-US/firefox/addon/dark-backgrou...

Fully customizable so you can don't have to go full black/white, you can copy and dark theme you like and use that as a default.
Forgot to mention the country (and everything else) music scene. You can go out every night of the week and be entertained with varying hybrids of sub-genres. Usually under $10 or no cover at all. In certain ways it possibly resembles the energy around the New Wave / Danceteria / HipHop / Art / DIY culture in NYC in the 1980s ;)
> Absolute Beginner's Guide to Emacs

Use vim.
John Dingell on How to Restore Faith in Government
I don't see how this would be a long term solution. The bacteriophages would evolve to expand, or even switch their host selection pretty quickly if similar non-resistant strains of E. coli are available. E. coli is a pretty fast adapter itself. It'd become an evolutionary arms race, and as we've seen from the Lenski experiments, that does not result in the destruction of the pathogen's host.
One interesting thing about these scooters is that their lifetime CO2 emissions are actually slightly less than a that of a vegan on a bicycle.

That is given the following assumptions are correct:

-A vegan on a bicycle has a carbon footprint of 22g/km of CO2.

-The scooters are Xiaomi Mi electric scooters with a 330Wh(approx based on specs) battery of the type with the biggest CO2 footprint(250kg/kWh).

-Electricity comes exclusively from coal(1kg/kWh of CO2).

With these assumptions the break-even point is 7500km or 4700 miles - that's approx. one charge each workday.
Ah, OK. Thanks.

For what it's worth: I didn't downvote.

Nevertheless there seems to be an attitude in certain circles that expenses ar a form of free for all.

My assumption is that you have a relationship with your employer, which pays you for work provided. If something stinks in that relationship then it's the stink, which should be removed.

I'm aware that this is an idealized view. Especially in the US where courts seem to be overly employer friendly, or, even worse, where employees are completely shafted by mandatory arbitration clauses.
I've been there and made it out. You're acknowledging you have a problem which is the most important step. Once you accept that you want to change -- deep down -- you've got the seed for change. Here's what I would do to make it grow:

Do you exercise? Even if you don't, do something that will just leave you completely physically exhausted. Run as far as you can, play a competitive game, ride a bike until you can't anymore. Just make sure you're so tired you fall asleep quickly tonight. You don't have to do this every day, but you need to go all out tonight. You're going to give your body a reset and mind a reboot this way.

The next day when you wake up remember that you made this decision the day before, and you have a whole new life in front of you. Say to yourself, "fuck yeah, this is awesome, I'm going to take control of my life again. I'm gonna be the person I know I'm meant to be."

After that, when it comes to work, set short goals and stick to them. Stay off social media. It could be "I'm working on this feature for an hour", and get it done. At minimum, try and get 1 thing done before lunch and one thing done after lunch.

When you get home for the day, I recommend another healthy dose of exercise just to get you to sleep again. After that it's basically wash, rinse, repeat except you start adding slightly bigger challenges and better habits into your life each day. Start adding healthier diet choices in, etc... Make sure you have a non-work hobby for pleasure to look forward to after work. If you really have to smoke (no judgment sometimes we need the escape from the rat race) then do it right after work (not before) and do some yoga or stretch or something instead of tv or video games. You'll feel rested, your body will exert some more energy, and you'll sleep better than if you smoked right before bed and you'll work better than if you smoked before work. As success piles up you'll lose the desire to smoke and you'll realize you don't need it.

The important thing to remember is you don't need to change everything at once, but if you need to break the cycle I've found that an intense physical use of the body is usually the best starting point for a reboot at any time in life.

You can change, you will change, you're still super young. I was in a similar boat at your age (31 now) and the post-college, starting workforce blues are a real thing. Took me some practice to get over it but it's worth it. Best of luck. Also this kind of post might be better for a reddit forum than HN, although generally the HN crowd gives better advice. :-)
There were other vi emulation modes before that. Vile was one. I believe evil is much better, though (I never used vi emulation before evil so I have no firsthand experience here).
Every now and again I am struck by a dreadful thought: "I will die in New York". I sincerely hope that the rest of my earthly existence won't flash by in this cesspool of a city, but it isn't my choice. Oh well.

Glad to see another person managed to make it out with their sanity intact.
Of course, but those opportunities within those companies are few and far between comparatively. Engineers that get to work on OSS full time probably represent less than a fraction of a percent of their engineering workforce. I think Wes was talking more about places where more/most developers work on OSS full time, which was what I was talking about. The vast majority of code produced by FANG is closed and proprietary.
The kids didn't care, it was just another think to talk about. Source: Have kids who's friends were/are obsessed with both brothers.
Quora hacked: Personal data of 100M users stolen