skysight-inc/HackerNews huggingface dataset:
I dont understand the hate on Canadian salaries. Its a safer, more liberal country that looks after its poorest.

If you want cut throat lifestyle that pays the most - with the guy who cooked you dinner keeping one eye out for an ICE van, your ex-slaves in prison and some homeless guy going through your dumpster - you'll love the US. If you want to live a fairer society (Canada, France, Germany, Australia etc) don't complain about earning less.
I like this idea. Offer a fully working copy with only a fraction of the features the licensed copy has. Features are "staged" so it builds on previously downloaded content and every download is tied to a unique public key.

This is what online games do with DLC (downloadable content).
Wow, there are a lot of responses putting a lot of weight in my exact choice of words, here.

I'm not a linguist; I don't know what the proper name is for the thing people do between each pair of spoken words—that they don't do inside words—but I do know that there is something people do there. I would call it "a pause" because that is the function it serves. It's an overlap of lesser "terminal" sounds that forms something that is detectably a semantic gap—like the pause between crossfaded tracks on a gapless record, or between movements in a concerto.

Whatever it is, it is there, because speech-recognition systems use it to detect spoken word boundaries regardless of language. (This heuristic does screw up sometimes; spoken language does often "slur" particular word-pairs together. But it's rare enough that these can be trained as specific exceptions to the rule, rather than needing to throw out the rule.)
You've been violating the guidelines by posting a lot of uncivil, unsubstantive comments—especially generic ideological ones. Would you please stop?

https://news.ycombinator.com/newsguidelines.html
File modes are typically written in octal, not hex.
In my personal experience more.

I read a study showing that the absorption rate of nicotine is about half through an e-cigarette, because of other chemicals in normal cigarettes that increase the rate.
Self-taught Web developer looking for work
Yeah, I was seeing if I could do the complete solution faster than a single solution. But I was at the inlaw's dinner table, not the airport.

This is it, uploaded a few years later in a repo for soduku over sms:

https://github.com/wiredfool/sms-doku/blob/master/so.py
See also (long) https://news.ycombinator.com/item?id=14244227
It's a decade later and the new secure versions still havent been installed in Ukrainian power stations...
This isn't a question of ought, it's just a matter of is. People with power will act in their own interests always. The only way to make them act in your interests is to make their interests align with yours.

If nobody is willing to do that, they will appeal to your interests only in the most perfunctory way that never threatens their privileged position. Thus, you get a lot of "diversity panels" that are full of old White men speculating as to what makes you tick.

Fairness and "problematicness" don't enter into it. That's just how the world works. It's easy enough to differentiate ignorance born out of good faith from malicious sea-lioning without having to assume bad faith on everyone's parts simply because of how they present to the world.
to me one of the most interesting things about this issue is how it trended recently because someone actually read and thought for a moment about what Hillary Clinton wrote about in her best-selling book "It Takes a Village", about how they used prison labor during her time in the Arkansas governors mansion:

http://www.newsweek.com/hillary-clinton-prison-labor-african...

the fact that this was only widely noticed 20 years after publication is amazing
>Terraform state surgery

Did you try to use `terraform state mv`? I've found that command useful (albeit for much less than thousands of resources).
The assumption seems to be that companies culture is driving women away. Is that even true, as in, are there really hundreds of thousands of female software developers in waiting who would jump at a job at a company with the appropriate culture? It seems very unlikely to me - more likely, the pipeline dries out long before the hiring stage.

That some companies with great effort manage to compete over the few female developers on the market doesn't prove every company could hire lots of female developers if only they changed their culture.

To be honest, personally, even if there were those hundreds of thousands of female developers supposedly driven away by bro culture, I would still maintain that people should have a right to create companies they enjoy working in. If some people want to work in T-Shirts and get drunk every night, it is their right to do so (if they can earn the money to sustain it).

Luckily not all companies are the same, so that people can apply to companies that suit their tastes.

If it weren't so, there wouldn't even be a need for hiring or job seeking to begin with. People could just apply to the next best company and be hired, likewise, companies could hire the next best applicant - because there would be no such issues as cultural fit or whatever. Not very realistic (source: I am not friends with everybody and not everybody is friends with me).
I don't think anyone has to care, except for those who have made major investments. The concept has proven itself. Moreover, it has shown a path to scaling taxi service and confirmed that a taxi service - or whatever title one might use to avoid calling uber a taxi service - isn't a bunch of cars and drivers, but a way of connecting riders to rides. Taxis are in the information business! (May Xenu forgive my trite statement.)
> that's rightly acknowledging that a single study isn't enough to determine one way or the other

When read by a scientist, when read by mainstream consumers it is historically referred to as FUD.

> "have as much potential to cause DNA damage"

"potential" vs "as much potential"....so how are they measuring the level of potential? Since this is new technology, is it even proven accurate (cast is doubt elsewhere in the document).

This article implies certainty, but of course never states it outright, but it achieves its goal: instill fear. And in this case, that fear can affect sales in the hundreds if not billions of dollars, and might(!) literally be the the difference between life and death for hundreds of thousands if not millions of people.
I'm probably being dense but I don't understand the claim that "Uber is imploding".

From the article: "the company doubled its gross bookings to $20 billion in 2016, and its net revenue (excluding China) was $6.8 billion"

The company had $2.8 billion in losses in 2016 and it puts the company's long term prospects for financial viability into question which might mean a down round on the next funding but the company is hardly about to go under.

The article title should be "Uber got a bunch of bad press and a few execs left" but I guess that doesn't drive impressions.
periodic breaks is the best thing outside of f.lux or other screen dimmers/temp apps.

I try to couple it with short meditation breaks, 5-7 mins, to get in the habit of switching my brain off and giving my eyes a rest.
-fstrict-overflow is the opposite of what the parent comment was asking about. You want -fwrapv or -fno-strict-overflow.
There are numerous counterexamples throughout the Canadian economy: banking, oil & gas, mining, agriculture, etc.

Software investment is probably the only sector that is undercapitalized in Canada.
Show HN: Proof of concept CloudFormation Editor
Cool! I actually made a book recommendation service as well. [1] Its been indispensable for me, gives me much better recommendations than friends/Amazon/Goodreads give me. I've found Library at Mount Char and Hard Magic because I wanted something similar to Weaveworld [2] and both those have been perfect. I'm only two months into using it, but I feel like I have a never-ending reading list now!

I look forward to trying yours when it is back online (service was disrupted when I tried).

[1] https://www.booksuggestions.ninja/

[2] https://rpiai.com/why-i-made-a-book-recommendation-service/
With a smell allergy, I've had e-cigs (and perfumes, which I lump in the same category) near me induce everything from coughing and sneezing fits to migraines and vomiting.

I knew a friend with a much, much worse smell allergy where a smell of the right color dye would cause seizures and possibly kill them.
> Certainly not near as much weight as the load on local welfare systems, personal history, culture fit, and so forth.

Why do you think this? I personally believe the opposite and think world wide semi-open borders would be for the best. (By semi-open I mean that you still need to pass background checks etc). You could also disqualify people from accepting welfare if they have recently moved into the county.
Correlation not causation. For-profit prisons are a byproduct of America's fascination with incarceration. Incarceration rates started skyrocketing in the 1970s. The number of people in private prisons, in contrast, was minuscule even in 1990: http://www.motherjones.com/politics/2016/06/history-of-ameri....
The constitutional amendment barring slavery carves out an exemption for criminal punishment. I don't think you're technically constitutionally protected from being a slave if you're in prison.

That's pretty fucked up.
Ataribox
A seasteader would have to pay more than the rig's value as scrap (less the cost of scrapping it). That might turn out to be quite a bit of money.

Or, it might turn out to be zero. The article left it unclear whether they (the owners of the platforms) are making or losing money by doing this.

But there are two other concerns that would have to be addressed: Plugging the oil well, and navigational hazards. Neither seems to me to be insurmountable. Plugging the hole and leaving the platform there is easier than plugging the hole and removing the platform. And the navigational hazard has been there for decades. Leaving it changes nothing; an existing risk merely continues.
Wikipedia has a decent article if you've never read it: https://en.wikipedia.org/wiki/Terraforming_of_Mars#Challenge...
Week 23 in Information Security, 2017
> The term "third rail" comes from underground subway systems where there is a third, electrified rail to provide power to trains. There are usually warnings in the subway not to touch the rail due to the risk of electrocution. "The third rail" is used colloquially to describe a topic that is socially or politically difficult to discuss because of the reactions it can bring up.

An older metaphor for the same thing: minefield.
>>(Amazon has been hemorrhaging staff to Oracle because better pay, and way better working conditions)

>I may not be totally tuned into Oracle's reputation, but this seems incredibly damning to Amazon.

"bare metal" is a very special high-priority org in Oracle, pretty different from the rest of the company. Potemkin ... err ... Elison's cloud village.
"The oil companies do not want a repeat of the mid-1990s. Back then, Shell’s plan to sink a piece of Brent equipment, called Brent Spar, in the ocean depths caused a bruising fight with environmental groups led by Greenpeace and prompted stricter regulation."
It's Not to Late to Buy Crypto
excuse?
Kotlin UI Automation Tests
There is a very simple strategy that solves all Sudoku puzzles.

Pick one open square, try a number that is possible for that, backtrack if you get stuck.

For better results, pick the open square which has the fewest number of possible choices.

Human solvers might try something more efficient, but the above strategy is not at all bad for computer implementation.

It's very much a solved problem with existing technology, see

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

adding a neural net to it doesn't help in any way.
I completed all problems in March, but haven't heard anything back. It was fun but much easier than the problems I remember from the high school Olympiad (or I have improved), except for the final one, which was more of a maths question - easy if you know the relevant theorems (I had to google it), virtually impossible otherwise.

I can send you an invite if you are interested.
Sometimes, to solve really difficult problems, you have to make big personal sacrifices.

Sometimes, to evolve, adapt and gain the edge, you have to be loose and unprofessional.

Sometimes, to survive a famine or a drought, you have to ruthlessly cut what isn't absolutely necessary.

These are the other phases of the business cycle that the author neglects. Professionalism, openness, and work life balance belong to a certain phase of the cycle. That phase does not come from nothing and it does not last forever.
Best Visual Rest API Editor
I am not an economist but I suspect China's debt might not be such a big problem....until it is. But China is too big to fail
and before it hits China hard the world will try to save what it can so it wont hit others as well.
Ah the beauty of globalization.
> How many millions of lives has this institution of liberal democracy destroyed?

How is this an institution "of" liberal democracy? I can either interpret that as liberal democracy as destroying lives, or that working while incarcerated is a feature of liberal democracy. I don't think either are true.
Because integrating those offices is a PITA. Your workers in Paris or Lyon aren't going to stay late so that your workers in Mountain View can start the meeting at 9am rather than at 7am.
>Are we wanting $100k job earners to vote for raising taxes on themselves via abolishment of mortgage and 529 tax deductions? Yes?

Yes, and I'd say we have pragmatic reasons to do so: the money for nice things has to come from somewhere. How is the subway system or Medicare supposed to run without tax money? If you make $100k and own a house, but have kids, where are your kids supposed to get affordable housing (and a rung onto the property ladder) of their own, without healthy pro-density zoning?
eBay (almost) had this problem and I cannot find any articles about it online. They were rapidly approaching 2^31-1 auctions. So they switched to a larger integer, the switchover went badly, and they were mostly down for 4 days, if my memory serves. This would be like 10+ years ago I think.
https://www.cs.cmu.edu/~213/schedule.html

That includes PDFs of the lectures and videos of said same. It looks similar to Berkeley's CS 61C.
I have a general question about Dart and would appreciate any thoughts.

How have you found Dart as a server-side language? What's the performance like and the ease of development?

First impressions of Dart are positive. However, the server-side (interpreted) language landscape is dominated by Python, Ruby, PHP etc. Any thoughts on choosing Dart for server-side programming over these other common languages and what you think the advantages are? Many thanks.
> Or just put random shit in there that hasn't been tested for safety.

a) Do you honestly think companies would do this?

b) The same silly "risk" applies to most any manufacturer - having a "regulation" in no way guarantees your cereal manufacturer isn't putting poison in your cereal, because why wouldn't he, right? (To use similar logic).

> The results of one FDA review of 18 different e-cigarette cartridges found toxic and carcinogenic chemicals in some but not others.

And the source manufacturer (country) of these? Zero details, as usual. Shall we stop selling infant formula in the US because infant formula contains melamine which can and does kill people? https://en.wikipedia.org/wiki/2008_Chinese_milk_scandal

If these agencies weren't deliberately so opaque, I'd perhaps be less distrustful.

Perfectly fair final point on inhalation of flavors, and good luck finding anyone in the industry that is opposed to further testing. Everyone very much wants a safe product.
It also could've been just the person picking an int over a long. Is ints vs. longs the first place to look for optimizing efficiency/performance?
You can get your Canadian citizenship after a few years, which allows you to use the TN status under NAFTA to work with relative ease in the US. As a bonus you have a backup in Canada should the US go south. It's a no brainer.
I don't think that the cold, grim, gray & very rough North Sea would be anyone's first choice to start a Seasteading habitat.
Only imperative programming though. (Functional programming is the opposite.)
Alternate anecdote: my grandfather smoked pipe tobacco for as long and died of heart failure complications due to lifelong nicotine usage, after already dealing with lung cancer-related illness.

Pipe tobacco isn't that much "safer", either.
Medicare Electronic Payment System Made $729M in Erroneous Payments
Workers in British Columbia, IIRC, are in the same time-zone as Mountain View.
Straw feminists are frightening.
For 2FA I like how Microsoft does it. You have an app on your phone. When they need to authorize you, they push to the all and it automatically pops up with approve and decline buttons. You verify the code is the same on the phone and screen and hit approve. It's an easier workflow than having to open Google authenticator, find the code, and enter it.
Sort of a nitpick but its mixed with vegetable glycerin or propylene glycol (or a mix of thw two), and not much if any water.
Sure, you'd have to pay for the scrap value. But it's never [1] going to be cheaper than that anyway. I'm not sure what environmental hazards the (former) oil rigs themselves are.

--
[1] until we get self-assembling nanobots one day
I didn't know there was a seasteading institute. That's pretty neat.

Getting stuck on one of these decrepit beasts in gnarly weather could be fun.

I figure those guys would have more fun on a sailboat surfing through waves.

Plus the mainland is always within reach and there are so many places to visit.
To_emoji – a Twitter bot that translates tweets to emoji
I'm annoyed that Lastpass still doesn't support U2F, and I don't really understand the delay at this point.
Plugging the hole and leaving the structure would also mean maintaining the structure. I can't imagine the costs of maintaining something that large.
A Smell Test for Self-Interest vs. Leadership in a CEO
Without claiming expertise regarding the company, I disagree fairly strongly with the attitudes commonly expressed towards Uber in the media (I read the Guardian and NYT mostly), on Hacker News, and elsewhere in the mostly liberal sources I am exposed to. Here are my reasons:

1. The Susan Fowler workplace sexual harassment claims were horrific and sounded true. So it does sound like there are some complete dicks working there. If the CEO was party to this stuff then I'm wrong, but I assume he wasn't.

2. The hatred for the CEO is surely exaggerated. The video of him in the cab with a customer was fine, it was a good robust conversation -- towards the end both parties became annoyed. Perfectly normal behavior. He sounds nice enough to me from the words of his that I've read. Obviously you don't take CEOs that seriously; they're entire job is to place inane positive spin on their company every day that they wake up.

3. The Guardian and NYT so obviously have the knives out for the company that it's become laughable reading their coverage.

4. His mum just died in a tragic accident and people are not even mentioning that in stories about him taking time off.

5. It's become common for people to say stuff like "they're not contributing anything novel", and otherwise completely underestimate the wonderful transformation that they have effected in personal travel and efficient usage of cars.

6. Young American liberals have become so annoying about political correctness causes such as workplace sexual politics that I have really come to hate that aspect of working in America and I am inclined to support Uber just to annoy them (being honest here, I didn't claim my post would be appreciated).

7. The sight of Bernie Sanders-supporting liberals earnestly trying to improve the world by choosing one silicon valley start-up over another would be funny, if the failures of the left weren't so depressing at this time when we need a grown-up left more than ever.
That's not going to work because you're expecting every client to ban ID's that are too small.
Some of the oil rigs get transported to southeast asia before they are dismantled.

Check out the south Atlantic for a possible location, west of the Namibian coast. There are some shallow spots there like the Zubov Seamount, less than 50m deep and more than 200 miles from the coast.
Even if people are for/against AMP, I think it does make sense to have AMP optional. For instance Google searches will often show the "Ad"-ified link at the top, but with the regular link somewhere below in the search results. Google could just as easily have the AMP and non AMP links in the search results if they aren't really the evil corp everyone thinks they are :)
If you want to be a high performing software engineer, you need to put in a lot of work.

BUT!

One difference I've found between startups and companies like OP described is how that work is allocated. Working at a startup had me laser focused on things that were directly tied to the business. Working at a big company means I can work on anything I want off the clock. Top performers at my current (bigco) workplace spend their time organizing community events and meetups, or live coding on twitch. Startup work might be like that if you get the perfect project that ties directly to your career ambitions, but for me it was just a particularly demanding job with more responsibility (and more potential upside.)
That's pretty cool. So is the model that you don't manage the volumes in TF at all?

(Btw I think I know people you know... also in Montreal and I know a couple folks at AdGear!)
I don't self identify as a feminist. So if you mean me, you are in error.
Immigrants generally send money home to their families.
It certainly can. I worked for a (very) small consulting firm. We basically wouldn't entertain hiring anyone with a non-compete that was remotely applicable. Just too much potential risk/cost. Doubly so if they worked for a client or a competitor. (Quite common.)
That is the magic of cross compilation.

There is already a compiler that knows those special pragmas, one just needs to add a new bare-metal backed to it.

As for writing Go without a GC, just like in any other GC enabled systems programming language, by not using language features that require GC in the lowest layer, which the other packages then depend on.

Example in Oberon, https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Kerne...

Also even ANSI C requires some Assembly or compiler extensions to fully implement libc.
Personally I don't mind at all that the refugees get this money. I'm glad they get some help, I just hope they make something out of it (which is not so easy in a rather unwelcoming society).

I keep hearing people say "they" take away "our" money, which is just a ridiculously tiny amount in the grand scheme of things. You never had the control where the money goes to to begin with. "Your" money could as well be spent to bail out yet another bank, or whatever useless for profit institution humanity has came up with.
> Always write your plan -out, and apply that plan

I have in my dotfiles:

alias tfplan='terraform plan -out=.tfplan -refresh=false'
alias tffreshplan='terraform plan -out=.tfplan'
alias tfapply='terraform apply .tfplan; rm .tfplan'

That way I never accidentally `terraform apply` without creating a plan first. I also have it not refresh the state by default, which is mostly unnecessary and speeds up the planning significantly.
The prime responsibility of the sovereign state is to maintain the social order. Deporting the children of citizens and breaking up their families is a remarkably swift way to break down the social order. This is basically sovereign suicide.
Except that isn't a great example because with Nat, ip4 can get us oodles of devices still.

Can't really use NAT on a primary key...