MurphyA/hacker-news huggingface dataset:
by airstrike | 2025-05-07 16:00:55+00:00
there are literally dozens of examples, including many apps you can reference. come join the discord and check out the showcase channel. I've written and published probably 50-100 examples to show best practices to people who want to learn more. I basically leave zero questions unanswered on that server, unless they are so far out of my wheelhouse that I can't answer them, but even then I might point you to the right resource or person...and I'm not even part of the team. the community is just wonderful IMHO

> sure, and how's that going for them? there are near zero tutorials out there, and as someone looking to build a desktop tool in rust, they've lost me. maybe i'm not important enough for them and their primary goal is to intellectually gatekeep this tool from the vast majority for a long time, in which case, mission accomplished

26.5k stars on github and a flourishing community of users, which grows noticeably larger every day. new features basically every week. bug fixes sometimes fixed in literal minutes.

it's not a matter of gatekeeping, but a matter of resources. iced is basically the brainchild of a single developer (plus core team members who tackle some bits and pieces of the codebase but not frequently), who already has a day time job and is doing this for free. would you rather him write documentation—which you and I could very well write—or keep adding features so the library can get to 1.0?

I encourage you to look for evidence that invalidates your biases, as I'm confident you'll find it. and you might just love the library and the community. I promise you a warm welcome when you join us on discord ;-)

here are a few examples of bigger apps you can reference:

https://github.com/squidowl/halloy

https://github.com/hecrj/icebreaker

https://github.com/hecrj/holodeck

and my smaller-scale examples (I'm afraid my own big app is proprietary):

https://github.com/airstrike/iced_receipts a simple app showing how to manage multiple screens for CRUD-like flows

https://github.com/airstrike/pathfinder/ a simple app showing how to draw on a canvas

https://github.com/airstrike/iced_openai a barebones app showing how to make async requests

https://github.com/airstrike/tabular a somewhat complex custom widget example
by Someone | 2025-05-07 16:01:00+00:00
So, they’re contradicting themselves, saying both (https://blog.jetbrains.com/clion/2025/05/clion-is-now-free-f...)

“With the new non-commercial license type, you can enjoy a full-featured IDE that is identical to its paid version. The only difference is in the Code With Me feature – you get Code With Me Community with your free license.”

and (https://blog.jetbrains.com/clion/2025/05/clion-is-now-free-f...)

“We appreciate that this might not be convenient for everyone, but there is unfortunately no way to opt out of sending anonymized statistics to JetBrains under the terms of the Toolbox agreement for non-commercial use. The only way to opt out is by switching to either a paid subscription or one of the complimentary options mentioned here.”

Also, if they find that unfortunate, why did they make the product do that?
by danielmarkbruce | 2025-05-07 16:01:47+00:00
Many employment contracts have equity components to them. As for "giving away what you produce" - no, you are agreeing to trade it for cash, not give it away. You basically imply that anyone trading work for cash is being exploited.

A capitalist system would collapse without workers, without capital, without a decent legal system.

Many people do work as one man businesses. It does change the nature of the relationship because the economy isn't a one way river. There are all manner of feedback looks - you mine copper, I buy your copper, make some electrical component, sell it to the manufacturer of a Komatsu, they make mining trucks, sell it to you. It all goes round and round.
by abirch | 2025-05-07 16:01:54+00:00
I've lost a significant amount of weight using the Obesity Code: https://www.doctorjasonfung.com/the-obesity-code it focuses on increasing our insulin sensitivity and reducing the overall levels of insulin in our bodies.

He focuses on not counting calories but instead focusing on eating real food (no processed stuff and avoiding sugar). He uses the the example of 100 calories of sugar does not impact our body the same as 100 calories of olive oil. This is a prime example of the McNamara Fallacy.

Here's a video here: https://www.youtube.com/watch?v=OgmFEb0b0TI

I'm a fan of weightloss in general, be it ozympic style or not; however, if you can do it naturally it's more cost effective. Dr Fung focuses on when you eat (intermittent fasting) and what you eat (avoid processed foods)
by Starlevel004 | 2025-05-07 16:02:41+00:00
> Not because Rust is doing anything wrong here, but because the first well-known language to really get some of these things right also happens to be a fairly low-level systems language with manual memory management.

It also has half implementations of all the useful features (no distinct enum variant types, traits only half-exist) because you have to code to the second, hidden language that it actually compiles to.
by tzs | 2025-05-07 16:02:48+00:00
> Please correct me if I am wrong here

Will do! :-) The good news is that what you got wrong is something that probably 99% of people get wrong about *GPLv3: the scope of the Tivoization clause.

The Tivoization clause was written quite narrowly to stop what Tivo was doing, which was selling a device with a locked down OS that includes *GPLv3 software. It applies if and only if:

1. the software is conveyed in a "User Product", and

2. that conveyance occurs as part of a transaction in which the right of possession and use of that product is transferred to the recipient.

A "User Product" is defined as 'either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling'.

For the Nintendo Switch it means that Nintendo cannot include any *GPLv3 software in the Switch itself or in anything that comes with the Switch when you buy it.

Add on software that you obtain and install later, including software sold by Nintendo through their online store or on physical media, is not covered by the Tivoization clause. As far as the Tivoization clauses goes there is no problem with Unity including *GPLv3 code for any locked down platforms they use and for any developers who use Unity to write games for those platforms.

Where there might be a problem is with other parts of *GPLv3. For example when software is distributed through app stores such as Apple's or Nintendo's and you buy that software it is Apple or Nintendo that is making and distributing the copy that you download. That's fine because they have permission from the copyright owner.

But to use that app store you usually have to agree to a TOS that prohibits things like redistributing and reverse engineering. That violates *GPLv3. If the owner of the copyright owns the copyright on all the code they used they can grant Apple or Nintendo a license that allows the distribution.

If they have included some third party *GPL library in the app or game and the third party has not granted such a license to the store owner then that app or game cannot be distributed on that store.
by beloch | 2025-05-07 16:03:01+00:00
Motorcycle fatality rates have been trending upwards, not downwards[1]. Brake lights on helmets may illuminate one of the culprits: An ever increasing number of American trucks with poor visibility. Sitting on a bike, you're even shorter than a pedestrian and more likely to be completely out of sight. Perhaps its time to start regulating for better visibility, as Europe has done.

[1]https://www.iii.org/fact-statistic/facts-statistics-motorcyc...
by bilbo0s | 2025-05-07 16:03:14+00:00
Sorry. Not buying it. Wayyy too many places to get money these days. It’s a multipolar world.

Again, no matter how important you think you are, you’ll need to do a whole lot more than dangle carrots to get that level of influence nowadays. There’s just too many power players for small nations to not play one against the other.
by nu11ptr | 2025-05-07 16:03:37+00:00
Is this new async. I/O feature for Linux only?

I know Windows has IOCP and also now an IORing implementation of its own (Less familiar with macOS capabilities other than POSIX AIO).

https://learn.microsoft.com/en-us/windows/win32/api/ioringap...

Update: Most of the comments below seem to be missing the fact that Windows now also has an IORing implementation, as I mentioned above. Comparison article here:

https://windows-internals.com/ioring-vs-io_uring-a-compariso...
by bumby | 2025-05-07 16:03:59+00:00
There’s an argument that treating students as “customers” has led to all kinds of bad outcomes. One example is it creates an incentive to invest in all kinds of fancy infrastructure (fancy halls/dorms and even lazy rivers) because that is how they attract more “customers” but this ultimately becomes a huge driver of educational costs. The same can be said for watered down courses etc.
by justin66 | 2025-05-07 16:04:38+00:00
These are good comments and there's a lot more that could be said.

> As an aside, that absolutely bizarre security council meeting is virtually indistinguishable from the North Korea-style Trump administration meetings that we now see weekly, where it's a circle of embarrassingly laughable platitudes and servitudes by a cowed and pathetic administration.

To be fair there was a lot of this during the first Trump administration, only moreso near the end when plenty of the cabinet secretaries weren't real secretaries, just "acting" secretaries of various sorts. It's just that now they're all operating on that level.
by SpicyLemonZest | 2025-05-07 16:04:38+00:00
https://www.bmj.com/content/349/bmj.g7257 is one analysis of oxygen/CO2 exchange being a major component of weight loss. As the authors say, it's really a question of chemistry; the CO2 you metabolize from your fat has to go somewhere.

To be clear, I think your instinctive reaction is correct. It would be extremely silly for someone to read this analysis and conclude that they'll lose weight if they learn some special breathing technique to maximize CO2 output. The point is that "calories in - calories out" as a diet strategy is the same kind of error.
by cstrahan | 2025-05-07 16:04:40+00:00
Figured I'd provide the old version of those examples from above in the thread.

Here are the NEW sentences again, for convenience:

"Notably, Gigabyte has seemingly updated the 13-year-old B75M-D3H motherboard to support booting from NVMe SSDs, like M.2 SSDs, a previously unavailable functionality."

"An analysis of the F16f firmware using UEFITool reveals the inclusion of the NVMe DXE trifecta (Nvme, NvmeSmm, NVMEINT13), which is essential for booting from NVMe drives, like M.2."

"The motherboard features one SATA III and five SATA II connectors for storage, explaining its initial lack of support for booting from NVMe drives. Nonetheless, users can employ M.2 to PCIe adapters, allowing M.2 drives to connect with the motherboard via its expansion ports."

And here are the OLD:

"Notably, Gigabyte has seemingly updated the 13-year-old B75M-D3H motherboard to support booting from M.2 NVMe SSDs, a previously unavailable functionality."

"An analysis of the F16f firmware using UEFITool reveals the inclusion of the NVMe DXE trifecta (Nvme, NvmeSmm, NVMEINT13), which is essential for booting from M.2 drives."

"The motherboard features one SATA III and five SATA II connectors for storage, explaining its initial lack of support for booting from M.2 drives."
by niux | 2025-05-07 16:04:50+00:00
I recently deployed Postgres on a dedicated Hetzner EX-44 server (20 cores, 64GB RAM, 2x 512GB NVMe SSDs in RAID 1) for €39/month. The price-to-performance ratio is exceptional, providing enterprise-level capacity at a fraction of typical cloud costs.

For security, I implemented TailScale which adds only ~5ms of latency while completely eliminating public network exposure - a worthwhile tradeoff for the significant security benefits.

My optimization approach includes:

- Workload-specific configuration generated via PGTune (https://pgtune.leopard.in.ua/)

- Real-time performance monitoring with PgHero for identifying bottlenecks

- Automated VACUUM ANALYZE operations scheduled via pgcron targeting write-heavy tables, which prevents performance degradation and helps me sleep soundly

- A custom CLI utility I built for ZSTD-compressed backups that achieves impressive compression ratios while maintaining high throughput, with automatic S3 uploading: https://github.com/overflowy/pgbackup

This setup has been remarkably stable and performant, handling our workloads with substantial headroom for growth.
by ninetyninenine | 2025-05-07 16:05:28+00:00
Of course any tool that makes a job easier means that less people are needed to do the same job. If demand doesn’t change the supply will naturally shrink.

So hypothetically 1 man can cut wood but it takes him 2 days to do a big job. With a power saw it takes him half a day so his output on this section of the job is amplified by 4x. Any tool that makes his life more trivial increases his output and therefore increases the supply of the product without touching demand. With an over supply the system will naturally lower in supply by replacing carpenters.

This happens for anything and any tool that makes someone’s occupation easier. You have to think in aggregate. It may be the increase is imperceptible as it only increases the efficiency of a worker by 1 percent which is nothing but in aggregate that translates to a 1 percent reduction in the work force. Of course reality is more complicated than that but I hope the example shows you what I’m saying.

And it gets even more complicated than this too because increasing supply can also increase demand because the product becomes cheaper. Or demand may have already been astronomically high so the increase in supply only meets the demand.

In general if the product is in equilibrium of supply and demand and you increase the efficiency of the worker producing the supply then you will reduce worker population because the job doesn’t pay well enough anymore and people leave or less people join. The system slowly comes back to equilibrium or it can oscillate back and forth between over supply and undersupply as it’s basically a control system. This is what’s been happening with software for the past 3 decades.

The idea that the power saw didn’t replace a carpenter is flat out wrong. The story is much more complicated than that but the reality is that in general it did replace some carpenters just like how vibe coding for sure is replacing some software engineers.
by krastanov | 2025-05-07 16:05:37+00:00
I have native 1440p 120Hz on my main screen which is more than 30inches across (ultrawide). I can see pixels if I look close enough, but I do not see any pixels at usual reading distance.

I have used retina displays of various sizes -- but after a while I just set them down to half their resolution usually (i.e. I do not use the 200% scaling from the OS, rather set them to be 1440p (or lower on 13inch laptops)). I have not seen an advantage to retina displays.
by e40 | 2025-05-07 16:05:52+00:00
It is purely anecdotal but I read a post here years ago about someone that had a 10 year battle with Lyme disease, had gone through rounds of antibiotics and it always came back. He finally heard that maybe long fasts (2 weeks) might help, tried it and his symptoms went away. Just mentioning it because it seems relevant. I always thought should it happen to me, I would give a 2 week fast a try, under a doctor's supervision.
by JumpCrisscross | 2025-05-07 16:05:54+00:00
> Most people also don't seem to know that weight loss is simply Calories in - calories out

It is a problem of education. For example, in reading the common research that shows basal metabolism, which you can’t control, will rapidly undo most of your conscious gains from caloric balance manipulation. And that in those with severe metabolic syndrome, the body will reduce BM to starvation levels before giving up a single fat cell.
by krastanov | 2025-05-07 16:06:32+00:00
(cross-posting on both subthreads): I have native 1440p 120Hz on my main screen which is more than 30inches across (ultrawide). I can see pixels if I look close enough, but I do not see any pixels at usual reading distance.

I have used retina displays of various sizes -- but after a while I just set them down to half their resolution usually (i.e. I do not use the 200% scaling from the OS, rather set them to be 1440p (or lower on 13inch laptops)). I have not seen an advantage to retina displays.
by Lord_Zero | 2025-05-07 16:06:57+00:00
This is more proof of what I am saying. The urge to have something "nicely isolated" really needs to come with a checklist of why you need this, otherwise this comes off as a developer's desire for cleanliness regardless of major drawbacks.

Running some `DELETE FROM x WHERE TenantId = 1` is not a huge deal.

And yes I see your point about new patterns, but were talking about multi-tenancy not some new AI thing.

Ss someone with decades of experience I have found that if I go to implement [insert common pattern] and there is 0 libraries one way and 20 libraries the other way I need to check myself and determine if I am swimming against the current for little upside.
by yial | 2025-05-07 16:06:59+00:00
I drove a manual with a 4.6l v8 as my daily driver for 8-10 years.

After taking a motorcycle safety course (in which they teach applying the brake to trigger the lights when engine braking to alert cars behind you )

I did some anecdotal testing / started triggering the brake lights when engine braking in the car. While not effective for everyone behind me, triggering the brake lights did seem to increase the distance people began to slow at, and also their following distance increased.

I was once rear ended, while I was completely stopped, with a train going by in front of me. Since it was a flat level surface I had let me foot off the brake.

I do wonder if I had still had the brake applied if the person would have noticed. (However, this is a poor example as the driver who rear ended me was an unlicensed 16 year old driving illegally ).

While on my motorcycle, I try to always trigger my brake lights. I will trigger them rapidly in scenarios where I have sufficient stopping distance but I would be doing a more aggressive stop in a car as the flashing does seem to get more attention.
by dcow | 2025-05-07 16:07:04+00:00
I use both Zed and JB. The thing with the jetbrains stuff is (1) it costs money and (2) you only need the fancy refactoring features occasionally. With modern LSP you can “find usages” and “goto definition” and you get live symbol completion and documentation in Zed just as naturally as JB. Zed covers 98% of your editing needs. A proper Debugger would be awesome, I use JB for debugging every time.
by damnesian | 2025-05-07 16:07:24+00:00
This is why it is vitally important to provide a rich, varied educational experience.

If it is possible to pass a course using AI, it's partially the student's fault. But it is just as much the EDUCATOR's fault.

get these students into groups. Make them spontaneously interact. Use gamification principles. Count these interactions in grading. Prove you have internalized this material.

individual attention and personalized instruction were a vital part of my own education (college in the 80s and 90s). There are a thousand excuses why schools think they can't provide it. It often reduces to budget shortfalls. But this can be done with existing tools and personnel. It's more a matter of teaching more engagingly, more creatively.
by Oras | 2025-05-07 16:08:29+00:00
> Our vision at Meanwhile is to build the world's largest life insurer as measured by customer count, annual premiums sold, and total assets under management. We aim to serve a billion people, using digital money to reach policyholders and automation/AI to serve them profitably. We plan to do with 100 people what Allianz and others do with 100,000.

So 3 years at McKinsey taught OP the corporate BS. That paragraph doesn't say anything useful.
by throw10920 | 2025-05-07 16:09:25+00:00
Article is interesting on the whole (I have no experience with "professional" work, and would love for suggestions as to how to be more familiar), but I latched onto this nugget:

> Our vision at Meanwhile is to build the world's largest life insurer as measured by customer count, annual premiums sold, and total assets under management. We aim to serve a billion people, using digital money to reach policyholders and automation/AI to serve them profitably. We plan to do with 100 people what Allianz and others do with 100,000.

Completely separate from the potential ethical issues and economic implications of putting 100k people out of a job, I see one very concrete moral problem:

that the only way to provide dispute resolution and customer service to 1B people with only 100 employees is by depriving them of any chance to interact with a human, and forcing all interaction with the company to go through AI.

That, to me, is deeply disturbing, and very very difficult to justify.
by ghaff | 2025-05-07 16:09:35+00:00
When I worked downtown a number of years back a lunch special in Chinatown was about $6 and a nice break in the middle of the day. Not sure there was even a microwave in the office. Another company did have a lunch room but there were a number of good soup and/or sandwich places within a few minutes walk. Meals in any case were pretty similar to what I’d make at home and maybe a few dollars more expensive.
by yial | 2025-05-07 16:09:49+00:00
I’ve found this to be true of most cars- where you can very lightly touch the brake where the light will turn on before the actual brakes engage / engage in a noticeable way. It’s a great tool.

Especially important when engine braking down large hills, as I notice people don’t always seem to realize how rapidly they are approaching you if they don’t receive a braking signal.
by ivell | 2025-05-07 16:10:24+00:00
>>Also! Not how diplomacy works! A fundamental fact about international relations is it’s anarchic. If your model of international relations requires trust for diplomacy, you’ve fundamentally missed how geopolitics works.

Actually trust is a significant factor in geopolitical setup. This is why NATO was stable for a long time and Trump's statements are read as a threat to NATO.

Many nations trust the signed agreements are kept. If those are not followed, then there is no point in signing those agreements.

If there is no trust, then there will be military build up to manage the risks. The fact that this does not happen to western countries is due to high degree of trust among them (France will not attack Germany tomorrow).

>>Look at the history of France and Germany negotiating territory exchanges, including under duress.

Significantly different economy, society and government. Hard to negotiate when the whole existence of the government depends on anti-India stance, when the economy is dependent upon aid from IMF, and high levels of illiteracy and radicalization (e.g. https://en.wikipedia.org/wiki/Islamization_in_Pakistan)
by lutusp | 2025-05-07 16:10:27+00:00
"Perfect Random [sic] Floating-Point Numbers" ???

I had hoped that, somewhere in the article, the author would say, "In this article, the term 'random' is shorthand for 'pseudorandom'." But no.

Programming students might read the article and come away with the idea that a deterministic algorithm can generate random numbers.

This is like the sometimes-heard claim that "Our new error-detecting algorithm discovers whether a submitted program contains errors that might make it stop." Same problem -- wrong as written, but no qualifiers.