Bad Apple через CSS: как заставить браузер страдать без единой строчки JavaScript
Есть проекты, которые рождаются не из практической необходимости, а из глубоко нездорового вопроса: а можно ли сделать это совсем не тем инструментом? Обычно, если человек хочет показать в браузере видео, он берёт video. Если хочет покадровую анимацию — пишет немного JavaScript. Он же служит и для потоковой передачи данных. Но все эти подходы слишком нормальные, а потому и недостаточно интересные. Поэтому давайте поставим себе задачу чуть более сомнительную, чем следовало бы: воспроизвести Bad Apple в браузере без JavaScript вообще, опираясь почти целиком на CSS и немного на серверную магию. Ну и чтобы окончательно не сбивать градус абсурда, бекенд мы тоже не будем писать на чем-то скучно-прагматичном. Если заниматься таким делом, то с достоинством: C++26 и Boost.Beast. Результат посмотреть можно тут и на GitHub .
https://habr.com/ru/companies/timeweb/articles/1026258/
#Ненормальное_программирование #JSfree #CSS #c++26 #bad_apple #метапрограммирование #timeweb_статьи
CSS cheatsheets are now available on FosseryWeb Min:
https://fosseryweb-min.codeberg.page/cheatsheets/css/
#FosseryWeb #FosseryWebMin #MinimalWebsite #Programming #ProgrammingCheatsheet #JSFree #JavaScriptFree #FosseryTech
HTML cheatsheets are now available on FosseryWeb Min:
https://fosseryweb-min.codeberg.page/cheatsheets/html/
#FosseryWeb #FosseryWebMin #MinimalWebsite #Programming #ProgrammingCheatsheet #JSFree #JavaScriptFree #FosseryTech
Based on some feedback and concerns about the usage of JavaScript on websites, my temporary solution to address the concerns was to be more open about the JavaScript usage on FosseryWeb, label the content for which it's needed, make some parts of the website JavaScript-free (where it was possible without rewriting the whole site). But now I decided to rewrite the site with another tech stack. I considered Python + Django and Java + Spring, but I decided to go with the latter, because Python is a bit controversial, many say it's "slow" and "bloated", so I guess Java will be a better choice. But unfortunately, to make this move, another hosting service is needed, since Codeberg Pages only supports the traditional HTML/CSS/JS stack.
CRITERIA I CONSIDERED FOR CHOOSING A HOSTING SERVICE
- it needs to be FOSS (because of my own "rule" to only use FOSS software/services)
- don't need my own server to host it (I know that would be the best option, but unfortunately I can't afford it currently)
- has a free plan with at least a few hundred MB of storage
- doesn't require an external service (GitHub, Google, Microsoft, GitLab, BitBucket, whatever) for signing up
- doesn't ask for any phone number or home address for signing up (and accepts SimpleLogin alias for email)
- has a decent privacy policy (doesn't sell data, or share it with anyone without a good reason)
After a relatively long research, I only found one service which fits all the criteria: Alwaysdata (I know, its name is a bit sus lol). It gives 100MB storage for free by default, but there's a 10GB free plan for FOSS projects, I emailed to apply for than plan, and my application was accepted, so now there will be a lot of room for the site to grow.
#WebDev #FosseryWeb #Website #OpenSource #FOSS #JSFree #JavaScriptFree #WebDevelopment #FosseryTech
Finally got the JS-free user selectable themes integrated into sidneys1.com :)