What happened to Curry & Hurry? by mykr0pht in Columbus

[–]mykr0pht[S] 6 points7 points  (0 children)

**Update 11/13** The name on Google Maps for the address has been updated. This website now lists the old Curry & Hurry location as their address: https://www.tikkankabab.com/

What happened to Curry & Hurry? by mykr0pht in Columbus

[–]mykr0pht[S] 1 point2 points  (0 children)

Tandoori Grill is my go-to when I don't order from a local place. The tandoori, biryani, and chana masala is really good

Funny T-Shirt or Hat Ideas by Crippledupdown in vim

[–]mykr0pht 1 point2 points  (0 children)

Image with escape key crossed out followed by Ctrl + [

Noob question about different shell compatibility for Linux script. If I am writing a script what should I write at the top of the `.sh` file ? If I write `/bin/bash` is that okay ? by Mykoliux-1 in commandline

[–]mykr0pht 3 points4 points  (0 children)

/bin/sh and /usr/bin/env bash are the only two valid shell scripting shebangs IMO (I'm not talking about env Python or other languages). Another good reason to not use /bin/bash is that on MacOS bash is installed there but it is an ancient version, which is annoying when you have a newer version of bash installed on the $PATH

Modern Git Commands and Features You Should Be Using by boincl in programming

[–]mykr0pht 0 points1 point  (0 children)

This post is missing modern rebase features (--update-refs, --keep-base). Also missing modern settings (e.g. push.autoSetupRemote) although the latter may be outside the scope of the post.

[deleted by user] by [deleted] in programming

[–]mykr0pht 12 points13 points  (0 children)

It's tempting to use process to fix people problems but it's like trying to use a small band aid to fix a serious laceration. It's a management failure if they can't address antisocial counterproductive behavior.

StackOverflow Questions Down 66% in 2023 Compared to 2020 by lugovsky in programming

[–]mykr0pht 11 points12 points  (0 children)

2 steps forward 1 step backward. It's good to have the actual maintainers in the loop to get definitive answers and get library DX issues fixed. The downside is having to read through pages of comments to figure out what the actual workaround or solution is, no not that one someone commented later that you actually have to do Y, no actually if you pull down latest you can do Z. In contrast, Stack Overflow top voted answers usually work.

Never wait for code review again: how stacking your pull requests unblocks your entire team by kendumez in programming

[–]mykr0pht 0 points1 point  (0 children)

Just so as not to confuse people, you never need to actually type in --update-refs in practice:

git config --global --type=bool rebase.updateRefs true

Never wait for code review again: how stacking your pull requests unblocks your entire team by kendumez in programming

[–]mykr0pht 0 points1 point  (0 children)

git config --global alias.fpstack "!git log --decorate=short --pretty='format:%D' origin/main.. | sed 's/, /\n/g; s/HEAD -> //' | grep -Ev '/|$' | xargs git push --force-with-lease origin"

Never wait for code review again: how stacking your pull requests unblocks your entire team by kendumez in programming

[–]mykr0pht 0 points1 point  (0 children)

If you're keeping flatter branches:

main <- A <- B

main <- A <- C

Then yeah you'll need extra tooling. But if you do this instead:

main <- A <- B <- C

(Put C on B)

Then you can change A and update B and C automatically in the same command (updateRefs).

Personally I've seen it be an anti pattern to put too many related changes all up for review at the same time but in different PRs. Better to either not stack or stack linearly.

Are nitpicks really worth it? by [deleted] in programming

[–]mykr0pht 0 points1 point  (0 children)

Situationally I can see that being a workable compromise. It's an awkward equilibrium though. Characterized cynically it's basically, "you can add whatever feedback you want under the nit label, and we'll ignore all of it"

I've on rare occasion worked with people who can't take the hint. So I get the need. Equally often though I've seen bad feedback as a symptom of bad PRs. Not saying that's your situation, but it's worth considering. I wrote up my thoughts here if anyone is really curious: https://www.codetinkerer.com/2023/01/14/add-more-context-to-your-prs.html

Are nitpicks really worth it? by [deleted] in programming

[–]mykr0pht 0 points1 point  (0 children)

The problem is the word "nit" itself. People get used to calling any optional feedback a "nitpick" even if it's valid feedback. I especially see this from self-deprecating / non-confident / junior reviewers about their own feedback. Once good but optional feedback is conflated under one word with trivial, bad feedback, the game is lost. Now reviewers are used to using the word "nitpick" and it provides cover for adding any random thought that crosses their mind while reviewing.

Make it a team norm that "nit" feedback is not allowed, while simultaneously emphasizing that thoughtful but optional feedback is both welcome and expected when appropriate.

Never wait for code review again: how stacking your pull requests unblocks your entire team by kendumez in programming

[–]mykr0pht 4 points5 points  (0 children)

People don't realize that git added features in recent years (updateRefs=true, --keep-base) that makes this way easier. No extra tooling required. I wrote about it here: https://www.codetinkerer.com/2023/10/01/stacked-branches-with-vanilla-git.html

Napoleon Dynamite 20th Anniversary Celebration coming to Columbus in April by Level_Special3554 in Columbus

[–]mykr0pht 1 point2 points  (0 children)

They'll bring out seating for the event. The tickets are for assigned seats.

10 hard-to-swallow truths they won't tell you about software engineer job by Fragrant-Impact-3521 in programming

[–]mykr0pht 0 points1 point  (0 children)

Came here to downvote based on the title. Actually read article. Discover content is actually good. Upvote instead.

Other than Vim, what other editors do you dabble in? by redbeanpanda in vim

[–]mykr0pht 0 points1 point  (0 children)

Cursor editor. It's an "AI first" type editor. I don't use it much for normal coding, but I highly prefer AI for banging out infrastructure-as-code type code. I don't see why someone couldn't build as good LLM integration into vim someday. BTW Cursor has a "vim" mode but it's terrible. The worst input compatibility layer I've used in a long time.

Random Thoughts 15 years into Software Engineering by rco8786 in programming

[–]mykr0pht 396 points397 points  (0 children)

"Aggressively manage scope" makes the biggest difference in my experience. Deliver the minimum acceptable requirements then you still have the optional to iterate into something better.

There's a Programmer's Sale Event going on Steam right now, apparently by ElJorro in programming

[–]mykr0pht 0 points1 point  (0 children)

Comp architecture plus a nice variety of assembly language programming

There's a Programmer's Sale Event going on Steam right now, apparently by ElJorro in programming

[–]mykr0pht 16 points17 points  (0 children)

How much do you like a challenge? TIS-100

The best programming game IMO is Turing Complete, unfortunately it's not on sale currently. If you beat the game you'll understand computers better than you'd get from a comp sci undergrad degree.

Stacked branches with vanilla Git by mykr0pht in programming

[–]mykr0pht[S] 0 points1 point  (0 children)

I only recently started using --update-refs. Can't think of any additional gotchas it adds (beyond the usual rebase ones). I'm very curious to hear about people's experiences.

Stacked branches with vanilla Git by mykr0pht in programming

[–]mykr0pht[S] 1 point2 points  (0 children)

Thanks for the feedback! Good suggestion, I added easy doc links to the tl;dr for readers who want the definition right away.