"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPY
Python nathanpc 1y ago 100%
Resources for someone looking into moving from other languages to Python?

Hello Python community! There are a lot of resources online targeted at beginners that want to learn Python but very rarely do you see articles talking about moving to Python when you already have tons of experience in other languages like Ruby, and especially, many years of Perl experience and is interested in moving to Python. I'm not looking for information on how to program in Python, that's really easy to find and most of the learning curve will be learning about the standard libraries and overcoming the years of muscle memory from other languages. I'm looking for information on the following topics: - What's the recommended project structure for a library or a program that'll be distributed via PyPI? - What are the general best practices to follow when writing "clean Python code"? - What's the most commonly followed style guide for the language? - How does import work internally and how does it perform its path lookup for local files (specifically for importing modules internal to a project)? - How to properly set up pyenv for a project? (This one is tricky for me because the Python community loves pyenv and I'm used to having packages globally installed in Ruby and Perl)

16
4
Favorite Terminal Emulator
  • nathanpc nathanpc 1y ago 100%

    Gnome Terminal when I'm in GNOME, Konsole when I'm in KDE, and plain old xterm for i3 and any other WM. These just feel like they fit just right into their respective DE/WM.

    9
  • Do your part, try not to lurk!
  • nathanpc nathanpc 1y ago 100%

    I won't lie, if you look at my Reddit profile you'll see that I've commented more here in the last couple of days than probably the last 3 years on Reddit. The community just feels more welcome and I feel as if my comment will get read instead of being drowned out as it happens on Reddit.

    33
  • hackaday.com

    Ever since the Autodesk acquisition I've been stuck in version 7 and will probably stay in it until I retire, but it's extremely sad to see such an amazing piece of software die like this.

    1
    0
    Milk-V Surprises with a Second RISC-V SBC — Physically Compatible with the Raspberry Pi 3 Model B
  • nathanpc nathanpc 1y ago 0%

    I would really love to see more "RPi priced" (around $30) RISC-V SBCs. It's hard to justify paying $60 to get into an ecosystem that has very little support.

    0
  • Android’s distribution numbers remain as depressing as ever
  • nathanpc nathanpc 1y ago 100%

    Even with things like Treble the updates still have to come from the OEM, so unfortunately I don't see the situation changing any time soon.

    2
  • do you think the fediverse could replace popular social media
  • nathanpc nathanpc 1y ago 100%

    For most of the users currently online it's extremely difficult to understand the concept of federation and how everything works, so I doubt it'll ever be as prevalent as "the big social media platforms", but for technically-inclined users, it'll definitely have at least moderate success.

    18
  • Android’s distribution numbers remain as depressing as ever
  • nathanpc nathanpc 1y ago 100%

    It's quite sad that Google never figured out a way around this issue. The real problem is that they push the responsibility of updating to OEMs, which have no interest in updating their "old phones" (1 year old in most cases) because a new shiny one has been released.

    I think the only way to really solve this is to make Android like Windows used to be back in the XP days. OEMs get a base system and they can customize it to their hearts content, but the updates to the base always come straight from the OS developer, no matter if the "OEM customizations" are ready for it or not.

    2
  • ArchiveTeam has saved over 10.8 BILLION Reddit links so far. We need YOUR help running ArchiveTeam Warrior to archive subreddits before they're gone indefinitely after June 12th!
  • nathanpc nathanpc 1y ago 100%

    There are lots of extremely useful information that has been posted on Reddit over the years, just think of how many times you've searched for things like "best X alternative Reddit" and found a great app suggestion, or when you searched for an error and someone asked about the same thing on Reddit a couple of months ago. This knowledge needs to be preserved and we do need to help the Archive Team out so that we can keep this invaluable source of knowledge.

    6
  • lemmy.ml is overloaded, use other instances instead
  • nathanpc nathanpc 1y ago 100%

    Saldy it's very common to have this influx towards the "main server" as people that are not used to the federated aspect come to the platform.

    Either way, it would be interesting to collect this information and later post some metrics about the exodus from Reddit, kind of like how Fosstodon and other Mastodon instances did when Twitter had their issues.

    2