skysight-inc/HackerNews huggingface dataset:
This happened to me years ago when I was offered a position at EasyPost. I tried to counter politely and modestly, and the CEO (I can't remember his name) got mad at me, told me I should be grateful that I even got an offer, and then rescinded the offer. It was a pretty big turnoff, and I wound up being afraid of negotiating for another year or so. Nowadays, I realize that kind of response means the CEO is a dick and I'm glad I didn't take that job.
It blows my mind that people still give glowing reviews to Linode when in 2013 hackers breached their systems and stole credit card numbers and customers reported their credit cards were being used maliciously and Linode got away with saying "nuh uh": https://www.theregister.co.uk/2013/04/16/linode_breach/

Or again in 2015 when Linode's poor security lead to PagerDuty being hacked: https://www.securityweek.com/how-attackers-likely-bypassed-l...

You can find some more discussion in previous HN threads about it: https://news.ycombinator.com/item?id=11136399
Discussed in 2014: https://news.ycombinator.com/item?id=8676982
> Resolve your deps once, at build time, and you're done.

I have ... rarely had this experience.

Every go package manager has found new and frankly fascinating ways to lead me into a corner where I think I have committed and pushed working code, but which causes highly-visible CI barfing.

I should add as an aside: I've done two tours of duty as a Cloud Foundry Buildpacks maintainer. Everyone's package system sucks, but some suck a lot less.

* Maven is basically sane if used with levelled starters. Otherwise it's a preview of fighting the Many-Tentacled Ones of the Deeply Nested Dependency Graph using nothing but a dull butter knife held upside-down.

* Gradle is the worst allergic reaction to XML in history.

* NPM used to have amazing bugs and missing features but has laboriously, slowly improved.

* Python is about whether you hit the sweet spot of the particular packaging system you use.

* PHP is a mess, unless you use Composer, in which case you're still stuck with the weird reality that PHP's package system is really a mix of in-process modules which need to be compiled and slabs of plain old PHP.

* .NET Core had what seems like a deliberate policy to come up with the most confusing naming and versioning scheme humanly possible and was wildly successful at doing so. Oh, and no canonical reference for versions. None. Apparently this improved but it was hell on earth.

* Golang. A new package manager every ten minutes. A different vendoring model, different assembly model, different bugs, every damn week.

Only Bundler is basically sane. We hit lots of corner cases but for the 20/80 cases it essentially worked.
Replicated data consistency explained through baseball
Is that at a public company? If so, it makes little to no difference where the extra comp comes from because you have immediate liquidity. If it’s a still private startup, that equity could end up being a liability if you exercise options and the company goes under. Or, it could end up being many times your salary.
Your last part interest me, what do citizens of the netherlands have to do to visit St. Maarten or other parts of the Kingdom of The Netherlands ? Get a visa ?

In France we differentiate between parts of France proper (mainalnd France, Corsica, Guiana), our overseas departments (used to be more complicated but now they're "almost" parts of France), and our overseas collectivity like St. Martin. But as a French citizen I can visit pretty much any that I want without the need to ask anyone for permission.

Additionnaly, how is "your" part of the Island governed; fully autonomous or has the royal family (real/actual) oversight or is the governement of the Netherland overseeing it or ... ? Our way is mostly "they have their local governement but if the French one tells them something they do it".

It's interesting to me, especially since New Caledonia being the only dependance who didn't ask to be integrated but to move away will have to decide between autonomy or independance
Get the right dimensions for social preview image
Your claim that, "Jimmy Carter sent the military to go massacre students" is not supported by that article. It was an interesting read, though.
Article did not spesifically mention air layers, temperature inversion and downward refracted sound waves. Curved waves in the images imply this condition, no? Tropospheric propagation in hamspeak.

Changing the color of the landscape might also have a small effect on how the area heats up on sunlight and so how often unusual sound propagation develops. silly...
Yeah, storing (<1%) 3 days total annual supply of electricity would be a huge over estimate... and storing 10% (35 days)would still be crazy large... I'd think the grand parent posts's numbers are high by 2-3 orders of magnitude.

As others have said,they likely would be placed near the solar plant where land is cheap and dry, rather than in neighborhoods.
Ah yeah, that makes sense. Thanks for clarifying!
The inflation rate in Venezuela is more than 200% monthly. (!!!) That makes it very difficult to deal with the money and essentially worthless for anyone outside Venezuela.

Using dollars that has only an inflation rate of 1-2% annually would be a huge difference.

You are underestimating counterfeits. Here in Argentina we had 20 years ago some "barter clubs", it was like a local market but people use a fake internal money instead of the national money. It was like a local/neighborhood money backed by thin air. It worked for some time, until some of them were popular enough to get counterfeits attacks.
and less toxicity?

Wait a minute, you have made nasty insinuation after nasty insinuation in just about every single comment you've written on this thread and then sprinkled them liberally with finely ground condescension. That's where the toxicity is coming from.
Or just CMYK like printers...
Ha, I get ads on FB for expensive men's underwear. Their algorithms clearly have room for improvement.
Copypasta from other codebases happen to work better in non-production environments because the input space is smaller in virtually any non-prod runtime space than in prod.

This makes for a larger intersection of inputs to the copypasta that produce outputs that are expected by the blogpost/googling developer and inputs to the copypasta that produce outputs that are generated at non-prod runtime.

When you don't quickly see what's semantically wrong with the code (the problem mismatch) because you pasted it and it just worked (maybe with a few small tweaks), then you quickly forget about it and black-box the snippet in your head. Then, when input space gets real-world and things break, because the copypasta never had much cognitive gravity (because you didn't think much about it), it doesn't attract log dump elements in your log-scanning brain as much as stuff you had to think through yourself does.

I guess you could automate some static checks for this by some massive trawl of snippets from a few websites (at least popular SO posts in the same language?) and finding verbatim matches in your codebase. Sounds massively impractical to do this at scale though. Does anyone know tools that do this?
I've come to similar conclusions from talking to people parked in the bike lane, of all things.

Some people do care once you tell them that blocking the bike lane is rude and a real safety problem for cyclists. Others don't care at all that a cyclist has a problem with this. Those people tend to respond best to me threatening to call the police to ticket their car. Once I recognize which category the driver is in, I know which approach to take.
:sigh:

clearly you just don't like Go, which is fine. Of all the languages I've picked up Go was far and away the simplest and most productive, which is why I continue to use it. When I wrote python we were constantly using pip to pull from repos, so moving to Go I liked their repository centric view. Just because python recommends pip, doesn't mean junior devs don't totally botch dependency management with it. Dep management and git are core skills developers need to learn well to produce good software. There is simply no substitute for a bit of elbow grease on the matter. I'm not berating anyone, software is hard and being good at it means taking the time to learn some core tools.
>They not only rescinded the offer, but they were ridiculous jerks about it.

Well, if their offer was "severely low", they're like a beggar being a jerk at someone who think didn't give them enough money...
If you trust your seven friends, then you can use SSS to pass on digital assets after you die.

Decide on a policy. For example, 4 of your 7 friends need to agree that you've been dead/incapacitated for 90 days, and that once that happens they should give your digital assets to Recipient R (probably your next of kin). Pick a master passphrase that decrypts something interesting like a passphrase manager database file. Split the master passphrase using a 4-of-7 scheme. Distribute the seven shares to your seven friends (one to each friend). Now you know the passphrase manager won't be compromised before your death unless you are careless with the master passphrase, or four of your seven friends either collude, get hacked, or honor a legal demand to produce the shares.

This gets interesting when the digital-asset ownership is determined exclusively by cryptography. The money in your bank account is not such a thing (a suitably official-looking piece of paper will release your money to anyone), but Bitcoin or Ethereum definitely are (no court order or lead pipe can solve the discrete logarithm problem).

Such classes of assets are very new. So there are not yet any "practical examples in the wild" that an ordinary person would be likely to recognize.
It is property rights. Note that you only have any say because you live beside/near the river. People who dont own/rent land, or who live far away, get no say. The farmers can dump into the river (runoff) because they farm land near to it. Other farmers further away cannot truck waste to the river. Local farmers can use river water but outsiders cannot back trucks up and haul away river water. It is all local. It is all tied to property rights in land. A true commons would have all people, including tourists, given equal say.
This project is called Athens[0] and is largely being worked on by the community and not the Go team directly.

[0]: https://github.com/gomods/athens
I wonder if they could both agree to wage a fake war for an hour, then sign a peace treaty detailing the new border.
I think of it like this...

When USA was new, we were a bastion of creativity. We didn't acknowledge the Old Country's laws on intellectual property, and we were the better for it. Things were crazy; you did stuff and you didn't let someone else that the thing in your head had ownership by someone else. There was a long period in which our goods were beneath European quality.

Not much time passes, and new and unique things were made here. The regime for patent/copyright protection got just as authoritarian and wicked in protecting 'stuff'. Hollywood was one such case - in which the devices to make movies was patented and the company that made them wanted their cut. The escape to California was to avoid those fees.

Again, China's been playing the same long game. "Rip off others' IP, allow extreme growth by being very liberal with copyright/patent, and eventually playing very protectionist once the economy is stable and advanced". This isn't anything unique with China, or the US, or anyone else.

> How do you guys reconcile your own torrenting,

Because once a country hits the protectionist point, they usually go way overboard and stifle all sorts of things. It pisses people off - is it really piracy if you buy a blu-ray and download it? Is it really piracy if you download a turd film and delete it? There's a lot of edge cases that are called piracy which in reality aren't. It's just called that cause Disney et al have lobbied to call it that.

Also, as I have gotten more money, I have been more willing to pay for media. When I was poorer, I was spending perhaps $10 for a ticket per every 6 months to a movie.

> usage of sci-hub etc

Sci-hup and "academic piracy" is a whole different ballgame. Predatory firms have put paywalls in place that alienate the creators of the papers, the reviewers of the papers, and the academics who use the papers, for $37 a paper. These predatory firms add nothing, and deserve to die. But again, this is completely different than movie/tv/music media.

> with the tendency to portray us as monsters

Humans have a bad tendency to 'otherize' people. See, you're Chinese, and not in my peer group, so my decisions have little effect on you. I can also have a poor opinion of you (having not even know you!) and people in my peer group don't care too much.

And it happens the other way around. Americans (USA) are horrible aggressors and evil empire and bad. Lots of places agree with that. But they don't know me, my friends, or my social groups. And in the end, other people 'otherize' the US, knowing what happens in DC isn't what we're like where we live.

It's best to think of this as "out of sight, out of mind, out of emotion". Because it is all too easy to consider someone else on a different point on this planet as "monsters". Eventually, we'll change that; although I think the internet like here is doing the ground work.
As a hiring manager, this kind of sarcasm would seem immature to me, especially when we barely know each other.
It works both ways I suppose. Regardless it's a bit unprofessional from either side.
> ... even if it is not legally mandatory.

Do you agree, then, that there is no legal requirement for a company's management to maximize profits, and that you know of no cases where a shareholder prevailed in a lawsuit against management for failure to maximize profit?
> Bugs will always happen in production.

This is not some universal law. It’s true only when the project/team is not willing to make the trade-offs (like development speed) needed to deploy bug-free code. For most software it’s better to release with bugs, but not
so for all software. For some software, like safety critical projects, things launched into space, etc, it’s better to take your time and release without bugs.

Besides, good development practices, good requirements, good change control, and good testing can prevent the vast majority of bugs from reaching production. Sadly, this idea that bugs in production are inevitable is pervasive in industry.
Building RNNs Is Fun with PyTorch and Google Colab
>Anyone else think this might work?

If it doesn't work, you can always find a different company. There's no need playing games with a company that doesn't want to tell you what they can pay you.
> In a fast-moving, consumer-oriented world like social networking, "move fast and break things" is probably very good advice.

I'm not so sure about that particular example, given the privacy implications. (And beyond...)

If your mantra specifically encourages breaking things in production, you've chosen to be flippant instead of thoughtful; or you actually want your product to be broken. It's likely that a more thoughtful mantra could result in better outcomes without discouraging urgency and innovation.
> This happened to me. I was perfectly polite, asked for a very modest increase from their severely low offer (after listening to a speech about how they couldn't get any good help), and would have even accepted the position if their response was "non-negotiable".

If their offer was "severely low", then why would you accept it?

Certainly, from their perspective, their offer wasn't low - you would have accepted it!

It was enough to bring you on board.

> They not only rescinded the offer, but they were ridiculous jerks about it.

If what you say is true, and they responded unprofessionally to a polite attempt to negotiate - then you're better off not working there.
yeah I failed the interview there.
Agreed, it's not as impressive as in person but I've always liked seeing the Cushman Powerhouse #2[1] when I drive 101. I feel like we should take pride in our infrastructure and making them architecturally attractive is a great way to do that.

[1] https://olympicaerialsolutions.com/cms/wp-content/uploads/20...
Tesla lost $8B in value this week and its board should be ashamed
recognize adds type hints [0], which is what the desired library would use to verify input / select suitable UI elements etc.

[0]: https://docs.python.org/3/library/typing.html
As a candidate, asking the candidate for their price to prey on their information imbalance would seem jerky to me. Just be open and tell them what you think you can pay them, and whether that's negotiable based on different conditions.
African traffic growth and predictions for the future
When you publish some code you can be pretty sure someone will use it in production, whether you advice against it or not.
I like a lot of the information in this article. But after going through a gauntlet of 20+ interview pipelines with 3 offers coming in at the same time and an additional 2 on the way, here's my advice... don't give the first number, give the first range.

Say the market is showing you between $X-$Y.

Consider it a form of late-binding. You want to be dynamic. So make that range both realistic and wide.

This is beneficial to you for a number of reasons. It will eliminate companies that can't get there. Win. It doesn't commit you to a specific number. Win. You don't have to ruin the rapport with an unnecessary game of chicken over who says the first number. Win. And most importantly, you have a wide open range to negotiate in when your offers come in. You can say... hey, I was upfront about my range, and I really feel like I'm <here> in that range for <these reasons>.

Using this strategy has worked beautifully for me.
Thank you for battling against the "must maximize profits" antipattern.
Wasted hours on Steam
On the flip side, it seems that many young devs think that they should be allowed to do anything they want, without oversight whatsoever. I don't know of any other industry where junior people have this sort of arrogance. Usually people recognize they are junior and work to both learn from and gain the trust of their seniors.

In development land, the attitude is "seniors are old, useless, and outdated" and any form of oversight at all "removes trust." E.g. A young dev suggests building their own database. After being told politely that this is an enormous task full of seriously hard problems and that it's not feasible to try, they yell about their "ideas being shot down" and that the work environment "lacks psychological safety."
Pain pills versus vitamins?

But, we have no social vitamins.
Google updates Location language after tracking backlash
I cringed reading this article. It is so much in the bubble of Silicon Valley startup culture it’s ridiculous.

Most developers don’t work for startups or one of the FAANG companies. Most will be working standard corporate jobs where you get a salary, paid time off, maybe a bonus, and somewhat likely a 401K match. That’s it. No great equity stake, nothing.

Depending on your market, it’s quite easy with the right networking, research, and talking to enough recruiters, you can find what your market range is.

Statistically, you’re probably not a special snowflake. Everyone thinks that they are and deserve way above what the local market is paying. You probably don’t.

The only time that I’ve been “underpaid” was when I either stayed at a company too long, or purposely made less than I could because I was learning a new technology or otherwise building my resume.

It’s not that difficult. Work with local recruiters, tell them what your minimum well researched jump number is and make sure you are keeping your skillset in line with the market. If I’m off by a few thousand, so be it. I’ll become aware of it in two or three years when I’m looking again.

But from looking at salary surveys, talking to friends in the industry, and talking to recruiters, I don’t think I am.

Yes I could make more if I wanted to be a manager (no desire) or a consultant (don’t want the travel or the stress right now).
Commercial Cryptographic Key Management in 2018
"trick question! There is no 'first number'!"
If you get photos printed at Walmart (or at least when I tried a few years ago) they make you either sign an indemnification agreement or refuse to print the photos. I remember one issue in particular - my wife had purchased some logos/prints online from someone on Etsy for a friend's baby shower. They still had the watermark on them and Walmart refused to print them without a signed release from the original artist.
I'm just never joining a social network that requires me to "toot". Sorry.
So a team of inexperienced developers made a system that mostly worked with some hiccups, could be debuged by an expert in 1 day, and fixed on a tight launch timeline. Looks like a success story!
Two suggestions, both slightly pedantic:

1. I went by the name and typed picniccss.com instead of picnicss.com and it didn't work. picnic-es-es does sound weird in one's head too.

2. On the website, you say '10kb' but should probably use '10kB'. The small-b is conventionally used to indicate bits and the capital-b is used to indicate bytes.
Truly, we in the U.S. need to look at ourselves for what we have wrought and currently suffer under.

We claim to want these things, then attack those who manifest them.

We preach understanding and forgiveness, then refuse to exercise it in understanding limitations others face -- external as well as internal -- and working with them to improve things.

No society's perfect. But, America has managed to raise sloth and hypocrisy to new levels.

As I've aged and observed, I've come to think of us more and more, as and become a bully nation.

Of course, a man like Carter doesn't "fit" into that. Which is a credit to him.

Or, depending upon your perspective, his ultimate failing.

(Something I associate with all too well.)
System Design Interview Concepts – Database Sharding
> cannot restrict the right of people just because they’re acting together

is that a generic legal principle?
Postgres uses some heuristics to determine if it will restart. But that's a problem mostly limited to databases.
Author here - I had submitted this a couple months ago and HN's asked me to resubmit to see if it fared a bit better.

"Ask me anything..."
My point is that we have a system of government that is for and by the rich, where billionaires tell the millionaires in government what they want, and then they get it. Your opinion does not matter to them [0].

Someone receiving a $206K/year pension, according to the 4% safe withdrawal method, is the equivalent of having $5.1M in a retirement account, except this is better, because it doesn’t run out. Most people won’t see that much money over their entire careers. This is not someone we should hold up and say “this person shunned riches,” because it’s not true.

[0]: https://www.upworthy.com/20-years-of-data-reveals-that-congr...