THE MEMORY OF THE CITY
log in
The Memory of the City
All Updates
Complete list of site changes

Eigengenomes, Part 2

When I wrote this, back in the before times (when graduate school seemed more like the Elysian Fields than it did a ravine full of a pile of dead Sisyphus impersonators), I honestly thought it was a somewhat strained analogy. Bacterial genomes were, I knew, somewhat prone to self-stabilizing. That seemed sort of like the right thing to map onto a matrix, with the eigenvectors being forces that act on it. But there's no really snappy way to refer to, specifically, a matrix that is part of a system with a set of eigenvectors and eigenvalues, so I twisted the metaphor, slapped the nice eigenvector label on it, and sort of let it go, like the shower thought it was.

But now, having long-since fled the ravine and all its boulders, I'm not so sure I was wrong. […]
Samantics comment   read more (1912 bytes) · 8456.268 tgc / 2019.905 ce

js Arrays and delete

Consider:

const animals = ['ant', 'bison', 'camel', 'duck', 'elephant'];

console.log(animals);
delete animals[2];
console.log(animals);

console.log(animals.filter((x) => { return x !== undefined; }));


This produces the output:

> Array ["ant", "bison", "camel", "duck", "elephant"]
> Array ["ant", "bison", undefined, "duck", "elephant"]
> Array ["ant", "bison", "duck", "elephant"]


Sometimes you just need to iterate over a non-iterable collection and delete things as you go. Now you can clean up after and not feel bad about it.

This question has been asked quite a lot by newbies, and they are invariably told to just use Array.prototype.splice(), but that has the annoying habit of immediately re-indexing the array.

I should probably mention that using delete on Array elements is slightly undefined behaviour; at least one checker (JSlint) apparently dislikes it. But the MDN page for Array is almost weirdly glib about casually discussing implementation details, so we'll just say YMMV.
Samantics 8456.268 tgc / 2019.905 ce

Your Writing System Sucks

I've come to believe that my approach to constructed languages is a little different from most conlangers. It seems to me that most people first fall in love with the phonology or diachronics of a natural language (or a family of natural languages), and spend as much time as possible fixating on sounds: for the unadventurous, 'build-your-own-Romance-language' is an entire genre, and will probably be the only way they'll arrive at something that can be used to write more than a few words. Beyond that, xenophilia is an overriding obsession: for phonologies that aren't nearly identical to English, [ɕ] is more common than [ɹ]. Maybe this is all just an artefact of how linguistics is taught in the average university curriculum, but it's always struck me as odd that so many conlangers immediately make a bee-line for the parts of the art that are the least creative. (And if a conlang does make it past the first post and get into some vocabulary, there's a good chance it'll have triconsonantal verb roots, which have become, for lack of a better term, a meme.) To avoid drawing out this too much, my favourite topics are more in the areas of glyphs and words. I'd rather see a dictionary with a nice alphabet chart than a complete set of sound changes and grammar. (Although grammar is, I suppose, neutral ground. It's pretty cool too.)

Anyway. With that venting done, let's talk about your conscript and why it's probably garbage. […]
Samantics comment   read more (13956 bytes) · 8455.997 tgc / 2019.39 ce

Tenuresse oblige

University politics. Woo.
Samantics comment   8455.683 tgc / 2018.795 ce

The Tumbling Dice Toy Factory

I recently got into a debate with someone over the legitimacy of the word 'gynoid.' Although the debate ended swiftly when the other party asserted that the mere action of being listed in a dictionary does not make a word a 'real' part of language, I did, in the course of things, find myself irked that I was not personally familiar with the original book that introduced the word 'gynoid' in the first place. I spend a lot of time ruminating on how human gender translates into the artificial realm, so this was surely a rather grave oversight.

Well, no longer. Allow me to relate my impressions of Divine Endurance, its philosophy, and how its values have weathered in the 33 years since its publication.  […]
Samantics comment   read more (8339 bytes) · 8455.56 tgc / 2018.56 ce

The Interrogation of the Fisherman

He had always been fond of flying animals. They made the long, hot days out on the raft more interesting, especially around noon when the glade was mostly quiet. Once he had befriended a raven—loosely speaking—by feeding it some of the undergrown crayfish he caught that he knew wouldn’t sell well at market. Its personality was much different from the usual bat-winged tigvi kept by rich women in the cities; less capricious, more patient. Admirable, in its own way. It had vanished a few days later, but not before returning the favour by depositing a clutch of worms directly into his tackle box as it flew off. How he envied its freedom. […]
Samantics comment   read more (8739 bytes) · 8455.159 tgc / 2017.799 ce

Don'tscovery

Failures, summarized:

Klingons—

- Needless Klingon redesign. They're not Drow. Stop making them wear Lolth gear. Somehow the Vulcans survived unscathed, showing that, no, it wasn't a 'let's have plausibly alien aliens' thing.
- Useless Bat'leth. The Discovery version can't be used to parry or disarm the opponent, and provides no protection for the fingers. No one thought this through.
- T'Kuvma continues to talk after his upper spine is severed.
[…]
Samantics comment   read more (2 comments, 5471 bytes) · 8455.14 tgc / 2017.762 ce

The Commonwealth and the Culture

It's easy to identify similarities between the Hatelese Commonwealth and Iain Banks's Culture. In a way, I intended for the Commonwealth to be a small echo of the Culture, an excuse to write Culture fan-fiction in the Thessian context. But the Hatel are not quite the same as their Banksian forerunners; they have very few alien members, looser moral standards, and a stronger legal system, rather than the taboos of the Culture. The following is an analysis of the differences and the similarities.  […]
Samantics comment   read more (6923 bytes) · 8455.105 tgc / 2017.696 ce

Tabletop Wanisin

Presenting history in a unique and engaging way is sometimes the most taxing of challenges an archivist can be faced with. In the course of such intricate decision-making about how to plan exhibits and sifting through millions of historical documents to discern what came to be relevant to the greater narrative and what can be relegated safely to obscurity, it often comes to pass that there is a period of silence on the part of the Museum which seems to drown out all else. Indeed all may seem quiet—but it is not exactly so. […]
News comment   read more (1249 bytes) · 8454.985 tgc / 2017.469 ce

Some Roman advice on preserving exceptions

With a recent effort to re-planetize Pluto by reclassifying dwarf planets as planets, I'm reminded of the most frequently stated preferred outcome of those opposed to Pluto's demotion: keep it a planet, for old times' sake (even though those 'old times' lasted all of about a century and are the same sort of blatant nostalgia that keeps Christmas music frozen in time), and leave the rest as dwarves. Let's run with that for a moment—make an exception. What's the worst that could happen? Friends, consider the pre-Julian Calendar. […]
Samantics comment   read more (4319 bytes) · 8454.855 tgc / 2017.222 ce


Previous Next
1 2 3 4 5 6 7 8