skysight-inc/HackerNews huggingface dataset:
I don't see the callback hell. There aren't callbacks in the code samples I posted (the Rx-like chain is doing things that go well beyond callbacks).

Every UI toolkit has a concept of a UI thread because there has to be a single target for event notifications to be delivered to (keyboard/mouse/window), and they inherently have to be processed in sequence so they can't just be sprayed across multiple threads. However once you go beyond sequential event processing multi-threading becomes possible and as I said, JavaFX is a good example of that. Events like a window resize cause a reflow but then the actual work of generating the rendering commands is handled by a background thread (and architecturally it could be multiple render threads, that was just never done). Loading new UI can also be done on other threads. I think Blink also does some parallel rendering.

BTW, making property writes automatically thread-safe would be a trivial change to JavaFX but it's not really what you want. You need a concept of UI "transactions" to avoid the user seeing a UI that's half way through being modified by code. That's again not something specific to UI toolkits or threads vs async/await. It's inherent to the task. The "synchronizeWithUI" block in my code sample is doing that: you can think of it as committing some writes to the UI database.
But your are going backwards though. You have a sha-256 value and want to find an input with the same result. But this input again has to be a sha-256 result and you need to find an input for that as well, right? This would only work if you have the intermediate sha-256 value, that produces the final sha-256 or you can find a collision that itself is a sha-256 value.
Would you or I or anyone look less flawed if they went for us like that? Why believe ny mag? How would the author of that piece look under similar treatment? What consequences are there if the article is shown to be full of half truths and lies? By my reckoning, none. That makes it a hit piece.

He may be deeply flawed, he may not be at all. I have no opinion on it and lack the necessary information to form one, even if i wanted to.

NY mag’s reputation is the one damaged here in my eyes.
Happens a lot, mostly when US Companies with a majority of their customers in the US make changes without thinking about other countries/ taking them seriously.

Additionally, ToS really don't count for much in the EU, they're usually not enforcable anyway, if there's anything out of the ordinary at all. There's a whole lot of stuff in ToS nobody is ever going to be able to enforce at all.

They probably expected to fly under the radar, without making sure it's even okay everywhere. Well, that's not going to happen I guess.
https://archive.is/Q1nRU
Parasite Rex is an amazing book for this kind of thing.
A function being marked async tells you nothing in particular about the performance of that operation. It could be anything from seconds to milliseconds and routinely is e.g. elliptic curve cryptography operations that are plenty fast enough to execute on a UI thread animating at 60fps are nonetheless marked async on the web, whilst attaching a giant document fragment to the live DOM - which might trigger very intensive rerendering calculations - isn't.

Nothing stops you from starting more threads when you run low in a scenario when there are only threads also. That's how the JVM ForkJoinPool works. If your threads end up all blocked, more are started automatically.
> knees (breastroke or "frog" kick)

Anecdata: My knee consultant specifically banned the breaststroke kick if I go swimming (but then my knee is a disaster area and pending a replacement.)
That's not the problem I pointed out at all.

For a trampoline to have no overhead, you need the call to the trampoline to be changed to a call to the underlying function.

That's not an optimization that can easily happen due to the traditional compilation model.

Even if inlining were to happen, you end up with bloat, and few compilers are able to merge similar code like this (which can only happen at link-time, obviously, since the functions might be in different translation units). This optimization is known as ICF, and is not commonly enabled.

In practice I don't think the inliner takes ICF into consideration when deciding whether to inline anyway, so you just end up calling a function that calls another function.
> Well they'd run into the same problem if the script was Python, wouldn't they?

No, they would just use whatever tool is more appropriate for the job.

Fabric would be fine, ansible would be fine, salt would be fine, putting it on Docker and deploying via compose would be fine. None of these tools force you to learn the implementation details of the application.
Ah I was not aware of this, I guess it makes sense then? They could make this section of the ToS specific to their marketplace/store front products
Similarly there is this: https://github.com/ToNi3141/Rasterix

Would be neat if someone made an FPGA GPU which had a shader pipeline honestly.
If I had a family member who insisted on wearing a headset all the time I’d probably be calling them a glasshole (Vision Pro is so much more obnoxious than Google glass ever was)
Just as a reminder, the former CEO, Dennis Muilenburg, likely responsible for this mess, does have a engineering background:

"He received a bachelor's degree in Aerospace Engineering from Iowa State University, followed by a master's degree in Aeronautics and Astronautics from the University of Washington."

https://en.m.wikipedia.org/wiki/Dennis_Muilenburg

So this alone is apparently not enough.
You just need to set busy_timeout > 0, and you'll basically never have database locked situations. It's just unfortunate, that it's not activated per default: https://sqlite.org/forum/info/7e456bf5544ab128
Why would anyone bother eating out at those US prices? $30 for fast food...
It's depressing how quickly the move has been from thriving Republic to downfall with very little actual Empire in the middle. The Romans at least got to enjoy a couple hundred years of wine, revelry and decadence before things broke down completely.
Qubes creates an amazing feeling of control and confidence, as well as improved organization of my digital life. I tried to list simple advantages of Qubes here: https://forum.qubes-os.org/t/how-to-pitch-qubes-os/4499/15
And Arkanoid had 486, which made me fear this project wouldn't have enough resolution for decent gameplay, yet it works perfectly (for my standards, at least).

I'm not sure why Arkanoid's spinner had so many steps. It can be to allow for pixel-by-pixel movement on its 336 pixel horizontal resolution, but it can also be because the way they were polling the encoder might miss some quadrature steps and they needed the extra resolution to ensure smooth control. Perhaps a combination of the two.
But if you are a one-man show (and you want to keep it that way) you are in no condition to tell what would be the best practice for a team.
I've just answered in a sibling thread.

I'm not asked for ID when I order a drink. The bartender takes a look at my ugly mug and makes the call: I'm [painfully] clearly over 25.

Facebook has more than enough processing power to have an AI watch you reading a script straight to camera for 30 seconds to work out a rough age. If you're within 5 years of their idea of 18, surrender that ID, the same way you would if you were in a bar. Don't want to? Don't maintain a social media account. Don't have that drink.

The alternative is setting up a government-maintained 0Auth-style hand-off. They know who you are. The social media site could open a verification ticket, you authenticate with your government and they sign your ticket without the social media site getting any of your details. The trade-off with that is cost and your government now knows you're on TikTok. For some people that last one matters.

If you paired these laws with strong PII protection (see GDPR) to stop social media sites storing this stuff indefinitely, using your data against you, it might be an easier sell.
Wasabi should give you a lot more storage for almost the same price
I think the more urgent thing is to not use the social security number both as the ultimate secret, and also as a number you must give to hundreds of people.
Have you benchmarked against what some of the SaaS in the freight management category ? For instance Cargowise has a few modules to digitise and reconcile invoices, bills of lading etc .. besides the competition angle I’d also advise you look at it from an integration angle as lots of traders already tools etc
[dupe]

Some more discussion: https://news.ycombinator.com/item?id=39834675
a degree does not help against cheaping out on safety for maximizing profit. Making the head of a company personally responsible might help.
Morts Pour la France: A database of French fatalities of the Great War (2023)
There isn't much that I dislike more then obnoxious control freaks like her. Reminds me of my mother, and a few other women I can't stand for longer then 2 hours.
What rate? 1 a decade? Or longer? When was the last time this happened?
A use case that excludes understanding this feature does not make the feature a bug.
I‘m learning SwiftUI and built myself a no-frills read-later app. The content is extracted on the device, it tracks the reading progress and lets me archive read articles. It can import links via a sharing extension. For the content extraction, I ported the postlight/mercury parser from JS to Swift. It’s easily my second most used app by screen time now, seems like I hit a nerve. I don’t plan to release it publicly.

Some screenshots: https://franz.hamburg/atoms/2024_Feb09_18:30.html
SHA-2, including SHA-256, is constructed using a Davies–Meyer compression function. That compression function starts with a block cipher - so an object like AES, but with wider keys and wider block size. For SHA-2 this block cipher is called SHACAL-2.

Now what we're seeing here is an attack on SHA-2 assuming a very, very significant degradation in SHACAL-2, where we run far fewer rounds than assumed in the standard. This is your typical cryptoanalytical result, interesting, but it is very very far from showing that "SHA-2 is broken".

As a side note I once estimated that the Bitcoin network is likely to produce a collision in SHA-256 sometime in 2050s, assuming the current rate of growth of the hash throughput. Of course that's a big assumption, and also nobody will notice the collision, as nobody is saving all those past hashes :)

Another side note - if you're interested in learning about hash functions then I recommend looking into SHA-3. Not because it's newer and shinier, but because I think it is actually the easiest to understand. It has a very clever design.
I'm talking about the general reality (that you keep ignoring) and pointing out that it's much bigger than the programmer-visible one. For example, the "not many" non-tech users who would notice the broken unescaped underscores is a bigger group than all the programmers given how much bigger the base group is. You're just fine breaking their workflows just because a small group of professionals can't fix their APIs
Cool! I found the hello blog here illuminating to understand the creators intentions: https://www.furygpu.com/blog/hello

As I read it, it's just a fun hobby project for them first and foremost and looks like they're intending to write a whole bunch more about how they built it.

It's certainly an impressive piece of work, in particular as they've got the full stack working, a windows driver implementing a custom graphics API and then quake running on top of that. A shame they've not got some DX/GL support but I can certainly understand why they went the custom API route.

I wonder if they'll open source the design?
Javascript has decent feedback cycle, but pretty bad program state persistence as you reload things, there are some attemps and sometimes Vite is able to do it, but it's a pretty sad state of affairs in general.

The end remarks are more to let the imagination run a little bit free than anything particularly structured, the part about deployment doesnt really exist as it is in most companies, there is a concept of canary deployments, blue green, etc, but not on a running process ala Erlang or Elixir. Still, Im not sure if it is even a good idea since starting from a clean slate is usually good. I need to do more testing around this.

There is no interest in documentation while the process of discovering is going on, because the documentation would be stale as soon as you move on in the discovery process. Its not even a fault of the system, it just doesn't make sense. Once you find a good enough design, then you transition into settling it, documenting it, writing more thorough tests.

About the review process, this is mostly targeted at individuals and teams where there is a certain trust involved. But for knowledge spread that's why I also tackle doing this collaboratively, as I think it could even increase the effectiveness of this approach.

The design was pretty fast done with a template. I'll see if I have time today to test other fonts and see how it improves.

Thanks for taking the time to read
A shitty parser is one that assumes, if I quite a number I want it to be a string.
Wall St masters of the universe should be required to have an engineering background.
> But most languages are pretty bad at supporting this style, some are better.

The first and most important step is having a language without statements and only expressions.

But, as Jai needs a `return` in functions, it already failed the trivial test.

https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md
As someone with small kids (5 and 8), can't say this is a bad thing.

A large majority of content creators that make content for children will do absolutely anything for fame with zero regard to how it affects the people who look up to them.

My kids will then come and regurgitate that stuff to me, and I've had to correct their thought process on things many times at this point.

I think the law should be more granular though. I allow my kids to watch a few types of content:
- People playing with toys (as long as its not obviously promotional)
- Educational videos (draw-with-me, learning videos, etc)
- Play along (sometimes, it depends on the tuber)

I've banned them from watching anything else on youtube at this point.
The primary problem here is that they don't come to me with everything so that I can fix the bad that they learn there.

Some examples: My 8 year old came to me one day and said "let it rain" with the hand motion. I asked her if she knew what it meant, and she said no. I explained it to her, and how it showed disrespect to money. She's been saving her allowance for a while so she understood the concept, luckily. But how many things like this has she learned that she didn't come to me with?

Another example is some song she heard a youtuber singing. It was about making fun of some little boy for having dirty pants or something stupid like that. We sat and had a chat about being kind to people, bullying, and other people's emotions.

Sure, these were good prompts for good parenting, something we might not otherwise have had, but overall I think the outcome of those videos is net negative. There are just too many subtle things that can't be easily corrected that have a large impact on the personalities of the little people we are attempting to raise to be good adults.
> The test subjects willingly modified their CA store, …

I don’t think users knew what they were consenting to. Only a small percentage of the population know what a Certificate Authority is. And also “monitoring traffic” doesn’t carry the weight of “we are going to listen to your private conversations”.
Haha. I can read your comment as a joke, and if spoken in conversation in response, I think it would go down well :)

But since I have a minute, it’s also fun, perhaps, to play around with the idea that you thought "we don't know what we're doing" wasn’t - but it is! - another way of stating the same thing that you say: that we don't understand the consequences of our actions.

It’s interesting, because your rephrasing highlights the nuances of language, and the difference between literal and idiomatic, or perhaps more metaphorical interpretations. And even the differences between languages.

It's likely to be very different in other languages, such as German, or Japanese, perhaps.

But in English, the phrase, “you don't know what you're doing”, is most commonly used to mean: you do not understand the consequences of your actions; These will produce unintended effects, that will likely be different to your intended effects.

In other words, the phrase I used, in English, almost always includes the situation that you describe, rather than the seemingly more literal interpretation of “You are not aware of, nor comprehend the very actions themselves, which you take or plan to take, regarding this thing”.

It is fascinating to flip it around and see that idiomatic phrase through that more literal interpretation, that I’m assuming you made, whether for comic phrasing or not, mind!

And curious to wonder how we came to have one meaning pointed to by the sign for the other.

Although, due to the nuances of language, I can’t even be sure that it is to this more literal interpretation that you in fact are actually referring! It could be an even further far afield interpretation that has eluded me, and all the other commenters here thus far.

The endless Fascinations of language! that’s probably why we rely on idiom. But no disparagement to you for, whether knowingly or not, trying something a little different. Haha! :)
This is not for your typical glue code, or standard algorithms, this is for discovery work, novel programs, library api design, and exploring new systems and ideas. If you are able to take novel greenfield work, map it all out in your head and get to writing, good for you. But I somehow doubt it
Same with Android and Desktop Firefox.

Edit: Haha, no the URL OP provided simply links to that page and not the article.
You have to go back much further, to the late 90's. Because the problems in the industry takes a long time to surface. Muilenburg was a product of the deteriorated culture in Boeing and of course could not do anything but continue along the same path.
TinyMCE (also) moving from MIT to GPL
TinyMCE is switching to a licensing model akin to CKeditor's.
Are you suggesting AI generates images of people with more than 10 fingers because there are too many pictures of people with more than 10 fingers in the input data? That seems unlikely..
The rest of the ageing world would do well to learn some lessons from Japan.

For example, providing ready access to clean public toilets ? Tick.

But also in terms of transport being prepared for the elderly. The Shinkanzen famously only makes brief stops at intermediate stations, sometimes as short as 60 seconds. And yet on multiple occasions now, I've witnessed elderly people in wheelchairs being efficiently onloaded/offloaded from the train well within that 60 second limit.

I'm sure, like all countries, Japan is not perfect. But right now, I think I'm fairly safe in saying they are ahead of the game in elderly care.
Seems as good a place as any to put this question: has anyone had any issues with Litestream?

I've got a more basic backup solution running currently and don't want to put another moving piece in the way of a production service unless it's extremely solid, but I do like the idea.
NIXOS, NIXOS, NIXOS!
> Although I don't support it, would the internet be a better place with people being identified?

I don't believe so.

> For this to be a constructive discussion, can we assume companies have a proper and secure way to validate identities and store your data?

What?! No, we absolutely can't assume that. In fact, good default is to assume that data stored will be eventually compromised with high probability. Assuming otherwise is like believing in some magical backdoors in cryptography that only "good" guys can access and other such nonsense.

> I sometimes wonder if the internet as we know it and social medias pervasive influence would be much different if people were less anonymous.

Social media as we know it today mostly stems from FB which has a real name policy. Don't think FB is much better than others (by any measure that interests me at least).
> I am very bad at planning and visualizing what a program should look before I start writing it

This is what top-down programming is for (though, arguably, a lot easier for 'smaller' projects)
50 years in behavioral conditioning doesn't wear off so fast for the avg consumer.
Well, you don't see CEOs and such that often in R&D or on test assembly line, which are places you would want to be if your dream is to actually do that yourself, rather than just manage finances, board meetings and customer relations for people who do that.

Edit: Though I think it would be good for tech company's head to have good understanding of the tech they are doing.
> If you were a Californian engineer, wouldn’t you speak up?

Let’s ask the latest whistleblower we know about. Wait, he’s no longer alive with a controversial suicide.
Going backwards, as you say, is called a pre-image attack. That's different from a collision attack, which is generating two inputs with the same hash.

Pre-image attacks are MUCH more difficult. How much more? well, MD-5 is considered broken, and yet, there isn't one for it.
> gets to scrape a whole pile of into from it that can be used to track you

I can't help but feel your argument is with data protection [and the broad lack of it in the US] rather than government-held databases.

I have a couple of online government authentication methods. There could easily be an AVS API where a website kicks me off to to my government, and they sign a request for age verification, all with very little cost and fuss. That obviously causes uproar from people who think my government doesn't suspect I touch myself when they're not looking.

And a suggestion I've made in a couple of other sibling threads is having an AI watch you reading a script in realtime. I had to do this for a mortgage application a few years ago. Probably cheaper than a government API, and a high success rate on 25yo+ similar to facial-only checking in bars.
The long time CEO of ASML, probably one of the most successful engineering companies of the last two decades, is an accountant by training. But if you hear him speak it's all about the quality of the product and delivering value to the customer. The CEO of Boeing should have his priorities right and be willing to listen to his engineers instead of maximizing profits by reducing cost. What he did in college is not that important in my opinion.
There are people who are so manipulative and full of hatred that they actually have nobody who is willing to truly grief about their death. My grandma was such a person. I really remember nobody who was fond of her. To the contrary, most people were content that she was finally gone. So please, don't tell others how they are supposed to deal with their peers.
Sorry, I don’t see how that comment answers mine? In my experience it’s impossible to properly block anything that is also available as a web app (which is most of social media apps).
War Clouds over the Indian Horizon?
This is mindblowing.
I found this YT video https://www.youtube.com/watch?v=ovo_T0KqdYg showing the whole life cycle of the jewel wasp.

What impresses me the most is that the wasps are not trained to do that. They appear to "just know" what to do. Wow.
Glad to hear that! The game is only in closed alpha currently because it's not mature yet for a public release.

My current plan is to be ready for a demo within 2025.