And right now South Korea's president has declared martial law and banned all political activity, I guess she'll be just fine with that.
gerikson
Day 3
3-2
I expect much wailing and gnashing of teeth regarding the parsing, which of course is utterly trivial if you know a bit if regex.
I got bit by the input being more than one line. Embarrasing.
I wonder if any input starts with a "don't()" or if it's too early for Erik to pull such trickery.
LOL @ North Korea being "woke". If they are, why are they assisting Russia, the Right's Great White Hope, in a war against a country that these people also denigrate as "woke"? But hey, never let facts or logic get in the way of a good grift.
re: 2-2
I was convinced that some of the Perl gods in the subreddit would reveal some forgotten lore that solved this in one line but looks like my brute force method of removing one element at a time was the way to go.
It's that time of the year again. Last year was tough for me, i got laid off in the middle of dec and it kinda killed the vibe. I'll see how long I keep up this year. My historical backlog is growing but I've made peace with it.
you know why people use reddit and lemmy because they don’t have to read the articles because people summarize the source material accurately in the title and summary
this is the funniest thing I've read all week, thanks for the LOL my dude
Thanks for expanding. I think every company that has a biggish community has to deal with nazi entryism.
This was the story I remembered about this
https://kotaku.com/the-struggle-over-gamers-who-use-mods-to-create-racist-1826606138
Isn't there a huge neo-nazi subculture around Paradox games, with weird mods and stuff?
To be fair there are lots of forests one can be on other side of in Eurasia...
There is no Poland, which unfortunately tracks, historically.
I can see Denmark having Scania now, which is what a lot of the more racist Scanians have wanted since forever. But you can't just split Sweden (Sverige, Svea Rike) into Sweden and Svealand, which isn't even historically correct (it's way too big).
Also Ulster being 50% of the island of Eire is gonna work out great.
Dude discovers that one LLM model is not entirely shit at chess, spends time and tokens proving that other models are actually also not shit at chess.
The irony? He's comparing it against Stockfish, a computer chess engine. Computers playing chess at a superhuman level is a solved problem. LLMs have now slightly approached that level.
For one, gpt-3.5-turbo-instruct rarely suggests illegal moves,
Writeup https://dynomight.net/more-chess/
HN discussion https://news.ycombinator.com/item?id=42206817
Day 4 - Ceres Search
discussion
There's probably a smarter way to do this...
For part 1, I dumped everything into a matrix. Then I scanned it element by element. If I found an X, I searched in 8 directions from there and counted up if I found M A S in sequence.
For part 2 I searched for an A, checked each diagonal corner, and counted up if the opposites were M S or S M
https://github.com/gustafe/aoc2024/blob/main/d04-Ceres-Search.pl