#⌨coders-cave
1 messages · Page 110 of 1
wait i got you
Ye
Of course it's C
Why won't it let me send gifs
And pretty lazy Microsoft
A = "B"
if A == 'B':
print(A)
AND THIS IS WHY I WNAT SOME ONE TO TEACH ME WHAT THE FUCKKK DOSE THAT MEAN ? mega confusion 100000000000000000⁰000000000
Teach me the ways
... I'm not really a person that can teach someone...
A= "b"
If A='b'
Print(A)
Could you try
No
Huh
Just go to codecademy or some shit
Codecademy lol
That is defo where you went
A=b
If A=b
B=delete=A
Booom
what
Basically created Conway's game of life
Hold on rq
gowan
how do you expect
A='c'
'c'=A
How to code buttttt apparently that's effort
eh
not really
But now I just want to know how to write it out correctly
we just get paid because we are very wanted
very true
learn by practice
the work we do is nowhere near the difficulty of other jobs
try make programs, follow tutorials
compared to physical labour and that lot no, that's fair
I don't know where to begin
depends your career though
im largely infrastructure/backend focused (although a lot of my work is frontend)
so i have to maintain stability on a platform that serves people in several countries without them noticing lol
I do os stuff
im 6 months in my first dev job and i get paid £30800 per annum
I dont have a job but even if what I do is difficult
I apologize
I wouldnt expect anything more than 50k
a year
its just not that hard
comapared to factory work
i mean compared to physical labour yeah
Ok you know what's my dream the thing that got me here
or management
but it isn't the same metric lmao
they are difficult jobs
but dev isn't exactly easy
I want to meet that guy who hacked that kids lap top and then netendo and then Microsoft
Bro this argument is fun to watch not gonna lie
some dev is like that but i dont have that with my work
idk who/what/when that is
Ye carry on where's that dude
idk what to say
I agree with him that
its not easy
i think
but also Im not sure some jobs are worth 100k a year
Bro how do just type it correctly
i have to agree with that
no dev job is worth 100k that's for sure
in london a job that is 140k would be 50k outside london. placement dictates a lot
but I do have to state something before I get called a fraud
I am not even near qualified to talk about jobs and stuff like salaries so take my words with a grain of salt
fair
Ok
what language
im 6 months in my first job but been doing high level stuff for like
3 years prior
got a raise last month lol :D
the error is that this programming language dont exist
I have only done low level stuff in all my time programming
other than a little unity
How do I speak correctly then do I space less
only graphics apis and os stuff which aint that searched for nowdays
they upgraded my title from junior react dev to full stack dev and i got a bonus with raise last month lmao
gg
very true. interesting stuff though. what;s your take on rust?
personally i love it
Nooooo go back to argueing
ive been using it to work with compute shaders and entity component stuff
its good for everything (almost)
real interesting stuff
aye it's very good
like os stuff? Amazing
Booooooooo
compiler is highly custimasiable
even stuff like web servers it does a good job
Ima keep tryin
ive used it for queue management with rabbitmq
oh neat
but C still somehow feels superior in kernels tho
ye with gl right
like the crate
but i think wsgl is just a light wrapper over gl
volcano is nice
yeah gl is good
i find it funny when i call clients ngl
even my own coworkers were like
yo you're like 23 no?
im 19
im not even old enough to use the platforms im developing
https://github.com/amcwb if i may share
I have yet to have a job in programming
but I have done alot of self projects
Then get one ????!!!!
oh nice will look at it
nah
it was my personal projects lol
I do once a full moon
lol
I kinda sometimes wonder
if I decide to get a job
and I show a company my half assed personal os
would they hire me
or tell me to get a life
especially if it's your first job like
you overestimate how much they'd expect from you
os development is overhyped in terms of difficulty
because yes windows is impossible to replicate
https://github.com/amcwb/weather-app this was my interview app lmao
but linux kernel? 4-5 year job
damn
alot of code I dont understand
but that was alongside the rest of my github profile lol
I dont even know what tsx is
tsx is jsx but typescript
and jsx is js with html syntax allowed
my abandoned github :)
https://github.com/amcwb/piston2d-python and https://github.com/amcwb/rmq-discord-transport are the two of my projects you'd prob understand
its like
I kinda work alot with
barebones
like the literal core of the languages
so even this I barely understand lol
#version 440
layout(local_size_x = 1, local_size_y = 1) in;
struct Particle {
float x;
float y;
float z;
float vx;
float vy;
float vz;
// float fx;
// float fy;
// float fz;
float mass;
};
uniform int u_particle_count;
uniform float u_dt;
const float GRAVITY = 0.000000000066742;
layout(shared, binding = 0) writeonly buffer OutputData
{
Particle next[];
};
layout(shared, binding = 1) readonly buffer InputData
{
Particle input_data[];
};
void main() {
uint index = gl_GlobalInvocationID.x;
Particle particle1 = input_data[index];
vec3 pos1 = vec3(particle1.x, particle1.y, particle1.z);
vec3 directed_force = vec3(0.0, 0.0, 0.0);
for (int i = 0; i < u_particle_count; ++i) {
if (i == index) continue;
Particle particle2 = input_data[i];
vec3 pos2 = vec3(particle2.x, particle2.y, particle2.z);
float d_sqrt = distance(pos1, pos2);
// avoid flinging into space
if (d_sqrt < 0.1) continue;
float raw_force = (GRAVITY * particle1.mass * particle2.mass) / (d_sqrt*d_sqrt);
vec3 d_axis = pos2 - pos1;
directed_force = directed_force + (d_axis / d_sqrt) * raw_force;
}
vec3 velocity = vec3(particle1.vx, particle1.vy, particle1.vz) + directed_force / particle1.mass * u_dt;
vec3 position = velocity * u_dt;
Particle new_particle;
new_particle.x = particle1.x + position.x;
new_particle.y = particle1.y + position.y;
new_particle.z = particle1.z + position.z;
new_particle.vx = velocity.x;
new_particle.vy = velocity.y;
new_particle.vz = velocity.z;
// new_particle.fx = directed_force.x;
// new_particle.fy = directed_force.y;
// new_particle.fz = directed_force.z;
new_particle.mass = particle1.mass;
next[index] = new_particle;
}
does this mean anything to you?
niceeee
awesome stuff tho
got it running physics simulation of forces between 100k particles (all with eachother so 10mil interactions) within 12ms
it's so incredibly fast
is a pain when you have to break the rules of rust tho
cmd_list.bind_buffer(&mut self.curr_sb,0);
cmd_list.bind_buffer(&mut self.prev_sb,1);
cmd_list.dispatch(
length as u32,
1,
1,
);
cmd_list.memory_barrier(MemoryBarrier::ShaderStorage);
std::mem::swap(&mut self.curr_sb, &mut self.prev_sb);
unsafe {
gl::BindBuffer(gl::SHADER_STORAGE_BUFFER, self.prev_sb.get_id());
let d : *const Particle = gl::MapBuffer(gl::SHADER_STORAGE_BUFFER, gl::READ_ONLY) as *const Particle;
if d.is_null() {
gl::BindBuffer(gl::SHADER_STORAGE_BUFFER, 0);
return None
}
buffer = std::slice::from_raw_parts(d, length).to_vec();
gl::BindBuffer(gl::SHADER_STORAGE_BUFFER, 0);
}
raw pointers <<<< all
it's also why rust is better, cuz less pointer freedom
same reasons why both are good
Ahhhhhhhh AHHHHHHHHH
Ok bet watch this
A='e'
If A="e" then "e" creates F
Shit
Simple hsguagshaghafsggs idhjshshh soooo simple NO NO IT DONT BE :(
It's a program that checks if the variable is the string "B" and prints the variable. That's as simple as you can get
ahhhhh AHHHHHHHH
Ok so there has to be a "B" for the program to check if the variable to make it a fancy text
Ok 👌 I CAN DO THIS
AMONGUSSY
Bro just use codecademy. Literally. That's where I learned to program and it's pretty helpful. Just do it instead of just trying to figure it out with no guidance
9
Ok?
I choose the hard way I like this adventure
Bro you're spitting out invalid code.
You're not learning you're just typing random shet
Ahhhhhhh
first
You just copied my code... And removed the tab
AHHHHHHHHHHHH
you are using python rn
Can you please tell this dude to calm down
I'm trying to talk to him and he's being a shit
I got this
I am trying but thanks
in python here is how if statements work (I think idk python)
if A == B:
#do something
second
Yes
Why it don't be doing fancy text
you are just spitting random code
Conway's game of life
This is the program I wrote
do triple `
you are very far from that lol
Jk
Ok
learn the absolute basics before that
Wait I NEVER USED THAT
It's what I've been telling him and he's ignoring me
people dont wanna put some time into shit they just wanna know things without effort
Ok the absolute basics ok
I used to be like that
A == B:
why do you keep repeating this
Yeah thats true but still if you want to learn you have to put in the effort and this dude isn't trying to put in any effort at all even though we tell him to try.
That's why
@pulsar phoenix set a goal and then learn what you need to make it. Simple as
google, ask, whatever
cant tell you your own goals
Hack
thats....
I WANT TO HACK
not programming
That's not programming dude
Ok
WELL NM THEN
You're so inconsistent!
its also not usually well explained how to write cheat/hack programs
more of a figure it out yourself
they are very difficult to do also
A game ?
for a lot of it
white hat? maybe
black hat? don't.
black hats are cool
Ok ye bet I want to program a bot
also illegal lmao
everyone has wanted to be a black hat
Very depends
No
discord?
its ilegal but so is me getting drunk and talking to random people on the street at 3 am
Sure
HOLD ON
fun thing to make ai generate those
oh with copilot ?
What's discord.ext important commands
co-pilot is fucking awesome
nah its openai idk if copilot is openai or whichever itis
Dude if you were to listen to us you would be learning right now.
co-pilot is cool if you wanna be very efficient
just an example image, google guides for it
either js or python
but really fucking boring when you wanna do things for fun because it gets rid of the coding part
since those are the biggest discord libs
its like sometimes I feel like people are trying to make coding like writing an essay
basically something as simple as "how to make a discord bot in python"
great for work hahah
which I hate
I wanna make things as difficult as possible for myself
you know
understand the machine better
otherwise Im using tools someone superior to me made
which my ego cant take
Ima use this and ima come back with that fancy text
What what
are you interested in
learning something more...complicated
Im kinda bored rn so Im willing to teach you some things
No I just want to learn something new
ah well
ahhhhhhhh
AHHHHHHHHH
What that be
its like
a programming language
but a more difficult one
for beginners ]
used to make more complicated stuff
Ok
ok so
Conway's game of life
....yes maybe
but thats
very very complicated for you rn
I find that soo fasanting Conway's game
lets start off easier
Ok
we have two numbers
we gotta check if they are equal to 2 (both)
if one of them is
we print "Cool" to the screen
otherwise
we print "sad :("
Wait
how would we go about doing this?
So cool dosent Equal 2 but sad dose
NM
Cool dose equal 2
Will cool always equal 2
Bro I'm so tired sry
Soo when we do equal 2 so like 1+1 "cool"?
Or knowing what I've learned so far it would go
If 1==1: "cool"
Or something like that
Bros writing a whole story I've done something wrong 💀💀💀💀💀
void main(){ //void means a function, dont worry about it for now lets focus on easier things
int A = 3; //int == integer, integers are numbers. 3 is a number but "3" is not a number but a string. A is the name of the var.
int B = 2; //Same thing, different names and value.
if(A == 2){ //We need the normal brackets because inside we put the condition, the double = means that we are checking if A is equal to 2, and what is inside the curly brackets will be executed if the condition is true
cout << "Cool" << endl; //This is how we print to the screen in c++, dont worry about it too much at this point
}else if(B == 2){
cout << "Cool" << endl;
}else{
cout << "sad :(" << endl;
}
}
here
a very basic program
to do the thing
💀💀💀💀💀💀
its 2 am so I may have accidentally messed up somewhere
Simple
but thats the concept
Ok so 3 is a string
Hold on let me read
inside "
but 3
inside nothing
is an int
also
whenever there is // that means thats a comment
basically
you can write whatever you want there
this wont be checked or executed
Ok red it
It's cool because at the end of your program it showed cool
...right answer but not a good reason
But if you were to put A==2 it would have come up sad:(
I was doing good
A=3 no
So as long as one of em is 2 it comes up cool
yes
OHHH and you need A because it's a string
no
But A=3 3 is a string
no
I think you should go to the site they told you about
I dont have the energy to explain rn
Was that my first integer?
I'm I right
Ima go to sleep because this is B = 2; if (A == 2){ // count << "cool << endl; don't get me wrong but I'm tried thank you for going out your way to teach me I won't forget you and idk if I wrote the equation write I was trying to say this was cool but I couldn't find that like special l at the end of << end
Did I write that right
I want to start making mods
How would I begin doing this, what tools would I need to learn to use? Let’s use WorldBox modding as an example
that really depends
first you should know the game engine
if its unity then you can easily do it via bepinex
if its something else you can use code injection
yeah uh different games have different modding
you'd have to be more specific
if you're wanting to mod worldbox #🔧modding-talk probably has you covered, and can reference existing mods and whatnot to make your own
if its another game you'd probably have to look for the specifics to that community
i mean the advice is to like use the community and their resources and if they don't have any go to google and find resources
if you have one in particular we might be able to give tips or guide
you dont have to
i suggest you learn c++ and assembly
then download cheat engine
watch some Guided Hacking on yt he has good tutorials
what you're doing is actually editing the ram to change what the game is doing dw man i have experience on this too lol
i tried doing sfml fromimageload but why it throws an exception file access violating reading location (C++)
Anyone know visual studio C++, wuts the basic directory of visual studio cuz i cant find the folder evemn though i put at same folder with vcxproject and when i try on other place it works
wdym basic directory
visual studio install by default is at C:\Program Files\Microsoft Visual Studio
if you meant the project folder right click at the project's name at the solution explorer then click open in windows explorer if thats what you meant
dont answer unclear questions
your answer will be stupid
just like the question
no, so c++ sfml have folder texture
repos -> games (projectfile here) -> texture and debug folder
i write the path "folder\blablabla.png"
(and it is the right \ key)
but it sas file not found
some say its directory problems
i try it in another place, it works
oh wait
i just wanna remind you
folders in c++ projects in visual studio arent real folders
they're filters looooool
everything is at the same folder
it worked
yeah its a pain
but the problem thankfully is fixed by using the sfml-d lib
instead of playing with directories
Rei
what
Zamn zaddy
Gang
nerd
nerds makes more money than non nerd
Ded chat
if(yourmom)
{
Vector3 location = yourmom.transform.position;
Player.transform.position = yourmom:
}
your mother so fat it she causes stack overflow
i double checked your mom and found out she's full of memory leaks
that's funny
my mother is written in c# so she's not as massive
in production yes, in development no
💀
your mother so fat they invented 64 bit to run her
your mother if probably written in java thats why
its a revolution
very coincidentally
i live in an island
called
java
now look at what your mom did, they're inventing quantum computers now
thanks to my mom
people are achieving greater heights
what did your mom do?
nothing
shit
but hey at least my mom can run on anything, nothing can literally run your mom thats a huge problem
she's just too huge man
Rei
oh god that guy again 💀
dude hates java because he doesn’t know how to use it
that bill “Microsoft” gates guy
fair reason
no im replying to fenasi 💀
every language is bad
eh each has a different purpose
to me c# just doesn’t seem that useful and just seems like an uglier version of java with some c++ inspiration mixed in
but everyone’s entitled to their opinion ig
yeah ig
Java runs natively on android
id choose c++ over it
not necessarily Android
but it’s an interpreted language
Swift and C-Object runs natively on IOS
so you need to have the runtime environment
yeah but you need to manually install Java anywhere else
which unfortunately no consoles have
android comes pre-installed
yeah true
💀
yeah idk why that guy was so against java
people
c++ has inspiration from java and c
eh whar
and c# has inspiration from c++ and java
nah java was made in 1995
and C++ was?
not sure
oh nvm then ig I read it wrong
yeah maybe that’s what I misread
c doesn’t have oop but c++ and java does, so the website was probably referencing that and I misunderstood what it meant
whaaat!?! 😱😱
LOL that’s actually really funny
damn now I want some coffee
rip
rei stop talking to yourself lol
🙄 this guy again, can’t even see what he’s saying but im 99% sure it’s either that he has me blocked or that java sucks
C++ is cool
But I hate how classes work
Every time I use them it feels like im putting extra work into making them work
This is why the only features I use in c++ are namespaces and templates
i think you have too much experience writing procedural code
Yes
Absolutely I have too much
But anyways
I just dont find classes useful
In a language like c++
Its like the language aint designed for em
At what age did you guys start learning abot codery
Scratch doesnt count
i started with html and js
since css isn't my thing
my first ambition was
lua
because roblox
started coding like 6 years ago
Average python developer
https://github.com/virejdasani/pythOwO
lmao stoopid
Im in adrianople
this is awful
this is unholy
It's great wdym
why did someone make this
peak human creation
Im questioning my life after reading it
why do I exist in the same timeline as this
this isnt ok
you exist in the same timeline along much worse things
happy thought of the day
restart the simulation with a new seed
whoever did this
watch it go even worse
what the actual fuck
forget Interpol, we need the kgb
whoever made this needs to be put on trial by the un for crimes against humanity
I want mod
goodluck
could be worse
ive seen worse version
wtf is this and why does it have 188 stars after just 10 hours of publish
reading back through this, this reminds me of the anthropic principle
essentially it states that the universe has to be the way it is, because if it were any different and couldn’t support life, there would be no one there to observe the difference
also another fun fact: the “anthropic” in the name comes from Greek “άνθρωπος” (pronounced anthropos) which means human
so it translates to “the human principle”
i knew unblocking you @solar imp is a bad idea
but idk man i dont wanna turn you into a more sorry state than you are now lmao so ill just let that slip right in
This reminds me
Misanthrope means hatred against humanity
Don't ask me why I know this
But looking at that furry python thing I became a misanthrope
it was posted on r/programmerhumor
im not choosing side on this one
let the furries be what they are
unless they suggested it to you
and you're not a furry lover
WHY CANT I OVERLOAD OPERATORS IN JAVA aaaaaaaaaaaaaaaaaaaa this is so ass i have to write equals(dogshit left, dogshit right) to create my custom equality operator
yes, java dont have it
Hi
yo
oh god so many messages from that c# obsessed dude or whatever 💀
can’t see what he’s saying but I guarantee it’s either about him having me blocked or that java is bad because it’s too hard for him to learn it 😭
god everyone really loves java do they wow man they love it more than html and css
another message, can’t see it but it’s still probably about java
stop pretending dumbass i know you read this lmao anyways brb
bill
im literally gonna lose my mind
to a fuckin
child
like you
you're probably either a grown up
being a child
or an actual child
unfortunately it’s just human nature to dislike what you don’t have understand
damn, what’s he say?
literally all the times
java is shit we know
but your whole fucking life is worse
atleast java plays a part on the internet
unlike your ass
complaining about java being bad
💀💀💀
on the internet
Pywotwon bawd!!! 🤓 🤓 🤓
thats all i want to hear lol
Jawa is shwit wew knwowww 🤓 🤓 🤓 🤓 🤓
and he’s back 🙄
he’s still taking about that 💀
don't care
Awnd hwe is bawk 🤓 🤓 🤓
damn
Down giww a fuwk 🤓
wdym, im too good i just wanna shit at java because its fun to shit at it lol
idk i just have them blocked
we get people like these everyday defending their crap
its really fun to make them mad lol
it’s not worth starting an argument with someone who isn’t able to see any other perspective to a problem
why did everyone in this chat become a troll wtf is going on
not trolling, this bill dude only talks about java being bad and is just generally unlikable in normal conversation
I can mute you for trolling and noone will know I overused my powers
just do it
and whenever you try and debate it with him he gets super immature
exactly
im literally
younger than them
debating with idiots is impossible so just dont try
My man mincraft gates is cool 😠 😠 😠
yeah unfortunately, it just ends up as knee-jerk ad hominem whenever you criticize their point
you aint a part of the convo man just shut up
what's stopping me?
is he still going on about java?
Guys who are you roasting???
nah he just trolling
Bill or someone else???
you know what im about to say
No i dont
Xaclty blue nice to meet you
you too! 👋
😎 🤝 🤓
wait
rei do you really mean this
does everyone really think java is shit
hmMmMMmMMMMmmmm based on the results on stackoverflow survey people really do agree java is shit
is he still on about java?
lmfao
yes however considering c# is just java with a few extra features
I think you know what Im saying
and also pascal case
personally I prefer camel case, looks more elegant
wow i thought im the only one
im not alone after all
alr then maybe its time to stop roasting java lol
yee you aint the only one
someone probably out there as mad as me too
its a bad language man
alr ill stop fr fr poor java now
true, wise words
but you know what language is on top of both c# AND java
rust
what is your opinion on rust @next lotus
looking at rust syntax takes some time to get used to
the keywords are shorter versions of the full word so it’s kinda confusing at first imo
i havent tried rust because i literally have nothing to develop on it, when it has a good ui framework ill try it but i like the community
a ui framework like electron, wpf or react yeah that would be awesome
ye agreed
the first time I tried rust
I was a very young programmer
like 3 months into programming
had to give up on it because I just didnt understand it
yeah kind of the downsides of it
but when you learn it
less intuitive unless you already have programming experience
its syntax literally feels superior to any other syntax
this guy mains rust, i like his content https://www.youtube.com/channel/UC8-P6Y-NKvARUeyQPsfXmKg/videos
Hi I'm a science and education channel that is focused on attracting a gamer audience.
I make computer science and programming memes right now.
I love Rust and despise Java and C++ with a passion. Go is a sworn enemy, but python is cool.
I also plan to be doing tutorial series on many undergraduate math, physics, and comp sci topics and hope t...
excluding assembly
how is assembly superior
because assembly syntax > all
oh no
oh yes
what ide do you code rust in?
this is why you're cursed to forever write procedural code
does it have a custom made one tailored to it like IntelliJ or py charm, or does it have like visual studio using the generic linter
I mean look at this shit
start:
mov [multiboot_header], eax ;This may give a syntax error dont remember how vars worked
ret
its just
superior
chad language
brainfuck is the more chad
ah interesting
os stuff so I depsrately need a terminal at all times
oh right right
are you one of those persons who use vim too
fuck it
kernel in malbolge
I used to
for asm
but not anymore
wow
I main vscode now
nahh bro brainfuck on top
because I dont write as much asm no more
is he still on about java or should I finally look at his messages
nah he is cool now
alr im gonna try rust fr man theres so much hype going around it it compiles to machine code like C and cpp right
we are having an actual convo
alr, took long enough
uhhhm
its kinda
just unblocked him
yes 🤩
wait...is it like uh jit
idk what that is but basically
it compiles into
whatever the fuck you tell it to compile to
neovim is so good fr
lieterally anything is possible
any arch any os
maybe os independand for kernels
with rust?
oh wow that’s crazy
literally superior to C in kernels
I have tried c, c++ and rust in kernels
and the only thing c does better is easier to set up
rust is really hard to set up for this tho
damn that sounds really interesting
wait how does rust compile cross platform? can one source code compile from one os to another?
there are
like C you need to use different headers on windows and linux
two tools rn
alr alr
one is called cross
its like cargo but it compiles to whatever target you specify
the other is xargo
basically the same thing
isn’t cargo a package manager?
both give an executable thats...relatively good
or does it also let you choose what to compile as when it’s cloning
you can tell cargo to run and it will use rustc to compile the things you need to compile like your files and all the packages
and run it
but it cant cross compile
ohh I c
or can but you need to set up a special config.toml file and its anoying as all hell
you ruin the rust installation
os dev is really cool and its kinda a shame noone is doing it
because it doesnt pay alot
its great if you do coding as a hobby
really
really fast
I dont really care about speed so Im not a reliable source but
I know its a very speedy language
its fun too
also
its structs are
literally the best structs I have seen in a language
its kinda like a combination between a structure and a class
I sound like an ad for rust lol
hmm wdym
LOL
"and did you also know that if you download rust your life expectancy will increase by 90 years?!?!/"
Bruh shut the python up
pwython*
struct Foo{
a: u32, //Local var (only accesable to the structure funcs)
pub b: u32 //global, accessable by all
}
impl Foo{ //You can implement functions here like a function for creating a default struct, adding to the struct etc. You can also add traits
pub fn New(a: u32, b: u32) -> Foo{//Code here} //You can use this by calling Foo::New()
}
I havent written rust in a while so there may be mistakes
but this is the concept of it
have you tried generics?
oh that’s cool
by name
I thought u said u didn’t like java 🤨
in c++ generics are called templates
ohhhh
java calls them generics for some reason
those things
ye
we call it generics in c# too
look
for ex. we have



🤓