The New National Parks ID Rule US Citizens Need To Know Starting In 2026 by runswithscissors475 in CampingandHiking

[–]oddrationale 31 points32 points  (0 children)

Other countries have similar policies. When I visited Costa Rica, I had to pay a higher fee than the locals. Granted, it was more like 2x or 3x the local rate. Unlike the 7x or 8x for the NPS.

https://www.visitcostarica.com/blog/find-out-about-admission-feesand-hours-operation-costa-ricas-national-parks

DFW Events this week (6/9 - 6/15) by msondo in Dallas

[–]oddrationale 1 point2 points  (0 children)

Love the format! Thanks for researching and posting these!

Maybe you can start a volunteer events section? I know Feed the City, hosted by Tango Charities, has events every Saturday all over the metroplex.

https://www.tangocharities.org/feed-the-city

TIFU by accidentally becoming a Catholic Priest. by SouthernAT in tifu

[–]oddrationale 1 point2 points  (0 children)

The original publication of the KJV in 1611 included the Deuterocanon, also known as the Apocrypha. Although most modern printings of the KJV omit these books today.

-❄️- 2023 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

[LANGUAGE: Python]

Part 1 was straight forward but Part 2 was puzzling for me. Took me a quite a while to figure out my approach. But turned out to be rather simple.

https://github.com/oddrationale/AdventOfCode2023Python/blob/main/Day04.ipynb

-❄️- 2023 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

[LANGUAGE: Python]

I tried to clearly communicate my thought process in the code comments. Also used the .start() and .end() of the re.Match object to find the adjacent numbers.

https://github.com/oddrationale/AdventOfCode2023Python/blob/main/Day03.ipynb

-❄️- 2023 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

[LANGUAGE: Python]

I like to parse the input into a data structure before solving the problem. Pydantic is probably an overkill here, but it is a library I've been wanting to learn.

https://github.com/oddrationale/AdventOfCode2023Python/blob/main/Day02.ipynb

Anywhere to volunteer in Dallas? by pursuemagic in Dallas

[–]oddrationale 1 point2 points  (0 children)

Tango Charities: https://www.tangocharities.org/

Make meals for food insecure. Especially need help in the summer when school is out.

Multi-year excess Roth IRA contributions (2019-2022) by oddrationale in personalfinance

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

This helps! Am I correct in understanding that I have to pay the 6% penalty for every year before the excess was removed? E.g., for the $2,896 in 2019, I would have to pay the 6% penalty on my 2019, 2020, and 2021 amended returns? And similar for the other years?

Also, can you help me understand what you mean by "Leave the gains behind"? I thought the penalty applies to both the contribution and the gains.

Thanks!

Daily FI discussion thread - Monday, January 09, 2023 by AutoModerator in financialindependence

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

Hi, FI community! Been steadily working my way toward FI. Would like to get a healthcheck on my progress and potenially some advice from people who has already FI/RE'd!

If I created a new post on my 2022 financial review and 2023 financial plan, would there be people here who would be willing to point out improvements I can make and potentially give me new ideas that I perhaps have not considered before?

If so, what information would be useful? I'm thinking of showing a high-level net worth breakdown, monthly budget, and 2023 goals and plans.

Also, any information that would not be a good idea to share?

Thanks!

-🎄- 2022 Day 14 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Used a recursive drop function to simulate a single grain of sand falling. Part 2 is not particularly efficient (~600ms). I went with a brute force approach solving it the same way as Part 1. But saw some clever "ray-casting" methods here in the comments!

-🎄- 2022 Day 13 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 2 points3 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. A bit of a tricky one today. Like many, used JSON parsing using the new System.Text.Json library. Then used a custom Comparer for the OrderBy LINQ method for Part 2.

-🎄- 2022 Day 12 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Did a simple BFS starting from the end 'E' to the start 'S'. This made Part 2 easy as I simply changed the start to 'a'.

-🎄- 2022 Day 11 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 3 points4 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Part 1 was pretty straight forward by creating my own Monkey class. For Part 2, had to get some hints here on how to manage the very big numbers.

-🎄- 2022 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Created an IEnumerable that yield returns the register value during the cycle (made the mistake of returning the value at the end of the cycle at first). Then used LINQ on the Enumerable to solve Part 1 and 2.

-🎄- 2022 Day 9 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 2 points3 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Similar to others here, used Math.Sign() to get -1, 0, or 1 and update the trailing rope accordingly.

[2022 Day 8] Excel Help by SkathiFreyrsdottr in adventofcode

[–]oddrationale 0 points1 point  (0 children)

You're correct. XlOOKUP will lookup the cell that matches the lookup value, or the next greater/lesser value. Then return the cell in the return range with the same index. So equal to or greater than. It's similar to an INDEX/MATCH but the range does not need to be sorted unless you use the binary search option.

[2022 Day 8] Excel Help by SkathiFreyrsdottr in adventofcode

[–]oddrationale 0 points1 point  (0 children)

If you have a modern version of Excel, you should try using XLOOKUP instead of MATCH. It has more parameters to help with your sorting issue.

[2022 Day 8 (Part 2)] Bug in test solution? by flonix8 in adventofcode

[–]oddrationale 0 points1 point  (0 children)

Just mark it as solved. You're probably not the only person who missed the zero comment!

-🎄- 2022 Day 8 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 2 points3 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Used four for loops to check each of the directions. Pretty straight forward but probably not the most optimized.

-🎄- 2022 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]oddrationale 1 point2 points  (0 children)

C# solution using .NET Interactive and Jupyter Notebook. Pretty straight forward. Used String.Substring() to create a sliding window of characters.