Search
26 results for “orsinium”
-
@orsinium I know, they stole email from us claiming to combat spam and somehow there is still spam
==Email==
Maybe I only need to receive email over SMTP.
Otherwise email transfer using NNCP with known-trusted-hosts of friends and family?
Perhaps #FOAF even?
Perhaps as part of NNCPNET?
Maybe (text-only) #USENET also via NNCP?
Edit: bc I just found #NNCP and #NNCPNET and think this could be a solution
==Webdev==
I can use #RubyOnRails as needed ¯\_(ツ)_/¯
-
@warrickball @pyodide I use pyodide to run a whole bunch of things. For example:
IDE for drawing #svg images with #python:
http://svg.orsinium.dev/#Flake8 with plugins:
https://wps.orsinium.dev/ -
I received two new PRs with improvements to my platformer game Blutti from @orsinium
I have released version 0.8 which contains these changes:
https://github.com/ollej/firefly-blutti/releases/tag/v0.8The movement has been improved to allow both walking and running depending on where on the touchpad you press.
It also now follows the recommended guidelines for which buttons to use.
-
> which can be executed directly *by the Python interpreter*.
This is why tools like #pyinstaller exist.
@orsinium @apparebit -
Today I got some time to find out why my #zsh takes a noticeably long time to start. The offender was #nvm. As I removed it, the time got down from 450ms to 60ms.
To time startup of zsh vs bash:
$ for i in $(seq 1 10); do /usr/bin/time bash -i -c exit; done
$ for i in $(seq 1 10); do /usr/bin/time zsh -i -c exit; done
To find how long each plugin takes at startup, add `zmodload zsh/zprof` at the top of `~/.zshrc` and `zprof` at the bottom.
-
Wrestling with #DjangoRestFramework to make an adapter serializer that uses #pydantic for validation.
DRF embodies all the worst things about Java-style OOP. There are base classes, mixins, attributes that must not be used before you call a specific methods, nothing is documented, and, of course, not annotated. Even drf-stubs project that supposed to annotate DRF is full of Any. And then we also stuck with pydantic v1 where you can't have custom serializers.
What a day.
-
What are your favorite #corecursive (or another similar IT #podcast) episodes? I have a 10h flight ahead, and all I'm going to have there is an ipod.
-
1. The easiest way to get into microcontrollers for you is to buy @adafruit #pybadge or #pygamer and program it on #circuitpython, a limited version of #python.
https://www.adafruit.com/product/4200
2. #Rust will let you program anything and smartly utilize limited resources. Entry level is high.
3. #Golang strikes the balance. It's easy to learn and with #tinygo you can program any microcontrollers, including abovementioned pybadge.
-
@[email protected] I used to use drone.io as #CI provider for all my OSS projects just because it supports #Starlark as configuration format. Starlark is a simplified #Python designed for writing configs and safe execution. It saves quite a bit of repetition and I wish more CI providers would support it. Unfortunately, I had to migrate to Github Actions because Drone just stopped working one day.
-
@aohorodnyk @ede I came here to say that. #Taskfile syntax is very similar to the examples in bkn, so it might be a good inspiration.
And there is nothing wrong about reinventing things. It's fun, you can a lot along the way, and maybe you can even make something better and be an inspiration for someone else. Keep going!
-
@aohorodnyk @ede I came here to say that. #Taskfile syntax is very similar to the examples in bkn, so it might be a good inspiration.
And there is nothing wrong about reinventing things. It's fun, you can a lot along the way, and maybe you can even make something better and be an inspiration for someone else. Keep going!
-
@aohorodnyk @ede I came here to say that. #Taskfile syntax is very similar to the examples in bkn, so it might be a good inspiration.
And there is nothing wrong about reinventing things. It's fun, you can a lot along the way, and maybe you can even make something better and be an inspiration for someone else. Keep going!
-
@aohorodnyk @ede I came here to say that. #Taskfile syntax is very similar to the examples in bkn, so it might be a good inspiration.
And there is nothing wrong about reinventing things. It's fun, you can a lot along the way, and maybe you can even make something better and be an inspiration for someone else. Keep going!
-
@mgorny You can use #flit to produce sdist distributions with autogenerated setup.py:
https://flit.pypa.io/en/stable/cmdline.html#cmdoption-flit-build-setup-py
-
@mgorny You can use #flit to produce sdist distributions with autogenerated setup.py:
https://flit.pypa.io/en/stable/cmdline.html#cmdoption-flit-build-setup-py
-
@mgorny You can use #flit to produce sdist distributions with autogenerated setup.py:
https://flit.pypa.io/en/stable/cmdline.html#cmdoption-flit-build-setup-py
-
@mgorny You can use #flit to produce sdist distributions with autogenerated setup.py:
https://flit.pypa.io/en/stable/cmdline.html#cmdoption-flit-build-setup-py
-
Last week I decided to pick #litestar instead of #fastapi for a new #python microservice and I already regret this decision. I can't make DB rollbacks work in tests because the test client runs the server in a separate thread with its own event loop. And it feels like I'm the first one doing it and there is no community to help.
I learned a valuable lesson: don't underestimate the importance of community. Sometimes, it's better to go with mainstream. Especially for commercial projects.
-
@python_discussions That's not true. You need to specify `__all__` in `__init__.py` (and other facades) so that #mypy, #flake8, and #ruff know that these packages are imported to be exported. Then flake8 and ruff won't report unused import and mypy will allow reexports from the module.
-
@glowrocks Django is still very much alive and I, unfortunately, work with it daily at my job. It didn't age well, though. The support for asyncio is still quite rough, support for typing is third-party (see django-stubs) and painful, and it hides too many things (the ORM makes it too easy to make bad requests). The modern most hyped web framework is #fastapi and I personally found #litestar (ex #starlite) quite nice (better #sqlalchemy integration).
-
@RenewedRebecca Then #golang is a good choice. There is #tinygo Go compiler for all kinds of microcontrollers, and it also includes SDKs for all kinds of peripherals:
And #gobot is a collection of SDKs for robots, watches, and other tech: