main problem with books is that they compete with all the other books i wanna read for the limited time im comfortable not wasting for stressing about all the work im not doing and using wisely for book instead
Posts by ala
started reading w(p)GtR, gotta go back to it.
id love to get an old edition of the perl llama book (new one is expensive) and just slowly read through it. these books are fun reads
i wanna read the gray awk book…
like the main issue is i would love to learn other languages than js but the thing with js is i have a very specific need for it that keeps me actually using it. i can read programming books but its just getting an overview obv, not actually learning it
before i realizd that i imagined itd be just html+css and if i really needed a script i would borrow one from online and barely be able to guess what it actually does. god, it would be absolutelly miserable. i wouldnt be even able to use a static site generator bc the docs would be incomprehensible
Element.prototype.conditionalClass = function(test,str) { if(test) { this.classList.add(str); } else { this.classList.remove(str); } return test; };
Check out a first look at Disney’s ASL re-animated songs from 'Encanto,' 'Frozen 2,' and 'Moana 2,' coming to Disney+ next week. The studio reworks key musical sequences using performance-driven signing.
www.cartoonbrew.com/music-videos...
WHY won't children layers move with parent even tho "lock children" is unchecked??? why cant i unlock children!??!?!? im gonna loose my mind and ill never learn how to fix that
im excited to follow graphite.art but even if it materializes according to the roadmap i wont be able to use it for my needs for many years most likely. but god, im still having my hopes up because blender already exists
god its so frustrating that affinity v2 will never receive any more updates and whatever awful oversights they will never ever get fixed unless im willing to make log into the new freemium affinity with a canva account (i dont wanna)
Star Trek The Original Series scene. We're in a CORRIDOR! A room door is open, and we see two crewmen spilling out into the hallway in red and blue uniforms. They are otherwise indecipherable tho because they are entirely enveloped in a big cloud of smoke. It's pouring out all around them and into the hallway area, like there's a Phish concert in there. Closed caption reads, "[COUGHING]"
i guess the answer how to do that in one expression i shouldve come up with in the first place was have a function for that and invoke it lol
but hey, just over a year ago i thought i would never get a chance to be learning programming at all (even tho i always knew i would enjoy it) until i came to a realization that "i do need to build a website eventually and what if i used it as a justification to actually start learning js"
i am fascinated by the idea of perl bc all i know about it is "whimsical" but im not confident i will ever be able to find the time and justification to be learning it
and proceeding with that realization to write stuff like…
element.classList[condition ? 'add' : 'remove'](token);
and i imagine this is possibly horrifying to a programmer but im just satisfied with myself for asking how i can do this in one expression and coming up with an answer;
its about the thrill of things clicking into place and slowly learning to think in the language and to understanding the syntax beyond the 101 tutorial. finally starting to think of functions as of values i can pass around, and of builtins as regular object properties
i am at this level of my hobby newb programming growth that as much as i intellectually understand why "good coding" should be clean and readable, in practice im like… nobody except me will ever need to fix this code and and learning to golf is more fun than learning best practices
Japanese sci-fi: two robots in space, yearning
American sci-fi: man gets the author's beliefs on polygamy confirmed by the aliens of ramalama IV
french sci-fi: two horny bounty hunters visit the Galaxy of Breasts
British sci-fi: nuclear war. Everyone dead. America's fault
but i may reconsider and go back to svg-in-img for noscript to minimize that flickering that made me go looking for this solution in the first place. i guess the biggest downside of that is that css filter is very new…
like the only downside i can see so far is extremely marginal noscript ux degradation whenever you can see reflow from the script-needing-svgs taking split-second to hide. i decided to ditch the <img> tags and use another <svg> as a noscript fallback but accessing external file in <use>
that post/script is over a decade old and still saved me from pulling my hair out over a contemporary browser. thank you Osvaldas Valutis!!!
i did replace localStorage with sessionStorage because i don't feel confident enough to use persistent storage, and sessionStorage does everything i need it to in this specific scenario
it works perfectly!!?! i didn't expect it to but i imagine putting the script tag right after body opening tag made it so it doesn't need to wait for the rest of the DOM to load and prevents the flicker? i mean it does obv flicker whenever the entire page flickers but i can't fix *that*
will anyone be mad at me for saving 40kb of svg to their machine? would i need a "cookie" banner for that or since its not tracking related would privacy policy page in footer be enough?
maybe i should try this. its requires js but if it ends up working and theres no flickering the noscript fallback is functionally equivalent to what i have in place right now
osvaldas.info/caching-svg-...
All creative endeavours produced and nurtured on common (art, writing) now being collected, duplicated, fenced off and sold back to us.
Since thinking is much harder to bar access to, AI is being pushed relentlessly as a crutch to breed dependence. They hope dependence leads to atrophy of skills.
wild cat, dinosaur park, route 23, ossineke, michigan, 1988
wild cat, dinosaur park, route 23, ossineke, michigan, 1988
please wake me up when they fix this bc im at a loss as to what the solution is. it worked the best when they were baked into html, i guess, but i dont have simple icons, these are whole wonky drawings, i cant justify putting that bloat back into my documents
geoffrich.net/posts/preloa...
my patch for now ended up being… i put svgs as <img> into html and control their "fill" with css filter and then, after a timeout, i replace those <imgs> with <svgs> programmatically. which is *also* bad bc there are rendering differences between img and svg and you can see the switch
i used to have all of my svgs inline which was terrible bs my svgs are huge. i learned about <use> and now have a 40kb cachable file with all of my buttons and stuff but then i discovered you can't preload svg for <use> case and in firefox at least it they were flickering on every reload