« first day (4528 days earlier)      last day (504 days later) » 

3:13 AM
Ok 117 HD and 3D Weather looks so good
Also we're officially dry at barrows
 
 
1 hour later…
4:30 AM
Ugh, I shouldn't have watched Jurassic Bark
 
I take it that's not a typo?
 
Nope
Futurama episode
 
Well that makes it sound better than I was expecting
 
It's an incredibly sad episode
 
Oh yea, the one with his old dog
watch the next one, maybe it'll go back to the funnies
Or, you could just say "that episode's ruff" and groan
 
5:32 AM
Ah yes finally
Build a whole ass file system
 
Today's AoC was the first one I found interesting enough to save the code
 
@Batophobia Oh yeah, this is the third or fourth time I've watched Futurama. Doesn't make it any less sad :(
 
 
4 hours later…
9:26 AM
@SaintWacko well... I don't know if you know...
Hachikō (ハチ公, 10 November 1923 – 8 March 1935) was a Japanese Akita dog remembered for his remarkable loyalty to his owner, Hidesaburō Ueno, for whom he continued to wait for over nine years following Ueno's death.Hachikō was born on November 10, 1923, at a farm near the city of Ōdate, Akita Prefecture. In 1924, Hidesaburō Ueno, a professor at the Tokyo Imperial University, brought him to live in Shibuya, Tokyo, as his pet. Hachikō would meet Ueno at Shibuya Station every day after his commute home. This continued until May 21, 1925, when Ueno died of a cerebral hemorrhage while at work. From then...
 
10:15 AM
@Fredy31 at the very last, Nahida is behind the new Scaramouche hat.
I wonder if he does actually realize he now wears a flower on his head.
 
10:28 AM
..... And.... I just saw that there is a reason the playable version is called "Wanderer" instead of having an actual name.
 
 
1 hour later…
11:36 AM
@Unionhawk I thought maybe you were joking, but nope lol. More or less the problem.
That should be a fun one.
 
11:48 AM
While I'm not unhappy with my solution, I really think there must be a cleaner way of doing it
 
 
1 hour later…
1:01 PM
lol okay, so I started coding ls as if it acceptyed an argument
aka "ls directoryname" was valid.
but that's not a thing at all, so yeah lol. Don't need to worry about that (yet).
 
1:41 PM
DAy 7 was fun.
WAs also busy working, so had to kept alternating between work and advent... but it wasn't as hard as I originally expected. Was actually pretty easy.
My solution to Part 1 made Part 2 really easy as well. aka I leveraged a Set() to track all the directories that existed. Just looped over that in the end to determine the largest and smallest directories. No need to actually crawl through the whole tree.
I don't think i ever really used Sets in Python before this advent of code... and oh boy, I feel like such a fool. Not sure hwy I never thought about using them before. They just make so many of the solutions basically free.
or at least a lot easier
my solution for today: https://github.com/Wipqozn113/adventofcode/blob/main/2022/day7/p2.py

Only difference for Part 1 was that DirSizeSum() was called instead.
Then again, looking through the subreddit, I suppose today would prove way more annoying/difficult if you don't use recursion... those duplciate file/directory names would bite you in the ass.
 
I did crawl the whole tree, and it's not really that bad
 
1:58 PM
I sometimes forget just how young some folks on /r/adventofcode are. There was a user who didn't understand why you'd use need (or use?) recursion for this solution. I was really confused, until I saw they were 15. Made way more sense then, they just lack experience.
@murgatroid99 Oh for sure. Not large enough it's needed, but still makes it easier IMO.
Easier just to code I mean.
@murgatroid99 I love how you also made those file sizes function parameters, instead of just hardcoding them in the functions.
You never know, on Day 23 we might need to reuse this code with a different number! YOU NEVER KNOW!
but also it just feels better to solve it in a flexible manner.
And once again, love seeing all the different approaches. I just jumped straight to classes (as usual), since it made it all way easier for me... but you didn't really bother with that at all.
 
@Wipqozn That also kind of made it easier, because I could write the function with just the logic, and then I looked back at the problem statement when I was done to get the parameter.
I'm glad the input isn't too big, because my last two functions are effectively doubly recursive with no memoization, but they finish pretty fast anyway.
 
2:38 PM
I started working on it before I had to get showered and head out. The problem itself is simple enough, there's just a lot of code needed to support it.
shit, I didn't push all my changes this morning.
 
2:54 PM
very tempted to just create files on disk, but the overhead for that isn't great.
I'm just glad the QC guy currently leading the work leaderboard hasn't finished 7 yet
 
3:31 PM
Sonic fans going havoc on media because a gacha game is winning over Sonic Frontier.
 
Sonic fans going havoc on media ~~because a gacha game is winning over Sonic Frontier.~~

Pretty much a constant
 
In the meantime, Genshin players are divided between those fighting back and those flying around with the just-released Scaramouche.
 
@SPArcheon but Sonci Frontier was just okay
I know Sonic fans are starved for quality content, but come on
@MBraedley F
 
@Wipqozn you know, every fandom is only know for its black sheep.
 
Seems I cant figure out strike out
 
3:33 PM
@murgatroid99 That's part of what I like about it too.
 
so, sonic fans are bad, genshin fans are bad, undertale fans are bad, mario fans are bad, pokemon fans are bad etc etc etc...
 
@Wipqozn Yeah but I'm picking up my car from the mechanic and then heading home after a 1PM meeting.
 
@Wipqozn Yeah you want a win for those guys. They always will buy sonic. And really, I think its generous to say its a coinflip if the sonic game will be decent or a complete trashfire
@SPArcheon the really hardcore MLP fans...
 
Personally, I just enjoy the flames while eating popcorn...
 
And I'm not talking about you, more those that buy products like a fuckable plush of one of the ponies
 
3:35 PM
@Fredy31 let me search for a message I once posted...
 
But yeah. Fans are good. But there is always fans that take it way too far
And that is true of any fandom
I'm sure look hard enough you will find someone that is a fan of mario to a problematic point
My SO have been in Kpop at some point in their life and fuck those fans are a next level problematic too.
Like 'In this physical CD there is a chance to get one of 100 invites to meet x idol IN PERSON!'

That cd cannot be found anywhere because rich brats will literally buy pallets of that cd just to unwrap 1000s of CD and find one.

Literally like the rich brat in Charlie and the chocolate factory
 
@MBraedley Double F
 
in Sugarcube Corner, Jul 20, 2021 at 9:04, by SPArcheon
@AndrasDeak Then now you have a little understanding of how problematic that fandom is, and why I don't really use words like brony or such that have different meanings based on who you are asking to.
 
@Fredy31 IT's pretty telling that the best Sonic game released in the past...well, actually, ever was a fangame (Sonic Mania) which Sonic Team had nothing to do with.
 
@Fredy31 Veruca Salt
@Wipqozn To be fair, Sonic Frontier is quite decent idea, poor execution.
 
3:45 PM
Sonic has been lost since the 3D era. because really, it doesnt really work in 3d.
and I can't really tell why
maybe in 2d when you hit a streak of thing that fits together just right it fells like you are good at the game.

In 3d when you hit a streak of things that just go to the next just right it feels like you are on rails
 
The game concept of open world as an hub with levels is decent, but crippled by execution: too many levels based on just three types (green hill, chemical zone, sky sancturary) , world under used.
Also... NEW STORY! MORE CHARACTERS!
Had they used the same gimmik but with existing concepts...
Sonic Frontiers would have worked GREAT as the first Archie Sonic game.
 
I do think Sonic is also weighed down by its 10000 characters.
fucking keep it simple.

Look mario. Mario, Peach, Bowser. Maybe Toad.
Keeps shit simple
 
@Fredy31 That is another reason for just going Archie if you need more.
At least those already exist. Use them.
 
Personally, I would go the other way. Scrap them all except Sonic, Tails, Knuckles maybe rose.
Does the game REALLY need BIG THE CAT
 
@Fredy31 depends: pure platform no plot Mario style? I agree.
But if they want actual plot they need a little more.
 
3:54 PM
At the same time, yeah plot is a part I do not care about in sonic, and why the fuck is it there... but its not the biggest problem
 
Problem is, they ALREADY have the "darker, more serious" plot that they have been trying to do for years.
 
the problem is that gameplay doesnt work in 3D. If they could make it work then have whatever plot you want
 
(Shadown the hedgehog, forces, fronties, sonic 06 in a way etc...)
They keep trying new stuff, and forget they already have established characters that actually sell...
 
That I'll give them. They do try a fuckton to find the mechanic that will work
But yeah I personally dont get why they seem to always go for a huge storyline... and then it seems to just be scrapped by next sonic
Like except the characters and their relationship, can you name 1 plot point that continued between 2 sonic games
which is hilarious because somewhere where sonic has been winning recently is in movies
 
4:18 PM
@Wipqozn That was fun! Good practice, too
@Wipqozn I thought about doing that, but I wasn't sure what part two would need, so I built out a tree and a recursive getSize function
Here's my solution for today: github.com/SaintWacko/aoc2022/tree/main/Day7
 
5:12 PM
Yeah tree and recursive size is the way to go
I also made a flat list of all nodes because I'm a filthy cheater
and I have 32 gb of memory
 
@Unionhawk Yeah, same
Easier to just iterate over that than do a recursive tree-crawl :P
 
yer
Plus it lets me use .Where
 
I should add underscore.js to my project
So far I haven't used any external libraries
 
so once I have everything built my part 1 is just var result = fileSystem.FlatDirectories.Where(d => d.Size <= 100000).Sum(d => d.Size);
 
Wait, where are your Where and Sum coming from?
 
5:18 PM
System.Linq
 
Oh, you're using C#
 
@Fredy31 that only shows that most consumers have very low standards.
The first Sonic movie is HORRIBLE in every possible way and has nothing to do with Sonic (by the end when he is given a bedroom in the random guy house I was wondering if I wasn't watching the new Alvin & The Chipmunks movie)
 
lol
havent watched it so I cant say if it was good or not
and now i've just reminded myself how much trash was the Assassins Creed movie
 
@SPArcheon In what sense does it have nothing to do with Sonic? It has the character, the speed, and the antagonist.
 
5:33 PM
@SaintWacko I had a recursive get size function. I just called it by iterating through the set. Definitely a more efficient way to do it.
I basically used the set to track a flattened copy of the directory tree
 
@murgatroid99 well, for one, it misses everything else in the lore. Dr Ovi Kintobor being the last of its problems. Then it is missing the locations, same sin of the various Smurf movies (character is now in our world because it costs less than making everything CGI. There are about 2 minutes Green Hill at the start...). Then it tries to make very very very very very low quality jokes (sonic "meow" when he is found in the storage house, or the "son in the suitcase" scene at the elevator)
Has Sonic, right. But it does not feel Sonic.
By comparison, the CDI Zelda have Link, Ganodorf and the sword fights...
Atlas, sorry if this seemed too much like an absolute statement. If others like it, fine for me.
The only thing that really bug me off is the "in our world" thing that really does seem a tad abused in many movies to simplify things.
Again, see the Smurfs movies
 
6:34 PM
I just fell back into how holy fuck the OST of Ghosts of Tsushima is good.
 
@Fredy31 can I cheat?
.... thinking we got from this to...
 
Fucking hell dude, pulling up FF6 in any Video Game OST discussion is cheating
that OST is a masterpiece
 
@Fredy31 Ok....
 
Maybe my joke did not translate to chat lol
 
@Fredy31 nono, it translated... Now I am just looking for more masterpieces to throw at you :P
 
6:48 PM
Undertale orchestrated fucking slaps too
 
Want the REAL version of the MMZ4 ending tune?
 
@Fredy31 amateur....
btw.. this reminds me something....
Has the dog said anything recently?
like... demo 3?
 
The... dog?
I've only got cats and they've been pretty much only been saying meow for years
 
@Fredy31 Annoying Dog, Toby... Undertale creator
 
6:51 PM
Oh didn't know he went by annoying dog
 
@Fredy31 that's just a nickname since he used the annoying dog as an avatar on twitter
 
> The UNDERTALE / DELTARUNE mailing list is now open! Sign up to receive updates whenever there's news on UT / DR! (And, since there's usually no news, we'll be sending out a fun newsletter next month, too.)
VERY sus.
I still suspect that Deltarune is actually the free sidegame he mentioned in Undertale kickstarter and he has no actual plan to sell it in the first place...
 
At the same time I could imagine Toby made so much money with undertale hes set for life
Probably like Concerned Ape and stardew
 
Didn't Toby take over something for Sakurai
 
6:57 PM
Sans FOR SMASH
 
Sans is technically there already, though as a Mii outfit
I'd be down with a Flower boss though
 
@Fredy31 really tempted to answer with "The Faraway Creation", but that tune works only if you are playing the game at the same time so...
 
Yeah there are those songs that you are like THIS IS GREAT but giving it to someone without context just... meh
Like Stormterrors theme Its good, but with the context of what happened to stormterror it just gives it an additionnal edge
 
@Fredy31 do you know El Shaddai Ascension of the Metatron?
Let's just say it is ... a weird game... Evangelion level of weird...
The whole game does not make sense out of context
 
Wanna talk about weird games? Eternal Sonata
The whole game doesnt fucking make sense in context
Like the story (and its been a decade that I played) is that you are Frederic Chopin in a dream just before he dies of polio... and then theres a whole JRPG adventre
But why the fuck is chopin having that dream? would saving the world in that dream save chopin from his death? nope
chopin has fucking nothing to do with the story, they just decided to throw him in there
 
7:15 PM
@Fredy31 Trust me, I know both of them.
El Shaddai is far worse.
 
lol
JRPGs are sometimes... a trip
 
@Fredy31 odd you used that specific word.
I dare you, jump around in the video and look at the different visuals...
 
Yeah i just did that
seems like the kind of game where someone could do you a 50 page dissertion on the story and how fucking deep it is
but sorry, I personally don't want a univercity course in philosophy to get what you are putting down
here in Quebec we have mandatory philosophy classes in college and fuck is it trash
 
so, that's a no to Kingdom Hearts?
 
Well Kingdom Hearts is a mess but its still not too deep in philosophy
usually its pretty much 'POWER OF FRIENDSHIP'
 
7:23 PM
and clones
 
But I always found funny the bit in a Barry video where he just says the obvious.

To make a sentence in a Kindom Hearts game, just take the words Friendship, Light, Darkness, Key and put them in whatever fucking order you want
 
@Fredy31 I will let you realize by yourself that you basically described something else too, just replace "key" with "heart" or "magic" :P
 
I'm trying to find the bit but cant
 
7:37 PM
@Fredy31 You realize that KH may end up being canon to the FF7 remake...?
 
Would be the type of square
 
Because remember - there is one huge difference in KH compared to the Original FF7...
in Sugarcube Corner, May 28, 2020 at 13:42, by Derpy
A- Anyway you..
B- Yes?
A- Have you never played FF7?
B- Well.. I haven't.. rather.. No
A- What about you?
C- Well, I have... I mean.. I've watched it.
A- The scene that remains in your memories?
C- Whaaa.... the event where Cloud dresses up as a girl!
A- Full score answer!!
C- Oh, and when Aerith.. Seph...
A- Ah! Stop!! You can't say That!
B- I know (about) Aerith
C- Right right right
B- It was written on the web.
C- Seph....
A- Wait wait wait..... What have you guys done!
B- Seems like there is another route
remember the commercial...
> However, young one.. The important talk starts here. What I have been talking about now.. is about the 1997 Original game. BUT! What we do from here on.. will happen in the new 2020 Final Fantasy Remake! FF7 of 2020! In FF7!
Remember.. they said it is not called Remake because it is a remake of the game.
Now... who is making the new game?
hint:
... Tetsuya Nomura....
And it is not like he so far he showed any care for the fact that someone shouldn't be there...
 
8:27 PM
@Wipqozn Ugh, I hadn't opened the new source file and was editing yesterday's source file this morning, so I had to fix that before solving today's puzzle. I'm hoping we get a reusable part this year. Yesterday and today seem to be going in that direction.
 
8:40 PM
@MBraedley Yeah I agree, especially today's puzzle. I could see a later days problem requiring you to expand the filesystem further.
One natural change would be if a MV and DEL commands were added. Those are additions which could be really easy additions for some solutions, but would be a complete nightmare (or even impossible) for other solutions. Just a neat way of "rewarding" designing in a more reusable way.
For my solution I could add MV and DEL functionality very easily.
 
Yeah I'll have to see what I can do with mine
Would be pretty easy to break it out into a file though instead of putting the classes in Program.cs
 
I'll have to create a library for my File and Dir classes, and probably a Cmd class
Also, why did I start with using unique_ptr instead of shared_ptr within my Dir class? Containers generally aren't fans of refs, but are totally fine with shared_ptrs
77979 dmpsnhdh.cmd yeah, we're probably writing a terminal emulator
I also see a lot of files named dncdssn.hdr
Actually, there seems to be a lot of duplicate filenames
But that was the only cmd file I found
 
9:23 PM
Well we can always make a FileSystem.cs
I am real happy with my Directory class though, it's 3 lines
 
@MBraedley I think that was intentional to trip up people that tried to haha shortcuts
 
I mean I literally do not know how you would do this in another way than a tree
 
@Unionhawk If you assume no duplicate names, then there are some terrible solutions that would work. Like just a flat dictionary.
But it would still be way more cumbersome than just doing a tree
Today's problem is the one that really made me realize that there's folks coming from a very broad range of experience and skill levels.
 
9:44 PM
I mean how would you derive the size of a folder though unless you know what was inside it
 
10:13 PM
@Unionhawk Shittily. You have a dictionary of dictionaries. The nested dictionary contains a string. Strings are format "name|size". If it has a size, you know it's a file. When you go to calculate the sizes, you loop through the dictionary. Whenever you find a nested directory, you then need to look it up in that top level directory to get its size....
Like it's hell and garbage, but some people were using solutions like that, from what I saw.
and then it would fail because of duplicate names.
 
10:59 PM
Classic
 

« first day (4528 days earlier)      last day (504 days later) »