MurphyA/hacker-news huggingface dataset:
by estebank | 2025-05-07 15:19:59+00:00
For things like this I find that ? still works well enough, but I tend to write code like

match x(y) { Ok(None) => "not found".into(), Ok(Some(x)) => x, Err(e) => handle_error(e), }

Because of pattern matching, I often also have one arm for specific errors to handle them specifically in the same way as the ok branches above.
by atomicnumber3 | 2025-05-07 15:20:01+00:00
That's my 2c. I've used it only twice in the past several years:

- one when I had the flu recently and was literally, non-hyperbolically barely well enough to operate the app enough to get food (for my family, too - not for me)

- once when i was out of town on business, and my previously-arranged food for my family back home fell through one day.

All your points are why I don't use it: it's already barely food (fast food), arrives cold, delivery issues, and EXTREMELY expensive. And in an era where, despite multiple raises, due to inflation I am STILL not making more CPI-adjusted income than I was in 2019, I'm not about to be lifestyle creeping for shitty cold wendy's.
by Telemakhos | 2025-05-07 15:20:08+00:00
> Art that can’t even try to offend is barely art.

I do not believe that offense is a necessary or sufficient component of art. If I raise my middle finger at someone, that is not art, but rather offense. If I view Botticelli's Primavera, I'm looking at art, and I detect no intent to offend, nor do I take offense.

There is certainly room for offense within art: the iambic poetry of Archilochus and Hipponax manages to blend aesthetic beauty with ardent invective. But I do not think that art needs or is defined by offense. Offense is accidental to art as a concept.
by sapiogram | 2025-05-07 15:20:11+00:00
This comment is incorrect, I have tried the editor on both MacOS and Linux, and texts looks like crap on both if you're using your screen at its native resolution. The difference is easily visible in screenshots.

Example Zed screenshot, using "Ayu Light": https://i.ibb.co/Nr8SjvR/Screenshot-from-2024-07-28-13-11-10...

Same code in VS Code: https://i.ibb.co/YZfPXvZ/Screenshot-from-2024-07-28-13-13-41...
by Maxatar | 2025-05-07 15:20:34+00:00
It's as easy as building the project in the first place. Anytime you build your application you also build the object files for it as well.

As an end user having to take those object files and relink them can be difficult for sure, but that's not something the distributor has to do. The distributor simply has to provide some additional files that their build process will already produce.
by pierrec | 2025-05-07 15:21:06+00:00
Representing undo/redo history as a tree is quite different from representing the code structure as a tree. On the one hand I'm surprised no one seems to care that a response has nothing to do with the question... on the other hand, these AI tooling threads are always full of people talking right past each other and being very excited about it, so I guess it fits.
by jenadine | 2025-05-07 15:21:10+00:00
> I can't wait until GPUI becomes a bit more mature/stable so I can build on top of it

I wouldn’t hold my breath. GPUI is built specifically for Zed. It is in its monorepo without separate releases and lots of breaking changes all the time. It is pretty tailored to making a text editor rather than being a reusable GUI framework.
by martin_a | 2025-05-07 15:22:05+00:00
Regarding EVs: That's already implemented that way. Once EVs start braking more than "expected from roll resistance" the braking lights come on.

I think there were also bugs on some Hyundais where they wouldn't stop or start or whatever, but I think that was sorted. With my Skoda I can see the braking lights go on when I change a higher regeneration step.
by bell-cot | 2025-05-07 15:22:12+00:00
Seems like "evaporate" is the wrong term for something that's already a gas cloud. "Dissipate", maybe?

Could a gas cloud only be dangerous (to us) if it is starting to condense, and forming denser regions?

EDIT: The actual paper says "photoevaporate"; Wikipedia explains: "Photoevaporation is the process where energetic radiation ionises gas and causes it to disperse away from the ionising source. The term is typically used in an astrophysical context where ultraviolet radiation from hot stars acts on clouds of material such as molecular clouds, protoplanetary disks, or planetary atmospheres."
by naikrovek | 2025-05-07 15:22:20+00:00
this is the correct takeaway, in my opinion.

game developers must consider things that people like enterprise developers never concern themselves with, like latency and performance.

these days, at least where I work, everything is dominated by network latency. no matter what you do in your application logic, network latency will always dominate response time. with games, there is no latency unless you are writing a multiplayer server, and there are many ways to solve that, some better than others.

playing a single player factorio game, having huge factories on five planets, robots flying around doing things for you, dozens of ships flying between planets destroying asteroids and picking up the rocks they leave behind, hundreds of thousands of inserters picking up items and putting them onto or removing them from conveyor belts, and updating the status of everything in real time at 60 frames a second kinda hints at what computers can do today if you keep performance a primary concern. corporate developers never have to think about anything even approaching this.

i'm convinced that 2-4 experienced game developers could replace at least 20 traditional business software developers at any business in the US, and probably 50 enterprise software developers anywhere. They aren't 5x-10x as expensive, either. Experienced game developers simply operate on another level than most of us.
by ipsento606 | 2025-05-07 15:22:35+00:00
> It just doesn't seem to work with everyone

Without a very precise definition of "work", these discussions quickly degrade to near uselessness.

There is a very large difference between "telling patients to exercise more and eat less doesn't result in long term weight loss" and "exercising more and eating less doesn't result in long term weight loss"

The former is true, and the latter is not.

I agree that from a clinical perspective the former definition is more relevant than the latter.
by anotheryou | 2025-05-07 15:23:01+00:00
Well to be fair finger drumming can, but does not have to be purpuseful communication.

You can drum your fingers because you are bored, not to signal to the outside that you are bored. Strictly speaking me picking up on your boredness because you drum your fingers makes it communication anyways I think :).

A better example would be waving at someone, communicating "hello / look at me / I see you / here / I'm happy to see you / goodbye"
by sapiogram | 2025-05-07 15:23:24+00:00
Thank you, I bring this up in every Zed thread on the internet, hopefully the devs will eventually fix it. Until they do, Zed is simply unusable on regular-DPI displays, at least in light mode. See these screenshots:

Example Zed screenshot, using "Ayu Light": https://i.ibb.co/Nr8SjvR/Screenshot-from-2024-07-28-13-11-10...

Same code in VS Code: https://i.ibb.co/YZfPXvZ/Screenshot-from-2024-07-28-13-13-41...
by andoando | 2025-05-07 15:23:35+00:00
I wonder how much of that is education.

Most people also don't seem to know that weight loss is simply Calories in - calories out, what their BMR is, how to track calories. Most people, even educated people, still seem to believe things like they have slow metabolism, that herbal teas can help, doing situps will reduce belly fat, and number of dumb shit the market tries to sell.

As a nation were just far too focused on $$$, and instead of focusing on fixing the root of the issue, were only incentivized to bandage the problem with producing more things that will make $$$. Sell shit food, people get fat, sell crap products for weigh loss, drugs, surgery, etc
by extr | 2025-05-07 15:24:13+00:00
If you live in a metro area it's really not like that. Prices are higher but my credit card gives me free Uber One, so fees + tip are managable. Plus Uber/Postmates offer (at least for me) extremely aggressive coupons pretty often, 20-40% off. Food arrives in 20-40 minutes. Don't order things that don't travel well (eg: fried food). Order enough that you'll have leftovers and can amortize the delivery cost over multiple meals.

We probably order delivery at least once a week. Usually a big batch of indian, chinese, a ton of tacos/rice/beans, etc. Stuff that keeps well. Then we'll have it for at least 2 meals each. I don't feel like it's that ridiculous honestly.
by palmotea | 2025-05-07 15:24:19+00:00
You're right. However, you must be gaslit and your true observations called into question, to protect the aura of the advertising industry and belief in the algoritms.

All of these algorithms are insanely effective. Thousands of smart people smarter than you made them, how could they not work? If they don't work on you, you're an outlier, they work on everyone else. They work on you, but you just don't realize it. All of these algorithms are insanely effective. Thousands of smart people smarter than you made them, how could they not work? If they don't work on you, you're an outlier, they work on everyone else. They work on you, but you just don't realize it. All of these algorithms are insanely effective. Thousands of smart people smarter than you made them, how could they not work? If they don't work on you, you're an outlier, they work on everyone else. They work on you, but you just don't realize it.
by egorfine | 2025-05-07 15:24:37+00:00
> BiomeJS started its life as a fork of the now-defunct Rome project

Looking at the pace of frontend development tooling I cannot help but loose trust and confidence with every step and every new release. Major ecosystem player decides to break all previous compatibility with the vast infrastructure accumulated over the years [1]; the main officially recommended linter released under a major brand goes silently abandoned [2]; etc, etc. I didn't even knew Rome died.

A wise queen once said, "it takes all the running you can do, to keep in the same place" [3]. She meant frontend web development.

[1] https://eslint.org/blog/2023/10/flat-config-rollout-plans/

[2] https://github.com/airbnb/javascript/issues/2961

[3] https://en.wikipedia.org/wiki/Red_Queen%27s_race
by colechristensen | 2025-05-07 15:25:25+00:00
Nobody is going to acquire JetBrains at a crazy premium to remove a competitor or to stay a competitor themselves. OpenAI/Microsoft/Google/Meta will.

The valuations are based on trillionish dollar companies fighting over startups.

Honestly it's a little odd JetBrains doesn't seem to be chasing this fad much at all.
by ParacelsusOfEgg | 2025-05-07 15:25:37+00:00
I think there might be some confusion by commenters in this thread about selling blood in the US.

Blood can be separated out into its plasma, red blood cells, and platelets by an apheresis machine. The machine cycles the unused components back into the donar so only one component is donated.

Blood plasma (~55% by volume), the amber colored water and disolved proteins, can be sold. Red blood cells (~44% by volume), and platelets (~1% by volume) can NOT be sold in the US by donars.

Most blood drives that you'd experience at school or in the workplace takes whole blood (so there is no need for the apheresis machine) which is more exhausting than if just one of the components was taken.

Source: an O+ blood donar with 50+ pints donated.
by taurath | 2025-05-07 15:26:04+00:00
It very interesting because vagus nerve theory has been seen as unproven and is often cast upon with doubt as we don’t understand the underlying mechanism - a lot of PTSD treatments are along those lines.

I think they just don’t work universally/don’t understand the myriad pathways of presentation and are bad at predicting them - IE PTSD is a set of symptoms but we try to see it as a set of causes). There’s a big problem with “evidence based” because many fall into the cracks.

An implant is quite a thing though - looking at the wiki for VNS it seems to be seen as effective for a whole array of things, but without understanding why.
by the__alchemist | 2025-05-07 15:26:42+00:00
Reply to the child

> So with infinite resources it would be best to write everything from scratch?

Re-read the parent and the other replies: A critical point you are missing is your interlocutor's practical mindset in contrast to your idealistic one. This is about making engineering-mindset tradeoffs; they vary depending on the specific scenario. The answer to your Reductio ad absurdum is yes, but I believe that side tracks rather than elucidates.
Show HN: eInk optimized manga with Kindle Comic Converter (+Kobo/ReMarkable)
by seam_carver | 2025-05-07 15:26:43+00:00
Kindle Comic Converter optimizes comics and manga for eink readers like Kindle, Kobo, ReMarkable, and more. Pages display in fullscreen without margins, with proper fixed layout support. Its main feature is various optional image processing steps to look good on eink screens, which have different requirements than normal LCD screens. It also does filesize optimization by downscaling to your specific device's screen resolution, which can improve performance on underpowered ereaders. Supported input formats include folders/CBZ/CBR/PDF of JPG/PNG files and more. Supported output formats include MOBI/AZW3, EPUB, KEPUB, and CBZ.

Hey everyone! I'm the current maintainer of KCC since 2023, thanks for using it! I’ve been reading manga on Kindle ever since I got the big 9.7” Kindle DX from 2010 using mangle, and upgraded to the even bigger 10.2” Kindle Scribe 2022 using KCC.

The biggest contributions I've made to KCC are:

- added modern macOS support and removed homebrew requirement - ported code to run on native Apple silicon M1 chip and later for a 2x speed boost (qt5->qt6) - free open source windows codesign with SignPath - fixed Kindle Scribe support - and tons of other various features and bug fixes and developer friendly changes - created a legacy Windows 7 build with 300+ downloads…

The biggest community PRs were:

- huge 2x speed boosts due to various CPU/IO optimizations - Kobo/Remarkable support

Enjoy using KCC and let me know if you have any questions!
by LocalH | 2025-05-07 15:26:52+00:00
Idea for a "challenge mode" on top of that, since this would probably be too hard for casual play:

A series of levels where you are given a score at the beginning. You must find the path around the map that brings your score exactly to zero, using reverse Pac-Man scoring rules (each dot you lay reduces your score by 10, etc). If you reach zero with more dots to lay, or finish laying down all dots without reaching zero, you die (as those would also be invalid states).

Recording input for these challenge runs would be a cool idea too, as you could have the option to watch the run "forwards" for further entertainment. To lessen the difficulty a little bit, the player could even have access to the "forward" version of a run that completes the desired score target (with appropriate bonuses for players who don't utilize the "hint" run).
by whalesalad | 2025-05-07 15:26:55+00:00
I actually think it is lame when engine braking activates the brake light. There are two distinct behaviors: slowing down gently, with engine braking, and slowing down intensely with physical brake application. When I am engine braking like going down a long hill I do not want to flag the drivers behind me that I am braking ... I just want to use the compression of the engine to regulate my speed. Anyone who lives in a mountainous area will tell you this. Seeing solid brake lights going down the hill is a red flag / skill issue. Some manufacturers have begun to add artificial brake lights during engine braking though and I find it disingenuous.
by matheusmoreira | 2025-05-07 15:27:28+00:00
You're acting like they're gonna go out of business if they can't get their little statistics. Come on now.

There is absolutely no need for me to "prove" anything to anyone. No need whatsoever. It is my computer, and I have decided. It's as simple as that.

Why? Because I don't want it to happen. That's all there is to it. Couldn't care less what their motivations are. Couldn't care less how "justified" they are. I simply do not want data of any kind to be compiled and exfiltrated to anyone for any reason whatsoever, unless I explicitly command my computer to it.
by cs702 | 2025-05-07 15:27:52+00:00
I read the article. Those kids are definitely learning how to think, just not in the way educators wish. One of the girls quoted said she loves writing, but finds it helpful to get structure and initial content from generative AI. The kid at Columbia has already launched two startups. Clever kids always figure out how to leverage the tools they have at hand.

With the advent of new technology, humanity has no choice but to move up the value chain -- in this case, from executing tasks to judging, supervising, and curating AI work.
by getnormality | 2025-05-07 15:28:35+00:00
I think the difference between us here is, I don't think current LLMs are well-suited to actually help people learn. In my assessment, they lack the bedrock understanding of the material to resolve student confusion, and their understanding of student needs is very poor. It's probably not impossible to learn from them, but I think they strongly encourage shortcuts that only give the impression of learning.

I do hope this changes. LLMs are of course an amazing technology, but sometimes being amazing isn't enough to actually solve human problems.
by hyperpape | 2025-05-07 15:28:42+00:00
I think the distinction is that if you write a test that reproduces the bug, that's a binary signal and doesn't by itself tell you anything about why the bug is happening.

In contrast, if you write tests that rule out particular causes of a bug you're incrementally narrowing down the potential causes of the bug. So each test gives you information that helps you solve the bug, without directly stepping through the code.

Unfortunately, I don't think the post is a great primer on the subject.
by kitlop | 2025-05-07 15:28:46+00:00
Please enjoy my small, fully self-hosted podcast about diy'ing everything myself. Show notes:

(00:00) What is included in the episode, and what will be released as part of episode 8 later this month. Revised description of what Linux Prepper is.

(04:50) [Ameridroid](https://ameridroid.com/?ref=podcast) Sponsor - [Home Assistant Green](https://ameridroid.com/products/home-assistant-green?ref=pod...) - [Home Assistant Green w/ Skyconnect Zigbee & Matter Controller](https://ameridroid.com/products/home-assistant-green?ref=pod...) - [Skyconnect Zigbee & Matter Controller](https://ameridroid.com/products/skyconnect?ref=podcast)

Use LINUXPREPPER coupon.

(06:22) Trivia Challenges at Linuxfest Northwest - [Saturday Winners](https://discuss.james.network/public/d/31-saturday-winners-o...) - [Sunday Winners](https://discuss.james.network/public/d/32-sunday-winners-of-...) - [Linux Unplugged 612](https://www.jupiterbroadcasting.com/show/linux-unplugged/612...), around 7 minutes in.

(17:26) On tabling at my first conference.

Gratitude for meeting so many people and having this shared experience together! Ways to support me, especially in sharing the episodes to social media or with friends that would find this interesting!

Thank you to those who are donating to support the show! - [Paypal](https://www.paypal.com/paypalme/jamesdotnetwork)

(24:45) [Tahoe LAFS](https://tahoe-lafs.org/trac/tahoe-lafs)

Decentralized object storage - [Request to mirror federated storage locally in Nextcloud server](https://github.com/nextcloud/server/issues/8459) - [Join our attempt to self-host Tahoe for a year!](https://discuss.james.network/public/d/33-join-our-attempt-t...) - Is it worth hosting decentralized services for others? - Is storing encrypted data for other people not worth it? - Have you hosted distributed tools between yourself and other people's servers? Did it succeed? Fail?

(45:54) [Alby Hub](https://github.com/getAlby/hub) Fundraising to register a Self-hosted node.

Thank you to those supporting the show on [Podcasting 2.0 clients](https://podcasting2.org/apps). - [Direct Donation link](https://getalby.com/p/sunjam) - [See related forum post](https://discuss.james.network/public/d/34-fundraising-podcas...)

(47:20) [Sequoia Fabrica Makerspace](https://sequoiafabrica.org/)

- [See related forum post](https://discuss.james.network/public/d/37-sequoia-fabrica-ma...) - [Wiki for Sequoia Fabrica](https://wiki.sequoiafabrica.org/wiki/Main_Page) - [Networking layout of the space](https://wiki.sequoiafabrica.org/wiki/Network) - [How to Host Events](https://wiki.sequoiafabrica.org/wiki/Events_Hosting) - [FAQ](https://sequoiafabrica.org/docs/faq) - [Noisebridge Hackerspace](https://www.noisebridge.net/wiki/Noisebridge) - [Spacebridge launches since 2024](https://www.noisebridge.net/wiki/Spacebridge:_The_Next_Gener...)

- [Noisebridge's infrastructure Ansible](https://github.com/noisebridge/infrastructure) - [List of International Hackerspaces in your Area](https://wiki.hackerspaces.org/List_of_Hackerspaces).
by JohnDeHope | 2025-05-07 15:29:08+00:00
I can't tell if you're aiming for a faithful reproduction of the original font, or to make the coding font modern and most useful to today's developer. But... Can the code variant have the asterisk used to represent multiplication be on the same line as other math operators like plus, minus, and tilde? +-~* I always like the asterisk to be in line with the others. Maybe I am just weird. Also for the code variant I think the pound or hash mark # could be reduced in drama a little, to fit in with the other punctuation marks. Thanks for listening to my two cents.
by PaulHoule | 2025-05-07 15:29:25+00:00
I have been using AI assistants to help with a project that uses MUI for React. We're using a version of MUI that is a few versions old. It is hugely helpful at figuring out what kind of sx to put on an element or what to put in a theme to get things to look right. It makes mistakes, but if you tell it what you see in the F12 tools, read the manual and think a bit, it does pretty well.

It loves to use deprecated APIs, for instance there are a lot of props that you aren't supposed to use anymore and you're supposed to use the "slots" prop instead. It's not hard to change the code and you could probably ask them to do it, but it's the kind of problem I run into.

With SQLAlchemy I find assistants cannot make up their mind what version of SQLAlchemy they are generating code for. Between talking to my assistants and reading the manual I understand a lot about what changed in different versions, but what I really want is to have it look at my POM/packages.json/pyproject.toml and always give me advice for the versions I am using.

This isn't just an LLM problem, one of the "product ideas I don't have time to work on" in my file is a search engine for programmers that indexes the documentation for the actual versions of all your dependencies, so you are not stuck with Google's brain damaged behavior of returning results from random JDK versions. For instance, "String Javadoc" returns results for JDK 8 and JDK 11 (end of life!),

https://www.google.com/search?client=firefox-b-1-e&channel=e...

whereas a lot of us are developing to JDK 21.
by bombcar | 2025-05-07 15:29:41+00:00
I'd actually be willing to take that bet against the inference. Here's my logic:

The only places that sell individual beers are convenience stores

Some of them are driven too, sure, but lots are also in city areas

Even so, people who only have a few bucks drive to the store where they can buy the beer, and drive home and drink it

If these were common cases, cops would lay in wait and nab them for open container.