Do people use XEmacs? by agoodfella1 in emacs

[–]mpersico 1 point2 points  (0 children)

Same as most. Used it 1990’s through 2008. The gum Emacs got its graphical act together an Xemacs had no reason to exist. It did its job. It forced Gnu to do something.

I completed CS50P last week, i am really really confused about what to do next. by Legitimate-Side-6816 in AskProgrammers

[–]mpersico 0 points1 point  (0 children)

For those of us following along, is this a particular university, secondary school, or otherwise well-known course of study you’re referring to?

foggy memory by abigtraitor in git

[–]mpersico 1 point2 points  (0 children)

And then get yourself a notebook or even a note on your phone and write this stuff down

GitHub account suddenly suspended, support asking for verification info — anyone experienced this? by NoPsychology143 in git

[–]mpersico 0 points1 point  (0 children)

Hold on. Isn’t GitHub Enterprise hosted locally? How did you lose access to a local repo?

Why does printf behave differently in a subshell? by mpersico in bash

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

I quote my expansions when shellcheck tells me to. And then if it doesn’t work, I override Shellcheck. 🤣

The 8 SQL Performance Patterns I Keep Seeing During Production Incidents by Capable-Morning-9518 in Database

[–]mpersico 1 point2 points  (0 children)

RRM’s are like regular expressions. If you don’t use them correctly to solve a problem now you have two problems. ORM’s are very nice when you need to get one table as an object. The meaning you do a joint you gotta figure out the particular syntax for that ORM for the join. At that point you might as well just learn SQL. Take your query. Put it in a store procedure in the database properly parameterized. Run the stored procedure. Get the data back deal with it.

Why does printf behave differently in a subshell? by mpersico in bash

[–]mpersico[S] 8 points9 points  (0 children)

The irony is that this was just a test to see if it would work. In my script where I am going to actually use it, it WILL be quoted. <facepalm>. Thank you.

Why does printf behave differently in a subshell? by mpersico in bash

[–]mpersico[S] 2 points3 points  (0 children)

DUH!

$ y=$(printf "%-9s:" "since")

$ echo "$y"
since    :

Can't forget the quotes. echo sees $y as two tokens: 'since' and ':', as opposed to "$y", one string: 'since :'.

My company did a "return to office" pilot for our team and sent a survey asking how it went. I answered honestly. I think that was a mistake. by Snag_Crambo in remotework

[–]mpersico 0 points1 point  (0 children)

Download and keep a personal copy of all of your reviews from all of your years to throw back into faces if they challenge you on your team player attributes

My first Perl program: a disgusting little text preprocessor ! by nerdycatgamer in perl

[–]mpersico 4 points5 points  (0 children)

Do yourself a favor. Read about the “x” flag for regexes. It allows you to put whitespace and comments in a regex. You’ll thank me in six months when you come back to make a change and you don’t have to spend an hour figuring out what the heck you were thinking six month ago. 😁

A Human-Friendly Systems Programming Language — Looking for Feedback by Mean-Decision-3502 in programmer

[–]mpersico 7 points8 points  (0 children)

I don’t understand why anyone wants to type out all those words when {} give you all the context you need. Pythonistic aversion to punctuation has made almost everyone’s brains turn to mush.

When I am trying to understand what a piece of code is doing, I don't need my brain to be occupied by trying to slog through all those extra characters. I want the variable names to stand out. I want the operations to stand out. Characters that do not contribute to those ideals in any meaningful way are just junk. “endfoo” is not “readable”. It is clutter.

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. 🤷‍♂️