#⌨coders-cave

1 messages · Page 110 of 1

pulsar phoenix
#

This thing gets it

#

Also that do be a wired lookin dog

next lotus
#

wait i got you

pulsar phoenix
#

Ye

next lotus
#

there you go

distant wraith
#

Of course it's C

#

Of course it's C

next lotus
#

Of course it's C

pulsar phoenix
#

Why won't it let me send gifs

pulsar phoenix
rose pawn
#

Good noggt

#

Coders

#

I mean good night

#

Cosers

lavish zealot
#
A = "B"

if A == 'B':
    print(A)
pulsar phoenix
lavish zealot
#

It's a basic piece of code...

#

It's basic as fuck

pulsar phoenix
#

Teach me the ways

lavish zealot
#

... I'm not really a person that can teach someone...

pulsar phoenix
#

A= "b"

If A='b'
Print(A)

lavish zealot
#

That doesn't work in python3

#

Will give a syntax error

pulsar phoenix
lavish zealot
#

No

pulsar phoenix
lavish zealot
#

Just go to codecademy or some shit

pulsar phoenix
#

That is defo where you went

#

A=b

If A=b

B=delete=A

#

Booom

tidal elbow
#

what

pulsar phoenix
#

Basically created Conway's game of life

tidal elbow
#

🤔

#

i did conway's game of life on compute shaders once

#

was fun, and fast

pulsar phoenix
#

Hold on rq

tidal elbow
#

gowan

pulsar phoenix
#

Ok

#

Just at least tell me how to write it properly

#

Because look

orchid frigate
#

how do you expect

pulsar phoenix
#

A='c'

'c'=A

orchid frigate
#

someone to teach you programming

#

tell me what you expect

#

I can help

pulsar phoenix
#

How to code buttttt apparently that's effort

tidal elbow
#

it is effort

#

there's a reason we get paid so much to do it

orchid frigate
#

eh

orchid frigate
pulsar phoenix
#

But now I just want to know how to write it out correctly

orchid frigate
#

we just get paid because we are very wanted

tidal elbow
#

very true

tidal elbow
orchid frigate
#

the work we do is nowhere near the difficulty of other jobs

tidal elbow
#

try make programs, follow tutorials

tidal elbow
pulsar phoenix
tidal elbow
#

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

pulsar phoenix
#

Lol how much you get paid

#

To be on discord

orchid frigate
#

I do os stuff

tidal elbow
#

im 6 months in my first dev job and i get paid £30800 per annum

orchid frigate
#

I dont have a job but even if what I do is difficult

pulsar phoenix
orchid frigate
#

I wouldnt expect anything more than 50k

#

a year

#

its just not that hard

#

comapared to factory work

tidal elbow
#

i mean compared to physical labour yeah

pulsar phoenix
#

Ok you know what's my dream the thing that got me here

orchid frigate
#

or management

tidal elbow
#

but it isn't the same metric lmao

#

they are difficult jobs

#

but dev isn't exactly easy

pulsar phoenix
#

I want to meet that guy who hacked that kids lap top and then netendo and then Microsoft

orchid frigate
#

you get paid to type colorful words that are the same 50% of the time

#

its like

tidal elbow
#

i feel like you're really underestimating lmao

#

that's not how it is in my job

pulsar phoenix
#

Bro this argument is fun to watch not gonna lie

tidal elbow
#

some dev is like that but i dont have that with my work

pulsar phoenix
#

Ye carry on where's that dude

orchid frigate
#

I agree with him that

#

its not easy

tidal elbow
#

i think

orchid frigate
#

but also Im not sure some jobs are worth 100k a year

tidal elbow
#

dev can be an easy job

#

but it's underestimating it to say it's all a pisstake

pulsar phoenix
#

Bro how do just type it correctly

tidal elbow
#

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

pulsar phoenix
#

A='f'

#

What was wrong with that

orchid frigate
#

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

tidal elbow
#

fair

pulsar phoenix
#

Ok

orchid frigate
tidal elbow
#

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

pulsar phoenix
#

:)

orchid frigate
orchid frigate
#

other than a little unity

tidal elbow
#

fair yeah

#

i mean im still young tbd

pulsar phoenix
orchid frigate
#

only graphics apis and os stuff which aint that searched for nowdays

tidal elbow
#

they upgraded my title from junior react dev to full stack dev and i got a bonus with raise last month lmao

tidal elbow
#

personally i love it

orchid frigate
#

YES

#

RUST

#

OMG

#

its like a blessing

#

from the programming gods

pulsar phoenix
#

Nooooo go back to argueing

tidal elbow
#

ive been using it to work with compute shaders and entity component stuff

orchid frigate
#

its good for everything (almost)

tidal elbow
#

real interesting stuff

tidal elbow
orchid frigate
#

like os stuff? Amazing

pulsar phoenix
#

Booooooooo

orchid frigate
#

compiler is highly custimasiable

tidal elbow
#

even stuff like web servers it does a good job

pulsar phoenix
#

Ima keep tryin

tidal elbow
#

ive used it for queue management with rabbitmq

orchid frigate
#

there are a ton of kernel level crates

#

like a ton

tidal elbow
#

oh neat

orchid frigate
#

and

#

it also does graphics well

tidal elbow
#

that is true

#

almost seamless interaction with opengl

orchid frigate
#

but C still somehow feels superior in kernels tho

orchid frigate
#

like the crate

tidal elbow
#

yeah or uh

#

what's the other

#

wsgl ?

#

ive used wsgl for compute shaders

orchid frigate
#

uhhh idk I used gl mainly

#

also

tidal elbow
#

but i think wsgl is just a light wrapper over gl

orchid frigate
#

volcano is a thing

#

I dont like it

tidal elbow
#

volcano is nice

orchid frigate
#

but it exists

#

its so weird to work in

#

would rather work in gl any day

tidal elbow
#

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

pulsar phoenix
#

A="b"

If A='b'=c

#

God dam it

tidal elbow
orchid frigate
#

but I have done alot of self projects

tidal elbow
#

same

#

self projects are good

#

theyre what got me my job

pulsar phoenix
orchid frigate
orchid frigate
tidal elbow
#

nothing like that

orchid frigate
#

I do this as like

#

a hobby

tidal elbow
#

it was my personal projects lol

orchid frigate
#

I do once a full moon

orchid frigate
#

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

tidal elbow
#

they would be impressed imo

#

that isn't a small feat

orchid frigate
#

nah

#

its like

tidal elbow
#

especially if it's your first job like

#

you overestimate how much they'd expect from you

orchid frigate
#

os development is overhyped in terms of difficulty

#

because yes windows is impossible to replicate

tidal elbow
orchid frigate
#

but linux kernel? 4-5 year job

orchid frigate
#

alot of code I dont understand

tidal elbow
#

but that was alongside the rest of my github profile lol

orchid frigate
#

I dont even know what tsx is

tidal elbow
#

tsx is jsx but typescript

orchid frigate
tidal elbow
#

and jsx is js with html syntax allowed

orchid frigate
#

my abandoned github :)

tidal elbow
#
GitHub

Python bindings for piston2d. Contribute to amcwb/piston2d-python development by creating an account on GitHub.

GitHub

Rust consumer for RabbitMQ that forwards data to webhooks - GitHub - amcwb/rmq-discord-transport: Rust consumer for RabbitMQ that forwards data to webhooks

orchid frigate
#

its like

#

I kinda work alot with

#

barebones

#

like the literal core of the languages

#

so even this I barely understand lol

tidal elbow
#
#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?

orchid frigate
#

ah yes

#

I used to do shaders

tidal elbow
#

niceeee

orchid frigate
#

very basic

#

but I understand the concepts

tidal elbow
#

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

orchid frigate
#

yoooo

#

thats insane

tidal elbow
#

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

orchid frigate
#

pointers in rust are

#

very annoying

tidal elbow
#

cuz you aint menna use em

#

you're supposed to use borrowing

orchid frigate
#

this is why I C feels better for anything using pointers

#

atleast for me

tidal elbow
#

it's also why rust is better, cuz less pointer freedom

#

same reasons why both are good

pulsar phoenix
#

Ok bet watch this

#

A='e'
If A="e" then "e" creates F

#

Shit

pulsar phoenix
lavish zealot
pulsar phoenix
#

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

lavish zealot
#

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

lavish zealot
#

Ok?

pulsar phoenix
#

I choose the hard way I like this adventure

lavish zealot
#

Bro you're spitting out invalid code.

#

You're not learning you're just typing random shet

pulsar phoenix
#

Ok watch this

#

Bet

#

A = "B"
If A == 'B':print(A)

#

FUCK

orchid frigate
#

ok

#

lets start here

pulsar phoenix
#

Ahhhhhhh

orchid frigate
#

first

lavish zealot
#

You just copied my code... And removed the tab

pulsar phoenix
#

AHHHHHHHHHHHH

orchid frigate
#

you are using python rn

lavish zealot
#

I'm trying to talk to him and he's being a shit

orchid frigate
pulsar phoenix
pulsar phoenix
#

Ok next step

#

Fancy text

orchid frigate
#

in python here is how if statements work (I think idk python)

if A == B:
  #do something
#

second

pulsar phoenix
#

If A==B:

#

Why

orchid frigate
#

A and B are variables

#

you define em

lavish zealot
#

Yes

pulsar phoenix
#

if A == B:

#

Fuck

orchid frigate
#

what are you trying to do

#

it doesnt make sense

#

because you dont have a goal

pulsar phoenix
#

Why it don't be doing fancy text

orchid frigate
#

you are just spitting random code

pulsar phoenix
lavish zealot
orchid frigate
orchid frigate
pulsar phoenix
pulsar phoenix
orchid frigate
#

learn the absolute basics before that

pulsar phoenix
lavish zealot
pulsar phoenix
#

ahhhhhh

#

AHHHHHHHH

orchid frigate
pulsar phoenix
#

Ok the absolute basics ok

orchid frigate
#

I used to be like that

pulsar phoenix
#

A == B:

orchid frigate
lavish zealot
orchid frigate
#

ok

#

set a goal for yourself

#

what do you wanna code

orchid frigate
#

a game?

#

a bot?

#

a fucking os?

hollow bronze
#

@pulsar phoenix set a goal and then learn what you need to make it. Simple as

#

google, ask, whatever

pulsar phoenix
#

Ok

#

What should be my goal

orchid frigate
#

then

#

after setting your goal

hollow bronze
#

cant tell you your own goals

orchid frigate
#

see which language is best for it

#

and learn it

pulsar phoenix
#

Hack

orchid frigate
pulsar phoenix
#

I WANT TO HACK

orchid frigate
#

not programming

lavish zealot
orchid frigate
#

Ok

pulsar phoenix
#

WELL NM THEN

lavish zealot
hollow bronze
#

its also not usually well explained how to write cheat/hack programs

#

more of a figure it out yourself

orchid frigate
pulsar phoenix
hollow bronze
#

for a lot of it

tidal elbow
orchid frigate
#

for a good programmer and a bad one

#

require alot of understanding

orchid frigate
pulsar phoenix
#

Ok ye bet I want to program a bot

orchid frigate
#

lets be honest here

#

alright

tidal elbow
orchid frigate
#

everyone has wanted to be a black hat

pulsar phoenix
orchid frigate
#

and everyone secretly knows

#

they are cool

#

they just dont wanna admit it

pulsar phoenix
hollow bronze
orchid frigate
#

its ilegal but so is me getting drunk and talking to random people on the street at 3 am

pulsar phoenix
hollow bronze
pulsar phoenix
#

HOLD ON

hollow bronze
#

fun thing to make ai generate those

tidal elbow
#

oh with copilot ?

pulsar phoenix
tidal elbow
#

co-pilot is fucking awesome

hollow bronze
#

nah its openai idk if copilot is openai or whichever itis

lavish zealot
orchid frigate
#

co-pilot is cool if you wanna be very efficient

hollow bronze
#

either js or python

orchid frigate
#

but really fucking boring when you wanna do things for fun because it gets rid of the coding part

hollow bronze
#

since those are the biggest discord libs

pulsar phoenix
#

if A == "B':

#

OHHH FINE WHATS THAT LEARNING APP

orchid frigate
#

its like sometimes I feel like people are trying to make coding like writing an essay

hollow bronze
#

basically something as simple as "how to make a discord bot in python"

tidal elbow
orchid frigate
#

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

pulsar phoenix
#

Nope

pulsar phoenix
orchid frigate
#

ok wait

#

@pulsar phoenix

#

tell me

pulsar phoenix
#

What what

orchid frigate
#

are you interested in

#

learning something more...complicated

#

Im kinda bored rn so Im willing to teach you some things

pulsar phoenix
#

No I just want to learn something new

orchid frigate
#

ah well

pulsar phoenix
#

AHHHHHHHHH

orchid frigate
#

I was gonna teach you c++

#

or basics of it

pulsar phoenix
#

What that be

orchid frigate
#

its like

#

a programming language

#

but a more difficult one

#

for beginners ]

#

used to make more complicated stuff

pulsar phoenix
#

Ok

orchid frigate
#

ok so

pulsar phoenix
orchid frigate
#

but thats

#

very very complicated for you rn

pulsar phoenix
#

I find that soo fasanting Conway's game

orchid frigate
#

lets start off easier

pulsar phoenix
#

Ok

orchid frigate
#

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 :("

pulsar phoenix
#

Wait

orchid frigate
#

how would we go about doing this?

pulsar phoenix
#

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 💀💀💀💀💀

orchid frigate
#
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

pulsar phoenix
#

💀💀💀💀💀💀

orchid frigate
#

its 2 am so I may have accidentally messed up somewhere

pulsar phoenix
orchid frigate
#

but thats the concept

pulsar phoenix
#

Ok so 3 is a string

orchid frigate
#

so according this program

#

what will be the output

#

sad :( or cool

orchid frigate
#

"3" is a string

pulsar phoenix
#

Hold on let me read

orchid frigate
#

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

pulsar phoenix
#

Ok red it

pulsar phoenix
orchid frigate
#

...right answer but not a good reason

pulsar phoenix
#

Monkey develop time

#

Let's go baby

orchid frigate
#

it prints cool because

#

B == 2

#

and it checks for that

pulsar phoenix
#

But if you were to put A==2 it would have come up sad:(

orchid frigate
#

no

#

what

pulsar phoenix
#

I was doing good

orchid frigate
#

how did you get that

#

no

pulsar phoenix
#

A=3 no

orchid frigate
#

yes

#

but

#

B is 2

#

it checks both

#

with else if

pulsar phoenix
#

So as long as one of em is 2 it comes up cool

orchid frigate
#

yes

pulsar phoenix
#

OHHH and you need A because it's a string

orchid frigate
#

no

pulsar phoenix
#

But A=3 3 is a string

orchid frigate
#

no

pulsar phoenix
#

Do you not need a string

#

OHHH

#

Wait

#

Wait

orchid frigate
#

I think you should go to the site they told you about

#

I dont have the energy to explain rn

pulsar phoenix
#

A==3 is a integer but 3 alone is a string

#

A = 3; //int == integer

pulsar phoenix
pulsar phoenix
#

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

glad lantern
#

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

next lotus
#

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

hollow bronze
#

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

next lotus
#

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

wild saffron
#

i tried doing sfml fromimageload but why it throws an exception file access violating reading location (C++)

outer remnant
#

Alright if you guys are coders

#

What the hell fies

#

010010101010011011000

#

Mean

rose pawn
#

Goodmorning

#

Rodera

wild saffron
#

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

next lotus
#

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

barren shale
#

your answer will be stupid

#

just like the question

next lotus
#

wise words

#

alright

wild saffron
#

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

next lotus
#

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

wild saffron
#

it worked

wild saffron
#

but the problem thankfully is fixed by using the sfml-d lib

#

instead of playing with directories

rose pawn
#

Rei

main brook
true venture
#

Hello guys

#

#CODERS CAVE

acoustic sandal
#

Zamn zaddy

late walrus
#

Gang

civic phoenix
#

nerd

main brook
#

nerds makes more money than non nerd

timid field
#

Ded chat

#
if(yourmom)
{
    Vector3 location = yourmom.transform.position;
    Player.transform.position = yourmom:
}
main brook
#

my mom position is the world origin

#

0,0,0

next lotus
#

your mother so fat it she causes stack overflow

main brook
#

atleast my mom utilizes all of the available resources

#

unlike yours

next lotus
#

i double checked your mom and found out she's full of memory leaks

main brook
#

that's funny

next lotus
#

my mother is written in c# so she's not as massive

main brook
#

your mom is leaking when i showed her my huge, thick, and throbbing

#

source code

main brook
#

💀

next lotus
#

your mother so fat they invented 64 bit to run her

#

your mother if probably written in java thats why

main brook
#

its a revolution

main brook
#

i live in an island

#

called

#

java

next lotus
#

now look at what your mom did, they're inventing quantum computers now

main brook
#

thanks to my mom

#

people are achieving greater heights

#

what did your mom do?

#

nothing

next lotus
#

shit

main brook
#

other than giving birth to an C# advocator

#

how the turntables

next lotus
#

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

main brook
#

which motivates people to make better hardware

#

and optimized software

#

👍

rose pawn
#

Rei

solar imp
main brook
#

what

solar imp
#

dude hates java because he doesn’t know how to use it

solar imp
main brook
#

fair reason

main brook
solar imp
#

oh

#

imo c# is such an ugly language

#

that doesn’t mean it’s bad tho it’s just meh

main brook
#

every language is bad

solar imp
#

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

main brook
#

C# is multipurpose

#

but also

#

cross platform

#

but like that's the weakness

solar imp
#

yeah ig

main brook
#

Java runs natively on android

solar imp
#

id choose c++ over it

solar imp
#

but it’s an interpreted language

main brook
#

Swift and C-Object runs natively on IOS

solar imp
#

so you need to have the runtime environment

main brook
solar imp
#

which unfortunately no consoles have

main brook
#

android comes pre-installed

main brook
#

💀

solar imp
#

yeah idk why that guy was so against java

main brook
#

people

solar imp
#

c++ has inspiration from java and c

main brook
#

eh whar

solar imp
#

and c# has inspiration from c++ and java

main brook
#

Java came later than C++ doesn't it

#

💀

solar imp
#

nah java was made in 1995

main brook
#

and C++ was?

solar imp
#

not sure

main brook
#

literally 1985

#

💀

solar imp
#

oh nvm then ig I read it wrong

main brook
#

yes

#

C++ is the object based i guess?

#

since C only have structs

solar imp
#

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

main brook
#

👍

#

fun fact

#

JavaScript is actually inspired from Java

solar imp
#

whaaat!?! 😱😱

main brook
#

and Microsoft had to change it to JScript

#

because

#

copyright issue

solar imp
#

LOL that’s actually really funny

main brook
#

yes

#

it was also called

#

"MochaScript"

#

or something

solar imp
#

damn now I want some coffee

main brook
#

you should

#

its 11pm for me rn and i can't

#

i already can't sleep

solar imp
#

rip

next lotus
#

rei stop talking to yourself lol

solar imp
#

🙄 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

orchid frigate
#

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

next lotus
#

i think you have too much experience writing procedural code

main brook
#

exactly

#

haydor

#

nice pfp

#

you look more chad than ever

orchid frigate
#

Absolutely I have too much

orchid frigate
#

This is my final? Form

#

(?)

orchid frigate
#

But anyways

#

I just dont find classes useful

#

In a language like c++

#

Its like the language aint designed for em

main brook
#

literally C++ highlights classes

orchid frigate
#

What I dont understand is

#

Why use them

#

Whats their purpose

main brook
#

uh literally

#

simplicity

#

you don't want a mapping and then mutate using function

rose pawn
#

At what age did you guys start learning abot codery

main brook
#

12

#

because i got bored at home

#

quarantine

rose pawn
#

Scratch doesnt count

main brook
#

but i actually started wayyy back

#

10

main brook
#

since css isn't my thing

#

my first ambition was

#

lua

#

because roblox

solar imp
#

started coding like 6 years ago

main brook
#

nice

#

longer than me

orchid frigate
#

13

#

with unity

#

had a little bit of a hard time with c# for like a month

hoary hound
barren shale
rose pawn
#

Im in adrianople

orchid frigate
#

this is unholy

hoary hound
#

It's great wdym

orchid frigate
#

why did someone make this

hoary hound
#

peak human creation

orchid frigate
#

Im questioning my life after reading it

#

why do I exist in the same timeline as this

#

this isnt ok

hoary hound
#

you exist in the same timeline along much worse things
happy thought of the day

orchid frigate
#

no

#

this

#

this is the worst

#

it doesnt get worse than this

hoary hound
#

it can get worse

#

I should make it worse

orchid frigate
#

no

#

stop

hoary hound
#

imagine if every time you use print your log is owoified

#

that would be very fun

orchid frigate
#

...

#

I

#

Im outa words

#

this is unholy

hoary hound
#

Every moment in history has led to the creation of this

#

think about it

orchid frigate
#

evolution was wrong for creating this

#

we need to go back

hoary hound
#

restart the simulation with a new seed

orchid frigate
#

whoever did this

hoary hound
#

watch it go even worse

orchid frigate
#

needs to be chased by INTERPOL

#

this is a global threat to society

solar imp
solar imp
#

whoever made this needs to be put on trial by the un for crimes against humanity

late walrus
#

I want mod

main brook
#

goodluck

main brook
#

ive seen worse version

next lotus
hasty bane
#

furry invasion

#

and to the wtf question...

#

its a crime

#

against humanity

solar imp
#

controversial correct opinion: c# should be renamed to java - -

#

java minus minus

solar imp
#

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”

next lotus
#

i knew unblocking you @solar imp is a bad idea

next lotus
orchid frigate
#

Misanthrope means hatred against humanity

#

Don't ask me why I know this

#

But looking at that furry python thing I became a misanthrope

wild saffron
#

how to make collision in sfml

#

what do i check ?

#

intersects ?

hoary hound
main brook
#

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

hoary hound
#

it's just shitposting

#

nothing more than that lol

next lotus
#

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

wild saffron
#

yes, java dont have it

next lotus
#

thats why everyone hates it

#

wanna see something epic

bleak raptor
#

Hi

next lotus
#

yo

solar imp
#

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 😭

next lotus
solar imp
#

another message, can’t see it but it’s still probably about java

next lotus
#

stop pretending dumbass i know you read this lmao anyways brb

main brook
#

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

solar imp
#

unfortunately it’s just human nature to dislike what you don’t have understand

main brook
#

it's the annoyance

#

never once or twice

solar imp
#

damn, what’s he say?

main brook
#

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

solar imp
#

💀💀💀

main brook
#

on the internet

rose pawn
#

Python best

#

Becas its the only one you ca make web scraping with wbsmirk wbsmirk wbsmirk wbsmirk wbsmirk wbbre

solar imp
#

pwython

rose pawn
#

Pywotwon bawd!!! 🤓 🤓 🤓

next lotus
rose pawn
#

Jawa is shwit wew knwowww 🤓 🤓 🤓 🤓 🤓

solar imp
#

and he’s back 🙄

solar imp
main brook
#

don't care

rose pawn
#

Awnd hwe is bawk 🤓 🤓 🤓

main brook
#

don't give a fuck

#

let them be

solar imp
#

damn

rose pawn
#

Down giww a fuwk 🤓

next lotus
solar imp
#

idk i just have them blocked

rose pawn
#

Haha

#

Why

next lotus
#

we get people like these everyday defending their crap

#

its really fun to make them mad lol

solar imp
#

it’s not worth starting an argument with someone who isn’t able to see any other perspective to a problem

orchid frigate
#

why did everyone in this chat become a troll wtf is going on

rose pawn
#

Whwy diwd ewevroty in this chawt become twoll 🤓 🤓 🤓 🤓

#

🤓 🤓 🤓 🤓 🤓 🤓 🤓 🤓 🤓 🤓 🤓 🤓 godfinger2 🤓 godfinger2 🤓 godfinger2 godfinger2 godfinger2 🤓 🤓

solar imp
orchid frigate
main brook
#

just do it

solar imp
#

and whenever you try and debate it with him he gets super immature

main brook
#

im literally

#

younger than them

rose pawn
#

Whoo

#

Bill?

orchid frigate
#

debating with idiots is impossible so just dont try

next lotus
#

that sounds like someone who cant win over an idiot

#

who's more idiot?

rose pawn
#

My man mincraft gates is cool 😠 😠 😠

solar imp
orchid frigate
next lotus
solar imp
#

is he still going on about java?

rose pawn
#

Guys who are you roasting???

orchid frigate
rose pawn
#

Bill or someone else???

solar imp
#

not unexpected tbh

rose pawn
#

Abyway

#

Rei hows it gonnd

#

Bill hows ot going

next lotus
#

you know what im about to say

rose pawn
#

No i dont

rose pawn
solar imp
rose pawn
#

😎 🤝 🤓

next lotus
#

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

solar imp
#

is he still on about java?

orchid frigate
#

its kinda funny tho

solar imp
orchid frigate
#

I think you know what Im saying

solar imp
#

personally I prefer camel case, looks more elegant

next lotus
#

wow i thought im the only one

#

im not alone after all

#

alr then maybe its time to stop roasting java lol

orchid frigate
#

yee you aint the only one

next lotus
#

someone probably out there as mad as me too

orchid frigate
#

its a bad language man

next lotus
#

alr ill stop fr fr poor java now

orchid frigate
#

but c# oh boy it floats in the same boat I mean

#

basically same tier tbh

next lotus
#

but hey its not as messy as js

#

its a little type safer

solar imp
orchid frigate
#

but you know what language is on top of both c# AND java

#

rust

#

what is your opinion on rust @next lotus

solar imp
#

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

next lotus
#

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

orchid frigate
#

ye agreed

orchid frigate
#

I was a very young programmer

#

like 3 months into programming

#

had to give up on it because I just didnt understand it

solar imp
#

yeah kind of the downsides of it

orchid frigate
#

but when you learn it

solar imp
#

less intuitive unless you already have programming experience

orchid frigate
#

its syntax literally feels superior to any other syntax

next lotus
#
orchid frigate
#

excluding assembly

next lotus
orchid frigate
#

because assembly syntax > all

next lotus
#

oh no

orchid frigate
#

oh yes

solar imp
#

what ide do you code rust in?

next lotus
#

this is why you're cursed to forever write procedural code

solar imp
#

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

orchid frigate
#

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

orchid frigate
#

but

solar imp
orchid frigate
#

only because of the integrated terminal

#

because I do alot of

solar imp
orchid frigate
#

os stuff so I depsrately need a terminal at all times

solar imp
#

oh right right

next lotus
#

are you one of those persons who use vim too

orchid frigate
orchid frigate
#

for asm

#

but not anymore

next lotus
#

wow

orchid frigate
#

I main vscode now

solar imp
orchid frigate
#

because I dont write as much asm no more

solar imp
#

is he still on about java or should I finally look at his messages

orchid frigate
next lotus
#

alr im gonna try rust fr man theres so much hype going around it it compiles to machine code like C and cpp right

orchid frigate
#

we are having an actual convo

solar imp
solar imp
#

just unblocked him

orchid frigate
#

complicated but yes

#

kinda

solar imp
next lotus
#

wait...is it like uh jit

orchid frigate
#

idk what that is but basically

#

it compiles into

#

whatever the fuck you tell it to compile to

solar imp
#

neovim is so good fr

orchid frigate
#

lieterally anything is possible

#

any arch any os

#

maybe os independand for kernels

solar imp
#

with rust?

orchid frigate
#

ye

#

rust is like

solar imp
#

oh wow that’s crazy

orchid frigate
#

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

solar imp
#

damn that sounds really interesting

next lotus
#

wait how does rust compile cross platform? can one source code compile from one os to another?

next lotus
#

like C you need to use different headers on windows and linux

orchid frigate
#

two tools rn

next lotus
#

alr alr

orchid frigate
#

one is called cross

#

its like cargo but it compiles to whatever target you specify

#

the other is xargo

#

basically the same thing

solar imp
#

isn’t cargo a package manager?

orchid frigate
#

both give an executable thats...relatively good

solar imp
#

or does it also let you choose what to compile as when it’s cloning

orchid frigate
#

and run it

#

but it cant cross compile

solar imp
#

ohh I c

orchid frigate
#

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

solar imp
#

yeah

#

how does rust perform in terms of speed?

orchid frigate
#

really

#

really fast

#

I dont really care about speed so Im not a reliable source but

#

I know its a very speedy language

solar imp
#

interesting

#

seems really useful, think I’m gonna learn it

orchid frigate
#

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

solar imp
orchid frigate
#

"and did you also know that if you download rust your life expectancy will increase by 90 years?!?!/"

orchid frigate
#

lemme show you an example

rose pawn
#

Bruh shut the python up

solar imp
orchid frigate
#
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

next lotus
#

have you tried generics?

orchid frigate
#

maybe not

#

show me an example idk what they are

orchid frigate
#

by name

solar imp
#

in c++ generics are called templates

orchid frigate
#

ohhhh

solar imp
#

java calls them generics for some reason

orchid frigate
#

those things

solar imp
next lotus
#

look

#

for ex. we have