skysight-inc/HackerNews huggingface dataset:
That, however, does not at all work when exceptions are part of the "normal" process and should be ignored or cleanly retried (having spent a while interacting with github, if you take the entire thing down every time github replies with an error and log that to sentry, your sentry instance will last all of 5mn before you have to declare bankruptcy or just plonk the alters and ignore everything).

But in that case you probably still want to know about these failures, so you can review them from time to time, or see if there are upticks in failure frequency.
I hope so too. I recognized the symptoms (in myself) as soon as I started reading the abstract.

---

from the link cdrini posted above, which is a Guardian article by one of the authors of the study in the original post.[0]

"Even those without long Covid could benefit from such research, as symptoms noted in long Covid patients show many similarities to those seen in chronic and viral-related illnesses including myalgic encephalomyelitis/chronic fatigue syndrome (ME/CFS) – another disease that has been dismissed as “psychological” for decades. Just because we have not yet identified a biomarker for long Covid does not mean biomarkers do not exist. We just need to look harder."

[0] https://news.ycombinator.com/item?id=29808020

PS. Hope the post is done correctly, it's my first one here.
> The only allowed programming languages should be the energy efficient ones

I think I'm having trouble reading sarcasm today.
Facebook has not produced internal innovations after Facebook. After that everything has been either incremental improvements or acquisitions.
The company just a vehicle for a law firm that wanted to drive the lawsuit, and the legal work is being done free of charge unless they win.

The lawyers needed to find a plaintiff with standing (you can't just sue because you don't like something, you have to be able to show damages).
Great point about using business metrics to notice real customer problems, but when you have to find out _why_ those metrics are off, logging is helpful.

This reeks of functional programmer brain.

The world is not immutable. the world is weird. Your systems will interact with other systems that don't always quite work. Sometimes, their systems are wrong, or update without your knowledge, or theres other issues in routing, networking and whatever else.

Logging errors like "I can't resolve this domain" is more helpful than "my customers can't use this integration and business is at zero"
I haven't tried to find anything specific but it probably makes it faster in some cases to skip over a specific section.
TSMC's largest customers are American though. Apple, Nvidia, and AMD. These companies sourced their chips internationally to TSMC for cost reasons, related mainly to labor. They're to blame. There's a compounding effect too. They could've purchased American chips and subsidized American foundries. They didn't and instead American foundries have fallen behind.
Maintaining golden container/vm images with root cert customizations is a pretty complex task that needs constant maintenance and customizations for new runtimes. Also this does nothing for unofficial devices (byo laptops, byod smartphones, ceo's ipad, guest laptops).
> 3. We don't just log failures.

Ye just log everything. You mostly don't know in advance where the error will be anyway.

The author seem clueless. Don't log but use a Cloud $$$ SaaS for monitoring? Really?

And then he goes on to argue that the code should just not fail. Like, "write good code".
Songdata
With Digicert, you do a different API call “duplicate certificate” to avoid buying another cert unnecessarily.

I would consider it to be a best practice to keep unique keys as an SOP as it discourages bad behaviors, like keeping private keys accessible on file servers or even mail.
Some sort of function that returns a variable number of arguments.

It's basically the same as the list monad in haskell, and there are examples here https://en.wikibooks.org/wiki/Haskell/Understanding_monads/L... that can be followed even if you don't know any Haskell.
Even if logging does not give you a complete picture of the exact run-time state of the system or the context in which the error happened, I’d be damned if I’d willingly deprive myself of a logged error. At least you know where it happened. Invaluable first clue IMHO.
Worse, it is often not the trust store on every device. It is often multiple trust stores on a device.

The OS might have one. Each browser might have its own. For a developer, each language they use might need separate configuration to get its libraries to use the certificate.
Curious- what's shipping with micro usb? I had to find a micro usb cord to charge an older device a few weeks ago and probably have 1 or 2 cords compared with 15 or so USB C cords (and I've never bought a USB C cord outright- those are all from products that shipped with C).

As for mini usb, the only thing I own that uses it is my TI-84+ calculator.
I think you'll be happy with the Enterprise version based on your list, we've had very similar thoughts. One question on the final point, where do you see the need to install the server on Windows? We've had one other user ask for this, but not sure if I see the need.
This was posted a few days before, and we had a lively, if not entirely civil discussion [1]

To recap some of the key points from that previous link:

* Germany currently has a fairly low share of nuclear power in its overall mix and is a net exporter, so the shutdown has a moderate impact at best

* electricity prices have risen immensely lately, and shutting down any production may be a bad idea

* some argued it's not only about supply, also about elasticity of supply; nuclear may be crucial to offset volatile renewables

* And there was of course a lot of debate surrounding risk. Keep in mind [my comment here] that risk is relative until it becomes absolute; a nuclear catastrophic failure has 100% effects, a non-existing failure has 0% effects. People often evaluate risks based on this framework.

* [edit] forgot to add: Germany is currently mid-tier in co2 emissions per kwh, so not exactly very green but has been making progress and is not the worst offender either. This shutdown will therefore have a negative impact on co2 emissions.

[1] https://news.ycombinator.com/item?id=29750718
I think using DNS for the intranet nodes is generally a good idea. It allows HTTPS to be seamless.
Not really a point I read in TFA but I agree. Catching just to log something is generally wrong.
I'd say it's a signal for a rather mediocre kind of conscientiousness -- that is, for someone willing to put in long hours to achieve a certain goal, for sure -- but for a goal they almost certainly believe to be fundamentally pointless.

And as such, is likely to cause them to develop cynical attitudes about the industry -- and about the companies requiring these tests, in particular.
SSR. It turns out most devs can write reliable SPAs so you need some sort of hybrid.
I have one of these laptops running an arch based distro. Some of the hardware was buggy especially wifi/bluetooth and the intel GPU had some issues with KDE but all of the issues are fixed. Still requires a reboot here and there but pretty much all computers I've had do at some point. Battery life isn't great. Overall I wish I spent $500 more and bought an M1.
I bought the second generation Fire TV around January 2020 and at the time it was decent. Last year when the UI update came it became very laggy. It would take ten seconds or more to play a movie in Netflix, when on a PC it would load instantly. It became worse gradually until I gave up.
Almost none of those jobs were created by the founders. Most were created by profit-maximizing companies that would be trying to maximize profits even if the founders lost all their stock tomorrow.

Very early hires, maybe you can claim were going into a job created by a founder.
Asyncer, async and await, focused on developer experience
Central Europe has a lot of wild pigs and I encountered them several times right in the streets of villages or small cities adjacent to bigger forests - but always around midnight or later. They are smart and try to avoid humans, and they have obviously determined that the small hours are the optimal time to go scouting for some food with no one around.
I've come across a lot of C programs that should be libraries, but they're written as an executable tool. They tend to assume that they're the only program in existence, never free their memory, use non-constant globals, stuff a whole bunch of logic into main(), etc.

By contrast, wfc is a breath of fresh air. The good stuff is in wfc.h, and the tool is in wfctool.c, which serves as an example for people who want to use the library. Consumers of the library have the option of writing a thin wrapper to produce an object file, or directly including it, if they prefer.

If this was a gargantuan library, it would make more sense to dicker about what's going into your build. But it's not a gargantuan library; it's tiny, and has the appropriate guard to prevent multiple compilations.
AFAIK it's mostly intended as a way to generate tickets: hard errors go into sentry, and the logs can be used as breadcrumbs, but it's not intended to help you diagnose e.g. how and why a business process did something wrong (unless it ended up crashing I guess).
I have one of these laptops running an arch based distro. Some of the hardware was buggy especially wifi/bluetooth and the intel GPU had some issues with KDE but all of the issues are fixed. Still requires a reboot here and there but pretty much all computers I've had do at some point. Battery life isn't great. I'm not unsatisfied, but overall I wish I spent $500 more and bought an M1.
Is it really that simple, though? As an American, I'm under the impression that Germany's green ('liberal') party is very anti nuclear due to the FUDD surrounding it..much like a lot of people in our country are as well.

Which is a shame, nuclear seems like a slam dunk- especially the newer plants with all of their safety improvements, waste reduction, etc.
> ...yet creates absolutely zero actual value.

It's only the first uncensorable / decentralized kind of money, nah must be nothing.
>reclaim their property

No no, highly illegal and immoral.

Instead your kid is born a beautiful genius, and you pay monthly for 'personalized DNA stabilization boosters' (cant take someone elses, individually copyrighted formula) for the rest of his life.
ECC is not inherently slower. Registered modules are slower (by the added latency of the register). ECC-or-not and registered-or-not are two orthogonal features of the DIMM and in theory all four combinations are possible. On the other hand non-registered ECC is somewhat rare (and for some reason often ridiculously expensive) and registered non-ECC probably is not manufactured at all (it does not make much sense).
This might work in a universe with spherical cows but they seem to hand wave away all human elements. My eyes rolled a loop in my head when they advised an urban location. That's a great way to ensure it gets demolished when a marginally better use for the land comes along.

If it were me I'd just build some monstrosity of a palace in somewhere that nobody wants such a thing and I'd build it out of stuff that's highly inefficient to repurpose, not steel beams. The best way to keep something around is to make its continued use better than any other option so that people take care of it and give it the capacity to withstand a couple generations of neglect without falling in on itself. A castle (metaphorical or literal) on some cheap land along the highway in North Dakota should suffice.
Most ISPs in Sweden have root certificates.

I use this for security: https://datatracker.ietf.org/doc/html/rfc2289

Trying to avoid MitM attacks from your ISPs is really an exercise i futility, and a really expensive one at that, both energy and timevise.

HTTP, DNS and SMTP are the only protocols you need.

Small web uses small protocols, big web uses big protocols.
I just ran vscode on ubuntu and checked its memory usage, you're correct that vscode brings its own chromium instead of sharing any libraries with my running chrome.

Wry said to use 'default web engine', which under Gnome is libwebkitgtk(i.e. webkit engine), that is different from its default browser firefox which uses Gecko as the engine.

so Electron and Tauri both will bring their own demanding/heavy cpu/memory needs from their built-in web-engine that shares nothing with your already running heavy browsers. Neither is a light-weight solution.
This greatly overstates the benefits of UUIDs, and ignores the myriad ways in which they demonstrably have poor properties in real systems. I've worked on several large systems designed around UUIDs at scale that we had to later modify to not use UUIDs due to their manifest issues in practice. And then there is the reality that v3/4/5 UUIDs are expressly prohibited in some application contexts due to their defects and weaknesses.

Also, sequence generators are a non-problem in competent architectures, since you can trivially permute the number such that it is both collision-free and non-reversible (or only reversible with a key).

It is still common to use structured 128-bit keys in very large scale databases, and it is good practice in some cases, but these are not UUIDs because the standardized versions all have problems that can't be ignored. This leads to the case where there are myriad non-standard UUID-like identifiers (in that they are 128-bit) but not interoperable.
In 1987, I was typing BASIC programs I read from a book into a TI-99/4A attached to a television in my bedroom, and desperately wishing I had a cassette recorder peripheral so I could actually save anything. Having to retype in a game every time I wanted to play it was so tedious.
Yep, same as you. 20+ years in the industry, including the last 10 at Google. If I get asked to code on a whiteboard or do these kinds of tests, I walk out. I've never been good at them. Don't ask me how I got in at Google. I trained twice to do interview training at Google and just refused to do the interviews because of this style of interviewing that I don't feel comfortable administering, either.

Now that I'm looking again I do see that many companies have switched to practical take-home type stuff, which is far preferrable.
I really disagree with people who want to ban bitcoin. If you understood how Bitcoin works and why people adopt it, you'd realize you can't ban it. You can ban onramps and offramps but you can't ban mining and most nodes operate over TOR so you don't even know who's running it
It's a preprint that has already been criticized by peers

It's resolving a symptom, not the cause and there's no long-term followup to see if the results stuck around.
> What is a realistic scenario where an array needs to be flattened?

Concatenating the result of a paginated API.

Showing all the objects two or more 1:N steps away from you in the object graph. The events your friends are attending, the issues your coworkers are working on, the people belonging to any of your same groups. Basically any time you would do a SELECT... JOIN in SQL.
I've been a ThinkPad user in the past and was using a ThinkPad as my last laptop before starting Framework. In many ways, the Framework Laptop is a modern take on where ThinkPads came from. The T480 is relatively recent, but even there, the current generation of it (T14 Gen 2) loses one of the SO-DIMMs and the swappable battery.
20 Year Old Spends 6 Years Recreating Ceefax
It occurs commonly any time you are dealing with nested data.

For example: at work we deal with "roles" (professions), and underneath those there can be different specialisms. In some of our views we have filters that users can use to show a subset of the data. There is a filter for roles, and a filter for specialisms. But the specialisms filter should only show options that are relevant given the roles selected in the roles filter. So the code for generating the options to display in the specialisms filter dropdown is something like:

const availableSpecialisms = roles
.filter(role => selectedRoles.includes(role.id))
.flatMap(role => role.specialisms)
As an aside, I’m increasingly convinced that Fedora is probably the best Linux distro around right now for both enthusiasts and beginners.

Great stability. Close to the edge of progress. And they focus on delivering real unique value on top of what others have created as opposed to reskinning and hacking Gnome.

I’ve never used Fedora but I’m keen on moving over my personal desktop the next time I have a couple of days to mess around with it.
I agree that that's how things are. The fact that they are like this doesn't mean they must be. I believe there is a huge market for private research. Imagine the company getting to nuclear fusion first. They will be extremely profitable, and investor don't even have to pick a company. They can diversify. So I disagree with the conclusion.
I believe this is a big case of Crowding-out.
https://en.wikipedia.org/wiki/Crowding_out_(economics).
Watch someone good at Splunk debug a production incident and you'll forever do good logging before you do anything else.

Also, this [1] is doing logging right. Completely underutilized.

[1]: https://stripe.com/blog/canonical-log-lines
Because I don’t even know what the product is after glancing at the page
Jeff Bezos’ New Year’s Disco Style Hits a Nerve
I don't get why people get so theological about logging.

If logs bring you some sort of value, then log away. If they don't, then don't. In some domains you absolutely crucially need logs, in others they're largely a waste of time.

Logging is probably the most foolproof way to extract debugging information from your application. The killer feature of logging is that standard out very rarely breaks, no matter how bad things get it works. It will work from the moment the application starts, it will work in an OOM situation, will work if your network switch is on fire, when the DNS records are wrong and your technicians can't even enter the building, it will work no matter how bad things are. If logging does somehow fail, then that is on you, in that scenario you have fucked up your architecture somehow.
Mechanistically, placebo can only work on psychosomatic symptoms. There isn't any magic going on. If the problem is in your head, then thoughts can maybe help.
100MB in 10m is 166.7KB/s. I’m gonna go ahead and guess that most people have internet faster than that.
When `x => [x * 2]` is a function that returns an array, but you do not want an array of arrays. Doesn't make much sense with such a lambda, of course.

And of course you could call `flatmap` bind, if you prefer ;)
> it's totally reasonable for them to demand that you leave your webcam on and stream a screen share and the webcam to their servers at all times, since that will make it extremely difficult to cheat.

This is already how tests for school (including higher education) have been done, especially since the pandemic started[0]. In most situations, like playing a game, you can choose to play a different game (perhaps one not tied to being internet connected), but with higher education it's effectively forced on you to get a degree.

0: https://web.respondus.com/using-lockdown-browser-with-a-webc...
Of course not. My whole point is that potassium, which is (except for extreme cases) radioactive due to Potassium-40, is an essential part of the human body. It does not “wash out.” Carbon itself is also radioactive, containing Carbon-14 that decays over time.

Life and our bodies are and have been bathed in carcinogenic radiation (as well as other carcinogenic and DNA-damaging environmental factors) since the beginning of life on Earth. Every time you go outside, you are exposed to ultraviolet radiation on your skin and when you’re inside, cement and granite countertops and nuts and bananas expose you to radiation as well. It’s inescapable. So an extremist perspective on artificial radiation where even its detection is considered harmful is just innumerate and scientifically illiterate. It’s a kind of superstition if not related to levels of naturally occurring radiation.
Many of those simple problems are only simple once you understand the underlying techniques, and often have subtle tricks that make or break the underlying solution (for the allowed runtime / memory). I am continually amazed reading Segewick when he points out "this only takes one line here to make it all work! Seems simple, but actually took researchers years to work that out". But if you read (or use similar code) invovling that one line, you might think it easy.

A good exercise, I think, would be to ask people to implement binary search (assuming they never have before). We can all intuitively explain the algorithm, but actually getting all the code just right is a little tricky. See if it trips people up. Then ask them to do it in 20 minutes or they are fired (e.g. comparable to interview scenario).
It was a part of the cause, I've already ceded that point to another commenter. I did research and yes, many decades ago there were racial prejudices involved. There's nothing to indicate that that's still the primary motivator to keep DC a district and stating such is baseless speculation.
Last time I considered using it, it was a pia for IIS servers because you have to manually renew every 30 days. Has this changed?
We have an internal certificate authority for internal domains at my job. We add the root CA certificate to each desktop or server through an endpoint agent that runs on every machine. That agent is used for monitoring, provisioning users, and even running arbitrary commands.

The article mentions BYOD (bring your own device) but we don't allow personal devices to connect to internal services, so this isn't an issue for us.

You can use something like EasyRSA to set up an internal certificate authority and generate server certificates signed by that certificate authority. I started using plain old OpenSSL for generating certificates, which EasyRSA uses under the hood, but I would have liked to start by using EasyRSA in the first place.

By the way, EasyRSA still isn't that easy, but it's better than using OpenSSL directly.
Below is to point out that causation is being thrown around way too much with respect to the pandemic, not that the conclusions are incorrect.

> A global pandemic that has resulted in 4.5 million people quitting their jobs in the United States in the last month

4.5 million people quit their jobs and there was a global pandemic. 4.5 million would need to be compared to historical rates to say the pandemic resulted in an increase of X people quitting their jobs, not the total of 4.5 million. But even that X increase is a correlation and I highly doubt that the pandemic was 100% responsible for every single one of those individuals quitting their jobs.

A more complete story can be found from the bureau of labor statistics.

https://www.bls.gov/news.release/jolts.nr0.htm

> Over the 12 months ending in November 2021, hires totaled 74.5 million and separations totaled 68.7 million, yielding a net employment gain of 5.9 million.

I still agree that the idea of bullet 1. is likely valid, that people are leaving jobs that are undesirable and getting better ones - but I'd be careful to add the reason why. Causation has been thrown around casually during the pandemic to influence policy without any evidence of the causation or the magnitude of that causal relationship. You could just delete "A global pandemic that has resulted in" and the sentence would stand alone.
Ta-dum It's Netflix (2020)
That's true. Annoying and pointless logs at least tell you where they are :). I suppose what I meant by this is in the heat of the moment having to sift through overlogging probably somewhat justifies the "no log" rant on the surface. But the underlying problem isn't logging but rather the abuse of it so it seems a little premature to blame logging itself for this.
For what it's worth, I know I'd certainly use it.