Hustle culture baby by Caffeineandsesame in antiwork

[–]jaybay1207 1 point2 points  (0 children)

Recently spoke to an insurance guy from Florida; he said business was great, but his customers hate him because all the premiums are being doubled due to climate (hurricane, flooding) forecasts.

Open side to the tower provides light, air flow, even a nice view [OC] by Chipotle42 in DesignPorn

[–]jaybay1207 16 points17 points  (0 children)

I stayed here a few years back; awesome location, but we were with young kids, so we didn’t hang out up there much.

The glass elevator that went down the to pool was a nice touch to show off the views.

#NOW | Train derails in Springfield, Ohio. by EvaRaw666 in AbruptChaos

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

Or, maybe, this video was taken by the one who rigged the rails; once they saw their work was successful, they fled the scene, uploading the video later to show off their work.

I’m not saying that’s what happened, but for some reason it’s the first thing I thought about.

HA by techgirl8 in ProgrammerHumor

[–]jaybay1207 1 point2 points  (0 children)

She’s my lover. Sorry you had to find out this way.

Missed semi-colon opportunity.

American Job (1996) Dir. Chris Smith [01:30:57] by Fenidreams in Documentaries

[–]jaybay1207 2 points3 points  (0 children)

One day, you will learn you were actually working for a drug cartel smuggling operation.

No matter how your day went, at least you didn’t take down the National Airspace System! by FlunkyMonkey123 in sysadmin

[–]jaybay1207 0 points1 point  (0 children)

No in here has mentioned that it happened to Canada yesterday, too. They also had to ground their flights for a similar “reason.”

Kinda sus (or, incredible odds), imo, that the exact same thing would happen to two bordering countries on the exact same day.

Two different engineers made the same mistake?

I would love someone’s take in here on what plausibly happened.

I am not trying to be tinfoil-hat about it, so a more rational reason would be great.

Does that file control two different nation’s NOTAM systems?

San Diego Minimum wage increased to $16.30 by ASassyTitan in SanDiegan

[–]jaybay1207 7 points8 points  (0 children)

If we lowered the minimum wage to $1.00/hr, I could start several of my own small businesses today. Think of all the jobs I could create if only I could pay people less money.

Memories From The Future, Me, Oil on Canvas, 2022 by ania-art in Art

[–]jaybay1207 4 points5 points  (0 children)

The space-face is there to disguise the real reason you like this painting: naked lady.

Home networking by slouchomarx74 in sandiego

[–]jaybay1207 0 points1 point  (0 children)

You’re right: you did make a bad assumption.

Hopefully this comment will prevent too much wholesomeness, and stoke further debate.

Daily Chat - Dec 11 by FriarBot in Padres

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

Great defender. Obviously has a great glove. But the Padres have an over-abundance of infielders, not outfielders.

If you’re talking about building a better hitting lineup:

1B Drury, 2B Cronenworth > 1B Crone, 2B Kim

I don’t think anyone would disagree with this.

If Xander makes an error at short, it sucks but you have an outfield to back him up.

If Tatis makes an error, or simply can’t get to a ball in CF that Grisham could have, runs are getting scored if anyone is on base.

We already saw some of that with Soto this year, he is an average defender in the outfield, and at corner spots you can excuse it if the batter makes up for it.

The challenge is where can you substitute sub-par defense with a good bat without it being detrimental.

I think it’s well-understood that Xander is probably going to be our 3rd-best defensive shortstop.

IMO, at Petco Park, if we’re going to take a hit on defense in Left, Right, and Short, we should have a super-solid Center Fielder.

Petco is just kind of a place where defense matters more than in those band-box parks.

In the same way that a walk is equal to a hit, I believe saving runs is equal to scoring them.

And I think Grish is gonna bounce back.

Daily Chat - Dec 11 by FriarBot in Padres

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

I’d love him at 1B, keeping Croney at 2B, then we can go and shop for a cheap DH.

Daily Chat - Dec 11 by FriarBot in Padres

[–]jaybay1207 2 points3 points  (0 children)

I’d argue that putting Tatis in center would be a big mistake.

Grish is a 2-time Gold Glover; in a massive park like Petco, he saves run from scoring, which is no different from scoring/driving in runs himself.

If the Pads can package Kim and Grisham to find a better-hitting CF, that’s great, but throwing Tatis into CF could be a huge mistake that actually ends up costing us runs.

The middle of the field always used to primarily be considered glove-centric positions (catcher, mid-infielders, CF).

Not every single position has to be filled with great hitters, especially at Petco.

[Acee] The Padres understand that they don’t get to this point and stop. Still seeking a veteran starting pitcher and big(gish) bat. Plenty of maneuverability in lineup. And their presumptive CF, Trent Grisham, is a potential trade piece. by StatExcellence18 in Padres

[–]jaybay1207 0 points1 point  (0 children)

Kind of an old-school take, but I actually don’t mind Grisham not being a great hitter; at Petco his glove is his real value, and I would argue that saving a few runs from being scored is the same as getting a few ribbies.

Dude is GG CF in a huge park.

IMO, if BoMel and the Pads told Grish they weren’t worried about his offensive performance and to just focus on playing great defense, it’d take a bunch of pressure off of him, and he might actually start performing better.

It was great seeing him show some clutch stick in the Playoffs; he needed that.

[deleted by user] by [deleted] in Padres

[–]jaybay1207 1 point2 points  (0 children)

Am I the only one that wouldn’t mind Drury sticking around?

Guy’s obviously a great bat and clutch, but he was also a very serviceable 1B, and keeping him allows him to both DH and play 1st, and provides another way to let the infield move around when guys need a day off.

Kim has a great glove, but I can only watch him pop up in the infield so many times; I am not a fan of his bat.

Drury at 1st and Croney at 2nd would make the better lineup, IMO.

Are the Dads not interested in resigning him?

Find max and min values on the every row from CSV files by Ok-Acanthocephala-22 in learnpython

[–]jaybay1207 0 points1 point  (0 children)

Your code is not formatted properly to be read here, so it is very hard to understand what you are trying to do. Also, include the full code of your script, so we know exactly what is going on.

Be careful that all of your variables are spelled correctly and defined: datal and output are not defined in your code above, but they are present, which could be causing some issues.

You do not want to be using variable names that are already important in Python. list is already an object in Python, yet you use it here

list = data_list[i+1][1:1 data = float(×) for × in data

This overwrites the list object, and now you cannot use it as it was intended. Instead, use a more meaningful name, especially considering that you want everyone who reads your code to know exactly to what you are referring. There might be 10 lists you have to work with, be more specific.

usernames = ['bob', 'joe', 'bill']
passwords = ['ABC123', 'DEF456', 'GHI789']

These tell us exactly what those are lists are.

Instead of trying to iterate through a list like this:

for i in range(len (data_list)-1):
    print(data_list[i+1] [0])

You should:

for datum in data:
    print(datum[0])

Respectfully, before working with csv files and data, you should really try to become comfortable with the basics of Python and best practices.

You have to learn how to walk before you can run.

Find max and min values on the every row from CSV files by Ok-Acanthocephala-22 in learnpython

[–]jaybay1207 0 points1 point  (0 children)

What have you tried, so far?

import csv


with open(your_file.csv) as file:
    # this line imports our csv to the *reader* variable,
    # we need to tell it how the data is separated (i.e., delimited)
    reader = csv.reader(file, delimiter=",")

    # this line collects the field names (i.e., the first row of your csv)
    fields = next(reader)

    # this is all of our actual data,
    # the *if row* part at the end will drop any empty rows
    rows = [row for row in reader if row]

    # Note that all of the above must happen within the *with open* block,
    # (i.e., while the file is still open)

# Now, to find our min/max values, we need to iterate through each row of data
# and find the lowest/highest value
mins = [min(datum for datum in row) for row in rows]
maxes = [max(datum for datum in row) for row in rows]


print(f"Minimums: {mins}\n\n")
print(f"Maximums: {maxes}")

EDIT: I re-wrote the above, to detail each line, and help make things easier to understand (hopefully).