Show newer

counterexample re: javascript quiz 

@alyssa yeah i was trying to figure out if `$ + 0` was the fastest and easiest way to coerce `$` to never have negative zero (it is) and then i thought about it some more

@coriander i’d assume taking off 22.5° on each side but i’d probably ask to confirm lol

re: javascript quiz answer 

@aescling (by which i mean BigInt does not have this quality)

re: javascript quiz answer 

@aescling technically

@coriander i didn’t have it but the library at my elementary school did so we would all go there and play it during lunch

So far your written
material is too long
and complicated

re: new single from RA Scion & Urrks 

god i am so ready for seattle hiphop to make a comeback

Show thread

javascript quiz qualification 

assume `a` and `b` are integers, numbers, and that `a + b` is less than `Number.MAX_SAFE_INTEGER`; this isn’t a gotcha where `a` and `b` are strings and i’m not talking about rounding errors here

Show thread

javascript quiz 

is `-(a + b)` always the same value as `-a + -b`?

when people have encountered this sort of thing in the past, from trawling the github issues for glitchsoc 

@noelle @lauren @craigmaloney@octodon.social oftentimes it's because webpack ran out of memory partway through packing, meaning it wrote the file saying that it packed the thing without actually packing the thing

that's almost definitely where i've run into it too (trying to run masto on too small of a VM)

in that instance, RAILS_ENV=production bundle exec rails assets:clobber unwrites that file (well, it clobbers all the assets) so that webpack forgets its previous attempt and does the thing again

but you can fix that issue and still not get anywhere if webpack just doesn't have enough memory. NODE_OPTIONS="--max-old-space-size=350" or some other configuration may also be necessary if node or webpack are just not getting the resources they need

@noelle @lauren @craigmaloney@octodon.social i wrote the webpack configuration for glitch-soc so i can say it almost definitely is different from mainline (to support glitch's advanced themeing capabilities) but unfortunately that was almost six years ago so i can't remember any specifics (and it wouldn't surprise me if things had changed)

i've definitely dealt with something like this error before, which iirc i solved by shelling in and manually running webpacker to create a correct manifest in the right spot of the working directory and then redoing the normal asset compilation yada yada but again it's been so long since i've touched this that i can't give any specific steps to follow. (i think one of the rake tasks is bad but there is another more specific rake task which might fix the state so the more general one works again? idk. don't want to speculate but the answer is in that vein)

fediverse 

god, with all of these billionaires launching their own twitter replacements, it makes me envious. if only that was something us ordinary people could do

english language fuckery 

ok but my alternate english orthography IS actually pretty good

re: 📖 

@gaditb yes i think it is very false lol; XMPP enjoyed the support and brand recognition of the Jabber Software Foundation and jabber.org

english language fuckery 

@coriander speaking of, i forgot the other option

we can forget rhoticity and just go back to writing “all” as “orl”

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.