skysight-inc/HackerNews huggingface dataset:
I like the article, but it gets some things subtly wrong.

> To grossly oversimplify things: React assumes that your entire virtual DOM tree needs to be rebuilt from scratch, and the only way to prevent these updates is to implement useMemo

Not quite, on a state update, it rebuilds the component that was updated and all of its children. Not the entire virtual DOM; old versions of Angular did this, but it was wasteful.

useMemo doesn't prevent that, but React.memo can (useMemo has a different role; it lets you choose when to recompute or recreate a normal JavaScript object. But on its own it won't stop rerendering of child components!) [0]

This invalidates some of their assumptions. The reason why React isn't "push-only" isn't because it does that, it's because it sometimes buffers updates instead of always pushing them immediately. In fact, other frameworks like ~~Svelte also aren't "push-only" and hence not strictly reactive~~! [edit: this is no longer true after Svelte v5, see discussion below] (Funnily enough, OP uses an article as a source that explains this correctly [1], but it seems they took the wrong lesson from it).

The reason why signals are so cool is because the framework knows for any given state change which exact attributes in the DOM need to be re-rendered, even more specifically than "the element and all its children". But this neither implies reactivity nor the other way around. The two concepts are orthogonal.

Anyways, kudos to the author for diving into this so deeply!

[0] useMemo is useful in combination with React.memo sometimes, as the latter compares objects shallowly/by reference instead of their contents, so useMemo can be used to only recreate shallow references if its contents changed. You could probably also reimplement React.memo with useMemo, but you probably shouldn't.
[1] https://dev.to/this-is-learning/how-react-isn-t-reactive-and...
It's a terrible benchmark all-together, I don't know why it's getting so much traction. The authors themselves don't understand the differences between these Linux distributions.

The website (computerbase) also seems to host their own downloads of the operating systems they review, very weird.

Nobody else likes to do these kinds of benchmarks because if you do them right the performance differences should be negligible. If not you've probably stumbled upon a bug.

Phoronix actually does Linux benchmarks right. [1]

[1]: https://www.phoronix.com/review/ubuntu-2104-gaming
Halfmoon: https://www.gethalfmoon.com
Reader mode on Firefox on the initial page load removed the paywall block for me.
https://hexapipes.vercel.app
My opinion is that it's hard to make the Fediverse work content-wise. The Big Techs have very expensive systems to do content moderation. I (kind of) trust Instagram, or X, or whatever to prevent my daughter from seeing gore or weird porn stuff. It's hard to trust these other platforms. But I'll change my mind if good arguments come up :)
> Not a side project, per say

I'd disagree with that. Community building is every bit as much work, and arguably often more impactful than just putting up yet another OSS repo on github.
It's not yet stable - mouse input isn't handled correctly yet.
I co-authored a smart contract compiler that landed me two different jobs.
Thanks for mentioning my project (fastgron).

It reads the file into memory once, then just goes through it only once, so it shouldn't need much more memory than the file size.

Also I put a lot of work into making fastgron -u fast, but you can grep the file directly as well.
Agree. While sleep apnea risk does increase with obesity, it has a fairly high baseline. Sleep apnea is one of the most diagnosed conditions in service members separating or retiring from the military, and that is by definition not an obese group.

I have sleep apnea and am one of the most fit people I know. When I was in the military, I encouraged many of my friends who sleep poorly to get a sleep test and many of them - fit and young - were surprised to learn they also had it. I would not be surprised if some significant portion of the population has it and is just unaware. At anything short of severe levels, many people would never even suspect they have it.
Where? Google did not help me with this
Sounds interesting but the bloated website and nonconsensual cookies make it hard to want to learn more
If you need 100% parity, that’s a transpiler job.
Ask HN: How many tasks are on your daily todo list?
I've found that the single highest leverage modification I've made to my daily schedule is decreasing the number of tasks on my todo list (which I write out each night for the proceeding day). Wondering what other people's experiences with daily todo lists have looked like.
> For tech at least I get the impression that the labor market out there is tough.

Anedcotes of course, but what I hear is that maybe the Bay Area tech labor market is tough - but there's a lot of country that isn't the SFBA and nobody I know who isn't bent on working for a FAANG is having trouble finding work.
The issue for me is that neither the detailed-spreadsheet girlfriend nor the levelling-up-all-the-skills girlfriend seem particularly believable characters. And the “I’m fake-sorry you’re such a pitiful person” is always cringy. Not to mention that “Roberta” almost did the same to “Alice” in return by pettily now also keeping her as a temporary girlfriend. Leaving her right away would have been the more appropriate and “levelled-up” choice.
ChatGPT's Wild Year
It was just surprising, is all. When I use use <x> application from a nix shell, it pretty much always works the way I think. The compiler experience was very jarring, but yes I understand why it works the way it does.

I was more or less pointing out the UX issues with Nix that end up turning many people away.
I think I'm pretty much ok with either one.
I feel cool having a "doomsday" phone with offline maps, wikipedia and a few other references in kiwix, music, a few weeks worth of podcasts... and curious to know what else one should have.

Now if apple could just shoot me a few kb of news/weather updates by pointing it at one of their satellites, we'd be really cooking.

(Other than a solar panel and I got a cigarette lighter adapter with clips at the end so I can charge off a car battery without turning on all the accessories)
Love what OP has created and is releasing free (thank you!)

Did want to point out some other cheap/free bitcrushers out there for people to try (in addition to MAIM)

https://www.deniseaudio.com/plugins/my-crush is currently free with newsletter sub and was super cheap when I first purchased it.

Some other free vst of note
https://bedroomproducersblog.com/2012/03/09/bpb-freeware-stu...

I also like https://camelcrusher.com/
I'm curious if you had a look at GraphBLAS (ala Redis Graph etc)?
American take I guess?
Cancer Warning over Soy Sauces
I'm not 100% sure, but based on their jobs listing they use Flask for all their apis and probably pydantic as well.
SEEKING WORK | REMOTE | US

I'm a Senior Software Engineer (Back-end Web, and Front-End Web) with 6 years of professional experience (and a hobbyist developer since 2007), I have experience in various subjects and all stages of the software development life cycle.

I'm seeking to work as a Software Engineer in any capacity (web, mobile, desktop, etc) preferably full-time (contract to hire, or direct hire are fine).

Technologies: Python (Django, CherryPy, FastAPI), C# (ASP .NET Core, WinForms), Go, Node / JavaScript, and if it's anything else just let me know I might be willing to try it. I can pickup new languages and stacks rather quickly.

Resume: Available on request

Email: Giancarlos [at] protonmail [dot] com - or contact me on LinkedIn

Remote: Yes

Willing to Relocate: No

LinkedIn: https://www.linkedin.com/in/giancarlos-toro/

GitHub: https://github.com/Giancarlos
Well, there are times when you're not charging overnight (e.g., get home with low battery, realize you only have 3 hours before next outing) and you get 50% more charging done in the same time, without having to go out to a Supercharger / DCFC.

Or, as in our case, we have two EVs - speed is useful sometimes.
as someone who has actively gone out looking for weird porn on the fediverse, I struggled
I've hired enough licensed, bonded, certified, well-recommended, well-reviewed professionals who completely botched the jobs* to agree wholeheartedly with your sentiment. You can't hire someone without thoroughly understanding what they're doing, and once you reach that level of understanding, you absolutely can make an intelligent decision whether to buy or build. At the point where my house burns down, I really don't care about the credentials of the person who made the mistake. Rather, I personally make sure my house doesn't burn down.

* Solar panels installed facing North in the Northern Hemisphere; rapid-shutdown switch installed inside a home; supply side of 240v connection to backyard office has male prongs; fence built with non-pressure-treated wood contacting the soil. The list goes on, and these are only the errors I've discovered in 20+ years of being a homeowner.
> While a delay in air traffic is understandable, adhering to the announced duration (which clearly had the characteristics of an Expected Approach Time) is crucial to ensure safety. In this case, the crew experienced confusion when their EAT was not met, leading to concerns about fuel reserves and potential emergencies. Efficient coordination between ATC and crews is essential to prevent such situations

Sounds like atc having in fact time to fuck around was the root of the issue here
Uppity? There’s a word that certainly doesn’t conjure any negative connotations
Using a cipher is the definition of encryption:

In cryptography, ciphertext or cyphertext is the result of encryption performed on plaintext using an algorithm, called a cipher.

https://en.m.wikipedia.org/wiki/Ciphertext
True. But the quality of an abstraction is also significant.

A poor abstraction is costly in complexity. In a chain of tools, even modest complexity multiplies, and quickly becomes unmanagable. Whereas a clean abstraction (ideally) resets complexity to zero.
This is one of the things that Bluesky's ATProto is trying to solve, and have been making steps towards it.

We'll see if it gets there, but I find their thinking generally pretty persuasive.
I can't see how it can be any other way than you mention.

Is it conceivable that they don't have control of who is using their network, and how they're using it?

It's not like they've just landed on the planet with this big telecoms network to manage. They created them, they set the rules, they own the gates.

It's purely profit driven, no question.

In the exact same way that Google and Meta claim to not be able to police advertising on their own fucking networks.
Yes, this is where I am at. Used it for over a year in a DevOps role and have developed a huge distaste for it. Despite the language itself being one of the most complained about things, I didn't mind it so much. It was the mile-long stack traces, which were often wrong, and constantly fiddling with things I didn't want to fiddle with to get something working. Just ended up costing me way too much time.
On what basis do you make the assertion that intel and AMD don’t contribute patches to wayland or compositors? That seems like an extraordinary claim.
Has this been tested against Mawk? I often see performance benefits with Mawk, when the Awk script does not need any Gawk specific functions.

I'm looking at the test suite, trying to figure out how to get it to emit test failure details:

./makesure test_suite
mawk -f run_json_test_suit.awk
...
Successes: 186
Fails: 152
Doing it once does not make you a 10. You’d have to consistently do so without thinking. I don’t think the story is about that though.
It’s hard not to notice all articles that oppose Israeli propaganda quickly get flagged. Not that I’m surprised.
Real Python: Build Conway's Game of Life with Python
One person maintains a site that does just that:

https://gerikson.com/hnlo/

For me, even if stuff I'm interested in has already been posted on HN, it often rolls off the front page before I ever see it. The front page there moves more slowly, so there's a greater chance I actually see and discuss it.
Yikes.

TBH, I'd much rather have the regular 1-package C dependency, warts and all.
Let me guess, you believe the earth is flat, ai is intelligent, and windows 11 is godsend.
I know of a retail company that hired IBM to get rid of its huge Clipper code base (around 1.5MM LOC). IBM told them that they would get rid of all Clipper in 2 years.

5 years later, IBM has a few containers (physical containers) in this company's parking lot, adapted as offices, full of engineers doing maintenance and new features on the Clipper code base.
I stopped maintaining a popular JavaScript beautifier/diff/analysis tool 4 years ago that won me several jobs.

Since then I have been working on a file streaming application. Its side items in that project that have been winning me jobs lately, primarily anything to do with full duplex socket streaming and browser test automation.

As a JavaScript developer took me months this year how to sell my experience and skills from my side projects. As a JavaScript/TypeScript developer you can do the same shit everybody else does, which is put text on screen using a giant framework. If that is the kind of employment you are looking for be prepared to degrade yourself to working with newbs that have high insecurity, low self-esteem, and spend all their time talking about how awesome they are. Its all marketing all the time, no original application code, and outsourcing everything to some external tool. As a developer you are a commodity product to hire/fire just like public is to social media. This line of work no longer interested me, so I spent months unemployed figuring this out.

Instead your alternative as a JavaScript/TypeScript developer is niche skills, which is in higher demand than it sounds. It seems almost nobody can figure out test automation in the browser. Having application architecture skills is a huge plus, which typically means Java/C# and HTTP session management with something like Spring, but if you can demonstrate a more generalized approach to application architecture you have a skill that you can adapt to a bunch of different things. It also helps having things like a security clearance and security certifications. There are a huge number of cleared developer jobs that recruiters cannot fill.
Whoa, slow down there.

> The US Federal Aviation Administration (FAA) has banned foreign pilots from making visual approaches to San Francisco airport runways 28 left and right.

This was in 2013. My understanding is some foreign carriers took this into company SOP.

https://www.pprune.org/fragrant-harbour/520332-faa-bans-visu...
Flattening facilitates arbitrary ad hoc transformation.
Really interesting concept but I see a number of issues and limitations not addressed in the review.

For one, I think a lack of segmentation isn't great. Following people isn't just for quality content, it's for certain kinds of content. That's part of what makes a platform like TikTok so engaging: it finds content in the niches you're interested in for you. No need to look for them and follow the right creators. If everything is shared in one feed, niche content is less likely to be given to and seen.

Also, creators in this format are discouraged from giving their points, as their feed post will rank down quicker.

I do like the sentiment though. I really wish a simple, open source Twitter like social network was popular. It was a convenient way to see official communication from organizations and significant individuals, and to see news happen basically live, but the platform is inherently flawed. I wonder if a paid social network could ever take off. I would be happy to give a few bucks a month to a Twitter like app if it had a substantial enough network, but that's a bit of a catch 22.
I made a hobby of writing intro posts on deep technical topics, from DNS to concurrency to cutting cloud cost. From 2009 ish onwards all my gigs have been at least helped if not initiated by someone reading a post and saying "we should talk to this guy".

Not a magic spell. I had been writing for almost ten years prior before anyone noticed, and only a fraction get any play.
Homoiconicity is why Lisps have rich macros and legendary metaprogramming capabilities. You don't even have to deal with it yourself to feel its usefulness. Emacs use-package is an example.
Just like digital artists, they're not real artists! Use a pen and paper like actual artists!

Gatekeeping lmao, art is whatever any of us want it to be. Hell, this comment is art, wanna buy the nft?
“ Interactions Between Obesity and Sleep Apnea
Among the risk factors for OSA, obesity is probably the most important. Several cross-sectional studies have consistently found an association between increased body weight and the risk of OSA.16 Significant sleep apnea is present in ≈40% of obese individuals,17 and ≈70% of OSA patients are obese. Furthermore, in a population-based prospective study of 690 randomly selected Wisconsin residents, a 10% weight gain was associated with a 6-fold increase in the odds of development of sleep apnea (Figure 4).18 In the same study, a 10% weight loss predicted a 26% decrease in the apnea-hypopnea index (Figure 4). Similarly, in several other case-control studies, weight loss in OSA patients led to a significant decrease in apnea frequency.1”

https://www.ahajournals.org/doi/full/10.1161/01.hyp.00001016...
I dunno, feels kind of like writing things you don’t want your boss to know in corporate chat.
Oh, definitely, I meant things better than my project had become available. MySQL still has a long way to go in terms of friendly HA, and I’m not sure it will ever get to the level of something like cockroachdb. There’s plenty of room for improvements in that area, just not through something like what I was doing (mostly shell scripts).
This is not a story that the readership here is well-equipped to understand.
My problem with the spreadsheet is that it has "temporary" and red cells in it. If your private thoughts are that you should leave your girlfriend, then it's a bad idea to stay and a worse idea to compare her to the other options. It's inconsiderate of the limited time she has available for living her life. Commit, leave, or communicate to her that the relationship is temporary.

Plus, a numerical rating from 0 to 10 is a reductionist way of understanding someone. What exactly does a low chill mean? It's probably situational, right? Numerically defining someone turns amorphous changing thoughts into a solid number and locks that perception in place, preventing you from learning more. Maybe you're putting her in situations where she's not chill? Maybe it's situational and you haven't learned what causes it? These complexities hide behind a single simplifying number.
I am almost certain those questions do exist on certain websites - you’re just not looking in the right language.
I made and maintained a geo-based chat app for a friend/client (https://hihey.org, though they took it offline for now I believe). I used Matrix as the basis for it and started putting that on my resumes after finding it fun to work with and experience.

I got a couple of reach outs based on having that keyword on my profile alone on YC's job board and on LinkedIn that led to some paid consulting.

Not as life changing as some of the other answers but I'm amazed when this sort of thing even happens
> with safe Rust you get all the memory-safety advantages of Java or Lisp, without a GC

Safe Rust does not protect against memory/resource leaks when reference cycles are present. To avoid those, tracing GC is still needed - and most likely unavoidable in the general case. Note that avoiding reference cycles is a global concern that can't be localized to any single part of the program, so trying to ensure this statically is roughly as hard as proving that a random piece of C/C++ code does not corrupt memory.

You can of course stick to tree-like allocation patterns where object lifecycles nest cleanly, and that's what the borrow checker is all about. You can also use arenas/regions, and future Rust versions will hopefully make those easier to use.
I think a lot of you are missing the forest for the trees. The fact that Linux is capable of running Windows binaries as well as Windows does is pretty awesome.
Awesome story! Thank you
The thing is, I've never really bumped into that stuff on the Fediverse myself. And it's not something that was super common on communities before social media too. You don't need a huge budget and moderation team to keep a pleasant community, it usually doesn't become an issue until your site/service becomes a massive deal in the first place.
I found the trickiest parts to be DHT concurrency (finally solved this adequately after 5-6 years of experimenting), and efficient block requesting (I've rewritten this every few years, but my latest implementation seems to be solid since 2020 or so). The major thing I've not solved, but also been too lazy to tackle is a peer cache. I just reaannounce when all peers are exhausted and start over.
Not missing, retaining something: the details of jq. Many developers find this difficult for usual and rarely used tools. See also bash.
Lesson learned: the people who make the rules are less appreciative of the well, technically, I worked around the rule but didn't break it skill.
As far as I understand, the issue with Cobol specifically is that the code is riddled with gotos and global variables - and untangling all that mess is the real issue, not converting into Java itself.

Using traditional algorithms you end up with literal exponential complexity very fast. You also need a human's ability to figure out which new abstractions to create - otherwise you will end up with a code that is just as difficult to maintain as the original.
I use it despite a very complete emaxs setup because:

- curiosity

- seeing if I'm missing anything

- haven't had time to get tree sitter stuff configured, and wanted to see how good it is

- see if I want to move back to meow from vanilla (tons of previous vim, evil experience)
Analysis of direct and special assessments not related valuation of land and improvements.
Google, IBM make strides toward quantum computers
Considering I was (unknowingly) very obviously infringing their trademark (X for MySQL was OK, MySQL-X was not), yeah, I felt the whole thing was handled in a good way.
> many attributes are positively correlated.

Most definitely. A relevant example here was income and good teeth.

Controlling for correlations is well beyond a back-of-the-envelope calculation. Even explaining correlations is university level stuff that is hard to explain.

I didn't add many other reasonable restrictions - in same city - finds them attractive - yadda yadda.

Their restrictions were unreasonable - the point of the exercise was to show just how unreasonable.

Fortunately it seems that when we meet someone we like, we turn out to be flexible and our restrictions are weak when faced with reality.
Did a similar thing. I did a cubesat internship at some university (different from where I was), which played a role in getting a master and then an other internship at a lab working on a part of a scientific satellite to study Jupiter's moons (launched in 2023!).

And so on. It's crazy how pushing a series of little things can put you on the right path, especially early on life.
The Principality of Gilaïe