« first day (3080 days earlier)      last day (1961 days later) » 
00:00 - 17:0017:00 - 00:00

12:07 AM
0
Q: Is it possible to save mid-level progress?

user598527I got badly stuck in the free Ida's Dream DLC (higher level of difficulty than in the entire base game as far as I can see, five or more puzzles) and would rather put the game on hold and resume later. I once tried exiting a chapter and had to replay from the beginning.

 
 
1 hour later…
1:21 AM
@Unionhawk well in a way every game is a Role Playing Game
 
user15026
2:13 AM
@Yuuki Oh my heart. That was WONDERFUL.
 
@Ash I bawled in the theatre.
Openly.
 
user15026
Yeah, I cried into my soup just now. Like...all of it yes good.
 
user15026
(Also how is any of it confusing to people? It's very obvious a "hey letting go of your kids is a hard thing yo" sort of story)
 
@Ash yeppppp
 
user15026
I mean it low key also made me want dumplings but that's just because I am hungry
 
2:17 AM
@Ash You monster.
 
@Yuuki pointed out some deeper layers to do with culture that i missed but it was still understandable and good to me without them
 
user15026
@Yuuki Hey, I didn't say that I didn't also feel SUPER GUILTY about that
 
It definitely has a lot more layers if you understand immigrant culture.
 
user15026
@Yuuki And maybe that's why people were weird about it, but like... I have immigrant family (admittedly, European, so there is some difference there), but really it just felt a lot more universal than I think people gave it credit for
 
@Yuuki were they in canada the whole time or was it the dad going "i support my daughter in law"?
 
2:19 AM
@GodEmperorDune Huh?
 
@Ash kids growing up and doing things differently is a fairly universal experience
 
user15026
I suspect a bunch of it was like "oh hey this isn't made FOR ME and everything is made FOR ME so I am angry that it is not FOR ME so I am going to claim it's stupid"
 
@GodEmperorDune Not sure what you mean by the latter part.
 
@Yuuki so the dad wears the maple leaf shirt at the end
was that because they were always in canada or as a solidarity thing with his son's SO?
 
It's set in Canada, I think. You can see Vancouver Lookout (it basically looks like the Space Needle) in the background in the tai chi scene.
Also, the director is Canadian, IIRC.
 
2:22 AM
ah, ok
 
Whomgst Amongst us doesn't get caught up on their beer advent calendar before deploying to prod?
 
user15026
@TimStone If I had a beer calendar and deployed things, you know I'd be there ;)
 
:D
Also, a review so far of the beer calendar is that it's Not Bad but also A Lot of Beer
 
@TimStone that's why you're supposed to do one a day instead of procrastinating and doing them all at once
 
To be fair I'm only a day behind so this is merely #2 for the evening
 
2:34 AM
Guess who has a half day of company sponsored bowling and bowling alley food (alcohol not included) its meeee
 
Wow way not to hire and subsequently invite the room
 
Guess who is bringing a Nintendo switch it is also me
 
0
Q: How to hide hud/GUI

Corsair 4 LifeI was wondering if you could hide the buttons on screen (gui) in clash of clans. I’ve already tried looking it up and I’ve looked in settings on the app.

 
@Unionhawk guess who did not invite the rest of the class? also you
 
2:58 AM
@TimStone Seriously, what a rude thing to do
 
yeah i expected something like this from @Wipqozn, not @uni
IT’S A BEHO-HO-HOLDER YOU GUYS
cc @Yuuki @ash @Wipqozn on this dnd pun
 
user15026
hahahaha omg I love it
 
4:03 AM
@GodEmperorDune Well, the good thing about a beho-ho-holder is that it doesn't have a Clause attack.
 
4:43 AM
December 20 is Isabelle from Animal Crossing’s birthday!
 
OBRA DINN IS GOOD
 
5:43 AM
0
Q: How to revoke duchy from a pope

BuddaAt some point I've granted a duchy to a pope, now would like to revoke it. I can just take it out, but vassals going to be unhappy. If it was a regular (not a pope) vassal, I could try to play with inheritance: ensure my heir has a claim on a dutchy and kill the pope and other successors, but.....

 
6:29 AM
0
Q: Why I cannot craft premium versions of some cards?

arghtypeFor some reason I cannot craft or transmute premium versions of some cards. For example, I cannot do it with Glustyworp: No transmute option for regular card that I have: And no craft option for premium card that I'm missing: I have 10k scraps and almost 2k meteorite powder, I think that sho...

 
6:41 AM
so playing Borderlands and just a couple of minutes in i get black but i still here my car's engine. so i reset the PC and still get black so something was wrong with the video output to my screen
good thing is that the HDMI port on my video card works so it's not the video card but i got no way to test the DVI-D cable to see if i just need a new cable or a new screen
both screen and DVI-D cable are 9 years old so one of them must have given out. now going to cost $1000 if i'm lucky getting a new Screen. maybe have DVI-D but i'll be using the HDMI because at-least i have things i can test a HDMI Cable on if i get into this situation again
 
So my pcp just sent me a letter saying that they no longer accept my health insurance.
So that’s cool
 
@Dragonrage PCP?
 
Primary care physician.
Basically the doctor you have to go to first before you can get referred to a specialist if you need one
And the one you have to go to for regular check ups
 
@Dragonrage and let me guess, without health insurance they wont see you anymore?
 
@Memor-X they will see you, but it will cost you a small fortune
 
6:51 AM
@Dragonrage ugh that is such a pain in the ass
 
Well, at least I can get health insurance soon from work, so I can get a better plan and a new pcp then
Should be able to get a much better plan and get dental and vision through work for under a third of what I’m paying now
Anyhow. Time to sleep. Gotta get up at 5:30 so I can get to work by 8. Took me 3 hours to get home tonight
 
7:26 AM
@Memor-X a 1000$ screen?Do you want a 43 inch ultrawide one or something?
Also morning chat
 
@Kevin no. just need one the same size as my current one which is 24 inch in total but actual screen size is ~21 inch
but i have a feeling it's going to cost 1k
 
A 21 inch monitor with 1.5 inch bezel?
That is a massive bezel
And uh, do some research. It's not going to cost 1k
Unless you want a top-end monitor
 
@Kevin well the screen itself isn't actually dead centre, it's up a bit
 
@Kevin yeah
I have my eyes on a 144Hz 24in monitor with a decently small bezel, $400 where I am
 
Yeah, my 24inch 1440p monitor was probably 300?
 
7:41 AM
the screen i have now was top of the line 9 years ago but i don't recall it's specs
 
Yeah, 9 years ago
 
just looking for something comparable with HDMI support and maybe DVI-D support so that if i can get a replacement DVI-D cable or a HDMI to DVI-D adaptor i have a backup in the event the input port or the cable screws itself
my current screen only has DVI-D and i can't remember where my box or random cables and plugs are and i thought i had HDMI to DVI-D plugs in there
 
user15026
Bridge, I am awake way too late but it's because I started reading Arabella of Mars today and it was so much fun and such a good adventure story that I couldn't put it down. So now I have finished it and I discovered past me was smart and got the second book in the series. I told myself I can only read the first few pages but then I have to try to sleep.
 
user15026
But I highly recommend this book. Steampunk sci fi adventure story with a super cool spunky female main.
 
Go to sleep Ash! Don't go and read cause you'll just be keeping yourself up longer :p
I've heard the title before I think
 
7:46 AM
@Kevin you're not thinking of John Carter of Mars?
 
Doubtful
 
@Ash not related to John Carter of Mars series is it?
 
23,8" • 2560x1440 (Quad HD) • 144Hz • TN • 1ms for 350... hmmm
 
@Memor-X pretty sure most monitors support HDMI and DVI-D nowadays
If not all
 
DVI-D is dying
The newer ones may be only displayport
 
user15026
7:53 AM
@Kevin I feel like it is a book you might like.
 
user15026
@Memor-X nope not at all
 
Sounds like it
 
user15026
Okay fine time to try to sleep again lol because if I am up when the Europeans wake up it means I really should sleep
 
I was awake 3 hours ago...
Though that was pre-6am
 
user15026
I probably should have been asleep then too lol
 
7:55 AM
I slept a good almost 6 hours today
Then my brain was like "Hey, hey. We're awake now."
 
user15026
My brain currently is trying to convince me it doesn't need sleep and it is too cool for such pedestrian things like sleeping
 
Silly brains
 
Ave
8:25 AM
ugh company registered me to some personal pension thing
 
0
Q: Changed username and have no authentication

BrookeI changed my username from Cherry_YOLO94 to Sqlty_ but I am now struggling to get onto servers like Hypixel etc.. as it states that it fails to authenticate my connection or that my new username is not connected to Minecraft. I am extremely worried as I have worked extremely hard on my Hypixel h...

 
@Kevin well my current Video Card has both DVI-D and HDMI Output and for my new PC i'm hoping to get something with 2 outputs for duel screen with one being HDMI but also in the event something like this happens if the Video Card still works there is a greater chance i can still use the screen and not get interrupted like tonight
@Ave that's sorta good right? like when you start working you should start working also towards you're retirement funds
 
 
1 hour later…
9:49 AM
0
Q: Will the unlockable styles still be able to be earned once season 7 has ended?

TheLethalCroftAs part of the battle pass for Season 7 there are two new skins unlocked straight away that have unlockable styles (others are unlocked later with more styles too). These are the Zenith and Lynx skins. The challenges to unlock all of the options are actually very time consuming and will be quite ...

0
Q: How do I delete Miis from the Create Mii Fighter tool?

senpaiA friend created an Eldritch abomination as a Mii template for the Mii Fighters. Now since it's one of the default choices for base Miis I can't seem to find a way to delete them. To be clear, not talking about the Mii Fighter, but the actual Mii themselves

 
@Memor-X hdmi to dvi-d adapters are cheap
same with dvi-d to hdmi
@Kevin TN is the reason why it was so relatively cheap
a comparable monitor with an IPS or VA panel would be twice as expensive
@Memor-X many monitors come with at least two inputs, even if both are just hdmi
 
Ave
10:15 AM
@Memor-X it's one more thing I'll need to worry about
besides I'll never retire so
Or rather, I'll retire in 45 years.
And yeah, I doubt that I'll last that long, due to rise of hate. Or we'll last that long, due to climate change.
 
10:50 AM
0
Q: Mission icon at teleporter (and galaxy map) without open mission in log?

PeterCoAs you can see in this Teleporter image, I have at least two open missions: - 2nd line: "Das Depot überfallen" ("raid a depot") and - 4th line: "Industriegeheimnisse stehlen" ("steal industrial secrets") The same missions are indicated on the Galaxy map. But if I jump to the station or system,...

 
11:31 AM
😍
(Climate change is still horrifying)
I saw an animated graph recently of global temperature rise and it was awful
 
@BunsGlazing that kind of stuff depends on where you live though
 
Oh yeah true
Guess it's not global numbers
 
global numbers would be skewed anyway by places with really improved numbers
@BunsGlazing have you played NeuroVoider?
seems like something you'd like
 
I have not
Oh yeah I've seen that though
Good?
 
I've only played it for an hour, but that's a positive from me, lol
really enjoyed the loot and gear
there's a nice bit of customization
the game was available in last humble monthly, but I assume you don't subscribe to that
 
11:44 AM
Nop
I hardly buy games anymore
 
I subscribe to humble monthly, which has replaced my need to buy games
pretty much everything I want to buy, sooner or later is in the monthly
 
Day 20 complete.
 
and for 14'ish $ a month, it's pretty good value
 
It looked terrifying but was pretty straightforward
Although maybe I just got lucky, my ranking is half what it was yesterday, and I finished at a similar time past release. It helps if you've done 15 already.
 
 
2 hours later…
1:26 PM
-2
Q: Pokemon Alpha Sapphire / Omega Ruby Online Battles

K. HoffmannI wanted to know whetever or not it is possible to still online battle non ranked games in the Alpha Sapphire / Omega Ruby series of Pokemon and if People even use those anymore. In Addition to that (since the old Websites on Nintendo seem to moved and are afaik no longer available) i wonder if ...

 
Do you get logged out of Stack Exchange when you change your password?
 
@Wrigglenite AFAIK it should log you out of all sessions except the one where you changed the password, as a security measure.
 
I wish that was an option I could change
 
@Wrigglenite No you don't, it would mean an attacker could change it too.
 
@fredley that is uh
certainly some regex
 
1:54 PM
@fredley @Unionhawk @Ronan Day 2 Part 1 was nifty. but did either of you use your data from the first solution at all? I basically just came up with my own checksum, instead of using the one they used. Specifically I just converted each letter in the code to a number, and then added up the values. So if two codes checksums differed by more than 26, than I knew they had at least two letters which were different.
well that didn't wrk haha
but that was supposed to be how I made the checksum if my explanation didn't make sense
There we go
 
@Wipqozn I brute forced it and it took <100ms
 
@InvaderSkoodge Mine was basically instant too
I was worried the brute force method would just be too slow
plus my method just seemed cooler
Basically I'm wondering if there was some actual reliable method I could've used by using the checksum in part 1, or if the whole purpose of part 1 was for you to learn "checksums are coooooool"
 
@Wipqozn Yeah, me too. I spent some time thinking about how to do it the "right way" and then got lazy and just compared every pair of strings.
 
0
Q: Which song is playing at roughly 59:40 in this Facebook video from the reception ceremony for the Red Lions?

NzallDuring the reception ceremony for the Belgian Red Lions, the male Belgian national hockey team, who recently became world champions, they played a lot of songs. I'm personally wondering about one song in particular, a song I would describe as "techno dubstep", with a 7 beat rhythm in what I think...

In case any of you can help, feel free
 
One thing, I guess, that I have going for it is that it stops execution as soon as it finds a pair that matches.
 
1:57 PM
Oh god this is misery
def checksum(code):
    checksum = 0
    for char in code:
        checksum += ord(char) - 96

    return checksum
there we go
@InvaderSkoodge That would certainly help
I do the same. As soon a smatch happens I just print it to the screen, then exit()
 
I have to assume that flag was a mistake because there is literally no reason an established regular in this room asking for help from the other regulars in this room could possible be conceived as illegitimate.
 
@InvaderSkoodge quite sure, like alot of other flags, that context is missing
 
@InvaderSkoodge I assume that flag was for my post, given that I didn't get a flag circle?
 
@Nzall you might have missed it because even i see when my yuri gets flagged in the Maid Cafe
 
@Wipqozn Yeah, but day 2 was only 250 lines so it wasn't bad
 
2:01 PM
@Nzall It was dismissed pretty much right away (not even by me; I wasn't fast enough).
 
@InvaderSkoodge i dismissed it
 
Man I can't remember at all who gets what privileges.
 
i thought that there needed to be more than just one person to make it invalid
 
Is flag voting at 10k?
 
yes
 
2:02 PM
@Memor-X As a mod do other people's opinions matter?
I forgot.
 
@InvaderSkoodge that would make sense, though i'm not a mod
 
Yeah, flag voting is at 10K. and I've asked multiple times to have an opt-out option for voting on flags because I personally don't feel qualified to handle any flags, especially from the foreign language sites
 
You could probably opt-out via some custom CSS thingy?
 
Also I assume pretty much everyone knows who I me on the leaderboard, despite not using this room name
 
@InvaderSkoodge Do you mean with flags or in general
 
2:05 PM
@Unionhawk It was meant to be ambiguous but I'm not actually a psychopath. I just didn't realize that non-mod flag votes weren't instantly binding.
 
@Unionhawk I completely misunderstood you, and it took my way too long what you actually meant... since I assumed you meant "My program was 250 lines!"
@InvaderSkoodge 10k, but it's combined network rep
 
@Wipqozn yeah as in about n log n of 250 lines is apparently 100ms
or whatever for(i=0){for(j=i){}} is
 
The way I had to construct that loop in Ruby was gross.
values.each_with_index do |first, i|
  values.drop(i + 1).each do |second|
    # stuff
  end
end
 
that's n log n right? it's not quite n^2
 
@InvaderSkoodge I believe the way it works is it needs a net score of "6" valid flags, or one mod flag. flagging it or pressiing "Valid" adds 1 to the score, declining subtracts 1, and "I'm not sure" just does nothing.
at least I think that's how it works
 
2:07 PM
n sigma n? is that a thing?
 
I think it's between nlogn and n^2.
 
@Unionhawk Yeah I didn't realize it was only 250 lines. Although in retrospect I did know that, since I specifically checked. but that was yesterday, and that was forever ago.
@Unionhawk Sounds like a name for one of the forms for Sigma in Mega Man x
 
I just realized, Mega Man 10 and Mega Man X are completely different games.
 
also I assume puzzles eventually start to give you more than 1 star?
Basing this on how many points other folks have compared to the number of days
Unless they start adding in a crapton of parts
 
I have like 7 or 8 stars but way more "points" than that on the leaderboard.
I have no idea what that number represents.
Sorry, I have 6 stars.
 
2:10 PM
points are something to do with when you completed it vs when you started it, or when it released or something idk
 
Aggretsuko: We Wish You a Metal Christmas is out.
 
@Wipqozn "I'm not sure" subtracts .5 AFAIK
 
@Unionhawk Oh that'll completely throw me off
 
yeah I'm just going for completion
 
I mean not only am I starting late, but since I'm working I basically read a puzzle, and work on it randomlly throughout the day
All the more reason that I'm sad I started late
and I blame @fredley for all of this
 
2:11 PM
as long as I end with more stars than @Wipqozn I'm good
 
It’s pretty good
Also very topical - it’s about Retsuko trying to get a dose of self validation via Instagram
 
I should have day 4 done soon, I just need to solve the least fun part (parsing strings)
string[] wharrgarbl = entry.Value.Split(" ");
currentGuard = int.Parse(wharrgarbl[1].Substring(1));
perfect
lazy
 
2:27 PM
@Unionhawk I throw regex at pretty much all of the parsing parts of the problem
Also I like how Apple autocorrected regex to reflexes first, then regency
 
god dammit
 
Wow, I've been disconnected from this thing since saturday without noticing
The last message I got was apparently a Stack status report saying that they were about to do an SQL server failover and "any interruption should be minimal".
Looks like what this means in practice is that they throw 500s and my proxy goes "oh shit I broke stackexchange" and bails out.
 
2:43 PM
> Narrator: It was not.
 
3:00 PM
all right what the hell
I'm 90% sure this solution for 4 should be working but I'm getting duplicate values?
aw come the hell on
 
@Unionhawk try yelling at it until it works
That's what I do!
 
It told me to try again in 5 minutes and didn't even tell me higher or lower
 
4 what?
 
I must be missing something
That just happens to work on the example
aha yep there it is
 
AoC?
 
3:10 PM
yeah
 
I still haven't even started it this year
 
I just spent way too long working on #4 under an assumption that was not true.
I hate #4.
Ok, I fixed that bug but now I realized it needs me to keep fucking track of how many days are in each fucking month.
 
3:28 PM
It does? o.O
I just finished reading the description for 4A and it doesn't seem like it should
 
Yeah, because guards can start their shift at 11:5X PM on the last day of one month but their shift carries over into 12:XX AM the first day of the next month.
 
2
Q: How do tracks work on Vikendi map?

kl78On new Vikendi map you see feet, cars and snowmobiles leave tracks in the snow (not sure if bullets also leave tracks in snow). I read that these tracks disappear after some time, is known how this exactly works? Do they disapear after a fixed time (if yes, after how long?) or does this depend o...

 
@InvaderSkoodge ah, the beauty of night shifts
 
Right, but each entry is timestamped and you don't need to know when the guard arrived on shift, just when they fell asleep/woke up
 
@ToxicFrog But I do have to associate each guard with what day their shift is on.
 
3:30 PM
So if you sort the events, whenever you see a "begins shift" event you know that guard is the one falling asleep/waking up in subsquent events
Oh right, shit, because a guard might show up and then not fall asleep at all
And that affects your sleep frequency analysis
 
@InvaderSkoodge yep
 
I'm essentially making one bucket per day and putting all the events for each day into the bucket for that day.
Then associating each day with a guard.
 
@InvaderSkoodge No? I didn't need to anyway
I think fall asleep times are always between 00:00 and 00:59
 
@Unionhawk Yes, but the guard can show up on the day before.
 
Although, hmm, I don't think you need to associate guards with days, you just need to know how many times a guard was on duty and when they fell asleep, if at all
 
3:32 PM
right, but you sort your entries and just keep track of the previous guard to show up
 
I'm not sorting anything, I'm collating.
 
starts tinkering
 
It sounded like it would be easier at first but now I think this was a mistake.
 
That's making it harder than it needs to be, then.
 
Is the Advent of Code stuff something where functional programming works well?
 
3:35 PM
@InvaderSkoodge you could be lazy and throw the input into excel, sort it a-z and then work with what you got
 
I got the right answer though!
So apparently my month-carryover-logic-hack worked.
The first couple I parsed the input by just splitting the line repeatedly on different characters, but this one I actually caved and used a regex.
 
I should get 5-1 sh-- oh
Process is terminated due to StackOverflowException.
understandable have a nice day
I guess I can't recursion that can I
 
@MadScientist often, yes
I generally do it in clojure
 
I've been playing around with Elixir, so I might just try it with that
 
0
Q: Where is my Hair?

DsstructoI noticed that I was playing terraria on my android mobile device that, after wearing changing my vanity items from the familiar set to other vanity items for a while and then changing back to the familiar set that my hair went missing. does anyone know what happened?

 
3:45 PM
Whew, I actually already had the answer to Day 4 Part 2 from the calculations I was doing for Part 1.
I just had to figure out which variable held it since I had the worst variable names.
It was in max_minutes_per_minute.
 
@InvaderSkoodge Pretty sure that would be 1.
 
It wound up being 18.
 
fiddles with partition-by
 
Since it appears that I did this pretty differently from everyone else, here's the flow I used:
1) Create a big map of day -> [guard number, list of events]
2) Iterate through that map to create a new one of [guard number, minute] -> number of times asleep on that minute
3) Post-processing to find the guard asleep the most in total/on a specific minute
 
@InvaderSkoodge Clearly you have invented a time dilation machine.
 
3:54 PM
I wound up not really using the "falls asleep" or "wakes up" text (even though I stored which one it was) because I just assumed that each event was a toggle on the state, starting from awake.
And that held true.
 
I am extremely unsatisfied with my approach to 5 but
it works
eventually
it'll probably take 20 minutes to get part 2 processed
I also don't want to type out regex for it
but
 
:guard #3491, :asleep [0 -1 0 1 2 ...
I think something has gone wrong :(
 
hyperawake at 00:01
 
Oh wait, inc and dec don't do the same thing
 
Well, my attempt at Day 5 Part 1 works for all the sample inputs but not for my complete input.
Time for unit tests? :|
Oh. It counted the \n at the end because of the file editor I'm using appending that automatically.
I just had to subtract 1.
shakes fist
 
4:08 PM
here I am trying to see if I can regex my way out of watching this loop until lunch
 
Day 5 Part 2 done
 
lol
time to not brute force that
 
I'm pretty much brute forcing it, just efficiently.
 
Ridley is so incredibly easy to beat in World of Light.
 
I removed all the letters from the string one at a time and then fully calculated the result 26 times.
I process the string in O(n) time though.
 
4:15 PM
He always tries to side special for a kill but it ends up in a suicide.
 
I was probably closer to n!
 
I got pretty far (at least it felt that way) in WoL and then it just started to feel like busywork.
@Unionhawk wat
 
"guard" doesn't look like a word to me anymore
2
 
yep
 
0
Q: Why are snowballs not knocking back LAN players in Minecraft 1.13.2

user212269In one of my worlds, I simply want to have a snowball fight with players that are connected through LAN. The connection is perfect on both computers and there is no lag. PvP works (fist hitting) so there is no scoreboard prohibiting friendly fire. However, for some reason eggs and snowballs have ...

 
4:16 PM
@Unionhawk Are you starting from the beginning of the string every time you remove a pair?
You don't have to do that; you just have to step back 1 index (in case the removal made a new match) and then keep going.
 
shit you're right
I'm half regexing it now though so I'm in too deep
 
no don't use regexes for this what
 
hmm
I should probably technically be doing work
but
otoh
 
My entire code is like 12 lines and that's with extra ruby loop overhead because I'm manually using an index instead of using an iterator and Ruby hates people who do that.
 
@Ash how do you get through more than one book a day?
 
4:21 PM
I've been doing them in typescript and it's been pretty fun but I've not had enough productive time to do the last few
 
I'm off by 2 now god dammit @InvaderSkoodge
 
@Unionhawk Where does this fit on the Zelda timeline?
 
it runs fast but now it's wrong
 
You're off by 1 pair, so it's probably something simple.
Day 6 is going to require a little bit more thought.
 
I feel like my dad would like this
 
4:28 PM
@InvaderSkoodge it's missing the very first one now somehow (idk how this is possible) but since it's consistent just subtracts 2 to get a part 2
"might be impossible" is going to trip me up on 6 I think
 
4A done! that was harder than it looked.
 
@InvaderSkoodge I don't think I parsed the dates at all, just used the month-day as a string and sorted as such
 
I need to fully read all these so I don't go down some weird datetime and timespan rabbit hole when I only need minutes
 
@Unionhawk Yeah just forget everything else and just use minutes I think
for i := fell_asleep_at; i < int(minute); i++ {
    guard_minutes_asleep[current_guard][i] += 1
}
@fredley uwotm8
pls
Never read your own code
 
I will not be posting my full code and reveal that I did dictionary<int, int[]> for that one lol
And nearly did a dictionary in the value there until I remembered that it'd always be 0-59
 
4:39 PM
var guard_sleeping = make(map[string]int)
var guard_minutes_asleep = make(map[string]map[int]int)
🤔
@Unionhawk In my defence, this was my 4th Go program
 
In my defense none of the code I work with professionally is good
 
@Unionhawk I mean, the code you work with is probably alright...
 
No
Adequate at best
 
Rule #1 of software development: No code is good.
 
@Unionhawk If you're trying to regex your way out of an infinite loop you already lost
 
4:51 PM
@fredley it wasn't infinite but it was probably 26*n! Or some shit
 
It would have ended eventually
 
Runs in about 2 seconds.
 
@Unionhawk My approach was just to read the string in char by char, collapsing if the new char matched the last char of the line built so far.
 
user15026
@MBraedley depends on the size of the book, for one
 
4:52 PM
O(n)
 
@fredley yeah I did that originally, except starting at 0 each pass because I'm dumb as hell
 
user15026
For two, I read a lot and I read fast. I squeeze reading in wherever I can
 
I can read a 600 page book in under a day if I don’t have too much else to do that day.
 
Oh, 5 looks fun
 
4:55 PM
The vscode minimap on the input is entertaining
 
@Unionhawk the specification implies that you need to start at 0 but, while I can't prove this, I don't think it makes a difference to the result.
 
You don't
 
Day 9 was the first one which I found frustrating I think. God damn stupid marble game.
It' s just very fiddly, and there are edge cases not covered in the sample input
 
00:00 - 17:0017:00 - 00:00

« first day (3080 days earlier)      last day (1961 days later) »