Baseball

851 readers
1 users here now

The fans' home for baseball.

Mods wanted!

If you’re a member of the original mod team for r/baseball (or just wish to help out in general), DM @headie_sage@fanaticus.social and I’ll restore your position :)

AL East

!tampabayrays@fanaticus.social !orioles@fanaticus.social !nyyankees@fanaticus.social !torontobluejays@fanaticus.social !redsox@fanaticus.social

AL Central

!minnesotatwins@fanaticus.social !clevelandguardians@fanaticus.social !whitesox@fanaticus.social !motorcitykitties@fanaticus.social !kcroyals@fanaticus.social

AL West

!texasrangers@fanaticus.social !astros@fanaticus.social !angelsbaseball@fanaticus.social !mariners@fanaticus.social !oaklandathletics@fanaticus.social

NL East

!braves@fanaticus.social !miamimarlins@fanaticus.social !phillies@fanaticus.social !newyorkmets@fanaticus.social !nationals@fanaticus.social

NL Central

!buccos@fanaticus.social !brewers@fanaticus.social !reds@fanaticus.social !chicubs@fanaticus.social !cardinals@fanaticus.social

NL West

!azdiamondbacks@fanaticus.social !sfgiants@fanaticus.social !dodgers@fanaticus.social !padres@fanaticus.social !coloradorockies@fanaticus.social

founded 2 years ago
MODERATORS
576
 
 

All-Star Game - NL All-Stars @ AL All-Stars - 08:00 PM EDT

Game Status: Pre-Game

Links & Info

  • Current conditions at T-Mobile Park: 77°F - Roof Closed - Wind 7 mph, Varies
  • TV: National: FOX-INT, FOX
  • Radio: NL All-Stars: ESPN Radio, AL All-Stars: ESPN Radio
  • MLB Gameday
  • Statcast Game Preview
Probable Pitcher (Season Stats) Report
NL All-Stars Zac Gallen (0-0, -.-- ERA, 0.0 IP) No report posted.
AL All-Stars Gerrit Cole (0-0, -.-- ERA, 0.0 IP) No report posted.
NL All-Stars Lineup vs. Cole AVG OPS AB HR RBI K
1 Acuña Jr. - RF .500 2.667 2 1 1 0
2 Freeman, F - 1B .350 1.059 20 1 2 7
3 Betts - CF .429 .896 14 0 1 1
4 Martinez - DH .200 .738 40 2 4 17
5 Arenado - 3B .455 1.410 22 3 4 1
6 Arraez - 2B .286 1.089 7 1 1 1
7 Murphy, S - C .000 .167 5 0 0 2
8 Carroll - LF - - - - - -
9 Arcia, Or - SS .143 .286 7 0 0 1
10 Gallen - P - - - - - -
AL All-Stars Lineup vs. Gallen AVG OPS AB HR RBI K
1 Semien - 2B .600 1.467 5 0 1 0
2 Ohtani - DH .000 .000 3 0 0 2
3 Arozarena - LF .000 .333 2 0 0 0
4 Seager - SS .333 .757 18 0 1 5
5 Díaz, Y - 1B .333 .666 3 0 0 0
6 García, Ad - RF .000 .000 2 0 0 0
7 Hays - CF - - - - - -
8 Jung - 3B .000 .000 2 0 0 1
9 Heim - C .000 .000 5 0 0 3
10 Cole - P - - - - - -

Posted: 07/11/2023 07:50:24 AM EDT, Update Interval: 15 Minutes

577
 
 

It came down to the wire, with Randy Arozarena hitting 23 in the final round, two short of tying Vlad's 25.

What a night!

578
 
 

Highlight of the night right there!

579
 
 

Let's all watch some dingers together! Who you got?

580
 
 

It will now rely on The Athletic for its sports coverage.

581
 
 

Or a heads-down play, depending on your perspective.

582
 
 

Credit to Jomboy Media for the caption.

583
584
585
586
 
 

Oppo-Taco style!

587
588
 
 

cross-posted from: https://fanaticus.social/post/154152

Hello everyone! I'm back from vacation (was gone the past two weeks) and am ready to dive back into work on the game bots.

I just wanted to give everyone a quick update. You can check out my previous update thread here.

Status

  • All 30 teams have their own game bots configured and activated
  • 29 of the game bots run on the same server as fanaticus' lemmy code (big beefy box) with Cerevant running the phillies bot.
  • The post limit has been increased in 0.18.1 to 50k from 10k so we no longer have a truncation issue
  • The sidebar bot has been ported to lemmy but unfortunately is a bit more limited that we are used to (it only updates the standings of a single division) -- check out what it looks like here
  • Cerevant has [identified an issue](Reported: https://github.com/LemmyNet/lemmy/issues/3544) where pinned posts are not being federated correctly on foreign instances
  • There is an issue with the game bots that has occasionally taken down the fanaticus servers (I'll discuss this more below)

Current Issue

Game Bots Out of Control

There is an issue with the game bots that has occasionally taken down the fanaticus servers

Game bot will periodically hit a 503 while updating one of its game threads and enter a loop where it continuously attempts to update the post and fail. A bot that enters this state almost immediately spikes one of the server's four CPUs to 100%, then very quickly fills up the shared disk with the same log (GBs of logs). The GBs of logs produced by these rogue bots fill up the server and because the game bots share the same server as fanaticus, they cause the lemmy server to crash.

While I'm not entirely sure what causes this issue, my current hunch is that it's related to a rate limit either with our lemmy or nginx configuration.

When we first started bumping up to the max CPU & memory on our server I upgraded it to a beefy dedicated machine with a quad core and 8GB of RAM. I did not upgrade the shared disk space at that time. The server size was total overkill but I wanted to run the game bots on the same machine.

I've gotten a lot of questions regarding why the game bots were turned off last week and this is the reason. I had to basically babysit them and restart any that ran off the rails and because I was on vacation, I couldn't investigate the bug to fix it or babysit the bots.

Possible Fixes

These are some options I'm tossing around to fix this issue. They're not necessarily going to happen but I'm writing them here publicly so you all know that I'm working on it and to get some public comment.

  1. Fix the bug, obviously :)
  2. Move the game bots to another server, separate from fanaticus^1^
  3. Create some sort of system that detects the bots are in a runaway state, alerts me, and/or programmatically restarts the bad bots

This is a top priority for me now that I'm back from vacation and I will be working on this starting today.

Future Work

  1. Add more features to the sidebar bot to achieve feature parity with the former Reddit game bots (team/league leaders, multiple division & playoff standings, live league scoreboards)
  2. Customizable periodic threads (e.g. a daily "Around the Horn")
  3. Closer to NBA/NFL/NHL season, we'll port those game bots to lemmy

Contributing

First off, huge shout-out to Cerevant who has been working with me porting the bot to lemmy. He's done amazing work, added new features, fixed multiple bugs, and has been overall a great person to work with! Thank you!!

Another shout out to todrob99 for creating the original redball bots. He's been very responsive and encouraging as Cerevant and I work on the bots.

For any of you who want to contribute, whether it's coding, creating features requests, reporting bugs, or reviewing PRs, you can find my fork of the redball app here.

We are also discussing the work in the #lemmy channel of todrobb's Discord channel here.

Finally, another way to contribute is to take over your community's bot and run it yourself! The code is open source and I can help you set it up on your own server. That would make it easier on me so I don't have to run all the bots and you can configure it to your community's liking.


TL;DR bots are live, a little buggy, but are being improved daily!

^1^ This is definitely the correct thing to do but I'm hesitant to do this right away. I'm not a server admin by trade and this means 1) Extra overhead ($$) and maintenance 2) That I have to take time away from improving and extending the bots' functionality to do server admin work

589
 
 

Looks like they do this pretty regularly https://www.mlb.com/news/shohei-ohtani-s-hometown-loves-him

590
 
 
591
 
 

Elly De La Cruz became the first Reds player since 1919 to steal second, third and home in the same inning, the latest electrifying feat from the franchise-changing rookie.

ESPN Video

592
 
 
593
 
 

The first no-hitter at Comerica Park since Verlander blanked the Brewers in 2007. It marked the second no-hitter in the past three years for the Tigers, who watched Spencer Turnbull blank the Mariners in Seattle on May 18, 2021.

594
 
 

My wife and I are bringing my oldest son to his first Yankee game today. This lineup’s batting averages are embarrassing. Two starters are below .200.

595
596
597
 
 

It’s been just over a month since Elly De La Cruz was called up to the big leagues.

598
599
 
 

Watch it on 10:30 p.m. ET on MLB Network and MLB.com.

600
 
 
view more: ‹ prev next ›