Programming as a career

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (802 of them)

I think it would be cool to work at a shop where people had time to worry about things like squashing commits to make the log look nicer. Our logs look like a tire fire.

o. nate, Tuesday, 5 May 2020 21:33 (three years ago) link

to be fair the only times I use git are for projects that don't remotely care about this, or for my own personal projects

like, I’m eating an elephant head (katherine), Tuesday, 5 May 2020 22:07 (three years ago) link

git is good but has way too many options so takes forever to learn.

My Chess Hustler (James Redd and the Blecchs), Tuesday, 5 May 2020 22:16 (three years ago) link

And then there are current best practices but some people didn't upload their brains so are still stuck on outmoded best practices.

My Chess Hustler (James Redd and the Blecchs), Tuesday, 5 May 2020 22:17 (three years ago) link

goddam I really messed up this whole career thing lol

brimstead, Tuesday, 5 May 2020 22:28 (three years ago) link

crushed some SQL today lads

silby, Tuesday, 5 May 2020 22:37 (three years ago) link

xp -- this isn't career stuff, the only code I've done in the past month is a dumb reverse engineering project

like, I’m eating an elephant head (katherine), Tuesday, 5 May 2020 23:00 (three years ago) link

lol sorry that was just a general scream into the void

brimstead, Tuesday, 5 May 2020 23:09 (three years ago) link

Scream away!

I was scanning over my old posts, and I'm kind of stunned at how far I've come. Granted, that was (yikes) more than 10 years ago, but the industry's changed a load too, especially with the rise of bootcamps. I think those alone would've helped me out back then, and they're probably the best avenue for people thinking of getting into industry as a part of a career change.

Judd Apatowsaurus (Leee), Tuesday, 5 May 2020 23:35 (three years ago) link

I am proud to have leapfrogged from bash scripts into management like the ambitious careerist motherfucker that I was raised to be

El Tomboto, Wednesday, 6 May 2020 03:23 (three years ago) link

Or basically “I realized I sucked at code so I volunteered for everything else I could do until it worked”

El Tomboto, Wednesday, 6 May 2020 03:25 (three years ago) link

volunteering to do things where you've found a strength is seriously underrated and doesn't work in all organizations, but it's a good strategy

mh, Wednesday, 6 May 2020 03:29 (three years ago) link

git is good but has way too many options so takes forever to learn.

I think git is great but to me its very much a secondary thing, I don't want to do anything more than the 8 or 9 commands I use. And if I found I was doing anything more than that I would wonder what had gone wrong that I needed those things.

Although hmmm, having said that github actions might be something worth looking into one day

cherry blossom, Wednesday, 6 May 2020 04:04 (three years ago) link

I’ve done some vile things with git

silby, Wednesday, 6 May 2020 05:07 (three years ago) link

surprisingly, vilegit.com seems unregistered

El Tomboto, Wednesday, 6 May 2020 06:13 (three years ago) link

a foul repository

Morton Koopa Jr. Sings Elvis (Sufjan Grafton), Wednesday, 6 May 2020 17:16 (three years ago) link

I am surprised vilegit.com hasn't been snapped up by VI purists

DJP, Wednesday, 6 May 2020 17:45 (three years ago) link

I am a vim purist but I stopped haranguing people about it 10 years ago

silby, Wednesday, 6 May 2020 17:50 (three years ago) link

Some helpful but less-trafficked git commands that I use:

git ls-files -m

Outputs a nice list of modified files, useful when I want to run a linter on these files which are all over the repo.

git add -p /path/to/file

If I have a bunch of changes in a file but I only want to commit some of them, this command brings up a shell that lets you pick and choose which changes to commit.

Judd Apatowsaurus (Leee), Wednesday, 6 May 2020 18:15 (three years ago) link

My most recent git discovery was -v on git commit (which I’ve now made the default behaviour). It appends the diff (along with the list of staged and unstaged files) in your editor when you edit the commit message. It’s in the commented bit so it doesn’t go in the commit message but it’s useful to refer to, and most useful for catching stuff you shouldn’t be committing.

𝔠𝔞𝔢𝔨 (caek), Wednesday, 6 May 2020 18:48 (three years ago) link

Oh, nice!

My Chess Hustler (James Redd and the Blecchs), Wednesday, 6 May 2020 18:53 (three years ago) link


git add --patch whatever.js

is essential for a hygienic commit log

diamonddave85​​ (diamonddave85), Friday, 8 May 2020 03:31 (three years ago) link

Thanks for the reminder! Any pro tips for using stash?

My Chess Hustler (James Redd and the Blecchs), Friday, 8 May 2020 14:46 (three years ago) link

I always forget stash options so I have to look it up every time:

https://stackoverflow.com/a/10726185
https://stackoverflow.com/questions/3573623/is-it-possible-to-preview-stash-contents-in-git

Judd Apatowsaurus (Leee), Friday, 8 May 2020 15:08 (three years ago) link

Thanks. Have also started using “git stash push” so that I don’t stash everything, just the files that are causing a merge conflict, say.

My Chess Hustler (James Redd and the Blecchs), Friday, 8 May 2020 15:16 (three years ago) link

Wow just found out you can stash hunks as well.

My Chess Hustler (James Redd and the Blecchs), Friday, 8 May 2020 15:17 (three years ago) link

If that's what you're into.

Judd Apatowsaurus (Leee), Friday, 8 May 2020 16:41 (three years ago) link

Lol

My Chess Hustler (James Redd and the Blecchs), Friday, 8 May 2020 16:46 (three years ago) link

And now I have an even dorkier d/n.

git stash hunks (Leee), Friday, 8 May 2020 16:50 (three years ago) link

If only!

I'm learning tmux now!

git stash hunks (Leee), Friday, 8 May 2020 22:12 (three years ago) link

[
git add --patch whatever.js
]

is essential for a hygienic commit log

D
Remembered to use this, thanks.

My Chess Hustler (James Redd and the Blecchs), Monday, 11 May 2020 14:40 (three years ago) link

i visit this page once or twice a month:

https://sethrobertson.github.io/GitFixUm/fixup.html

a slice of greater pastry (ledge), Monday, 11 May 2020 14:44 (three years ago) link

neat

silby, Monday, 11 May 2020 14:45 (three years ago) link

I decided at some point that I hated trying to remember command line options and started using GitExtensions as my Git IDE; I have never looked back.

DJP, Monday, 11 May 2020 15:27 (three years ago) link

Sourcetree is nice on Mac.

not found anything decent on linux yet. and the one i did like (gitg) lost a lot of the things i liked about it from one version to the next (and gets confused by binary files, like 100% cpu confused)

koogs, Monday, 11 May 2020 15:43 (three years ago) link

(svn is generally better for my use case anyway - large document, lots of tiny changes - than git anyway because it stores the diffs and not a complete copy of each like git does*. i had a git directory that was 40x the size of the original document once)

(* git will compress eventually, i'm told, and i'm sure i could force it to happen faster than it does, but svn does it by default)

koogs, Monday, 11 May 2020 15:47 (three years ago) link

We onboarded a new hire recently who came from a bootcamp, and I realized that of our entire engineering team at the local office (we have presences in multiple regions), only our VP and lead security guy and our worst (by far) developer have CS degrees. That leaves a director, a devops lead (who has an EE degree), and two senior engineers (including me).

Gazelle Bundchen (Leee), Friday, 22 May 2020 21:50 (three years ago) link

Actually the other senior eng has an interdisciplinary degree that can definitely fall under the CS heading.

Gazelle Bundchen (Leee), Friday, 22 May 2020 21:56 (three years ago) link

aren't you the one who was trained not to say 'onboarded' though

j., Friday, 22 May 2020 22:02 (three years ago) link

Me? Not that I remember!

Gazelle Bundchen (Leee), Friday, 22 May 2020 22:36 (three years ago) link

well obviously not now, you've been corrupted

j., Friday, 22 May 2020 22:40 (three years ago) link

As long as we're talking jargon, yall have permission to FP me if ever use these:

- solutioning
- grow (i.e. grow a business)

My god I use a lot of these I have become that which I hated: https://www.trustradius.com/buyer-blog/27-most-annoying-business-buzzwords-of-2019-explained

Gazelle Bundchen (Leee), Friday, 22 May 2020 23:23 (three years ago) link

"double click"

𝔠𝔞𝔢𝔨 (caek), Saturday, 23 May 2020 02:53 (three years ago) link

Is the word “wheelhouse” in that list?

Spocks on the Run (James Redd and the Blecchs), Saturday, 23 May 2020 02:54 (three years ago) link

Ha, of course it is

Spocks on the Run (James Redd and the Blecchs), Saturday, 23 May 2020 03:45 (three years ago) link

one month passes...

remote pairing with a TDD pedant is killing me.

he writes a test, i write something that implements it (there's a huge clear spec so i know what needs to be done exactly, this is also not the first of these we've done), the change is literally 7 lines - i set a flag in the constructor, test that flag in a later method and call skip() twice if it's true.

"That commit doesn't really feel like the minimum required to make the test pass. It's jumping ahead too far."

yes, because if you insist on backwards and forwards a line at a time then we'll still be writing this when the 2024 olympics rolls around.

seventeen years in startups before this job. the whole thing would be done in a day and just as solid.

koogs, Friday, 10 July 2020 12:32 (three years ago) link

ffs

all cats are beautiful (silby), Friday, 10 July 2020 15:41 (three years ago) link

you must now reveal the truth -- the commit itself was a test. and you've good news: they passed. make a certificate, print it out, and mail it.

the warm seafood salad that exists (Sufjan Grafton), Friday, 10 July 2020 16:33 (three years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.