skysight-inc/HackerNews huggingface dataset:
Their report reads like they had it coming big time:

> The app was running, all the supporters were able to support and the comments on social networks were that the app made it really simple to do support. We were very proud :)

> We didn’t want to release any new feature with that many users on the site, so we decided to merge a version with Angular V.6 […]. The site started to load slower, for some users it took them more than 30 seconds to load the page. That was weird. Our team was not comfortable with that and we couldn’t understand what was causing it and now we had our code with a completly new version of Angular, and probably many other bugs in production.

Am I reading this right: Their site was running well. They didn’t want to interrupt it by adding new features (potential bugs) so they casually update the framework and push the new version of their website to production hastily? And instead of rolling back the release they double down and optimize their code without knowing the source of the slowdown. Like WTF? Apparently they hadn’t even opened the browser’s network console to check if/what requests cause the slowdown. How did these people get $25K grant money?
I think the whole situation with comments is a lot more nuanced than the author suggests. Namely, there aren't only the "important" and "redundant" type of comments[1], so the whole discussion about making them more visible or less visible is bound to be severely biased right from the start.

[1] The following (amazing) article discusses code comments at length:

http://antirez.com/news/124
Implying that there's a computer in existence that runs those fast.
Ask HN: Are there postmortems of site hacks anywhere?
It would be interesting to know exactly how major site hacks happened.

I wonder if this is ever documented?
The AMD Threadripper 2990WX has 32 cores with quad-channel memory, and it seems to do fine.
Tonsky (Nikita Prokopov) view on syntax highlighting: https://www.youtube.com/watch?v=l1b7Da2DnPo&feature=youtu.be...
I can't read other people's code
Best Shopify Dropshipping Apps
One important drawback of SQS is that it's eventually consistent, you can read the same message twice from different workers. Nevertheless we keep using it with additional checks when it's critical, it's still the cheapest solution by maintenance.
How does the Raptor solve the coking problem in the fuel rich pre burn chamber?
Also worth mentioning AnandTech:

https://www.anandtech.com/show/14407/amd-ryzen-3000-announce...
There might have been no imminent risk of war been present at the very beginning of what we call today the EU. But the history of repeated wars in Europe is surely one of the largest drivers behind all of it [1].

The ECSC was founded in 1951 [2], that is just 6 years after the end of WW2!

> Determined to prevent another such terrible war, European governments concluded that pooling coal and steel production would – in the words of the Declaration – make war between historic rivals France and Germany "not merely unthinkable, but materially impossible". [3]

[1] https://en.wikipedia.org/wiki/Pax_Europaea
[2] https://en.wikipedia.org/wiki/European_Coal_and_Steel_Commun...
[3] https://europa.eu/european-union/about-eu/symbols/europe-day...
> delivering materials from orbit to the ground

As far as I am aware, there is no material that is expensive enough that it's worth the cost of moving it from space to earth. Even pure gold from space would be a loss.
Yeah, that's almost a given isn't it? If AMD has really closed the single-thread performance gap then Intel is in for a hard few years in this market. Looking forward to independent benchmarks.
Neil Gaiman: ‘Good Omens feels more apt now than it did 30 years ago’
Just a typo but 2^(2^5) + 1 is 42946967297, you skipped the fourth digit.
I use Postgres SKIP LOCKED as a queue.

I used to use SQS but Postgres gives me everything I want. I can also do priority queueing and sorting.

I gave up on SQS when it couldn't be accessed from a VPC. AWS might have fixed that now.

All the other queueing mechanisms I investigated were dramatically more complex and heavyweight than Postgres SKIP LOCKED.
tldr; Fahrenheit maps the subjective feeling of very cold to very hot to a scale from 0 to 100.

Celsius on the other hand gives you additional information about the state of water at this temperature (0C frozen, 100C boiling).

The author didnt talk about the correct physical unit, Kelvin, which tells you about the possibitiy of the temperature (no Kelvin values below 0).
It definitely makes you wonder whether the 'E' key was broken on the machines at Bell Labs.

In all seriousness, Ken Thompson was asked what was the one thing we wanted to change in Unix if he could, and his answer was that he would spell "creat" with an "e"[1]. And funnily enough, he actually did in Go[2].

[1]: https://unix.stackexchange.com/questions/10893/what-did-ken-...
[2]: https://github.com/golang/go/commit/c90d392ce3d3203e0c32b3f9...
Heh, how did you find that old post? Interesting nevertheless.
I think you mean:

https://www.anandtech.com/show/14384/arm-announces-cortexa77...

https://www.anandtech.com/show/14385/arm-announces-malig77-g...
Note that OP writes that they are from a third world country. That means we don't know which jurisdiction applies, but it's not US or anywhere in Europe. So IP and labor laws may be very different from what we would consider normal or fair.
> They are smart people but they still fell for it.

If they fell for that then they're not very smart.

Would a smart person fall for it if a random hobo turned up at their door and claimed to be Jesus, but BTW he really needs you card and pin for 20 minutes, oh and $500 in cash as well!

.....
The Cloud. The sky is the limit for how much you can run up on your credit card. The silver lining is what you're going to be paying to your cloud provider.
5G is not that much for consumers but for industries [1]. There is a number of industry use cases that are just impossible for anything other than 5G. For example, self driving cars, virtual /augmented reality, support for huge numbers of IoT devices (ie. smart city).

Also, 5G is not just higher speed / reduced latency. The core network is way more flexible than 4G. This can allow it to provide guaranteed service to specific users, like first responders. That way first responders will be able to use the way cheaper and feature rich commercial networks instead of dedicated networks as it is the case now.

The first countries to have 5G infrastructure will be able to have faster developments on these sectors.

[1] The only major difference for consumers, given how they currently use their mobile devices, is that now everyone at a live concert will be able to stream it to instagram. I do not know if it a good thing though.
What would that gain, compared to e.g. using the "reset password" form that most sites have now?
Why not sit and carefully investigate the differences together? You are a family after all.
You can scream "That's not actually Scrum" untill the day you die. It doesn't change the fact that that's how it is perceived and done in almost every place that says they do Scrum.
> Get one more story in your member preview when you sign up. It’s free.

Oh wow, one free story for logging in! Such generosity of content other people wrote for free. Why did we all leave LiveJournal again?
I'm late to the conversation, but one thing I see causing a lot of unnecessary complexity is applying the same ideas and concepts at different levels of abstraction because it "intuitively" feels right. I'd like to call this "appeal to symmetry" or "appeal to completionism". Example:

* You have a CI/CD pipeline deploying an application artefact though test->staging->prod.

* You update your pipeline to treat the deployment script itself as an artefact that gets promoted as well, because hey — shouldn't our test code also be tested? And it's just a couple of configuration changes.

* You say "well everything else is an artefact so how come our pipelines aren't?" and start implementing CI/CD for your CI/CD for your CI/CD.
And it's very accurate. I tested it with English and Greek for which usually dictation systems are very bad and was surprised how well it recognised every word.
It's actually a quite brilliant idea, but just like NoScript and other similar addons, it's simply too complicated for most users.

Yes, you and I might be able to use it, but my grandmother can't. As the web is mostly built to be as accessible as possible, it won't catch on.
There are VPC API endpoints for this. As far as I recall it was all the time there from VPC begging, but I might be wrong.
> If I'm commenting-out my own code, that's because I'm trying to understand some issue, so please don't distract me. I'll remove it later, I promise.

This is where multiple rulesets could come in handy. Your editor which you're using for debugging should keep the commented-out code nice and subtle, but when you go to commit it should be bright purple with yellow spots.
If you click the "web" link at the top of the page, it brings you to a search for the post title. You should be able to find a number of alternate sources there
You already live in that world - Jediism is a religion people actually follow[0].

[0]https://en.wikipedia.org/wiki/Jediism
> Get them smartphones, preferably iOS

As much as I dislike Apple and their ecosystem, iOS is the way to go. But I went with tablets over phones, just for practicality with browsing and such.

With an iPad (as opposed to an Android tablet) I don't have to worry about them installing some fake app. It also helps a that anyone can figure out iOS (although it has gotten more complex over the years).

I've also installed Pi-hole at my parent's house. Not just to protect them from misleading stuff, but also because overly aggressive ads can be very confusing. I've once had my mom tell me her tablet was broken, because she couldn't visit the news, it turned out to be a giant overlay ad that she couldn't figure out how to close.

Lastly, I have migrated their ISP based email account (dating back to the early 90's) to a gmail inbox so they can benefit from the (mostly excellent) spam and fraud detection features of gmail. Their ISP offered no spam detection at all. It still uses the same email address though, I just routed it through gmail.

The government here in the Netherlands ran some great TV commercials instructing you to hang up the phone and call back if you got a call that you didn't trust. And another TV commercial on how to check the URL and certificate if you are on your banking website. I'm very grateful for that, it already saved my dad once from a phishing attack.
Paris is literally crawling with them. Every park we went to last year had them in bushes, under seats and climbing on peoples possessions as we watched. I biked quite a few km while there and saw them all over the central area.
I Went Full-Time on My Side Projects. (New Podcast)
FreeBSD has a much better laid-out filesystem than Linux (which is what most people think of when they complain about "Unix directories").
I'm sure what they had heard was "highest valued" and drew some incorrect assumptions regarding what that means. But according to your link, they're not even highest there, beaten slightly by Apple.
Only since December 2018 and you need to pay extra...

https://aws.amazon.com/about-aws/whats-new/2018/12/amazon-sq...
You could actually do exactly that in VSCode. I might have to try making it.
Well that's a rather biased account with cherry picked and anecdotical evidence.
Honestly, I find those kind of comment more distracting than useful.

I once read somewhere that comments should explain the reason rather than the action. For example:

/*
x is taken from a system counter but it needs
to be consumed by humans. So we add 1 because
humans don't count from zero
*/
x = x + 1

is a more useful comment.
I currently run a static website with a shop using Shopify's JavaScript SDK. All the benefits of Shopify's excellent backend and admin interface while still using a performant website that can be designed however I please.

Another option is Snipcart, which explicitely works as a drop-in shop for any website[2].

[1] https://shopify.github.io/js-buy-sdk/

[2] https://snipcart.com/
In principle I'd agree, but there is one small problem. They shit everywhere, and that becomes a problem in its own right.

iirc Victorian London had to find a way to dispose of something like 4 tons of horseshit a day. And horseshit is easy -- it makes brilliant compost. Cat and dog shit less so. Much less.
"Hydro is super safe though"

Until it isn't:

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

The worst powerplant disaster ever was a hydro facility. 171,000 dead.

Though full resolution is more on the scale of 1-10 years, not 10,000 to 1 million.
But not by mistake, and it facilitates remote backups. I took this to be the problem parent was talking about.
Why "require" documentation comment blocks to be parsed by external tools and read elsewhere? It's perfectly fine to have big blocks of documentation comments right in the code, and to be consumed there.

The current "fashion" of making comments as unreadable as possible in most syntax highlighter themes is indeed my main gripe with them.

Comments don't have to particularly stick out, but it would at least help to make them as readable as the actual source code.
Junior millennial hipster developers just discovered SELECT N+1 problem the hard way
Buy them a Chromebook/install ChromiumOS on their machine. Since it's a Linux distribution, it will make them safe from most infected e-mail attachments.
Agile – the only word in the English language that inverses its meaning when capitalised.
Something like the R5 230 or RX 460, several generations old, but will do.
> Farms closest to the border are checked twice a year and adjacent sites once. It sounds like a lot, says Merrill

That sounds like very little, and yet they have proven results.
I know people who run traps and check/reset them weekly over 10+km lines. That sounds like a lot, and yet it’s hardly denting the population. Unfortunately it’s 1080 poison that is needed.
New Zealand has a vague goal of becoming pest free. This is going to be hard, and cats don’t fit with this. Perhaps dogs don’t either?
Unpacking ASIC Firmware: AntMiner Exploited
US takes aim at Chinese surveillance as the trade war becomes a tech war
Comments are both important and distracting.

I immediately prefer the faded comments because they are there if I want to read them. I'm not going to struggle to understand and reason about the comments.

I may well find myself needing to re-read and reason about the code that follows, so it's good that it's easier to follow the code without distraction.
I've never understood this idea that comments are only necessary because the code is somehow flawed. This seems to be based on an ideal of beautiful code that both tells the computer step by step what to do and at the same time paints a bigger picture and expresses the intent of the programmer.

In reality though, code isn't poetry. C, Pascal, Javascript, etc. aren't meant to convey the thoughts of the programmer, but to give a machine clear instructions on what to do.

Humans aren't good at reading code. If we were, natural languages would have evolved like that, but they haven't. The idea of writing code for a machine and adding meta-information for humans to better understand the context isn't a bad idea, it's efficient.

What's more, when your code really does perfectly convey the intentions of the programmer and makes comments unnecessary, then your program is encoding information that the computer doesn't need, in a format that makes it harder for the computer to distinguish between relevant and irrelevant information.
I've never heard of this happening before, and I can't even think of a way in which uploading uLisp could break an Arduino, but contact me directly (my email address is on the uLisp site) and I'll try and help you sort it out.
You could ask: "Three quarters" of the way from WHAT temperature to boiling?

It sounds like the grandparent is trying to measure how far through the task of boiling their water is, by interpreting degrees Celsius as percentage done.

Maybe they usually make soup or tea by boiling ice cubes. (Perhaps they're Siberian?)

Are they saying that 75 degrees mean three quarters of the way from room temperature tap water to boiling water? Or are they talking about boiling an ice cube, so it's three quarters from 0 Celsius freezing?

Interpreting degrees Celsius as a percentages is not an intuitive way of measuring time elapsed to boil tap water, because 75% between freezing and boiling doesn't mean 75% of the time required to boil has elapsed, since you're starting from room temperature when you boil tap water, not freezing.
As per the contract the copyright of my work goes to my employer, and I have no copyright to (on?) it.

The difference is that I am not allowed to reuse that work somewhere else (e.g. my own project) with my contract, but from what you say that would always be possible. Also what you say means I could always sell work I do on the job to someone else, e.g. a direct competitor. So I am not sure if that's really right ;-)
An interesting take. As a cyclist, cats generally don't bother me, but dogs can be a massive nuisance. It's no fun being chased by a snarling dog on a steep incline. I do occasionally stop and "confront" them to try to scare them away but sometimes it doesn't work.

I'm hardly ever reassured by the owner, if there is one in sight, saying that he/she doesn't bite.

I used to have one of those ultrasound gadgets but the first one I tried left the poor dog whimpering, which made me feel like crap and the second one seemed to be ignored by most dogs. To be fair this was over 10 years ago, so the devices might actually work better these days.

Not from Turkey but we do have roaming cats and dogs in the countryside back home.
> The idea that your OS determines your text editor is fundamentally broken.

> Both of those notions destroy loose coupling, which is a fundamental design principle.

The available text editors on the system determines your text editor. If you want a different editor, nothing stops you from porting it.

You should try porting Emacs to Plan 9 but I think you'll find that it isn't so loosely coupled itself. Meanwhile, you can run sam and acme in your favorite Unix clone. Not a huge fan of them, personally
> red means bad and green means good. This association is cross-cultural, probably universal, and probably as old as the hills: red as blood, green as grass.

Red is a lucky/auspicious/'good' colour in China and parts of S/SE Asia. Red dresses, for instance, are traditional at some cultures' weddings.
>Wave it under their nose enough and it becomes like banner adds on a web page, they just don't notice it any more.
>When you need to use the tech in anger, your may see you coming, but they will dismiss you as just another of those strange glitches that get reported all the time.

That's the way cynics the internet mught behave, that's not the way the military or intelligence agencies behave.
The Legacy of the Banqiao Dam Collapse (2013)
I am curious if this really works. I assume rats will outsmart pest control and will just compensate their losses by breeding more and somewhere else.
> Very few serious philosophers would disagree with Hume.

Well, "very few" is always in the eye of the beholder, but I'd like to challenge this a little bit. The majority is Humean, I agree with that, but there are a number of non-Humean moral philosophers about moral motivation, for example Scanlon and Shafer-Landau. It's actually an ongoing and long-standing debate and with good arguments for both sides.

The SEP article on moral motivation summarizes part of the debate.[1]

[1]: https://plato.stanford.edu/entries/moral-motivation/#HumVAnt...
I used to struggle with this a lot. In fact I never got into open source programming because I simply could not understand where to begin in understanding foreign code bases.

I still struggle but it's easier than it used to be, this is just something that comes with experience, and is the biggest 'tell' between junior and senior developers.
Kube-OVN v0.4.1 Released Fix bugs since v0.4.0
We've used SQS with great results (and reliability) for many years now, but I am interested to hear the author talking about 'replaying queues' to replicate faults. I never realised you could do this with SQS. Or can you? I thought once a queue item was processed and deleted, that was it, it was gone forever, but perhaps you can see historical queue data somewhere? (without having to store it yourself)
UX Design Reimagined Create Pin Experience [video]
China's call for new Internet models
Rgerding grant money post says: NXTP Labs acceleration program - so venture capital basically.

Looks like incompetence really, using a framework and unable to pinpoint the bottleneck and deciding that maybe upgrading version will somehow fix their bad code.
Not a completely pointless idea as framework might indeed have been changed enough to force them into using itself correctly, but still lot of questions.
Ye. Reading eg. Javadoc verbatim is awefull.

There are nice doc generators that allow natural language with markup only for special attributes.
That is until websites started detecting adblockers and refusing access to their site.

My mom called me because her tablet was broken, it turned out the news website had a giant overlay with some heartbreaking story that they relied on ad sales and due to her evil actions, they now had to lay of people. I whitelisted the site and it worked for a day or two, then my mom called me again that her tablet was still broken. This time that same news website had an overly aggressive full-page overlay ad that she couldn't figure out how to close. A third time she called me her browser kept crashing because the news site was attempting to load multiple MB of JS and video ads.

For my parents it's ads, not scams that cause the most problems.
I never thought about this. I don't know how Istanbul manage it, there is a lot of cats but the city is quite clean for a city that size (but cleanness is also quite important in Turkish culture).
I think this raises an important issue; some comments are important and it would be helpful if they stood out as such. I disagree with the idea that since SOME comments are important, therefore, ALL comments should stand out. Others have pointed out how comments marked with TODO are treated differently by syntax highlighters. I’m going to start prefixing my important comments with NB (nota bene).
Massive kitty litter boxes in all/most parks? Tongue firmly in cheek by the way.
> you can read the same message twice from different workers

If you have a short visibility timeout that it appears back on the queue before you delete it... Sure.
It's not really possible to manage even stray/feral dogs and cats that way, if it has gotten much beyond a "stray" pets problem.

Dogs and cats, given favourable conditions, can breed up and affect an ecosystem as major predators do.

Australia, for example, has cat & dog problems on a continent-scale. Dogs are hybridising with displacing the semi-native dingos, and that basically means a totally new top predator. Cats are the number or or two threats to several vulnerable and endangered species (eg fairy penguins, in the south), and have already caused multiple extirpations.

At some point, managing these animals can't be done with a "pets" mentality. They are just feral animals that are related to pets.

There's not going to be shelters for I teoduced foxes or weasels.