News for hackers. Stuff that matters.

airblade

Re:Litestream v0.5.0 Is Here on Friday October 03, 2025 @01:22PM (#45465318)
This is documented on the Litestream website.
Re:How to improve your WFH lighting to reduce eye strain on Wednesday January 22, 2025 @03:58PM (#42797428)
A dimmer switch for an LED light is different from a dimmer switch for a non-LED light. If you try to use an LED light with a “normal” dimmer, it won’t work well.
Re:The Timeless 9 Golden Rules of Debugging on Monday January 13, 2025 @11:26AM (#42685177)
At first I thought you meant an umbrella that doesn't work very well.
Simple, clean, does exactly what it says. If only more software was like this :)
Re:CyberChef from GCHQ: Cyber Swiss Army Knife on Thursday February 01, 2024 @03:08PM (#39220673)
Actually the NSA is the US’s version of GCHQ.
Re:Elite: "The game that couldn't be written" [video] on Thursday December 21, 2023 @03:46AM (#38718292)
That was probably it: not being quite perpendicular. Oh well!
Re:Elite: "The game that couldn't be written" [video] on Wednesday December 20, 2023 @08:41AM (#38708530)
That’s very similar to my experience except docking was just too hard. No matter how carefully I tried to match the rotation, 99 times out of 100 I crashed. I still don’t really understand why! So I just stayed around the starting point, which was a shame but still quite fun.
Re:You don't need JavaScript for that on Sunday December 03, 2023 @06:36AM (#38506324)
XML is brittle which makes it hard to work with. One tiny syntax error somewhere and your whole XML pipeline fails.

XSLT is powerful but harder to get right than just reshaping JSON.

But those 70 miles can take a disproportionately long time!
Re:Show HN: Strich – Barcode scanning for web apps on Friday August 18, 2023 @07:34AM (#37174275)
Thanks for building this. I agree there's a gap between OSS libraries and high-end products like Scandit.

Scanning barcodes is harder than it looks. Or rather, scanning an intact, well-lit barcode square-on is easy – but it gets harder as conditions deteriorate.

Are you worried about Scandit's patents?

https://www.scandit.com/patents/

It probably depends on whether you are searching a body of natural language text (use tf-idf) or a list of things (use fuzzy search).
"Not too bothered about styling" is quite important. Datalists are relatively uncommon and I think many users may not know what they are seeing and how they can interact with it.

Also datalists appear quite different across different browsers, which is fine of course for a native form control, but annoying if you're aiming for a more consistent look.

Re:Progressively Enhanced Turbo Native Apps in the App Store on Friday February 10, 2023 @04:54AM (#34737647)
I believe the maintainers regard authentication, rightly or wrongly, as a business-level feature. Not so much the mechanics of checking a user's credentials but how you want to steer the different authentication flows.
Re:Turns are better than radians on Monday September 26, 2022 @08:09AM (#32982113)
Look up the Tau Manifesto: it’s all explained there.
I did a similar thing for Volksbank (a German bank) statements using awk:

https://github.com/airblade/volksbanker-awk/blob/main/vba

I don’t think there are many people capable of maths like this.
Re:Ancient bees found in Blenheim palace estate on Monday November 08, 2021 @07:37AM (#29148676)
I think you mean not far from Oxford.
Rails will soon default to using ESM instead of Webpack.

https://world.hey.com/dhh/modern-web-apps-without-javascript...

Re:A work-in-progress Magit clone for Neovim on Thursday July 08, 2021 @10:29AM (#27772394)
> gitgutter is no git diff

FYI in gitgutter you can preview the diff for any change (and also edit the hunk and stage it).

This is a nifty idea for a product.

Does / will your system import images in spreadsheets?

Re:Show HN: GitHub style split diffs in your terminal on Sunday May 02, 2021 @03:23AM (#27013030)
You can't configure diff-highlight to do that. It 'will find the common prefix and suffix of two lines, and consider everything in the middle to be "different".' [1]

To highlight only the quotes as changing, you need something else. On (Neo)Vim, for example, vim-gitgutter does this [2] (I'm the author).

[1] https://github.com/git/git/tree/master/contrib/diff-highligh... [2] https://github.com/airblade/vim-gitgutter/blob/master/autolo...

Not sure about vim-fugitive, but vim-gitgutter's hunk previews have intra-line highlighting. I mention it because people often use the two plugins together (and I'm pleased with how vgg's highlighting turned out :)

https://github.com/airblade/vim-gitgutter

Re:PinePhone Review on Thursday December 19, 2019 @02:16PM (#21838205)
So it could read the RFID tag in the passport.
I found this a very interesting look at the infrastructure behind a successful, fast-growing SAAS.

An infrastructure cost of 2% of revenue is impressive – a lot of bang for the buck. I wonder how other SAAS operations compare. And also where other SAASs sit on the DR scale...

Re:New MacBook Pro Is Not a Laptop for Developers Anymore on Friday October 28, 2016 @12:18PM (#12817614)
Even better, install Alfred and bind a hotkey to your bash function.
Re:Drop millions of allocations by using a linked list on Friday March 13, 2015 @12:11PM (#9197908)
So many armchair critics!

It's very easy to pontificate in hindsight when somebody else has done the hard work of actually finding something that can be improved.

Re:Ask HN: Front-end “design patterns”? on Monday March 09, 2015 @06:33AM (#9170185)
Terrific stuff. Thanks!
Re:Pinegrow Year in Review 2014 – From 0 to $100K on Tuesday January 13, 2015 @05:28AM (#8878950)
Looks amazing!

Older »