dmerej

@dmerej@mamot.fr

Software crafter. Also : teacher, blogger, coach

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

dodosan, to random French
@dodosan@diaspodon.fr avatar

« Attention. Message personnel : Panique au Mangin Palace, je répète, Panique au Mangin Palace »

Hin, hin! Nous revoilà!

https://www.youtube.com/watch?v=awLB1FYXx_Y

dmerej,

@dodosan

Rah tellement ....

Je me souviens du "Fillion tête de fion" :)

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

what's your favourite way to simplify your life with git? mostly interested in slightly unusual tricks to reduce the number of git features you're using, like:

  • never using the stash, just creating temporary branches instead
  • deleting your main branch so that you can never accidentally commit to it
dmerej,

@b0rk I once had my 'zsh' prompt function automatically call git fetch so that I could never forget to do it

dmerej,

@b0rk

Lots of reasons

  • I do most of my work from the command line (not just git operation) - so this was a LOT of useless fetches

  • Sometimes git fetch would not work or take a long time (because of VPN issues or something like that) and that was annoying

  • Since fetch was running in the background I was not notified when a remote branch was created, deleted or updated, which is now something I want to know

b0rk, to random
@b0rk@jvns.ca avatar

I hadn't thought about how confusing the error messages git pull and git push give you when you try to push/pull a branch that has diverged are but it really feels like a lot for a newcomer to git

dmerej,

@tseitr @b0rk

> I'm curious about whether there's a lack of funding for documentation work (or work improving error messages) on the Git project.

I don't know but after using Git since 2008 or so I find that error message are getting better (even though they're still lots to do)

sonny, to cochlearimplants
@sonny@floss.social avatar

One trick to make your life much better as a maintainer and help contributors

Have a Makefile directive to run everything that runs on CI

make x is all it should take to verify the changes pass automated tests

Linter, formatter, sorter, unit tests, etc

If tooling is needed then add a make setup directive that takes care of installing it

dmerej,

@julienw @sonny

> Avoid multiple "fixup" commits to fix CI issues one after the other.

> Reduced "please rebase"

An other way to avoid that - just merge the PR as-is (event if the CI fails) - and then make a commit to fix things up

If you're a maintainer and your goal is to gain contributors, this is a much better technique IMHO

Chances are, you were the one who set up the CI, so you'll be much faster than a first-time contributor

b0rk, to random
@b0rk@jvns.ca avatar

continuing to ask people to not try to explain basic git facts to me (“what’s a commit? what’s a branch? what’s HEAD?”) and it’s going pretty well but i still feel like i need to add a “please don’t explain branches to me” disclaimer every single time i make a post about git

still optimistic that i can make this a better space for me to hang out and talk about computers than twitter was https://social.jvns.ca/@b0rk/111347100058274723

dmerej,

@MonniauxD @b0rk

OK, I'll share such a story, then ...

I wrote C++ for several years without understanding much about smart pointers, references, the difference between stack and heap and so on, and got burned several time by trying to return references from functions.

I then learned Rust and everything clicked - the concepts are still the same, but the Rust syntax (IMHO) made it very clear and also the Rust book was a ton of help

Ninji, to random
@Ninji@wuffs.org avatar

who called it “paying Apple money so they’ll let you use their old Mac OS APIs” and not “Carbon offsets”

sorry, this is a very specific joke that probably only like 5 people will get

dmerej,

@Ninji I got it and it was funny :)

fasterthanlime, to random French
@fasterthanlime@hachyderm.io avatar

deleted_by_author

  • Loading...
  • dmerej,

    @fasterthanlime

    Loved Barry ;) Excellent show indeed.

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