skysight-inc/HackerNews huggingface dataset:
Run through a state-of-the-art static analysis tool with no warnings? That's seriously stringent.

And then, rule 23: "All #else, #elif and #endif preprocessor directives shall reside in the same
file as the #if or #ifdef directive to which they are related." It never even occurred to me that anyone might do otherwise, but yeah, that's a real good thing to forbid. (I once failed to close a C-style comment at the end of an include file. It was the last include file, so the next couple of lines in the C file were commented out - which happened to be the main() function name and the opening curly brace. It then treated the rest of main() as file-level variable declarations, which was fine until we got to the actual code. I got 1800 compiler errors from that...)
de Blasio tweeted this after Amazon cancelled:
https://twitter.com/NYCMayor/status/1096110674613358593

"working with the community" is code for "bribe" among the community organizer types.
How Google Fights Disinformation [pdf]
b/c Etsy makes money in listing fees as well as transaction fees.
CDC statistics show that opioids have killed more people than the Vietnam War
Show HN: Net Zero Energy House Simulator
Facebook login phishing campaign – uses image of legitimate navigation bar
It's how banking works nearly everywhere outside of the US, that's why most brokers handle US money transfers on separate forms. PayPal was built on top of this banking insanity, in most other countries PayPal would solve a problem that doesn't exist.

Whole thing is kind of like the imperial vs metric system.

Which makes me wonder - which other countries have banking systems that routinely allow pull-based access to accounts?
Amazon wanted public money to setup their operations - well they got it together with all the rest that comes with it. If they ever take federal money (and going down 0 tax rate is that path), they’ll need to pray they won’t be nationalized.
It's not outrage, it's spin. He represents one of the two parties that was prepared to engage in a deal that ordinary people get very angry about. (i.e. massive corporate tax breaks) So if the media plays along with the spin, he will succeed in shifting a lot of the outrage away from his administration and on to Amazon.
I'm skeptical of the article. I most want to see a more descriptive summary of "the agreement we struck with Amazon back in November".

Is it public?
Fortunately, those kids frequently have parents who care about their development and bemoan the unhackable nature of their phones.
yeah, you have React, but which of the 30 fashionable state-management libraries are you using? Typescript or Flow? What version of JS syntax? What compiler what minifier? oh hey, half of these just stopped being maintained without warning
The feasibility of that depends on the stability brought about by nuclear weapons, though, no?
You can also just simply delete /dev/random and symlink it to urandom. Or delete it and create a character device at /dev/random that uses urandom's major/minor numbers.
Some Reasons to Chill for a While: Why Your Brain Needs Idle Time
Obituary: Opportunity, a rover on Mars, was declared lost on February 12th
Superb insight about 1:1s. They are an essential team process, which the manager alone is responsible for. They can't be delegated; a manager cannot establish and maintain a direct, personal relationship through a proxy. That's just not how human beings work.

In my experience, the desire to "delegate" 1:1s typically signals that team is raising truthful (and deeply troubling) problems, which the executive does not want to think about. Rather than think, they rationalize: claiming that consistently and privately listening to their subordinates is "not a good use of my time", "drama-filled", "not relevant to the tech", "isn't that what HR is for?" or some easy excuse. Whatever helps them coast until they jump ship next year.

Good on you for avoiding that mess, and for not playing along with their softheaded pretense.
> All of those things he counseled them to do - hire people from the public housing projects, meet with labor organizers, etc - should have been concessions extracted before he signed onto the deal.

Exactly my thoughts. Though Amazon should have done this in the first place instead of doing that awful HQ2 search spectacle.

Another thing that jumps out when reading this editorial from the mayor is how strange it is to see him acknowledge Amazons behavior with the min wage tax increase in Seattle that they threw a tantrum about, and yet still he invited them to come to NYC with the tax breaks on a silver platter.
It seems like the author actually likes Java's Optional pattern but needs some syntactic sugar to make the medicine go down.

Because

int id = args.getOptional().orElseThrow(() -> new Error("id expected"));

isn't that different than the author's Kotlin example.
Sounds like he's projecting a bit. Pot and kettle...
Here's mine:

https://github.com/dsaul/UDELibXprop-Legacy

I was writing a dock program over a decade ago, and java programs didn't put the PID on the window, whereas everything else did.

Had to fix it somehow...
> Just days before, I had counseled a senior Amazon executive...

Can pretty much stop there. I think Amazon saw a mayor and governor who thought they traded tax breaks for a say in how Amazon runs its business.

This was a huge loss for the city. LIC will be toxic to big business for years. And now the mayor is passing the blame to the very corporations who would come in and create jobs.
Basically, a plea for everybody else to make it more difficult to do business in their local community, so NYC can be more competitive. I'm sure there is a tragedy of the commons somewhere in the "pitting cities against one another" as he mentioned. But perhaps it isn't ideal to think that a large corporation needs to come to your city and fix your problems either, and that it's not fair that they don't want to.

With a corporation the size of Amazon, US cities aren't just competing against each other. The US is a whole is competing against other countries. And these companies are competing against other global companies. Of course they are going to want the lowest hassle, highest efficiency, and largest margins possible.

Surely helping the poor and encouraging business don't need to be diametrically opposed. One might think the two go hand in hand.
Mayor of New York: You gotta be tough to make it in New York.

Businesses with lots of money: Let's go where it's easier
On the configs I've seen, "killswitch" is a few lines that tell iptables to stop sending when the connection drops. I don't know how tunnenblick does it, but this might actually, and I'm not joking, be a job for applescript? Since it looks like wireuard doesn't do killswitch on its own. http://krypted.com/mac-security/command-line-firewall-manage... might be a starting point.
Thanks for sharing, looks like I was very wrong.
What Is the Difference Between a Data Scientist and ETL
Even in these instances, however, intent to commit an unlawful act is still part of the burden of proof.
Seems like in Colorado it can only last until full retirement age - 67.
I suspect that almost all of these "believers" are simply trolling the normies, or enjoying their little pub clubs.

On the other hand, I don't completely rule out Dark City...
Humane is perhaps a poor word choice on my part.

But, no, I do not consider animals to be morally equivalent to humans, so I am okay having a different moral system for animals. And I, personally, would rather live to be executed than never get a chance to be alive. Life is precious. I think we forget that. Here’s something that will perhaps drive home just how precious it is. Almost every black American is the descendant of people who thought it was A) worth living in cruel and brutal bondage, and B) worth bringing children into such a life.
Turbolinks? Huh? You have to write your code keeping turbolinks in mind because certain onload events will only fire once but you use turbolinks specifically because you want those things to work but want the speed advantage of not doing a full page refresh.
Well, in fairness, the outrage wouldn't be on his administration in any case.

One thing he's conveniently not mentioning is that he was opposed to giving Amazon any tax breaks or other concessions from the start. The state politicians overruled him.

Although his position, I suppose, is that Amazon should move to NYC, without any concessions. Which is not altogether off the wall. That's how it should work for ALL companies and all places. Corporate welfare is out of hand in this country. It's just a little idealistic on his part, that's just not how things work in reality. He's gonna get overruled by the higher ups every time on that one.
J and K are next to one another? QJKXBMWVZ...
Area Man discovers 30 year old Apple computer still in working order to watch grayscale porn
The same is true in pretty much any competition. Esports are banning performance enhancers and give competitors the same hardware to play on (at least on lan). Many (most?) racing competitions have very strict rules when it comes to cars so that one team doesn't just end up with a faster car.
Windows xp mode
Lol and pro athlete career doesn’t ruin your body? Reason why steroid are banned is because they work so well, period.
Somebody finally gets it!

Null is a concept--there is no data here. We need the concept and code needs to be able to act on it. If you rewrite the code to avoid all possible nulls you have done nothing to ensure that everything is operating on sane data, you have simply removed the easy mechanism that flagged cases the developer failed to handle.

In most cases you're better off going boom than operating on wrong data and getting rid of nulls shifts the balance towards the latter.
Unless I'm misunderstanding, I don't think steroids are banned for non-competitive athletes. Who would test them and why? They're not competing anywhere.
it's not dead yet......and I still get some old equipment running window ce need to fix / code........
I don't understand the outrage towards Amazon.

1. No one forced any of these states/cities to join this bidding contest. They willingly participated. "How dare Amazon put cities against one another in a bidding war?!" Yeah, I put five dealers against one another in a bidding war to get my business the last time I shopped for a car. Amazon can do the same thing.

2. "Jeff Bezos doesn't need our tax breaks!" I bet he doesn't. I don't think Jeff Bezos personally helped elect all the leaders who offered all these tax breaks. At the end of the day, Amazon will create jobs. Will it gentrify these cities? Yes, absolutely. So would Google, Apple, or Facebook moving into a new area. "But those other companies didn't ask for tax breaks." They literally hold hundreds of billions in wealth overseas. I'm not arguing in favor of tax breaks for Amazon. I am saying, however, Amazon didn't stage a coup against these mayors and governors and threaten to hurt them if Amazon didn't get tax breaks. NYC officials (at least some) openly invited Amazon. Good on Amazon for walking out. Private companies don't owe you anything.

The system is broken. Neither party has done anything to fix it. You have a company taking advantage of the perfectly legal rules that the system set up. OH GAWD better grab pitchforks. Yet, all the same lying Congressional leaders get re-elected election after re-election.

This de Blasio character openly invited Amazon. Now that they've backed out, he's angry that Amazon had cities bid against each other and that it was so wrong? Are you kidding me? de Blasio is a prime example of what's wrong with American politics.
Flagged: This isn't anything like the original headline, nor does the article mention any war, and that factoid is probably only true if you don't count Vietnamese civilians as people.

https://en.wikipedia.org/wiki/Vietnam_War_casualties#Total_n...
Ped use is sort of an open secret in hollywood
>I absolutely loathe the process of trying to find something to watch these days

Wow, I find it infinitely superior to video stores, besides almost every movie or series ever made being instantly available, and many reviews of them all!

Maybe I can help with that. Lists are good, google lists of..whatever you're looking for. e.g. best movies ever/comedies/european series etc. I use IMDb a lot, I read a page or two of user reviews of a movie and almost always know whether I will like the movie or not, and am almost never very surprised by what I think of it. There are a few critics I regularly read in External Reviews on IMDb, e.g. from Ebert, Urban Cinefile, Moria - but have learnt to mostly trust the user reviews instead. IMDb lists are a great way to discover new movies, either googling lists or seeing what lists the movies you love are in. (NB the movie score on IMDb is mostly no guide to anything.) When I find a director or actor or screenwriter I like, I check out their other stuff.

..If all else fails, you could (I hope) do worse than check out the movies & series I've given an 'outstanding' star to on http://www.adamponting.com/movies/ :-) Good luck.
Facebook 'intentionally and knowingly' violated UK data privacy laws
It's not the article that is the joke.
One way to get Amazon to contribute to fixing a cities problem would be to tax them but they aren't paying any taxes.
>Private companies don't owe you anything...

Money quote.

These are businesses, not charities. So they have to make business decisions. Amazon was right to walk away. (And yes, I realize that the same business reality will oblige Amazon to put several more thousand jobs in NYC in any case. But guess what? I'd bet any money they won't put as many as they would have. They will put several more thousand in DC instead.)

Before anyone gets mad at Amazon for behaving in this manner, yell at your political leaders for making these offers in the first place.
TLDR: Our candidate didn't win, so America is doomed, doomed, doomed.
Yea it's not good, we want to make sports as safe as we can.
So are America’s
What really blows my mind about this is that we are talking about New York City.

NYC is absolutely stuffed with America's best talent. Amazon needs NYC so much more than NYC needs Amazon.

The entire HQ2 shakedown was always just Amazon seeing how much they could fleece NYC. It's ludicrous New Yorkers are having to do the bargaining they elected a mayor to do for them.
Let them go. New York doesn’t need their business. New York needs to heal its social fabric and see to the needs of the communities. This is often at odds with economic growth and corporate interest.
I mean, I think these SSR front-end frameworks are a pile of crap, not worth the added complexity, and I hate using them; but it's pretty clearly not the same result. The problem they're solving is not "render on the server side", it's "render on the server side for the initial load then inject a fully functioning SPA for subsequent loads".
Free Will?
Not to mention the tax breaks that the city was giving Amazon are still available for pretty much any company.
I'd like to see you read the Medium posts of 1000 developers and develop a personalized message for each person based on that, and see how long that takes and how that scales. No defender of the current recruiting system, but I think the expectation of extreme personalization is a bit much. Like my example below of scrapping factories and having Toyota craftsman handmake each individual car for the buyers
>Corporate welfare is out of hand in this country.

That's certainly one view. Another is that these are just breaks on excessive taxes by one government to compete with other governments that have sane corporate taxes in the first place.

I don't understand how tax reductions are considered welfare. It's not money the government has already being passed out to Amazon. The government would have still made money in this scenario, just less.
That seems to be the popular opinion (that this is Amazon's fault) but I disagree. Amazon coming to LIC would have been a net benefit for everyone. 25k jobs that pay a minimum wage of $15/hour...who would reject that? Sure they get a $3b tax break, but they would have paid far more than that in state taxes over the long term. The people on the city council did not represent the the best interest of the citizens, instead trying to spin this as a stand against corporate greed. It's too bad they couldn't work this out. I think this will hurt NYC in the long run.
Yeah I'm leaning on the same side as the author in terms of blame... but this article is really bias and heavily spun.
grep -ni . /path/to/file
I use Github stars to bookmark a repo I might need later. 62k is not a very big number that way I'd think.
That's an incredibly uncharitable insinuation. Do you think community organizers do it for the money? There are a lot of reasons people choose to advocate but regardless of weather you think they're right they generally do it because they actually believe in something. It's unlikely fighting Amazon is a very profitable venture.
This thing is more like a modified MRI machine than a TENS device, which part of the fascinating/creepy quality for me. It's something like orders of magnitude more powerful than TENS.
> Yeah, I put five dealers against one another in a bidding war to get my business the last time I shopped for a car. Amazon can do the same thing.

Surely the reason most upset people are upset is that these deals with governments tend to involve tax breaks, and taxpayers have every right to concern themselves with tax policy. I doubt many of those people would also be upset with your car negotiations.
That's a problem with the government. Amazon isn't evading taxes. It's using standard government legislated tax deductions and rebates: http://www.newser.com/story/271410/amazon-banked-11b-in-prof...
I love that the saved game immediately brought up Obvious exits are NORTH, SOUTH and DENNIS
Processors have not decreased all that much in price though. It's unlikely that even Apple is interested in making each computer $100 or $200 more when software emulation works almost as well and is much less work.
Hooked on Feeling
"You have a company taking advantage of the perfectly legal rules that the system set up. OH GAWD better grab pitchforks."

People aren't allowed to be upset about something just because it's not illegal?
But why does amazon get to pay less than existing businesses, unfair tax laws or not?
Oodles of really useful real world tips & tricks on this guys blog and book. Ashamed to say even as an AWK fan since 90's I did not know about the bash cmd 'nl' for line numbers!

Anybody into data science should have a look at this material - I myself have resorted to using sqlite based tools (like sqlnotebook) to get around Excel's limitations in working directly with large data sets. But plain text storage, with a good toolset, is arguably the best approach for vast amounts of textual data.
It's a reasonable topic to write a story about. However, CNN could have chosen a much better headline, one that doesn't make it sound like a 30-year old computer that still works as some kind of oddity.
NYC doesn’t need their jobs.
They are working on it: https://git.zx2c4.com/wg-dynamic/about/docs/idea.md
I think SNL had a good point, Amazon isn't the worst company in NY, the Trump Organization is also there remember.
If this was at all realistic, we'd also see similar effects in people in other fields - bus drivers more likely to crash before lunch, etc. That we don't see such an outrageous difference implies that the original study is not tracking the relevant variable when it looks at before/after lunch.
A comforting belief, the reality is that the scientific and rational literacy of vast numbers of people are basically non-existent. People can be convinced to believe anything, regardless of the evidence.
It takes me about 30 minutes to cad up most parts and I can do it while watching TV. It just takes a bit of practice. You likely didn't used to be able to whip up a simple web scraper in 10 minutes but can do it now.

You can try sculpy or similar things next time too to make plastic parts. There are several materials that are basically play-dough that hard set to plastic like materials.
They offered Amazon $3B tax breaks, while the city would have profited $27B. The city would have a net gain of $24B.

Now the city doesn't gain anything.
How much did amazon pay in federal and state taxes in 2017 or 2018?
It depends, are you watching TV? If you get like 30 hours of practice at cad it's almost like doodling.
The 1099 panic is just totally and completely uncalled for, there's no reason to think Etsy's systems would erroneously report reimbursements as income on 1099s. After all, my work issues me both paychecks and expense reimbursements and when I get my W-2 at the end of the year only the paychecks are listed as income, it doesn't include the reimbursements.

And even if your 1099 was incorrect, that doesn't mean you'd suddenly owe taxes on the incorrect amount, you'd just report the error to Etsy for them to fix.
For example, you want to dynamically generate a background and text color based on a hue. With hsluv you can simple do `hsluv(120, 60%, 10%)` for background color and `hsluv(120, 60%, 90%)` for foreground text color, you will have text on background with 80% perceived luminance difference, you can replace the `120` in my example with whatever hue in the `0-360` range and have consistent results.

The idea is that the color space is linear (perceived) with saturation and luminance regardless of hue.

You can see it clearly if you compare something like http://www.hslpicker.com with http://www.hsluv.org/ if you drag the hue slider on the hsl version, the luminosity varies, it does not on the hsluv version.
Being a sore loser is always a poor strategy. Reflect on mistakes made and opportunities lost and move on.
"this margin is too small to contain"

I really should write a post or something about it.

Basically you do a co-embedding of the graph and natural language and then you can use either to find the other. Something very roughly like the ImageSpace co-embedding example from StarSpace[1], but you do a graph representation on one side, and a phrase/sentence representation on the other.

[1] https://github.com/facebookresearch/Starspace
If I were to provide ld preload based security cover (take any binary and secure it with ld-preload), will that be acceptable to corporates? Or does that increase the attack surface?
It is exploitative.

Any company founded in the US is going to use the resources US provides - roads, trade & economic power, the USPS, the talent pool etc for Amazon. When their success is built on that foundation, they owe it to the government (& taxpayers) to return the favor and show some goodwill.

Instead, taxpayers subsidize them when they're growing, then they want to cheat as much as legally possible on their taxes when they're grown up.

If you advocate letting Amazon get those tax breaks, yet yelling at the politicians who allow them, thats a basic mismatch between what you say and your revealed preferences. Don't blame politicians when they cater to those preferences.
A CppCon 2014 presentation about safety-critical C/C++ coding standards for a different "J" acronym: the Joint Strike Fighter (JSF).

"Using C++ on Mission and Safety Critical Platforms".

https://www.youtube.com/watch?v=sRe77Mdna0Y
>Another is that these are just breaks on excessive taxes by one government to compete with other governments that have sane corporate taxes in the first place....

Only they're not. That's not always the case.

For instance, Wisconsin has no corporate tax at all. So they made a deal to just hand over giant boxes of cash to Foxconn at each of several milestones. Think about that. ZERO tax, was just too high.

And I've discovered that Wisconsin is not the only place that has made deals like that. Look at it anyway you like, if corporations are at the point where they are openly saying:

"Paying no tax is not enough, we want you to give us money."

Something is out of place.
posted so many times.