@ndw@mastodon.social
@ndw@mastodon.social avatar

ndw

@ndw@mastodon.social

By way of #introduction, I'm an inveterate hacker of markup (XML, HTML, SGML, TeX, JSON, DocBook, RELAX NG, XML Schema, Schematron) and wrangler of bits (XProc, XSLT, XQuery, Java, Scala, Python, JavaScript, C#). Author. Photographer. Occasional cook. Frequent bottle washer. Employed by Saxonica. Resident of Wales. Website tinkerer, https://norm.tovey-walsh.com/

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ndw, to random
@ndw@mastodon.social avatar

So, I put some code in a private repository on GitHub. Then Microsoft slurps it up and shoves it into their steaming pile of whatever they call it. Later, someone asks a question and they get a (maybe useful) slug of my code without any credit or respect for my privacy. Is that about right?

ndw, to random
@ndw@mastodon.social avatar

What's the state of the art these days (clean HTML, clean CSS, minimal JS) for tabbed views? I don't mean for whole page navigation, I mean for things like alternative code listings: here's an example in Java, C#, and JavaScript, pick the “tab” you want to expose the source code in your language of choice.

https://so.nwalsh.com/2024/02/05/184912

ndw, to random
@ndw@mastodon.social avatar

If you publish a software product on the web, is it necessary/reasonable/unnecessary/silly to publish the MD5 hashes of the download artifacts? If it's some flavor of reasonable to do so, what's the right way to go about it? Putting the hashes in web pages on the same server seems somewhat incautious.

ndw, to random
@ndw@mastodon.social avatar

The "Norman, I'm still waiting for your response. Random Person is waiting for your response." messages I get from LinkedIn irritate me far more then I think they should. Random Person sent an unsolicited request for my time and attention through a medium I rarely use. They'll get my attention when, if ever, I can be bothered. LinkedIn attempting to get my time and attention as well isn't improving my disposition to the request is all I'm saying.

ndw, to random
@ndw@mastodon.social avatar

What’s the open source, not enshitified alternative to Sonos? I’ve sort of been hanging on, but that new app…blergh.

ndw, to til
@ndw@mastodon.social avatar

Browsing in Emacs. TIL: Browsing (the web) in Emacs (in a couple of senses) really works well.

https://so.nwalsh.com/2024/01/09-emacs

ndw, to mastodon
@ndw@mastodon.social avatar

Is it just me, or is it really disappointing that an ordinary HTTP GET on a post returns a ball of goo that says "you need JavaScript" instead of nice, clean markup with some links for progressive enhancement?

ndw, to random
@ndw@mastodon.social avatar

In a sense, I suppose any spam message that catches my attention, however briefly, has been more successful than all the other spam messages, but "I'm applying for the post of barista, please download this attachment with my resume" seems so unlikely to succeed. The post of barista? Really?

ndw, to random
@ndw@mastodon.social avatar

I don't know who needs to hear this, but if your text message to me begins "(!) This is our SEVENTH attempt to contact you...", you should be aware that what this means is, I've failed to reply "stop" the previous six times. Also, the histrionics are persuasive, they persuade me that I don't wish to have anything to do with you.

ndw, to random
@ndw@mastodon.social avatar

Today in What The Actual Fantasy, JavaScript edition, I'm reminded that the JavaScript constructor "new Date(2024, 4, 10)" returns May 10, 2024 because the month (and only the month!) is zero indexed.

ndw, to emacs
@ndw@mastodon.social avatar

For the first time in...a few decades at least. Maybe ever. Emacs is regularly and unceremoniously segfaulting on me. Pretty clearly something to do with tree sitter, which is a bit frustrating. ( 29.3 on MacOS from brew)

ndw, to random
@ndw@mastodon.social avatar

This is one of those questions you can no longer usefully, practically ask internet search engines. Sigh. I want to upgrade four 3.5" SATA hard drives in my NAS. There are four 2TB disks in there now and I'm thinking of 4TB, 6TB, or 8TB drives. Seagate? Western Digital? Toshiba? Is there an obvious right answer or an obvious wrong answer?

ndw, to random
@ndw@mastodon.social avatar

Dear Dwr Cymru, the message about a water incident that may be affecting my area is not "likely to be confidential and may be legally privileged" as your footer suggests. Your lawyers are daft.

ndw, to emacs
@ndw@mastodon.social avatar

In an effort to adapt my behavior to suit the needs of [expletive] implementors who've deciced that line breaks are significant in things like Markdown forms, I made an effort to use visual-line-mode in and let Emacs do the wrapping. It kind of works but dear $DEITY it also kind of doesn't. I just can't. Am I doing it wrong?

ndw, to random
@ndw@mastodon.social avatar

If someone wanted to play with running some JavaScript code inside a JVM application, is there an obvious right JS implementation to choose? Nashorn is deprecated (I think). I see Rhino and Javet and maybe others.

ndw, to emacs
@ndw@mastodon.social avatar

tree-sitter iXML. An Emacs editing mode for Invisible XML using tree-sitter. “It works.” And it wasn’t even hard! And it works!

https://so.nwalsh.com/2023/08/22-tree-sitter-ixml

ndw, to food
@ndw@mastodon.social avatar

What do we want? Cheesy scones! When do want them? Right now!

https://so.nwalsh.com/2024/01/07/105429

ndw, to random
@ndw@mastodon.social avatar

The cooperative.computer site seems like a good/interesting idea. But I have no idea if keycloak, nextcloud, or matrix are reasonable or reliable services. I've no reason to doubt it, but if anyone with more experience wants to help a I'd appreciate it.

ndw, to random
@ndw@mastodon.social avatar

A quick search doesn't turn up any obvious results (hello, enshittified web of 2023), so I'll just ask. Is it easy/practical/possible to configure two different 2FA devices to generate the same codes? In particular, if a site only allows one user to be the owner of a resource and I don't want that to be a single point of failure, I'd like multiple users to be able to login. (Yes, sharing logins is bad, but I shouldn't be the only human capable of publishing a release at, say, npm.org)

ndw, to random
@ndw@mastodon.social avatar

It's really weird to me that macOS is "click-to-focus" but scrolling applies to the app under the cursor, whether it has focus or not. I'm in the (apparent) minority who think click-to-focus is wrong, so maybe no one else notices. Or something.

ndw, to random
@ndw@mastodon.social avatar

You wouldn’t download a country.

ndw, to random
@ndw@mastodon.social avatar

Dear "Transport for London", thank you for reminding me that my payment card was soon to expire. And whatever the opposite of thank you is for the shitty form that won't recognize a credit card number if it's pasted, only if it's typed out by hand. FFS.

ndw, to random
@ndw@mastodon.social avatar

Did I poke myself with the ice pick? Yes. Through my thumbnail? Also yes. Luckily, tequila is a good anesthetic and my drink is nice and cold.

ndw, to random
@ndw@mastodon.social avatar

Oh, look! I tinkered with some firewall rules at about 07:30 this morning and my stuff has been unreachable since. blush Fixed.

ndw, to random
@ndw@mastodon.social avatar

If the worst thing you can do to a corporation for flagrant violation of the terms of an agreement is fine them, and if the fine is a tiny fraction of the profit that arises from the flagrant violation, they're going to flagrantly and cheerfully violate the terms all the way to the bank. Liquidate them and incarcerate the C-level staff.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines