skysight-inc/HackerNews huggingface dataset:
(Author here)

> The singled thread async "traditional IO" example is NOT single threaded

The threads backing the single-threaded IO are an implementation detail of fulfilling the `.read().await` calls. The key is that there's a single coordinator thread that's issuing all the work, with the user-space runtime multiplexing tasks on that thread. I thought the fact that the "start a request and come back when it is finished" behaviour happens to be implemented via user-space threads rather than kernel-level epoll (or similar) is unlikely to affect behaviour.

I considered scaling up the number of files and using a multi-threaded runtime, but I felt that'd make everything more complicated without fundamentally changing behaviour.

However, maybe my theory is incorrect, in which case someone else can do their own experiments to provide more concrete information.

(This is referenced in a footnote: https://huonw.github.io/blog/2024/08/async-hazard-mmap/#fn:t... )

> The issue is comparing 8 OS threads no async to 1 thread async is fundamentally not very useful as long as you didn't pin all threads to the same physical core

The point is not to benchmark async vs. non-async, but provide a general reference point for "mmap working well" for comparison. As you suggest you agree with the "minor" issue tag, I don't think the parallelism vs. concurrency distinction matters much here... but again, definitely happy to see some concrete data that suggests otherwise!
I am working on a Bitcoin staking infrastructure, using Bitcoin security to protect other PoS chains.

We proposed and implemented the MVP for OP-Stack rollups (https://bit.ly/op-rfc). The work is based on the idea described in this blog post: https://bit.ly/forkless-rollup.
The country with the sixth highest incarceration rate in the entire world?

The one that routinely imprisons innocent people, lacks a decent public defenders system and still has a death penalty?

Hmm.
Dr Strangelove
Better ones. This is Boeing we are talking about here
It was bound to happen at some point. Is france one of the better or worse places for him to be arrested?
Yeah, I came on a bit aggressive.

A person is allowed to change their mind and delete something, and that decision is none of your business.
Sadly UTC doesn’t work with future timestamps because we don’t know if timezones will be adjusted.
Meanwhile Apple rewrites System Preferences to Settings in a single release ¯\_(ツ)_/¯
>But SQL is an old language with significant design problems, making it difficult to learn, difficult to use, and difficult to extend.

It's difficult to learn and use? Compared to what? The "difficult to extend" might be accurate, but I really question the initial premise here.
(Author here.)

Good point. Do you think the difference will be observable? Will it be observable on an SSD (vs. HDD)?
Show HN: I made KanShareBan – AI-powered, community-driven public Kanban boards
I'm a 14 year old web dev, and I code like a madman.

I made KanShareBan, a platform for creating and sharing public Kanban boards, allowing real-time feedback and collaboration within a community of developers and creators.

I hope this becomes a new way for devs to share what they are working on in real-time.

Share your feedback!

- Om
As guilty as you feel about your use of electricity and hydrocarbons in general. For me that is not at all. If society cared enough about climate change it would impose a carbon tax, but it doesn't, so instead we get mandates that don't reduce overall emissions.
So what happens if someone makes a robot that has a small chance of murdering any given passerby? No human involved in the specific act, thereby no crime?
that's the real answer.
I just reprioritzed my remaining 300 or so tickets for my chess variant AI sandbox game https://www.chesscraft.ca

I recently released a major update involving presigned s3 urls, and typically after a big update I pick my favorite issues (always fun) for the next big update while I go bug hunting. Sometimes I feel like this project is code therapy where, unlike at work, I get to do everything the right way and/or my way.

I've also just started strength training at a gym for the first time which is already helping enormously with my neck and back pain.
Simple mermaid like tool to do animations visualizing algorithms etc. All enclosed in html web component player (no coding needed).

https://dot-and-box.github.io/dot-and-box/
I have to cut up a downed tree limb in my yard, make birthday invitations for my daughter, and get a job.
Physical therapy for chronic problems I didn't prioritize when I was younger, writing a sci-fi novel, and learning Vulkan.
I'm trying a productized service model for devops (pylonops.com) and working on a community platform for moms with my wife (no URL yet, but soon!)
1/270 is the total risk from all causes. Just the risk from micrometeoroids would be (at most) 1/270 - 1/500, which is roughly 1/587 (0.17%).
My comment came on a bit strong so I'm sorry for that.
Firefox scores well because it uses a copyleft license and the ability to relicense contributions remains with the original authors. Mozilla can't unilaterally relicense the Firefox code base as they haven't been granted that ability by the contributors. The copyleft license means they can't slap a new license on top (like a permissive license allows).

The rating criteria was designed to consider legal facators, like license terms and CLA, so concerns like Mozilla buying an ad company aren't factored in. Those concerns feel more subjective to me, but are certainly valid.

https://alexsci.com/relicensing-monitor/projects/firefox/
I've been working on an iOS app called snapmail: lets you take any photo on your phone, filter / sticker it, and send it as a 4x6 postcard anywhere in the U.S. for $2.99. Fun way to stay in touch with friends & fam. One of a few no-account-needed, single use iOS apps I've been working on.

TestFlight for now - try it out here: https://testflight.apple.com/join/wKY4eYV8
Working on a SaaS that associates a person/company and their tech stack with psychology profiles. The intent is to better connect job seekers with companies.

In short, if you want a person with Language A experience, but Language B is close enough, my software will provide the signal that the candidate is good enough for a closer look.

Example: PHP and Go devs are likely to have similar approaches to how software should be built. Ruby and Go, perhaps not so much.

There’s more nuance to it, but this is the idea.
Yeah, of course a synchronous call that might block the thread is blocking, I agree... but, if I didn't have the context of "we're in a comment thread about a blog post about mmap", I'm pretty sure I wouldn't flag `x[i]` on `x: &[u8]` (or any other access) as a synchronous call that is worth worrying about.

Hence the discussion of subtlety in https://huonw.github.io/blog/2024/08/async-hazard-mmap/#at-a...

It's obvious when pointed out, but I don't think it's obvious without the context of "there's an mmap nearby".

(Author here, this behaviour wasn't surprising to me, but felt subtle enough to be worth investigating, and get some concrete data.)
Well after looking, there aren't any good reliable sources for an easy number. But comparing what state data I could find, it seems like 12 years and 200k mileage is the median.

So I maintain my original statement. 8 years and 150k miles for a car that is sold as a simpler (mechanically) and more reliable because of that mechanical simplicity is kind of crappy.
Do you mean uploading a design as a png and figuring out the code? I hope to do that at some point.
U2 was Skunkworks, they started with an existing airframe (F-104?) and worked from there. Significant compromises, for example the wings droop so much they skid on the ground on landing and it's use was limited by the improved anti-aircraft missiles that became available around the same time.
I see deeply ominous connections between generations of American children who have been educated in a manner which produces alarming rates of functional illiteracy[0] and the widespread popularity of machine learning models that produce nonsense which resembles plausible text if you skim or don't actually read it.

[0] https://www.apmreports.org/episode/2019/08/22/whats-wrong-ho...
thomassmith65 (https://news.ycombinator.com/user?id=thomassmith65) wrote:

> Of course he is complicit. I imagine most people in tech would argue the good outweighs the bad, but to provide E2EE without any backdoor is to turn a blind eye to the horrendous things for which some people will use it.

> There has been a constant in the tech community, since forever, of stupid idealism. For example, I remember the apoplexy when Napster had to stop facilitating mass piracy. Yeah, what a head-scratcher that was. And now the tech community has convinced itself that E2EE without a backdoor is some viable. Your neighbors won't consider the overall harms worth the benefits, and neither will their governments.

PGP is more than 30 years old. What do you mean by "now the tech community has convinced itself that E2EE without a backdoor is some viable"? What is "now"?
Thank you for saying what I couldn't figure out how to say. That's exactly it.
I'm working on a serialization format, somewhat based on apache arrow but row-based. Includes end to end typescript type safety, and significantly faster than JSON in serialization and deserialization. Seems to do fairly well in the native version I threw together, but more of a javascript/typescript operation for now.

https://github.com/csjh/pest
It's not really possible to get rid of them in C++ however, given a staggering amount of legacy APIs that require them. Constantly converting every time you have to call a system API with your string is even worse.
Also the novels of the era feel fresh in a way that can’t be reproduced on top of 150 years more novels. Not that there’s nothing new under the sun, but that the new things are harder to reach, both for the reader and for the writer.
> when Musk advocates for a minimalist approach to moderation it suddenly becomes “fascist”

There has been nothing minimalist in Musk's moderation, he's been banning people on twitter all along. His whole free speech thing turned out to apply only to speech he likes and ban the rest.
I've always loved What Dreams May Come and felt similarly about The Fountain. Do you have any other recommendations?
I can sorta understand that, but both a thesaurus and an LLM when used as tools to enhance and extend your own knowledge and skill can totally be a good thing. The problem is that many try to use such things as a substitute / replacement for their own knowledge and skill, to do the actual human creative work part for them. That's where the real fault lies; Not in the tools themselves, but in the user mis-using the tools.

Also, not sure why the prior comment was gettin' down-voted. I'm just tryin' to be encouraging here. If this guy has an idea and wants to write, I'm just sayin' "go ahead and do it then". Why not? Even if nobody ever reads it, if you enjoy writing it, then something was gained.
God's light is overrated.
Almost finished a short story I started writing about a year ago. It is about SEO.

Edit: Two from prior published here: https://github.com/jaronilan/stories
I was thinking of doing something like this. My first idea was the parent manages a sort of simulator (farming, civ, city, idk) and the child is a little chaos agent that wrecks havoc.

But you might get the reverse, parent frustrated kid bored
huh? I was not suggesting that France is collaborating with Russia lol. sorry for facts getting in your way. Russia already has plenty of blood on its hands from kidnapping thousands of Ukrainian children and raping others.
I don't understand your cynicism here. Should people/businesses not try new things?
Is not aviation, space-flight, etc. part of "tech"? While you can always over-do processes, you can also under-do them as well (I don't think I need to list examples here, just look at the news...). Having the processes also be able to adapt to different needs and requirements is part of having good processes.
Preposterous accusations! It's like arresting a CEO of a phone manufacturing company because phones are sometimes used for nefarious activities.
I built a midi controller. Rather, I repurposed a Teensy-based virtual analogue synth I made ages back that never worked quite right. I had taken the amp/speaker out to use somewhere else, and it was just sitting in a box. I realized I could just use the Control Surface library (https://github.com/tttapa/Control-Surface) and change it to a midi controller in no time flat, so I did. Now just need to get some time to use it to play with VCV Rack.
On the contrary, it is willfully ignoring science that is ghoulish. Most people don't have the moral fortitude to fast even if they wanted to, so fasting is never going to get incorporated into any "protocol".
Obviously subjective, but Lambda seems more cost efficient than EC2. And really gives cloud vibes.
A LLM based bot for information literacy. The idea is that it can analyze text and images to help folks understand if they should believe stuff they find on the internet. And what they need to know to understand the subject.

https://info-sleuth.com/
Thank you for taking the time to give me this feedback, really appreciate it. I think Devlog has the information needed to help answer these questions, but right now it doesn't do a particularly good job of making that easy.

> I question, if my team had poor/nonexistent PRs in the past, when would I be able to get any use out of it, and would there always be blindspots around code that didn't have a good PR.

This is a great question and the answer is that with poor/nonexistent PRs and documentation, Devlog cannot help you other than by incentivizing you to do a better job so that it can be useful — so not that helpful. I'd love to find a way to make it better in this kind of "cold start" case, that's part of why I appreciate your feedback about other potential uses. Thank you again.
I quit my job in the spring to work on UI design software where designers visually build real component and design system implementations, and engineers can collaborate by editing the code.

The goal is to eliminate the massive chasm that exists in design-to-engineering hand-off by having a single source of truth.
(Author here)

Thank you, you've expressed one of my goals with doing this sort of investigation/getting this data far better than I have. :)

It's something that's feels obvious once the dots are connected, but I was pretty sure many people wouldn't connect these dots automatically.
I like this idea. I'm guessing that it might be trying to learn math from proofs? or from first principles? I'm trying to figure out how could I find where to learn math in this way?
I have a Samsung Galaxy S6 that is still on Android 7 so I can still use the GearVR headset.

I think work still has a carton or two of actual cardboard boxes with plastic lenses that you shove any random phone into, from when we were doing VR meeting stuff back at the beginning of Covid.
Been having a great time watching this. Thanks for sharing.
I’m in Minnesota, so mainly targeting panfish, bass, and pike. Salmon when I can get away for the run. I do fish them, but I’m only now getting to the point that my crank/swim/glide baits act right. Hand carving right now, but may try to start making molds next.

Engineered Angler Lures is another YouTube creator worth checking out.

Also, I try not to be precious about them. Give them away to friends. Don’t stress if they break off. Just make another one.
Because drivers and other hardware related software have the ability to add things like tab pages to the Control Panel dialogs. All of those would need to be rewritten to work with the new Settings interface, and with over 30 years of drivers, that’s just not going to happen.
Yeah, I need that too. I was able to get a therapy appointment in October. My last boss at Rent-Seeking Publisher screwed me over past the degree of "people used to duel over things like this". Also other shit.
Yes, exactly. Sounds good. Will be following along.
Primer is what you want.
They must have patched it, upstream wget doesn't do it.
Have you seen the medical offices in Scottsdale?
It’s amazing, isn’t it? These same people complain how everything is broken and that the solution is to double down on it. It’s such a sad state of affairs that the corruption is actively supported by people and they want to feed it more and make it bigger.
Only have a screenshot to show at the moment, but I'm working on an accessible color palette creator tool for web/UI design:

https://x.com/seanw_org/status/1815442179361317022

There's lots of tools in this space, but the key features of this is it lets you easily check the contrast of any color pair (not just against white, so you can check e.g. your text colors will contrast on off-white shades), it's for creating a full palette of colors vs a handful of brand colors (you always end up needing lighter/darker variants for things like borders and backgrounds), and you can alter how the hue/saturation/lightness varies across a whole swatch of colors with a few clicks (being able to visualise these curves also makes picking new colors really easy).

Feel free to reach out if you think this might be useful to you!
Tons of journalists too. Isn't it where most of the news from ukraine war are sourced?
Yes, it couldn't not block, it's obvious... but I've encountered non-trivial amounts of "magical thinking" around both async/await ("go-fast juice") and mmap ("go-fast juice") separately, so the intersection surely has a bunch of magical thinking too, where people haven't taken the time to properly think through what's going on.

Hence, my investigation to try to make the "obvious" conclusion obvious to more people.

(Author here)
A price comparison tool for solar panels and batteries
> Most of the time, workers and managers are smart, well-meaning, and hard-working.

This has not been true at any job I’ve had, from working in fast food as a teenager to now being a data scientist. What you describe would be exceptional in almost any company, where things otherwise regress to the mean of these various aspects, or, in especially bad circumstances, go south of that. Boeing would seem to be in the latter category at this point.
Much worse than other modern aircraft, but there’s many with worse track records globally. The DC-8 and 707 where still in use at the time (https://simpleflying.com/douglas-dc-8-active-2022/) and had worse track records, as did the 720 which just retired. Going back to Concord which retired in the early 2000’s and was far worse. Go back further and the prop aircraft were crazy dangerous.

Again it should be compared to modern aircraft, but this just shows how far we’ve come that the bar has moved this far.
> Direct involvement with scams? You got to be kidding me. This guy is worth 15 billion USD, he does need to do anything.

I have no knowledge about this and make no assumptions about whether or not he is involved in any kind of financial misconduct - but there are many cases of very rich people doing risky and illegal things to further grow their wealth, despite already having more than enough money.
Could you illustrate a likely scenario that's in your mind?
Good point, even worse.
the trick is realizing that in a large company, the engineer time is already wasted on the goals of clueless leadership that will change before completion anyway, and then using the RCA to regain a bit of control over your roadmap (as a low level manager)
But as Thomas points out, this is almost certainly not a problem you should actually care about.

If the user of your new Shiny Goat service used the password "ShinyGoat" then all the memory hard KDF shenanigans in the world won't help, attackers will guess "ShinyGoat", and that's correct, they're in.

If another user chose a 32 random alphanumerics then it doesn't matter if you just dropped in PBKDF2 with whatever default settings because the attackers couldn't guess 32 random alphanumerics no matter what.

The KDF comes into the picture only for users who've chosen aggressively mediocre passwords. Not so easy attackers will definitely guess them, not so hard that it's impossible. Users who insist their "password" must be a single English word, or who insist on memorizing their passwords and so nothing longer than six characters is acceptable. That sort of thing. The attackers can guess these passwords, but they need a lot of guesses so the KDF can make it impractical.

That's just not a plausible scenario for a real world attack and therefore it should not be a focus for your attention. You should use a real KDF, but PBKDF2 is fine for this purpose, any time you spend arguing about which KDF to use or implementing a different KDF, rather than solving actual defects in your system's security is a bad trade.
It's unlikely that EU has the capacity to install backdoors and to monitor them. Maybe a few individual states can sort-of do that, but not all, and most likely not brussels.
There was an... interesting reddit thread 3 hours before the announcement leaking the decision. I'll just let you enjoy the thread yourself:

https://www.reddit.com/r/wallstreetbets/comments/1f062o0/boe...

OR

https://old.reddit.com/r/wallstreetbets/comments/1f062o0/boe...
heh, I'm sad it doesn't parse its own source in the tests ... or maybe it does <https://github.com/nikic/PHP-Parser/blob/v5.1.0/test/bootstr...>, who knows (joking but not joking)
If you're doing this as a business, you should consider how you think this is different from e.g. Figma (for designers/PMs) or Framer (for design-implemented-as-actual-usable-component-on-a-low-code-site). What you're describing sounds very similar to Figma's developer mode, at least framed the way you frame it here. Is the idea that, say, the design files are loaded as CSS or React components or whatever directly into your site, rather than being copied or imported?

(If this is just a personal project, disregard! But "quit my job" makes me think you're thinking of this as a business.)
there was some commentary on the previous submission in 2012: https://news.ycombinator.com/item?id=3621035
A concentric semi-sphere structure, made of the least sides, so as to farm a parking spot.
TRON Project
[dupe] Discussion: https://news.ycombinator.com/item?id=41298522
Not bad! Could do with a layout option so the relations are easier to see.

The OG of DB table designers is the SQL Server database diagrams feature, and before that MS Access, and there is still room for improvement in this tool. Obviously saving changes back to your db (and migration scripts) is the most important feature, git tracking of schema changes would be good.
As the author, I don't think there's a clear definition of "blocking" in this space, other some vibes about an async task not switching back to the executor for too long, for some context-dependent definition of "too long".

It's all fuzzy and my understanding is that what one use-case considers being blocked for too long might be fine for another. For instance, a web server trying to juggle many requests might use async/await for performance and find 0.1ms of blocking too much, vs. a local app that uses async/await for its programming model might be fine with 10ms of "blocking"!

https://tokio.rs/blog/2020-04-preemption#a-note-on-blocking discusses this in more detail.
Percentage of US Deaths from Covid vs. Flu
I still get motion sick after a while when watching someone else play an FPS. If I'm playing myself there is no problem. I can also get motion sick as a passenger in a car, but have no issue driving.