EngineerDaryl

@EngineerDaryl@fosstodon.org

#DevOps Engineer | #Kubernetes | #Python | #C++ | Father | Beer Enthusiast | Formule [1-2]

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

EngineerDaryl, to programming

People often don't understand that I code for fun in my spare time and code for work on company time. They don't understand that coding on my personal projects is actually giving me energy and is relaxing for me. They say things like "are you honestly programming now? Are you working?" and when I explain them that I'm working on a personal project they suggest that I should "do something relaxing" so I don't get overworked.

#Programming

nedbat, to random
@nedbat@hachyderm.io avatar

Just realized that I wore the same shirt for my 2012 PyCon talk about Unicode and eleven years later for my 2023 PyCon keynote. Not the same kind of shirt. The SAME SHIRT.
Unicode: https://nedbatchelder.com/text/unipain.html
Keynote: https://nedbatchelder.com/text/key23.html

Me in 2012: Unicode

EngineerDaryl,

@nedbat Reusability is key in programming!

mariatta, to random
@mariatta@fosstodon.org avatar

git merge or git rebase
that is the question

(I'm a "git rebase" person)

EngineerDaryl,

@mariatta @shawnhooper the way I see it (please, correct me if I'm wrong); a Git merge creates a new commit (merge commit) that ties the two branches together. A Git Rebase doesn't create this commit and just updates the parent field for the merged branch. This gives a cleaner git log. It's like a fast-forward merge in my opinion

mariatta, to random
@mariatta@fosstodon.org avatar

Typo of the day:
butter instead of buffer 🧈
#TypoOfTheDay

EngineerDaryl,

@mariatta don't code when hungry

brianokken, to random
@brianokken@fosstodon.org avatar

In our family, loyalty is huge.
We’re also quite fond of Earl Grey

EngineerDaryl,

@brianokken i didn't get it, untill i spoke it out loud to my girlfriend 😂

mkennedy, to python
@mkennedy@fosstodon.org avatar

I found a fun bar in Manila to work on the keynote. Not too bad to be chillin’ in the warm weather.

EngineerDaryl,

@mkennedy Looks good! Good luck with the keynote!

mariatta, to random
@mariatta@fosstodon.org avatar

My bookkeeping for 2023 was much simpler than usual due to the fact that for half of the year I was pretty much a jobless loser 🙃

EngineerDaryl,

@mariatta Being jobless doesn't mean a loser. Real purpose in life comes from being happy, not making money

mahryekuh, to webdev
@mahryekuh@fosstodon.org avatar

Hello, front-end developers. Here's your infrequent reminder to make websites that also work on browsers NOT Google Chrome.

Forcing anyone to use Google's glorified spyware is not cool.

#WebDev

EngineerDaryl,

@mahryekuh I do agree with you that a public website should be available on Edge, Fx, Brave, etc. The last remark you made is unnecessary

EngineerDaryl, to random

I'm leaving my current job (assignment, actually) starting in march after working here for almost two years. Everything I build is going to be dismantled because they fear it cannot be maintained. I understand it, but it stings. Like I never even been here.

EngineerDaryl,

@stfn Thanks :)

brianokken, (edited ) to random
@brianokken@fosstodon.org avatar

I feel like recording a @pythontest episode today. Is a Friday or Saturday podcast release date weird? Should I wait till Monday to release?

EngineerDaryl,

@brianokken Podcasts can be listened at any time. I listen them while commuting to work. When it is recorded doesn't really matter to me :)

EngineerDaryl, to python

I have a global object in my Python code to talk to a database. I don't like using global objects and the Pragmatic Programmer advises to create a API for globals. Can anybody give me an example of that?

#Python #Coding

EngineerDaryl, to python

Gifted myself the book about PyTest by @brianokken (because I was not busy enough with all of my personal projects 😂 ). Hope this test doesn't fail: assert is_good_book.

#python #pytest #coding #tdd

EngineerDaryl,

@brianokken Good advice, Brian! Thanks! Already finished the first chapter yesterday (was quite easy). Working on the second right now.

Didn't know there were video courses :)

EngineerDaryl,

@brianokken Cool, thanks!

EngineerDaryl, to programming

Spent 20minutes making a baseclass with a method to convert a datetime string to a Python datetime object, just to find out that Pydantic does this automatically for me...

#programming #coding

EngineerDaryl,

@stfn Yep, but I save the resulting data in a Pydantic object and if I write the string to a attribute that should be a Python datetime object, Pydantic does that conversion for me. Not sure if it uses strptime, but it works perfectly and doesn't need me to repeat that code.

EngineerDaryl,

@stfn Me neither 😛 but that's the fun of programming; you learn something new every day.

hynek, to python
@hynek@mastodon.social avatar

I’m very excited to announce stamina 23.2.0 – my #Python package for easy production-grade retries!

I was delighted by the resonance of my last announcement including a lot of in-person feedback at conferences & the highlight of this release is an obvious one: configurable instrumentation! You can now configure yourself what functions should run when a new retry is scheduled – including nothing at all.

Enjoy: https://github.com/hynek/stamina/releases/tag/23.2.0

EngineerDaryl,

@hynek That is a very interesting package! I can think of multiple uses for it.

Fangh, to trans French
@Fangh@shelter.moe avatar

My girlfriend is a #trans women who wants to learn #rust.
It seems that the rust community and the trans community overlap.
Do you know some groups she can join to learn in a safe and friendly environment?

Thank you!

Boost for love

EngineerDaryl,

@Fangh I don't really understand how those two are related, to be honest.

EngineerDaryl, to python

Me, while coding: "Shut up MyPy, that type is correct!"

five minutes later

"Why isn't this working? It is a dict, right? ... Right? O, it's a list ..."

MyPy: 🙄

#python #programming

jens, to github
@jens@social.finkhaeuser.de avatar

Still fascinating how unusable has become since the Microsoft takeover. The same happened to LinkedIn - previously it had limited functions, but those seemed to do their thing okay-ish.

EngineerDaryl,

@jens What makes it unusable for you?

Stark9837, to python
@Stark9837@techhub.social avatar

Is the best way to run periodic functions, not necessary time-critical, just needs to happen in the correct hour or day,

I am running a bot in a container, but want weekly or daily things to happen. Adding this to the main loop seems inefficient, because checks will unnecessary be done.

Should I rather use a image, run the script in the container and then just have cronjobs running in the container, rather than using a Python image.

Storage, memory and processing isn't actually a problem, so using a larger and beefier image is possible.

EngineerDaryl,

@Stark9837 isn't it possible in this situation to run a K8s CronJob?

gotofritz, to python

deleted_by_author

  • Loading...
  • EngineerDaryl,

    @gotofritz @causalityloop main instance? It's federated, there is no "master"

    EngineerDaryl,

    @gotofritz @causalityloop most popular is not the main. But I get your point 🙂

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