Better HN
topnewbestaskshowjobs
Log inSign up

KronisLV

8,794 karma · joined Sep 26, 2020 (6y ago) · 3,952 submissions

A software engineer from Latvia. https://kronis.dev/
Submissions

comment 12h ago · link · parent

The whole ecosystem.

Lazy loading for images was only introduced around 2019, not every website out there will have been updated since (and retroactively become “badly written”).

It is also not on by default, because the platform itself is too conservative and the implementation doesn’t allow zero breakage changes of defaults like that.

The tooling culture around HTML also isn’t such that you’d be prevented from deploying a site if you can use it but don’t, at least you’re not railroaded towards that.

Lazy should have been the implicit default and we should have gotten loading=“eager” instead. Same with having sane calendar controls, dropdown and collapsible controls, video controls so good we wouldn’t need vendor equivalents, light boxes for images and so on.

comment 15h ago · link · parent

> This site has been reported as unsafe

> Microsoft recommends you don't continue to this site. It has been reported to Microsoft for containing harmful programs that may try to steal personal or financial information.

Hmm, might just be Microsoft being Microsoft, kind of funny.

comment 1w ago · link · parent

> The bug backlog should be empty

Yup, I actually achieved that for a smaller system at work.

Tracked down and resolved every single logged bug there, alongside additional correctness improvements - after migrating the system from Oracle to PostgreSQL (it had a narrow enough domain where that was possible, made iterating way easier due to how easy it is to work with PostgreSQL and tune its setup for a specific workload), adding Testcontainers and pushing the test coverage to the high 90s percent, as well as migrating the front end from Vue 2 to Vue 3. Also wrote a custom load testing tool and improved the performance by up to 20x (though there were some really bad querying and N+1 issues at play).

It wasn't completely smooth and did create a few bugs along the way which also needed to be fixed, but overall was pretty solid - mostly due to the fact that the system had been developed with support for mock data from day 1 where you could spin up an instance and play around with pretty much anything you wanted. Hell, one could probably do a Rust rewrite of it if they didn't have anything better to do (not a Rust shop though).

That approach wouldn't really work for larger systems as is (e.g. there are some that are like around half a million SLoC), underdocumented systems, or systems where testing is contrived and difficult, as well as some stacks that just suck (e.g. bringing down a shared dev DB instance preventing N people from doing their work). Oh and also it took about an order of magnitude more tokens than would normally be given to your average dev.

Right now in my circumstances the bottleneck doesn't actually seem to be creating changes/features, but rather deployment and shipping as well as configuration management (assuming you have clients that need release instructions). Oh and being able to sell new work packages. Either way, in general you need more tests and specs than you think you do.

comment 1w ago · link · parent

> After many months of fighting, they had an LLM clone the system.

Reads like a non-ironic version of Malus: https://malus.sh/

comment 1w ago · link · parent

I wonder if I’m noticing the odd timing of everything too much, or whether there’s an effort to air as much of Nvidia’s dirty laundry as possible.

No idea to what end, Nvidia stock collapsing would probably be enough to bring on the AI crash with no hope of gradual rebalancing (like the drop we saw a week ago) and most likely take the US economy with it.

It’s not like anyone will get cheap RAM suddenly if that happens, more like lots of people will lose their livelihoods.

comment 1w ago · link · parent

A model that does even fewer Claude-isms (Opus 5 was horrible for that, 5.5 is better), can also read the room better (if I ask it to write some delivery docs it still sometimes overshares internal details rather than sticking with the format and style of the previous 20 versions even after AGENTS.md tells it not to vomit internal implementation details there, though honestly something like Sol 6.1 was even worse and couldn’t even follow the Markdown template properly some days, inventing new sections) and also would have increasingly better capabilities - 3D modelling is still subpar, reasoning about images still misses details (e.g. while working on texturing fails to notice a red colored band due to bad unwrapping) and also wouldn’t get unnecessarily held back, like reverse engineering software to realize why it doesn’t work or their overall opposition to REA. Aside from that, maybe also not Claude slop UI styling with those fucking disgusting punchy short sentence labels everywhere and also oversharing details nobody cares about.

comment 1w ago · link · parent

I've seen outages caused by bad architecture.

Since AI has gotten good, I've also done some of the rewrites to fix the past lack of budget/planning, hubris or sometimes devs who didn't know any better.

comment 1w ago · link · parent

I mean personally I also think the Codex computer use is brilliant, as far as harnesses go though it’s okay and I’d say Anthropic is a tad nicer otherwise.

comment 2w ago · link · parent

> Cloud can be beaten

I think they meant the kind where you only get a video stream, can't do anything there.

comment 2w ago · link · parent

Not that I know of! You’d probably either need to alter their source code or make your own local OpenAI/Anthropic API proxy that routes stuff wherever you want. I think that’s what most folks would do.

I had something similar in https://ccode.kronis.dev/dynamic-proxy.html but since stopped development on the tool, there are also better ones out there.

comment 2w ago · link · parent

Recently wrote a small tool for personal use that limits my CPU frequency so I can sleep better without loud fans in the next room, with the UI I wanted (e.g. set limit to 4.2GHz for 8 hours).

Made it in Wails cause it was the easiest for the UI. App needs 10 MB of RAM, whereas the WebView2 process needs about 100 MB of RAM.

I’m surprised that Chromium doesn’t have a low memory mode that disables all of the crap your local software doesn’t need. Frankly 20 MB I’d be fine with but this browser tech in its current form really adds up.

I wouldn’t care as much if I had more RAM, but can’t get more than 32 GB in this market in good faith.

Guess I gotta rewrite it in .NET with… something for the UI.

comment 2w ago · link · parent

> Fleet was draining their talent and would have resulted in a tool that wasn’t best-of-breed in any one category.

Visual Studio Code, but JetBrains would have been pretty cool, especially when you want something that supports other modes of work (e.g. ADE). Now VSC/Zed fills that role and JetBrains don’t compete with them, now even to upsell to their full IDE for more deep work.

comment 2w ago · link · parent

Don't forget about their AI Assistant (agentic but mostly chat focused plugin) and Junie (a harness, that you can apparently use through Air too), people have critiqued them about it being messy, but tbh OpenCode for example has TUI, web and desktop versions heh.

Oh to make things more interesting, Air also has a mobile option too, adding to the list. Odd to couple it with an IDE though since you have various IDEs for various stacks (e.g. IntelliJ IDEA vs WebStorm vs GoLand, unless you just shove a crapload of plugins into IDEA) and agentic tools don't always need all of that.

To be fair though, they're probably scrambling to keep up with the AI craze because it cuts into their margins A LOT and throwing everything they can at the wall. Shame they killed Fleet, could have been a cool basis to compete with Zed (or VS Code, more directly) and integrate Air there or something.

comment 2w ago · link · parent

> now I'm using ChatGPT/Claude desktop

Same, it's lovely software for that mode of work!

I also briefly tried out other ADEs, like:

- Kepler (by the GitKraken folks) - https://www.gitkraken.com/kepler

- Paseo - https://paseo.sh/

Kepler had a really nice issue tracker integration but the UI was very vibey and not quite as to the point as I'd like (who needs graph visualization of what the agents do, just give me tools that work), and Paseo had a really nice UI that I could use to drive both Codex and Claude Code, but some OpenCode agents would sometimes hang and I didn't have tools to really do anything about it.

Maybe I should also give JetBrains Air a look again, if I ever end up subscribing to them again (I just moved to Zed for my code editing): https://www.jetbrains.com/air/

Interesting space, with so many additional tools popping up! That said, the OpenCode TUI was really pleasant too.

comment 2w ago · link · parent

> the people that just put out a cute site and stay low tend not to attract lawyers

Some lawyers are extremely litigious.

This might be daydreaming and wholly unreasonable, but I think that it should go like this: “As a developer/publisher you either provide a product available for purchase for a reasonable price (not larger than release price, adjusted for inflation) OR you are not allowed to take down game preservation efforts.”

Can’t afford to patch the game for vulnerabilities in the code or host servers? That’s okay, the community will do that for you after they reverse engineer it.

But that’s not the world we live in. Personally I think that even projects like SPT-AKI are okay.

comment 2w ago · link · parent

Debian for servers and could also be for desktop, though for desktop Mint seemed okay (still Ubuntu based, just without the focus on snaps and the Cinnamon desktop is nice; this one doesn’t fit the question exactly, but figured I’d mention it anyways cause had a pleasant experience).

Whereas on the RPM side Fedora is pretty good for desktop and something like RockyLinux for your servers (essentially carries on the spirit of the old CentOS).

Then again, I never really needed any of the more fancy modern distros, most of the time I just need good LTS and to run Docker, many might prefer Podman.

comment 2w ago · link · parent

> Every night I tell me agents I'll be going to bed and to not ask questions and keep going.

Most harnesses now support something like this:

  /goal "Work on the current plan until 11 AM in my time zone, provide a summary of all the overnight work then."
Other than that, look after your own wellbeing! Nothing wrong with letting agents work overnight, just don't overextend yourself and don't spend all of your free time on it.

comment 2w ago · link · parent

1. OpenAI and Anthropic, both at their 100 USD tiers, one account each. Would do 200 USD but I need the money to help a friend instead.

2. Previously yes (esp. to try out new models on OpenRouter, like GLM 5.3 or Kimi K3.1 Pro and the various DeepSeek ones, Mistral ones etc.) before also having their subscriptions for a bit. Wrote about them on my blog, seemed like nice alternatives to OpenAI and Ant, but didn't give me as many tokens (and that's with the BS those two are occasionally pulling).

3. Codex and Claude Code, for a while had a custom launcher for Claude Code (ccode) for 3rd party providers, also tried out OpenCode (really nice CLI, but barebones web UI/desktop versions), alongside additional ADEs like Paseo (really pleasant, but sub-agent status updates hanged sometimes) and Kepler (cool ticketing system integration, but the UI wasn't very pleasant), before just going back to the two in the end. Same as with MCPs and other stuff, realized I just don't need most of them, near-SOTA models are good enough to automate long form work and work in parallel well enough, all you need are Git worktrees and a decent OS environment to work in. Still waiting for some dumb agent to wipe my drive though.

4. No, closest was Paseo or Kepler, but those tools would help me more rather than beat the agents into shape. The most I do orchestration wise is demand adversarial reviews (main session often spawns sub-agents for implementation and then has sub-agents with clear context for review in a loop, if issues are found, they're solved, then back to review, until nothing too serious remains), seems like even SOTA models fuck up consistently enough that they benefit from such reviews still. Meanwhile the most I do in regards to work is nudge how to best do exploration and division of work, when I know that something will need a bunch of parallelism or not to pollute the main context with bunches of side quests.

5. No. Maybe I should, but given how often LLMs lack decent judgement when the tasks are underspecified, I don't think I'd benefit a lot. My ALL-CAPS-SWEARING/SESSION metric is still higher than I'd expect from a reliable assistant system, despite agent instructions and memories and custom tools and linters and all that. In a word, even SOTA models still do stupid shit and bog down workable designs with complexities and mechanisms and concerns that nobody fucking needs. Computer use is pretty good though.

comment 2w ago · link · parent

It's almost surprising that there's no big AI org that's doing the Star Wars "MORE!" meme in regards to increasing offensive capabilities. I guess everyone wants to play the US safety concern theatre. Or bad actors are just doing their best to jailbreak SOTA and dance around classifiers or throw 5x more non-SOTA tokens at issues.

comment 2w ago · link · parent

F in chat to my Intel investments, their stock price is doing bad right now. And now they're also cutting off B580, what unfortunate times. Nova Lake, where are you?

comment 3w ago · link · parent

> You want to create a human feeling using AI, but AI is not needed for the feelings you want to create.

> When it comes to shooters though, those games aren't really about competition and decisions, they are about giving the human player an experience. I do think strong AI is overkill in such situations.

> Again, in shooters, there's no decision, no illusion of fair play or equal competition based on making decisions, it's all about the human experience, and so LLM-level AIs aren't needed here at all.

No, playing against humans absolutely sucks to an untold level for me - because more often than not at some point it ends up being about who has better aim or reaction times and I lose like most of those.

Stuff like that makes everything from CS, Valorant, Battlefield, Wardogs, Active Matter, Tarkov, ABI, Insurgency Sandstorm and any other shooter game unplayable. Meanwhile purely skulking around corners is no fun and also sucks, because that still doesn't resolve the imbalance, and that's after over a thousand hours and sometimes with SBMM and all. Teamwork can't really fix that, even when I tried playing a healer in Valorant friendlies would get taken out, I'd get picked off, round over, we lose.

What I really want is AI that is worse at aiming than I am but is more numerous and makes up for it with numbers and utilizing those numbers well with tactics. Games like FEAR and Trepang2 and Incursion Red River evoke that feeling, but could definitely be made even better in that regard! It would be strong not because of sniping me from across the map like a lazily made bot, but rather because there'd be grenades going out in my direction, they'd use cover well and suppress me while some others push from the flank, not just rush me with godlike aim.

That is before you consider playing online being a minefield (especially in Eastern European servers), it's a coin flip whether someone in Wardogs will be trying to flip choppers or AFK bot at base, or whether they'll decide that being annoying and sharing the best slurs they know is what they want to do today. It seems like there's a narrow band between tryhards who berate you for not playing good enough and people who are just trolling. I don't want that kind of hit or miss experience, ever. It's even the same with Arma RP servers (like Altis Life, the idea is cool) when I tried those - you'd be able to make money by mining and processing ores or whatever for a bit, until someone would randomly shoot you for no real reason.

comment 3w ago · link · parent

> If a desktop application freezes up and crashes, users will gnash their teeth and curse your name while they are pressing ctrl-alt-del and trying to get their system going again.

Nowadays: Electron slop that will also eat a bunch of their RAM.

Personally I think that’s due to the failure of native development properly taking off: you know, actually being good and easy instead of a long line of dead or half dead attempts; alongside platform vendors hating each other and each having a vastly different GUI framework instead of some inter-OS WG to come up with at least good common standards.

comment 3w ago · link · parent

Not sure about LLMs but I yearn for someone to train neural nets to play the NPCs in a shooter game well but without having aimbots or seeing through walls - basically a “true” version of F.E.A.R. AI where they play simulated squads that overwhelm the player with various tactics and adapt to their playstyle. Or even just make increasingly complex state machines and goal oriented systems which might be more performant but still encode the main rules.

comment 3w ago · link · parent

> Makes me want to have like 5 separate computers:

I mean if you have only one there’s https://www.qubes-os.org/ but not sure about the gaming part, nor is it necessarily as good as separate isolated hardware.

Architecture page: https://doc.qubes-os.org/en/r4.3/developer/system/architectu...

comment 3w ago · link · parent

Tbh it's probably a good idea to have a bunch of different e-mail accounts, at least for all of the professional, personal and other personal things.

There's horror stories of automated systems suspending people's Google accounts and suddenly they can't access their photos and other important data.

Like if you use a password manager and all of the passwords are random, might as well go a step further and at least have separate e-mail accounts for groups of activities.

comment 3w ago · link · parent

Depends on the team and which of the actual features you use! As someone who introduced GitLab CI to my org as well, but runs most of my private stuff on Gitea + WoodpeckerCI, based on what I've seen there are A LOT of workflows that don't need that much out of GitLab, especially when you can move a lot of complexity into your CI solution alongside some light patches to the forge if necessary. Hell, I've seen people who haven't migrated off of SVN do okay (though personally I wouldn't punish myself like that).

comment 3w ago · link · parent

Forgejo did and will in the future, same as GitLab.

The only difference is the architecture/moving parts/featureset which roughly corresponds to the attack surface, which then roughly corresponds to how many CVEs will be found, though that's also affected by how big a given target is.

For example, total new CVEs:

          2024 2025 2026
  Forgejo    1   10  >55 (confirmed ones, checked what I could)
  Gitea      1    9  121
  GitLab   145  165  251
(a lot of the reporting out there sucks, cause some CVEs get assigned to Gitea and may or may not be applicable to Forgejo as well, so you have to dig into the details for example https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSear... and https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSear... and https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSear... )

That's not to say that Forgejo is some perfect piece of software, just that it builds on some of the past experience of Gitea and just has both less features than GitLab, is simpler, and also a smaller target. It will probably get >100 per year too soon, but I'd reckon that the totals will remain than GitLab for the foreseeable future.

Maybe I'm wrong!

comment 3w ago · link · parent

If Alpine prides themselves on focusing so much on security, they probably shouldn’t use GitLab - the attack surface is too great and it’s never going to be easy to keep safe and up to date fully, unless you have FTEs whose main job is just maintaining it.

Just get the source code of Forgejo, audit it thoroughly and run an instance of that.

comment 4w ago · link · parent

> Even if only 1-2 take off, it’d be overall better wouldn’t it

Sometimes how projects are run is weird, like how Hi-Fi Rush seemed to be doing well and then Microsoft axed them despite it:

> In his letter to staffers, Booty said the closures were “not a reflection of the creativity and skill of the talented individuals at these teams or the risks they took to try new things.” And while the changes will be “disruptive,” Booty said that they are “grounded in prioritizing high-impact titles and further investing in Bethesda’s portfolio of blockbuster games and beloved worlds which you have nurtured over many decades.”

https://arstechnica.com/gaming/2024/05/microsoft-shuts-down-...

https://en.wikipedia.org/wiki/Hi-Fi_Rush

12345
132