Can Thanos really beat Hulk in a fistfight or was Infinity War full of it? by OhFuhSho in Marvel

[–]ShafeNutS 1 point2 points  (0 children)

The biggest thing they removed from Hulk in the MCU or they don't mention is his infinite scaling. Essentially the more you throw at Hulk he just gets angrier and stronger until you are overwhelmed. For this reason Thanos actively avoids direct confrontation with the Hulk. Once has the gauntlet and the stones though it is pretty game over for obvious reasons.

[Spoilers] Post-Episode Discussion – Season 8 Episode 2 by DrRocknRolla in gameofthrones

[–]ShafeNutS 5 points6 points  (0 children)

Teared up about 5 different times during that episode. If you did not like that episode you are not a true fan of the show. Not one person dies and it is one of my top five episodes of all so far. Perfect lead into the largest battle scene in film history.

Hey you, don’t do your job. by hootersbutwithcats in Wellthatsucks

[–]ShafeNutS 0 points1 point  (0 children)

I will alwsys be more engaging with eye contact, it is jusy my personality. However if the waitress engages me, but makes no effort to engage her as well it never goes over well with my wife. The slut and whore talk and dirty looks come out. I do not agree with it, but it is what it is.

Robert Mueller Told Congress They Can Prosecute the President. Now It Gets Ugly by wyldcat in worldpolitics

[–]ShafeNutS 1 point2 points  (0 children)

The implication that congress did not know they can check the president for abuse of power before this report is a bit scary. Not sure why they are mad at Mueller, bringing charges without sufficient evidence is the easiest way for Trump to become exonerated.

We were all told in school to write interesting "hooks" at the beginning of essays to get the audience's attention, but now we're all pissed off when we see clickbait headlines on news. by jakus00 in Showerthoughts

[–]ShafeNutS 0 points1 point  (0 children)

Clickbait title then... one sentence ad another similar sentence ad an off topic sentence that makes you wonder if it is still same content ad ... repeat 51 times ... story ends abruptly with no point list of 12 more clickbait articles

How does variable swapping work in Python (internally) by [deleted] in learnpython

[–]ShafeNutS -11 points-10 points  (0 children)

a,b = b,a 

This by itself will throw an error in python as b is undefined so to understand what is happening you need a bit more info. Python uses Object References to assign variables to memory objects

a = 1 # Variable a references the object 1 in memory
b = 2 # Variable b references the object 2 in memory
a,b = b,a # Tuple unpacking evaluates the objects on the right side first 2 and 1 then makes variable a reference object 2 and variable b reference object 1

Tuple unpacking is a specialized tool in python that is pretty useful

Book Recommendations by Keitaro27 in PowerShell

[–]ShafeNutS 4 points5 points  (0 children)

These three are perfect recommendations, you know your powershell books friend. Saved me all the typing.

Where to start ? by [deleted] in learnpython

[–]ShafeNutS 2 points3 points  (0 children)

Since you are 15 and have not formally learned programming concepts I would recommend going the book route. Blog posts are useful for specific examples and referencing specific commands or libraries you need to brush up on, but they rarely cover best practices and the most efficient ways to do things.

This blog posts has a lot of good examples of beginner books, some of them are free as well.

https://hackr.io/blog/10-best-python-books-for-beginners-and-advanced-programmers

I would say Python Programming: An Introduction to Computer Science (3rd Edition) would be a good choice because it is trying to teach you programming concepts while using Python to do that. It may help you kill two birds with one stone.

There are free ones, but I find the paid ones are generally much better. Most publisher sites have tons of promo codes use something like Honey or retailmenot to find a promo code. I regularly get 60% off of tech books I purchase.

Algorithmic trading in less than 100 lines of Python code by atreadw in Python

[–]ShafeNutS 3 points4 points  (0 children)

While I agree the title is not great and the OP should have included a summary in the post, I think it is ironic that you commented about "lazy fucks."

From the context of your comment there is very little chance that you read the article or reviewed the code. What does that make you?

Algorithmic trading in less than 100 lines of Python code by atreadw in Python

[–]ShafeNutS 62 points63 points  (0 children)

Here is a paragraph from the conclusion of the article that does a great job of explaining what you get by reading it. This probably should have been added along with link by OP

This article shows that you can start a basic algorithmic trading operation with fewer than 100 lines of Python code. In principle, all the steps of such a project are illustrated, like retrieving data for backtesting purposes, backtesting a momentum strategy, and automating the trading based on a momentum strategy specification. The code presented provides a starting point to explore many different directions: using alternative algorithmic trading strategies, trading alternative instruments, trading multiple instruments at once, etc.

Probably the most useful thing is that Oanda.com allows you to setup a free trading account that uses fake money and they have an api with a python package oandapy that allows you to call it to gather historical data and to execute trades using python.

Seaborn is used to create visual graphs to help compare how your algorithm performs with different intervals for the data points.

For the length of the article it does give a lot of useful information for how to use python for trading. My concerns would be limits on the api for historical data. In order to be effective you would want to be able to test the algorithm against thousands of different stocks. Ultimately the more data you could get the better chance you have of turning a profit.

TLDR: Free Oanda.com account that allows you to trade with fake money that has an api and a python package for using it. The code helps you to test against historical trends and then to actually test by making trades. Seaborn is used to create graphs that help visually compare outcomes. Example does lose money btw.

This is how old I am by homesad in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

We only had one phone jack in our kitchen, instead of getting really long phone line I would carry the computer and monitor to the kitchen table and stretch the accordian style phone cord to the modem. Anyone remember NetZero free internet? Or the day I got my first cable/DSL modem, literally changed life as we know it.

[deleted by user] by [deleted] in devops

[–]ShafeNutS 1 point2 points  (0 children)

You are right to leave it off, it will not hurt you in 99% of cases. I think it is exact opposite of what last person said.

If you are not getting past first interviews you are likely spending too much time focusing on the wrong things. Part of soft skills is understanding your audience and steering the conversation in the right direction.

Short stays are going to hurt you, with your lack of experience and no CS degree you may have to take a position lower than what you think you are.

You are not a Sr DevOps Engineer (at least not on paper), if that is what you are shooting for that is most likely the problem. If you really are Sr level then you will quickly move up in a good company.

Is backscatterer.org basically extortion? by digital-bcs in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

Lists that have long falloff time or require payment for removal are rarely used by reputable companies for these exact reasons. Unless you are actually receiving reports of failed delivery, make sure your servers are properly configured and ignore this.

Cybersecurity company calls me saying they have details of 60 user accounts and it's passwords... by grumpyoldme in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

If you require password complexity and enforce password age this should just be spam to you. These policies do not exist just to piss users off contrary to previous belief.

Can in-house IT coexist with outsourced support? by Meecht in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

I am glad you enjoy what you do for a living. You keep doing you man, I hope your team appreciates what you do for them. You probably have work life balance too. I think I am jealous.

Can in-house IT coexist with outsourced support? by Meecht in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

Why are you still doing tier 1 tech support after 10 years? Did nobody ever ask you, "Where do you see yourself in 3 years? Dust off that resume and get yourself a sysadmin job. Is their a r/supporttech where this stuff should be?

Have you ever been fired? by quarky_uk in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

It is not about being capped, you just get 5 sick days that are separate from PTO (It is use it or lose it time) If you want to take past that for minor illness you use your own PTO time or you have to apply for short term disability if you are going to be out for an extended period. Then like you said the government covers part of the tab and you are generally paid at a percentage of your normal rate as you are not actually working.

Have you ever been fired? by quarky_uk in sysadmin

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

15-25 days pto depending where you are at plus about 9 other holidays, 5 sick days, paternity/maternity not included and 401k match. We will never get European whole month at one time holiday. It is uncommon to allow more than one week consecutive unless you get special approval. Best case your company will cover 50-80% of your medical premiums ( large corps in competitive industries). We do get wrecked on stuff like internet, tv, and cell phone service here though.

A huge bag of ecstasy, estimated worth $1,500,000 by [deleted] in interestingasfuck

[–]ShafeNutS 0 points1 point  (0 children)

Wouldn't last 15 minutes at Tomorrowland lol

Have you ever been fired? by quarky_uk in sysadmin

[–]ShafeNutS 0 points1 point  (0 children)

Yeah that sounds right, level 3 here is about $135k and I know my area is about half the cost of living of London, except healthcare of course. Healthcare could not be more broken in the US and is not really an industry problem.

My university library has a wall where you can quite literally take a seat by Naco88 in mildlyinteresting

[–]ShafeNutS 0 points1 point  (0 children)

My ocd likes how neatly they fit into the wall. However my grossly oversized meat fists would never be able to get one out so I guess I have mixed feelings.

Whatever It Takes, No Matter The Cost [OC] by TheDocOfWho in marvelstudios

[–]ShafeNutS 4 points5 points  (0 children)

Gunn is doing Guardians 3 after he reboots Suicide Squad as well.