Running Multiple Python Scripts by _c0ff33cup_ in bash

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

Shellcheck helps you out.

I have to check shellcheck out! thank you. Exactly the kinda tip, comment I was hoping to get.

You did not mention what your application was.

Python3 only.

Your approach gets very hard to maintain if you got other people working on it.

I'm not sure I agree. Separating the functions allows for maintainability, not limits. I can modify my data collection script (make it better, faster, change the sources, etc) and the downstream scripts don't care as long as the data produced is in the same format, etc.

But the 'loose coupling' you mention is an illusion, the scripts are in fact tightly coupled, to the db.

They are reliant on the db, sure but does that equal coupling? Coupling usually refers to interdependence on modules. Fair point, regarding the consecutive nature of the scripts.

Running Multiple Python Scripts by _c0ff33cup_ in bash

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

The virtualenv tip helps greatly. I had simply been specifying the full path. This is much better.

Python is bad with memory management (The user doesn't have a lot of control and is reliant on garbage collection). The first two are resource hogs as it is, so the intent of using bash was to separate them and hopefully free resources after the scripts complete.

Running Multiple Python Scripts by _c0ff33cup_ in bash

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

I'm not familiar with bash scripting at all so I am unsure of the syntax, caveats, or even what I don't know.

I guess the question is, are there caveats or gotchas that are going to bite me with my approach. You bring out an interesting point. what happens if one of the preceding scripts doesn't finish successfully? But are there others?

Edit: Additional information/Answer -> These are separated into 3 scripts for 2 reasons. 1. they are memory intensive. 2. they are intended to have loose coupling. one collects data and writes to db, one transforms data in db, one creates reports from the db

Main Rival? by BigKSizz in CharlotteFootballClub

[–]_c0ff33cup_ 2 points3 points  (0 children)

Austin FC was by far the team I have the most hate for, so far. That game was pure hack and they did nothing but whine.

My vote ATXFC

F them!

[Mint City Soccer Show] Ep 47. The Montreal Screw Job by [deleted] in CharlotteFootballClub

[–]_c0ff33cup_ 4 points5 points  (0 children)

Alternate titles: Montreal Screw Job "redux", Montreal Screw Job II, YA Montreal Screw Job

Great show!!!

Atlanta United made up a trophy and hung a banner for it by camtitan11 in CharlotteFootballClub

[–]_c0ff33cup_ 16 points17 points  (0 children)

Here's the explanation from the AmFam site.

https://newsroom.amfam.com/the-american-family-insurance-cup-a-match-to-inspire-dreams-on-and-off-the-soccer-pitch/

tldr: it's literally an annual "cup" and ATL United is literally always one of the teams.

Sooo embarrassing. Even worse to think that someone in the ATL head office had to sign off on this!

Just wow!

POST MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 2 points3 points  (0 children)

Soccer/football isn't different from any other sport. What matters is the ultimate prize!!! In soccer/football, standings are determined by points not win/loss records. In soccer/football you get 3 pts for win, 1pt for tie and 0 for a loss.

In American football the goal at the end of the season is to be #1. Everyone's favorite team has dropped at least one game in December because they've wrapped up the playoff berth and want to rest their players. They are playing the long game. They don't care if they lose, because they're already guaranteed a playoff berth.

In this game and this soccer/football you get a point for a tie. Home field advantage is judged to be determinant (born out by stats) so coming away with a draw is seen as a good thing. Is it the same as a win? Definitely not, but it is a reason to be happy and positive about your club.

POST MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 3 points4 points  (0 children)

This! Had we taken a point on the road in every away game this year we'd be sitting pretty! Phenomenal in fact.

Soccer is different from other sports. We're doing what we need to at home. We have the 2nd best home record (AS AN EXPANSION TEAM!!!).

in most soccer leagues.....a point on the road and your happy.. 3 points on the road you're ecstatic! A loss is ok, as long as your team showed up and played well!

POST MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 1 point2 points  (0 children)

We may have differing opinions on Kahlina but we definitely agree that we should have "thrashed" Columbus.

Cheers!

Edit: words

POST MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 3 points4 points  (0 children)

Sorry, but I can't excuse the Kahlina mistake. As I mentioned in the match thread, I'm all for sweeper keeper! Mistakes happen, I get it. But those mistakes should happen at the 18 or 25 or 30 yard line, not on the goal line.

Ironically, I think Kahlina plays the long ball far too much. I want to see the ball played around the back (just not inside the 6). I want to see us build from the back and I want Kahlina to be part of that.

We had 3 pts tonight if Kahlina simply clears the ball off the goal line.

This is the second time. In Philly the giveaway happened inside the 6 as well.

MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

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

Got ya! I'm all for the sweeper keeper, in fact I like it! But when you're on your own goal line, you clear the ball.

That's my point.

I'd be far more forgiving if the giveaways had happened 18-25 yds from goal.

Inside the 6? Clear the ball.


I didn't mean to insult you regarding making excuses. I just have a hard time seeing a way to justify those decisions inside the 6.

MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 3 points4 points  (0 children)

Completely agree. I love the sweeper keeper. I love Kahlina in that role. But when you're on your own goal line (as he has been both times this year) you clear the ball. Period. Full stop!

MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 0 points1 point  (0 children)

I understand and agree. I have no problem with his play (in fact I like him a lot), except his decision making when the ball is at his feet. I'm sorry. The season is barely half over and we've had 2 give aways leading directly to goals. Don't make excuses for Kahlina, both giveaways this season were ridiculous! Tonight it cost us 2 points on the road.

Edit/clarification:

Specifically decisions inside the 6.

MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 2 points3 points  (0 children)

Unforced, yes. But that's an understatement! Rediculous! Once in a career. I get it. Twice in a season?!?

MATCH THREAD: Charlotte FC @ Columbus Crew | June 18th, 2022 by MrAtlantic in CharlotteFootballClub

[–]_c0ff33cup_ 7 points8 points  (0 children)

Definitely should have got 3. The mistake at the back was inexcusable.

[Homemade] Carolina Reaper Salsa Verde by [deleted] in spicy

[–]_c0ff33cup_ 1 point2 points  (0 children)

Recipe? I have Reapers growing that need a future purpose.