Trust isn't a given; it's a debt paid in daily installments of honesty. After a devastating betrayal leaves her world in pieces, she has Zero Trust.
Game Link: https://blackcatwhitehatsecurity.com/theGame12.cfm
#CyberSecurity #PowerShell #ColdFusion #AI #Networking #SQL #Cloud #GRC #Gaming #Technology #Python #ZeroTrust

Authorization без middleware: как я завернул Casbin в декораторы для FastAPI
Когда в FastAPI-проекте появляется нормальная авторизация, код быстро начинает расползаться в стороны. Сначала все выглядит терпимо: один Depends(get_current_user) , один Depends(get_enforcer) , одна ручная проверка. Потом роутов становится больше, правил доступа становится больше, и внезапно половина endpoint’ов начинает содержать не бизнес-логику, а обвязку вокруг нее. В какой-то момент меня перестал устраивать и классический подход через dependency injection в каждом роуте, и вариант с middleware. Хотелось, чтобы правило доступа было видно прямо рядом с маршрутом, но при этом не приходилось таскать авторизацию в сигнатуры всех функций. В итоге я собрал casbin-fastapi-decorator — тонкий слой над Casbin для FastAPI, который позволяет описывать authorization через декораторы. Идея простая:
https://habr.com/ru/articles/1018670/
#FastAPI #Python #Casbin #авторизация #rbac #abac #декораторы #api #open_source
Список литературы тоже умеет галлюцинировать: как я делаю систему проверки научных источников
Список литературы долго казался мне самой скучной частью научной работы. Пока не выяснилось, что именно там может прятаться очень неприятная штука: ссылка, которая выглядит убедительно, аккуратно и по‑научному, но в реальности либо ведет в никуда, либо вообще не существует. Когда я брала тему диплома, она казалась мне очень приличной и даже немного слишком аккуратной. Ну правда: что может быть понятнее, чем проверить список литературы? Берем научную работу, смотрим на ссылки, сверяем их с реальностью, находим ошибки, помогаем автору, делаем мир чуть менее хаотичным. На бумаге это выглядело как хорошая прикладная задача. В жизни оказалось, что библиография умеет устраивать маленький фестиваль боли. Сейчас до защиты у меня два месяца, и это как раз тот момент, когда уже можно честно рассказать не только красивую формулировку темы, но и то, почему проблема правда важная, что именно я пытаюсь построить и где все оказалось сильно интереснее, чем я думала в начале. Тема моей ВКР звучит так:
https://habr.com/ru/articles/1018664/
#машинное_обучение #NLP #обработка_PDF #библиография #научные_публикации #проверка_источников #DOI #Python #валидация_данных #галлюцинации_LLM
🚀 La barrera de la programación ha muerto. Hoy, tú eres el creador.
¿Siempre tuviste una idea para una aplicación sencilla pero desististe por no saber programar? Ese tiempo se ha acabado. La IA Positiva está devolviendo el poder de creación a las personas. La herramienta se llama Cursor (cursor.com) y es, básicamente, un constructor de software que entiende nuestro idioma.
No necesitas años de estudio, solo saber explicar qué quieres. Puedes crear un gestor de tareas personalizado, un conversor de archivos privado o incluso un analizador de datos para tu trabajo.
Todo se ejecuta localmente en tu ordenador, sin suscripciones y con total privacidad.
Cómo empezar en 5 minutos:
1 - Instala Cursor desde su web oficial.
2 - Crea un archivo llamado index.html.
3 - Pide a la IA en el chat lateral: "Crea una herramienta para [TU IDEA]".
4 - Haz clic en "Apply" y abre el archivo en tu navegador.
Es un salto de gigante en la soberanía digital. Dejamos de ser solo consumidores de herramientas de las grandes tecnológicas para ser los arquitectos de nuestras propias soluciones. La tecnología ya no es un muro, es un pincel. 🛠️✨
🔗 Guía paso a paso detallada en nuestro sub: https://www.reddit.com/r/IA_sin_Fronteras/s/gC8jpW26Ph
#IAPositiva #IA_sin_Fronteras #NoCode #Cursor #Programacion #IA #Productividad #Tecnologia #Software #Futuro #Creatividad #HechoPorTi #Claude35 #Coding #Innovation #UserEmpowerment #DigitalSovereignty #AI #Dev #Apps #Libertad #Solopreneur #BuildInPublic #SoftwareLibre #Empoderamiento #DIY #TechTrend #InteligenciaArtificial #Aprendizaje #Estrategia #DesarrolloWeb #IndieHackers #Inovación #Python #JavaScript #WebDev #FutureOfWork #SoberaniaDigital #HerramientasDigitales #Autoempleo #TransformacionDigital #CreaTuApp #SinCodigo #TechRevolution #Logic #Algoritmos #Democratizacion #CulturaMaker #GenerativeAI #PromptEngineering #SmartTools

Ich stelle mir ein Python-Script vor, das checkt, wenn ich innerhalb von Nextcloud News auf einen Mastodon-Link klicke und diesen dann innerhalb meiner Anmeldung hier öffnet. Also so dass ich mir den Umweg über Link kopieren, einfügen ins Suchfeld und Enter drücken, sparen kann.
Geht so was mit Python? Oder will ich da zu viel? 🤔
#Python #Scripting #Nextcloud #NextcloudNews
Activating Two Trap Cards at Once, or: A Gentle Response to the Popularity of Vibecoding https://lobste.rs/s/8lbmm8 #ai #math #plt #python #vibecoding
https://gist.github.com/MostAwesomeDude/560185c24f959f6fec229739cb5a6735
I wrote up my thoughts about OpenAI acquiring Astral.
#Python
https://www.mostlypython.com/so-openai-is-acquiring-astral/
Why are you learning Python if you haven't needed it before?
Many of the tools I use have Python embedded right in there and I need to do things that the tools don't do natively.
I can read Python and understand it, but not really write it from scratch without stumbling through and reading lots of docs, StackOverflow, and GeeksForGeeks.
I need to manipulate some data using Alteryx that comes from an API call. For reasons that are dumb, but insurmountable, Alteryx cannot call this API directly.
Alteryx has Python embedded and even includes an embedded Jupyter IDE. I have Python code that makes the API calls and pulls down the data.
The only way to get the data out of the Python blob is using a pandas datastream. Any field that was a list or dictionary in the original data, is just a string when it comes out in the same pickle format you'd get if you did a print from Python.
Alteryx doesn't understand pickle format. It barely understand JSON. But I need to convert pickle to JSON and I cannot find a reliable way to do that just using character substitution and regular expressions.
I can't get the data out of Python in JSON format unless you know how to force pandas to represent the data as JSON instead of native Python dict and list. Alteryx properly converts the other datatypes to Alteryx-native datatypes, just not those.
There are tools in Alteryx to unnest objects and flatten arrays but they have to be valid JSON.
When I try just replacing ' with ", None with null, True with true, and False with false, I get errors which I assume are from replacing an embedded or escaped '.
Alteryx error messages are terrible. The input is 18,000 lines, each one a dict to be parsed. I convert them to what I think is valid JSON and send them to the JSON parser which returns this error Missing comma or '}' after an object member. at character position: 170. Not which line it happened on. Not any context where I can search or find it. Just that.
Would anyone have a reliable way to convert the strings of pickle to valid JSON?
#Python #Alteryx #JSON #PCRE #regex #Pickle
Python Package Index (@pypi)
PSF Security 개발자들이 LiteLLM과 Telnyx를 대상으로 한 공급망 공격의 사건 보고서를 공개했다. 이번 보고서는 어떤 일이 있었는지, 누구에게 영향이 있는지, 그리고 개발자와 유지보수자가 향후 유사한 사고에 대비해 무엇을 할 수 있는지 다룬다. 파이썬 생태계 보안과 오픈소스 공급망 리스크 측면에서 중요한 업데이트다.
https://x.com/pypi/status/2039703352649425264
#security #python #supplychain #opensource #incidentreport
On my experience of rewriting a backend service generating text embeddings from Python to Rust:
https://svana.name/2026/04/i-rewrote-the-embeddings-playground-backend-in-rust/
Activating Two Trap Cards at Once, or: A Gentle Response to the Popularity of Vibecoding
https://fed.brid.gy/r/https://gist.github.com/MostAwesomeDude/560185c24f959f6fec229739cb5a6735

🗞️📨 🐍check your inboxes, a new PSF newsletter just shipped!
Want to stay up to date on the latest PSF, #PyConUS, PyPI, and #python news? Subscribe today:
https://www.python.org/psf/newsletter/