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 เดือนที่ผ่านมา·1 comments

comments

Xophmeister
·23 วันที่ผ่านมา·discuss
Why would a Labour government be interested in enriching wealthy Conservatives?
Xophmeister
·3 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·discuss
Did his own publication from 9 years into the future ever materialise?
Xophmeister
·4 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·discuss
I’m the author — shameless self-promotion, on my behalf, I’m afraid — AMA :)
Xophmeister
·6 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·discuss
Didn’t D get an ownership model, a la Rust’s affine types, relatively recently?
Xophmeister
·7 เดือนที่ผ่านมา·discuss
Nice; thanks :) I usually squash-merge. Does that break this workflow?
Xophmeister
·7 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·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 ปีที่แล้ว·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 ปีที่แล้ว·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)
Xophmeister
·5 ปีที่แล้ว·discuss
I subscribed last year via the app, so the subscription and payments were handled by Apple. When the NYT jacked up the price, it was quite straightforward to unsubscribe. I had heard horror stories like this before, so I'm glad I did it through Apple.

(It wasn't completely straightforward. I did have to search for how to do it -- I wouldn't have found the option otherwise!)