Tumgik
#programming
prokopetz · 3 days
Text
Look, there's a lot to be said about the contemporary gaming industry's preoccupation with graphics performance, but "no video game needs to run at higher than thirty frames per second" – which is something I've seen come up in a couple of recent trending posts – isn't a terribly supportable assertion.
The notion that sixty frames per second ought to be a baseline performance target isn't a modern one. Most NES games ran at sixty frames per second. This was in 1983 – we're talking about a system with two kilobytes of RAM, and even then, sixty frames per second was considered the gold standard. There's a good reason for that, too: if you go much lower, rapidly moving backgrounds start to give a lot of folks eye strain and vertigo. It's genuinely an accessibility problem.
The idea that thirty frames per second is acceptable didn't gain currency until first-generation 3D consoles like the N64, as a compromise to allow more complex character models and environments within the limited capabilities of early 3D GPUs. If you're characterising the 60fps standard as the product of studios pushing shiny graphics over good technical design, historically speaking you've got it precisely backwards: it's actually the 30fps standard that's the product of prioritising flash and spectacle over user experience.
3K notes · View notes
image-behind-dream · 14 hours
Text
125 notes · View notes
ahsnapitskat · 4 months
Text
Hey, I know we may not know each other but I wish you the best of luck with whatever you have going on. I hope something great happens to you, you deserve it. 💕
12K notes · View notes
one-time-i-dreamt · 1 year
Text
I programmed my wife on Java.
23K notes · View notes
giggibaloggio · 7 months
Text
Tumblr media
proud to be learning c++
11K notes · View notes
snarwin · 5 months
Text
Notice: this gender is maintained solely for the purpose of backwards compatibility. Its use is discouraged in new code.
6K notes · View notes
f-identity · 1 year
Text
Tumblr media
[Image description: A series of posts from Jason Lefkowitz @[email protected] dated Dec 08, 2022, 04:33, reading:
It's good that our finest minds have focused on automating writing and making art, two things human beings do simply because it brings them joy. Meanwhile tens of thousands of people risk their lives every day breaking down ships, a task that nobody is in a particular hurry to automate because those lives are considered cheap https://www.dw.com/en/shipbreaking-recycling-a-ship-is-always-dangerous/a-18155491 (Headline: 'Recycling a ship is always dangerous.' on Deutsche Welle) A world where computers write and make art while human beings break their backs cleaning up toxic messes is the exact opposite of the world I thought I was signing up for when I got into programming
/end image description]
28K notes · View notes
engravedlives · 23 days
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
random green blinkies
3K notes · View notes
prokopetz · 8 months
Text
Tumblr media
The fascinating thing about this particular patch note is that it implies the game engine is fully rendering your character's penis at all times, not just when you take your pants off.
52K notes · View notes
maj77777 · 2 months
Text
Tumblr media
2K notes · View notes
frenzyarts · 8 months
Text
Meme edits I made to explain my thoughts on coding languages I’ve used (from the perspective of a beginner making a website):
HTML
Tumblr media
CSS
Tumblr media
JavaScript
Tumblr media
4K notes · View notes
creepymutelilbugger · 9 months
Text
Tumblr media
4K notes · View notes
sreegs · 2 months
Text
You're interviewing as a software engineer and you sit down to begin a coding exercise via remote video chat. Your interviewer joins a minute late. You exchange light pleasantries, then intros. They ask you a few questions relevant to your experience and you answer them satisfactorily.
The interviewer says, "Right, lets move on to the coding exercise," and directs you to a collaborative coding website. You select your language of choice and they begin to describe your problem.
"You have an array of souls recently liberated from their mortal shell, represented by this array of signed floats called "theDead". You must design a function that determines which souls go to heaven and which souls go to hell,"
"Heaven and hell are empty. The cumulative value of all the souls in heaven and hell must both be nonzero, and exactly equal to each other. You may leave any number of souls in purgatory,"
"Your function must return a bool indicating whether the balance of heaven and hell can be met given the array of souls. The count of souls will be 0 < n < 1,000,000. Do you have any questions before you begin?"
1K notes · View notes
chaussurre · 5 months
Text
Tumblr media
2K notes · View notes
sondercrow · 9 months
Text
So python is apparently unable to handle if-statement with more than 2996 elif’s, which is fair, however, it’s really limiting my implentation of an is_even function
Tumblr media
Any ideas on how I can work around this?
3K notes · View notes
lavenderhorns · 1 year
Text
Every now and then I remember that Malbolge exists and I get to spend the better part of an hour cry-laughing at the world’s worst programming language
Tumblr media
already starting off strong, but it gets worse
Tumblr media
Wow! Sounds easy and intuitive to use! What’s the “crazy operation” you ask? We’ll get to that later. For now let’s see what a program in this language looks like :)
Tumblr media
Thanks! I hate it!
Tumblr media
it’s so difficult to work with that the first program was written by another brute force search program
Tumblr media
mmmmm delicious base-3 arithmetic, what could go wrong? (For reference, that means this program forgoes the usual “0/1″ values of binary code in favor of a much more fun “0/1/2″ set of values)
Tumblr media
ah.
Tumblr media
Here’s how the language actually figures out what to do. It’s got 8 “simple” commands that can be executed easily by *checks notes* running the code itself through the modulo operation and taking the result.
Tumblr media
As a bonus, on top of all that every single character in your code will now alter what every single other character does. So I hope you’re alright with cracking a cipher every time you add a new letter to your program!
Tumblr media
oh god oh fuck.
Tumblr media
behold, Malbolge’s primary arithmetic operation and what you’ll be using for most of your math while programming with it :)
This looks specifically designed to be the least logical math operation you could make, and knowing what the rest of Malbolge is I’d wager that’s precisely what happened. I never want to ever use this and it’s my favorite thing I’ve ever seen.
https://en.wikipedia.org/wiki/Malbolge
Anyways here’s the wiki page if you wanna read through it more deeply, I’m gonna sit here holding in my laughter staring at the hello world program again.
12K notes · View notes