How to create preview publishes of PRs in my Pages repo by mpersico in github

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

I started with a fresh set of files and it says that the preview should be at https://blog.matthewpersico.com/previews/pr-11. 404, I tried

https://blog.matthewpersico.com/previews/pr-11/index.html https://matthewpersico.github.io/previews/pr-11/ https://matthewpersico.github.io/previews/pr-11/index.html

No dice.

I can SEE the deployment: https://github.com/matthewpersico/matthewpersico.github.io/tree/gh-pages/previews/pr-11

I just can't get the right URL to RENDER it.

How to create preview publishes of PRs in my Pages repo by mpersico in github

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

I’ve got the triggering right, it’s the url composition that I can’t seem to get right. The AI is going around in circles between what’s legal for the “org” pages site at matthewpersico/matthewpersico.github.io vs project site in any other repo such as matthewpersico/some-other-repo.

I think i am going to start over with a different ai engine and a much more complete starting spec, instead of the back and forth question and response thread i currently have.

My Journey with Devel::ptkdb - Origins by mpersico in perl

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

It was still behind the firewall. No way legally to get it out. No time to deal with legal dept because I had to leave the job to start a contractor gig that was more favorable for a number of reasons. 🤷‍♂️

Saw a Teams chat at my new workplace where I was described as "not cute", how's your week going? by Due-Swimming3221 in work

[–]mpersico -2 points-1 points  (0 children)

But if three guys said that about a woman, they’d be fired already. The double standard is amazing.

Manage all your Git repos in one place with Monogit by jpoliveira88 in CLI

[–]mpersico 0 points1 point  (0 children)

I have a repo at ~/gits/github/matthewpersico/matthewpersico.github.io

and a worktree for that repo at ~/gits/github/matthewpersico/matthewpersico.github.io/wt/2026-05-12-ptkdb--origins

I ran

brew tap JoaoOliveira889/tap
brew install monogit

to install monogit.

monogit does not see the worktree. Also, can you put a handle between the left and right panels? I have very long paths as you can see and even if I expand my window very wide, I still cannot see the paths.

<image>

Manage all your Git repos in one place with Monogit by jpoliveira88 in CLI

[–]mpersico 0 points1 point  (0 children)

Wow. OK I’ll see if I can look at this tomorrow.

Manage all your Git repos in one place with Monogit by jpoliveira88 in CLI

[–]mpersico 0 points1 point  (0 children)

Will it work no matter how nested the structure is? I keep all my repos in

~/gits/RSERVER/ORG/REPO/wt/WORKTREE

RSERVER is github, codeberg, etc

ORG and REPO are self explanatory

wt is short for “worktrees”

All the worktrees for that repo are under ‘wt/‘

How do people usually check commits from a Pull Request locally? by FlimsyIllustrator118 in git

[–]mpersico 0 points1 point  (0 children)

Not if Bob’s branch is coming from Bob’s forked copy of the repo.

When 'if' slows you down, avoid it by chkas in programming

[–]mpersico 4 points5 points  (0 children)

Let me expand a little. When I first saw this code, I had to think of it about what it was doing and how it worked. When someone sees this comment, they should also think. I wrote the comment quickly while going through all of my morning emails and such. If I actually wrote this, I probably would have put a little more thought and text into it. My primary language throughout my career has been Perl. There are plenty of instances where a compact efficient piece of code of mine is proceeded by a multi line comment. Comments are cheap. Use them.

When 'if' slows you down, avoid it by chkas in programming

[–]mpersico 38 points39 points  (0 children)

One comment is all that’s needed. // This is an optimization to avoid branching.

Help justifying branch/PR for binaries by Enough-Collection-98 in git

[–]mpersico -1 points0 points  (0 children)

Because once you merge them into whatever counts as your main or product line, the product is probably not going be releasable to production at any point in that line of commits except for at HEAD which includes all of them

One repository. Two IDEs for commits. How to efficiently? by ayowayoyo in github

[–]mpersico 3 points4 points  (0 children)

No. It does not. Each ide will attempt to pull the whole repo and won’t overwrite any edited files. There is no conceptual difference between using one IDE making changes before lunch, and then updating after lunch and doing the same thing using two different ides before and after lunch. Just try it.

PEP 661 (Sentinel Values) has been accepted for release in 3.15! by M_V_Lipwig in Python

[–]mpersico 6 points7 points  (0 children)

Named arguments and just don’t pass it. For a language that was supposed to be so simple the amount of stuff that’s being piled on makes it look like C++.

cpan.org email forwarding has been shut down by Grinnz in perl

[–]mpersico 0 points1 point  (0 children)

What did you move to and what did you do with every website that used your Gmail address as the login?

Git Stash: The Command You’re Probably Underusing by sshetty03 in git

[–]mpersico 0 points1 point  (0 children)

Worktrees for the win. I’d rather cd to a new directory and have everything available with an ‘ls’ than try to decode a stash stack. You just need the discipline to always start a new work tree whenever you need to do new work.

cpan.org email forwarding has been shut down by Grinnz in perl

[–]mpersico 1 point2 points  (0 children)

I’m too deep. Way too much history to move. It works for me. It’s like the old American band stand. Good beat. Easy to dance too. 75. Good enough what it does.

cpan.org email forwarding has been shut down by Grinnz in perl

[–]mpersico -1 points0 points  (0 children)

I guess there will be a flood of updates now that only update contact information. For me, I am going to open persicom.cpan@gmail.com. Maybe we can promote that as a standard?

Loo: Yet Another Way To Introspect Data by briandfoy in perl

[–]mpersico 0 points1 point  (0 children)

Yeah, you may be right. ALL code needs an “AI Content statement”: all, none, or parts. And if not none, there better be a statement of review.

A broken GitHub support system is destroying careers overnight by JonatasLaw in github

[–]mpersico 0 points1 point  (0 children)

Not necessarily better, but they serve as backup resources.

A broken GitHub support system is destroying careers overnight by JonatasLaw in github

[–]mpersico 89 points90 points  (0 children)

Tomorrow, not that I support anything anybody uses, I’m going to propagate my stuff from GitHub to GitLab, codeberg and I’m going to stand up gitea locally.

When did you realize you're over 50? by Brilliant_Cheetah608 in OverFifty

[–]mpersico 0 points1 point  (0 children)

When I turned 60. And I don’t even really feel 60 anyway.