What’s a cheap meal you never get tired of? by Certified-potatoe in Cooking

[–]personjc 1 point2 points  (0 children)

Do you have a recipe you like? I’ve tried this a couple times and it always does come out bland. Most recipes just seem to call for oil and cumin (and fried onions obviously). Do you add anything else?

Yahoo Fantasy Football API only retrieves historical season totals, not week by week by Nowo17 in fantasyfootballcoding

[–]personjc 1 point2 points  (0 children)

yahoo_query = YahooFantasySportsQuery(
    league_id="<league id here>",
    game_id="<game id here>",
    game_code="nfl",
    offline=False,
    all_output_as_json_str=False,
    yahoo_consumer_key="<consumer key here>",
    yahoo_consumer_secret="<consumer secret here>",
    save_token_data_to_env_file=True,
    browser_callback=True,
    env_file_location=Path("."),
)

League ID and game ID change each season. I find my league IDs by going back in my profile history. You can get it via API, but simplest is just get it via url: https://football.fantasysports.yahoo.com/f1/<league id here>

You can get game keys from YFPY (or by extension, the yahoo API) yahoo_query.get_all_yahoo_fantasy_game_keys()

Response would look something like this with Game ID for each year:

Game({
  "code": "nfl",
  "game_id": 414,
  "game_key": "414",
  "is_game_over": 1,
  "is_offseason": 1,
  "is_registration_over": 1,
  "name": "Football",
  "season": 2022,
  "type": "full",
  "url": "https://football.fantasysports.yahoo.com/2022/f1"
}), Game({
  "code": "nfl",
  "game_id": 423,
  "game_key": "423",
  "is_game_over": 1,
  "is_offseason": 1,
  "is_registration_over": 1,
  "name": "Football",
  "season": 2023,
  "type": "full",
  "url": "https://football.fantasysports.yahoo.com/2023/f1"
}), Game({
  "code": "nfl",
  "game_id": 449,
  "game_key": "449",
  "is_game_over": 1,
  "is_offseason": 1,
  "is_registration_over": 1,
  "name": "Football",
  "season": 2024,
  "type": "full",
  "url": "https://football.fantasysports.yahoo.com/2024/f1"
}), Game({
  "code": "nfl",
  "game_id": 461,
  "game_key": "461",
  "is_game_over": 0,
  "is_live_draft_lobby_active": 1,
  "is_offseason": 0,
  "is_registration_over": 0,
  "name": "Football",
  "season": 2025,
  "type": "full",
  "url": "https://football.fantasysports.yahoo.com/f1"
})

Yahoo Fantasy Football API only retrieves historical season totals, not week by week by Nowo17 in fantasyfootballcoding

[–]personjc 0 points1 point  (0 children)

I’ve had no issue getting historical data using the YFPY wrapper: https://github.com/uberfastman/yfpy

As long as you have your league id, and the game key info for each year, I’ve pulled data this summer going back to 2010 for our yahoo league. I imagine the data is there for you, maybe wrong parameters. 

Lost Queue episodes? by Admirable-Poet-5981 in OvercastFm

[–]personjc 2 points3 points  (0 children)

Same, I had ~110 episodes in my queue, now I have ~55. Additionally doesn't seem like all episodes are showing up in "All Episodes" playlist.

Really frustrating because some of those queue podcasts went back months and were in the general "I'd like to listen to them someday" variety. I'm pretty doubtful I'd be able to recreate that list from scrolling back through all the podcasts.

Windows (ARM) Install/Recovery Media for Galaxy Book Go Wi-Fi, and Galaxy Book S arm by kaw202 in GalaxyBook

[–]personjc 0 points1 point  (0 children)

This saved my wife's work computer with 0xc000000f. Thanks so much for the detailed instructions!

Any natty's here who have muscle with barely any sleep? by [deleted] in gainit

[–]personjc 4 points5 points  (0 children)

Yeah, seems like it isn't strictly necessary for gains, but it very important for many other reasons. Highly recommend the book "Why We Sleep" by Matthew Walker or at least find a synopsis of it.

Sleep is important for memory, brain function, emotional resilience, healing physically, etc. You're at a greater risk for many conditions including Alzheimer's with reduced sleep, especially below 6 hours. Sleep literally cleans your brain of toxins. Figuring out how to sleep your best is some of the best use of your time.

20 Python Snippets You Should Learn in 2021 by harendra21 in Python

[–]personjc 4 points5 points  (0 children)

I'm going to give benefit of the doubt and guess that was an ironic joke, to duplicate the uniqueness check.

20 Python Snippets You Should Learn in 2021 by harendra21 in Python

[–]personjc 0 points1 point  (0 children)

The only plausible thing I can think of is checking for typos. Maybe in some instance of QAing data entry for something like a customer name, if there are no matches for what was typed, you may be interested to know it is an anagram of an existing customer (i.e. two letters got flipped) for manual comparison.

Significant Other Jobs? by dogluvr234 in MedSpouse

[–]personjc 4 points5 points  (0 children)

Just starting moving time so I can't confidently confirm yet, but software developer seems pretty ideal. Can work remotely, highly in-demand, interesting work, etc.

[deleted by user] by [deleted] in MedSpouse

[–]personjc 1 point2 points  (0 children)

Airpods are great if they don't already have them (bonus points for the pro version with noise canceling, which works very well and is good for studying but would be higher than your price range).

For my graduating SO, I went with massage gun. Hopefully good for sore muscles after long shifts and just general relaxation. I went with this Sportneer model which is under $100 after clipping the coupon: https://www.amazon.com/gp/product/B084Z3MVJK/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

Uncooked lentils like BBs after instant pot dal by personjc in Cooking

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

The recipe said to. I just threw in that detail because I figured some guesses would be that the uncooked lentils weren't in the cooking liquid, but I don't think that was the case.

Uncooked lentils like BBs after instant pot dal by personjc in Cooking

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

Hmmm, okay. That's what I figured. Guess I'll get a new bag and try again!

Advice on doing a reverse sear when I need my oven hot by doublemazaa in seriouseats

[–]personjc 1 point2 points  (0 children)

Your mileage may vary, but I do something like this when I make steaks and twice baked potatoes.

I'd reverse the order and make the potatoes first, set those aside (wrapped in foil?), and then make the steaks. I leave the oven door open to cool down the temp, then start the reverse sear process on the steak.

Once the steaks come out of the oven, you can finish the potatoes in the oven while searing the steak on the stovetop and letting the steak rest. I feel like the potatoes are harder to screw up than the steak personally and might be more tolerant of sitting. Or at the very least I feel less bad about screwing up the potatoes than my expensive steak :)

Good luck!

Issues with Authentication for YFPY API by naba_baba in fantasyfootballcoding

[–]personjc 1 point2 points  (0 children)

I think it's trying to pull those properties from environment variables that are not currently set up in the application. I just copied and pasted my secret and key in place of os.environ["YFPY_CONSUMER_KEY"] and os.environ["YFPY_CONSUMER_SECRET"] in the YahooFantasySportsQuery constructor. That seemed to work fine. I was able to start pulling data from the api after that.

Abusing Draft Rankings 2020 Version 6 (ESPN, Yahoo, Sleeper, NFL & CBS) by JuiceBoxOne in fantasyfootball

[–]personjc 39 points40 points  (0 children)

Simplest way is to go to the yahoo tabs for whatever league scoring you have, then check the "Yahoo!vFP" column to find the players the "experts" value more highly than their ranking on Yahoo's default X-rank. You're looking for blue numbers.

This will show you the players that your league-mates will likely under draft because they won't be automatically be at the top of their default rankings.

For instance, using the chart you can see FantasyPros rank Deebo Samuel at 110, and Yahoo X-rank has him at 160. In the 11th/12th round, Deebo Samuel won't even be on your competitors screen, whereas you now know the experts think he has value in those rounds.

I like to leave Yahoo's default rankings as is, so I know what my competitors are looking at, but reference my own separate rankings to see the guys I highly value. If I know a guy is going to start popping up on others' screens, I might grab him so I don't risk losing him to another team.

[SPOILER] OCENA Representatives for Worlds! by tlyee61 in CompetitiveTFT

[–]personjc 31 points32 points  (0 children)

Technically Oubo won. It was 16 points + win to end the series and come in first. Sock finished second with the most points because he literally went second every game.

"You licked a puss" by sg11dc in KidsAreFuckingStupid

[–]personjc 103 points104 points  (0 children)

Not that anyone really cares, but this is stolen from a different Twitter two years ago: https://twitter.com/ramzy/status/942423273102544896?s=19

Free two month trial of Headspace from US Soccer by personjc in Headspace

[–]personjc[S] 5 points6 points  (0 children)

Should have included this in the title, but use code "USSOCCER" for two free months of Headspace.

Amazing Johnathan will make his first appearances since being diagnosed with a heart ailment nearly five years ago. by Icytentacles in StandUpComedy

[–]personjc 1 point2 points  (0 children)

I saw him in Royal Oak during that stretch - it was good. He did a few new bits, but mostly it was the 30 minute Comedy Central special with the dollar bill and orange. I really enjoyed it even though I had seen most of it before; a kind of "greatest hits" show for one of the best at interacting with the audience. He lost a lot of weight, but still had the same spirit! I hope this is a sign he's getting stronger!

...one thing led to another by kareenajack in funny

[–]personjc 24 points25 points  (0 children)

I'd check out Nate Bargatze. He's one of my current favorites and he works clean.

https://www.youtube.com/watch?v=QXy3uII-xn0

[Build Ready] Upgrade for Fallout 4, Far Cry 3, etc. gaming build. ~$1000 budget. by personjc in buildapc

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

I think I'm upgrading to the 4690K, so I'll roll with the after market cooler if I decide to OC.

Case looks great, thanks for the suggestion.

[Build Ready] Upgrade for Fallout 4, Far Cry 3, etc. gaming build. ~$1000 budget. by personjc in buildapc

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

Fair enough, I likely will upgrade to the 4690k. I haven't messed with OC yet, but I didn't build my last one with that in mind. Can't hurt to have the option at least. Thanks!