FastAPI imported in OpenBSD ports tree by Daniel Dickman - Modern, fast (high-performance), web framework for building APIs with #Python #OpenBSD https://github.com/openbsd/ports/commit/2e6584400ec692c15196d4133dbc0a0d4276ea3d
Коротко про виды авторизации
Эта статья будет интересна тем, кто особо не заморачивался, как устроена авторизация в бекенде, но хочет очень быстро въехать в тему. Мы не будем погружаться в самые недры реализации, но точно поймем как это работает и как прикрутить это на практике. Я буду использовать python и FastAPI, просто потому что так проще показать, но эти подходы работают и для других языков/фреймворков. Коротко, без воды, с примерами, схемами и домашним заданием. Что может быть лучше для самостоятельного изучения темы? Быстро срыть тему с авторизацией
https://habr.com/ru/articles/939662/
#jwt #jwt_auth #basicauth #base64 #python #keycloak

Pythonで様々なSQL処理を行えるSQLGlotの機能を試してみる
https://dev.classmethod.jp/articles/python-sql-sqlglot/
#dev_classmethod #Python #SQL #Amazon_Redshift #Snowflake #Google_BigQuery
Less Is More: How GROK 4 Redefines AI-Powered Coding.
#GROK4, #AI, #Coding #ArtificialIntelligence #Programming, #SoftwareDevelopment #Tech #Innovation #MachineLearning #CodingAssistant #Developer #DevTools #Python #CodeNewbie #TechInnovation
https://medium.com/@jckapadia003/less-is-more-how-grok-4-redefines-ai-powered-coding-9822db2da7c2

Also this is the first time I've done anything in #python in probably a decade? I'm pretty sure this is the first time I've used Python 3.
Is it really this easy? It's almost like writing English.
Hmm I also need to make sure the packages I'm using are all the right things for the job. I know #LLM hallucinations end up with malicious packages.
Anyway that's enough for tonight. I spent most of the night making #PyCharm and #SSH work on a #windows box (I know, I know 🙄... Switch to #Debian)
I decided to actually install an IDE and do some direct work on the #Python code tonight to capture high resolution images from the high resolution streams that #Frigate produces. I stripped out the #VibeCode checking for the latest recording via the API and instead used a dumb time offset from the #unix epoch. It works more or less. About a 15 second offset from the live feed seems to work.
I need to make it a bit more robust where if it doesn't find something at that time stamp it'll...
@diazona @ross no totally, I don’t feel guilt or shame about it.
It would be nice to write `#python and not ‘.*ML\s|.’ or ‘.*disrupt.*’` or some other higher level version of that.
Basic logic and pattern matching would be very nice.
So I've been playing around with the #geminiprotocol and it occurred to me that I don't actually know how #TLS works. I want to know if the stream is still encrypted even if I skip cert verification (I also can't seem figure out #TOFU in #python). I was able to snoop on the stream with netcat but not I'm not sure what I'm looking at, after all it is a binary payload. Is there a tool for talking tls or am I stuck reading the RFC and doing it by hand?
Need a quick source of random data? Numpy helped me generate random array data and then I dumped that to files and then archived the files into a single zip file.
https://snacktraces.com/programming/generate_random_data.py.html
(Yes, I know 'globals' are icky, just left them that way since this is a one off/)
python-fitbit データ取得クエリまとめ #Python - Qiita
https://qiita.com/fujit33/items/27d3f3142cf02bb46436
[python]「AttributeError: module(object) ‘xxx’ has no attribute ‘yyy’」が起きたときの対処法5選 #Python - Qiita
https://qiita.com/VDiUZnM1hUIzKvb/items/4d18ca1d781ed6ff2b2f