skysight-inc/HackerNews huggingface dataset:
This kind of incident happened to me in a system that was supposed to have high availability. We had failovers for hardware, but it seems that a network device that was supposed to have HA (and was set up to pass the functionality to another device in case of failure) did not have ECC memory. One memory bit got stuck at 0 and the event was not detected at network level, as the data was repacked with a "clean" CRC. For some reason the packet headers were not affected by this, maybe because they were kept in a separate memory zone or because of memory alignment. So the device did not report any kind of suspicious activity, no errors in its statistics.

On the application side the effects were quite bad, as the data was mainly XML and, depending on where the bit was flipped, it could impact the data or the XML structure. The data had its own CRC/hash, so the packets were cleanly rejected by the application. Unfortunately the XML library from the message queue engine and the ESB we were using did not like at all when the bit flipping occurred in the XML tags (it seems fuzzing tests were not done at that point) so the message processing got stuck and we kept getting bad messages in the queues. Even worse, the queues could not be cleaned with the normal procedures because the application wanted to first display info about the messages inside - and that failed.

The network debug was non-trivial because of that header consistency - the network devices did not report any kind of packet issues, so we had to sniff the different network segments to identify the culprit. From the application point of view, we had to delete the whole message queue storage to get rid of the bad messages, and let the application handle the rest (luckily it was designed with eventual consistency and self-healing).
I agree with all your other points but

> > We can’t perform arithmetic on an Option<int> any more than we could on a List<int>.

> Why not? One sensible definition is
(...)

It's not the only sensible definition. It would be equally sensible to implement it as:

Some(x) + Some(y) => Some(x+y)
Some(x) + None => Some(x)
None + Some(y) => Some(y)
None + None => None
While I agree with the argument that it’s better to let the semantics drive the formatting, I wish we could get over formatting discussions already, with the codebase recording the structure, and the displayed format being a matter of editor configuration. Tabs, spaces, linewidths, whatever... knock yourself out. A bonus would be if vcs patches/diffs are semantically aware. Has this ever been tried seriously?

Given their simple syntax, one of the lisps seem to be the best poised to drive this change.
Oh, just because you can ignore some distinctions doesn't mean that you will.

If a shipping operator can eke out a few extra percent of efficiency by taking container weight into account, they will try to do so.

Of course, they will have to balance the efficiency gains against extra complexity.

But it's not so different from eg Amazon taking what's going on inside the AWS VMs into account when deciding on how to run their data centre.

Eg you might have booked a VM with four cores, but if you are typically only using one, they'll take that into account during placement.
Ok but tech elite here aka VC investors aren’t getting options when they invest.

So this tax question doesn’t apply to them. Rabois can move to Miami now and if he sells his IPO shares next year he owes California nothing.
it's for waging proxy wars. for example US could deploy it's army in Nigeria to protect freedom and democracy
That would explain a lot. I've been having intermittent internet issues for a while now.
Proponents of anthropic principle would argue that there are too many coincidences that made existence of matter possible, existence of life possible and evolution fast enough to make intelligent life possible. Out of myriads of parallel universes it was our dirt ball that pulled all the lucky numbers and we are just suffering survivorship bias. There could be aliens, just not in our universe.
Cool story, thanks! Perhaps you can solve a mystery phone hiccup that happened to me a few years ago? I called a friend (mobile to mobile if it matters) and, from memory, about 20 minutes into this call I get disconnected, _but_ I instantly end up on a call with an elderly stranger instead, who seemed pretty irritated she was now on the phone with me. I was surprised enough that she hung up before I could form a coherent sentence to explain what had happened so I've no idea if she was trying to ring someone or if the same thing happened to her or if she'd dialed my number by accident. From what I remember it seemed like she was also already mid-conversation as well though.
Since you seem to have an eye for this, what about Apple Pages? The output of that always seemed pleasing to me.
What’s fascinating read! Gotta error check my scripts.
I'd love to see a study on this; the total cost of ownership has always been far less for the Mac than Windows, especially when you factor in the amount of support Windows requires compared to the Mac.

This is simply not true, based on real-world experience. (Again, I did R&D tax credits for 4 years for a media company; I had line-item access to expenses and the reasons for every expense.) Macs cost more than Windows PCs of the same or better performance, are more expensive to replace (since usually the entire device must be replaced), and generally cannot be upgraded. Moreover, the fact that Macs may last years longer is irrelevant to a business, since the "useful life" for computer equipment for financial purposes and actual use is 5 years or less (emphasis on the "or less"; we replaced machines at least every other year with newer equipment).

An M1 Mac mini starts at $699, so there's no excessive cost.

So what? An M1 Mac mini can't run any of the software that you would be running in a video production environment, let alone one requiring real-time editing capabilities for a live broadcast.

Of course, FinalCut Pro (and the rest of Apple's suite) is good to go; DaVinci Resolve (editing 4k, 6k and 8k RAW video) is also looking pretty great:

Final Cut Pro has not been industry standard since before I started at my old job. Apple did a great job of screwing the pooch on that one. As for DaVinci Resolve, it runs even better on Windows, especially since you can put as much RAM as you want, and multiple GPUs, and whatever cooling system you want, and make the machine literally run laps around the top-of-the-line Mac.
Hey, they had that in Game of Thrones!
Yeah please don't use us as an example - the UK has handled this terribly.
The two most difficult things in programming: caching, naming and off-by-one errors.
Have you seen Parks & Rec, and remember that scene in a Home Depot where an associate walks up to Ron, asks him if he needs help with a project, and Ron responds "I know more than you"?

I've pulled a variation of that on CSRs at least once, and surprisingly, it can work. Just be cordial, preempt the typical IT Support stuff they always ask, DO NOT say its intermittent (initially, to the front line CSR; if given a chance to expand the issue after escalation, then add that bit), and get technical ASAP (it doesn't hurt to throw in some parallel industry jargon). Basically, build a case where even the information you're giving them is beyond a first-line CSR playbook, and they have to escalate.

"Hi there; I've been observing some erroneous TCP packet bit flipping on HTTP requests which route through one of AT&T's data center in Oakland. I've tried restarting my computer, I'm seeing the same thing on my phone, and I actually swapped my router out for a spare one I have, but its still an issue."

(that last sentence exhausts literally every playbook a front-line CSR has. it sounds so easy, right? there are four variables in any front-line CSR diagnostic equation: their network, your router, wifi/ethernet, and the endpoint. you just crossed off three of the four variables in one sentence).

(Wait, a data center in Oakland? How do you know this? You can tracert a bad request and geolocate the first IP outside your network, but, lets be realistic: You don't. You're fronting; demonstrating knowledge that a front-line CSR can't disprove. You may think this is misleading to whoever this gets escalated to, but it isn't; their tools are FAR more advanced than yours, and they're used to 99% of customers being incorrect idiots, so they're going to be validating and reconfirming every word you say anyway.)

Ron's Parks & Rec example above is crass. But here's the magic bit: frontline CSRs generally look for an excuse to escalate, you just need to give them enough CYA to check their job as done, and the higher tier CSRs/network engineers will love you for actually knowing what you're talking about. Its a win-win; be cordial, be forceful, strut what you know.
Take This Hammer (The Director's Cut) – KQED and James Baldwin (1963)
Flatpak does respect your GTK+ Theme - but you have to either have it installed in ~/.local/share/themes or youbhave to download your theme as flatpak package aswell. But that implies that someone has to maintain the flatpak packge.

While the most popular themes are available, more "niece" themes are missing. Do a `flatpak remote-ls flathub | grep --color "org.gtk.Gtk3theme"` to see all available themes.

Note: I'm maintaining a theme on flathub.
But see, the difference is something that is confusing to a beginner is quite a bit different than something that is just overwhelmingly complex for anyone.

And "simple" code has far more risk of side effect than well architected code, which is quite the opposite of what you assert.

Getting to the bottom of what you need to change is complicated if you're new, but once you get past the learning curve it's straightforward.

On the other hand, a "simple" code structure can becoming a steaming pile of garbage if you want to make any real changes to it.

To be very clear, I'm talking using something like composition instead of making a big file with cyclomatic complexity -- not arguing for some of those other things, which in all honesty I'm not completely familiar with.

Really just arguing that sometimes this stuff seems impossible and dumb when you're starting out, but easy and intuitive when you learn more.

> I pity the guy trying to fix some old legacy code base, while also trying to figure out what the hell a combinator is

That goes to my other point: it's wrapped up in excessively formal language, but the actual ideas are simple. I think they might be for instance just advocating the use of functional programming, and juniors use Javascript lambdas every single day without knowing what the hell a combinator is.
The mythical “fast” web page
Not to mention that abusing sick days is totally grounds for firing, which given the strong worker protections otherwise is a real threat.
> as long as you're not putting diners in circulation-restricting tents

The problem is that this is EXACTLY what they are doing.

One mexican restaurant near me has a nice parking lot that they converted to outdoor dining. Yes!

And then put a tent up with heaters under it because it got "cold". ARRRRGH!!!!!!
Keep in mind that many of these values are for a laptop (MacBook Air) with no fan at all (the MacBook Pro and Mac Mini are only marginally better even with a fan).

I doubt there is any other fan-less laptop in the world which can run Baldur's Gate 3 smoothly at 30 fps without a hitch.
A big search space is not a detriment to optimization. It just keeps you from reaching provable optimality, but doesn't keep you from saving on costs compared to doing nothing.

Same for the rest of what you describe: yes, a perfect system would be a lot of hassle, but making any effort at all is sure to yield benefits.

You don't need to change the billing model necessarily. The customers don't have to know that you are doing this kind of optimization.

Of course, the more you can expose incentives to your customers, the more efficient you can get.

But even if your containers arrive in arbitrary order and you have to make your decisions on where to place them 'online', ie before the next container arrives; as long as you have any choice left at all, you can try your hand at optimization techniques.
Also, a just-published database of gaming performance on the M1s confirms that the M1 is not the revolutionary chip that Apple claims it to be once you run it in uncontrolled (aka real-world) use cases.

The M1 struggles to run 4-year old games that modern AMD and Intel chips breeze through. While the M1 appears to have good burst capabilities, its ability to handle extended processing loads for anything that isn't hardcoded into the chip (aka, anything other than video processing) is woefully deficient. Whether that's a function of the CPU design, or poor cooling, or both, is not yet clear.
Apple’s 2021 chip strategy will create a massively parallel universe
Don't forget harmonica!

Also, your description excludes much of Dylan's extensive[1] catalog, starting with Bringing it All Back Home and including some of his best work like Nashville Skyline and Blood on the Tracks, much of which features diverse instrumentation and extensive, if not always "lush", production work.

[1] "Bob Dylan has released 39 studio albums, 94 singles, 26 notable extended plays, 50 music videos, 12 live albums, 15 volumes comprising The Bootleg Series, 20 compilation albums, 15 box sets, seven soundtracks as main contributor, five music home videos and two non-music home videos."

https://en.wikipedia.org/wiki/Bob_Dylan_discography
When Are Things Good?
I am not sure if it counts as providing a benefit to society but I think the Dell private equity process(taken private in 2013 and reintroduced to the public market in 2018) is generally considered a success from a business standpoint. As mentioned in sibling comments, a lot of private equity investments are an attempt to do something similar.
A lot of posters here seem to have been deeply burned from microservices designed along the wrong lines. I mean, sure, it happens. You're going to make mistakes just like you can misjudge how to separate concerns in a set of classes. It shouldn't be an issue to fix it.

Maybe some teams focus on pure separation before they have a solid design? Maybe its just a culture of feeling like service boundaries can never change?

I don't really get it either.
that's to identify and fund a thousand Peter Thiels. I'm not sure we want that
Many companies have done the math, and realized they make more money if they just let the 5% customers leave.
That's misguided pedantry, I think. Most seas are a subset of the ocean, and the Baltic is an arm of the Atlantic.
It's a horrible story.

Some rich idiot put a treasure box on public lands, resulting in significant amounts of damage to national parks and monuments and several deaths. It was ruined from the beginning and it's a damn shame Fenn is no longer around to be prosecuted for it.
I split my work into different 'tasks.' It's like a to-do list. One task might be to write an email, another task is to read a paper, another is to write some code, etc.

I put the tasks into a text file.

I run a python script that keeps track of which task I should be working on, displays it to me, and shifts from one task to the next every two minutes with audio cues for 30-minute sprints.

So, I work on the email for 2 minutes, then I hear 'SWITCH TASKS' in my headphones and I read like two paragraphs of the paper and I hear 'SWITCH TASKS' and I spend two minutes on the code, then I hear 'SWITCH TASKS' and it's back to the email. It cycles through the task list in 2-minute bursts.

I know it sounds insane and incredibly inefficient, but it's the only way I can keep my brain on track. I have to keep it moving at a million miles per second. When my brain is racing as fast as it can to keep up it seems to be happy and my aggregate productivity goes up (even with the inefficiencies at a micro-scale).

Sometimes I'm lucky and I get through a few 30-minute sprints my brain will fixate on one of the tasks and I can do just that for the next two hours uninterrupted, but that's not something I expect every day. It's nice when it happens.

My brain wants to be doing ten things, so I just feed it ten things and keep cycling though them in 2-minute intervals so it doesn't have a chance to get bored with any one thing.

This is how I stay off of meds.
> Decisions of whether or not to ditch a block of unstable containers are made with 0 interference from commercial interests.

Or rather, the commercial interest operates in the long run and influences the mechanisms through which decisions are made.

The concepts of eg general average or making the captain's word final were developed very much in correspondence to commercial necessity.

In some sense your analogy to a doctor is apt. Individual medical decisions might not look much at costs, but the system as a whole ignores costs at its own peril.
First, off the bat: why are you so aggressively hostile and abusive?

Your link estimates the Covid IFR in the USA to be about 0.6%, compared to e.g. 0.4% for China where the population skews younger or 0.8–1.1% for several European countries and Japan where the population skews older.

https://www.cdc.gov/library/covid19/images/november2020/1124...

I’m somewhat suspicious about the numbers for lower-income countries though. In Mexico for example Covid deaths have been grossly undercounted. These kind of high-level estimates are hard to do reliably when they are built on poor-quality low-level data.

I don’t know why you are pretending that “good medical care” (by which I mean, the average in a typical developed country with a well funded medical system that has not yet been completely overwhelmed; as compared to the “poor” level of care available in many developing countries or in places where hospitals are collapsing) is equivalent to “exceptional treatment”. I don’t know what you mean by “exceptional treatment”, but your link says nothing about it.

There have been a large number of estimates of IFR, and they consistently range from about 0.4% to about 1.5%, mostly toward the middle of that range. Judging by the best current science, the 0.5% number I used is probably a slight underestimate, but it is at at any rate in the right ballpark.

If you e.g. guess the actual number of deaths in absence of any countermeasures would be more like 10–20 million instead of the range I gave of 15–50 million, that seems plausible enough (though I stand by my estimate). It’s a counterfactual in any case, since in practice extreme countermeasures were adopted in many parts of the world.
Yes it did make me smile. My response was only half serious.

The moral I extracted was that free will is fake and humor is all that matters. If that's the case I'd have hoped he'd have thrown a few more jokes in ;)
There's an important detail missing from your abbreviated account and that is the individual refused to open the door for the warrant and apparently used the time to 'alter' her situation.

So it's not as if the police just came in like a swat team off the bat.

America is a dangerous place, and just like you're a 'regular person at the range with an AR and a Glock' - guns are everywhere.

The 'normal' situation for police to be serving a warrant would be against people accused of things more physically nefarious, and it's probably very ingrained SOP to have weapons drawn if the individual wouldn't open the door and some degree of aggression needed to be used to enter the premises to serve the warrant.

That they had their 'guns out of holsters' is actually perfectly reasonable because systematically, it's too dangerous for them otherwise.

That said - this was a warrant for a white collar/non-violent crime and there's just no excuse for pointing guns at kids, or even the former employee frankly.

Point being, we can't cherry-pick just the things that don't sound nice, and entirely decontextualise.

If there weren't 500 million guns, many of them high-powered floating around out there - and Americans didn't have a propensity for shooting at cops (the level of assertion people show when being arrested in the US is way more than in other nations, car chases barely ever happen in my home country) - then the SOP (standard operating procedures) would be very different. Cops are chill where I'm from - t least in part - because they just don't face aggression or violence in a way that is really threatening. Fights, yes, guns in their faces, almost unheard of.

Given the possibly political nature of the arrest, I think it probably needs to be reviewed by the local Justice Department as well because 'gun pointing aside' - the other Elephant in the room is the issue of whistleblower harassment etc..
It’s astonishing that this reply is being voted down. It is surely improper and unreasonable to judge a CPU architecture based upon code running predominantly through emulation layers on an architecture for which few if any serious optimisations have been attempted.

It’s worth remembering the experience of first generation Ryzen which had good general compute performance hampered in games by micro-optimisations for Intel chips.
You really think so?

There are some very decent FPS recordings on Macbook Airs. Remember, that's a passively cooled 10W TDP chip. That's pretty incredible imo.
Yes, I think I understand that. The idea is to make a visual distinction between a function call and a macro invocation, as the latter is used as a mechanism to provide control structures that are usually built-in in Algol-like languages.

I'm just not sure I actually understand how that distinction is supposed to be implemented by the "semantic indentation" style. The example in the article only shows how there is a difference between the styles for _function calls_ (calls to `filter`). But I suspect the example is just a bad one for illustrating the authors point.

In general though, I think hanging indentation is a bad idea for the reasons I stated above :).
There are three entries for Alien Isolation, one gives a 30FPS (on a Mac mini), one gives 7-12FPS(on a MacBook Air) and a note of "Very slow and blurry, only 7-12 FPS, Effectively unplayable". The third says nothing useful.

The game is rated as "playable". So you need to look at the notes and hardware carefully if this is important to you.
First person receives Pfizer Covid-19 vaccine in UK
I think part of the issue is that technically you cannot guarantee that config files written by the system-installed toolkit can be safely used by the flatpak-shipped toolkit. This said, I think flatpak actually makes an effort to use the ones available in the user’s home folder, whereas snap just does its own thing and screw everyone else.
question: could people confirm the ssl certificate chains being used by the server, and reported by the client?
good list but for me the reference is now Martin Kleppmanns new lecture:
https://www.youtube.com/playlist?list=PLeKd45zvjcDFUEv_ohr_H...
Relational databases are just "the way we do things around here". They may have been smart at one point, but they haven't made sense since we started putting web frontends on our applications (it's not a coincidence that the most successful "database" for that was MySQL which, at the time, supported approximately none of the alleged virtues of databases), they certainly don't make sense now.

There's one thing that SQL databases are good for: semi-ad-hoc reporting queries (and their transactional stuff is grossly overengineered for this use case, so remember to turn it off). Produce a read-only SQL database for your analysts/data scientists to use, either regular dumps or updated in real time. But you absolutely must treat it as write-only from the point of view of your live system; doing programmatic queries of an SQL database is madness on several levels: SQL is not machine-friendly, the performance characteristics of any given query are obscure, and the transaction system means you're virtually guaranteed to deadlock yourself sooner or later.
That's what Mac people think is playable.