home.social

Search

57 results for “orsinium”

  1. > which can be executed directly *by the Python interpreter*.

    This is why tools like #pyinstaller exist.
    @orsinium @apparebit

  2. @ShinNoNoir There are also (Lisp-Flavored Erlang) :lfe: and , both are nice languages running on BEAM.

  3. @warrickball @pyodide I use pyodide to run a whole bunch of things. For example:

    IDE for drawing images with :
    svg.orsinium.dev/

    with plugins:
    wps.orsinium.dev/

  4. @python_discussions That's not true. You need to specify `__all__` in `__init__.py` (and other facades) so that , , and 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.

  5. Today I got some time to find out why my takes a noticeably long time to start. The offender was . 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.

  6. @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 ¯\_(ツ)_/¯

  7. What are your favorite (or another similar IT ) episodes? I have a 10h flight ahead, and all I'm going to have there is an ipod.

  8. @aohorodnyk @ede I came here to say that. 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!

  9. @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!

  10. @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!

  11. @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!

  12. I received two new PRs with improvements to my platformer game Blutti from @orsinium

    I have released version 0.8 which contains these changes:
    github.com/ollej/firefly-blutt

    The 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.

    #GameDev #Blutti #FireflyZero

  13. @raiderrobert

    Wrestling with to make an adapter serializer that uses 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.

  14. @mgorny You can use to produce sdist distributions with autogenerated setup.py:

    flit.pypa.io/en/stable/cmdline

  15. From README for Tetris on CHIP-8 (1991). We should bring back sending feature request in an envelope with $5 attached.

  16. The previous post with the hashtag is me praising it's sqlalchemy integration. Oh irony.

  17. Last week I decided to pick instead of for a new 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.

  18. @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 and I personally found (ex ) quite nice (better integration).

  19. @attie

    1. The easiest way to get into microcontrollers for you is to buy @adafruit or and program it on , a limited version of .

    adafruit.com/product/4200

    2. will let you program anything and smartly utilize limited resources. Entry level is high.

    3. strikes the balance. It's easy to learn and with you can program any microcontrollers, including abovementioned pybadge.

    tinygo.org/

  20. @[email protected] I used to use drone.io as provider for all my OSS projects just because it supports as configuration format. Starlark is a simplified 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.

  21. @RenewedRebecca I personally used for programming adafruit and for programming a DJI Tello drone. In both cases, the experience was great.

  22. @RenewedRebecca Then is a good choice. There is Go compiler for all kinds of microcontrollers, and it also includes SDKs for all kinds of peripherals:

    tinygo.org/

    And is a collection of SDKs for robots, watches, and other tech:

    gobot.io/documentation/

  23. New project: a CLI tool that listens to audio input (microphone), saves the recording to a WAV file, and plays it back on the audio output (speakers).

    github.com/orsinium-labs/chamb

    That's it, that's all it does. I use it to record music from my audio sequencers ( and ) and hear what is currently playing.

  24. @leobm

    I recently made a nice framework for making wasm-4 games with :
    github.com/orsinium-labs/wasm4

    TinyGo now has the wasm-unknown target which makes really small and nice binaries.

    Also, if you have , you can use it as a handheld console for running wasm-4 games:
    github.com/orsinium-labs/gamgee

  25. New project: Runtime for running WASM-4 games on Adafruit and potentially other small devices/

    github.com/orsinium-labs/gamgee

    Written in , it uses wasmi crate to run modules with very little space and memory requirements. The binary is just about 270 Kb and the runtime uses for itself just a few Kb of RAM giving the rest to the game.

  26. @[email protected] Good luck with your journey! Programming is fun, and is very versatile. I use it to generate art, produce assets for my board game, power lots of websites, notify me about things, analyze and visualize data. Oh, and it pays my bills.

    I've got last week. However, I use instead of Python to program it, which seems to me like a better fit for small places.