skysight-inc/HackerNews huggingface dataset:
I take issue with some of these points.

> Property tax
> Schools suck
> Roads suck

I have no argument there.

> Sales tax

Have these been rising recently?

> Gas tax
> Gas peices [prices] are out of control

Gas prices and whatever embedded taxes they have aren't that bad. They're much better than their peak around 2008 at over $4/gal.

> The recycling fund was looted

I'm not familiar with this.

> Social security was looted

Do you have a citation for that?

> Trump just announced today to the NRA that he just gave a shit-ton of military weaponry to the police “you cant buy this stuff” he said.

President Trump says a lot of things. Is there proof this actually happened?

> Corporations pay no taxes

You can argue whether they pay enough taxes, but I'd like a citation that they pay no taxes.

> Flint has no water

That's the city's own damn fault due to corruption.

> Legal marijuana is a scam from a tax perspective.

Personally, I'd rather we tax it heavily like cigarettes than to waste money incarcerating those drug users.

> Have you timed how many minutes a commercial break is on CNN?

They could use some more breaks.
Nice argument.
I've got a late 2016 MBP and the right command key does not register about 1/10 of the time I press it. I use that key a lot. I'm taking it to the Apple Store tomorrow to see what they say about it.
Do you have some example numbers here?
That is my point about it being woven into the economy such that you have no control over it.
"actually pays for online services(this will never happen)" - I used to think this with several things, and that thinking was changed a few times.

Perhaps people paying for it is not "$10 per month" or ".01c per article". People could pay for their own controlled social network by sharing a slice of memory on their computer / phone / router and allowing access to their internet bandwidth for friends / family / friends of friends, and pay for something like scuttle / ipfs without setting up recurring cash loss through their bank card right?

As they learn they are paying with loss of privacy, loss of control, and other costs - how they choose to pay may change in ways beyond current thinking.
Yes, if you are okay with forgoing benefits and vacation and know the hiring manager, then you can often double your take home (if they really need you, or you have a special skill set can ask for more obviously). Often contractors are hired through recruiters and I've heard of at least one recruiter taking an additional 50% on top of what was being paid to the contractor, which would result in the salary you can negotiate being much less, so not going through a recruiter makes this easier.
I'm currently keeping an 'e' in my clipboard and using paste to type it every time I need it because my e key is totally broken. i, k and spacebar on the way out as well...
The latin way to say "my bad"
I doubt it is, too. It's probably seeded - starting with one individual, they collect every call. Maybe for ever person they call, they collect every call that person makes. If they're really worried, they may go one layer further. It's a way of tracing networks.

So if one of those people calls you, your call record got collected. If you are one of those people, all of your call records got collected.

But hey, NSA, you want to pick me? Trace some of those spammers who keep calling my cell phone.
It's as if RTFA was a real thing.
Report Claims Eight New Spectre-Class Vulnerabilities Impact Intel and ARM CPUs
are you suggesting that Paris is [more] affordable for software engineers? Quick check shows that the prices in Paris are about E10K per square meter - basically SV prices while salaries as far as i know are significantly lower there.

I have only vague idea about Barcelona - quick check shows like it may be on the scale of E5K per square meter (it was $100K per 2-3 bdrm 20 years ago, so 3x-4x today seems reasonable) So you need to have like at least $60K salary - do they have that there?

Again, i'm not against high[er] density. I'm against it being suggested as the panacea for housing affordability crisis - as far as i see it looks like it may even worsen the crisis (at least for some less fortunate people - like relatively affordable low income communities being displaced by upscale new construction like we have happening everywhere in SV).

Please just show where higher density did help to alleviate the affordability crisis. I think even the massively empty apartments in all these massively constructed ghost towers in China aren't falling in prices.
Yes.

ICOs give investors (better said: "token purchasers") no security rights. This is a point of contention between people running ICOs (tokens have utility value and are used to pay for services) and regulators (ICOs do not pass the Howey test [1] and are securities).

Right now token purchasers are either buying the tokens for the purpose of use or buying them speculatively with the purpose of the price going up over time as usage increases. Token issuance vehicles (companies) are oftentimes separated from the entity that is running the business to reduce legal exposure.

[1]: https://consumer.findlaw.com/securities-law/what-is-the-howe...
I don't really understand the "line in my terminal for everything else" reasoning, as I don't mind alt-tabbing.

But I really don't understand the "constantly opening and closing my editor" thing. I'm usually working on one or two projects at a time at most, and just keep a window open to that project. This is pretty much how most people work. Why doesn't that work well?

I'm genuinely asking btw. I'm not sure why loving vim is so correlated with working with your editor in such an unstandard way. (I mean, I'd guess it's the opposite - people like me come to vim for reasons having nothing to do with that, and try to use it like our old IDEs, whereas people who started off wanting to do everything in the terminal look for a solution and find that vim fits them. But that's just a guess).
I'm pretty sure there are some important details missed in your story, because you either don't know them, or don't understand why they are important. My European, but non-EU, friend is a software engineer with certified knowledge of both En, and Fr, clean records, and all that stuff, decided to go to Canada for some not particularly economically rational reasons (like love of northern nature). This year it's going to be the 5th year since he applied to Can immigration service, and he still waits for a decision. Meanwhile, a number of his coworkers landed in US with quite poor English, and worse qualifications.
No Canadian companies need to pay more. I suspect that Canada has inherited from the UK the attitude that STEM (apart from the Medical profession) is basically for greasy engineers who shouldn't be allowed to get to above themselves.
Thing is the Apple Watch is viewed as a status symbol primarily, despite Apple's marketing and messaging stating its a health monitoring/heads up display type device. Many of the people who buy it have no idea that it'll catch some potentially imminently fatal health conditions: http://www.dailymail.co.uk/health/article-5683089/Apple-Watc...

Its impressive how many people buy the Apple Watch without understanding what it offers.
Like, they are so ignorant that they don't even have the trivially basic information contained in the first paragraph of their wikipedia page. It's moronic.
Ut desint vires, tamen est laudanda voluntas.
Heh. I probably get at least half a dozen calls a day. I actually answer only about one a week though.
So you're saying the NSA isn't spying on Americans effectively enough?
Yes. It's standard on most shared web hosts.
What a horrendously condescending reply. If you want to do any one any good, the least you can do is elaborate.
That was really great. It would have benefited from discussing the type of apps they were building (estimated traffic, etc).

I'm curious whether the 70-90% savings include dev time as well?
Yeah, I guess like most things that's true to a degree. But, those turds have a way of coming back to haunt a project in the form of technical debt.

It would really be interesting if you could calculate how much the technical debt ends up costing on the average project, and whether it's worth the savings gained from leaving the turds in place.
I have issues, too, but it's with random keystroke repeats. The fingerprint button has been making strange noises since I got the brand new MacBook Pro. I'm hugely disappointed, but Apple is arrogant and won't fix this for us, though!
Two paragraphs in and I want to slap this guy

"That’s quaint" ... ugh. You're quaint.
Did using MySQL allow you to ship a product on-time and under budget? Or, to put this the other way, if you had used The Right Backing Store would you still have delivered the product in a timely manner at the right price-point?
By no means do I think microbenchmarks convey no useful information. My point is that they are never useful data in isolation, because the only time you can act on them is if you know why they are behaving the way they are. In this case it seems like the only thing being measured was String::compareToIgnoreCase, and the difference had nothing to do with the optimizer. In other cases the cause will be something else.

I wrote a blog post in response to someone's attempt to investigate different implementations of a small function through a sequence of microbenchmarks without asking why. I go into detail about a bunch of ways they ended up being wrong because they thought the numbers spoke for themselves. This only gets worse when talking about JITs, since their behaviour is even less local.

https://medium.com/@veedrac/learning-the-value-of-good-bench...
https://en.wikipedia.org/wiki/National_Security_Agency

Try having even the tiniest bit of an idea what you are talking about.
I fixed it for you. If you want it changed back, let me know.
I tried to use Hangouts last week with the latest Firefox on a beefy machine. While it wasn’t explicitly blocked, it froze the whole browser after 30 seconds. Never got into the meeting.
And then there's technical debt that is so vast that it engulfs the majority of programmers in solving poitless problems.
The iPhone SE is a solid device, perhaps the only reason to stick with Android is if you need faster speeds or notably better coverage on T-Mobile (which requires Band 71) as Apple's LTE modems aren't great right now.
This is really surprising, you'd think the opposite would be happening by now. I dont know why people are still putting up with paying silicon valley prices.
As mentioned, this is the retribution. The US has been enforcing their laws on the rest of the world with equally radical methods for many years already.
Go ahead and make your case, but 5-word throwaway pot-shot comments are cancer for HN.

Am I pretentious for changing my own oil, rotating my own tires, and other minor repairs to my car? I'm not going to defend the tone or all of the opinions, but recognizing how to exact as much control over your own life/ data as possible is valid. Especially, when others are advocating getting the federal government involved.
There is a peculiar cultural issue where many Canadians think of work as being granted a job as a reward for their virtuousness instead of being part of a market. You can hear it every time someone complains how qualified they are but unhappy with their lot. As though business were some great paternal force that gave out jobs and higher salaries for good behavior.

When you view this ostensible sense of fairness as entitlement to rewards for having merely complied with social norms, in addition to a general suspicion of deal making, it becomes clear why they will work for less.

There is also a structural problem in Canadian tech where much of the real money is made by "consulting," companies who exist as the result of it being difficult to fire and lay off employees, and the delta of high marginal income vs. corporate tax rates. These companies take a %50 or more cut of a contractor's pay to insulate employers from the regulatory and tax risks of keeping and firing real employees. That is, to maintain public entitlements instead of private ones. Companies still pay top dollar for talent, just not to the talent.

So long as you aren't a busybody about what the Jones's are up to, Canada has a great quality of life. Unfortunately for Globe writers, that temptation appears to be too great.
We detached this subthread from https://news.ycombinator.com/item?id=16995373 and marked it off-topic.
It seems like you've traded in a bunch of open source solutions, to a walled garden in AWS and amazon tools.
Thanks! But my question - probably not phrased well - was whether you told them about the app or whether they organically found the app and were ok with how to install it.

I feel that if you know your customers well and vice versa (usually a high-touch sales model), you can tell them where the app is, how to install it, and like you said, they don't care.

If you have a PWA sitting in the wild and have a low-touch sales model, I wonder how many people will actually go to that site and hit 'install to homescreen' vs looking for an app. It is a very strange approach on an iPhone.

A concrete example - I don't know our company. I'm a farmer and I want a daily record entry app on my iPhone. Do I go to the app store, look for an app and go through the usual dance OR do I look on the web, find the PWA, see a prompt to 'install to homescreen!' and I'm ok with hitting OK on it.

If I don't hit that 'install to homescren!' button on iPhone, I won't get things like web push notifications (which you still don't get on iPhone) which are pretty important to some apps.

If I come to you, or if you send out a message personally to me and tell me to 'install to homescreen' then I'm totally fine with it.
As an expat Canadian working for a large tech company the health care here is light years ahead -when- you have excellent heath insurance.
I'm more confused, now. Some of the articles you linked to talk about time crystals as a type of perpetual motion machine, albeit one that is "exactly unity" instead of "over unity" as the crackpots would say.

If you have to hit the system with an impulse every once in a while to keep it toggling, how is it different than any other kind of resonant oscillating system? Is it that the cycle goes through states like:

* disorganized

* organized, directional

* disorganized

* organized, opposite direction

I still feel like the part of this system that is special and interesting is getting lost in the translation to lay language :(
"In its annual report filed to the SEC in February 2018, Amazon estimated that not only would the company not be paying anything in 2017 federal income taxes, but it would be getting a $137 million tax refund."

http://services.corporate-ir.net/SEC.Enhanced/SecCapsule.asp...
Who ever claims that about anything? Come on
The Secrets of Resilience (2017)
What non-FAANG company pays that much for an IC or lead (excluding hedge funds)? If any are in NY I would love to know the names.
We detached this subthread from https://news.ycombinator.com/item?id=16995305 and marked it off-topic.
XSS Payload List – Cross Site Scripting Vulnerability Payload List
Yeah that got me too. Small price, although, i'm tempted to switch to firefox after reading comments here.
Self-driving Waymo minivan involved in crash in Arizona
I miss my Sidekick...
This entire thread is proof that people will vehemently spout opinions on topics that they don't even have the slightest understanding of.

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

Try reading literally just the first paragraph.
For the Badge – Badges for Badges' Sake
> But it is overridden by more primal signals.

Please read again what I wrote and then consider how your reply completely misses my point.

> If I lower my chin (widening the face's aspect ratio), clench my fists and muscle in up close to you, and say "Nice to meet you" through gritted teeth, what message do you get?

The vast majority of vocal communication nowadays is not things like "Nice to meet you". Your contrived situation falls apart when you're saying instead "I would like to order a double Espresso and a slice of cheesecake".
I have a late 2017 MBP and the left command key does not register about 2/3 of the time unless you press it in exactly the right spot. We've cancelled all current/future MacBook Pro orders due to problems with the keyboard.
All of your "arguments" so far have been nothing but "you have no idea what you're talking about" and "you know nothing". Why not contribute some facts and rational arguments to the discussion?
You should be fine. This article is saying you'd earn even more in the US. But, Canadian tech workers do quite well compared to the median canadian. It's just compared to US tech salaries that a large gap exists.

I don't think Germany has higher tech salaries.
The author's proposed for-loop version is:

int *p = (int *)0x80000000;
int *q = (int *)0x90000000;
while(p < q){
if(*p++ != *q++){
flag = 1;
}
}

There must have been a transcription error as that while loop doesn't look like it will exit until q reaches the end of memory and wraps back to 0.

On my machine, the following takes about 161 ms (that's the best of 5 timings on a non-quiet machine):

result = memcmp(p, q, SIZE);

The author's for-loop is optimistic, and doesn't short-circuit exit on mismatch, so I'll replace it with a non-branching equivalent:

result = 0;
for (int i=0; i<SIZE/sizeof(long); i++) {
result = result || (p[i] != q[i]);
}

That takes 310 ms (compiled with Apple LLVM version 8.0.0, using -O3). About 1/2 the performance of built-in.

Replace the int with a long and it's 200ms. Manually unroll by 4 and it's 175ms. My final code is:

result = 0;
for (int i=0; i<SIZE/sizeof(long); i+=4) {
result = result
|| (p[i] != q[i])
|| (p[i+1] != q[i+1])
|| (p[i+2] != q[i+2])
|| (p[i+3] != q[i+3]);
}

That's only somewhat slower than the memcmp, not the 10x that the author reports.

Of course, memcmp does short-circuit evaluation, and I know the size is a multiple of sizeof(long), so this test case is biased in favor of my code.

I would, of course, always favor the tested, often optimized library code over rolling my own unless there are good reasons otherwise.
I have a collection of 2014 MBPs because I have a real concern that no one is ever going to make a computer that good (or even a decent computer) ever again.
In my terminal everything is a string. All of my tools are run from the terminal ( cloud provider, provisioning software, etc. )

I can chain cli calls together to create powerful workflows.

I have highly scriptable workspace management with tmux + vim.

I don't have to wait for web pages to load to run commands, I can just do the thing in the same place I do everything else.

Many people don't gain that much from the terminal but if you are a power user it makes your life great.

I don't like GUIs, they take too much space, are always trying to sell me something, present information in an inferior way ( I like my dark, cool colored termina
l color palette ), and I can't script repetitive tasks.

most cli tools have the same conventions so learning new tools has way less overhead.

Just a few reasons.
I've run my own email out of my closet for close to 20 years and have no problem sending. I think DKIM/SPF probably help a lot, but I really can't say, as I've never been blocked (to my knowledge).
In other news, Timex remains in business and the Marvel Comics Universe will be hiring the most photogenic of the three for "scientific consulting" on the next 3 to 7 MCU films.
I've always liked section 3 of this paper, specifically the concept that "infinite interleavings" make threads executing in parallel non-deterministic and difficult to reason about. That gets to the heart of why threaded programs are so prone to heisenbugs.

"They make programs absurdly nondeterministic, and rely on programming style to constrain that nondeterminism to achieve deterministic aims."

You can't write an infinite number of test cases for all those interleavings, and it requires hard thought to suss out where any problems might lie.
I certainly hope so, or it really will be just a holding zone for people heading across the border to Seattle.
They have not justified the existence of these programs -- if they were efficacious they would still be wrong, in my opinion, but luckily for me my opinion never has to enter into it because as it stands it's just a double whammy of a 1) massively unethical 2) giant waste of money.

So yeah, even if #2 wasn't in play I'd still be against it.
To me one curious thing about the main() function without arguments is, these arguments are still pushed onto the stack. You can find them by dereferencing a pointer of another stack variable and playing around with the offset.

// Just tested with mingw-gcc on Win8.1
// Maybe you need to play around with the offset, +28
int main() {
int i; // Another stack variable

printf("%d\n", (long long)&i + 28); // &argv
printf("%d\n", *((void**)((long long)&i + 28))); // argv
printf("%s\n", ((char**)*((void**)((long long)&i + 28)))[0]); // argv[0]

return 0;
}

Exclaimer: I don't know how this behaves in an embedded environment.
Not the person you're responding to, but C++ for me. I make a normal Seattle salary while living in Toronto. Which after conversion seems to put me higher than people with 3x my experience in much better paying sectors than I'm in... It's stupid, and it sucks, I wish my company was local, I don't prefer remote. I do much prefer making literally double than I'd make locally though. :/
What's the denominator of that fraction?
How are the consulting companies legal? From what I've read, it sounds like the workers are really employees.
Flipkart board is said to approve $15B deal with Walmart
What is the expectation here? The commenter has absolutely no idea what they are talking about. The arguments are being made are clearly without any understanding of how any intelligence agency operates, and absolute ignorance of the NSA's mandate, much less any actual data about its activities.

It's like reading a post by someone bitching about the modern Hollywood blockbuster culture by citing Superman's plot arc in the new Avengers movie, except that somehow it isn't a trolling attempt. What sort of attention does that blatant misconception and willful ignorance deserve?
"The money" certainly didn't want Donald Trump elected. So your claim seems disproven by events.
We have not been made (substantially) safer. The trade was not worth it.

A town near me recently installed ANPR license plate readers. Their justification was to catch criminals, particularly those engaging in property crimes which were going unsolved.

Did ANPR help solve some property crimes? Almost certainly.

Were property crimes up significantly prior to the installation of the ANPR readers? No. Are they down significantly after? No.
>muh war is bad, you guys. amirite?

>muh humanity

Judaeo-Christian bullshit. Words can't describe how hard I'm rolling my eyes right now.
People say that a lot but I'm not so sure. Half of my American friends had to move to the SFBA not just for a job, but because nobody understood them back home, or they'd be literally persecuted for being who they were. And these aren't always tiny rural towns.

The coastal cities embrace some kinds of individualism for sure.
> Uh, the constant mass shootings

I think your point is sound, but I'm not sure this is the best example. Regular shootings are causing a lot more deaths, although I doubt the NSA has any interest in stopping either one (and of course, their official charge doesn't include either one).
Oh, please please please.

If it’s programmable (and they did a decent job of making the touchbar programmable), it could be an incredible tool. And while getting the haptic right is probably tough, I wonder if it could be in reach now (I love the Magic Touchpad 2, and that’s not much smaller than a keyboard. Although keyboard will need to give some cues as to where the keys “are”...)

The howls of the anti-touchbar crowd would just be the icing on the cake...