@ghickman@mastodon.social avatar

ghickman

@ghickman@mastodon.social

Python, engineering best practices, D&D chat, all things Sci-Fi/Fantasy. Hash tag farm lyfe.

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

ghickman, to random
@ghickman@mastodon.social avatar

@bitprophet rain!

SebastianM6L, to django
@SebastianM6L@mastodon.social avatar

what is the preferred way of creating data ingestion pipelines in ?

I have a few systems where I need to invest the data from an curious what ways are preferred or considered as good vs mine 🤣

ghickman,
@ghickman@mastodon.social avatar

@SebastianM6L my preference is to build it up in layers:

  • optional raw data validator (depends on trust in the source)
  • parser to convert raw data to internal representation (I love attrs for the storage here)
  • serialisation layer
  • entry point layer
  • management command for local testing/cron
  • optional webhook handler

Depending on your situation these layers can be anything from modules down to single lines!

bitprophet, to random
@bitprophet@social.coop avatar

Boy howdy, I don't understand folks who willingly use a laptop all dang day when they have the opportunity to use actual peripherals.

This shit isn't just "not ergonomic", it is /anti/-ergonomic.

(Bonus points for “hotel desk/chair is designed for tall people” 😩 I guess I need a travel booster seat now, like a child at a family restaurant.)

(Or I need to take a page from some tweeps earlier today and simply stop bringing the laptop altogether.)

ghickman,
@ghickman@mastodon.social avatar

@bitprophet as a tall person, I can assure you hotels commit ergonomic violations against us too. I’m not sure who the desk in my room is designed for but pretty sure they need to be at least 7ft tall 🤷‍♂️

ghickman, to random
@ghickman@mastodon.social avatar

LHR JFK 🛬 PIT

ghickman, to random
@ghickman@mastodon.social avatar

LHR JFK 🛫 PIT

ghickman, to random
@ghickman@mastodon.social avatar

I really need to remember my rule about not flying through JFK.

ghickman, to random
@ghickman@mastodon.social avatar

LHR 🛬 JFK PIT

ghickman, to random
@ghickman@mastodon.social avatar

LHR 🛫 JFK PIT

nanorepublica, to django
@nanorepublica@indiehackers.social avatar

📣 Common Django Project structures - Part 3
📄 A very simple setup, useful for demos or very simple prototypes
🔗 https://softwarecrafts.co.uk/100-words/day-91
,,

ghickman,
@ghickman@mastodon.social avatar

@carlton @nanorepublica this is my preferred layout too, even for medium sites. I should write up my thoughts on Django apps at some point 🤔

ghickman,
@ghickman@mastodon.social avatar

@carlton I knew you’d say that! Soon… maybe. I have a feeling it might be contentious 😬

hynek, to random
@hynek@mastodon.social avatar

how did we even fly before

ghickman,
@ghickman@mastodon.social avatar

@hynek is that Flighty in the Dynamic Island?

ghickman,
@ghickman@mastodon.social avatar

@hynek ooh fancy. Just been poking around in the app and their pricing structure is brilliant for filthy casuals like me!

bitprophet, to random
@bitprophet@social.coop avatar

Weather for looking decidedly not amenable to outdoor socializing. Boooo.

ghickman,
@ghickman@mastodon.social avatar

@bitprophet YOU CALL THAT RAIN

But seriously, I’ll chill with you in the rain, it probably won’t surprise you that I’m pretty used to it by now 😂

ghickman,
@ghickman@mastodon.social avatar

@mpirnat @bitprophet the forecast volumes are looking very low too so could just be passing showers 🤞

SebastianM6L, to django
@SebastianM6L@mastodon.social avatar

Any cracks here who can explain me why when I run my tests with the django built in manage.py test (runs unittest) I have 51 tests run.

When I run them with pytest It will only run 38 tests.

ghickman,
@ghickman@mastodon.social avatar

@SebastianM6L You'll need your test modules to be named test_*.py, and for packages to have a init.py so pytest will consider them. Good luck!

ghickman,
@ghickman@mastodon.social avatar

@SebastianM6L brilliant! May your tests run fast, and consistently then :)

sigmavirus24, to random
@sigmavirus24@hachyderm.io avatar

Why are researchers trying to enshittify commit messages with LLMs when we already have reached peak enshittification with conventional commits?

ghickman,
@ghickman@mastodon.social avatar

@sigmavirus24 LOL 🔥

ghickman,
@ghickman@mastodon.social avatar

@sigmavirus24 oof yeah, I’m not a fan of that either. I saw conventional commits being used to help bump semver version numbers at a previous gig. It was buggy, and IMO pointless for internal software.

nanorepublica, to random
@nanorepublica@indiehackers.social avatar

I am still setting up my new laptop, I'm taking my time and also not trying to be overwhelmed by getting a proper dotfiles repo setup.

Three questions that come to mind:

  1. Any recommendations for dealing with credentials (typically some form of API key) that live in config files that I would want to live in my dotfiles repo

  2. Similarly for transferring SSH keys.

  3. What do mac users do for local files that aren't in some form of git repo (pdfs, office files, etc) Migration Assistant?

ghickman,
@ghickman@mastodon.social avatar

@nanorepublica

  1. store them in your password manager and pull via the CLI is a nice flow these days

  2. you can store them in your password manager, but I found having to unlock that multiple times a day did not bring joy, so I just scp them between machines, and don’t store .ssh in my dotfiles repo

  3. scp/rsync Documents. I hear Migration Assistant is good, but designed for initial set up. It can be slow if you’re on WiFi but there are tricks to speed it up if that’s going to be a problem

bitprophet, to random
@bitprophet@social.coop avatar

New chair findings: now that I finally have a chair I can get my feet flat on the floor with…my old sit-stand desk is definitely a little too tall at its lowest.

Given my bad ankle (and, partly, the number of cables running to stuff on top now) I don't really stand at it anymore.

Tempted to try finding some shorter, non-motor-bearing legs for it. Or make it my worktable (for which a standing height /would/ still be useful, eg PC builds etc) and get an entirely new computer desk.

ghickman,
@ghickman@mastodon.social avatar

@bitprophet I am entirely here for desk/office chat. Might pick your brain about storage ideas for mine in a couple of weeks 🤔

(OMFG IN PERSON)

ghickman,
@ghickman@mastodon.social avatar

@bitprophet oh sure! I feel like I’ve nailed bits of mine, and then other areas… well there’s a pile of boxes so yeah 🤷‍♂️

jonafato, to random
@jonafato@mastodon.social avatar

What's a movie or tv show you think more people should see?

ghickman,
@ghickman@mastodon.social avatar

@hynek @jonafato seconded [chef!]

bmispelon, to django
@bmispelon@mastodon.social avatar
ghickman,
@ghickman@mastodon.social avatar

@josh @benjaoming @bmispelon what features or parts of model bakery do you prefer to Factory Boy?

ghickman,
@ghickman@mastodon.social avatar

@webology @josh @benjaoming @bmispelon definitely sold on them, and I typically build fixtures with factories, so I’m super curious to hear more about y’all’s workflows 😊 (happy to be pointed to examples if that’s easier!)

I get the impression there might be something in there for me when I don’t want to/can’t build factories for loads of models for whatever reason 🤞

ghickman,
@ghickman@mastodon.social avatar

@josh @webology @benjaoming @bmispelon that's a really useful comparison, thank you!

  • 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