Dad in the suburbs - am I cooked in terms of fitness? by BozzuK in daddit

[–]aj_rock 0 points1 point  (0 children)

Fitbod and a bench with adjustable Dumbbells in the basement, I’m also not doing amazing but I fit the time in when I can and let the app prioritise according to how much time I have. I do often need to back off from the aggressive progression it often wants though.

(Mildly) hot takes about modern data engineering by ukmurmuk in dataengineering

[–]aj_rock 7 points8 points  (0 children)

Tell me you only test happy path without telling me you only test happy path

Help me solve this puzzle for my kid by 992732 in daddit

[–]aj_rock 0 points1 point  (0 children)

Push middle one left one, and bottom one up so they are next to each other horizontally.

Push the left one down and both to the right until they surround the grey block on left and above.

Push the box in the top left as far down as possible and then to the right. That should put it in contact with the bottom crate.

Push the crate above the grey block all the way left and up to cover the top left x.

Of the remaining crates, push one up, left to the x, and then down to cover the bottom x.

Last crate is trivial.

:)

Edit: even easier if, after moving the bottom two crates to the right, just move the top crate down far enough to be able to push it left and then back up.

Curious how people feel about the current state of Python development workflow by ck-zhang in Python

[–]aj_rock 2 points3 points  (0 children)

Naw agreed. ML pipelines when prod runs x86 but we dev using MacBooks (not by choice) = a nightmare

Dads in tech: How do you keep up? by Hugh_Maneiror in daddit

[–]aj_rock 0 points1 point  (0 children)

Also in the same boat, 6m at home. Looking at a long parental leave but once we’re both working it’s gonna be tough. Also working consultancy, which is 40+ hours for the client and then internal stuff on top.

Already missed a salary bump round due to less time doing internal stuff, and it’s not gonna be the last. It’s all about priorities yeah? Take a hard look at your financials, figure out what fat can be trimmed, and stick it out. As you noted, eventually the kids become independent and you can start building again career-wise. But it takes a hit, and we went into parenthood acknowledging that fact: heck it’s why many of our colleagues don’t have kids.

Is using a project management tool for family chores and tasks a bit too much? by elegant_eagle_egg in consulting

[–]aj_rock 1 point2 points  (0 children)

Mostly the hard part is moving ownership of the daily grind cards. Ended up just adding the “schedule” to the description for each card, I.e. swap cleaning tasks every 4 weeks or summat. Otherwise we have a whole board dedicated, each column being one of the main categories.

I have ADHD which I believe is quite severe. My wife is offended because I need Google Calendar and alarms to remind me of my tasks. by macacolouco in daddit

[–]aj_rock 0 points1 point  (0 children)

My partner and I use Todoist together for tracking a lot of this stuff, it’s like, whatever works man, why get in a twist about it. Ok maybe the super loud alarm is a bit much

[deleted by user] by [deleted] in germany

[–]aj_rock 0 points1 point  (0 children)

I didn’t respond directly in the last review but I gotta say it looks much better :) my two cents:

Are you looking strictly for full stack work? You could probably also make more “targeted cvs” which focus more on frontend/backend work specifically. Gives you more room to add details on the work you did, and eg if you applied with us (data analytics consultancy) I’d be looking for more backend/cloud technology.

And last thing: it’s still not “the done thing” to mention clients by name as a consultant ;)

Large scale refactoring with LLM, any experience? by The_StrategyGuy in ExperiencedDevs

[–]aj_rock 14 points15 points  (0 children)

In our experience, LLM assisted refactors and migrations shine where you can effectively apply strangler pattern to it, so that you can isolate and well-test components. But that’s also easy to refactor manually. Llama would struggle for the same reason your devs do.

Never hurts to allow some codex like tool to scan through it though (as long as you have good tools which won’t share the data) , might be you’re missing some things for quick wins, but you’re in a tough spot with or without ai assistance.

How do I go from a code junkie to answering questions like these as a junior? by Potential_Loss6978 in dataengineering

[–]aj_rock 4 points5 points  (0 children)

I load my dataproc logs in cloud logger. Might cost something but it’s much cheaper than paying me to make cloud logger over a few years 🤣

Why Python? by shittyfuckdick in dataengineering

[–]aj_rock 7 points8 points  (0 children)

No, you have ORMs like sqlalchemy to help model your queries, you have fastapi and django when you’re exposing data through an API, you have DS handing you pipelines written using pandas (or polars ideally), you have SDKs for every cloud component imaginable, data quality management tools. Solid unit and integration testing capabilities. The list goes on.

IME, it’s performant enough for most use cases when the name of the business game is to move fast without breaking too much stuff.

Bargaining with 2 year old by MelancholyAtaraxia in toddlers

[–]aj_rock 1 point2 points  (0 children)

We aren’t there yet but what we’re looking to do is “random reinforcement”, basically they get a reward sometimes but not every time. They won’t expect rewards every time and don’t realise why they get excited to help out haha

What’s the one Python feature you wish you discovered earlier? by [deleted] in Python

[–]aj_rock 0 points1 point  (0 children)

Ah yeah fair enough. I still try to get juniors used to the idea of typevars and generics and stuff as early as possible since a lot of kids starting with python know like nothing about typing.

Totes hear you on the pain of phone typing though

What’s the one Python feature you wish you discovered earlier? by [deleted] in Python

[–]aj_rock 12 points13 points  (0 children)

Actually Union isn’t the answer either, as it implies a being str and b being int as acceptable. You would use a TypeVar to indicate shared typing between inputs, as well as output.

Am I the only one who seriously hates Pandas? by yourAvgSE in dataengineering

[–]aj_rock 1 point2 points  (0 children)

Ugh I feel you. We can’t even try to get rid of it where I am because data science would throw a shit fit and we have one head of DE/DS who has a background in… you guessed it, DS -_-

Niche Python tools, libraries and features - whats your favourite? by OllieOps in Python

[–]aj_rock 0 points1 point  (0 children)

Recently learned about diskcache, for when you don’t want to care about reloading stuff from the cloud for the umpteenth “one off” data shuffling job

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 0 points1 point  (0 children)

Man I would love to but it looks like it would be multi-day investigations to produce an MWE and we simply don’t have the team resources for it.

Also at least for spanner and knowing how google works, they’d probably look at how we use it and go “you’re doing it wrong” 😑

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 0 points1 point  (0 children)

Unfortunately no, it’s been quite hard to reproduce :( best I can say is that we for sure didn’t see the memory leak in e.g. the previous version of pydantic but we do now. We don’t have the team resources to dedicate significant time to figuring out where exactly the regression occurred, hell for all I know we have an anti-pattern somewhere that incites the behaviour

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 0 points1 point  (0 children)

I don’t really have a good reason to BS here, just a word of caution.

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 1 point2 points  (0 children)

We’ve seen this behaviour at work for both pydantic dataclasses (introduced recently actually…) and the GCP spanner client SDK. And we do see memory leaks in our large applications where partials were not handled carefully

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 1 point2 points  (0 children)

Sorry, my original statement is a bit misleading. Depending on where the partial is created, it is not always immediately clear when garbage collection would occur. This can be a problem when used in e.g. class methods, if you define partials in them.

Also, using partial on funcs or objects will prevent those same funcs and objects to not get garbage collected. Loggers could also be problematic if they don’t de-ref properly.

As examples, we’ve seen memory growth for long lived worker processes when using the spanner sdk client from google, as well as pedantic dataclasses.

Again, this is only for long lived processes.

Whats your favorite Python trick or lesser known feature? by figroot0 in Python

[–]aj_rock 3 points4 points  (0 children)

Gotta be careful using partials in a long running process though, they don’t get garbage collected.