MurphyA/hacker-news huggingface dataset:
by dragonwriter | 2025-07-14 15:16:11+00:00
> These models look fantastic, we've finally got something solid in the public sphere that goes beyond stable diffusion style word vomit for prompting.

Stable diffusion models later than 1.x do that, even, e.g., SDXL finetunes that are heavily trained on supporting controlled vocabulary tags for precision support (and benefit from) natural language prompting; and many of the newer “open” models (many of which are a better approximation of open than Flux) even use the same text encoder as Flux (and some use LLMs like Llama).

BFL is really good at promotion, though; it would be nice if open models with sinilar functionality like Omnigen2 got a fraction of the attention non-open Kontext gets.
by Aurornis | 2025-07-14 15:16:14+00:00
> You add a lot of complexity for marginal gains. Peak time you get maybe 500W which doesn't go very far.

The complexity should not be overlooked. The PV panels add a lot of things that can fail: An additional layer that must be adhered or fastened the roof. Transparent panel covers that can become damaged in ways that aren’t as easy to repair as a rock chip in paint. Extra wiring that runs into the vehicle. A charging regulator. Systems to monitor that it’s all working and give the appropriate diagnostic codes if it fails.

Having worked on a lot of older and newer cars when I was younger, I’ve come to appreciate a degree of simplicity in vehicles. Modern electronics and vehicle systems are more reliable, but when the number of motors, sensors, and functions in a car goes up by 10X with all of the new features, a lot of little things start to fail in annoying ways as cars age out.

With solar I imagine old car owners would just ignore the system when it stopped working, but you’re still hauling all of that extra weight around for the lifetime of the car. That extra weight subtracts from your efficiency.
by 65 | 2025-07-14 15:16:16+00:00
Building software quickly seems to mostly come from having enough examples of code you've already built that you can pull from.

I recently re-made my web based notes app. Before working on this project I made a web based S3 file manager (e.g. CRUD operations in my own UI).

Instead of trying to store notes in a database or something, I just yoinked the S3 file manager code and store my notes in S3. Just a few tweaks to the UI and a few more features and now I have a notes app.
by unethical_ban | 2025-07-14 15:17:22+00:00
I notice something similar in GrapheneOS. I have Play Services installed, but have never installed Google Maps.

When I click on a Google Maps link, I get asked by the OS if I want to open it using an app from the store (GMaps). I say no, go to google.com/maps and then get asked if I want to use the app or "Keep using Web". And of course at each stage, it could remember my choice, but it does not.

Bing's mobile UI is highly annoying, covering half the map by default with "recommendations". I still use it rather than Google whenever possible. Though I do use Waze when driving.
by simonw | 2025-07-14 15:17:25+00:00
Adrian and I co-created Django while I was working at LJW in a "year in industry" program from my UK university - which got me a student visa, so you could call it an "internship" but it was paid and 11 months long.

Jacob joined shortly before I left, then Adrian and Jacob turned Django from a closed-source newspaper CMS project into open source Django. I think they deserve way more credit for the framework than I do, they made it open source and were co-BDFLs for the next decade of development.

I'll still take the co-creator credit though, because Adrian and I designed, built and sometimes even pair-programmed the core of the framework - request/response objects, view functions, template system - together during my year at the LJW.

If you're interested in more details I told a bunch of the story in this talk: https://simonwillison.net/2025/Jul/13/django-birthday/ - and more in this Fireside Chat interview at PyCon AU: https://www.youtube.com/watch?v=1E_UqhFmJQs
by Aurornis | 2025-07-14 15:17:58+00:00
> Electrical engineers in 2025 have so many little power drains that any car left undriven for a few months has a dead battery.

Interestingly enough, the quiescent current drain of my 2020s era vehicle is lower than either of my past 2000s era vehicles when I measured it.

The phenomenon of batteries being drained after a few months of being left unattended is not new.
by lucideer | 2025-07-14 15:18:06+00:00
> This happens even if you don't have Chrome/Google installed, so they take you to the App Store instead of opening the webpage.

Curious which Android flavour this is on. I'm running stock Android & I've found:

1. Chrome app can be set to "Disabled", but cannot be entirely uninstalled

2. When modifying any system settings that involve choosing defaults from a list of apps that could include Chrome, Chrome still appears (despite being "Disabled") & if chosen for that action opens up Chrome surprisingly fast & is magically suddenly no longer "Disabled".

On the contrary, I have not had the issue you describe with Google apps (I mainly use Gmail & Maps & both always open Firefox for me with no reversions). I also have an iPhone (for work) & Apple's complete disregard for browser defaults for links opened from most apps (including 3rd-party) drives me insane. Slack opens in Firefox but most other apps give me a popup with only Safari & (ironically) Chrome as options - clicking Chrome brings me to the App Store.
by gosub100 | 2025-07-14 15:18:42+00:00
There is an incredible amount of waste in the US government (both state and federal), almost by design. Departments get fixed budgets for the year. If they don't spend it, their budget for the next year is reduced by that amount. This obviously leads to all kind of perverse incentives to waste resources.

The second factor is politics. The progressive party in the US is trying so hard to be the "good guy" vs Big Bad Trump. Much of this is manufactured outrage, expertly crafted to win elections. ( However, some of it is true. There's some quote out there that the best lies have some grain of truth in them).

So when any conservative actor makes an effort to reign in egregious waste, the opposing party uses their best tactic: claiming victimhood. It's never the waste that is reigned in, no. The cuts always go directly to the most disparaged, "under-served" weakest segment of whatever population they can apply it to. In fact, this party doesn't even acknowledge that there is gov waste at all, or that any of it is borne by the taxpayers, thanks to MMT.

tl;dr there are incredibly wealthy political factions that want Trump out. Any move he makes will be amplified and mischaracterized to maximize outrage and retaliation. You cannot trust the media anymore, sadly.
by almostgotcaught | 2025-07-14 15:19:01+00:00
> inject logical parameters to a segment of code is to use function parameters. You can have a complicated DI framework that involves Java class annotations and megabytes of XML, but that’s not the central idea.

so the central idea of dependency injection, a concept with a wiki of like 5000 words [1], is just pass parameters to functions...?

i guess i'm happy to accept that (i personally DGAF about DI or whatever) but it certainly means that all the people discussing DI (like yourself) are peddling snake oil...?

[1] https://en.wikipedia.org/wiki/Dependency_injection
by GuinansEyebrows | 2025-07-14 15:19:21+00:00
> Japan doesn't really do counterculture.

i dunno. some of the most influential d-beat/crust bands of all time are from japan (d-clone, disclose, gauze, gallhammer, gism, death side... that's barely scratching the surface of bands that are/were actively countercultural).

it may not always take the same form, but anywhere you find big cities, you'll find some form of countercultural punk movement because the economy is big enough to support people at the fringes (even if you just work as a bartender or whatever).
by Aurornis | 2025-07-14 15:20:31+00:00
Top Gear, one of the most popular car shows of all time, was responsible for a lot of this. They spent years spreading myths about electric cars being worse for the environment and doing things like filming fake segments where they were pushing an EV claiming the battery had died.

They did come around in later years, changing their tune to be more pro-EV. A lot of the damage was done, though.
by satvikpendem | 2025-07-14 15:21:02+00:00
Sure, but I don't believe they do disagree though, as I stated in my initial comment that it's generally only those on HN who disagree, a vocal minority. The article shows how regular people don't care, they find it even better service than normal to be catered to. So if that's the case, by your logic, we should agree that it is appropriate, right?
by jauntywundrkind | 2025-07-14 15:21:42+00:00
Absolutely murderous results.

And the open source situation promises only better and better. Work in Mesa 25.2 is improving the next gen geometry, enabling much better culling for example. https://www.phoronix.com/news/AMD-Better-NGG-Mesa-25.2

And a recent organizational shift; the Radeon software folks are leaving behind their proprietary stack & will be working purely on the open source stack. https://www.phoronix.com/news/Radeon-Software-Drop-Prop-GL-V...

It'd be neat to have a comparison like this that has some stats or resources consumption graphs. How many of these wins are CPU, GPU, or other would be interesting to get a pulse on.

Info on the Legion Go S: specs on the Ryzen Z2 Go APU here are overall very similar to the Steam Deck's custom apu; 4 Zen3+ cores, 12CU RDNA2 iGPU (a 680m). A (Windows based) test shows a perhaps double digit % lead for the Z2 Go. I'm a huge fan of there being a second USB port, enabling simultaneously charging and display. Notably has a 32GB ram model. Base: $650 (on sale for $500 recently). https://www.notebookcheck.net/AMD-Ryzen-Z2-Go-Processor-Benc... https://www.pcmag.com/comparisons/lenovo-legion-go-s-vs-valv...
by MarkusQ | 2025-07-14 15:23:21+00:00
At some point I expect they'll discover that it can't be detected in the presence of skeptics. At least, that's the usual trajectory. I'm all for any sort of planetary science missions, but this seems more faith than logic driven. For example:

“There are no known chemical processes for the production of either ammonia or phosphine, so the only way to know for sure what is responsible for them is to go there.”

This is untrue on multiple levels. There certainly are known chemical processes for producing both, ammonia is fairly common (e.g. huge clouds of it on the gas giants). Plus it still seems likely that what they detected was SO₂[1] which is also quite common and expected; if the problem with your discovery is in the interpretation of the measurement, confirming the measurement doesn't change that.

In any case, I'd lay long odds that "going there" doesn't resolve the issue any more than debating it here has.

[1] https://www.washington.edu/news/2021/01/27/phosphine-venus-s...
by potato3732842 | 2025-07-14 15:23:36+00:00
Float chargers do fairly frequently kill batteries by evaporating the fluid over time. It's like the difference between a battery being dead in a month or two of non-use vs 3-6 on a conventional float. It's hard to get the charge current just right. By contrast a charger that's voltage naturally decreases in proportion with what the battery is willing to suck up and tapers its charging and turns off overnight has the effect of more or less just "topping off" the battery without boiling much/any of the fluid. If you don't have a parasitic draw in excess of what the solar charger can make up for a battery is likely to be good for 6+mo without being touched. I can go 6mo on cars and other stuff that has digital electronics that draw a little bit and I can go 12+ for heavy equipment that has a hard cutoff switch.
by xattt | 2025-07-14 15:23:37+00:00
Can you talk about people who discontinue for GI side-effects? I understand they are present for a short duration, but have heard anectdata that they persist for months for some people.

Have you observed persistent GI side-effects in your own practice, and if so, do you believe these are legitimate? Or… are they a social cover for individuals to get back to eating for psychological coping?
by gpderetta | 2025-07-14 15:23:47+00:00
yes, preserve_none would be exactly what I want, except that I also want to avoid the call instruction in the final asm stream: as the call would not be paired with a ret, the call stack predictor will always mispredict it on every context switch, while an an indirect jmp has a much better chance to be predicted when two coroutines call each other in a tight loop (consider generators for example).

Ideally I think that a ctx_t* __builtin_context_switch(ctx_t* to) would need to be provided by the compiler.

Re thread_local, I believe at least MSVC has (had?) a fiber-safe flag that would handle thread_locals correctly by not caching addresses across function calls.
by bhattisatish | 2025-07-14 15:24:23+00:00
I definitely like something that is long. I am an avid reader of SF/Fantasy series. In TV series I prefer Noir style, ...

You definitely have asked some interesting questions. What I am looking for is something I can enjoy :-) and not something that I missed out on It's been a stressful period for me personally for last few quarters, and I am trying to figure a way to wind down but that which keeps me engaged in some form. Something I can do in the weekends. Reading or Streaming is not cutting it right now.

Thanks for the reco, I will try exploring few of these titles.

As for headset I have DT 990 pro, Sennheiser BT (I don't recall which one), so I guess I am set there.

Similarly for monitor, though I don't have 120hz, but I have a 32inch setup, which I hope will be sufficient for now :-)

On the controller, I will consider your recos.

I guess the strategy for now will be:

- Download few titles recommended in this thread, especially if they have a trial / demo option. Play them. See if I vibe with them.

- Get a controller.

- Figure out my taste, and start exploring similar genres. Also keep some time aside for exploring other genres and titles.

- Rinse and repeat :-)

Thanks for the recos.
by thechao | 2025-07-14 15:24:34+00:00
I like to have my lexers operate on `FILE*`, rather than string-views. This has some real-world performance implications (not good ones); but, it does mean I can operate on streams. If the user has a c-string, the string can be easily wrapped by `funopen()` or `fopencookie()` to provide a `FILE*` adapter layer. (Most of my lexers include one of these, out-of-the-box.)

Everything else, I stole from Bob Nystrom: I keep a local copy of the token's string in the token, aka, `char word[64]`. I try to minimize "decision making" during lexing. Really, at the consumption point we're only interested in an extremely small number of things: (1) does the lexeme start with a letter or a number?; (2) is it whitespace, and is that whitespace a new line?; or, (3) does it look like an operator?

The only place where I've ever considered goto-threading was in keyword identification. However, if your language keeps keywords to ≤ 8 bytes, you can just bake the keywords into `uint64_t`'s and compare against those values. You can do a crapload of 64b compares/ns.

The next level up (parsing) is slow enough to eat & memoize the decision making of the lexer; and, materially, it doesn't complicate the parser. (In fact: there's a lot of decision making that happens in the parser that'd have to be replicated in the lexer, otherwise.)

The result, overall, is you can have a pretty general-purpose lexer that you can reuse for a any old C-ish language, and tune to your heart's content, without needing a custom rewrite, each time.
by Tijdreiziger | 2025-07-14 15:25:17+00:00
The Netherlands actually explicitly set aside spectrum in the 4G auctions to be auctioned off to new market entrants (besides the established T-Mobile, Vodafone, and KPN), leading to the entry of Tele2 (until then an MVNO) and Ziggo/UPC (until then cable ISPs and MVNOs) into the market.

However, a few years down the line, Tele2 ended up in a merger with T-Mobile (now Odido), and Ziggo/UPC/Vodafone went through mergers to end up as VodafoneZiggo.
by uri_merhav | 2025-07-14 15:25:40+00:00
Very cool demo.

But isn't the point of an app being able to maintain a sharable worldview and state?

This "improvised just for you" sounds like a natural fit for a text adventure for example, but I'm still grappling with how this might apply to a real life use case.

One can conceivably imagine imagine LLMs one day transforming states for sharing on-the-fly as well, but it does sound very fragile.
by general1726 | 2025-07-14 15:26:07+00:00
> The idea that Ukraine has done such serious damage that it "denied" the black sea fleet the ability to operate is errs more on the side of shovel-flavored cope rather than trenchant analysis, however.

You are ignoring the fact, that Russian Black Sea Fleet is not based in Sevastopol anymore, but in Novorossiysk, which is on eastern part of Black Sea. They have essentially vacated half of the Black Sea.

https://www.wsj.com/world/russia-withdraws-black-sea-fleet-v...
by nojonestownpls | 2025-07-14 15:26:34+00:00
There has always been a significant section of the US public that's anti-science, and would have posed a strong obstruction to funding any of the space achievements of the 20th century - if not for the fact that the Soviet Union demonstrated space supremacy first. Because of that, space research and technology was made palatable to this demographic by making it a "let's show them commies" thing.

The momentum from that kept things going for a while after the Soviet Union fell, but the inertia has been running out and anti-science sentiment has been raising to the surface in its full form again. The sad truth is that it will most likely be at least another decade to swing things around again, if it's possible at all.
by danaris | 2025-07-14 15:26:46+00:00
> if you want to make a browser in the EU, you have to be extremely serious about it.

Why is this a problem?

No, really; why is it a bad thing that if you want to create a complete new browser, you have to actually be serious and committed to it?

A web browser is a pretty significant piece of software, and it sits between you and the entire web. You do your banking through it. You access your email through it. You book flights through it.

If the browser is badly constructed or malicious, any of these very vital functions can fail in unpredictable ways, be compromised by unknown third parties, or even be deliberately intercepted by the browser itself.

Here in the US, and especially for tech people like us, we're used to thinking of software as a complete free-for-all: anyone can make anything they want, and anyone must be allowed to make anything they want! That's what Freedom means!

But that kind of freedom can have pretty serious consequences if it's treated without respect or abused. Frankly, I'm glad to see the EU starting to put some genuine safeguards in place for the people who have to use the software we make, to ensure that we can't just foist off crap on them and when they get their identity stolen because of our negligence, just say "lol too bad, Not Guaranteed Fit For Any Purpose, deal with it".
by nobleach | 2025-07-14 15:26:47+00:00
If anyone is building using experimental features that are either flagged or unflagged in Chrome, that's NOT on Chrome. For example, if I built a feature based on Chrome's weird Observables, sure, I could do it... it would work nowhere else. If you're actually seeing this happen, who do you blame in this situation?

IE flat out refused to implement features that were agreed upon by standards bodies. They pushed for VML development and ignored SVG. They ignored CSS3 in favor of their DirectX filters. Chrome does indeed put experimental features out there AFTER they support the standards. Firefox also has agreed to a set of web standards and is simply behind on implementation.

Having lived(as a developer) through IE4 - IE9, I reserve that title of "the new IE" for the worst offenders.
by Qem | 2025-07-14 15:26:59+00:00
It appears they didn't cover cargo transportation in the analysis. Curious if it may be worth for large trucks, over 20m long, as there is a large area available to install panels, and cargo transport is a hard to decarbonize sector. In long routes that extend east-west, I also imagine one coud try to adjust timing so the truck travels along the sun while it's day, and against it while it's night, so days in the local frame are slightly lenghtened, and nights are slightly shorter, improving light availability.
by lutusp | 2025-07-14 15:27:04+00:00
> [ ... ] by adding on-board PVs to cover less than 50% of the projected horizontal surface area of a typical mid-size vehicle (e.g., Toyota Camry or Nissan Leaf), up to 50% of total daily miles traveled by an average U.S. person could be driven by solar energy.

This is nonsense and would easily be proven false except that the article's technical content is paywalled. But common sense says that, if the claim were true, simple economics would make it a reality.

The publishing journal, the "SAE International Journal of Alternative Powertrains", appears to be one of thousands of online-only journals meant to provide a fee-based publication opportunity for authors who have no chance to publish in a reputable journal. In short, the authors pay, then the readers pay -- quite a system.
by account42 | 2025-07-14 15:27:19+00:00
> The answer cannot be 24/7 full-blown totalitarian surveillance state on everyone.

Surveillance is actually pretty common in many high-risk environments. And piloting is very much not just any other job but an exceedingly rare situation where the lives of hundreds of people are in the hands of only two people without anyone else being able to do anything to influence the outcome.

That pilot unions don't want surveillance is to be expected (the union is there to act in the pilots interest) but ultimately it isn't just up to them.

> Should we also put bodycam on all medical doctors and record all surgeries and all interactions?

Yes. We are finally starting to do so for police. These are all situations where an individual or very small team has direct control over the life of others who can't defend themselves.
by Blustar | 2025-07-14 15:27:20+00:00
Got this message. Hello, it's a pleasure to connect with you. My name is Lauren, Recruitment Marketing Manager at Y Combinator. I'm reaching out to share an official online part-time job program that’s been getting a lot of attention recently. The role offers flexible hours you can set yourself. Daily income ranges from $200 to $500. The base salary is $800, with bonuses paid every four days. After the internship, the monthly salary is $5,000. Applicants must be 21 or older. If you're interested, please send a message to 5012739225 — we'll get back to you shortly. Spots are limited, so contact me as soon as possible!
by floatrock | 2025-07-14 15:27:31+00:00
unfortunately that's the enshittification reality of the proliferation of free food recipe sites. It's a rule of thumb that you need to use an adblocker anytime you look for anything recipe-related online.

Firefox Focus is an mobile firefox flavor that has built-in ad blocking and works quite well for cooking.

I do also sometimes open up a few physical cookbooks I bought with like real money.
by fuzzfactor | 2025-07-14 15:27:49+00:00
>I can’t remember why I decided that [ . . . ], but I remember thinking hard about it, and thinking I was quite the scholar for thinking hard about this. If you figure it out and I’m correct, then please let me know.

A whole chain of these can end up being the key to overcoming otherwise unsurmountable obstacles.

Which can be extremely unlikely for anybody else to be able to replicate in the future, especially if they don't even get the first step right, perhaps not even yourself :\

Something like that can be quite a moat for a technology developer ;)