skysight-inc/HackerNews huggingface dataset:
Using some sort of VDOM is still pretty standard in most frameworks, it's definitely not just React doing this. The motivation is generally an attempt to model an application as a function `(state) => DOM`. This is probably similar to the `renderMyModel` function in your example: take state in, and return what the document should look like given this state.

The problem with this is that if you rerendering the entire DOM every time the user interacts with the page at all (and therefore changes the state) then you will run into issues. The main one of these is that the DOM itself has state, such as event listeners, or the contents of input fields. We don't want to throw this state away as well, instead we want to sing m synchronise it with the state that _should_ be. I mean, in your example, you wouldn't run the `replaceElement` function every time the user presses a key or moves their mouse, right?

VDOM is basically the solution. It can run every time a mouse is moved, because instead of just replacing everything, it replaces only the things that have changed. Assuming the input hasn't been swapped out for a different element, then it can stay. It might gain or lose a class, or the value attribute might get updated, but the element itself stays were it is.
Clever idea, but I don't think this would work very well on real posts. Consider a model that rates "typical woman driver" as hateful, because that phrase appears in a lot of argument threads with lots of downvotes. Your approach would average its score with that of "typical man driver", which will presumably be very low, not because it's less hateful but because it just rarely shows up in the training corpus.
I didn't upgrade to Apple Silicon right away but I did last year ago with gear going out of OS upgrade support last fall. I imagine a lot of people decided that Apple Silicon was a good upgrade point and I can't see upgrading again for a while unless I replace my iMac with a new mini.
> Tether and Bitfinex CEO J. L. van der Velve used to sell a product he claimed could transform the nicotine in cigarettes into vitamins - and suggested it allowed you to smoke 300 per day.

Did he plan to kill his customers or something?
One could argue one should mark it as it shows of all applicants a certain % are of X attribute, so hiring applicant of X isn't unusual as maybe they made up a large or even super majority of applicants.
It was an absolutely terrible judgement. It only happened that way because it was a jury. The law doesn't justify it.
> make a novel discovery that changes the world

Probably because that's a lightning-strike sort of event that you can't really plan on.
Again. No one has ever said that they can't charge the 15-30%.

So sideloading is fine but developers will be billed directly for each install.

Only they will be losing out from the marketing and discovery benefits of the store.
> We have elections... but

Maybe the real enemy of the American people is ... the American electorate?
> MacOS gives them nothing

It increases Steam sales which increases their profits. Probably not by a great deal, but gaming on Mac is a bit of a chicken and egg situation. No-one does it because it sucks, and it sucks because no-one does it.
There is not a Python equivalent to Ronin as a whole, to my knowledge. There are however Python libraries that provide some of the features of Ronin. For example, pwntools can be used for packing binary data and generating shellcode for exploits, however it is more of a library instead of an exploit framework (frameworks run 3rd party code and manage the control flow) and has a fairly minimal API when compared to Ronin's many libraries. There are also dozens of bespoke Python exploit "frameworks" on GitHub, but none of them that I've seen support installing 3rd party repositories of exploits. The scope of Ronin is much bigger than just an exploit framework or vulnerability scanner. YMMV
Link to example: https://neuml.hashnode.dev/prompt-driven-search-with-llms
Interesting financial tidbit: they paid off over $8B in commercial paper (very short-term borrowing) over the past year.
Also the companies who are able to pay for marketing in a recession are biased to be in a strong position already. I wouldn't think that because they spend on ad revenue they performed well, I would take it as they were able to spend on ad revenue and thus survive and do well. Whereas their competitors had no ability and had to likely manage cash flow issues.
I've talked to the author and sole maintainer about this video specifically, and he confirmed it is absolutely intentional and subtitle censoring is coming. He also confirmed that cutting out entire thirds out of videos is intentional, if the affected segment is also used to pitch a Nebula companion video (but otherwise just a continuation of the video). This happens on channels like Mustard and RealLifeLore. SponsorBlock isn't trying to eliminate annoyances, they're trying to turn existing videos into something something they're not - untainted by commercial interests. And they don't care if it takes away from the actual content of the video or removes tons of context.

The last straw for me was a Climate Town video about astroturfing that ends by introducing a petition to the EPA as "sponsored" by the grassroots organization that set it up. Someone cut 3 entire minutes out of that video to spite the supposed "sponsor" and took at least 2.5 minutes of content pertinent to the topic of the video with them. Sppnsorblock author also said that was intentional.
Nice job, though a smaller PCB would've been more practical? The ESP32-CAM is definitely a bit tricky to work with software-wise.

I'm not sure how much sense it actually makes to run anything onboard unless you want to take a snapshot every few seconds and then spending a while classifying it. I've eventually just resorted to streaming at SVGA and decent framerates and then processing the output on another machine.
Nothing guarantees optimal placement, but all the mainstream schedulers attempt an approximation of it. The general assumption in mainstream schedulers is that servers are placement-sensitive, and batch jobs aren't. If you assume there's only one kind of job (all servers, or all batch jobs), the design of a scheduler gets a lot simpler; like, most of what the literature talks about with respect to Mesos and Borg is how to do distributed scheduling for varying schedule regimes.

I like how I worded it earlier: instead of having a complex scheduler that keeps a synchronized distributed database of previous schedulings and available resources, what if you just scheduled everything as if it was a placement-insensitive batch job? Obviously, your servers aren't happy about that. But you don't expose that to your servers; you build another scheduling layer on top of the batch scheduling.

That's not precisely what we're doing (there are ultimately still constraints in our service model!) but it sort of gets at the spirit of it.

As for cost: we rent out server space. We rack servers to keep up with customer load. The more load we have, the more money we're making. If we're racking a bunch of new servers in FRA, that means FRA is making us more money. Ideally, we want to rack enough machines to have a decent amount of headroom past what we absolutely need for our current workload --- if our business is going well, customer load is consistently growing. So if ops is going well, we've generally got more machines than a mainstream scheduler would "need" to schedule on. But there's no point in having those machines racked and doing nothing.

At some point we'll reach a stage where we'll be more sensitive to hardware costs and efficiency. Think of a slider of sensitivity; we're currently closer to the insensitive size, because we're a high-growth business.
M1 was such a big leap in terms of performance, that people will be happy with it for quite a while - I would expect Apple's user base to keep widening, but the profit from hardware keep falling because people won't need to upgrade as much.
> Indeed. The proper thing (also read as: the friendliest way for distro packagers) is for software projects to generate and publish a tarball themselves as part of their tag+release process.

And this is easy enough to do automatically with GitHub actions, I have a workflow [1] which runs on each release to create a stable archive of the source and attaches it to the release.

[1] https://github.com/elesiuta/picosnitch/blob/master/.github/w...
No it is not.

> I think it's fair to point out that men commit most violent crimes. That's not good/normal/expected it's just a fact.

> Again, replace “men” with “African Americans” and you also have a statistically true statement (in America at least) that would be considered taboo.
Can you give your thoughts on the approach at St. John’s and whether you would recommend it?
Again, for exposure:

remyhunter256@gmail.com

https://remyhunt.net
Escape API Security (YC W23) Partners with Postman on Open Source (GraphMan)
Hello, the community!

At Escape (WC 23), we released an open-source package (GraphMan) to convert a GraphQL Introspection into a Postman collection automatically. Postman just announced the official collaboration on their website, and we would love your feedback on Graphman!

Best,

Antoine
Cofounder & CTO @ https://escape.tech
> entire regions unusable

True.

> hugely disproportionate number of deaths

Not really true. As a reference, the Bhopal industrial disaster killed an estimated 20-25k people, with official numbers at 7.5k, with more than 500k with non-fatal poisoning. Chernobyl, where everything that could go wrong went wrong, coupled with massive design and human flaws, resulted in around 4000 deaths as of today according to the WHO. Of course the density isn't really comparable, but it kind of is because nuclear power plants don't need a lot of employees and are usually far away from big population centers.

The evacuation of the zone around Fukushima, and an oil tank fire caused more dead than the nuclear accident in the power plant, all caused by the same earthquake+tsunami.
That is just how elections work in a parliamentary system though, it's not unusual to have a ruling party without a majority of the vote.
Russia's Role in the Far-Right Truck Convoy
You're right, thank you for sharing that fact.

I revisited the flight data and if flies below 13,000 ft until it finished the drawing. Then it rose to 41,000 ft and increased the speed from ~200 knots to somewhat over 500.

It blows my mind to think that an 747 is allowed to use the uncontrolled airspace as if it were a Cessna.
https://archive.is/https://www.bloomberg.com/news/articles/2...

Nice non-denial that this is a massive tail risk, without proper study. They admit it is causing variants, but deny the varients are "problematic".

Then go on to state, pedantically, that their is no "evidence" that their drug has contributed to any current or previous strains in circulation.

Then, based on "available" data, (read: there is no data), do not believe it will "contribute" to future variants.

All of that word salad to acknowledge they are playing a massive game, purposefully speeding up evolution by introducing mutations, while pretending its perfectly safe because it hasn't fucked us yet.

It hasn't fucked us yet because we haven't tried this yet.

I'm done with this timeline crap. I've watched politicians drag out scandals until they lose steam, and we all watched phizer and moderna and us government use inappropriate timelines to create false narratives about safety and effectiveness.

Maybe people should wake up and start pushing back on statements made on illegitimately short timelines.

"Merck disputes the view that its drug is causing problematic variants.
“There is no evidence to indicate that any antiviral agent has contributed to the emergence of circulating variants,” Merck spokesman Robert Josephson said in an email in response to questions about the study. “Based on available data we do not believe that Lagevrio (molnupiravir) is likely to contribute to the development of new meaningful coronavirus variants.”"
Purple bubbles for users of the latest iPhone Pro model.
I signed up for updates! I have been looking for something exactly like this for home automation, to detect occupancy, pets, etc. I am very excited to pair it with HomeAssistant!
Bet against Grayscale, MicroStrategy or any other publicly traded crypto company. Hell, even Coinbase is good enough. All will face very difficult times once Tether collapses and takes most of the crypto "economy" with it.

That's the only way I can think of to avoid crazy counter party risk.
Can't judge a book by its cover
Ask HN: IoT to Detect Noise and Outlaws?
I live in a place where noise has increased exponentially over the past 2 years. Many elderly people living in my building upset by these events.

There are people accelerating their motorbikes and powerful cars madly, at dawn and I would like to prove these to my city hall so that they can take some action, because this is killing our sleep on a daily basis.

How would you approach a project like this using microcontrollers like arduino or raspberry, in terms of modules and ideas?

I live in a corner building, on the first floor, with a diagonal view of the avenue where the kids are playing with their toys.
Unless your hypothetical lay-person is bringing his just-patented discovery of a SciFi drive for spaceships to the table, there is no reason for a professional investor to back him in such a venture. Huge, established mining firms are already far ahead of Mr. Lay-Person in many deep specialties that would be needed for asteroid mining. Transporting many tons of stuff to & from deep space is a requirement for asteroid mining, and Mr. Must is enormously far ahead of Mr. Lay-Person on that front.

Vs. he is ahead in no way at all. The real world isn't a Hollywood script, where being the protagonist means that he'll somehow succeed.
Blaseball is so great. Baseball already serializes well to text based (like listening to a play by play on the radio) and then they started mixing things in like 4th base, unruns, crow attacks, etc that I loved. I almost want to make my own blaseball style sim (maybe based on WWE wrestling?) but don't really have the time.
It's interesting that The Revolution According to Raymundo Mata is not mentioned in Apostol's byline here. As a short piece, this essay focuses on the surface of the history and its immediate implications, but the novel investigates many of the themes more deeply. It's particularly obsessed with the relationship between colonization and translation in the Phillipines, is consistently funny, and teaches the reader how to read it (the book's quite twisty in presentation, in a postmodern lit-crit style). I bounced off Insurrecto a few years ago without loving it (though in revisiting my own journals I learned that I apparently quite loved the first fifty pages), and the more recent (at least in the United States) novel has broken my brain or something because I'm entranced.
Yes but I think the German population was almost entirely driven out.
You gain all the fun of Fix, though.
So if you account for inflation in dollars their revenues this year declined compared to last year.
Then add inflation for real value.
Wouldn't those stats be heavily influenced by the work description? A police officer would still be a police officer as they advance in the ranks. A plumber would stop being a plumber when they get a new title. Or does the US differ between police and police officer?
How about the actual article?
I'd be happy to pay premium for a full, true privacy device
I suspect a lot of Apple owners have several devices eg a Macbook, iPhone, Apple Watch, and maybe an iPad or a Homepod too. I would be all that surprised if owning multiple Macs was relatively common as well if you include work computers.
Surprised this wasn't posted, as it mirrors most of the findings (closed vs open mind; how to optimize creative/unstressed thought, methodologies for maximizing output), John Cleese's talk on Creativity:
https://www.youtube.com/watch?v=Pb5oIIPO62g
"Rent-seeking" is when there isn't risk. If you set up a new investment in a competitive market, and sell access, that's not rent-seeking.

In this scenario, the predatory pricing is a key aspect of how it becomes rent seeking, and a well-functioning market would not have predatory pricing. And the root issue is tied in to how current US copyright law has major flaws.
More dialogue actually doesn't help conspiracy theorists learn better it just helps them spread their crazy to a broader audience which is why one in five Americans believe in some aspect of Qanon. It's not censorship to not spread the crazy. Let them spread it on their own platforms.

There really is little nuance regarding election integrity. Trump definitively lost. The only disputes with a shred of substance were themselves procedural quibbles like arguing that a given legislature overstepped its authority by offering mail in balloting and attempting to use this to argue that the proper resolution to overreach would be to throw out the legitimately cast ballots of those following government instruction in order to reach claimants preferred outcome.

Lets do abortion next. Almost all the meaningful brain development that produces a human like being rather than a human looking being happens in the third trimester whereas almost all abortions happen in the first and overwhelmingly consist of mom to be swallowing pills terminate something as intelligent as mold. The nuance was covered 50 years ago and then again and again with redundant laws designed to protect the fetus from fictional partial birth abortions that were already illegal twice or three times over. Having already achieved the goal of keeping human like beings from being killed decades prior there is little nuance left to deal with.

If you have an hour we could do gun control too. I noticed you didn't mention the other controversies presumably because you don't regard them as meaningful controversies. Kudos.
Hm, why? Political groups are not a protected status, you can move freely between them at a whim if you don't like how your views are treated.
Those bubbles exist because Google follows the international RCS standard and Apple refuses to do so.

Do you want to tell Apple?

edit: lol, guess everyone really loves their status symbols here. Congrats on having your chats be the "right" color!
Devices != Users

This is actually more devices per user
And that in some cases they assume familiarity with a large body of knowledge of _other_ people's commentaries on the works, and in fact, those second-hand sources are what they're really responding to.
The MX sort of did that on the reentry side.
the thing that's always confused me is why would this category of white lumping together latino even be a thing in the first place? Just seems like a really harebrained idea. That association always confuses many hispanics I know during each census. Was there a rationale for this lumping? I never understood it, just seemed to beg for fuzzy/blurred/confusing metrics.
A 5D theory may explain quantum entanglement – by Tim Andersen, PhD
Sounds like an excellent way for Apple to speedrun their second anticompetitive executive inquiry.
I’m waiting for at least TSMC N3 or N3E. Getting 2 Macs on the TSMC node doesn’t make sense (especially with a slow SSD)
Police work = killing people?
Show HN: Trigger Webhooks from Postgres
We just released a small open-source tool which enables you to fire HTTP requests from Postgres triggers.

One of the things we’re using it for now is to send Slack messages when a new user is created and wanted to see what the community thinks as we explore more use cases!
Mastodon and the ActivityPub ecosystem are by their very nature unable to go defunct. Nice attempt to troll though.
>Statistically, both statements are justified.

What can you point to that statistically justifies that "Black people have a bigger tendency for violent behavior than white people"?

Showing crime statistics isn't enough. You need to show that given all the details about a person being the same, a Black person is more likely to act violently than an identical white person. You basically need to correct for all the societal reasons that result in people committing violent crime.
It always made sense to me. For a few reasons

- Android phones have a low end, and thus a lot of people associate them with being poor. It's simple status symbol showing off. This is stupid - I don't like it, but it's what people seem to think.

- A single Android user can "drag down" the conversation of a bunch of iPhone users. Group chats are a perfect example of this. Not to mention, reacts, rich media sharing, and threading doesn't work across platforms. This is really frustrating when it happens. You could argue that Apple should adapt RCS - I would argue that RCS is technically terrible, poorly designed, and Apple has a legitimate point of not adopting it on those grounds.

- "Green bubble" is also beyond just messaging. It's referring to the overall friction of the two ecosystems, such as file sharing, location sharing, payments, etc.
If it can't be made stable, `git archive` should specifically add random content (under a feature flag to be removed after a year or two) to so as to make the generated checksum completely unreliable and force users to adopt different workflows.
> How often do they correctly predict the weather?

I mentioned this in another comment, but accuracy data is basically impossible to get. You have to get weather data year by year for different regions of the country and then compare them to historical ranges. Means a pretty huge amount of trawling through data, not a lot of payoff.

> Also how often did their right or wrong predictions contradict the majority?

This one, you can get a little more easily. Check out the predictions page to see them grouped by year: https://groundhog-day.com/predictions

If you are looking up a specific groundhog, you can see how often they align/differ from the plurality.
lol. i am sure to that there are some porn magazines which no longer open
Excellent point. Comment A is a true fact for some religions, whereas Comment B is flame-war material that will get @dang's wrath on HN.
Absolutely: https://groundhog-day.com/api
It's just combining and synthesizing other works; it's not "deciding" anything, it's crafting responses that best match with what it already has. You can choose what to feed it as source material, but you can't really say, "Be 3% more liberal" or "decide what is acceptable politically and what isn't".

All the decisions are already made, ChatGPT is just a reflection of its inputs.
Does anyone understand why Meta is up 23% today? Did the cuts show an impact in Q4? I'd have assumed the initial cost of the severance would be significant.
https://finance.yahoo.com/quote/META?p=META&.tsrc=fin-srch
> you tell the IRS who you paid

unless they are overseas and have no US tax liabilities.
Yes, I agree. I thought the double qualifiers of "historically" and "perceived" would indicate that I don't personally agree with the notion, but American society at large has agreed with that for most of the last 50 or so years.
That's not the same. `go test -c` builds a binary that runs your tests, whereas (if I understand correctly) the new thing builds a binary that runs your main(). If it works as I understand, that would be fantastic because then I could get rid of this monstrosity: https://github.com/holocm/holo/blob/master/main_test.go
An Integer Overflow Caused the Failure of a Half-Billion Euro Rocket Launch
ChatGPT Chrome extension replaces all SEO tools
> Initiating a CPS investigation can be incredibly traumatizing for both the parents and the children, and due process can take months or years in the event the initial investigation ends in an incorrect decision to remove the children.

The actual problem, with the responsibility being laundered by placing it on random busybodies. Maybe have a system where anonymous denunciation doesn't lead to trauma and misery.