HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Xophmeister

no profile record

Submissions

Doctor Xælong, or: How I learnt to stop worrying and love AI

tweag.io
3 points·by Xophmeister·5 maanden geleden·1 comments

comments

Xophmeister
·22 dagen geleden·discuss
Why would a Labour government be interested in enriching wealthy Conservatives?
Xophmeister
·3 maanden geleden·discuss
If you have a Kaitai spec for the format, then its IDE[0] will do structural highlighting for you. This is web-based, but it doesn’t seem like too much of a stretch to implement a TTY version.

[1]: ide.kaitai.io
Xophmeister
·3 maanden geleden·discuss
Did his own publication from 9 years into the future ever materialise?
Xophmeister
·4 maanden geleden·discuss
Surely type checking on the keys of effectively arbitrary maps is just a folly. Maps shouldn’t be used for these purposes. If you know the members at compile time, then put them in a proper record type, like a struct or dataclass, etc.
Xophmeister
·5 maanden geleden·discuss
We have "part time" as well, but it's different from zero hours. Part timers are usually (AFAIK) salaried employees that work a fixed <1 FTE (but not zero) and paid pro rata, with the usual statutory benefits such as holiday entitlement, pension, etc. You _could_ work multiple PT positions, if you could get them to line up and your employment contracts say it's fine.

Zero hours, to my understanding, is different: I'm not sure what statutory benefits you're entitled to, but yes, I believe you can be signed up to many zero hour contracts and it's up to you whether you take a job with (in theory) no repercussions if you choose not to.
Xophmeister
·5 maanden geleden·discuss
I’m the author — shameless self-promotion, on my behalf, I’m afraid — AMA :)
Xophmeister
·6 maanden geleden·discuss
A chilling vision of the future, where phone books and checkbooks still exist ;)

I have the impression that nanotechnology was very in vogue for science fiction around the late-80s and early-90s…and yet, these days, it’s seemingly disappeared; both as a sci-fi trope and, AFAIK, an area of industrial/medical R&D. Why is that? Did it just atrophy, perhaps combined with unmet expectations, or did we discover some limit that makes the technology infeasible?
Xophmeister
·7 maanden geleden·discuss
It’s not. It’s been through several editing rounds. (I was one of the editors.) In theory, we don’t have a problem with AI generated content if it meets our high editorial requirements, but all Tweag technical blogs go through a rigorous, manual review and editing process to keep standards high.
Xophmeister
·7 maanden geleden·discuss
Didn’t D get an ownership model, a la Rust’s affine types, relatively recently?
Xophmeister
·7 maanden geleden·discuss
Nice; thanks :) I usually squash-merge. Does that break this workflow?
Xophmeister
·7 maanden geleden·discuss
Yeah, I do this too: The `--onto` solution feels a bit too magical at times and an interactive rebase is pretty clear about what's happening.
Xophmeister
·8 maanden geleden·discuss
Neat :) When I was a teenager, some 25+ years ago, I wrote a chaotic attractor visualiser like this — but only in 2D — and it occurred to me, “What if instead of visualising it, I rendered it to audio?” I don’t remember the details: I think frequency was correlated with polar angle and amplitude to magnitude. It forced me to learn how to write WAV format — which was my first introduction to endianness — but the result wasn’t completely inaudible! A bit like the sound effects for computers in old sci-fi movies; random(ish) but not discordant beeps and boops!
Xophmeister
·4 jaar geleden·discuss
There's a bug in his template.

He suggests to `set -eu`, which is a good idea, but then immediately does this:

    if [[ "$1" =~ ^-*h(elp)?$ ]]; ...
If the script is given no arguments, this will exit with an unbound variable error. Instead, you want something like this:

    if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
Xophmeister
·5 jaar geleden·discuss
I'd never heard of it, either, but its Wikipedia page[1] says it's been around since 1987, so it's a little bit older than Haskell.

[1]: https://en.wikipedia.org/wiki/Clean_(programming_language)