skysight-inc/HackerNews huggingface dataset:
I have been looking at Python GUI libraries/frameworks/services over the past > 1 year. I'll cut straight to the chase with my recommendations for what they are worth.

- NiceGUI https://nicegui.io/#features - my favorite of the bunch, essentially wraps Quasar Vue components with accessible python. Tons of features including SPA, FastAPI under the hood, TailwindCSS. Have used it on a few projects and started contributing recently.

- Streamlit https://streamlit.io/ - if your goal is to get some python code set up with a GUI and deployed ASAP this is the best option. I have gone from 0 to a full working app in like an hour for some projects. Lots of love for it. A bit limited in terms of full-scale applications and large backend databases but it actually holds up really well.

There are a lot of other ones that people regularly recommend.

- Gradio https://gradio.app/ - really popular with huggingface and ml folks. Similar to streamlit in that it sacrifices some level of depth for speed of standing up projects.

- Textual https://www.textualize.io/projects/#textual - Building text-based UIs for the console. Seems to be pretty popular on reddit... Not to be a hater, but I have never seen a good argument for why it's worth dumping a bunch of time into this versus a web-oriented framework. They say "it's useful for products that don't need the internet", "you can use it through ssh", etc... doesn't really fit with my needs, I'll just leave it at that.

- Anvil https://anvil.works/ - a "low code" option for building python GUIs. I am pretty impressed, it has integrated databasing and a lot of plugins. If you are aiming for a scalable application for a large number of users this is probably a good options. My personal gripe with it is the number of mouse clicks it takes to do stuff but that could also be my lack of experience with the tool.

- Plotly dash https://dash.plotly.com/ - not usually thought of as a full GUI library necessarily but they have options for deploying the dashboards to the web - and the overall look and feel is nice. A good option if you have a small notebook with plots that needs wider accessibility.

My use cases are typically 10 - 50 users in an enterprise setting, so accessibility/low barrier to entry (pretty much meaning web-based) are concerns of mine. I also lean toward wanting to avoid learning overly-opinionated libraries (I put Qt and tkinter into this category). Why spend 50 hours learning Qt's way of building an app when I could use something like NiceGUI which lets you build a nicer looking app and gets you familiar with web dev concepts in the process. Imo a better use of my time.
I always found these companies weird. Like they bloat so much to grow fast, but that bloat just kills their whole model in the end.

Most people have a threshold for costs. And the head count in tech and marketing doesn't help at all with keeping it under that cost.
Iirc such things already exist.
Would love to have the denominator.
People were being banned from twitter, youtube, facebook ext for mentioning lab leak... Now you want to gas light everyone saying "it was perfectly ok to talk about in 2020

That is not accurate at all...
There were lots of narratives. The main one that was coming out was that it did NOT come from the WIV. That gain of function was NOT happening at the WIV. That it likely came from people outside Wuhan who brought it to Wuhan and that the the Wet market was not the source either (though the CCP was pushing that narrative, others were making it more vague saying it came from the hinterlands). A second narrative by skeptics/conspiracists was that it had escape the WIV and that the WIV was conducting gain of function research. A third fringe theory was that it was a bio-weapon (this idea is idiotic given the guaranteed blowback/footgun you would get)

Also people were being banned, shadowbanned, demonetized, etc. for proposing a lab-leak theory. But, I guess that's par for the course. Remember when politicians (I mean Nancy) said, unmasked, don't worry, go back to Chinatown and do business (slightly before they then imposed restrictions)

Also, don't forget, people who saw strange unexpected repetitions (filler) in the sequencing were scoffed at.
What's the point in having an office if the head honcho can't stare over your shoulder whenever he wants? /s
The core Zig devs, TigerBeetle and Bun are the main ones AFAIK. The latter two are VC backed, the Zig Software Foundation is a 501(c)(3).
being on call and not working are not the same thing. if my boss tells me i need to be on call for our datacenter from 8pm-4am all week, i expect to get paid during that time regardless of if there's a critical incident or not. it means i have to be tied to my phone, cannot make plans with friends or family, and cannot stray too far from my home in case i need to dial in. same deal here.
Lies. The court opinion is here [1]. This guy tried to have things classified as presidential records 10 years after Clinton left office and they told him to pound sand.

> The PRA provides that “diaries, journals or other personal notes serving as the functional equivalent of a diary or journal which are not prepared or utilized for, or circulated or communicated in the course of, transacting Governmental business” should be treated as personal records.

These are recordings made by a journalist/author for the purpose of writing a book. Ergo, personal records.

> The PRA requires that all materials produced or received by the President, “to the extent practicable, be categorized as Presidential records or personal records upon their creation or receipt and be filed separately.”

> The PRA provides the Archivist with authority to invoke the same enforcement mechanism found in another statute, the Federal Records Act (“FRA”). The PRA provides:
When the Archivist considers it to be in the public interest, he may exercise, with respect to papers, documents, or other historical materials deposited under this section, or otherwise, in a Presidential archival depository, all the functions and responsibilities otherwise vested in him pertaining to Federal records or other documentary materials in his custody or under his control.

Interesting. That directly contradicts what this guy is claiming.

It goes on, but isn't worth the time.

[1] https://ecf.dcd.uscourts.gov/cgi-bin/show_public_doc?2010cv1...
even if 90% of reddit stay down for a week, 7 days is only 2% of a year, so the revenue lost is below 2% of the yearly revenue (ignoring seasonal fluctuations here for a moment). I doubt that any company, large or small, would even notice a dent from those 2 percent. Especially since traffic also went down a bit and probably offsets some of that loss
> Also... I mean, unless I've created a false memory, I specifically remember that the discussion at the time was about a the virus literally being a bio-weapon, and not actually the entirely plausible, accidental escape of a virus.

If you've created a false memory, then I've created a similar one.

I remember very early some member of Congress saying it was a Chinese engineered bio-weapon deliberately released to cripple the US economy.
Are there any good papers describing best practices for doing this? For example, how do you handle personally identifying information that needs to be in the training set? (e.g., names of actors, authors and other famous people) Do you have a mechanism in place to process "right to be forgotten" requests, e.g., by removing that person from the training set and then retraining the whole model, or do you put in some kind of filter on the output side?
Could you please stop fulminating and/or posting in the flamewar style to HN? It's not what this site is for, and destroys what it is for.

We want curious conversation here. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
The Pickup Artist
So the top spot goes to someone with less than 10% of the market? That makes sense why it didn't seem dominant even if it was the brand that sold the most. At my local grocery store, it is all craft beers and such, I don't think they sell Bud anything. Is this kind of beer more popular in the midwest and/or south?
Huh? What got censored on social media was the idea that this was an engineered bioweapon. This isn't even the same lab people were pointing fingers at.
It would take a long-form article to clearly enumerate all of the reasons with citations, but long story short, the pair of them were caught lying over and over again the past few years.

For example, Daszak's paper in the Lancet claiming the virus was almost certainly of natural origin was used as the basis for justifying the censorship of tens or hundreds of millions of posts. He failed to declare his conflict of interest, as did something like 25 out of the 26 other authors. This was a broad failure among academia and news, as his reasoning in the paper was specious.

Fauci was caught telling fibs about his beliefs on natural origin as well, with a private position that it was quite likely. He also lied about funds sent to Wuhan, and the type of research they were doing.
I suddenly developed “exercise asthma” in March 2020 and was told it was too early to have been COVID.

But I had been pretty sick in January and had lots of contact with the public at work.

I always wonder. Maybe it did just suddenly develop, I was 30 that year. And sure, I’m kinda fatass, though I was working out hard at that point.

But my tin foil hat still fits me and sometimes I consider it might have a point.
Can't have significant revenue impact if you don't have significant revenue.

[insert guy tapping head meme here]
Except on April 1st, of course.
Biggest advertisers leaving the platform but I can't see them being so aware. Maybe if the largest subreddits stay indefinitely private until Spez is ousted.
Trapped Under Trucks
Why Nobody Will Do Anything Until It's Too Late
Just started transferring to porkbun.com
It becomes a game where the landlord is weighing the costs of an eviction and the time that will take and getting a judgement for the unpaid rent and legal costs, and the likelihood of actually collecting on that, vs a negotiated settlement that lets them get the property back on the market as soon as possible and with the lowest costs.
You’re very giddy to try to brush this under the rug. The truth is that big tech and Fauci colluded to suppress the lab leak theory, there are leaked emails that prove it. YouTube and Twitter were censoring and demonetizing channels that would talk about the lab leak theory. What do you have to say about that?
This.

I have a few family members very deep in the weeds (QAnon, Cabal, One World Order type of crap) and they love to play this narrative. In reality it seemed like it was rather obvious to anybody who looked at the facts that this pandemic had dubious origins. Just a few of these were the close proximity, same family of viruses being researched, mysterious personnel changes around the time of the initial spread, etc., yet those same family members have turned any reluctance on my part to flat out declare this pandemic as a manufactured Chinese bioweapon into flat out denial of any chance of it being anything more than a big coincidence.

I guess it boils down to conspiracy theorists believing that you're either all in, or not in at all, and there exists no middle ground to wait for more facts before coming to a conclusion one way or the other.

I also feel like noting that I didn't engage in discussion on the topic with many other people outside of aforementioned family members on the topic, so who knows, maybe I would've been ridiculed for sitting on the fence, but anecdotally I definitely remember people seeing either source as a possibility (minus the Cabal manufactured pandemic to sterilize the human race one, of course).
As I evolved the pattern over time, I found it really did help clean up a lot of code in `mount`. Once I got it working for one LiveView, it was really easy to rip out a lot of messy code in the other LiveViews. I'm definitely happy with the results! Thanks for reading.
If you are putting your docstrings in the py and they contain things like equations or figures or images, you have to render them to get the same effect that you would have just reviewing cells in the notebook. And as far as I know you can't even spread docstrings out over the body of a functions, the way you could if you broke the function up into cells. Docstrings are not literate programming.
A command economy gets a lot easier if you can force people to work certain jobs and produce certain things. The Soviets had trouble with this because measurement and enforcement were challenging; they'd have loved Amazon's warehouse worker surveillance systems.
They're not outlawing camping in a vacuum, they are outlawing an act of desperation which their own policies are driving people to. America is insane.
> I mean, unless I've created a false memory

I'm pretty sure your memory is very faulty. Of all those saying it could be a lab leak, very few were talking it being a bio-weapon.

> Those prattling on about how "people called us crazy" that it was a WIV lab leak seem to completely misremember what was actually being discussed in April-May of 2020

Not at all. You are trying to rewrite history.

Here's the bill from Congress, march 2023:

https://www.congress.gov/bill/118th-congress/senate-bill/619...

It is the sense of Congress that--

(2) there is reason to believe the COVID-19 pandemic may
have originated at the Wuhan Institute of Virology;

People saying "people called us crazy" do deserve apologies, not downvotes.

EDIT: just to be clear... I'm not saying it was or it wasn't a lab leak. I'm saying that there's a Congress bill from march 2023 saying there's reason to believe it was a lab-leak. And hence all those who said it was a lab-leak and who were called "conspiracy theorists" do deserve apologies.
>Given statements to congress by government officials that would contradict this conclusion, will there be repercussions for misleading the public, lawmakers and the scientific community?

Laws are created to control the poor, else mostly will find a way to twist it.
https://files.catbox.moe/pkkzal.jpeg
Compounding Optimism
What kind of lease agreement requires that you be in the building? I am genuinely asking because I’m not familiar with that kind of stipulation.
This is what I've always wondered - would those who downplayed the virus and eschewed masks and vaccines have changed their tune?
>Then there'd actually be a reason to get gilded up ...

I have to imagine reddit has already thought of this and come up with some justification for why it won't work - because the proposed strategy is just so incredibly lazy. Ultimately I suspect the data somehow suggests (a) the network provider has to provide free access in order to sustain the criticality of the social network, and (b) charging for something that other people are getting for free (a la twitter's 8$ checkmarks, reddit gold, etc.) is just not a very viable product strategy.

So Reddit has decided to stick 3rd party devs with the thorny problem of direct-monetization of users, wherein their cost to the developer is usage-billed while the revenue to the developer is presumably fixed; meanwhile Reddit can cash the checks from their mobile ads.
In a different universe, I think the idea could be a valid attempt at dethroning Google. However, after seeing the changes to Reddit the past decade in our current universe, I wouldn't trust those same people to handle search for the world.
The implication here is that, "...or else users won't participate."

Which I agree, needs to be justified. You see this kind of talk a lot when power imbalances exist; the person with no power tries to speak on behalf of everyone involved who they think believes as they do, in order to try and stand against the existing power structure.

Sometimes it's highly effective (actually appointed or even de-facto leaders of movements/groups), other times it's kind of laughable and presumptuous.

Without justification, this is the latter. That said, I bet there probably is justification, if the author bothered to look for it or provide it!

I would suspect it's true that users will not make use of a site like Reddit nearly as much if the content isn't then made available for use "as they wish".
The first thing we would have done would have been to put an immediate halt to all "gain of function" research - including all of the "gain of function" research that is currently ongoing (that Fauci and his ilk insist isn't really "gain of function" research). This would include severe penalties for those who funneled money to third party researchers. Instead, the global health authorities peddled the absurd "wet market" hypothesis and continue(d) to pour money into "gain of function" research that makes another lab leak inevitable (at some point).
Anyone doing similar with Swift given it also has server continuations?
I would argue that Spez is the biggest "tool" in Reddit...
Not censored millions upon millions of posts discussing the idea, for one thing. The conversation and narrative was warped, and a lot of people are now rather extremely divorced from the reality around this issue.

Gain of function research would have been examined much more closely, and with the origins known we may have had much less fumbling around protocols for containment, such as knowing much sooner that it was airborne.

I believe many people likely died as a consequence of this mass deception, and its ripple effects. And many more might die yet, if we don't reign in irresponsible bio research.
It is easy to believe that is what happened based on the details in the article but what we are seeing is a filtered view in hindsight.

It's like when you watch a movie with a twist that you didn't see coming. But then you go back and re-watch it knowing the ending and you gleefully point out all of the places the film makers put subtle clues which you didn't catch. Imagine telling the ending to a friend. He then watches the film and says: "how could anyone not see the twist? it was so obvious the entire time!"

What seems in hindsight as "withholding data" might have been seen at the time in a completely different light.

It reminds me of situations I heard stories about at two workplaces. Both were cases where a new hire was given a task to complete. They were giving excuses, showing partial progress, dodging inquiries. In both cases the new hire lasted over 3 months before it was realized they were doing absolutely no work at all. In all cases it was obvious in hindsight but during the course of the deception all of the excuses added up.
Nobody has recommended prompt_toolkit (TUI only) yet, so here I go:

https://python-prompt-toolkit.readthedocs.io/en/master/

I'm working on an interface for an LLM (large language model), and prompt_toolkit seems to be the only library with enough text-buffer features for me to implement everything I want.

It's quite imperative-feeling though. Have to keep references to individual widgets if you want to do anything with them later.
Right. The others are system languages you could write a kernel or a game engine in.
I definitely remember it being discussed as a lab leak on HN sometime from December 2019 to March 2020
I was at Madrid airport in June 2019 and waiting in the long line for border control to leave there was a man who was displaying extreme flu-like symptoms. Coughing, sweating, pale as a ghost. Mind you, this is the height of summer. Even back then, prior to the pandemic, I actively avoided him because he looked really unwell.

I know there is no way of knowing and at best it is a fanciful mental exercise, but I think to myself 'what if'?
Ok, we've put humans in there too. Thanks!
>Will the last platform where users have at least some power

Are you sure about that? 0.0001% of the users, the mods have power. No one else. Yet the regular users create the content not the mods. Funny how mods actually not quiting or deleting their accs or even subs which you know actually would have an impact. Even if they go private a lot of them happy to have that imaginary power.

And even then everyone can create new subs whenever they want. So I'm not sure a great migration will happen (to where exactly? and what guarantees that the users will follow too) instead I can see new subs replacing the old ones. Just because a vocal minority have the "we did reddit" moment that means really nothing at all.
This is in line with the evil bit spec as per TFA:

> Devices such as firewalls MUST drop all inbound packets that have the
evil bit set.
For a sec I thought I was about to hear Deckard say "Gimme a hard copy right there."
Edit: Yay

1) add the check IP on the site to NFQUEUE

iptables -A OUTPUT -p tcp -d 185.230.223.37 -j NFQUEUE --queue-num 1

2) write a little python script using [0] netfilterqueue and [1] scapy

from scapy.all import IP, TCP
from netfilterqueue import NetfilterQueue

# Callback function for handling packets in the NFQUEUE
def packet_callback(packet):
pkt = IP(packet.get_payload())
# Modify only outgoing TCP packets to the target IP
if pkt.haslayer(TCP) and pkt[TCP].dport == 3560 and pkt[TCP].dport == 3561:
# Set the reserved bit to 1
# 6 ist DN und evil
# 2 ist DN
# 4 is evil
pkt.flags |= 4
del pkt[IP].chksum
del pkt[TCP].chksum
pkt.show2()
pkt.show()

# Print a message indicating packet modification
print("Modified packet:", pkt.summary())

# Update the packet payload
packet.set_payload(bytes(pkt))

# Accept the modified packet
packet.accept()

# Set up the NFQUEUE handler
nfqueue = NetfilterQueue()
nfqueue.bind(1, packet_callback)

try:
# Run the main loop
nfqueue.run()
except KeyboardInterrupt:
# Cleanup on keyboard interrupt
nfqueue.unbind()

3) analyze your packages with wireshark and find that your script works!

4) be sad because the response never arrives and your packages are treated as if they hadn't set the evil flag :(

EDIT: YES! I didn't see that he does 2 checks and the second uses a different port. NOW I'M EVIL!

[0] https://github.com/oremanj/python-netfilterqueue

[1] https://scapy.readthedocs.io/
You've created a false memory.

Even back then, there weren't any good counter-arguments against the "lab leak" theory (except "it's racist" because somehow "the Chinese are so filthy their food markets cause pandemics" isn't racist?!), so to censor it, the powers that be (Big Tech, Mainstream Media) instead attacked the adjacent, but very different "bioweapon" theory.
I don't know enough/anything about ActivityPub, but maybe different...apps? (Mastodon et al vs kbin/lemmy) could have different agreed-on rules. The forum-style ones would be appropriate in search results, so they could be indexed. People linking to Mastodon posts on lemmy might be unavoidable I guess, but there's at least a bit more separation.
If the lab leak story is correct, the WIV people knew somewhere inbetween September...November 2019 that the virus leaked.
It is difficult to tell what is just bluster and what the PRC is really planning to do. I wouldn't listen to their words very closely (doesn't Xi say similar things every year?), rather pay attention to their actions.

Chinese people really enjoy their peace dividend, and I don't think Xi's popularity would last anything that threatened that. On the other hand, there are hard liners/true believers to appease.
Play the ball, not the player.
Should anyone under 20 and over 65 should have a different minimum wage? Is it really that much of a shame that seniors can't find jobs to pass the time? Assuming they don't need the money there are other options there, like volunteering. I'm also wondering why college students, who are famously short of cash, should be considered unworthy of a living wage just because of their age and because some of them live with their parents. Should employees be forced to prove they really need the money before they can have a living wage?

The reality is that minimum wage jobs will sink to whatever level they can get away with, forcing everyone who works at that minimum wage level to put up with the new decreased wage.