Pinned toot

i want a shortcut that mentions all users on the fediverse just to say how awesome they are

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!

Show thread

got a nintendo switch, can't use wi-fi wpa2-enterprise anymore >_>

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

Show thread

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

Show thread

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?

Show thread

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")[0].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

Show thread

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!

four-in-line.glitch.me

glitch is finally operational, so..

i made a small xss challenge! i'm not sure if it's too easy or not, i just wanted to play with and see if it's suitable for this task. but i'll be glad if someone tries to hack the target and maybe leave feedback afterwards :)

hack-me.glitch.me/

implemented a minimax ai for my game. it's a lot easier than i feared!

there's something cool about making game AIs. first you write some code, it does weird things. you try to debug it and understand its train of thought. eventually it starts making less weird decisions, and then you can't win..

i tried to make the host code unbreakable, but if someone finds a way to break it, please tell me :x

Show thread

glitch is finally operational, so..

i made a small xss challenge! i'm not sure if it's too easy or not, i just wanted to play with and see if it's suitable for this task. but i'll be glad if someone tries to hack the target and maybe leave feedback afterwards :)

hack-me.glitch.me/

so windows has nothing to do with it, my settings do (don't remember setting them though). and i'm silly.

Show thread

> 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 🤦🏻‍♀️

Show thread

> This timestamp is a decimal number, in milliseconds, but with a minimal precision of 1ms (1000 µs).

says mdn..

Show thread

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?!

Show thread
Show more
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.