HNHacker News
TopNewBestAskShowJobs

ldjb

1,217 karma · joined February 28, 2015

hnmail@ldjb.uk

[ my public key: https://keybase.io/ldjb; my proof: https://keybase.io/ldjb/sigs/IdV4kghNxp10ZxK0JyT3M8TxnBE7EdFuqFdohnJK_iQ ]

submissionscomments
ldjb··on Every GitHub object has two IDs
The author may well have been aware of this. However, since the author didn't retrieve those database IDs or URLs in the first place, they would have had to make further requests to retrieve them, which they wanted to avoid doing.

"I was looking at either backfilling millions of records or migrating our entire database, and neither sounded fun."

ldjb··on Animated Cursors
Under the Animated Cursors heading. Here are direct links to the webms if you still can't find them:

https://tattoy.sh/assets/screenshots/cursor_smear_fade.webm

https://tattoy.sh/assets/screenshots/manga_slash.webm

ldjb··on A 14kb page can load much faster than a 15kb page (2022)
Please do share any evidence to the contrary, but it seems that the Tweet is not serious and is not from someone who worked on the Start Menu.
ldjb··on Why does target="_blank" have an underscore in front? (2024)
I was expecting this post to explain why it's an underscore specifically, as opposed to a dollar sign, an asterisk, a caret, a tilde or some other special character.

I can only assume it's a holdover of languages like C where the standard library has some reserved names that start with an underscore.

https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=10...

ldjb··on iTerm2 critical security release
A terminal doesn't need SSH integration, but it's convenient if it does, to allow you to easily start and manage connections. Is there something inherently unsafe about such an integration?
ldjb··on The Bluesky Bubble: This is a relapse, not a fix
I feel like Facebook was often considered a MySpace clone in its early days, despite certain differences, and I certainly think it took its place.
ldjb··on What's inside the QR code menu at this cafe?
First thing I would do is look for a security.txt file or search to see if they operate some kind of bug bounty. Failing that, I would browse their website or search for contact details (or even just a contact form). WHOIS can be useful for this. Ideally you'd want some kind of security contact, or a technical contact, but other times you have to make do with the general contact email/form.

In this specific case, they have a general email address at the bottom of their privacy policy, so that's what I'd use.

I'd send them an email along the lines of "I found a security issue with your website; how would you like me to report it to you?". Then they'll hopefully put me in touch with the right person.

In terms of what I'd expect… If they operate a bug bounty (which they don't in this case) then I'd expect what's on offer. If not, it would depend. I often don't expect anything. There have been businesses I've disclosed security vulnerabilities to that are shady enough that I've refused the reward they offered. Sometimes I don't want anything to do with them.

ldjb··on Xkcd Game Theory Question
Suppose there are two students. Each has a 50% chance of drawing the short straw (by picking either 0 or 1). Therefore, there is a 25% chance that neither will draw the short straw, 25% chance that both will draw the short straw, and 50% chance that only one will draw the short straw.
ldjb··on Show HN: Iso20022.js – Create payments in 3 lines of code
It's the extensible nature of XML that gives it an advantage. You can add custom elements and attributes whilst conforming to the base schema.

Granted, XML isn't the only format where this is possible. You can sort of achieve it with JSON, though XML's namespace system helps deal with name collisions. Adding bank-specific messages wouldn't be possible (or would be difficult) with fixed-column formats, for example, unless they had been specifically designed to be extended.

ldjb··on How many High Streets are there in London?
Today's blog post is related:

London's shortest and longest High Streets

https://diamondgeezer.blogspot.com/2024/06/londons-shortest-...

ldjb··on Secret Hand Gestures in Paintings (2019)
400 years later, this mysterious hand gesture would resurface in the character designs of Capcom's Mega Man / Rockman series of video games.

https://themmnetwork.com/2010/03/18/the-great-mega-man-finge...

ldjb··on Notepad Tab
Happens for me in Firefox. I press 'Back' and it untypes the last character.
ldjb··on Deutsche Bahn introduces "MetaWindow"
In a democratic society, if citizens are particularly concerned about the aesthetics of public property, they can make their views known to the relevant authorities and elected representatives, and it could even become an election issue. I think that's far better than citizens fighting with paint.
ldjb··on Deutsche Bahn introduces "MetaWindow"
We're talking about public property here. Many authorities have a 'no tolerance' approach to graffiti. Even if it looks nice, it will be removed. There is a belief that removing graffiti quickly discourages it. If graffiti artists find that their work won't last long, they may be discouraged from doing it in the first place. Aesthetics doesn't really come into it.
ldjb··on Deutsche Bahn introduces "MetaWindow"
The impact isn't merely aesthetic.

For one thing, it can be costly to remove graffiti. And when it's on publicly owned property, who pays for that removal? The public, of course.

If, for example, a train is the target of graffiti, it will often need to be taken out of service. This, then, results in a degraded service to the travelling public.

Furthermore, graffiti artists often put themselves in dangerous situations. Numerous people have been seriously injured or killed when doing graffiti. That not only sucks for them, but also has various knock-on effects.

Some graffiti art can look really nice, whereas others have little artistic value. Regardless, the negative impacts of graffiti should not be overlooked.

ldjb··on Nearly all Nintendo 64 games can now be recompiled into native PC ports
Note that this is not true in many jurisdictions.
ldjb··on Why does Windows use backslash as path separator? (2019)
Classic Mac OS used colon (:) as the path separator, so slashes were perfectly acceptable in file and directory names.

Even in modern versions of macOS, the GUI still allows you to create files and folders with slashes in their names; the slashes get recorded as colons in the filesystem.

ldjb··on Personal VPN services are snake oil
Piracy is also listed under the "When to use a personal VPN?" heading.
ldjb··on Browser Security Bugs That Aren't: JavaScript in PDF
There are restrictions, but SVG is an example of an image file type that can run JavaScript (again, there are legitimate use cases for this).
ldjb··on Guess my RGB
It's not linked to from the page, but here's the GitHub repo for anyone interested:

https://github.com/susam/myrgb

ldjb··on Guess my RGB
Heads-up: It's ROYGBIV
ldjb··on Social networks are getting stingy with their data
The solution is to run your own Mastodon instance. Unfortunately, I find doing so can be quite a hassle. Obviously it's not free, and not only do you need to configure it properly, but you need to handle backups, updates and so on. Even for me, with a fair bit of technical experience, it can be challenging. I think there are significant barriers to doing so for people with no or little technical knowledge.
ldjb··on We have reached an agreement in principle for Sam to return to OpenAI as CEO
Almost all employees did not resign in protest, but they did _threaten_ to resign.

https://www.theverge.com/2023/11/20/23968988/openai-employee...

ldjb··on Floorp – A customisable Firefox fork from Japan
According to the developer (Ablaze)'s website [0], development of Floorp is entirely funded by sponsors on GitHub [1].

[0] https://support.ablaze.one/articles/floorp/who-build-floorp

[1] https://github.com/sponsors/Ablaze-MIRAI

ldjb··on Credit card debt collection
I'm also based in the UK and, in my experience, debit cards actually tend to be slightly more widely accepted than credit cards, even online.

But by and large, if a website accepts Visa or Mastercard, it doesn't tend to matter if it's a debit or credit card.

ldjb··on Domain Registrars Which Developers Recommend
Yes. 123 Reg is just one example that comes to mind.
ldjb··on Touch Pianist
I'm using a Microsoft Surface and had the same problem when trying to click using the trackpad, but tapping it on the touchscreen worked.
ldjb··on Someone keeps trying to reset my Facebook password
I have many email addresses. I don't necessarily know which email address is associated with my account. Therefore, the user benefits from knowing which email inbox they should check.

That said, it could be that the security risk outweighs that convenience.

ldjb··on Microsoft is killing WordPad in Windows
We also used PCs from RM at our secondary school in the late 2000s. At that time there was still a very similar exploit that allowed me to embed and run unauthorised programs inside of PowerPoint slide shows. Fun times.
ldjb··on Ask Microsoft: Are you using our personal data to train AI?
For reference, here is the text of Microsoft's upcoming Services Agreement:

https://www.microsoft.com/en-us/servicesagreement/upcoming.a...

And here is their summary of what has changed:

https://www.microsoft.com/en-us/servicesagreement/upcoming-u...

Page 1 of 12Next →