I know distributed systems are hard, but maybe syncing one device with itself shouldn’t be that hard of a problem? Why is iCloud shitting its pants here? Do they store timestamps up to the hour precision only, or what? https://www.dominikmayer.com/2023/09/icloud-drive-silently-deletes-your-content/ @nikitonsky There’s still <center> element on Google’s main page in 2023. They stick to traditions! @nikitonsky I love the document.f.q.focus() So, JDK 21 & Clojure. core.async go block -> Virtual Threads Seems like we might need a library there... @nikitonsky I cannot wrap my head around companies using Oracle Java. Why do they commit to it considering the recent licensing model change?! It is so hostile. @nikitonsky he probably thinks of this. Next google monetization approach - "Pay $8 to get first 3 results" @nikitonsky He’s not wrong: I have uninstalled my adblocker because I found the internet too plain. I find it weird that Windows doesn’t know how its own cursor looks like. All four (!) white ones look different Phew. Finally finished Cyberpunk 2077. Took me 120+ hours over few years, but I’m glad I’m finally done with it. Also, a great game! Google Fonts @googlefonts, as a project, is undoubtedly cool. But I never understood why they don’t have search. They are search company, after all. I mean, there is search, but it only searches for names. And you rarely need that. Try searching for a narrow font. Large x-height? Calligraphy? Cursive? Stencil? Not something that has the word stencil in the name, but actual stencil fonts, whatever the name. Hell, just for something that has italics? Would be so cool to search their archives @nikitonsky @grishka I wonder how much of it is actual camera tech (lens, etc) and how much is it improvements in software. @nikitonsky @grishka in 2007 a fiend of mine took an iPhone to the hiking trip to use as a photocamera. He was booed on afterwards. New project! A very simple Clojure Ring router that let you define routes in any order! WDYT? @nikitonsky ahhhhhh! 👀 cannot close my eyes, but I cannot keep them open either ... why does anybody do that evil .. thing ! Frontenders, question. I want my images 1. To scale down with container width, but not up over their natural size. 2. When page loads, have their height specified somewhere so that content doesn’t jump 3. Page can be loaded at any width, so just specifying full image height won’t work. It has to be the height of the container after it’s scaled down. I have full image dimensions and can do any math on server before producing HTML Is it possible? How? @nikitonsky I'm not a real frontender, but shouldn't it work if you specify the natural height as the "height" img tag attribute, and then set up the scaling via CSS? @nikitonsky The best way would be to set dimensions in markup for each image: <img width height> It helps browsers to render responsive images knowing their ratios even before they’re loaded: no jumping, better rendering performance. As for CSS: img { max-width: 100%; height: auto } Unlike your solution, this one won’t limit you to a certain aspect ratio set in CSS. Unicode exploration thread! Here are all currently assigned Unicode blocks. 1 small square == 256 codepoints. 1 large square == unicode plane, 65536 codepoints Purple are CJK Bright green at the end == private use. Latin is top three squares on the left Light gray == unassigned @nikitonsky it always stay behind. 😅 actually most of the usb-c phones in android world are USB-2 in it's core. 😞
Show previous comments
Every time I sit down to write a new blogpost, my local Jekyll setup won’t run. One of Ruby, Bundler, or Jekyll somehow randomly breaks itself. I don’t even use Ruby for anything else! Every. Freaking. Time. Can’t you people chill?
Show previous comments
@nikitonsky that’s why you use PHP 🤪 there you only have to update every other year when webhosts deprecate your version. @nikitonsky That was exactly the reason I switched to Hugo. Took some effort to translate the theme/template, but then it's just a single static binary... that's quite hard to break 😊 @nikitonsky Same here. I’ve migrated to the 3rd jekyll-recommended way of managing ruby, but it still happens… @nikitonsky does that support v2 or v3 of the PAN spec? I've had issues with mine and sometimes it just melts my phone. @nikitonsky wonder if it would work with a teapot, or it will error out with HTTP code 418 |