skysight-inc/HackerNews huggingface dataset:
Redis does the same; e.g. [1]:

> Time complexity: O(N) where N is the number of elements to traverse to get to the element at index. This makes asking for the first or the last element of the list O(1).

I agree this is something more documentations should do when possible; it doesn't even have to be big-O notation as far as I'm concerned, just a "this will iterate over all keys" will be fine.

Ruby's delete() doesn't mention any of this, although you can easily see the (C) implementation in the documentation[2]. In principle at least, this doesn't have to be O(n) if the underlying implementation would be a hash for example, which of course has its own downsides but something like PHP may actually do this with their arrays as they're kind of a mixed data structure? Not sure.

[1]: from https://redis.io/commands/lindex

[2]: https://ruby-doc.org/core-3.0.0/Array.html#method-i-delete
Can't help but wonder what kind of edge cases necessitated this over the venerable latexmk
Agree. Very happy to see AAA-kind of money being spent on games that aren't microtransactionridden (mtx) monstrosities. They do have their place, since each have their audience, but it's easy to see the temptation of recurring revenue on Fortnite-level (and others).
They are relevant. The electrical utilities could load-shed based on priority, so that places that need highly reliable power pay more and get special guarantees. Technically infeasible on a house-by-house basis, but they could do it for hospitals and such. They probably already do.

Your solution will cause power prices to go up. I'm sure a lot of consumers would be happy with that trade, but why should the ones who are unhappy with it be dragged along for the ride? There is no need to force the grid to provide reliable power to people who won't pay for it.
There is such a trivial solution to this as well, set up a carbon tax or some other method that phases out all fossil fuels and charge what it costs to do this as the cost of electricity. Then at that point, who cares what you do with the power because the problem is solved.

Specific laws targeting individual causes are always a useless whack a mole exercise when you can simply decentivise problems and the causes will rearrange themselves to not be problems.
Focusing too much on the call site is probably misleading, which is why most production-quality immediate-mode UI libraries generally don't rely on __FILE__/__LINE or stack walks or anything else like that. The issue isn't just loops. As soon as you wrap code in a function for reuse, the proximate call site no longer has anything to do with the widget ID; in the extreme case, your entire immediate-mode UI is data driven and there's nothing in the code paths that indicate anything at all about the widget IDs.

The real hack is implicit IDs, not the ID stack (which is just a way of implementing a hierarchical namespace like file system paths or URLs). Implicit IDs just work 99% of the time and rarely require manual intervention, so seeking a 100% solution is a tempting siren song. But once you actually start writing UIs like this, the 99% solution is just fine.
There won’t be one ultimate language. The difference between low-level and high-level languages is significant. High-level languages allow you to not have to worry about intricacies of memory layout mostly, and thus even changing the data structures you use will not result in a refactor. While using low level languages, even ones like rust, you can change the allocation strategy/memory layout of your data structure, but you will need to refact on it. So it is a tradeoff between ease of code base change, and tight control on memory/resource usage.
I run an email forwarding services so I understand mail system quite well.

IMHO, no one seems to use IP in DNS record, probably someone just do quick and dirty and forgot config.

Because when putting IP, when you change your server you have to tell all people to update MX records. So you usually see service use mx1 mx2 style domain.

Nowadays, peolple rarel setup mail server and use 3rd solution and they usually alreayd use domain name in their DNS record.

So this advice is for people who run their own server who really should know their stuff already.
Linear search is also quite a bit faster than maps for small arrays (in Go at least, last time I tested it).
Possibly adding the complexity of SQL, or an ORM, in their use case is a layer of complexity beyond reading and writing serialized data structures to text.

Not sure why the sibling posters determined s/flatfile/flatfiles/ the most interesting part of your question.
American dependency on cheap foreign labor dictates a lot of inaction, from China concentration camps to Middle Eastern human rights violations.
You're missing his point (and joke) completely.

"May you live an interesting life" is a curse, as interesting lives are usually full of hardships.

He's saying that C++ is non boring, I assume because it's full of footguns.
Please try take a moment to step in someone else's shoes and engage with what they are saying before calling their comments "propaganda". It's not good faith behaviour.
Also check out this feed of the top 10 HN stories daily: https://www.daemonology.net/hn-daily/ I find it cuts out a lot of the noise
The difference between authoritarian and democratic states is that CPJ wouldn't exist in authoritarian states. The very existence of a report which documents the actions against journalists wouldn't exist in authoritarian states. How hard is it to understand this ?
Engine Explosion Spurs Boeing 777 Groundings in U.S., Asia
'roughly' ;)
Redis's documentation is wonderful, I wish every system I use were documented even half as well.
The problem I have with diet research is that the studies (and the internet commenters) are always looking for one thing that everyone can do and get good results.

The body is a complex system, and different people's bodies work differently. Really, what I want to know from a diet study is were their negative effects, and did it work for a significant amount of the people. Ideally, for those who it seems to work, do a longer term study to look for negative effects and long term results for people who stick to to it. If you get enough of these studies, and I'd like to change my diet to control my weight, I can try things until I find one that seems to work for me, and have some confidence that it works long term for people who it works for.

One diet to rule them all is the same thing as everyone should run the same HTTP server. I love apache, but different systems work better with different servers.
> This is what OP claimed

No, this is what the OP claimed:

> It is the US + UK that are blocking all exports

As to this:

> there is only one argument that can be made against that

Again - no, there are other arguments against that, the best being that black and white thinking is a terrible way to analyse reality, the second best being that a list was provided above of medicines blocked for export by the UK and no SARS-COV-2 vaccines are on it.

If the logic evades you further it may help to ask a question: which vaccines are you exporting and is it because you are blocking exports?

That should make it clear that there are more possible reasons for exports not to happen than their being intentionally blocked.
No, China is not committing genocide.

I take issue using sterilisations as enough for a serious term like genocide, I don't care about 'clever' people pointing to the technical/legal term. It's not how it's used. Word games bore me.

There is also no evidence they are being sterilised or forced to have abortions. Evidence I've seen on the BBC and in docos simply hasn't added up.

When the future looks back to now it won't be Uighurs, it will be North Korea. The second probably will be Rohingya, but maybe Uighurs.

I'm happy to go to war with China, I think it'll be fun to watch. It's affects on me will only be a small percentage drop in assets, so whatever. But people believing this propaganda is just so annoying, can no one think for themselves anymore. Can't we just go with racism or imperialism as why we don't like them. Or old school anti-Communism. Even the fact what they are doing to the Uighurs and the general Chinese population is not great. Why do we have to jump to genocide.
I'm curious, what are your thoughts on first-hand survivor accounts such as these?

https://www.bbc.com/news/world-asia-china-55794071

https://www.voanews.com/south-central-asia/china-uses-rape-t...

https://www.theguardian.com/world/2021/jan/12/uighur-xinjian...

These are real people. They aren't Western "plants", and it would be a pretty big conspiracy for them to all coordinate and "lie" about the things they detail. Sure, western media is biased, but I would still trust it a lot more when reporting on such matters than Chinese media because the latter have a lot more to lose and are also single-mindedly focused on controlling the narrative when it comes to any sort of press or public release of information because ultimately they are an extension of the Chinese government in a very direct way.
Somebody needs to come up with a less pretentious way to say “skipping breakfast”.

Personally I just say “I don’t eat breakfast.”
Nobody disproved anything. They have no clinical confidence to say anything, just an observance that IF people lost weight better.
A Visual Guide for CSS Z-Index
If that’s all you think IF is you are way off the Mark.
Resumable exceptions - ie, exceptions that don't unwind the stack when they are thrown - do let you examine the problem in situ.
> every aspect of society that I consider essential, has existed since before the advent of GPUs

Modern computers have allowed these 'forever existing' technologies to scale to our population growth. Try building freeways without modern computers, or performing modern medical interventions without them.
Coroutines are Qt: safer thread pools interactions with C++20
“Citation please” is the mother of “low quality approach to factual discussion” if you have a different opinion or have facts to present please do so.

Asking for a citation to what you say is a misconception is somewhat pointless don’t you think since if this misconception is so prevalent all the citations would be misconceptions as well...
> There's no point arguing, though, just drag your heels until they get bored and go off on some other crusade.

Language and culture generally moves in one direction.

Hoping to put the genie back in the bottle on "blacklist" and "master" is like wishing you could go back to the 90's when guys in high school would casually toss out "fag" in relation to each other.

You can disagree, and dig your heels in, and pitch a hissy fit, but the world and society is moving on and leaving you behind.
So according to your logic, both "x is True" "x is False" should appear side by side? That is not the meaning of free press.
Just looked it up, not sure what to make of it yet. At the very least it is passable as background music. https://open.spotify.com/artist/4FbZyaSZ5QaZES4I251OQU
My personal experience is very different. Of course I have seen bad Go code in the ~5 years I do Go development professionally.

But when compared to previous monstrosities in C++ or Java with exceptions cluttered everywhere, deep inheritance trees that are absolutely useless..

then Go code is an absolute breeze to read and work with. The one thing I see frequently and dislike a lot in Go code bases is the frequent usage of interfaces for single structs just for the sake of mocking for unit tests.

Often I see cases where you could just strip the whole layer of crap and unit test the real functions themselves. But nobody seems to think about that. It seems that this "write interfaces for everything and then mock/test this" pattern is dominating currently.
Even applications shouldn't really be pinning dependencies. The only time to pin dependencies is when deploying that application. That could mean bundling it with pyinstaller or making a docker image. But someone should still be able to install it from source with their own dependencies.
Walk a mile in manufacturer shoes. Let's say you run a company producing a hardware product. And you invest in developing a software feature which improves your product. It costs money. This software feature also needs tiny modification of original hardware product by replacing couple parts with better ones with price difference of 0.001 cent/per piece . So your options are:

Start producing two separate models of you product, greatly complicating supply chain and logistics
Discontinue old product and produce only improved version
Produce only new HW but introduce software switch, to allow users to keep purchasing cheaper product without new feature, while simultaneously allowing users who need new feature to pay premium to cover your development costs
Probably the greatest game of Geoguessr I'll ever play
Completely and utterly wrong. I hope nobody heeds this advice.
Experts reveal the future of the “Bitcoin” currency
If you're sending just the counts then that would be in addition to an ordered list of symbols.
Actually doing IF is more like, you have a 6 hour window a day in which you eat, and you eat nothing outside it. For most people that's much more restrictive than "skipping breakfast."

That said, not everyone agrees on the method. Some will skip entire days intermittently, so, this whole discussion is shaky overall, but, definitely agree that "skipping breakfast" is not IF.
Can you elaborate on the undecidability bit?
The task that isn't decidable is, what, "Given a program, determine whether the types are respected in all assignments" ?

I'm pretty sure that the calculus of constructions has dependent types, but wikipedia says that it is strongly normalizing, and I'm pretty sure that determining whether a program is valid in CoC is decidable? (Right? I could be wrong..)
There’s a huge variety of variants of intermittent fasting.
Note that we still don't have much data on whether and by how much vaccinations do reduce transmission. The objective of the vaccines was to minimize serious cases. But transmissions are a different story. It could easily be that the vaccine prevents serious cases in 95% of people but transmission is not impacted significantly. We just don't know yet.

Why is this relevant? Because the whole concept of "herd immunity" is only about transmission.
You have to factor in political opposition by energy companies and unions. So I'd have expected that the bare minimum to hit our reduction goals would have been done. Given that we did manage to hit our goal, things might not have looked much different even in a world where nuclear plants had been kept alive...
Yes. Tailwind mixed with alpinejs.
Intermittent Fasting (at least as I've seen it practiced) generally lasts more than one meal. Sometimes more than one day. It really flushes out your body, which can sometimes make you feel a whole lot better.
The Turing test ('the imitation game') was designed as an objective way to answer the question 'can this machine think'. The fact that it can be gamed by feigning stupidity or bad language skills is a weakness of the specifics of the test perhaps, but not the idea in principle.

Instead, the idea is to have an open-ended conversation with the machine, to explore its ability to display general human-level intelligence. It's true that intelligence in general is far more broad (after all, an ant colony would not even begin to pass the Turing test, but it still possesses general intelligence in a way that no AI does yet.

Building an artificial ant colony (or even 1 artificial ant that lives in a real colony) with all of the problem-solving abilities of a real one would still be a monumental achievement in AI. I think there is even hope that if we could do that, advancing to human level intelligence and beyond would be just around the corner, though that remains to be seen.
Thanks. I fixed the typos.
Well, that's almost enough to match the median household income in the US ($68k) so you probably don't want to extrapolate too far from what they make.
The author, Marty Makary, is a surgon. He does not have any expertise regarding viruses or epidemiology.

He's completely ignoring all other reasons why infection might go down, the most important one being effective countermeasures, like wearing masks and social distancing. He's also ignoring that the case rates are stagnating due to the British variant. Germany is in that phase now. Cases of the British variant are in exponential growth, current lockdown measures are not effective against it.
You didn't correct me on anything. You called me privileged based on a weird assumption you somehow drew from what I've said.

Regardless of what my current status may be or what you think it may be it's not very relevant. Because that would ignore the rest of my life which you also have zero idea about. You're again making assumption. You don't know if I've had an easy life or a really hard life. You don't know anything but act like you know something about me and are using that to try and belittle me.

Anyway this is clearly going nowhere as all you have done is repeat the same insult twice and provide zero constructive conversation or rebuttals to what I've said. You can throw around buzzwords and the big ol P word (privilege) but until you actually respond to what I said I'm wasting my time here.

Please do not reply to me anymore. I'm not interested in hearing insults anymore. Do keep in mind it violates the rules here.

Do not assume what my life has been life. Do not assume what my privilege is. And do not reply to me anymore. You are incredibly rude and unproductive. You are a perfect example of what I am talking about. You throw around buzzwords, provide zero facts/evidence/research and then throw down an insult.

FYI:calling someone privileged, making assumptions, and being a jerk doesn't fix systematic racism.
For BioNTech it looks good: https://www.bloomberg.com/news/articles/2021-02-21/pfizer-bi...
How much of that drop is because of the change in threshold of PCR testing, or do to the overall reduction in testing? Personally I think the testing has been poor since the beginning and we shouldn't trust the numbers we currently have. If the numbers change dramatically in the near future, why should we trust them? Or maybe the truth is that the numbers that come in April are the actual truth and what we have seen is do to failures in testing.
I understand the __free__ concept. But is more welfare than free. Is paid from everyone taxes
What’s most sad about all of this is that there is really nothing the US can do to stop the genocide. No matter how many times it’s discussed, no matter how many people and politicians call attention to it, there’s really nothing the West can do. A decision was made between what’s more important: Human rights, or a new iPhone. The West chose the iPhone. China has been killing innocent people and putting them in camps for decades. It will not change unless western government and companies decide enough is enough, and stop buying Chinese goods.
“Intermittent fasting was seen to be superior to ad libitum feeding in reducing weight.”
> As soon as you wrap code in a function for reuse, the proximate call site no longer has anything to do with the widget ID.

That's a good point.

(a) hash the entire call stack (though that might produce false negatives, i.e. consider two UI elements that should be the same distinct?)?

(b) put the burden on the reusable function to mark itself as such by pushing/popping an identifier of its own call site on the ID stack?

> The real hack is implicit IDs, not the ID stack (which is just a way of implementing a hierarchical namespace like file system paths or URLs). The fact that implicit IDs just work 99% of the time and only require manual intervention 1% of the time is a false siren song into letting you believe a 100% solution is desirable (you have to consider the marginal cost of what it would entail).

Well, this is just the standard problem of library design, isn't it? You always have to figure out the appropriate tradeoff between supporting rare cases and making common ones easy. (Of course, you can often do both; in this case, you probably could both give "explicit ID" and "call site ID" versions of each UI element API.)
Can you explain what you mean by “flushes out your body”?
> Like C it has no generics, bad packaging, and is a pain in the ass to cross compile.

Go modules are pretty good packaging IMHO. What don't you like about them?

As for cross-compiling, are you joking? It's very easy and i literally cannot imagine it being easier. What's painful about it?
Even if we assume you are right, how do you think this would work out in practice? Many police in the US won't even enforce mask mandates, you think they'll enforce travel restrictions on literally thousands of state border crossings? Most of these border crossings barely even have a sign indicating them.
I'm jealous, honestly. When I was in my early teens I wasn't doing anything impressive, but looking back I feel like I had momentum. I had always idolized college/academia, though, so I started at 16.

The next 5 years of my life were the most empty I've had so far, and it still pains me to think about how pointless it all was. My social skills only deteriorated over time, till the last semester when I ended up just ghosting all my classes and let my minor burn. Dropped my GPA from a 3.7 to something like a 2.8, but it felt so good to get a job and get back to doing the stuff I loved. I've gotten better at socialization through work, and now have a life partner and a daughter.

Maybe I'm only proving your point since I'm only in my mid twenties, but sometimes I wish I'd have just kept hacking away and seeing where that road took me. I feel like I might have had potential like this fellow, but left it behind a decade ago.
> I'm not saying we pin our dependencies to exact specific versions, but we absolutely do set an upper bound, usually to the minor version.

OK. That's more sensible, but "pinning" implies == to a specific version. If you know a library does semantic versioning and breaks their API then ~= is fine. Just not ==.
Yeah, when your government doesn’t take money from your pocket to pay for and give you "free" stuff, you end up with more you can then decide to spend as you need. Who would’ve thought?!
Is there a difference between the two?
If you refer to the first part of "thanks to the internet": for basic BDs, keys to decrypt are available up to the end of 2019 (depends on the release profile). For newer/4k movies, these keys are not supposed to be used offline and as such have to be checked out (with your client verified) online...

As for your latter part: yes, I guess that's the aim, but piracy generally works just fine for streaming. And as long as China is not the cultural hegemon, some way to grab the bytes off the transport will be available.
I played this game for a bit a while ago after buying it on gog.com; I encountered some AI-driven bomb voiced by John Cleese that threatened to blow itself up if I kept touching it. This was funny, so I kept touching it of course. Then I was dead.

For some reason I never went back to it after that :-/ I think this was around the time I ditched my Windows desktop and I can't really be arsed with Wine.