Based on the code written yesterday at the "drawing with code open atelier" at Sesc. Using images from Wikimedia Commons! :)
Find the sketch-a-day archives and tip jar at: https://abav.lugaralgum.com/sketch-a-day
Code for this sketch at: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_06 #Processing #Python #py5 #CreativeCoding
Node.js runtime — executes JS server-side, has full OS access, file system, network, require() etc.
wasm-pack output — targets the browser (--target web). The generated search.js uses browser APIs (WebAssembly.instantiate, fetch) to load the .wasm binary. No Node.js involved at all.
If you buils with --target nodejs instead of --target web, wasm-pack would generate a package that works in Node.js using require() and fs.readFileSync to load the .wasm. Different glue code, same .wasm binary.
So the .wasm binary is portable — the JS glue changes depending on the target environment. --target web is what you want for the browser search.
#Rust is the implementation language, #WASM is the compilation target, JS is the glue.
No #nodejs #python needed only other thing I am tempted to try for this is #zig
And #typescript can be glue instead of #JavaScript which I personally hate
I can't get over the fact that Python has abandoned the community that use "vi mode" in their REPLs. #python #cli https://github.com/python/cpython/issues/118840
@ThePSF (Or 5th March according to the minutes https://www.python.org/psf/records/board/minutes/2001-03-05/. Who wants to fix Wikipedia?)
#Python
Happy 25th birthday to @ThePSF, founded on 6th March 2001!
https://mastodon.social/@victorhck/116182885602728740
BlogMore has very much hit the "invent problems to solve" stage now. I think it broadly does everything I need, and then some. Now I'm like "what if I add a ToC to the main archive if the browser is wide enough?"
So I did and I like it.
#programming #python #blogging #ssg #ai #experiment

Finally solved my issue of having a #Python #LSP showing all dunder methods first in #neovim. Great plugin!
https://github.com/lukas-reineke/cmp-under-comparator
New server, new #introduction (same me)
Hi my name is Elira, I am 18 years old girl from Canada, I have ADHD and I am asexual
which means I am attracted to anyone
I love cats and taking photos, my interests are #coding (currently learning #python ) and #opensource
I have 3 accounts I use which is link in my profile for anyone asking
i've been messing with a little script someone else wrote that creates a virtual xbox 360 controller where the X and Y joystick are controlled by a mouse. i modified it so you can control both virtual sticks with 2 different mice and left and right click of the first mouse also map to A and B. it handles relative values from devices as well as absolute values (such as what DualShock controllers use). it's been awesome on #microslop flight sim 2020, i use my smartwatch to control the collective and throttles in a natural way and a PS4 controller attached to a board which is itself taped to a big bowl to control rudder/tail rotor.
i ordered some actual flight pedals but it's good i still worked on this after ordering because the seller on ali might be doing something fucky, they told me the pedal isn't made anymore and to cancel the order. i'm not gonna do anything and see what happens.
repo if interested: https://github.com/tyzbit/msfs_mouse_yoke
(this code is not high quality, nor is it really intended to be right now)
#msfs2020 #msfs2024 #python #pythondev

Как я построил VPN-сервис на VLESS+REALITY для 670 пользователей и что из этого вышло
TL;DR: Поднял VPN-инфраструктуру на VLESS+REALITY с нуля. Telegram-бот + мини-приложение, горячее управление пользователями через gRPC без рестартов XRay, балансировка между серверами, почасовой биллинг. В статье — полный разбор протокола, почему DPI его не видит, как устроена архитектура на 670+ юзеров, и все грабли, на которые я наступил в production. Предыстория Полгода назад я решил разобраться, как работают современные VPN-протоколы. Не на уровне «скачал WireGuard, поставил, работает», а глубже — как устроено шифрование, почему одни протоколы детектируются DPI, а другие нет, и можно ли собрать что-то своё. Начал с OpenVPN. Потом WireGuard. Потом Shadowsocks. И каждый раз натыкался на одну и ту же проблему: DPI-системы провайдеров со временем учатся распознавать любой нестандартный трафик. А потом я нашёл VLESS+REALITY. И понял, что это принципиально другой подход. Соник, расскажи!
https://habr.com/ru/articles/1007540/
#vless #reality #xray #vpn #шифрование_трафика #dpi #tls_13 #wireguard #python #telegram_bot
Open Source Contribution
We just open-sourced our social media automation toolkit! Manage posts across Instagram, Facebook, Mastodon, and LinkedIn from a single spreadsheet.
Check it out and let us know what you think.
#OpenSource #Automation #SocialMedia #Python
inspired by some of your posts I did a talk at PyData Exter this week on the Grammar of Graphics and plotnine (python implementation)
I focussed on the conceptual strength which leads to a good "API" and compared it with the weaker conceptual framework of matplotlib
