News for hackers. Stuff that matters.

jmtd

Re:LaTeX Makes Me Angry on Tuesday October 11, 2022 @12:04PM (#33165049)
No, I didn’t change the title. Blame the submitter :)
Re:LaTeX Makes Me Angry on Tuesday October 11, 2022 @12:01PM (#33165002)
Latex is a tool.
Re:Git Worktrees on Tuesday October 04, 2022 @06:19AM (#33078392)
description of git worktrees, in particular their usefulness for the workflow around openjdk backports
Re:Ask HN: What is your blog and why should I read it? on Wednesday April 08, 2020 @06:28AM (#22811667)
https://jmtd.net/

I've been blogging for about 20 years. Exactly what I write about has changed over that time (of course), but in recent times I've been writing about my PhD (applying purely-functional programming to distributed stream processing); cultural stuff I like, books, music, in particular Nintendo Switch games recently; free software stuff, particularly around Linux and Debian (I'm a Debian developer); note-taking and personal productivity; reading and archiving old media (minidiscs, ZIP drives, stacks of DVD-Rs, floppy disks); my fledgling adventures in 3D printing; retrocomputing and restoring my old Commodore Amiga; various classic Doom hacking projects I've worked on; running and maintaining a DIY free software NAS; computing history and preservation…

I wouldn't normally post in a thread like this but a friend put me up to it. Any feedback appreciated.

Re:Java 14 Feature Spotlight: Records on Tuesday February 04, 2020 @03:35PM (#22240647)
> but the fact that a two records can't share field names

That is awkward sometimes yes. Record fields are functions, and you can't have two functions with the same name in the same namespace.

You can, however, use namespaces to import two separate modules with conflicting names. It does mean you have to define the two different records in two different modules.

If, you want different records to have common fields because they are conceptually related, you probably want to use type classes.

Re:Red Hat Universal Base Image on Friday May 10, 2019 @12:04PM (#19879071)
openjdk 11 rhel8 image for openshift shipped yesterday
Re:Have a personal web site on Tuesday April 30, 2019 @07:37AM (#19786994)
> I started running a vanity domain name around 2000, for email and Web, and have a few thoughts based on that... > > Hosting chronology something like: home Linux box on ADSL, 2 different shared hosters, 1U in a colo facility, back to earlier shared hoster.

Much the same sort-of chronology and hosting story for me…

> For my real-name vanity domain, I went with a `.org`, since I didn't want to be a `.com` in personal life, though today I'd prefer `.net`.

I'm curious to pick your brains on that. I've gone the other way: I ended up standardising on a .net but I kinda wish I had the .org instead, my rationale is, .org is a closer match to what my site is: if I squint I can consider it to be an "organisation" of one, but I can't convince myself that it or I'm a network. I originally picked the .net because I thought it scanned better with my choice of domain.

Re:Have a personal web site on Tuesday April 30, 2019 @07:35AM (#19786985)
Me too. I have a simple static site/blog with mostly textual content going back to around 1999 and I'm lucky to have a reasonably unique firstname/lastname combo (ish); my blog currently is top on Google and Bing.
Re:Have a personal web site on Tuesday April 30, 2019 @07:33AM (#19786977)
> Try googling for John Carmack,

And what should the top match for John Carmack be, in your opinion? Where is his homepage?

FWIW on Bing I got his Wikipedia article first and his twitter accoount second, which seems like sensible results in his case.

Re:Android permissions and hypocrisy on Tuesday January 24, 2017 @06:06AM (#13470438)
Thanks. I didn't know that, but I don't install FB because of some other stuff I heard they did (like monitor the mic). Likewise messenger. I do access FB, but only from within Firefox, which I use soley for that purpose.
Re:Android permissions and hypocrisy on Monday January 23, 2017 @05:50AM (#13461271)
I'm trying to determine whether iOS apps could sniff my clipboard, and i haven't proven that they can't; it doesn't seem to be a specific permission that needs to be assigned or can be denied. And thus using 1Password on my iPhone to copy and paste passwords seems to have a bit of a risk to it.
Re:The Doom Movement Bible on Friday April 15, 2016 @11:03AM (#11504869)
For ultra purity, there's basically only Chocolate Doom (or DOSbox and the original game). For modern features (but losing the Doom "feel"), (G)Zdoom or Doomsday; for stuff in the middle, Doomretro, Crispy Doom, Prboom+, Eternity.

I'd say Crispy Doom (or Doomretro on Windows) are good balances.

Re:The Doom Movement Bible on Friday April 15, 2016 @11:02AM (#11504861)
Doomretro is lovely, but if you really want a close-to-pure-as-possible experience, look at the (parent) project Chocolate Doom.
Re:NPM and Left-Pad: Have We Forgotten How to Program? on Thursday March 24, 2016 @09:50AM (#11352725)
The OP's example ( is-positive-integer) has tests, and is only three lines long, and is on major release version 3.X, because despite all that, it had serious problems in versions 1 and 2.
Obligatory obnam plug: http://obnam.org
Re:Linux Mint downloads (briefly) compromised on Monday February 22, 2016 @10:31AM (#11151438)
The user interface/experience of PGP/GPG is not great, and that could do with fixing. However if you already understood how to use PGP (and granted that's unlikely for the users Mint targets), then you would not have been caught out by this.
Re:The NICAM Codec replacement project on Wednesday January 20, 2016 @09:46AM (#10938392)
They almost certainly are not moving ATA commands over those ribbons, so SATA wouldn't be much use.
Re:The NICAM Codec replacement project on Wednesday January 20, 2016 @09:44AM (#10938377)
Perhaps the title-writer has been infected by the BBC news editorial policy. They seem to be turning clickbait titles into a fine art, combined with renaming articles so you think it's a new piece on the same story, but turns out you've already read it. (If you read BBC News at all that is: my wife still does, I gave it up years ago and haven't looked back.)

I love many aspects of the BBC but sadly not their news output anymore.

(Sorry I realise this has very little to do with the R&D article.)

Re:Booting Linux in One Second [pdf] on Wednesday November 25, 2015 @05:39AM (#10626499)
If you need 8G of resident memory to have the apps you want running then you need 8G... no shortcuts. That is a pretty high figure, though. Afaik things like disk caches aren't restored during a suspend/resume.
Re:The Machine Stops by E.M. Forster (1909) on Monday November 02, 2015 @04:05AM (#10490787)
This was one of a series of stories re-published by Penguin for their 80th anniversary, as part of a series of shorts priced at 80p each. The Forster book had two stories (can't recall what the second one was, I've only read "the machine stops" so far).

http://www.littleblackclassics.com

Re:Debops (2014) on Monday July 27, 2015 @04:46AM (#9954078)
I think this is a big problem in the Java world, possibly more so than many other languages/communities.
Re:What happens if you remove randomness from Doom? on Tuesday April 28, 2015 @06:32PM (#9455488)
Took me a few days, but here's a video https://www.youtube.com/watch?v=SvfJoy1rjmo
Re:What happens if you remove randomness from Doom? on Tuesday April 28, 2015 @06:32PM (#9455486)
Took me a while but here you go https://www.youtube.com/watch?v=SvfJoy1rjmo
Re:What happens if you remove randomness from Doom? on Friday April 24, 2015 @08:24AM (#9432794)
The three zombie death sounds are on this page http://www.wolfensteingoodies.com/archives/olddoom/music.htm
Re:What happens if you remove randomness from Doom? on Friday April 24, 2015 @02:23AM (#9431717)
Yeah a video would be a good way to demonstrate this but it would take a lot of editing to do properly and I ran out of time last night and really wanted to get this out. I might post a follow up video later.
Re:What happens if you remove randomness from Doom? on Friday April 24, 2015 @02:01AM (#9431662)
Hi, article author here: it was the pitch shifting behaviour in particular that I wanted to explore when I modified the random table. Early versions of doom (<1.4) did it, but they accidentally removed that feature with a rework of sound code in 1.4 and onwards (including all versions of doom 2). It was originally applied to all but two sound effects, with special casing for chainsaw sounds (less variance afaik).

There were, however, three distinct zombie death noises, independent of pitch shifting.

Re:Introducing GNU Guix on Friday November 23, 2012 @09:15AM (#4822255)
I suspect the fact there's GNU Guile, an entirely in-house Scheme ecosystem, has a lot to do with it. Use Python and be beholden to the Python community (outsiders!) Use JSON (as someone else suggested) and be beholden to the Javascript/JSON community (outsiders! oh and that awful JSON license!) etc.
Re:Introducing GNU Guix on Friday November 23, 2012 @09:13AM (#4822238)
I'm not sure it's even a fork. It appears to plug a different backend/frontend into the nix structure, so it appears to be a "patch", for want of a better word. (at least that's what I gleaned from http://www.fdn.fr/~lcourtes/software/guile/guix-ghm-2012.201...)