After reading a lot of comments in this thread, I’m not sure I know what spaghetti code is. I thought spaghetti code was when the order of execution was obfuscated due to excessive jumps and GOTOs. But a lot of people are citing languages without those as examples of spaghetti code. Is this just a classic “I don’t like this programming language, and I don’t know much about it.” Or is there something I’m missing?
- 0 Posts
- 172 Comments
I don’t understand the perspective that people should be more lazy. When people have lazy coworkers, they tend to suffer since they have to go above and beyond to get a task done. It’s like having a group project in school, and there’s the one guy that just does the bare minimum, so you have to work twice as hard so your grade doesn’t go down.
And if everyone simultaneously became lazy, that would be a disaster too. You don’t want hospitals or firefighters to suddenly decide they want to just run down the clock instead of doing the best job they can.
If you look at it only through the perspective of the morality of labor, it makes sense to say the rich are lazy and so it’s fair for the poor to be equally lazy, but when you look at the larger picture, it’s a lot less cut and dry.
The truth is, our current standard of living is based on the amount of work people do. If everyone suddenly became less productive, we would enter a recession or an economic depression.
stingpie@lemmy.worldto Programmer Humor@programming.dev•Mom can we have Scratch? We have scratch at home. Scratch at home:8·29 days agoYou could do this in basic ASCII, with only three defines. replace "_ " with “{”, replace “_;” with “}”, and “_” with nothing. If your compiler processes macros in the correct order, it will become valid code. (You would use semicolons as the vertical lines)
You always have to package good people with secret shames so suspicious players can gauge how good or evil they are. What people feel they need to hide is a good measure of what they consider acceptable. For example, a lawful good character could be ashamed by ignoring a person asking for help, but a lawful evil character might be ashamed that they indiscriminately murdered adults & children.
stingpie@lemmy.worldto retrocomputing@lemmy.sdf.org•Someone Experimented With a 1997 Processor and Showed That Only 128 MB of Ram Were Needed to Run a Modern AI3·1 month agoI would be so much more positive about this if you linked the actual source, not just an article that regurgitates everything word for word. Also, why is this article on ‘indian defense review?’ India and Pakistan nearly had a nuclear war this morning.
There’s a streamer called vedal[some numbers here, I forgot] that might be autistic—I’m not sure if he is, but he’s certainly shy and has difficulty expressing emotion. He made an AI vtuber thing called ‘neuro-sama’ it’s only really interesting because it’s an LLM in a real-time scenario.
stingpie@lemmy.worldto Programmer Humor@programming.dev•The devil said, “Take this glyph-laden grimoire and try to render it cross-platform.”1·2 months agoAre you being sarcastic? I can’t tell.
stingpie@lemmy.worldto unix_surrealism@lemmy.sdf.org•New 9front release: THE FRONT END OF TOMORROWEnglish1·2 months agoThis is a good first step, but power64 and itanium are antiquated ISAs, and should be removed. The only processor that is capable of all the advanced features of plan9 is the TMS99105, and working on any other architecture is a waste of time and effort.
stingpie@lemmy.worldto Worldbuilding@lemmy.world•Which type of worldbuilder are you?English3·2 months agoI typically work backwards from observations of people and extend my conclusions to a logical extreme. Like, people want smart conversational AI that can feel, etc. But they also want AI that can take over the worst jobs and prevent people from suffering through them (like robots displacing child slave cobalt miners). Taking this to it’s logical conclusion, we get a world where people design conscious robots, and force them into slavery in order to displace human slavery.
That’s not what I’m saying at all. What I’m trying to say is that I can’t think of any way a program working with numeric types could start outputting string types. I could maybe believe a calculator program that disables exceptions could do that, but even then, who would do that?
I refuse to believe the python one ever happens. Unless you are importing libraries you don’t understand, and refuse to read the documentation for, I don’t see how a string could magically appear from numeric types.
Anything that is turning complete & has enough ram can emulate x86, and an x86 emulator can boot Linux.
This is just my personal opinion, but I don’t think words can be ‘owned’ like that. More than that, I don’t think ideas can be owned. Ownership as a concept is based on exclusivity, and words/ideas can be copied identically and infinitely.
stingpie@lemmy.worldto MICROCONTROLLERS@lemux.minnix.dev•This MCU-Based Cyberdeck Boots in a Couple of SecondsEnglish2·3 months agoHonestly, an MCU taking any more time than a couple milliseconds to boot is embarrassing. What exactly is taking so much time to load & set up? The rp2040 can run at 200mhz, and only has ~250 kb of ram. A one second boot up time would be equivalent to filling the entire memory with zeros 66 times. (Using all twelve channels of the DMA) And if you’re talking about setting up the OS, that would be around 800 instructions per byte. It just doesn’t make sense how that much time could be wasted.
Oh boy, can’t wait for DOGE to receive all the private info the government stores about me! I’m sure that hiring kids with no experience to program every single automatizable aspect of the government will turn out just fine! 🫠
stingpie@lemmy.worldto unix_surrealism@lemmy.sdf.org•land of the primordial machine p-1English9·4 months agoCan’t wait for part -253!
How can you tell this is AI? I don’t see any of the characteristic AI probabilistic blurs, and the reflections & caustics seem right.
If they had writing during the paleolithic era, and had suddenly became sentient over the course of a few decades to a century(I might be misremembering some of your other posts) I think the Theophany might not be the first instance of a guiding hand in the yinrih’s evolution.
Also, if the yinrih went from paleolithic to spaceflight in the space of 5 millennia, I feel like their culture would be massively underdeveloped. Would art have developed in such a short time, or would design be purely functional? For humans, the paleolithic age started 3 million years ago, and the neolithic age (development of agriculture and the first time humans had any real free time) 11 thousand years ago. (Not to mention the earliest instruments date back to 38,000 BC.) So if the yinrih was merely 5 millennia old, and had such a focus on spaceflight, I think they would probably be in awe of human music theory.