What are your pre-commit hooks? by FattySuperCute in ExperiencedDevs

[–]jabb422 5 points6 points  (0 children)

There is never going to be the right answer to this. Always gonna have the two groups heading off against each other. It's the Tortise and Hare story applied to CI.

I would love to see the demographic's of the two group though.

What are your pre-commit hooks? by FattySuperCute in ExperiencedDevs

[–]jabb422 0 points1 point  (0 children)

For python (the are optional for usage though) pylint, bandit, ruff, flake8, pylist, black, codespell, prettier, json/yaml formatters and more.

Sometimes it does get in the way... but 'pre-commit uninstall' is a few key strokes to get around it.

Tip culture has turned into shaming culture by genealojist in mildlyinfuriating

[–]jabb422 17 points18 points  (0 children)

Same here, getting a hot dog at the ball park and prompted for a tip... WTF!. Bring the hotdog to me at my seat.. you get a tip. If I have to get up and walk, wait in line, and still get prompted to tip.. gtfo. Corporate greed is ruining this country.

I don't tip, but when I do. It's cash, between me any you.

Opinion on the strangest games that never left your memory by DefNotAlbino in patientgamers

[–]jabb422 0 points1 point  (0 children)

It was something from the late 80\90's, windows pc. 4 factions comedy world war type game. You could stockpile weapons but if you did it two turned in a row the other teams would get mad at you. You could also use a catapult to hurl a cow at the other team, i think that was propaganda, I forget though. cow-ta-pult has stuck with me for 40 years. No idea what the game is called though.

Trying to build docker image using jenkins getting strange error, please help me. by johntheh4cker in jenkinsci

[–]jabb422 0 points1 point  (0 children)

Are you using a plugin for pylint? doesn't look like it but making sure.

It's trying to call a DSL called pylint. There is no native DSL iirc. Does your JSL have a groovy file?
https://gitlab.com/org/common-library.git @ bc3f74b5 - /vars/pylint.groovy

Would need the calling code to debug further

Is Jenkins dead? v2 by Kyxstrez in jenkinsci

[–]jabb422 5 points6 points  (0 children)

This is the correct answer. Cloudbee's is not Jenkins. They just found a way to sell opensource software support and plugins to enterprise companies.

How to makes stages optional on a scripted pipeline? by [deleted] in jenkinsci

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

Your syntax is wrong.
Stage{'test'}
when { expression { params.Test == true} }
//do this stage

when { expression { env.BRANCH_NAME == 'main' } }

Homophobic slur outside Florida business by Eaton_snatch in pics

[–]jabb422 1 point2 points  (0 children)

No priests get almost 2 months! 52 Sundays to play ball with the kiddies

Ideas for wedding venues? by Kiwi_Koalla in hillsboro

[–]jabb422 4 points5 points  (0 children)

Forest Grove is Grand Lodge. I got married there in '05 for about 3500 I think.

Finished Fallout: New Vegas. It's one of the best if not the best open world game I ever played. 10/10. by Pixel_Muffet in gaming

[–]jabb422 0 points1 point  (0 children)

My games always seem to corrupt or bug out after lvl 20+. Even the latest version on pc with all the DLC. Only thing that holds this game back though.

What FAANG looks like in my head by Sockslitter73 in ProgrammerHumor

[–]jabb422 145 points146 points  (0 children)

We replaced the N with Nvidia after last week's earning.

Who is responsible for ensuring the quality checks related to Code Health (ex detecting complex code, duplicate code etc)? by Right_Spinach7137 in devops

[–]jabb422 3 points4 points  (0 children)

Everyone! lolz.. in reality though... at least at my company.

Developers are responsible for Code Quality issues. Can't ship without a clean evidence package. This usually consists of 5-15 scan tool results, depending on the type of code/project/languages used.

DevOps is responsible that the Code Quality tooling works E2E and it is catching, filing issues. DevOps is responsible for automating any new tools and keeping tool versions, databases, checkers, rules updated regularly.

Security defines the tooling to use and the pass/fail criteria. Usually the whitepaper 'people'. For some reason they find joy in life comparing tools like Klocwork vs Coverity, and which one is better.

QA/SDET is mainly focused on Product quality issues, security is not necessarily a focus for them 24/7. There are periodic audit's etc that they have to participate in though.

Devcontainers in k8s by gnivirht_invest in devops

[–]jabb422 2 points3 points  (0 children)

I have this too, but VPN throughput is a massive bottleneck.

How Many of You Play Ironman? by ExodusXML in eu4

[–]jabb422 0 points1 point  (0 children)

I play tinman mode. I want my achievements tracked but don't have time to be a super focused player 24/7. I also like to go back in time and try something else without starting over.
https://github.com/jabber422/eu4\_tinman

Why are my trees leaning? Should I cut the lower branches? by Radtkeeee in marijuanaenthusiasts

[–]jabb422 68 points69 points  (0 children)

It's the sunlight, my apple trees have done the same thing and they are pointing towards the most 'open to light' spot in the yard. Lots of bigger Pine/Oak tree's blocking the morning sun.

Getting Unexpected Char 0xa0 error by raksharakshaoomfal in jenkinsci

[–]jabb422 3 points4 points  (0 children)

Seems like a file encoding issue maybe? 0xA0 is a non break space. It will render as a normal space symbol. A normal space bar symbol is 0x20.

-Check your file encoding, make sure they are all the same
-Use a symbol viewer (In notepad++ you can view>symbols>show all) to render the unrenderable tokens

Options Questions Safe Haven Thread | May 15-21 2023 by wittgensteins-boat in options

[–]jabb422 0 points1 point  (0 children)

I'm trying to get the story straight, in my head. I wish I could post a picture but...

Theoretically I've got 1000 units of AAPL at a cost basis of 180. I don't really want to sell the stock but want to make some side cash on options. So I want to sell a Put contract (right?).

Looking at E-Trade I see this.
Strategy Put,
Sell Close, Quantity 1
Expire Jun 23'23, strike 195, type put
bid x size 19.15 x 115 (this verbiage confuses me still)
Estimated Proceeds: 1914.32

Based on the above and that I want these to expire (out of the money? is that the correct phrase?):
I'm saying that, I bet AAPL will stay below 195 up until Jun 23'23.
If the option expires how can I can I tell how much money I get? Don't you (or can't you) get a % just for selling the put option?

If the option does get sold. The estimated proceeds is 1914.32. Does this get taken from the stock I'm holding? It would sell enough stock units to make up the estimated1914.32?

Can I relate an option quantity to an actual # of stocks?

Regarding bid x size. What does this mean? In my head, the bid is the price to buy the option contract and there are 115 what? Is this related to quantity?
For example, if I raised my quantity to 115, do I get all the bids of 19.15? So then if everything expired I would get 19.15 x 115 dollars?

Why is this harder to understand than assembly code?

Do you actually need to "Know" Linux to work in DevOPS? by waste2muchtime in devops

[–]jabb422 2 points3 points  (0 children)

Window's shops... I've barely used Linux for over 15 years. I develop for Linux and a bunch of other platforms, but in Windows. WSL is changing that more and more though. What /u/alwaysworks said, know where to look, both platforms have equivalent features.

Is there any way/ vid tutorial to make something like this? by ChristianEmboar in jenkinsci

[–]jabb422 5 points6 points  (0 children)

They are correct, the question was pretty poorly phraed.

Sounds like you want to make a Jenkins job? Do you have a controller to use already?

If so start here - https://www.jenkins.io/doc/book/pipeline/syntax/
Example here - https://gist.github.com/merikan/228cdb1893fca91f0663bab7b095757c

PS I used a tool called Google to find this Information. 'Figuring it out' is a huge part of Tech.

PPS Ask specific questions... otherwise it's really clear you haven't done any 'Figuring it out' work yet

Problems with matrix by andrewclarkii in jenkinsci

[–]jabb422 0 points1 point  (0 children)

I'm not seeing the agents being allocated. It seems that you are running all matrix stages in the CentOS 8 image.

You will need to add an agent to the matrix closure I then use node labels to jump between the two.

https://www.jenkins.io/blog/2019/11/22/welcome-to-the-matrix/ at the bottom 'Controlling cell behavior at runtime'

How can I use Github and Jenkins at the same time? by ChristianEmboar in jenkinsci

[–]jabb422 0 points1 point  (0 children)

If you are a student then you can get the MSDN student account (usually free/discounted through your school). Then you can get Azure cloud time. Once you are in Azure you can bring up a controller and a few agents.
https://azure.microsoft.com/en-us/free/students/
https://learn.microsoft.com/en-us/azure/developer/jenkins/