HN user

indentit

887 karma
Posts42
Comments161
View on HN
github.com 2mo ago

Fancy-Regex 0.18.0 Release

indentit
1pts1
www.infoworld.com 5mo ago

AI will not save developer productivity

indentit
2pts1
medium.com 6mo ago

Zig can come for Rust's performance crown and it might win

indentit
2pts0
github.com 9mo ago

Bat v0.26.0

indentit
149pts74
www.androidauthority.com 1y ago

Phone makers are ditching Gorilla glass, but what gives?

indentit
2pts1
github.blog 1y ago

How to Review Code Effectively

indentit
2pts0
codeopinion.com 2y ago

Anti-patterns in event-driven architecture

indentit
243pts163
codeopinion.com 2y ago

Event driven architecture lost its way

indentit
1pts0
80.lv 2y ago

Interactive water surface with realistic reflections in Godot

indentit
1pts0
gamefromscratch.com 2y ago

The Future of C# in Godot

indentit
4pts1
stackoverflow.blog 5y ago

Should never happen. If it does, call the developers

indentit
3pts0
css-tricks.com 5y ago

Building a Table of Contents with IntersectionObserver

indentit
3pts0
www.bram.us 5y ago

Animating a CSS Gradient Border

indentit
2pts0
css-tricks.com 5y ago

Lightweight Native Event Bus in JavaScript

indentit
1pts0
css-tricks.com 5y ago

How to add text in borders using basic HTML elements

indentit
1pts0
developers.redhat.com 5y ago

Transitioning from Docker to Podman

indentit
466pts268
css-tricks.com 5y ago

CSS in 3D: learning to think in cubes instead of boxes

indentit
3pts0
www.infoq.com 5y ago

Brahmos, a New React-Like UI Framework with Concurrent Rendering – Q&A

indentit
2pts0
css-tricks.com 5y ago

Balancing on a Pivot with Flexbox

indentit
1pts0
www.infoq.com 5y ago

WebAssembly reference types implemented in Wasmtime

indentit
3pts1
weblog.west-wind.com 5y ago

Using the CSS brightness filter to generically highlight content

indentit
2pts0
css-tricks.com 5y ago

Beyond Media Queries for Responsive Design

indentit
3pts0
kitze.io 5y ago

From hello world to a production app: the magic of Blitz

indentit
2pts0
css-tricks.com 5y ago

That's Just How I Scroll – tips for making scrollable areas more obvious

indentit
1pts1
css-tricks.com 5y ago

Halfmoon: A bootstrap alternative with dark mode

indentit
4pts0
www.theregister.com 5y ago

W3C give up on preventing PWAs from tracking users

indentit
24pts9
www.computerworld.com 6y ago

The Microsoft-Android transformation could affect us all

indentit
1pts0
css-tricks.com 6y ago

CSS Alternatives to JavaScript Navigation

indentit
2pts0
www.radbasic.dev 6y ago

Rad Basic – VB6 compatible language

indentit
2pts2
tyrrrz.me 6y ago

Working with Expression Trees in C#

indentit
2pts0

Exactly one year on from Oniguruma's archival on GitHub and fancy-regex is in a pretty good position to act as a compatible, memory-safe alternative.

Since the previous release, fancy-regex now has support for subroutine calls - although relative recursion level backreferences are still currently unsupported.

There also a PR with an experimental optimization, which may get released soon.

This resonates with me for a couple of reasons. One is that despite a good AGENTS.md file and a detailed, specific prompt, I've seen LLM agents generate all sorts of questionable code. From making a mistake, running tests and fixing the mistake meanwhile adding a comment which only makes sense when you read it from the perspective of having seen it make that mistake... As soon as anyone else would read it, there is no context and it can be confusing or misleading...

Or naming tests only considering the specific task at hand, which is meaningless when compared to the grand scheme of things.

Yesterday I had GitHub ask me to complete a survey on it's Copilot coding agent, and it made me realize that some obvious things were missing from my AGENTS.md. Notes that are unnecessary to be written "normally" because it aligns naturally with how human programmers work. When writing a new unit test in a file full of unit tests, I typically copy an existing test which has roughly what I need, paste it and adapt it. Or at least look at existing tests when building a new one. I've seen LLM agents ignore private helper methods and do full integration style tests for new test cases because they don't work like that unless specifically instructed...

So yes, I definitely feel that AI can increase tech debt big time unless managed carefully - paved roads are the way to go for human developers and AI agents. It does get tricky when you need to branch out and do something new or never considered before though...

I personally really enjoyed this article - thanks for sharing.

I have worked for companies which use OKRs to help decide what they want to achieve, but it was never clear to me how they decide what features to implement to reach those goals.

Seeing the "impact, confidence, and ease scores (ICE)" concept and how it should be done is quite an eye opener for me. Maybe that has been done where I work, just never shared with me - a lowly senior developer, who knows...

I tried using Mergiraf a year or so ago, and ended up with so many weird problems that I eventually tracked down to being caused by it, that I disabled and uninstalled it and never looked back - it was more hassle than it was worth

Bat v0.26.0 9 months ago

Having to pipe to a pager - to follow the unix philosophy - means: - extra typing each time - the pager receives static output. There is no interactivity... Sure, most pagers can search. But there is no way to have a table with adjustable columns, or toggle word wrap or line numbers etc.

I feel that for a tool like bat, it is better to have it built-in and not follow the composable philosophy because it is just so much more convenient. Of course the minus integration in bat is fairly basic at the moment, I guess supporting different code paths for static pagers vs interactive would increase maintenance burden quite a lot...

The solution could be a pre-push hook. I am also not a fan of pre-commit hooks because I just want to commit my wip changes. Not stash. Commit.

It's fine if the auto formatting tool hasn't been run. If the pre-commit hook changes my files silently, that is a big no-no for me.

I have had tools break things before and it makes it very hard to work out what happened.

Having it fail to push means I get to choose how to fix up my commits - whether I want a new one for formatting changes etc or to go back and edit a commit for a cleaner public history.

Just Use HTML 10 months ago

Another area where you can lean a lot more heavily on HTML is API responses

Please no - it is so much nicer and easier when using a website with poor UI/filtering capabilities/whatever, to look at the network requests tab from devtools in the browser and get json output which you can work with however you want locally versus getting html and having to remove the presentation fluff from it only to discover it doesn't include the fields you want anyway because it is assuming it should only be used for the specific table UI... Plus these days internet while out and about isn't necessarily fast, and wasting bandwidth for UI which could be defined once in JS and cached is annoying

I really like how clear and well laid out these rules are. It covers lots of things that I have always thought about when I write instructions in README files etc, so it's very nice to see everything neatly described/reasoned in one place. Thanks for sharing!

My rude-ass car 3 years ago

The problem here is that new features often involve some refactoring work. Then, if you didn't opt for feature X, the company isn't going to go out of their way to make and ship and maintain a fix for the old non-refactored version, so if you want fixes, there is no way to get them without feature X... Unless they are using feature flags of course, but then no fixes/updates are exactly "safe" for the combination of features agreed to.

Interesting idea. I wonder how some examples would look for teams which have a docker compose file which don't include some services - because they are mocked for tests or expected to be run separately etc. Would it still be possible to write a k8s operator to transform the docker compose file perfectly to a k8s manifest or would it be lacking key information?

But there is syntax highlighting - what editor and language combination are you using? I know for a fact that SQL is highlighted inside Python and PHP strings in Sublime Text 4..

In my experience, socks are pretty expensive (at least here in Lithuania) and wear out pretty fast, so for me its reasonable to spend most of the clothing budget on socks...

The gripe about being completely unable to enter a quantity of an item doesn't match my experience. But it isn't obvious how to use it - do you scan something, then enter the quantity, then put in the bagging area? Turns out no, you enter a quantity, scan one item, then put them all in the bagging area. But I discovered that if you enter a large quantity and can't put them all down in a certain time frame, it will complain the weight doesn't match and you have to wait for the supervisor... So I guess it works best with quantities of something you can fit in your hands.

For Windows, there is "ClipboardFusion" by Binary Fortress, which acts as a scriptable clipboard manager, and could tick most of your boxes.

I'm not sure how possible it would be on Windows for a third party app to perform isolation - maybe if it registers a hook for when clipboard content changes which is somehow guaranteed to run first before other applications and any hooks they may have, it could swallow the event and clear the clipboard so other processes can't see it, and then do something similar with paste events maybe?

I've never been that happy with the output from any of the different graphviz engines. I'd like to see a UI graph editing tool which can import and export .dot format, but also allows manually moving nodes (which I guess wouldn't get exported unless arbitrary metadata is supported), and ofc exports to svg. Maybe there's already something similar I haven't stumbled across yet?

I guess my use case is mainly swimlanes and places where nodes don't have to have the same rank.

Thanks very much for sharing this - it has become one of my favourite articles! I especially like the idea of being able to replay a scenario just from the logs. Now to convince the rest of the team at work to switch to such a strategy.