skysight-inc/HackerNews huggingface dataset:
There's the ROC-in-exile people and then there are people who have lived on the island for generations.

Like, I said, things have progressed. There's "One China", "Two Chinas", and "China and Taiwan".

I think the longer things remain as they are, the more likely it'll settle into a "China and Taiwan" situation as both sides just kind of tire of fighting an issue their great grandparents started.
A friend of mine in her early 20s long ago had a heart transplant and died within a 24 hours of her successful operation.

It happens sometimes.
> I think the = being so removed from what it's actually assigning, but without grouping parens, is what messes me up.

I almost always use grouping parentheses for this reason, unless it’s a very short single line expression. That said, if/else if/else has a different colocation problem: it puts the assignment further from the initial declaration, making its scope less obvious (unless you’re hoisting var, which is awful for its own reasons).
Unless a new variant is more deadly, I'm not sure this is the case. Between vaccines, growing herd immunity, and new treatments, COVID is becoming less of a concern. Hospitalization rates for Omicron were already considerably lower than prior variants. In the near future, people not feeling well will be able to walk into their pharmacy, get tested, and walk home with pretty effective pills if positive.

No pandemic lasts forever. The diseases always become endemic and less deadly, with or without direct intervention.
Physicalization of Metamathematics, Implications for Foundations of Mathematics
I would consider a question bad that is not explicit enough about what answer would actually be "good".

But when learning new things, I'm often faced with the problem that asking the right questions isn't much different from already knowing the answer.
> Are you at all worried about the size of the audit table? Keeping a JSON copy of both the old and the new data is going to add up pretty quickly for fast-changing tables.

That's def a valid concern if you're auditing a high frequency insert/update table, or have your entire database under audit. If you do have those needs a system that logs outside of postgres (like pgaudit) would be a better fit.

In my experience most startups and mid-size enterprises sprinkle in auditing around the sensitive parts of the DB, like `account` or `access_control` tables where writes load isn't much of a concern.

> I've built audit systems in the past which track just the new values

Yeah, that solution works great! The one place it breaks down is if you apply auditing to an existing table, and need to be able to recover the records from when auditing was enabled (initial state is not snapshotted)

We toyed with another approach to avoiding having to track old_record by first checking to see if the `record_id` exists in the audit table, and then inserting a row with the OLD values with a `SNAPSHOT` `operation` if it does not.

Even though that query/check was operating on an index, the performance overhead was higher than we were comfortable with.

Storage is pretty cheap these days so we opted to optimize for write throughput + reduced memory usage rather than any considerations wrt disk.
I did the same thing (only under Linux, not MS-DOS). I also found out that leaving 8 pegs is way harder than just 1 peg (2 ways, excluding reflections and rotations). And for 10 pegs, only 1 way.

Edit: Update number of ways to leave 8 pegs, and added number of ways to leave 10 pegs left.
Most slide decks I ever see I see long after they are presented. As a result I want slide decks to stand alone -- that or else video to be published instead of slide decks.

As a presenter I have to worry about whether my slides will be seen w/ or without video of my presentation. Therefore I try to make my slide decks able to stand alone, though I admit this is not great.

The common pattern now instead is to make colorful and near-content-free slide decks where the presenter simply speaks with colorful backgrounds. I am terrible at crafting such slide decks -- well, I've not tried. This pattern works while presenting though, and I should probably adopt it. Or perhaps I should adopt the Jeff Bezos approach.

What presenters and audiences need is a commitment to publish video of presentations, including Q&A segments. And video has to be playable at 2x speed.

(Yes, almost every video I watch I watch at 2x speed. Where platforms allow faster playback speeds I've even gone faster. Speech is extremely low-bandwidth. This does mean I've to backtrack more often than I'd like, but it's still better this way. I pay attention more when speech is faster -- up to the point where I can't follow, of course, and which I shy away from.)
This is the missing docs on the type never. Very nice write-up!
If you haven't tried them, the erasure is so complete that there's no trace of the previous writing - no ugly smudge on the paper, and they rarely if ever mess up the paper surface (at least in the Leuchterm or Moleskine notebooks that I prefer).

One of those things I'd have ignored for ever if I hadn't been shown them by a fellow student on a language class. I'm a complete convert to these now.

I particularly love them for scribbling ad-hoc diagrams in my notes and then being able to move things around without redrawing everything from scratch.
Oooh this is great, thank you. I've been wanting to set up something like this for quite a while and haven't really spent the time to figure out how I'd do it. Glad to have an option just land on my screen like this! Cheers :)

Also just realized there are one or two other services they could redirect (e.g. Medium -> scribe.rip). Will see if it's feasible for them to easily add...
For commercial airliners carrying hundreds of passengers, yeah.

For small private planes? Slots are hardly ever the limiting factor.

Taxis are more like private jets than Airbuses carrying hundreds of pax.

While taxis aren't as good for society as buses, they still reduce the total amount of car infrastructure required. The slot comparison doesn't seem apt.
Other countries that have the same policy (most notably France, Britain, and, historically, Prussia) have the same kind of record, and it still seems like a pittance, percentagewise.

The US has a lot of (eroding) institutional infrastructure to reduce the chances of it happening at home, and throughout the republic some have expressed an interest or tried, most notably during the US civil war when about a third of the West Point graduate generals who fought were on the Confederate side. The the coup plot in 1933 the very general the plotters wanted to recruit blocked it.

https://www.justsecurity.org/44479/tangled-history-confedera...
Great, now I've blown $50 on more pens. Thanks.

(tongue firmly in cheek :), though I did just finish the order.)
Waste of memory by creating new function objects on each render.
And this will end just as well as when they said remove the fake news stating that COVID was from a lab leak? “Censorship is to art as lynching is to justice.”
― Henry Louis Gates Jr
Would it be possible for one of you experienced NoScript'ers to write a set of tips and tricks? I have been using NoScript for about a month since someone mentioned it here, and it has been wonderful. I never imagined I could opt out of just the trackers and APM bloat so easily, and my phone battery life is improved dramatically too. But I bet there are more things like Nitter that I haven't yet discovered.

Thanks!!
How would you use TOTP to mitigate spam exactly?
Languages like Rust permit sufficient analysis at compile time to make architectures like mill and itanium shine. One of the reasons Rust is so exciting beyond the oft repeated memory and thread safety.
Maybe the other way to look at it is, the "established players" can only employ so many people. Many of them are paying some pretty insane salaries now (I consider over $200K pretty insane) - but as I said, they can only employ so many people. In my case the salary is plenty good without even having to take equity into account. And the work is likely much more interesting than I'd get to do in an established company. Also, if the startup makes it I could be in a pretty good position being able to call a lot of my own shots as to what I'm going to work on and how I'm going to work on it - autonomy.

All that to say, it seems a lot more like a lottery trying to get a job with the established players (after jumping through all their interview hoops), and while the money might be better, the type of work, what you work on, the level of autonomy you're given (or not) is also very important.
>> I also think that we need a language agnostic markup language to represent the BREP.

I agree with that, but some serious decisions have to be made or it will end up a mess like STEP.
I don't believe it is the decrease in IQ that causes the crime, rather that both effects are correlated because they have the same root cause.
Just modern ECMA Script, not peak JavaScript. ES6 and React Hooks have fully sublimated the web development landscape.
One small caveat: digital collections of lootbox items can be admired, organized, displayed, and in some games traded to other players. Of course, all these actions are dictated by the software for the most part, and can be arbitrarily restricted. I won't be able to seal a fancy digital hat and donate it to a local museum.
You nailed it! I could copy/paste this over top every tech resume I get and it would be equally as valuable.
maybe one day when the people in charge are at least somewhat technically litterate
But the same iPhone 13 in India costs 1048 USD, which is almost completely explained by their 22.5% tariffs.

So why doesn't Apple apply your supposed "luxury adjustment" in India? Why only in Brazil?
Hey, does anybody knows what happened with Apple becoming a Patron?

Apple is still not listed on the contributors list.[0]

[0] https://fund.blender.org/
I'd argue that's still a lot of work to manually do. However, great work and detail, thanks a lot :-)

I'm working on a database system[1] in my spare time, which automatically retains all revisions and assignes revision timestamps during commits (single timestamp in the RevisionRootPage). Furthermore, it is tamper proof and the whole storage can be verified by comparing a single UberPage hash as in ZFS.

Basically it is a persistent trie-based revision index (plus document and secondary indexes) mapped to durable storage, a simple log-structured append-only file. A second file tracks revision offsets to provide binary search on an in-memory map of timestamps. As the root of the tree is atomically swapped it does not need a WAL, which basically is another data file and can be omitted in this case.

Besides versioning the data itself in a binary encoding similar to BSON it tracks changes and writes simple JSON diff files for each new revision.

The data pages are furthermore not simply copied on write, but a sliding snapshot algorithm makes sure, that only changed records mainly have to be written. Before the page fragments are written on durable storage they are furthermore compressed and in the future might be encrypted.

[1] https://sirix.io | https://github.com/sirixdb/sirix
I wrote a keypress-driven graphical utility that's basically a wrapper around scanadf, that allows me to call scanadf repeatedly, preview, delete pages, etc. For instance if a page misfeeds, I pull the remaining stack out, delete the bad scan, and restart from where it went wrong. When finished, the graphical window disappears, and it writes all the current pages out as an archive - the masters are checksummed, compressed with FLIF, converted to some low quality JPGs, and the whole thing is stuck in a ZIP archive with extension .cbz (viewable with evince).

The eventual goal is to transcode all these masters into nicer OCRed PDFs, but I've been making do with the low quality JPGs just fine. Your script seems like a great starting point to actually get this done!
Russia-phobia isn't going to help the Ukraine. Hate in any form isn't going to help.
> Avoid placing equations in the middle of sentences

This is strange advice.

In many fields, following this suggestion can make it harder for the reader to understand the message.
Phishing emails are more prevalent (and dangerous) than ever
https://www.typescriptlang.org/docs/handbook/2/classes.html#...
> Neat! I'm using QWERTY International layouts myself, where you can type umlauts and ß with special keys for modifiers (e.g. alt+u on Mac for ¨), but I still think this is a cool tool.

Yeah, I had looked into these but for some reason that didn't work. Don't remember why.

> Looking through the repo I wondered why you would commit the complete German dictionary weighing in at over 30 MB, whereas you only need a small fraction, the words containing the umlauts (or their false matches). Surely this would be a huge performance boost?

Yes! It would be performance boost. In fact, I had a "caching" sort of functionality in the tool before. The whole dictionary is shipped (because that makes it much easier and there's almost no risk of wrong-doing just copy-pasting a word list, plus it compresses well enough), but then a list containing only special characters will be generated on first use if it doesn't exist yet.

As you noted, a lot of words do contain special letters, so the "complexity" wasn't worth it to me and I removed that. Could be brought back anytime, but it's fine for now.
Joro spiders likely to spread beyond Georgia
This issue is not that they had to ground the Shuttle until they had the data. The issue seems to be that foam was hitting the tiles with parameters outside their test database.

Why didn't they go back and test with 'real world' foam sizes?
I've also used an update trigger to track only changed columns, inspired by this post[0] which wraps a comparison function into a new subtract operator for JSONB, similar to the built in subtract operator for HSTORE which removes any keypairs that haven't changed.

[0] http://8kb.co.uk/blog/2015/01/19/copying-pavel-stehules-simp...
Sounds like a Pro.
So nothing in your examples justifies an invasion of another country (and coincidentally, leaves out all the acts of aggression by Russia). This feels a lot like the "she shouldn't have worn that" arguments. You appear to feel Russia is justified for attacking and committing war crimes because Ukraine had the audacity to want to strengthen their alliances and protect their territory. Something, ironically, you say they should be doing, just not in a way that would protect them from the threats they are facing...because...Sweden!?. It is an interesting stance to have; though not one rooted in the reality of the situation and threats Ukraine faces(d), which are nothing like Sweden's (pull up a map to see the most obvious reason they are in different situations). But since you brought it up, Sweden actively participates in NATO initiatives, are members of NATO's PfP ("track that will lead to NATO membership") and currently have troops deployed helping NATO initiatives. So they are not likely a good example for your case of how Ukraine could have avoided instigating Russia.
Off topic, but FYI I thought your page was broken when it’s loading on my phone. All I could see was the table of contents, the main text is barely visible (like 10px) on the very right edge of the screen. The TOC didn’t close until everything is loaded, which took a few seconds for me for some reason (probably bad network on my part). Perhaps making the TOC hidden by default with CSS and open it later would be better UX, not sure.
Title re-worded: "Dear Google: It's time to stop accepting money to display Russian propaganda in search results"

That said... who defines what propaganda is and whether it's propaganda in se or due to circumstances?
Pfizer begins Phase 2 and 3 Trial of Paxlovid Covid-Antiviral in Kids 6 to 17yo
This. it will help with alot more than you think. unironically started losing weight after bumping up my calories since I was going WAY too low thinking 1200 was fine. I was losing just as much and with no plateau with 2000(I'm very tall) until I lost more weight to justify fewer calories.
That really was such an egregious title (they threw cocaine in there too) that I've corrected it, even though it's 6 weeks later.
Ask HN: Is there any way to rank stories on HN from sites based on votes?
(Excuse my noobness, please.)

Hi, I think you already know that when you click on the post link of a story, all stories from that top level domain appears.

If there is a video from YouTube, then, if I click on

(youtube.com)

, then all posts having YouTube as a top level domain appears as result.

The API call looks like

from?site=YouTube.com

But this is always sorted based on time of posting. Can this be changed?

Say, I want to see all stories from New Yorker, ranked based on votes those stories received, what do I do?

I know this part-

https://news.ycombinator.com/from?site=newyorker.com

But what more do I add to rank the result based on number of votes?

Or is there a completely different way to do this?
If blur is a strictly mathematical and deterministic operation, which it often is, then reversing it should be possible. Remember that a pixel is only a bunch of numbers. Even non-mathematic blur should be possible...

And the reason for that is small variations in the blur still exist and give away (with varying amounts of certainty) which shapes could be put together to form the resulting blurry pattern.

But yes, information is actually lost in the sense that more than one image can potentially be the used to generate the same blurry pattern, and there is also limited precision to each pixel.
Being able to see when the primary key changes using `record_id` and `old_record_id` is a perk, but we also wanted to make sure a snapshot of the existing data was available when auditing is enabled on a table that already has data in it. See comment ^ for more color

Long story short: it is avoidable if you're okay with paying the penalty of querying the audit table by `record_id` before every write. We decided to use more disk and keep the higher write throughput
How is that indirection? These are semantically identical:

{renderIf(foo)}
<RenderIf foo={foo} />

The latter is a bit more verbose, sure, but it’s both more idiomatic and a better optimization target.
When I was first learning to code, I spent a few hours writing a python script to get Advent of Code files and prompts, then open them in an editor, and also eventually made a util to check the answers. Fun times.
cryptocurrency is to banks/paypal as itunes was to traditional music buying/licensing

I'm not saying I agree (or disagree) but the analogy is fairly clear to me
Oh, the irony! As an Indian, reading nytimes and bbc articles about India was a real eye opener on how much propaganda is passed off as 'opinion' and 'news' in the western press.

I mean, the confidence and elan with which a narrative is pushed by blatantly hiding contrarian views and even facts is fascinating to observe, especially when you're on the ground looking at stuff firsthand.

You really need to experience it to believe it.
Devs never had a say in what the new normal is except what they choose to use.

I'm not a fan of React and use svelte. But I think k8s is way better than non-k8s, so I use it for client work.
IMO healty food and reduced calories is all you need to worry about. Does it matter if you are getting a calorie from fat, sugar, protein, alcohol, etc?
Putin 'destroyed' the ruble and brought Russia to the brink of default
her script reminded me that i never did get my scansnap working properly under linux :( will have to give it another go sometime.
That seems like a really weak argument. Sometimes set -e won't catch an error, therefore it's better to let all errors slip through? "You're supposed to handle every error." Yeah, okay, set -e doesn't interfere with that.
For random software, yes, but in the case of UEFI firmware it's not really applicable, which is the context of the parent comment. You can go build a UEFI bootloader for the RPi4 from TianoCore right now. What you can't do is use the OS-level distro tools to package or "manage" that TianoCore-based UEFI firmware in any way.[1] You have to stick it on the device yourself, and that's not a coincidence: all modern UEFI platforms treat that boot firmware as separate from the host operating system environment, and they generally do not treat these updates as "package repository updates" in the typical way. That's why UEFI is an "interface", after all.

The correct way to manage that firmware, in the best case scenario, is to let the vendor produce a (correct) binary that is source-available, reproducible down to the last bit, and then use a system fwupd to apply updates that firmware in a generic way, like using UEFI capsules. Which is exactly the kind of project Tow-Boot is aiming to be: a base upon which vendors can create reproducible UEFI-compatible firmware.

Naturally there are exceptions to all of this (such as the infamous linux-firmware package which is managed by your OS packager) but I think you catch the drift. It's not a binary decision on whether to ship something in this way, it's a spectrum.

[1] What I mean by this is, you don't install firmware updates using apt or yum or whatever, like you did in the past with grub. You apply firmware updates using fwupd, which is a third party tool that actually integrates with UEFI to apply patches directly.
>Most slide decks I ever see I see long after they are presented. As a result I want slide decks to stand alone -- that or else video to be published instead of slide decks.

I use presenter notes precisely for what you're describing. My actual slides are sparse, but I distribute slides with full presenter notes so all the main points get across in a written form after the fact, without distracting from the talk.

In Powerpoint, I use the "print to PDF" function and tell it to generate pages containing slides with notes.
The course I'm currently taking makes me uses symbols like the biconditional, xor, and quantifiers. Each symbol requires an entire word to type out but I also frequency have to look at a reference sheet to find the command for each symbol.
I just use short hands like "-" for not, "and" for $\land$, etc. I'm sure if I used LaTex more often, I would have most of the commands memorized but I use it infrequency so I almost never remember.
Related:

US man who got first pig heart transplant dies after 2 months - https://news.ycombinator.com/item?id=30615375 - March 2022 (3 comments)

Two weeks later David Bennett is alive, his pig’s heart beating soundly - https://news.ycombinator.com/item?id=30080472 - Jan 2022 (490 comments)

The doctor behind the first pig-to-human heart transplant - https://news.ycombinator.com/item?id=30044630 - Jan 2022 (3 comments)

In a First, Man Receives a Heart from a Genetically Altered Pig - https://news.ycombinator.com/item?id=29900921 - Jan 2022 (2 comments)

U.S. surgeons transplant pig heart into human patient - https://news.ycombinator.com/item?id=29882912 - Jan 2022 (701 comments)
They are fun / nice-colors to use, but be aware that your writing can disappear over time.

A friend has journals a few years old and on the right 2/3rds of the pages the writing is nearly gone (theory being maybe that side got warmer, but not certain)
The Power of Data Intermediaries
Show HN: Npr – Find and execute NPM scripts
See the link for examples of bash and posix internals that don’t necessarily operate the way you’d expect.
That may be a challenge, but if a candidate has years of experience in the software industry then their resume might vouch for some skills. If a developer has delivered features to common tools that many appreciate then how is it possible that they cannot accomplish basic coding tasks? The main problem here is that teams that are hiring often don't even bother to read resumes and so they end up with a process that is expensive, broken, and actually insulting to the most qualified candidates.
Scripting with Go
China is pretty aggressive about expanding their borders, annexing islands and such. I doubt that borders are super-sacred to them.