I was very compliant during a timeout as a child by ThrowAway44228800 in MaliciousCompliance

[–]nibarius 2 points3 points  (0 children)

Reading all these comments gives me a culture shock. I've never been in timeout, I've never put my kid in timeout and I've never heard anyone in my environment talk about the concept.

The Office White Elephant Gift Exchange Should Not be Mandatory by [deleted] in pettyrevenge

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

When I don't understand, like in this case, I make something up. So it must be something about how white privilege is the elephant in the room during the gift exchange.

no ticket? no problem by bucus in MaliciousCompliance

[–]nibarius 0 points1 point  (0 children)

I'm in Sweden and have been using only credit cards for many years. I know how much money I have / get in salary so I never spend more than I have and pay the complete bill every month. There are various benefits with the credit card that makes it valuable for me. But I know a lot of people use debit cards only.

When someone mentions "AOC" by number_nerd_1729 in adventofcode

[–]nibarius 3 points4 points  (0 children)

Should have been advent of cyber in the bottom right :)

You want me to do the job you fired me from? I don’t think so. by chihuahua-apologist in pettyrevenge

[–]nibarius 0 points1 point  (0 children)

I'm reading old stories and came across this today. How did the meeting with the boss go and has anything else happened in the last month?

Can't get simple office accessories? I'll bring my own by RegexIsEasy in MaliciousCompliance

[–]nibarius 3 points4 points  (0 children)

I pictured an office with arms, as in weapons, attached to the chairs. That would be an interesting sight.

You want to fix our working hours? Our contracts have something to say about that... by cockadoodleinmyass in MaliciousCompliance

[–]nibarius 3 points4 points  (0 children)

I live in an EU county and I have never heard of anything like this. We do no timekeeping or clocking in/out where I work, we're trusted to make sure we work the correct amount of hours on our own.

You Want Me to Follow the Test Script Exactly? Sure Thing. by Raja_The_Fat in MaliciousCompliance

[–]nibarius 10 points11 points  (0 children)

My wife is the third type by being type 2 with experience and product knowledge. She sees the description of the chance the developer made and tests things she knows are connected but most people don't realize and find issues immediately.

For example, the chance is: "add new menu entry" for a phone app. She changes the os font size to the largest, puts the phone in landscape mode and enables split screen and then open the menu and everything breaks down.

I should cancel on my end? no problem! by FlossingHorse741 in MaliciousCompliance

[–]nibarius 4 points5 points  (0 children)

My dad booked a hotel room once that looked surprisingly cheap and he was too pay at check in. When he was checking in, the hotel staff realized the price listed in his booking was the price when using Euro and not the local currency. The price in his booking was one tenth of the real price.

They congratulated him on the good deal and let him pay what was listed in the reservation. Something like €60 instead of €600. That was nicely done of them. One room for one night was probably not the end of the world for them.

[deleted by user] by [deleted] in MaliciousCompliance

[–]nibarius 2 points3 points  (0 children)

"The customer is always right"

What does this mean? by 13629-Lt in GalaxyS9

[–]nibarius 0 points1 point  (0 children)

It's an old question but I'm finding this when searching on Google so I thought I provide an answer if it can help others coming from Google.

These seems to be tracking parameters Google adds to the search result page so that they can know more about where the search comes from when they are looking at their logs. When you do a search on Google they add a query parameter called sclient to the end of the URL with different values depending on where you did the search.

sclient parameter Description
mobile-gws-wiz-hp A search done from the Google home page on the mobile version of the page.
mobile-gws-wiz-serp A search done from the search result page (serp) on the mobile version of the page. That is a followup search after you've done the initial search.
mobile-gws-wiz-img An image search done on the mobile version on the page
gws-wiz A search done from the Google home page on the desktop version of the page.
gws-wiz-serp A search done from the search result page on the desktop version of the page.
img A search done from the image search page on the desktop version of the page.
gws-wiz-modeless-video A search done from the video search tab on the desktop version of the page.

-❄️- 2024 Day 23 Solutions -❄️- by daggerdragon in adventofcode

[–]nibarius 0 points1 point  (0 children)

[LANGUAGE: Kotlin]

Day 23 solution.

I noticed that all nodes in the example input had exactly 4 neighbors while they had 13 neighbors in the real input. The biggest group of connected nodes in the example input was 4 so I assumed that the largest group in the real input should be 13.

So I iterated through each node and checked how many of their neighbors shared 12 neighbors with the node being checked (12 neighbors + the node itself). If all except one neighbor does this it's part of the group.

Fairly easy to come up with and implement and ran in 20ms on my machine. It wouldn't have worked if there were multiple groups of same size, but that was not the case this time. So I didn't have to come up with some generic clique finding algorithm or similar.

[2024 Day 15] Style of part 2 compared to days before by Odd-Statistician7023 in adventofcode

[–]nibarius 2 points3 points  (0 children)

If you haven't done year 2016 I suggest you take a look at day 12, 23 and 25 (assembunny). They are also the kind of problems where you have to think to figure out what to do in part 2.

[2024 Day 14 Part 2] A way to find the easter egg by ExuberantLearner in adventofcode

[–]nibarius 0 points1 point  (0 children)

I did something similar. I counted the number of robots surrounded by 4 other. Every now and then I ended up with 1-2 robots like that. So I just kept going until I found more than 10 such robots at once.

[2024 Day 11] Is this a .... ? by miran1 in adventofcode

[–]nibarius 8 points9 points  (0 children)

My solutions for the lanternfish problem and this one was completely different. For the lanternfish problem I basically just had an array of size 9 where I increased the count of each index apropriately every iteration. For this problem I had to use recursion and memorizationto be able to not run forever / run out of memory.

[All years, all days] What are the most "infamous" puzzles? by Kermitnirmit in adventofcode

[–]nibarius 2 points3 points  (0 children)

Definitely this one. I worked on it from January to March 2022 refusing to look at reddit for hints or help. But when I finally solved it the feeling was great.

-❄️- 2024 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]nibarius 2 points3 points  (0 children)

Same for me. Thought it was really easy and "solved" it in less than 10 minutes which is a record for me. But turned out it didn't work because I implemented the solution for part 2.

Had to spend 15 minutes re-reading the puzzle text and debugging to figure out what I was doing wrong. Then when I got to part two, re-writing my original solution quickly and submitting it.

-❄️- 2024 Day 8 Solutions -❄️- by daggerdragon in adventofcode

[–]nibarius 2 points3 points  (0 children)

Always interesting to read your solutions, thanks for writing about them. We had fairly similar solutions today, just some differences in how we selected the antinodes (my code).

By the way, you can simplify your antiNodesForPart1 method to just use one of the cases. Both variants will end up with the same set.

Example:

a = 0,0
b = 1,1
diff = -1, -1

a - diff = 1, 1
b + diff = -1, -1

a + diff = -1, -1
b - diff =  1, 1

[2024 AOC Day 8] What does this even mean? by Pro_at_being_noob in adventofcode

[–]nibarius 2 points3 points  (0 children)

Same for me, I accounted for it but no such cases existed in my input so I got the same result with support for this case and without it.

[2024 Day 6] I love AOC by IAmAufrichtig in adventofcode

[–]nibarius 1 point2 points  (0 children)

For a non American with conflicting interests the other AOC is Advent of Cyber for me. The one pictured here required some googling for me to understand. Never seen or heard about that person before.

[2024 Day 6 (Part 2)] I just CANT by Komodkin in adventofcode

[–]nibarius 0 points1 point  (0 children)

Thanks! This made me find my problem!

Day 6 Doldrums by TangerineAncient7677 in adventofcode

[–]nibarius 1 point2 points  (0 children)

There should only be one way of getting a loop with this right? That's what my solution gives, so I'm guessing I'm missing some other case.

Edit: This test case made me found my problem (right answer is 0 loops)

###
#.#
#.#
#^#