HNHacker News
TopNewBestAskShowJobs

dasyatidprime

727 karma · joined October 4, 2015

Some sort of hacker-type creature. (The well-intentioned kind.) Austin, TX, USA. rtt at sdf.org.
submissionscomments
dasyatidprime··on Emacs appearances in pop culture
That's the source! That's the one I remembered but couldn't find! Thank you.
dasyatidprime··on Emacs appearances in pop culture
Having skimmed the article, I think he's correct about the most common use of macros (by far the single most common type of macro I write in CL is a body-to-lambda transformation, though being able to tweak the sugar makes a difference too), but then I think he kinda equivocates in implications between “80% of the usage” and “80% of the impact”. I also think Ruby DSLs cover a big chunk of that last gap (and it sounds like you might agree with me). Part of the classic Lisp Curse is that easy access to advanced metaprogramming indirectly increases social fragmentation, but part of the Blub Curse is that lack of access to advanced features causes people to have to solve the same dumb problems over and over again, so you lose efficiency and create different fragmentation. Having fancier metaprogramming functionality require a bunch of rigamarole but be possible to work through when you need it might plausibly hit a sweet spot in the middle there.
dasyatidprime··on Emacs appearances in pop culture
Notably, Yukihiro Matsumoto took substantial inspiration from Lisp while designing the Ruby language. You can see historical Lisp terminology in the Ruby interpreter sources (at least last I checked, which was a long time ago), like the use of “Q” to refer to a dynamically typed datum that can be stored in a cell.

(Hah, I just looked around a bit more, and Wikipedia cites an archived mailing list message that I don't remember seeing before: https://web.archive.org/web/20181027195101/http://blade.naga... I remember at some point Emacs Lisp specifically being cited as an inspiration, but I might be confabulating that, I didn't find a source for it.)

Also, here's a fun paragraph from the opening comments of quail.el (lightly reformatted):

> [There was an input method for Mule 2.3 called ‘Tamago’ from the Japanese ‘TAkusan MAtasete GOmen-nasai’, or ‘Sorry for having you wait so long’; this couldn't be included in Emacs 20. ‘Tamago’ is Japanese for ‘egg’ (implicitly a hen's egg). Handa-san made a smaller and simpler system; the smaller quail egg is also eaten in Japan. Maybe others will be egged on to write more sorts of input methods.]

dasyatidprime··on Ear Training Practice
> So what I usually do is compile a list of melodic hooks from popular songs my students enjoy. Every so often, we’ll play them and let the student try to pick them out on the piano or their instrument of choice.

As someone who had ongoing formal musical training from childhood through university, I can attest that multiple teachers used a similar technique, focusing on finding a group of commonly-heard melodies such that the first intervals encountered in them cover as much of the set as possible.

Haven't tried the game yet, but looking forward to checking it out later to see if I can offer it to some of my friends who want to learn music better!

dasyatidprime··on What it feels like to work with Mythos
The copyright to the Outlook binary isn't owned by the users either, even if they're running it on local hardware. The Opus 4.8 weights are (we assume) the same between users, but the conversation/tooling state is not shared between them by default. I prefer to route around this construction myself, since I do think there's some ontological slippery-slope potential, but from a lexical perspective I think “my” is a perfectly defensible abbreviation in context.
dasyatidprime··on The gamers taking on the industry to stop it switching off games
> it's much easier for everyone involved to ship a server binary like Valve has done for ages

This is drifting some from the original specific topic toward the broader conflict, but, not for everyone involved, surely? Will the audience run your server binary, under normal circumstances? Or will they say “Wow, you couldn't even be bothered to put up some basic servers for free? Jeez, you're saying I have to set up a whole account somewhere else and pay them just so I can have a multiplayer game, or set up weird-looking technical shit on my computer that might expose me to hackers? Nobody else asks me to do this, what is this bullshit”? Of course there are intermediary options here (one of which I describe below), but those don't necessarily let you do the “we didn't want to be in the hosting business” plan straightforwardly, so you might still have to take on a lot of the fixed planning costs.

The incentive gradient among consumers tilting so hard in the direction of indefinite active support becoming table stakes seems to be a core part of the vicious cycle here. “I shouldn't have to set stuff up” implicitly cedes control; if they're not doing the coordination, then someone is, and that someone gets hidden responsibility and power without compensation or effective voice, which is an unstable combination by default. This is a similar issue to what happens with convenient, centralized, subsidized social media and chat platforms.

Minecraft is actually an interesting borderline case here: the player license authentication and name/appearance binding is all centralized, and that could suddenly go away and leave everyone in the dark, but individual world servers can be run independently and there are a number of third-party hosting businesses based on this. Microsoft later felt compelled to offer Realms as a first-party means of setup, but IIRC those do take a recurring fee so it's not in the same unstable zone. But then we have a separate issue where, as far as I can dimly tell, a lot of people started expecting “game companies do the work to keep us safe on Their Platform” as, again, table stakes, and so they implemented non-repudiable digital signatures in chat to allow people on non-centrally-hosted servers to still report each other's chat messages to central moderation, which I must assume is another ongoing cost. (In the modded world there are mods that strip this.)

dasyatidprime··on SANA-WM, a 2.6B open-source world model for 1-minute 720p video
Most of the problem with browning is the physics: it requires temperatures well above boiling, but the default microwave absorber is water which will tend to saturate around boiling temp. But physical cookware design can be used to make it work: the article I linked prominently describes the use of a browning skillet with a tin oxide coating on the bottom that can safely absorb large amounts of microwave radiation and get hot enough to brown foods.

So partly due to that, I think if you wanted to do full robotic cookery with a microwave beyond the TV-dinner stage you'd still need control over the other objects rather than just switching the magnetron. Stirring for even heat distribution is another thing.

And then it's separately interesting how, in a really skew way, “deliver heat using RF energy” came back from a different angle with the rise of induction stoves!

dasyatidprime··on SANA-WM, a 2.6B open-source world model for 1-minute 720p video
You might both be interested in https://malmesbury.substack.com/p/my-journey-to-the-microwav... regarding the history of microwave cooking (not mine). The microwave oven wasn't known destined to be relegated to lowbrow cookery from the beginning, even if that's how it turned out from our perspective, and some of the more advanced techniques developed for it fell out of use.
dasyatidprime··on My Favorite Bugs: Invalid Surrogate Pairs
That's called CESU-8. https://www.unicode.org/reports/tr26/tr26-4.html
dasyatidprime··on If AI writes your code, why use Python?
Not what anyone was talking about. Training corpus ≠ inference engine.
dasyatidprime··on Incident Report: CVE-2024-YIKES
The dependency cycle is actually the functional mechanism of the code, because they subvert the dedup mechanism in the package manager using a random generation trick. Each recursive copy of the dependencies takes up a little bit more space, which ultimately gets converted to the spaces inserted into the original datum; the caller is expected to adjust the cache settings to signal the desired amount. That's also why if you're using left-justify to process strings, Yarn is recommended for best compatibility. /joke
dasyatidprime··on Incident Report: CVE-2024-YIKES
The tag list at the top of the page includes “satire”.
dasyatidprime··on Today I've made the difficult decision to reduce the size of Coinbase by ~14%
I think this is just semantic drift (though I am broadly sympathetic to “boo semantic drift”). I see this business use of the term as treating the “mind attuned to being immersed in” and “habitually, automatically reaches for” sub-meanings as the relevant ones, which is (almost as you say, but skew) not quite the same thing as “proficient when the ability is actively engaged”. The more you're trying to navigate a dynamic environment rather than hiring for tasks well-defined in advance, the more that distinction matters in practice.
dasyatidprime··on I'm scared about biological computing
What is the source line at the end representing there? I've read The Restaurant at the End of the Universe, and while it definitely contains (and I see it as a major cultural anchor for) animals bred to desire being eaten and be able to say so, it doesn't contain that particular scene (at least in the version I read). Is that line Baggini noting that his scene was inspired by the Adams book?
dasyatidprime··on Denuvo has been cracked in all single-player games it previously protected
Are you grouping the implementors with the crackers because they understand the limitations of the technology, or are you saying they're directly working with each other to scam the publishers and/or audience (and that this is sufficiently common to overturn the whole framing—a conflict can have some proportion of double agents and defectors while centrally remaining a conflict)? If the former, even supposing that many individual implementors and crackers would agree that the technology is inefficient/breakable/whatever, I still think the driving conflict that causes the implementation and the cracking to happen at all is between a broad cluster of agents around the game publishing activity (including managers, investors, game developers and artists, and more indirectly DRM implementors, integrators, and salespeople) and a broad cluster of agents around the unauthorized copying activity (including people who do ripping and DRM cracks on a technical level, distribution channels, and people who look to those channels to play games without buying them the authorized way). That there are principal–agent inconsistencies within each cluster seems like more of a sideshow; a war doesn't stop being a war because enough of the soldiers have realized that their weapons don't work very well, or because they realize that in some other world they'd have been on the same side.
dasyatidprime··on Denuvo has been cracked in all single-player games it previously protected
The “keep up the appearance of working” story feels like a misleading comparison to me, because the motivations are pretty much reversed. In the hypothetical factory, there's an external social element requiring the appearance of working, some observer to whom it looks good that this is happening: the way I read it, the assemblers and disassemblers may well be cooperating with each other to produce that appearance, so that the absurdity is visible from within (though they could also just be unaware of each other's assigned tasks). In the case of anti-copying technologies, game publishers trying to guard their revenue stream, and other groups trying to distribute or play unauthorized copies, are adversaries whose tactics create relative losses for each other that can bleed into the surrounding society: seems bad that it impacts other users / risks jobs and livelihood / is various forms of unfair (depending on one's moral feelings around which actions are ‘justified’), but their individual actions are incentive-aligned from within the conflict.
dasyatidprime··on A couple million lines of Haskell: Production engineering at Mercury
Escape analysis that sinks a local allocation is great in itself, but for newtypes for things like “trusted HTML vs plain text”, I feel like the primary benefits are deeply interprocedural. The type constraint is encoding a promise that can be carried from one end of the code base to the other, and where you can know for sure when you're writing a module whether you're on one side of a barrier or the other. I would tend to expect this to result in patterns that aren't well-handled by escape analysis.

What I'm imagining for my curiosity about the dynamic case would look more like “JS/Lua/whatever engine detects that in frob(x) calls, x is always shaped like { foo: ‹string› } and its object identity is unused, so it replaces the calling convention for frob internally, then propagates that to any further callers”, and it might do the same thing when storing one of those in fields of other objects of known shapes, etc. until eventually it hits a boundary where the constraint isn't known to hold and has to be ready to materialize the wrapper object there.

Kotlin and Scala sound like they're doing the Rust/C++ thing at the bytecode level, if it's being “erased”, so just the static case again but with different concrete levels for machine vs language.

dasyatidprime··on A physics engine with incremental rollback for multiplayer games
What you're describing isn't uploading the game, then, but uploading a stub with a transclusion of the game. I'm not the same commenter, but surely that doesn't answer (what I see as) most of the implications of the original question?
dasyatidprime··on Dotcl: Common Lisp Implementation on .NET
Re that last: FWIW, in Emacs Lisp (which is case-preserving and mostly lowercase by convention, without the legacy symbol case behavior of CL), docstring convention is to use single quotes for most literals and to use all-caps to mean the value of a local symbol—usually a function argument, but sometimes a variable introduced in running text for describing the structure of data or such. Last I checked, CL wasn't as consistent across projects, but I tend to carry the Emacs convention there when not conforming to a different local style, and wonder sometimes who would have their monocle pop off to see it…
dasyatidprime··on A couple million lines of Haskell: Production engineering at Mercury
> There's a performance cost to this

That part is (de facto) required for dynamically typed languages, but not for statically typed ones where the newtype constructor/deconstructor can be elided at compile time. Rust and C++ especially both do the latter by having true value types available for wrappers that evaporate into zero extra machine code.

But then just this moment I wondered: do any major runtimes using models with no static type info manage to do full newtype elision in the JIT and only box on the deopt path? What about for models with some static type info but no value types, like Java? (Java's model would imply trickiness around mutability, but it might be possible to detect the easy cases still.) I don't remember any, but it could've shown up when I wasn't looking.

dasyatidprime··on Mine, an IDE for Coalton and Common Lisp
> mine is not Emacs.

Ah… yes, okay, I see what they did there… chuckle, sigh. Well, it's arguably in the same grand cultural tradition as EINE and ZWEI at least!

dasyatidprime··on The Free Universal Construction Kit
… because "â€" and "ae" are visually similar?
dasyatidprime··on Girl, 10, finds rare Mexican axolotl under Welsh bridge
It's technically not just “an L” if we're trying to avoid Anglicizing the pronunciation, right? The “tl” cluster is its own affricate with a lateral fricative as its tail, or am I misremembering?
dasyatidprime··on OpenAI ad partner now selling ChatGPT ad placements based on “prompt relevance”
And to tie the third leg of the triangle back, ovals are called that because they're egg-shaped.
dasyatidprime··on State of Kdenlive
Is that due to patent issues? A lot of people running open source H.264 codecs¹ on Linux just ignore the patents and assume they're under the radar, but I bet a high-profile commercial entity can't get away with that. Like as a point of comparison, I remember the Raspberry Pi selling add-on license keys for certain codecs at one point for a similar reason, but that probably doesn't look like such a good strategy for a video editor on a niche platform. Then there was the thing where Red Hat had some kind of licensing deal with Cisco…

¹ I don't remember which implementations are subject to this or what the actual terms are.

dasyatidprime··on Microsoft isn't removing Copilot from Windows 11, it's just renaming it
You could indeed run Windows in a VM with PCI passthrough, and for a while long ago my desktop was Xen and I ran a Windows 7 domU which was attached to a second graphics card. Sharing a GPU at least used to be much harder; I think there's better options nowadays than before (paravirtualization-style GPU-command-level passthrough devices, and I assume some graphics hardware supports being split up for partial IOMMU passthrough in the way some high-end network cards do), but I don't know how they stack up for gaming performance.

However, the use case under discussion touches on things like handling kernel-level anti-cheat requirements, which is exactly the kind of place where I'd expect you to get in trouble trying to jigger around with virtual machines. Even before that point, I get the general feeling games and game platforms can get tetchy when you're not on Real Recognizable Hardware.

dasyatidprime··on Microsoft isn't removing Copilot from Windows 11, it's just renaming it
Normal/classical FDE doesn't truly protect integrity, only confidentiality. Supposedly LUKS2 allows you to run with --integrity, but it's an extra layer of I/O amplification, and if you're willing to take that hit then there's less incentive not to just use an external drive. https://security.stackexchange.com/questions/87367/does-luks...

As for Secure Boot, maybe? I haven't thought through how that would help in this context, but my instinct is to ask how you'd do the binding between “I intend to boot Y instead of X” and “only accept the boot signature for Y instead of X”, so that malware can't try to unexpectedly substitute X. It feels like there's probably places for attackers to mess around here unless you're very careful.

dasyatidprime··on Microsoft isn't removing Copilot from Windows 11, it's just renaming it
I've considered this for consolidating core hardware, but dual-boot doesn't do trust boundaries well. The Windows kernel still has full block access to the other device, so if it gets admin-level malware, it has free rein to infect the other system. At one point several years ago I got partway through a plan involving having most disks be externally pluggable (and assuming that firmware-level malware persistence is unlikely, which I'm not as sure about these days) but gave up for unclear reasons. I think if I were to try that again (and if I had the hardware for it) I'd try some kind of NAS approach to separate storage credentials from the OS.
dasyatidprime··on Union types in C# 15
I don't think they were trying to accomplish the same thing as the Scala/Haskell version; these are just two completely different things that happen to share a name because the blog post gave the example a name that is confusing when read literally. The purpose of the Cats version is “there is always a head element”. The purpose of the union in the blog post is more like “this can be a collection, but many callers will be thinking of it as a single element, so don't put the burden on them to convert it”. I do think it's a weak case for them in a type theory sense (I would tend to position that kind of implicit conversion elsewhere in the language), but I can also see it being motivating to a large class of developers…

… wait, I've made a different mistake here while trying to explain the difference, haven't I? I was describing it as a sum type, but it's not really a sum type, it's really just set-theoretic union, right?

Which also means OneOrMore is unsound in a different way because it doesn't guarantee that T and IEnumerable<T> are disjoint; OneOrMore<object> initialized from [x] will always return [[x]] from AsEnumerable, won't it? If I'm interpreting the switch expression correctly and the first case predominates, since a list is-an object? I don't have a test setup handy; someone with actual C# experience, please tell me whether that's correct or whether the compiler signals an error here or something…

dasyatidprime··on Union types in C# 15
The NonEmptyList in Cats is a product (struct/tuple) type, though; I assume the Haskell version is the same. The type shown in the blog post is a sum (union) type which can contain an empty enumerable, which contradicts the name OneOrMore. The use described for the type in the post (basically a convenience conversion funnel) is different and makes sense in its own right (though it feels like kind of a weak use case). I'm not sure what a good name would've been illustratively that would've been both accurate and not distracting, though.
← PreviousPage 2 of 12Next →