@norambna@fosstodon.org
@norambna@fosstodon.org avatar

norambna

@norambna@fosstodon.org

Python / Django developer :python: :django:
Aspiring rustacean 🦀

This profile is from a federated server and may be incomplete. Browse more on the original instance.

anze3db, to random
@anze3db@fosstodon.org avatar

The Rails community is going all in on SQLite 😮

“It exploits the power and embeddedness of SQLite to deliver a full-fledged SQL database, a fast cache , a robust job queue, a reliable message broker, a full text search engine and a metrics platform all in a single package.”

https://github.com/oldmoe/litestack

norambna,
@norambna@fosstodon.org avatar

@anze3db Very interesting! Searching for "sqlite memory-mapped i/o" I just stumbled upon this Rails PR: https://github.com/rails/rails/pull/49349

oliverandrich, to vscode
@oliverandrich@fosstodon.org avatar

These 3 lines of configuration for made my day. Finally, I got working autocomplete for all classes in . The last years I spent puzzling, why this doesn’t work, if I need to index more files and so on. But actually, depth was the issue.

norambna,
@norambna@fosstodon.org avatar

@oliverandrich TIL! Thanks.

jamescooke, to random
@jamescooke@fosstodon.org avatar

Any or people have any tips on how you handle privacy when demonstrating features?

I’d like to demo the current state of the bank CSV importer I’ve been working on, however I’ve only got my real credit card statements and my real ledger.dat file which means lots of private data leaks into the UI.

In a perfect world, I’d be able to generate a reasonable fake credit card export file and run it against a suitable fake ledger.dat.

norambna,
@norambna@fosstodon.org avatar

@jamescooke I usually make screencasts to explain new features of my apps to my clients. I upload them to YouTube, mark them as unlisted or private, then I share the link with my clients and delete the videos a week later. This last month Google has been deleting my demos almost inmediately, because they have sensitive data about people. I must investigate a quick way to blur the data or generate obvious fake data.

At least I know now, that I'm not alone with this problem.

oliverandrich, to random
@oliverandrich@fosstodon.org avatar

Spent the whole day stress testing Granian and I am really impressed. Performance is great for WSGI and ASGI. And the overall memory footprint is really small. https://fosstodon.org/@oliverandrich/111307731453550360

norambna,
@norambna@fosstodon.org avatar

@oliverandrich This piqued my interest. The documentation is sparse, specially for WSGI. How do you start using it with Django? granian --interface wsgi main:app

norambna,
@norambna@fosstodon.org avatar

@oliverandrich Thanks! I'll start playing around. 😎

AlSweigart, to random
@AlSweigart@mastodon.social avatar

deleted_by_author

  • Loading...
  • norambna,
    @norambna@fosstodon.org avatar

    @AlSweigart SMTP, yes I do very often for transactional emails. IMAP, once in my life and it was with Pascal (Delphi).

    webology, to random
    @webology@mastodon.social avatar

    I didn't expect zombie storm troopers, and yet here we are.

    Part of what I didn't like about Clone Wars was the witches which felt completely out of place. So this is pretty eye-rolly-filled for me.

    https://trakt.tv/shows/ahsoka/seasons/1/episodes/8

    norambna,
    @norambna@fosstodon.org avatar

    @danjac @webology The Expanded Universe books were canon for a long time. These books were turned into "not canon" only after Disney bought Star Wars. But Dave Filoni keeps using stuff from those books.

    realpython, to random
    @realpython@fosstodon.org avatar

    🎧🐍 Episode of the Real Python Podcast is live: Finding the Right Coding Font for Programming in Python

    What should you consider when picking a font for coding in Python? What characters and their respective glyphs should you check before making your decision? This week on the show, we talk with Real Python author and core team member Philipp Acsany about his recent article, Choosing the Best Coding Font for Programming.

    https://realpython.com/podcasts/rpp/170/

    norambna,
    @norambna@fosstodon.org avatar

    @realpython Nice episode, thanks! A small nitpick. I downloaded coding-font-overview.pdf and the "Features" for JuliaMono say just "Stylistic Alternates", but it also has "Ligatures"!

    mkennedy, to random
    @mkennedy@fosstodon.org avatar

    Need some advice Mastodon friends:

    I have an old wordpress.com blog that I keep around only so the links stay alive. It is effectively a static website.

    Any advice / tools to download everything (images, html, css, etc) into a static file structure I can publish to somewhere like Netlify?

    Thanks!

    norambna,
    @norambna@fosstodon.org avatar

    @mkennedy How did you solve this? I have a similar problem, an old, effectively static, Wordpress site that I want to keep around but hosted on Netlify or similar. Thanks!

    norambna,
    @norambna@fosstodon.org avatar

    @oliverandrich @mkennedy Simply Static sounds nice, but the site was running on an older version of PHP that was not compatible with the current versions of Simply Static. Upgrading PHP broke the template I was using and so on... I left everything as it was and wget was all I needed to download the whole thing and make a static site out of it.

    wsvincent, to random
    @wsvincent@fosstodon.org avatar
    norambna,
    @norambna@fosstodon.org avatar

    @wsvincent it says near the end: "While Visual Studio for Mac (IDE) is being discontinued, VS Code (rich text editor) for Mac will stick around."

    wsvincent, to random
    @wsvincent@fosstodon.org avatar

    I wonder if there's room for something between short tutorials and courses. Maybe "recipes" where I just show how to do common intermediate-ish Django tasks, but don't have to explain all the steps the way I normally do? So not docs that are abstract, still step-by-step, but more like here's the recipe and there are links to go deeper on the "why" if you need it.

    norambna,
    @norambna@fosstodon.org avatar

    @wsvincent yes, please!

    oliverandrich, to vscode
    @oliverandrich@fosstodon.org avatar

    Today is extremely annoying me again. Random hangs while running formatters and linters, that normally just works. Some hangs result in crashes which again result in lost code. I am reaching again the point, where I want to look into a different editor.

    norambna,
    @norambna@fosstodon.org avatar

    @oliverandrich Try instead of ! It works very well on VSCode and also on Sublime.

    AlSweigart, to random
    @AlSweigart@mastodon.social avatar

    Hey macOS and Linux Pythonistas: do you run pip or pip3 from the terminal?

    norambna,
    @norambna@fosstodon.org avatar

    @AlSweigart I use macOS and Linux. It's always pip for me.

    To clarify a bit. On macOS I use to install and then pyenv to get python. On Linux, pyenv is probably one of the first tools that I install.

    kytta, to random
    @kytta@fosstodon.org avatar

    Can you recommend me a typing trainer? I have never learned how to type blindly, and I want to improve my speeds. Monkeytype is cool, but it's more of a testing rig rather than an actual trainer.

    I would like to use one that would tell me the fingers to use to type letters. A desired extra would be support for numbers and symbols.

    norambna,
    @norambna@fosstodon.org avatar

    @kytta https://en.wikipedia.org/wiki/The_Typing_of_the_Dead 😅 That's where I learned the most!

    simon, to random
    @simon@simonwillison.net avatar

    OK, who can recommend a domain name registrar that:

    • Is boring and dependable and has a rock solid track record
    • Has a really good UI, including on mobile
    • Supports as many TLDs as possible
    • Isn't likely to get acquired by someone else
    • Ideally supports multiple payment methods as insurance against accidental card expiry

    I'd settled on Google Domains... but they just sold themselves to Squarespace! https://9to5google.com/2023/06/15/google-domains-squarespace/

    norambna,
    @norambna@fosstodon.org avatar

    @simon I've been using Namecheap for almost 20 years and I've never had a problem! And FWIW I recently tried Porkbun just because of their prices.

    webology, to random
    @webology@mastodon.social avatar

    Without saying Dropbox for anyone who wants to sync files over two or three machines, what services are you using?

    I used to use BitTorrent Sync (now Resilio Sync), but I rented my own bulk server for syncing files.

    My ideal situation would be sitting down at home, the office, or on my laptop and not having to think about whatever I was working on being there.

    norambna,
    @norambna@fosstodon.org avatar

    @webology another vote for Syncthing here.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines