Programming thread

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
No I've looked into this before. A conspiracy theory isn't necessary here.
I don't like that yosefk article, because it's too dismissive. Research into making high-level languages efficient in hardware is basically dead, but that's not my point. Here's a saying from an acquaintance of mine:
Stanislav said:
Sure, there are applications that will productively soak up infinitely-many CPU cycles: weather prediction, chemical modeling (my own field), codebreaking, etc. This has nothing to do with desktop computing, where most of the cycles are used by MS-Windows to move garbage from one pile to another, and to execute malware. Leaving plenty of CPU time to spare, because in this particular resource, we have a crisis of abundance rather than scarcity. Programmers have suffered from this abundance the way a serious glutton suffers from cheap junk food.
Efficiency should take a backseat to comprehensibility and even security. Imagine a machine where malware can't hide. Isn't that worth some lost cycles, since it's not as if our modern hardware is making good use of all this efficiency anyway?
 
not gonna happen
i vaguely remember reading about some theoretical cs stuff where they argued that any programming system that is turing complete is impossible to foolproof against attacks
(don't ask me to replicate the proof i am way too low IQ for that)
That would likely be Godel's Theorem, and no. Allow me to correct this ignorance.

It's entirely possible to build a computing system in which the entire state under consideration is visible and modifiable at any moment, with the press of a key. These kinds of computers existed physically, reinforced at every level above the hardware as well, but this is something an emulator for a video game console also does, just to prove that it can exist.

This ignorance is common, because it's the job of organizations like Microsoft to tell the world that better can't exist and, when people see past that lie, they settle on something such as GNU/Linux which has its own litany of issues.

In programming discussions, I'm thankful for India. Some people would say that where I disagree with someone like Linus Torvalds and the other Linux kernel programmers, or some other expert, that I must be wrong. Imagine arguing with an Indian that food can exist which doesn't give the consumer diarrhea, or how cow shit isn't a panacea. The Indian will argue that billions of Indians can't be wrong, for centuries. Likewise, it's impossible that the Linux kernel programmers could be wrong for several decades. These people will tell us that memory errors are impossible to eliminate, no differently than an Indian accepts dysentery. I know the right thing can exist, I've given examples in which it did exist, and no horde of ignorant programmers will successfully lead me astray.
 
Efficiency should take a backseat to comprehensibility and even security. Imagine a machine where malware can't hide. Isn't that worth some lost cycles, since it's not as if our modern hardware is making good use of all this efficiency anyway?
At the end of the day, people (who are mostly not programmers and don't understand computers the way we do) are going to gravitate towards a machine that costs less than another and, in turn, programmers are mostly going to opt for being "lazy" if that's an available option. As far as I know, all of this came before the modern plague of JavaScript slop and the like, because the prophet fortune-mod told me:
Code:
(vulgarity)
%
No matter how clever the hardware boys are, the software boys piss it away.
%
I really have a hard time believing a conspiracy theory here. Despite (or perhaps, to compensate, because of) having schizoaffective disorder, I try to look for anything but a conspiracy theory in most anything. The US military and intelligence apparatus is obsessed with computation, and has been ever since modern computing began. They will greedily look for anything to squeeze a little order out of the chaos that is warfare and other conflict between nations, whether that be artillery calculations, initially, or some of the multitude of other things we use computers for now. Much of this research is done in public. For instance, the Racket project is an open beneficiary of DARPA funding. Unless these arms of our government are hiding something very successfully, it doesn't seem that they have much interest in very high-level stack-based computer architectures, to my knowledge.

(But then again, our government kept the creation of a portable star under wraps for years.)
 
Seeing how incompetent and enshittified modern software is as a casual "lurker" when it comes to programming I just can't help but contrast the difference between old school programmers and modern programmers. Even if you were to remove poo nigger Indians from the equation the way programs are optimized and programmed is embarrassing. Watching someone like Terry Davis shit on big wig theoretical computer scientists and calling Linus a nigger makes so much more sense when you see some faggot "coding influencer" on youtube unironically vibe coding something for hours that Terry could do in 5 minutes and do better.

View attachment 8374985

This meme inspired this post. Sorry for the phone post shit, Youtube doesn't allow saving images on mobile because it was programmed by jeets.
dude old school programmers are so goated. the things my professors tell me they did when they were in school would have my classmates pissing and shitting themselves, causing mass drop-outs. i'm told back then the computer science degree didn't exist, and most started out as mathematicians or engineers. old school programmers were cracked out and knew what they were doing from the hardware down to the maths and abstraction of it all vs the modern faggot brogrammer who can barely pass discrete mathematics and data structures without nearly roping himself. talking to any old school programmer gives me so much motivation, they are the coolest people you'll ever meet.

i work as a teaching assistant and i should pick out some examples of assignments i was grading this semester. i've had "efficient, clean code" drilled into my head for years. every line should make sense and you should know what every line in your code does, otherwise why do you have it there? i assumed my peers were all on the same page. no. i was looking at the ugliest, most nonsensical code. variable names that didn't make sense, useless comments like:
// variables
// idk what this does it just works
// this broke when i took this out

code that didn't even run due to multiple syntax errors, line for line chatgpt copied submissions, double spaces between EVERY single line of code, etc. really the most poorly formatted, hideous code from 3rd year students. its no wonder that things are the way they are now, the standards for the average programmer has dropped. we don't have cracked out mathematicians or electrical engineers in this major.
 
i'm told back then the computer science degree didn't exist, and most started out as mathematicians or engineers.
the standards for the average programmer has dropped
The problem lies mostly in the modern programmer not caring about their craft. Many have been pulled in with the promise of high salaries, just doing the bare minimum to get by. Besides having low interest, this group is also less cognitively gifted (INDIANS).

Another problem is a sort of Kaczynskian oversocialization: for corporate code monkeys, conformity is key, Dive into any Java codebase and pleasure your eyes with all the common design patterns. There is no room for clever, simple and beautiful solutions. Back in the day programmers had to come up with their own solutions, often having to create a new language too. Only the smart were capable of doing that. It's a sort of survivorship bias, software was better because only smart people could get in the field in the first place.
 
Seeing how incompetent and enshittified modern software is as a casual "lurker" when it comes to programming I just can't help but contrast the difference between old school programmers and modern programmers. Even if you were to remove poo nigger Indians from the equation the way programs are optimized and programmed is embarrassing. Watching someone like Terry Davis shit on big wig theoretical computer scientists and calling Linus a nigger makes so much more sense when you see some faggot "coding influencer" on youtube unironically vibe coding something for hours that Terry could do in 5 minutes and do better.

View attachment 8374985

This meme inspired this post. Sorry for the phone post shit, Youtube doesn't allow saving images on mobile because it was programmed by jeets.
Something really interesting about the game filesize bloat is that, at least for a while, there could've been a case for it. For the few generations when games weren't locally installed on console drives, there would've been no footprint of inconvenience in filling the disc out as much as possible, since you use it or you lose it, and it's not gobbling up your drive space.

I recall hearing about some interesting tricks exploiting that fact. IIRC, at least one of the PS3 Uncharted games wrote the same graphics data to the disc multiple times/on multiple layers of the Blu-Ray, in order to increase access speeds by ensuring there was always closer access/locality to the drive head. I think it was something like that. "Wasteful" use of space, but illustrative of the fact that it's always worth engineering to target the thinnest bottleneck, because no "optimization" exists in a vacuum, and an inefficiency in one place may result in a faster program because it widens the thinnest bottleneck in the program.

Not meaningfully adding to the conversation or refuting you, I just love trivia like that.

The problem lies mostly in the modern programmer not caring about their craft. Many have been pulled in with the promise of high salaries, just doing the bare minimum to get by. Besides having low interest, this group is also less cognitively gifted (INDIANS).

Another problem is a sort of Kaczynskian oversocialization: for corporate code monkeys, conformity is key, Dive into any Java codebase and pleasure your eyes with all the common design patterns. There is no room for clever, simple and beautiful solutions. Back in the day programmers had to come up with their own solutions, often having to create a new language too. Only the smart were capable of doing that. It's a sort of survivorship bias, software was better because only smart people could get in the field in the first place.
This also makes me sad. I think the siren call of technology being a lucrative market has led to the dominant voice being one that doesn't acknowledge its artistry. I think there's art in just about every craft, but I rarely find another coder these days IRL who codes because they like the craftsmanship of the coding and find sincere joy in writing beautiful code.
 
Last edited:
Noob stuff.

I always send Grok my code from when I was 12 and it riffs on it and calls it "Awesome chaotic screen saver, A+ and rambles on with memes"

But it's good, because I'm sending QBASIC files from 1998.

I never initalized variables and did not understand RNG. I would just use decmials.

I'll post a program on the next one.
 
I recall hearing about some interesting tricks exploiting that fact. IIRC, at least one of the PS3 Uncharted games wrote the same graphics data to the disc multiple times/on multiple layers of the Blu-Ray, in order to increase access speeds by ensuring there was always closer access/locality to the drive head.
This is the case with some modern games as well, it's an optimization for spinning hard drives. SSDs of course have been mainstream for a while, but there are many countries where computers are much more low-end, so the spinning HDD is the lowest common denominator. Helldivers recently added a SSD install mode which massively reduces the size of the game, and other games should follow in time.
 
My mini PC has this terribly dingy microphone hardwired in it's case the chinese probably included to spy on me but what the thing mostly records is the inside of the mini PC's case and it's fan and various air turbulence and electrical interference, absolutely useless as actual microphone. I always put off desoldering it since I didn't want to take the thing apart entirely because of the fan of the APU, anyways- I thought yesterday, hey, entropy source so I wrote a small C program that captures with a decimation of 1:8 (so basically, at a sample rate of 44100 Hz we effectively only capture at ~5500 Hz and throw the rest away). This I do because I don't trust ALSA not to do some software fuckery to give me a smoothed out lower sampler rate if I request it (the lower sampling rate is basically to break up possible correlation of the sampling data because of the physical properties of the microphone) and then I pass the result through a simple von Neumann Whitener. I know hashing is what the cool kids would do nowadays but it felt intellectually more honest.

Code:
$ ent random.bin
Entropy = 7.999084 bits per byte.

Optimum compression would reduce the size
of this 200704 byte file by 0 percent.

Chi square distribution for 200704 samples is 255.24, and randomly
would exceed this value 48.39 percent of the times.

Arithmetic mean value of data bytes is 127.3630 (127.5 = random).
Monte Carlo value for Pi is 3.146068759 (error 0.14 percent).
Serial correlation coefficient is -0.002271 (totally uncorrelated = 0.0).

looks ok I guess?!

---

Since I learned about smalltalk lisp somehow didn't feel as revolutionary anymore. I've been dabbling with Cuis here and there (dabbling because I'm not sure what to with it in the end) and I sometimes have that dream of building the most minimal of minimal linux machines that just directly boots into a smalltalk image. Never quite understood all the talk of dead languages that live on elsewhere. The languages are right there, you're allowed to use them.
 
Hey I hate to be the n00b faggot retard asking the question that infuriates the actual real programmers....but does anyone have some good recommendations for documentation or videos / tutorials for learning Lisp? Preferably Common Lisp because its modern(by 1980s standards) and its very powerful and multipurpose compared to some of the other Lisp dialects. I thought Id be a basic nigger and learn C, maybe Zig to get in with Gen Z and dunk on Rust trannies who don't realize that Zig solves all their failed attempts at "OMG lets rewrite everything in Rust UWU 🦊" because its got a built in compiler to solve all the unsafe C code they use to make their language actually work.

Common Lisp has a lot of things that seem to match what Im interested in. Lots of flexibility and power without being dependent on importing 100 libraries of functions made by other people. I want a programming language that lets me do everything myself so I can be alone off grid making my ultimate hacking weapon to spam NIGGER on all frequencies to end the Zionist government but lack the autistic capabilities to program in assembly

Jokes aside, if a hobbyist retard wanted to make Lisp his first language, any suggestions?
 
Hey I hate to be the n00b faggot retard asking the question that infuriates the actual real programmers....but does anyone have some good recommendations for documentation or videos / tutorials for learning Lisp? Preferably Common Lisp because its modern(by 1980s standards) and its very powerful and multipurpose compared to some of the other Lisp dialects.
I dislike Paul Graham, but his book ANSI Common Lisp makes for a decent reference once one reads through it. Don't pay more than $10 for a copy. While Practical Common Lisp is gratis, I didn't care for it, but others seem to like it. Here are two different links to the HyperSpec, which was quite advanced at the time:

Get used to using GNU Emacs, because it's still the best Common Lisp editor that's popular and easy to use for someone new.
 
i work as a teaching assistant and i should pick out some examples of assignments i was grading this semester.
if you are grading first years and they are doing java, you will see the worst slop code you have EVER seen in your life. Comments making any sort of sense and code that won't run are just par for the course. Hell my favorite was just explaining how to install the jdk ... multiple times throughout the semester. While all my experience is before the advent of AI and all you had were kids attempting to compile java using eclipse on a weird fucked up mix of ubuntu win7 and i think osx Lion. In this post AI world, I expect the code to be WAY worse.
 
Hey I hate to be the n00b faggot retard asking the question that infuriates the actual real programmers....but does anyone have some good recommendations for documentation or videos / tutorials for learning Lisp? Preferably Common Lisp because its modern(by 1980s standards) and its very powerful and multipurpose compared to some of the other Lisp dialects. I thought Id be a basic nigger and learn C, maybe Zig to get in with Gen Z and dunk on Rust trannies who don't realize that Zig solves all their failed attempts at "OMG lets rewrite everything in Rust UWU 🦊" because its got a built in compiler to solve all the unsafe C code they use to make their language actually work.

Common Lisp has a lot of things that seem to match what Im interested in. Lots of flexibility and power without being dependent on importing 100 libraries of functions made by other people. I want a programming language that lets me do everything myself so I can be alone off grid making my ultimate hacking weapon to spam NIGGER on all frequencies to end the Zionist government but lack the autistic capabilities to program in assembly

Jokes aside, if a hobbyist retard wanted to make Lisp his first language, any suggestions?
I too asked before and got good recommendations regarding Java, Python and C if I remember. I don't remember the page, but I probably have bookmarked. I need to return to it whenever I can...
I just don't have the patience to hear "Hello sars today I will show you how to code yis" or some tranny faggot.
 
I just don't have the patience to hear "Hello sars today I will show you how to code yis" or some tranny faggot.
It's unfortunately representative of the real world. I work at FAGMAN, and everyone else on my team is pajeet except for one white guy, who is a tranny. If you ever wonder why the quality of FAGMAN software keeps getting worse, its because of teams like the one I'm on.

I regularly have to review code where I'm unconvinced that my team mates even read their code. It will have all the telltale ai signs, down to weird spacing characters and emojis in the comments. And the one jeet on my team who doesn't use AI has even worse code.

Avoid any learning resources from these cohorts. But you don't need to hear that, you have the sense to do that anyway.
 
Back
Top Bottom