HNHacker News
TopNewBestAskShowJobs

alasdairking

37 karma · joined December 26, 2019

https://www.alasdairking.me.uk
submissionscomments
alasdairking··on Only 2.6% of the most visited websites have fully valid HTML
It never mattered. It only mattered that your site worked in the big browsers. Internet Explorer then, Chrome and iOS Safari now.

Developers would write their standards-compliant code, boast about it on Slashdot, then put in the hacks and weirdnesses to make it work on IE6. They could have skipped the standards step.

I don't say this is a good thing: I probably have XHTML pages on one of my old, private sites, and I ran them through validators.

But it was a waste of time, just like, I dunno, using WinUI instead of Electron is now, or not using React. Go with reality.

alasdairking··on So Reddit has decided that plain HTML is unsafe
No, my Microsoft Azure 2FA sends codes to WhatsApp, not SMS.

UK, where WhatsApp is absolutely mandatory.

alasdairking··on The curious case of the disappearing Polish S (2015)
This bug comes from a programmer trying to fix one problem - users press Control S and get a save dialog - by altering some fundamental and bug-prone behaviour.

Imagine the damage programmers could do if they had more options to meddle easily! They have low-level APIs if they need them to hook keys. Best leave it at that.

Meanwhile, there is the accesskey attribute in HTML to let you customise shortcut keys: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

alasdairking··on Digging into Drama at the Document Foundation
Clicked the link, "oooh, semantic document structure for scripts? Layout templates for libretti? Spellcheck rules for handling character names?" Oh well.
alasdairking··on I Love Board Games: A Personal Obsession Explained by Psychology
You should play at a games cafe or ask around for:

Pandemic. Ticket to Ride.

Modern classics, great fun, easy to get into.

For meatier games I really like Scythe: https://boardgamegeek.com/boardgame/169786/scythe

alasdairking··on Sins of the Children
Reminds me of https://en.wikipedia.org/wiki/The_Legacy_of_Heorot
alasdairking··on Parental controls aren't for parents
Try the XBox app on your phone, I managed to find settings there once that unlocked Minecraft.

I'd like a flag for messaging apps called "turn off images and video". Sure, my kid might get called nasty names in plain text, but would not get beheading or bestiality videos or underage schoolmate pics.

alasdairking··on .NET MAUI is coming to Linux and the browser
On Windows, with common messages boxes, you can just do Ctrl+C for copy and you get the message box text in the clipboard.

Don't know if that helps you particularly, but it is great when it works and little-known.

alasdairking··on 60k kids have avoided peanut allergies due to 2015 advice, study finds
Running experiments is really really hard due to regulations. Difficult to blame doctors for that.

https://www.astralcodexten.com/p/book-review-from-oversight-...

alasdairking··on Everything that's wrong with Google Search in one image
Absolutely this. It is so disappointing that the big tech companies provide ANOTHER opportunity for less-skilled users to make a mistake.

And a mistake that might hurt them with security and certainly cost and functionality.

And in a core, security-sensitive function like "what third party apps should I have on my personal device?" This is not searching for fun memes on Reddit!

alasdairking··on Voting age to be lowered to 16 by next general election
You can become a "junior soldier", which means you go to college in Harrogate until you are 18 and actually become a soldier.

https://jobs.army.mod.uk/regular-army/entry-options/soldier/

alasdairking··on Voting age to be lowered to 16 by next general election
You now have to 18 to marry. The age of consent remains sixteen. So having a baby is fine, but so long as you are not married.

https://www.gov.uk/government/news/legal-age-of-marriage-in-...

alasdairking··on Tips for using Gemini 2.0 for PDF ingestion
Totally agree. Great product. I wish I could feed in internal company meeting recordings though.
alasdairking··on Games Workshop and the big ambition of a miniatures business
Because it is blessed by the Emperor of Mankind. Glory to the Emperor!

It's great fun, smile.

alasdairking··on LLM based agents as Dungeon Masters
A good use for this is people wanting to try an RPG, but not having a bunch of people to do that with. A parent wanting to try out this D&D thing so he or she can run it with the kids, for example.
alasdairking··on The Battle Line at Louvain
It was only officially renamed in 1930.
alasdairking··on Ask HN: What's your "it's not stupid if it works" story?
ZX Spectrum BASIC. Numbers could only be 8 digits, needed more for a Spacemaster RPG ship designer program I wrote for my friends. Came up with storing values as strings and splitting/manipulating them as numbers when required. About fifteen years old. Probably the smartest thing I have ever written, grin.
alasdairking··on Alcohol without the hangover – scientists are finding ways
Yeah, this is like "pints of mild" in 1980s old man pubs in the North. I am skeptical such beers exist now in any mainstream pub or bar.
alasdairking··on [dead]
This is vital for accessibility tools, like screen readers for blind people. Also for as-you-type word prediction tools, autocorrection that works globally.

More generally power like this lets you turn Windows machines into A Thing That Does Just What You Want, rather than a locked-down thing like an iPad. Which are also great, but a different use case. For example, you could use this for exam proctoring, or kiosks, or remapping Windows keys to particular functions in your video game or Android emulator.

alasdairking··on The web’s most important decision
Nah. Adding the IMG tag. Without that, it is text only, and destined for limited uptake like Prestel or CEEFAX.
alasdairking··on Universal Install Script (2016)
You can use WiX Toolset version 4 to create Windows installers. Version 3 is Windows-only, but Version 4 runs under .NET "the-one-that-runs-on-Linux". It produces MSI files.

https://wixtoolset.org/docs/intro/

alasdairking··on Ask HN: What book changed your life?
Amazing book. The guy with the hatch. Understated heroism. Amazing.
alasdairking··on Dungeon Scrawl: Old school maps in minutes
You could try Amazing Tales by Martin Lloyd: super-simple RPG for kids: https://amazing-tales.net/
alasdairking··on If Sweden succeeds, lockdowns will all have been for nothing
It's a very good plan. We would have lower pollution, fewer deaths, higher living density, lower carbon emissions. It is, however, very unusual and unpopular.
alasdairking··on How One discovers the API for a COM-exporting application (2007)
The best way is to use Visual Basic 6 and add a reference to the DLL or EXE. Turn on hidden items in the Object Browser and play around!
alasdairking··on Filling in PDF forms with Python (2018)
Including Word nowadays!
alasdairking··on Ask HN: Editing and Email Accssibility for Stroke Victim
Sorry, it's late, and I am a n00b. You wrote email and editing.

Your friend's problems are largely about control and typing. They may be able to use one arm, but it may tire fast. Consider alternative mice, including trackballs. A keyboard if possible, perhaps a tablet with keyguards. If not, some kind of switch control for an onscreen keyboard: it will be slow but maybe more useful. One Switch Mouse, above. Built-in features, like Windows here: https://support.microsoft.com/en-gb/help/27936/windows-10-ma...

Eyegaze: cameras that track where you are looking. Hard to use, probably not best if your friend can use an arm.

Speech recognition: you really want Dragon Professional on Windows. If you can't get a trial of that, macOS speech recognition. You MUST MUST MUST have a decent mic. Windows 10 machine, try Windows Key + H in an edit box, or this freeware (my employer again): https://www.clarosoftware.com/login/admin/labs/#clarodrake

Expert in California: https://store.rjcooper.com/

Your friend is still regaining function, which changes the dynamic: using the built-in features, maybe with a trackball, might be best until you know where they end up. Again, this is an OT call.

Good luck!

alasdairking··on Ask HN: Editing and Email Accssibility for Stroke Victim
Most important question: what does your friend want to do that he can't? You're describing his limitations, not his goals. Does he want to read, but not write? A Kindle might be better than an iPad - longer battery life. Does he want to read, but not have to raise his arm to do the page turn? Then back to iPad but using a switch device that can be operated from one finger.

I'm not explaining this well, because I'm a technologist, not a therapist: in the UK the role would be "Occupational Therapist". However, in my experience, they are focused on improvement and the regaining of function: only when this avenue is exhausted will they begin to look at assistive technology. But I am probably being unfair.

Useful, maybe:

http://www.oneswitch.org.uk/gaming.php

https://www.webbie.org.uk/oneswitchmouse/index.htm (control the Windows cursor using only one switch: freeware from my employer)

https://sourceforge.net/projects/sawat/?source=dlp