skysight-inc/HackerNews huggingface dataset:
Companies here just can't afford it. Canada's economy just isn't what the US economy is. Not only that, but income after the cost of living and taxes is just much lower. That was put on display recently when farming subsidies came to light, which essentially doubles the price of food for Canadians. (There are actually pizza restaurants smuggling US cheese into Canada.) So even if they could compete with salaries, it's not going to get you as far in Canada. As much as they try to patch things up with subsidies like IRAP, it's way too little to combat the drawbacks. Unless there's a drastic change in policies, Canada will never be able to keep talent in.
another anecdote here:

I went pescatarian 1.5 years ago and have put on 10-20 pounds. It's really been hard (for me) to feel full without those chicken breasts I used to make and the occasional steak. Fish simply doesn't keep as long. I end up eating lots of junk food :(

I don't think it's a bad idea. I just need to get more prepared, clever and disciplined. I actually wasn't looking to lose weight at all, just be healthier. It's been a surprise how hard it is to get back to my original weight.
Well, sudoku is a solved problem. This would amount to teaching a neural net graph coloring.
No questions, just a suggestion: implement the part where the terraform plan is added as a comment in the PR. We set this up at my current employer and it makes the review process much quicker (also, commenting on lines in the ~plan~ terraform code changes is the bee's knees).

Don't have the apply be automatic after a review is approved; terraform apply's occasionally go sideways and need human intervention (remember: rollbacks are not automatic). A human should always kick off the apply and monitor state change activity.
How can you create awesome wireframes?
FYI, Microsoft now has an emulator to run x86 programs on ARM. This is for future laptops/tablet products.
Need for speed and kernel datapath – recent improvements in UDP packets processing
I'm claiming it's possible to write Sudoku solvers that have some constant upper bound on execution time. If you read this as "a short amount of time", you are misreading it.

I'm also not saying that this is true for all Sudoku solvers, since you could write one that sometimes just decides to uselessly burn cycles for a few centuries before returning a correct solution.

Here's that simple argument again: Sudoku can be solved in time at most exponential in the input size. The input size of 9x9 Sudoku is constant. The exponential of that constant is a constant. Not a very interesting argument? I agree, so I'm dropping this now.
Sounds what you get if you sell what essentially are sovereign duties of a state to the highest bidder: An extremely lucrative system of modern-day slaves that have to shell out their hard earned below-market dollars to a rigged monopoly system completely provided by my buddies (of 10$/min landline calls, cash transfers with 50% fee, all kinds of shady "service charges") to extract the maximum amount of cash while they're in.

So what do you do if you're sitting on such a gold mine? Well, I'd probably fuel an endless and hopeless war on drugs, introduce mandatory minimum sentences and take a really, really tough stance on those immigrants. Keep 'em coming.

Completely coincidentally, the US has the highest incarceration rates on any halfway civilized nation on the planet by a large margin.

Free markets for the win.
That's right. The difference between picking up any stick and stone to hurl at the object of one's anger, versus pausing to consider what's right, is a test of intellectual honesty. This comes from a level that has nothing to do with Uber or whatever the surface topic is. We all have both levels inside us, so it's good to remind each other which should be operational in this community.

It is also a good test for the kind of commenting we want on HN—we want reflective comments, not reflexive ones—so yes, such comments should be flagged.
In this analogy, your home has millions of rooms that you're renting out. The people arriving in your home are paying just the same as the people who have lived there all their lives. Are these new arrivals adding any less value?
It sounds like you've been through the course - why not release it yourself?
One reason that is often over-looked is the green card backlog issue in the US that affects tech workers from India/China.

I'd easily make the choice to move to Canada where I can get a green card right away rather than wait 10 years for a green card in US. Salaries might be low, but one cannot put a $ amount on peace of mind.
The Art of the OKR
A more relevant way of putting it for me: Why do we have to have so many different corporate rules and processes when everything is working anyways?
Followed by the inevitable "Nothing's working, what am I paying you for?!"
My understanding from working with Canadian tech workers is the lure of Canada is that it is much easier to immigrate there than to the USA.
Okay, but what about gdax? Their name is literally global digital assets exchange. There's absolutely no excuse for this kind of nonsense.
I wouldn't be in SF running my company if Travis didn't decide to host this poor broke immigrant (me) at his house in 2009 (the JamPad) without asking anything in return. And like me, many others.

He is a nice guy, he helps people, and he has strong passion in hating the failure. Is Uber too aggressive? Maybe yes - but you need to be aggressive to fight regulations, governments, taxi cartels and the like all over the world.
Yeah, the media here have been deliberately exaggerating immigration uncertainty to draw attention.

In the land of facts, salaries are lower here, and taxes are higher. Liberties are eroding, and the cost of living is skyrocketing.

On the whole, you can work just as hard here for a whole number fraction of your salary, have less capital availability, and have less personal liberty. The best deal for the brilliant people at the U of T here is to leave, if we're talking about money and freedom. If we're talking about security, maybe a slight improvement for some kinds of people, but not all.
Can some folks also speak to the audit consensus on some of these? It seems with many of the newer / open source solutions, few of the end products actually got audited by a competent external security firm / researcher, right?
Europe doesn't need a ton of refugees / migrants but they have been flooding in recently.
Where do I short Uber stocks?
I don't think this holds water since Amazon engineers in Vancouver, five hours north of Seattle, experience a 30% pay differential from their U.S. counterparts. The simple fact is that quality Canadian engineers will accept jobs for lower pay. I expect that over time, the software engineering market will demand higher pay.

I hope OP does start that company in Waterloo to kickstart the whole process.
Of course the cigarette companies are investing in the e-cigarette business, like Philip Morris with IQOS. Smoking is a dead end so they are looking for alternatives.

Ultimately, like smoking, using e-cigarettes is smelly and unhealthy. Regulators aren't going to allow for them to be presented as harmless because they aren't and science isn't going to ignore the harmful effects because they do exist. The only reason e-cigarettes are not banned in all the places cigarettes are is because the rules are about burning tobacco and politics makes it difficult to change the rules.
I have two of their U2F and if the OP's problem is sales and support, I'm not really sure Nitrokey are without issues as well:

1) Ordered 2, received 1. Thankfully, support quickly sent the second one once I wrote to them.

2) Now they only work when I plug something else to another port to my Mac (no such problem with Yubikey). No reply since April 29: https://support.nitrokey.com/t/nitrokey-u2f-issues-in-macos-...

Edit: I now noticed they have a different U2F version — the previous one was a card that you fold to make it into a USB dongle.
Great post! I too had the issue with AWS volume attachments and the need to separate them out. Luckily it happened early during some of my first provisioning and we realized it before standing up more databases. I now have a policy where each server has a separate EBS volume, using a volume attachment Terraform resource, for any data. Inline EBS volumes are just used for the OS.

I've run into another similar type issue now and I think that I'm going to have to do state surgery like you. I want to refactor some of my terraform resources into modules, but this changes the resource names. I can't see any way to do it without either standing up new infrastructure or modifying the state directly.
Google and FB pay new grads $180k total comp, ~$110k cash.
Are there documented cases of them going after non C-Level folks? If so, their legal team must be massive.
> Just the correspondence between static type safety and the halting problem.

I'm not sure if you are saying that there cannot be programming languages with decidable static type systems. Because there are programming languages with decidable static type systems. Typically you cannot encode Turing machines in the type system, so you don't get the kind of problem you seem to be talking about. (But you haven't really explained what you are talking about.)
Mysql's unix_timestamp() breaks on years past mid 2038...so plan for that one too.
> why would you care about solving a class of problems with NNs when that class of problems already has much better solutions?

> NNs are like magic. They solve the problem for you so you don't have to learn how to solve it yourself.

Sounds like you answered your own question; am I missing something?
> get insurance which won't bankrupt you in the case of a medical disaster

As I understand it (I live in Canada), you can subscribe to an insurance policy and they can refuse to give you the money for one reason or another.
Income taxes: https://simpletax.ca/calculator

In some provinces like BC you also pay approx. $60/month for health insurance.

Sales tax is from 0% to 13% depending on province and types of goods / services.

Nothing like doubling of income tax happened, not sure why your google says that.
Fair enough. Keep keepin' this place awesome dang.
The https://gitter.im/amark/gun is the best place, but it is also pretty noisy with chatter. Else you can probably just keep your eye on Andre's twitter, he's posted his other stuff there. Anywho, would love to learn what you are working on! Shoot me an email or something. :)
How is it off topic to question these sorts of "well obviously it's so" sort of comments?
Yeah who the fuck wants to live in Waterloo Ontario when you can live in California? Lmao. Real Canadian Winter, and crap summer.

Many of the devs worth their dime in Vancouver end up remote working when they get to the Sr. level. Get paid in USD, and for 25-30% more in a stronger currency. Works out to almost 60% more?! also if you aren't a city person you can then move to one of the gulf islands.
Seems like you think that the legacy of slavery and institutionalized racism is equivalent to unkind words on the internet.

Personally I'd only call one of these 'shitting on other people'.
I'm not sure if this is a failure to obtain investment or a failure in obtain sources of revenue

Because even European startups seems to work out better
App Academy is extremely selective (less than 3%). Also there is probably sample bias, since these are all self-reported.
Would you please not post unsubstantive comments here?

We detached this comment from https://news.ycombinator.com/item?id=14539532 and marked it off-topic.
Can we say that the number of possible states that the universe can assume is finite? Can we further conclude that everything that is possible must fit within the boundaries of the universe and therefore everything is either O(1) or unrealistic?
If you're in danger of 'exploding at work' or have problems that can't be fixed through the proper channels, maybe you should focus on dealing with those issues and opening lines of communication instead of getting people to meet up at the bar after work to instill a sense of team that excludes pregnant women, older individuals, people with kids, people who don't drink, etc. I don't have drinks with my work buddies so that I don't explode. I have drinks with my work buddies because I like catching up with them and sometimes we're too busy at work to shoot the shit.

I don't think anyone has an issue with a few co-workers occasionally grabbing a brew after work. The problem is when people feel pressured to do so because the post-work ritual is replacing actual candid work discussion. Why? Well, its pretty simple. Not everyone drinks. Not everyone has the time to grab a drink after work. Not everyone feels comfortable in a bar around intoxicated co-workers.

There's a marked difference between a few co-workers grabbing a beer occasionally and friday night pints being the only place you can discuss problems you're facing at work.
True, if you lose your job and can't get on disability you're pretty screwed.
- This decade I knowingly wrote code that will breaks in 2038

Sure, but how bad was it really? Something you could fix relatively quickly with a little time and money, or an instance of Lovecraftian horror unleashed upon the world like so much COBOL code?
I have done 80 hours week productively from time to time but never for long. In startup I worked at we worked nights and weekends but a lot of it ended up being playing foosball and pool.
For my team you can email me at "jobs.av (at) outlook.com", but you can see from glassdor same salaries at Microsoft,Gooogle,Amazon are hiring in Kendall square.
The only time purple testes are not a cause for concern perhaps
They seem to have intentionally done this, by setting ::selection to transparent. I don't understand why some people think this is a good ideal, for colorblind people this is a real nuisance.
You act like every CEO takes a leave of absence when they experience a personal tragedy. If that were the case I wouldn't doubt it.
Just this weekend, I saw a friend of mine vape who'd never touched a cigarette. His arguments were "Relax, it ain't a cigarette." and "I only vape for the taste of the liquid."

I expressed skepticism that burning random chemicals and inhaling the resulting smoke is healthy. Good to have some evidence to back that up.
Unrelated tangent: It always baffle me how people view exchange rate as something that can "eat away your salary" and when you see people making statements like "it's so expensive in the UK, a pound is like 130% of a dollar". Makes me wonder if people who are only used to currencies that are roughly on the same scale view currencies in a different way than people who are used to 10x / 100x differences in currencies.

Don't mean to pick at your comment, but it's something I've seen around lately and makes me wonder.
They haven't had an IPO yet, have they?
The reason engineer salaries in Canada are low, especially for startups, isn't that companies are cheap. It's that there is no funding or support network for growing companies -- nothing compared to the valley.

In my experience seed funding in Canada doesn't mean "this idea looks like it's on a promising growth trajectory, here's 100K for a bit of equity to see what we can make of it". Instead it means "show us $500K in revenue and we'll consider you for a loan next year".

So what you have left are the smaller companies that happily feed their owner and not much else, or enterprise shops delivering established solutions in an established market for established rates (Canadian ones).

And the companies that do well and grow: they just move to the valley, because they generally can, and they have every reason to.

Source: I've lived both worlds.
> Guess what happens when supply increases?

So we should reduce the supply by forcing licensing?

That would lower employment in the field since it would require accreditation i.e we would get an increase in unemployment which is what reducing the supply means. And Canadian companies can't afford developers as is, and you suggest increasing the cost of said developers which would force Canadian companies to either change field or close their doors. How could this possibly help anyone but Americans and American companies?
> Did you watch the video?

I'm trying to formulate a reply, without sounding snarky, expressing the notion that a youtube video by "Vic the Vegan" claiming to have "debunked" an entire diet (which has more downvotes than upvotes, mind you) might not be a credible source and it's probably in no one's interest to pay it any credence. Especially, as it seems, that Vic himself has no particular expertise in the field (a field which is highly prone to Dunning-Krugerism). I'm sure if the video makes any good points you'll be able to formulate an argument around them.

> Studies show you are starving yourself

Have you read that link? I ask because it's obvious you have not as it speaks volumes to ketogenic dieting's benefit.
"""Fuel storage depots, like subcutaneous and abdominal adipose tissue, have a high calorie:weight ratio and are capable of meeting the energy requirements directly or indirectly (lactate and pyruvate powered by free fatty acid oxidation) for most tissues, without adverse effects. As we demonstrated, survival during prolonged starvation depends upon the ability of the body to spare the oxidation of vital proteins in the liver, muscle, heart, kidney, etc. Of special importance in this regard is the metabolic role of ketone bodies. Because of their association with diabetes, ketone bodies were long held to reflect a disease state; our research totally changed this view"""

Also, thepaleomom is not a good source.

> Starch based diet has cured heart disease and has taken people from high 200's to under 150 and even lower.

https://www.ncbi.nlm.nih.gov/pubmed/19641727

> Because you can stay on a starch based diet forever, which I plan on doing, as it really isn't a diet but a choice on the food I am eating. I am not hungry like all the other diets I have ever been on.

This same point can be made for a ketogenic diet.

> There are many other reasons to be on a vegan diet over just health like animal cruelty and environment.

Oh, absolutely. But that's nutritionally notwithstanding in this context. Like before, if you have found something that works for you, that's great, but it's ridiculous to say that anything else is somehow wrong or dangerous, especially when you can't claim any degree of expertise in the field.
Quick'n'dirty run down:

Income tax: province/territory and federal levels
Consumption tax: government level (5%) + provincial level (most provinces/territories) (this is close-ish to VAT)
property tax: municipal/provincial, like council tax
health care cost varies by province/territory.

Income tax has definitely not doubled. It's unchanged at the federal level.
Cosmic JS Developer Spotlight: Brian Mullis
I really wish I was exposed to strength training during my school years. It's sad I only came across it randomly while doing Crossfit in my mid twenties.
When I click a details link, it sends me to the Canadian Amazon link. Any way to fix that? Looks neat otherwise.
It's not a duty or responsibility. And it's not unproductive as a sibling commenter suggests. It's straight up counterproductive and a form of self-sabotage.

If your goal is to feel self-righteous and superior, by all means attack those who are showing genuine interest in coming over to your side. If your goal is to actually bring about a positive change in society, perhaps it's worthwhile to consider a different approach.
We've banned this account for trolling. Would you please not create accounts to break the site guidelines here?

We detached this comment from https://news.ycombinator.com/item?id=14534872 and marked it off-topic.
There's a very elegant solution using dancing links, I wonder could you teach a NN to essentially do that. Somehow.
So... ahem what other idiots came here expecting a post about troubleshooting Martian habitability?

::Sulks off dejectedly::
I think the "availability heuristic" is what you're looking for.

https://en.wikipedia.org/wiki/Availability_heuristic

The availability heuristic is a mental shortcut that relies on immediate examples that come to a given person's mind when evaluating a specific topic, concept, method or decision. The availability heuristic operates on the notion that if something can be recalled, it must be important, or at least more important than alternative solutions which are not as readily recalled. Subsequently, under the availability heuristic, people tend to heavily weigh their judgments toward more recent information, making new opinions biased toward that latest news.
> Having "too many developers" in a community doesn't mean a glut of developers fighting for scraps, it means Silicon Valley.

I think we might be talking about two different Silicon Valleys. The one here in the real world has a glut of developers fighting for scraps. Companies that have the luxury of being extremely picky and only hiring the best. Lots of interviewing and so-called "open positions" but not a lot of hiring.
It was run on hubris more than greed, and greed more than ethics. Actually it was probably run more on coffee, than ethics. And it was all wrapped up in a genuine innovation, backend and app for transportation.

I wonder if the Holder report ever sees the light of day, seeing as it's a privately held company still. If it goes public... maybe.

https://www.buzzfeed.com/bensmith/trumpian-tactics-have-fina...
Software isn't precisely zero-sum, but it's zero-sum assuming a static supply of companies to work for. Which ends up being the case in Canada, since

1. there isn't much of a culture of entrepreneurship;

2. there are few VCs, and they're pretty much all hyper-conservative, to the point that they may as well be banks.
I see what you did there. Good luck bypassing the filter.
The study I citied measured compounds produced by on-the-market e-cigarettes, specifically the EGO CE4 and Kanger Aerotank Mini.

While I'm not sure what temperature these devices target, what I know is that the researchers found that longer into a usage session the coils became hotter and produced larger quantities carcinogens.

My understanding though is that while e-cigarettes do produce carcinogens, they produce less quantities than regular cigarettes do.
Accenture: 5 Trends That Will Reshape the Healthcare Experience in 3 to 5 Years
Not every "personal tragedy" is the same, and losing someone close to you like a parent is a pretty major one.
Lookup Redox
> We settle for "good enough"

The main problem is investment. You just don't have the investment capital in Canada that you can get in the U.S. I'm not just talking tech, but throughout the economy. Lots of successful Canadian SMEs get bought out by Americans because there's no one here who has the balls to invest in them. In many cases, their (head) offices are moved to the U.S., further reducing the economic impact they had here and making the U.S. economy stronger. Canada is a perpetual SME incubator feeding the U.S. economy.
Yea, let's bring back that good old-time 15% homicide rate. That'll keep everyone equal.
It's not obvious to me that prison labor is immoral or equivalent to slavery. As long as the working conditions are humane and the garnished wages are principally used to subsidize the cost of their incarceration, I see no issue. Personally, I think prison policy improvements should start with common ground (e.g., guards shouldn't beat prisoners, prisoners should get prompt medical attention, etc) before we start worrying about issues that boil down to prisoner comfort.
"Open with" in explorer will not change the file association and I believe the checkbox you are referring to has disappeared as of build 15063.

In the Default App panel, if I go into Photo Viewer and click choose a default, I will only see Paint, Pain 3D and "Look for an app in the Store". No choice for a dialog with a complete list of app. Again you are probably referring to an earlier version of Windows 10.
Fwiw, it's very possible to make ~190k cash out of school. Just get a job at IMO.im.