Skip Navigation
norambna Luis Norambuena @programming.dev

Python / Django developer Aspiring rustacean

Posts 82
Comments 20
0
Can You Use Raspberry Pi 5 as a Desktop Computer?
  • I own two Raspberries 1, a Raspberry 4 8GB and a Raspberry 5 8GB. I wouldn't recommend the 4 as a full-fledged desktop replacement, but the 5 has been very smooth so far.

    I'm currently using the latest Raspberry Pi OS Lite and installed KDE on top.

  • 0
    0
    Cheap, but reliable SSDs?
  • I was lucky then with the 4 A400 I'm still using. I also have 3 BX500 that have been very reliable.

  • Cheap, but reliable SSDs?
  • Kingston A400s and Crucial BXs have been very good as cheap SSDs in my experience.

  • www.djangoproject.com Django bugfix release issued: 5.0.4

    Posted by Natalia Bidart on April 3, 2024

    Django bugfix release issued: 5.0.4
    0

    Structlog With Django Is Awesome!

    via https://freeradical.zone/@loop0/112050005365112445

    0
    micro.webology.dev Choosing the Right Python and Django Versions for Your Projects

    When deciding when to adopt a new major or minor Python or Django version, I prefer to wait until the 3rd or 4th patch release because reliability significantly improves. Python and Django {major}.{minor}.{patch>2} releases are always more stable than {patch<3} releases. Understanding Version Number...

    via https://mastodon.social/@webology/112038739632429145

    2
    0

    Django: show me the SQL

    b0uh.github.io Django: show me the SQL - Thomas Loiret - Random thoughts

    6 different ways to see the SQL generated by Django.

    via https://mamot.fr/@b0uh/112008964213028547

    0

    via https://mastodon.social/@python_discussions/112007884021380487

    0
    OS Recommendations for 2014 MacBook Pro
  • I haven't used source-based distros, but I've installed Linux on a couple of older Macs. You will probably need to search for proper drivers for the Webcam and Wifi. Other than, you won't have any mayor problems.

  • I'm working on a distro recommendation flowchart/ list for newcomers and need your input please! (Post is not only this picture btw and is mainly text)
  • My own example. I still have an ancient netbook lying around. It runs on an Intel Atom N270, which is only 32bit / i386. It came with Windows XP and I quickly switched to Mint, when it was still supporting 32bit.

    I think the last Ubuntu release supporting i386 was 18.04 (around 2018) and all other distros started to drop i386 support after that.

    AFAIK Debian is the only major distro still fully supporting i386. And a Debian based distro that still supports i386 is MX Linux. My ancient and crappy netbook is running MX Linux right now.

    My 'weird' example. I have a Raspberry 5! It's ARM and very new. It runs its own distro, Raspberry Pi OS (Debian based), and Ubuntu does also fully support it. Right now if you try some other distro, it probably won't even boot unless you start tinkering a lot with it.

    So Debian is definitively a choice for very old hardware. And the odd ARM SoC has usually at least some custom Ubuntu build that runs with it.

  • Joining the Django community on Mastodon

    adamj.eu Django: Join the community on Mastodon - Adam Johnson

    Mastodon is a Twitter-like social network with a solid Django community presence. It’s a fantastic online arena for connecting with others, discovering news, discussing issues, and sharing FOMO-inducing conference photos.

    Django: Join the community on Mastodon - Adam Johnson

    via https://fosstodon.org/@adamchainz/111909379907107148

    0
    nedbatchelder.com One way to package Python code right now

    A simple example of how to package a Python project when you don’t want to get overwhelmed by confusing options.

    via https://hachyderm.io/@nedbat/111907682388334147

    1

    Django Blogs - Directory of Django bloggers

    djangoblogs.com Django Blogs

    Directory of Django bloggers. Find new authors or submit your blog!

    > Also used as source for https://djangofeeds.com/

    via https://iosdev.space/@nemecek_f/111888921284149938

    0
    micro.webology.dev How to test with Django and pytest fixtures

    Here are some notes on how I like to write tests for a Django app that tests a model down to a view. Django Model + pytest Fixture This part is a mouthful, but I prefer to use the Model Bakery library to automatically create instances of Django models (aka a fixture) with good test data instead of m...

    via https://mastodon.social/@webology/111882761328993606

    0
    blog.pecar.me Django SQLite Benchmark

    How to configure SQLite for better throughput with Django.

    Django SQLite Benchmark

    via https://fosstodon.org/@anze3db/111886211867020285

    0
    0
    learndjango.com 20 Django Packages That I Use in Every Project

    An opinionated list of Django third-party packages that I use to add more features to any Django web project.

    20 Django Packages That I Use in Every Project

    > A perennial topic but here’s my list of 20 Django third-party packages I use in almost every project.

    via https://fosstodon.org/@wsvincent/111877436564729345

    2
    www.revsys.com Django Debugging Bookmarklet Trick

    A little bookmarklet that redirects you from the current page to the same path on http://localhost:8000/. Helpful when debugging Django.

    Django Debugging Bookmarklet Trick

    via https://frankwiles.social/@frank/111846065845176197

    0
    fly.io Shedding light on Django versioning

    Documentation and guides from the team at Fly.io.

    Shedding light on Django versioning

    via https://fosstodon.org/@felixxm/111845046600605214

    0

    A curated list of awesome things related to building with Django "at scale"

    github.com GitHub - sakhawy/awesome-django-scale: A curated list of awesome things related to building with Django "at scale".

    A curated list of awesome things related to building with Django "at scale". - GitHub - sakhawy/awesome-django-scale: A curated list of awesome things related to building with Django &amp;quo...

    GitHub - sakhawy/awesome-django-scale: A curated list of awesome things related to building with Django "at scale".

    via https://indieweb.social/@djangonaut/111816389400105908

    0
    github.com GitHub - mitsuhiko/rye: An Experimental Package Management Solution for Python

    An Experimental Package Management Solution for Python - GitHub - mitsuhiko/rye: An Experimental Package Management Solution for Python

    GitHub - mitsuhiko/rye: An Experimental Package Management Solution for Python

    > Big update to rye is out: 0.18.0. Lots of bug fixes, lock files with source references for better docker support, global Python shims now pick up .python-version, automatic venv recreation on move. https://github.com/mitsuhiko/rye/discussions/544

    via https://hachyderm.io/@mitsuhiko/111790331145932934

    7
    Fitting logo for the community
  • Good idea! But the borders don't look good with a darker background. I'm seeing this right now: https://0x0.st/H0JJ.png

  • Cannot open instances
  • Same problem here!

  • A TUI interface for running Django Commands
  • django-tui 23.9 adds an interactive shell for running django ORM queries: https://fosstodon.org/@anze3db/111608276020943202

  • Is there any way to run a Python GTK3 apps on Windows? [Solved]
  • PyQT / PySide are huge, but they have been very good in my experience coding cross platform desktop programs. macOS, Windows and Linux (even on ARM) are very well supported.

  • Using WAL mode in SQLite and its interaction with VACUUM
  • The error you would get is a timeout. The easiest way to wait longer is increasing the timeout of your connection. I think the default value for a timeout is 5 seconds.

  • New goodies in Django 5.0
  • Look at ForeignKey -> Arguments: https://docs.djangoproject.com/en/4.2/ref/models/fields/#arguments

    In the sample in the linked page, deleting a Person object would also delete Order object/s linked to that particular person via the ForeignKey

    edit: although the syntax is usually on_delete=models.CASCADE

  • Geany 2.0 is out! | Geany
  • I use VSCode for coding, but if it's a small script or pure text files, then I use Geany.

  • First steps
  • IMHO the Django Girls tutorial should be your first step: https://tutorial.djangogirls.org/en/

  • Is there going to be Pro version?
  • I was also a Pro user and I'd gladly pay again for a Pro version.

    Ultra was too much for me on Reddit and here it's the same.

    Thanks!

  • Seeing how good Lemmy is makes me frustrated with Mastodon
  • I'm having a similar experience. Almost all developers (mostly Python/Django) I was following on Twitter are on Mastodon and being able to follow hashtags is great. The servers are stable and I kept the very first android client I tried (Tusky).