Squam's Box of Stupid Shit
banner
squambox.bsky.social
Squam's Box of Stupid Shit
@squambox.bsky.social
How do you center a div
I AM MAD
August 8, 2025 at 3:58 AM
So THAT'S how it's supposed to be structured
Unit tests run under the "__main__" block and if I remove it it won't pass even if literally everything is correct
August 8, 2025 at 3:58 AM
Never mind
Revised it to return the un-rounded value, made the comparison checks pass by returning the rounded value, but a direct function call does nothing in the eyes of the lab

You know what
It works everywhere but ZyLabs
Fuck it
August 8, 2025 at 2:55 AM
I figured it out

The comparison test wants rounded values
The unit test wants all 6 digits

Only AFTER I submitted a ticket to ZyLabs

Now I'm gonna look like an idiot
August 8, 2025 at 2:41 AM
>it calls driving_cost(20.0, 3.1599, 50.0) the first time using the values assigned to the input() statements
>unit test fails because it "produced no output"
>revise code to specifically call that
>pass unit test
>output comparison fails because it changes the input() values that it tests for

Help
August 8, 2025 at 2:08 AM
Reposted by Squam's Box of Stupid Shit
Best thing I've managed so far is to print an avatar my friend made, haven't successfully replicated it since

Those antennas were a nightmare to remove supports from
July 11, 2025 at 6:40 PM
Manjaro
July 1, 2025 at 10:58 PM
Ubuntu trying to mount a network share (impossible)
homer simpson sits at a table with a box of gummy bears in front of him
ALT: homer simpson sits at a table with a box of gummy bears in front of him
media.tenor.com
July 1, 2025 at 10:58 PM
Windows 11 using up all of my RAM at idle (it only has 40GB to work with)
a blurred image of a child 's face with a door behind him
ALT: a blurred image of a child 's face with a door behind him
media.tenor.com
July 1, 2025 at 10:58 PM
My ThinkPad watching the HP laptop die every 5 minutes (it's been running on battery power for 4 hours)
the rock is making a funny face and pointing at the camera while wearing a gray shirt .
ALT: the rock is making a funny face and pointing at the camera while wearing a gray shirt .
media.tenor.com
July 1, 2025 at 10:58 PM
I can't tell if it's actual religious soliciting or the opposite end of those gofundme scammers taking advantage of the Gaza war
May 29, 2025 at 7:10 AM