every apple device was like, "your password is incorrect!". and i thought i'd have reconfigure my laptop, but forgot about it and only later realized it still works. networkmanager chose the needed profile itself!
but also it turned out that i'm bad at crimping ethernet cables (like there was any doubt..), and i can't borrow a crimper from work to make another attempt as i'm staying at home. so we'll have half the normal connection speed until quarantine ends, it seems :x
fixed a lot of stuff today. xdg-open script for firejail, vnc settings, hwmon paths that weren't persistent, new gpg keys for the password store, webpack chunking (now chunks without changes don't get regenerated each time, so caching is much more efficient!) for meow.. it's good when computers work! it's a shame that it doesn't happen too often though.
switched back to chromium.. tired of vivaldi's bugs. i didn't wanna try vivaldi for a long time because i thought that a html/css/js cannot be good, even for a browser. turns out i wasn't wrong.
now i'll finally have good devtools where iframes work, debugger doesn't make the page unusable and i can configure responsive design preview.
and chromium feels *fast*, like, really fast, after vivaldi. (although the difference is only significant on my laptop, not on the pc at work.)
oh, wait, it breaks with either a service worker installed *or* loading from localhost, which is just as fast
what's weird, opening the link in a new tab by middle/ctrl-clicking it doesn't break it
i think vivaldi does some black magic like first spawning background tabs headless with zero width / height and only later setting them based on the screen size. and my code takes long enough to load for vivaldi to set the size. unless a service worker serves the files immediately. as for rel=noopener, maybe it takes width and height from the opener if it's set?
wow, i just love browser bugs. when i open a website by clicking on a link that has both rel="noopener" and target="_blank" in vivaldi (couldn't reproduce in chromium or firefox), document.getElementsByClassName("subcontainer").clientWidth is suddenly zero. also it only happens when that website has a service worker installed. how do i debug this?..
@snowyfox weird! i checked it in desktop chromium, works well too, must be another vivaldi bug.. it only breaks when i open it by clicking a link with target="_blank" rel="noopener", i don't understand why.
doesn't work when opened in a new tab after a link click for some reason.. but works after a page reload, weird
i made a four-in-line / connect 4 clone. it's another small project just for training, i wanted to learn canvas better. turned out not as hard as i for some reason expected. also it's fun!
i tried to make the host code unbreakable, but if someone finds a way to break it, please tell me :x
so windows has nothing to do with it, my settings do (don't remember setting them though). and i'm silly.
> In Firefox, you can also enable privacy.resistFingerprinting, the precision will be 100ms or the value of privacy.resistFingerprinting.reduceTimerPrecision.microseconds, whichever is larger.
this was the issue 🤦🏻♀️
> This timestamp is a decimal number, in milliseconds, but with a minimal precision of 1ms (1000 µs).
oh, nope, i was wrong. one of my animations renders 20 frames in blink and ~25 in firefox. but! blink gives me a good timestamp, the difference between frames is 16.67ms. and firefox gives me a bad timestamp, difference is 0ms on most frames and 100ms on each fourth or fifth frame. so my code draws four or five identical frames in each 100ms.
i understand that it's a meltdown / spectre protection, but how am i supposed to draw this animation.. and why does it work well on windows?!
works flawlessly on coworker's windows..
a strange girl interested in infosec and coding. loves her girlfriend. interact with my posts please!
A Mastodon instance for info/cyber security-minded people.