Seriously wtf
- 1 post
- 6 comments
Joined 2 years ago
Cake day: December 21st, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
- __nobodynowhere@startrek.websiteto
Programming@programming.dev•Why do libraries define their own true and false?English
2 yearsstdbool.h’s true and false are macros that expand to integers 1 and 0
C23 adds a proper bool type
- 2 years
StackOverflowException was unhanded
- 2 years
Solution: 1 bit computer
XULRuner use to exist. I ran Chatzilla under it at one point in time.
- __nobodynowhere@startrek.websiteto
Selfhosted@lemmy.world•how much power does your system need?English
2 yearsA watt is 1 Joule per Second (1 J/s). E.g. Every second, your device draws 1 Joule of energy. This energy over time is called “Power” and is a rate of energy transfer.
A watt-hour is (1 J/s) * (1 hr)
This can be rewritten as (3600 J/hr) * (1 hr). The “per hour” and “hour” cancel themselves out which makes 1 watt-hour equal to 3600 Joules.
1 kWh is 3,600 kJ or 3.6 MJ




DOS originally didn’t even support directories but was using / for command line arguments. They didn’t want to change the option character and break stuff so they went with \ as the directory separator.
DOS wasn’t originally created by Microsoft. They bought the OS from computer shop in Seattle.