Programming thread

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
Then why are you crying about it like a fag?
I'm not crying about it I'm here to do what I can to make low level shits kill themselves before the below happens.

Here's what happens. You think you've got it made with your welfare or, for 1% of you your incredibly hard to get low level job. Things are going well and you think you've got it made. Then, one day the government shuts off your welfare and gives it to some other pretend victim group, or in the case of the job, they finally go tits up from your parasitic behavior or they finally modernize. Now you have less than a couple weeks of money left and you get desperate.

You apply to the very OOP jobs you claim you hated and you are desperate so you suck dick your way past the interview. Now you meet someone like me, ie someone actually getting shit done. All we do is I consistently prove you wrong every 5 minutes for 4 months, which isn't that hard because all you do is suggest we go back to the 1980s and throw away our codebase and re-write it in some autistic bullshit because you're doing the same thing again, now that you have basic income and can eat, you want to pretend to win hipster points.

You destroy the business for 4 months until management/ownership realizes I am right. You are fired instantly and you go home and kill yourself. This is good but the reality is I still have to pick up the pieces because from their point of view, "I was being impossible to work with" because they don't understand what you were suggesting and how stupid and antiquated it is. Now I have to pull all nighters for a couple weeks to get us back on track. I don't give a shit about your worthless body when it hits the floor after you kill yourself, I wish I could pay money to be there and jerk off, but because the owner sees code as magic invisible shit, they honestly don't know the difference between something new and your low level autistic smelly shit burger, so I am the only one at the business that has to live in an alternate reality and essentially make up for your life-failures by pulling all nighters for two weeks. That's what happens after you kill your worthless self. The company will not admit they fucked up in hiring you because it'd make them look bad. So I have to make up for it.

>Nigga, this has never happened
Oh but how it has, at various jobs I've had it has happened countless times. It's C, C++, ASM, Haskell, RPG, even a few old people with cobol. Sometimes it's not just some random person they hired but someone they knew and in that case it's ultra cringe because they admit they haven't fucking written a line of code since 1980 and aren't writing code now and they hand me a cobol manual and tell me I'm some stupid kid and then I have to read it overnight and re-write the entire thing from scratch with them conveniently forgetting the tool kit or fucking anything that they used back then. And meanwhile the company instantly stops using the system I wrote for them and the company loses a shit load of money. So from a business perspective, from a moral perspective, from a common sense perspective, from an everything perspective, you are literally nothing but useless dead weight for the world.
 
Fun fact. Did you know that every post has a data-author which can be used to setup a rule to filter someones posts in ublock origin?

Code:
kiwifarms.st##article[data-author="ANNOYING-PAJEET-CSEETHER"]

Do with this what you will. All I can say is that it's making this thread much more enjoyable for me.
 
Fun fact. Did you know that every post has a data-author which can be used to setup a rule to filter someones posts in ublock origin?

Code:
kiwifarms.st##article[data-author="ANNOYING-PAJEET-CSEETHER"]

Do with this what you will. All I can say is that it's making this thread much more enjoyable for me.
That is cool, though ideologically, I always prefer to ignore manually :)
 
Okay so the larper doesn't have a job. cool. Anyone here write a language interpreter before? They're pretty neat toys.
I wrote my own preprocessor layer for C once, it was awful, one of my worst decisions and creations
 
  • Thunk-Provoking
Reactions: GhastlyGhost
You know, I originally replied to your comment point-by-point, but now I realize that continuing this discussion will be a waste of my time.
You win, I'm gonna go kill myself now cause I'm a C-fag on welfare or whatever.
 
Last edited:
You know... I can't help but think if a cop pulled over a car with llllIllI on its license plate, I'm pretty sure he'd know exactly what sort of person he's about to be dealing with.
Fun fact. Did you know that every post has a data-author which can be used to setup a rule to filter someones posts in ublock origin?
Here's another fun alternative to reading certain types of drivel.
CSS:
[data-author="someone special"] .message-body * {
  display: none;
}
[data-author="someone special"] .message-body:after {
  content: 'get creative';
}
 
Okay so the larper doesn't have a job. cool.
It's like how people who brag online like "Im fuckin SO MANY BITCHES and gettin SO MUCH PUSSAY!!!" have never even seen a pussy outside of a screen, except in this case he's bragging about how much money he makes by working 30 minutes each day in three different remote jobs (except for those times when he has to pull all-nighters)
Anyone here write a language interpreter before? They're pretty neat toys.
Not for any already-existing language, but a while ago I did start working on an embedded scripting language for Kotlin Multiplatform because I wanted something that would work the same way in every environment without needing to get separate libraries for JVM, JS, and maybe Native and then wrap them in a common API interface. The language I ended up making was pretty simple: no static typing checks and no user-definable data-types, just functions and variables. Its only data-types were Nihil, Text, Whole, Real, Logic, Order, and Dict, and they had those names so they wouldn't be confused with kotlin.String or kotlin.Int or whatever.

The implementation was better than bad, but worse than good. It wasn't a tree-walk interpreter that traverses an AST, because those are gayniggertarded, but it wasn't a fancy bytecode VM either. The instructions that the compiler generated from the AST weren't bytes or ints; instead, they were objects in a list. There was a "VM instruction" abstract (well, sealed, because Kotlin) base class, and then every different type of instruction was a data class with values to specify things like "source variable(s)", "target variable(s)", "jump destionation", "math operation", etc. (scawy) Variable names were specified as strings, because the VM was neither stack-based nor register-based! Instead, it was string-keyed-hashmap-based! (blessed Emperor...) Also, implementing something like the + operator with an instruction meant that I had to do some when-expression niggadry to handle each possible valid combination of input types: Whole + Whole = Whole (addition), Whole or Real + Real = Real (also addition), Whole or Real or String + String = String (concat), List + anything = List (append), Dict + Dict = Dict (merge), etc. (Archmagos, prepare cyclonic torpedoes)

I was halfway through writing its standard library (mostly collection functions like map, filter, flatmap, etc.) when I started doing something else and forgot that I was working on this because I am a zoomer with a zoomer-style deep-fried attention span gradually realized that I don't really need it.
 
Isn't there some inherent benefit to learning Assembly, for example? Of course you cannot do any practical solutions for web design or for a client, for example. But lower level languages seem to have something practical.
I never felt so in touch with my processor as when I wrote Assembly. It was transcendent.

Useful? Maybe if you want to write your own language and also create a replacement for LLVM. Or for specific optimization edge cases when you're working with a particular chip. You can in-line Assembly in C and C++ code so there are probably still some hacky optimizarions possible, though unlikely you'll ever beat the compiler these days.

Also useful for disassembly, if you want to reverse engineer a program. Or hack it.

The MAIN reason you'd want to learn Assembly though is so you can write custom gameboy ROMs
 
I never felt so in touch with my processor as when I wrote Assembly. It was transcendent.

Useful? Maybe if you want to write your own language and also create a replacement for LLVM. Or for specific optimization edge cases when you're working with a particular chip. You can in-line Assembly in C and C++ code so there are probably still some hacky optimizarions possible, though unlikely you'll ever beat the compiler these days.

Also useful for disassembly, if you want to reverse engineer a program. Or hack it.

The MAIN reason you'd want to learn Assembly though is so you can write custom gameboy ROMs
I'd argue the main reason that you'd want to write assembly is to understand what the disassembler's spitting out at you when you're reverse-engineering/debugging without symbols.
I really should take a stab at writing a Saturn game, that architecture is fucked in such a couple of interesting ways.
 
You apply to the very OOP jobs you claim you hated and you are desperate so you suck dick your way past the interview. Now you meet someone like me, ie someone actually getting shit done. All we do is I consistently prove you wrong every 5 minutes for 4 months, which isn't that hard because all you do is suggest we go back to the 1980s and throw away our codebase and re-write it in some autistic bullshit because you're doing the same thing again, now that you have basic income and can eat, you want to pretend to win hipster points.

Ok Mr. OOP, let me ask you this:

Are you such a stickler to OOP that you require everything be abstracted via inheritance, or are you OK with a lot of composition too?

In my mind there's the useful OOP and then the religiously overdone OOP dogma but full anti-OOP is a fad too
 
  • Agree
Reactions: yydszmiteg2
Ok Mr. OOP, let me ask you this:

Are you such a stickler to OOP that you require everything be abstracted via inheritance, or are you OK with a lot of composition too?

In my mind there's the useful OOP and then the religiously overdone OOP dogma but full anti-OOP is a fad too
He never answers any conceptual questions about OOP. He just says "OOP makes money", and then shits in the street.
Refused to comment on the problem of resource locking and dependency injection for the encapsulation aspect of OOP.
 
Knowing assembly is immensely useful for pretending to flex
There's nothing pretend about the fact I can write video games for a variety of 1980/1990 video game consoles and you can't.

You just got flexed on, pleb.

Also reverse engineering is a highly competitive and paid profession, but that's beside the point.
 
There's nothing pretend about the fact I can write video games for a variety of 1980/1990 video game consoles and you can't.

You just got flexed on, pleb.

Also reverse engineering is a highly competitive and paid profession, but that's beside the point.
I get that. I was trying to mod a UE4 game and spent the better part of 4 hours trying to find a binary signature to a function that ran at the start. I never did.
 
  • Feels
Reactions: Safir
Back