Friday, January 21st, 2022 06:36 am
We are currently at the point where if the forecast is inches of snow, we think "maybe we will see a flake or two." As i headed to bed last night, there were fat flakes falling occasionally. I think if a cluster of snow crystals found each other to fall together, they could stay cold enough to hit the ground as snow.

Tonight's prediction is 2" of snow. Yeah, right.

So are the grocery shortages supply chain or snow panic, i wonder.

I read the announcement of a late February pub crawl in my town with a sense of wonder. The Omicron case rates shot up so fast: could they come down fast enough in the next four weeks for a pub crawl to seem not insane?

In other wonders, i wonder if the tech folks among us have a guide to using git they like. I am really fuzzy on the different ways my colleagues use it, and i am wondering if i should be using it in my personal data repository more cleverly. I use Visual Studio as my editor these days (since the mac changed permissioning, and i would have to recompile emacs to run it). Is it easy to bob back and forth between branches? Right now i use it like i used code repositories in the 90s. At least my coding is slightly more sophisticated than my Fortran coding was, but not by much.

(Feeling like a brontosaurus.)
Friday, January 21st, 2022 12:26 pm (UTC)
Stay warm!
Friday, January 21st, 2022 01:21 pm (UTC)
Wednesday I was concerned enough about picking up the dairy delivery that I drove to Animal Farm despite the predicted and actualized gradual falling of freezing rain. By the time I was leaving I was pretty sure that I didn't want to try to get up the steep part of the driveway to the mailbox. I tried going across the grass, hoping then that the road would be less slippery for the short distance to the mailbox and OMG WAS IT EVER NOT. So I gave up.

Yesterday I went up to put out the garbage and very full recycling bin. Ha ha! said I to myself, As I go up the still-slippery driveway the bin will be my mobility device! I can use the bin to get to the mailbox and then across the driveway on the road, drop off the bin in its accustomed place and go down the lawn. Alas, on that last steep portion of driveway the bin and I were sliding back downwards. Patience was not conquering it. So I angled the bin to drift to the grass and then went up the grass to the mailbox successfully. The voyage across the top of the driveway on the road was Fraught Indeed, requiring not only patience but a repetitive conversation refusing help from an athletic young woman who was walking her large dog. And then I went down the grass and took the second bin up the grass, awkward though it was.

But our street was the only one I was on yesterday that was hazardous.

I am so glad of the precipitation. No sign of snowdrops yet.
Friday, January 21st, 2022 01:28 pm (UTC)
You know, I am looking for the good git tutorials, and I am not finding them. Here is one of the standard cheatsheets.

Yes, it is easy to bob back and forth between branches.

Branches in git can be way more ephemeral than they were in code repositories in the 1990s.

That means in a typical work day, I am going to go to the develop branch, and do a
git pull

to make sure that I am up-to-date with all the changes my colleagues made yesterday.

Now that I am up-to-date, I am going to do
git checkout -b feature/my_new_branch


That means, I am checking out a new branch called "feature/my_new_branch"

Then, I will muck about on my branch.

When I am done with the mucking about part, I will do
git add .

which will stage all the files I created and prepare them for upload. The "." means "add all the files." I can choose to add some of the files instead, but usually I add them all.

Then I will
git commit -m "Ooh boy, I changed the thingamabob"


This will attach a short message to the staged things.

Then I will
git push

which will send the things to github.

That will only send them if my branch exists on github and all that. If it fails because the branch does not exist on github, it gives you a helpful message to make your branch exist on github. I created a shortcut for the command so I don't remember what it is.

Once on github, I will go to the "Pull requests" tab, and it will say, "Hey, it looks like you uploaded a branch, do you want to do a pull request with that" or something to that effect. I will tell it yes, and then there is a template where my coworkers say, "Explain yourself. What did you do, why did you do it? Do you have a pretty picture?"

Then continuous integration stuff runs. Theses are style checks and code tests. If this fails, I will know how to fix it, or I will say "Help me, this failed in a weird way."

Once it passes all that and the coworkers approve of my nonsense, I do a squash and merge. That means all the things I did get squashed down into one commit and merged into the develop branch.

Some parts of this will be completely irrelevant to you, but that is typically how I use git in my work day.
Edited 2022-01-21 01:30 pm (UTC)
Friday, January 21st, 2022 03:41 pm (UTC)
We are RIGHT on the line for 1-3 or 2-5 inches of snow here so no clue what's going to happen for us
At least we have some groceries and I feel your pain on the shortages - I did get milk earlier this week though and we have the Fairlife shelf stable stuff to cook with if needed
Stay warm and hopefully this turns out to be nothing...
Saturday, January 22nd, 2022 01:45 am (UTC)
they've updated us here - 1-7 inches LMAO seriously. 2-5 most likely, 4-7 if things go BOOM, 1-3 if it's a bust. So literally 1-7 inches
snowing steadily now...Dowser is in HEAVEN
Friday, January 21st, 2022 04:49 pm (UTC)
A past coworker wrote http://think-like-a-git.net/ which I recommend. I had the good fortune of being able to open a chat window with him when I had gotten inextricably tangled in my git branches...

I am also happy to answer questions and chat about it, although it's been a while since I've used it actively.
Friday, January 21st, 2022 05:59 pm (UTC)
The above was just my stream of consciousness "how I use this in the work day."

When I was trying to re-enter the work force, I was blogging my learnings. Here is the search in that blog for the term Git. It starts with some very easy resources in the oldest posts, and there are more complex things in the more recent posts.

There was a thing by Women Who Code DC that I remember being better than it appears to be.

Git SCM has a few videos that are short, in order, and less chaotic than poking through my old blog posts.

There are tools that make dealing with git easier like Oh-My-Zsh for command line on Linux variants which I mention in my blog. Git SCM has a list of GUI tools, and that makes some of this stuff easier to visualize.
Friday, January 21st, 2022 06:15 pm (UTC)
Honestly from my POV the pub crawl idea didn't make sense even without Omicron spreading like wildfire. But I suspect 2022 is when a lot of people are giving up with any kind of restrictions and just throwing themselves into the flames.
OSZAR »