HNHacker News
TopNewBestAskShowJobs

airblade

159 karma · joined October 9, 2010

https://github.com/airblade
submissionscomments
airblade··on Litestream v0.5.0
This is documented on the Litestream website.
airblade··on How to improve your WFH lighting to reduce eye strain
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.
airblade··on Debugging: Indispensable rules for finding even the most elusive problems (2004)
At first I thought you meant an umbrella that doesn't work very well.
airblade··on Show HN: Pagecord – Effortless blogging from your inbox
Simple, clean, does exactly what it says. If only more software was like this :)
airblade··on CyberChef from GCHQ: Cyber Swiss Army Knife
Actually the NSA is the US’s version of GCHQ.
airblade··on Elite: "The game that couldn't be written" [video]
That was probably it: not being quite perpendicular. Oh well!
airblade··on Elite: "The game that couldn't be written" [video]
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.
airblade··on You don't need JavaScript for that
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.

airblade··on I walked across Luxembourg
But those 70 miles can take a disproportionately long time!
airblade··on Show HN: Strich – Barcode scanning for web apps
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/

airblade··on Autocomplete – A JavaScript library for building autocomplete experiences
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).
airblade··on Autocomplete – A JavaScript library for building autocomplete experiences
"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.

airblade··on Progressively Enhanced Turbo Native Apps in the App Store
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.
airblade··on Turns are better than radians
Look up the Tau Manifesto: it’s all explained there.
airblade··on CLI tool for converting txn statements from Singaporean banks into a sane format
I did a similar thing for Volksbank (a German bank) statements using awk:

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

airblade··on Mathematician Hurls Structure and Disorder into Century-Old Problem
I don’t think there are many people capable of maths like this.
airblade··on Ancient bees found in Blenheim palace estate
I think you mean not far from Oxford.
airblade··on Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 and some default setup
Rails will soon default to using ESM instead of Webpack.

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

airblade··on A work-in-progress Magit clone for Neovim
> gitgutter is no git diff

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

airblade··on Show HN: Csvbox.io – CSV import button for a web app, SaaS or API
This is a nifty idea for a product.

Does / will your system import images in spreadsheets?

airblade··on Show HN: GitHub style split diffs in your terminal
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...

airblade··on Show HN: A syntax highlighter for Git and diff output, written in Rust
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

airblade··on PinePhone Review
So it could read the RFID tag in the passport.
airblade··on Running a high-availability SaaS infrastructure without breaking the bank
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...

airblade··on New MacBook Pro Is Not a Laptop for Developers Anymore
Even better, install Alfred and bind a hotkey to your bash function.
airblade··on Drop millions of allocations by using a linked list
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.

airblade··on Ask HN: Front-end “design patterns”?
Terrific stuff. Thanks!
airblade··on Pinegrow Year in Review 2014 – From 0 to $100K
Looks amazing!
airblade··on Design of a Vim-like text editor
The reason ycm and vim-gitgutter don't work well together isn't the "plugin interface"; it's the limited nature of the sign column which can only display one sign per line. If both ycm and gitgutter want to display a sign on the same line, only one can succeed.

Edit: oops, ycm doesn't use signs...I was thinking of syntastic. As far as I know ycm and vim-gitgutter should work together.

airblade··on A Diamond Market No Longer Controlled By De Beers
> These can be made on demand

Yes and no. Also the ability to make diamond is pretty recent with a lot of the fundamental research having been funded by De Beers.

Page 1 of 2Next →