#⌨coders-cave

1 messages · Page 65 of 1

barren shale
#

see

#

your school

#

understands

#

whats better for you

#

that's why schools in finland are good

#

cuz they know whats good

#

in college theyll teach us ew++ first

wet girder
#

I would've liked c++ lol

rose lodge
#

Hey

wet girder
#

Heya

#

I finally learned what % actually does lmao

#

I never bothered to learn

#

but now I learned

barren shale
#

wtf

#

its so useful

#

i used it here

#

saves a lot of time

main brook
#

its like / but for remainder

barren shale
#

its the remainder of the division

#

x + y % 2 == 0 makes a checkerboard pattern

#

Rei

#

is

#

Nub

#

Rei is aye

orchid frigate
#

oh god loading textures in opnegl inst fun at all wbtiphat

#

alot of reading will need to be made to understand the process

main brook
#
def modulus(num, num1):
    previous = 0
    while True:
        previous = num
        num -=  num1
        if num < 0:
            return previous
        elif num == 0:
            val = 0
            if isinstance(num, float):
                val = 0.0
            return val
            
a = 4
b = 10
print(modulus(a, b), a % b)
orchid frigate
#

yep textures are pain

#

173 compile time errors

wet girder
#

lol

#

that's a lot

#

I'm just in class learning about arithmetic operators

#

it's boring af

main brook
#

yeah

#

its very boring

#
1 + 1
1 - 1
1 * 1
1 / 1
1 // 1
1 % 1
1**1
orchid frigate
#

2 of these I don't know

#

The // and **

clever otter
#

function saysworld(sw){ if (sw = helloworld){ return "helloworld" } return "undefined, you failed, you did not copy and paste the whole code" } console.log(saysworld(helloworld))

  1. should work tho
  2. copy and paste whole thingy in whatever code editor
  3. open console.log
  4. delete it
  5. done
barren shale
#

first divide the numbers

#

and check if you get a natural number or not

#

cuz if you get a natural number you just return 0

main brook
#

sure

clever otter
#

what error shows

main brook
barren shale
knotty root
orchid frigate
# barren shale sw = helloworld isnt a thing

The function requeres the argument sw which Doesn't have a data type therefore it won't work and will probably give an error if it's not In some language that doesn't require datatypes in arguments. Second of all, the function is not a string. There are many other mistakes but I won't count em all, but basically use more datatypes

#

and thats how you asnwer questions hamza

orchid frigate
#

Yooo I got a crate

#

I also got 0fps on it

#

The window is actually broken

barren shale
#

you dont need a data type

#

the problem is sw = helloworld

#

helloworld does not exist therefore it gives an error

tropic dagger
#

So make it exist.

barren shale
#

it wont give an error

#

but the code wont work

#

cuz it should be sw == helloworld

tropic dagger
#

Or put quotes.

#

And fix the operators.

barren shale
#

and ur mum

tropic dagger
#

Which one?

barren shale
#

both

tropic dagger
#

Both of who?

#

I have three.

barren shale
#

all of them

tropic dagger
#

You've lost the chance.

barren shale
#

ur mum

orchid frigate
#

How

#

How*

#

I hate JavaScript now

barren shale
#

its like python

#

you just name the variable

#

no datatypes

#

it doesnt even have classes

#

just prototypes

knotty root
#

look i found another code

#

typ moder and the game will be ready in three sec

orchid frigate
barren shale
orchid frigate
#

Ю

#

And

#

Я

knotty root
#

if (userinfo. cookies.agreed) { google

main brook
knotty root
orchid frigate
#

If statements

#

And else statements

main brook
#

woah what the fuck

#

who would've known

#

uvloop on python can run far better than Golang

barren shale
#

when ur mum is so fat

#

that she runs slower than golang

main brook
#

hamza stop with the my mum is so fat

#

i already know my mom is fat

barren shale
#

okeh happy

#

anything for u

#

when ur mum is so fat id do anything for u

main brook
#

then step on me

barren shale
#

Wait what

woven snow
#

What

knotty root
tropic dagger
#

if (!help) {

orchid frigate
knotty root
#

moder

bold rover
#

Hey @lapis flint Sorry for the ping but does this considered Emoji Spamming?

lapis flint
#

@woven bay do not flood

wooden depot
wooden depot
main brook
#

!help is an invalid variable name

split parrotBOT
#

XMARK6 Error: Nothing found

main brook
bold rover
#

Pain maximnormal

orchid frigate
#
int help;
char infoLog[512];
Glgetshaderiv(vertex_shader, GL_COMPILE_STATUS, &help);
if(!help){
     glgetshaderinfolog(vertex_shader, 512, NULL, infoLog);
     cout << infoLog << endl;
}
main brook
#

we can have

#

that variable name

#

by using the globals

#
globals()["!help"] = "hamza mom"
#

now it'll be a global variable

orchid frigate
#

Python?

#

But wait what if you had to do this

#

if(!help)

#

Would it be if(!!help)

main brook
#

no

#

you can't even use !help

#

also its not

#
if not help:
    ...
orchid frigate
#

Wordy

#

Too wordy smh at python

main brook
#

its english

#

v2

orchid frigate
#

Also doesnt !help check if the value of the int

#

Like if its not 0 then !help will be true

#

Or the other way around idr

main brook
#

yes

orchid frigate
#

Learning that when i was learning c++ was ao complicated to me because i was like "how can you check if an int is true wtf"

main brook
#

basically

#
if(val > 0) {

};
#

positive value

orchid frigate
#

Because that means my shader compiles ok

main brook
barren shale
#

yo

#

mama

#

thin

main brook
#

okay that's a no no

#

you crossed the borderline

barren shale
#

oh my bad

#

i meant thicc

main brook
#

yes my mom is thicc

#

when i was a kid i used to sleep on her lap

orchid frigate
#

When i was a kid i invendted Stupidity

#

So yea im the one you can thank for this invention

orchid frigate
#

Invented

#

But you lnow what ima make you look funny with that reply

barren shale
#

Ima make your mum look fat

#

Tomorrow is the day

#

HEngine will be back in business

main brook
#

Hamza Edgy

tropic dagger
tropic dagger
#
if (!help)
{
    if (!helper.getHelp())
        std::cout << "No help for you.";
    else
        std::cout << "They had us in the first half, not gonna lie";
}
barren shale
#

hamza best

#

maybe a bit edgy

#

but not as edgy as rei

ivory ibex
#

Can you add horses for transportation

barren shale
#

its not the place to ask

orchid frigate
#

@barren shale add horses for transportation

ivory ibex
#

Add horses for transportation

barren shale
#

sadly

#

i cant

#

im just a translator

orchid frigate
#

just reading about matrices and im realising that they are just multi-dimensional arrays

#

they do have some interesting multiplication tho, pretty hard to figure out

barren shale
#

matrices are 2d arrays

orchid frigate
#

oh god this map is so complicated

#

math

barren shale
#

if u want help with matrices i can help

tropic dagger
#

e

orchid frigate
#

it looks weird in code\

tropic dagger
#

It kinda does.

#

\

orchid frigate
#

\

tropic dagger
#

\

orchid frigate
tropic dagger
#

Oof

barren shale
#

not really that complicated

#

u just dum dum

orchid frigate
#

they arent but

#

they look really weird to work with in code

#

which is sadly what must be done

barren shale
#

nah they dont

tropic dagger
#

OpenGL big annoying to work with in general.

barren shale
#

||have to disagree||

orchid frigate
#

afterwords its awesome

tropic dagger
#

Yeah.

#

But beginning openGL versus beginning win32.

barren shale
#

haydot

orchid frigate
#

should my window be working in 0-10 fps tho?

barren shale
#

took you like 2 weeks to get a rectangle

#

and then u got an empty window on 1 fps

orchid frigate
#

look i figuered out shaders

#

and ebos

#

and now i will figure out math

barren shale
#

after 1 year

tropic dagger
orchid frigate
#

afterwords its lightning...oh god..

#

advanced lightning...

orchid frigate
tropic dagger
#

It's 2

orchid frigate
#

2.14

tropic dagger
#

2.14159265

orchid frigate
#

69.14

tropic dagger
#

02496

orchid frigate
#

glgetshaderlol

tropic dagger
orchid frigate
#

.

tropic dagger
#

Oh hold up.

#

What happens if you put a null character in the beginning of a string?

orchid frigate
#

uhhhh lemme check

tropic dagger
#

It terminates it right there.

#

At least with char*.

orchid frigate
#

idk but my renderer class is the hardest shit to read

tropic dagger
#

Bet.

orchid frigate
#

i will make a paste bin if you wanna check it out

tropic dagger
#

I've done working GL code for an hour but I'm bored.

#

So I'm gonna challenge myself.

orchid frigate
#

trying to read this hurts my eyes and brain

#

and i will be adding math to it

tropic dagger
#

Oof

#

Math nice but annoying.

orchid frigate
#

also i know the paths shouldnt be my paths for exportation but shhh

tropic dagger
#

It's fine.

orchid frigate
#

if it ever goes on another computer it will throw enough errors to crash the os xzibit

tropic dagger
#

I don't really judge other people's code unless they mess up python with anything but indentation.

#

And they're not new.

orchid frigate
#

reminds me of one meme

#

in which a guy runs his code and gets his an bsod

#

idk how but the madlad did it

tropic dagger
#

;

orchid frigate
#

this is the compiler when no ;

tropic dagger
#

Compiler when { but no }

#

LISP when no ()

orchid frigate
#

me when compile-time errors that have more zeros then words

tropic dagger
#

BCMP when exist

orchid frigate
#

but atleast i always know that its something wrong with my opengl code, because it only throws them when opengl complains

tropic dagger
#

Exactly.

orchid frigate
#

and it does that alot

tropic dagger
#

OpenGL throws errors for correct syntax.

orchid frigate
#

opengl when no glfwInit()

tropic dagger
#

Useless.

#

Just view.

#

Win32 has way too many macros.

orchid frigate
#

i hate macros

#

i was learning macros when i was using rust

tropic dagger
#

So does GLAD.

orchid frigate
#

i hate them with a passion

#

'rust is great but

#

really complicated and the fact that most vars are local makes it hard to use

#

i feel like if i got a penny for every time i thought "why does textured rectangle window keep crashing" i would have a dollar. Doesnt sound like must but the fact it happened 100 times is weird

main brook
barren shale
#

HEngine is back in business boys

#

10x times better than whatever haydot is doing

orchid frigate
#

i feel like my brain is melting from all the math i just read

main brook
#

im gonna migrate my shits to react

#

better frontend here i go

wet girder
#

I know some react

#

I just don't like it

main brook
#

i use it

#

only for the

#

state hook

#

better than handling the input output yourself

#

but i still use jinja for server rendering

#

more performance

#

and seo friendly

wet girder
#

I had to do this piece of code and 9 pretty similar to this today in school (variable names and prints are in finnish because school made me do them in finnish)

using System;  
 
class HelloWorld {  
  static void Main() {  
        Console.Write("Kuinka monta bittiä koneessasi on? "); 
        int bitMaara = Convert.ToInt32(Console.ReadLine()); 
         
        int vastaus = 2; 
        for (int i = 1; i < bitMaara; i++) { 
            vastaus = vastaus * 2; 
            Console.WriteLine(vastaus); 
        } 
         
        Console.WriteLine(vastaus); 
    }  
} ```
#

I gotta say that it was not the most fun I've had with coding

#

I have 3 word documents of code. I don't like storing code in word documents

#

it's shit

orchid frigate
#

Word beat ide wdym

#

You can color your code however you like

#

You can use different fonts

#

Its amazin

#

I use it every day

wet girder
#

lol

#

we used some random online compiler because we had to use some random math class pcs

orchid frigate
#

in my old school we had vs code on the pcs so i was pretty happy in it class

wet girder
#

we don't have vs code

#

we only have visual studio

#

but I like to use it more for C type languages anyway

orchid frigate
#

visual studio better for C

wet girder
#

ye and we use C#

orchid frigate
#

nice, are you gonna start learning cpp at some point?

wet girder
#

I'd like to know that too ¯_(ツ)_/¯

orchid frigate
#

if yes i will be pretty jealous

knotty root
#

Coders cave gives off Pablo's pub vibes

main brook
barren shale
#

Only jdk left to install

#

then HEngine shall commence

wet girder
#

but what even is C# good at maximevilthink

#

I've been thinking about this the whole day and I just don't know

#

idk why I haven't googled

#

Windows app development, web development and game development

#

intresting

#

The last one is what I expected and think C# is good for but why not use JS for web development and C++ for app development

#

you can even make apps work on Unix based operating system

barren shale
#

.NET core works on linux

wet girder
#

but I don't know lots of peiple who make apps for linux

barren shale
#

it only has support for console applications

#

but im pretty sure there are some third party packages who will allow you to make an app with a gui

#

😳 @orchid frigate

orchid frigate
#

😳

orchid frigate
#

jesus christ what have i done

#

this was not supposed to happen i just want to clarify

#

by creating this i have probably commited several warcrimes

#

there is no memory leak what you talking about

#

it got to 4gb at some point

knotty root
#

ugly

barren shale
main brook
#

@barren shale

#

but putin agrees

#

that C#

#

is as good as any language

orchid frigate
#

Look im aure that

#

The memory leak isnt that bad

#

So no need to panic hamza

barren shale
barren shale
main brook
barren shale
#

Putin isnt enough

#

Sometimes you need Obama

wary orchid
#

mium

orchid frigate
#

opengl

main brook
wet girder
#

@main brook do not make gay jokes

bold rover
#

Hm?

main brook
#

i wasn't but okie

bold rover
#

That's strange I didn't Noticed anything

knotty root
#

how hard would it be to code self learning ai via reinforcement learning to citizens in worldbox

main brook
main brook
#

it'll take a year

#

unless you're a prodigy

knotty root
#

not own machine learning

main brook
#

great

knotty root
#

from someone elses open sorucef work

main brook
#

ah

#

you mean

#

forking?

bold rover
knotty root
#

yea find some framework

bold rover
main brook
#

best machine learning:

name = input("please insert your name ")
print("hello, "+name+"!")
knotty root
#

deep learning

main brook
bold rover
#

Probably ask someone that has codex access to help you/Seriously

#

No one haven't tried the capabilities of Codex on coding Machine Learning Agents

knotty root
#

i want to deeplearn the citizen ai on some simple points

bold rover
#

Ow

knotty root
#

and the ai have the base background

bold rover
#

Like what?

knotty root
#

punishments and reward systems based on damage and other stuff

bold rover
#

Ow that stuff,It would probably be possible to be honest

knotty root
#

endless possibilities alot of tweaking though

bold rover
#

I always Love thinking About AI agents in Worldbox because The system is there and it's possible

knotty root
#

damage hunger and kingdom being taken over = punishments

#

killing enemy having kids (up to 3) being full being rich alot of other stuff conquering = reward

#

imagine the new military strategies the ai comes up with

bold rover
#

Aha... probably work on more Simpler Reward and punishment system
Reward=
• If the Agent keep it self alive
• Don't stand in single place
Etc.
Punishment=
• If Agent Doesn't keep it self alive
• if it doesn't move and stay in a single place
etc.

#

Build the model upon that and continue adding things

#

Also While The Sonic speed button is a thing in Worldbox you can probably do this farely quickly

knotty root
#

this should be implemented the real game lmao

#

if the agent doesnt do task it gets punished

bold rover
#

Yeah something like that

#

Like keeping it self alive

knotty root
#

yes

#

aka hunger

bold rover
#

Yup

knotty root
#

if people are gluttony they require to eat more

#

giving actual character traits meaning other than charisma

#

and diplomats rewards are being kings

#

while military leader rewards are conquering

bold rover
#

Probably should work on a more simpler agent than other future plans

#

Just make it self alive

#

Build a House

#

Populate

#

And repeat

knotty root
#

populate needs to belimited

bold rover
#

Yup, Resources are limited

knotty root
#

hmm

#

this is getting more and more advanced each second

#

if they are unhappy they want more resources

#

so they mine more

bold rover
#

Yup, It's Machine Learning

#

Also Been thinking about this a long time and you need to change a whole lot of things in the game

knotty root
#

i see by ur pfp

#

u know a thing or two

bold rover
#

If you want a Realistic simulation you probably want to remove things like Immortal and etc.

knotty root
#

if someone is immortal

#

how long will it take for them to max out everything

#

for knowledge wise

#

60k maybe

#

if they arent killed

bold rover
# knotty root u know a thing or two

Not Really,Been Watching people From a far and learning 1 and 2 things, Love what I can give people and point them to resources I know It can be useful

#

Nonetheless

#

Goodluck with the worldbox agent

knotty root
#

thanks

bold rover
#

Like this guy

#

The person looks more in the in-depth behavior of models but you can probably get inspiration

#

Honestly If you did created a fully fledge Worldbox Agent you definitely need to write a paper on this, Because this is some Deepmind and OpenAI type agents

main brook
#

||```py
print("never gonna give you up")
print("never gonna let you down")
print("never gonna run around and desert you")
print("never gonna make you cry")
print("never gonna say goodbye")

best code in 2021 ![kannapog](https://cdn.discordapp.com/emojis/782571802902659083.webp?size=128 "kannapog")
main brook
#

i know

#

but hey

#

its buffered

#

so not flushed everytime i print

barren shale
#

still

#

never gonna is there 5 times

#

could be made as a variable

#

saves 20 bytes of memory

#

or wait

main brook
barren shale
#

more

barren shale
#

saves 5*11 bytes of memory

#

55 bytes

main brook
#

you fool

#

5*11 is 511

barren shale
main brook
#

wait no

#

5*11 is

#

55555555555

knotty root
#

a language system (trading diplomacy communication system) would be so advanced

#

in a system where one side wants something one doesnt

#

aka deep learning

bold rover
#

Yup

knotty root
#

trading would need to be revamped

#

instead of randomized like it is now

main brook
#

so

#

trading on crack?

bold rover
#

You would need to code a whole new system

knotty root
#

i see

#

but

#

i can also think of ways

#

to navigate throufh

#

somehow

bold rover
#

You can't copy paste someone code in the internet

knotty root
#

yea

#

ur right

#

but i can take inspiration

bold rover
#

I mean there's no code available publicly

knotty root
#

ya

bold rover
#

Most system like that are like in civilization games

orchid frigate
bold rover
#

Would be pretty neat

knotty root
#

im just trying to figure out the basis of the system

#

and loops and things i might encounter

bold rover
#

But probably work on More simpler Agent's

#

Then building things up there

orchid frigate
#

i wish i could actually work on a game but i need to figure out most of opengl first

#

😔

#

i mean i could probable start now but...

#

no lightning, basic shaders

#

broken cam

#

and huge memory leaks

bold rover
#

UE5?

orchid frigate
#

working on a game engine

bold rover
#

Ow

knotty root
#

ur own engine?

orchid frigate
#

ye

bold rover
#

Goodluck

knotty root
#

interesting

orchid frigate
#

i mean actually creating a game wont be much more difficult then creating a game on a public engine

#

but creating a rendering system is a HUGE pain

#

@barren shale is also working on one

#

called hengine

#

but he copy pastes code smh my head

barren shale
#

what

#

no

#

i only copy pasta the init stuff

#

its like reading documentations then writing it

orchid frigate
#

thats like 90% of it

barren shale
#

i just read then copied it

#

same thing

orchid frigate
#

still

barren shale
#

but atleast i got something to work

orchid frigate
#

copy pasta bad angry

orchid frigate
barren shale
#

id rather have something work

orchid frigate
#

it just needs a bit more...work

barren shale
#

the fact that it took you 2 months to make it is tho

orchid frigate
#

i was busy

#

plus i actually read the documantation

knotty root
#

hey atleast it runs

#

i would be very excited at that

orchid frigate
#

yea but having a memory leak is awful because most of the time you have no idea why it exists

#

i just wont deal with it until i need to actually create the game

#

the fact that this whole thing is just to create weirdly angled triangle is pretty...amazing yet awful

knotty root
#

well its like ur creating a wheel in the 21st century

#

i mean its not special

#

but man its a wheel i madd

orchid frigate
#

Wheel 3.0

#

I could also use unity but....the physics engine is pretty overcomplicated and you can hardly customise it

barren shale
#

making your own engine isnt recreating the wheel

#

its actually very good

#

you have full control of the engine

#

makes ur games run faster

#

cuz u wont put stuff that you are not gonna use

knotty root
#

Hamza is boring man

barren shale
#

Hamza is bestest man

tropic dagger
#

Hamza has mom

barren shale
#

a dad too

nova coral
#

Hey dudes! Can you say please where you learn a python?

wet girder
# nova coral Hey dudes! Can you say please where you learn a python?

YouTube is the best place to learn python in my opinion. Lemme show you few good tutorials to learn python

My favorite YouTuber, makes amazing software videos and probably the best at explaining programming IT in YouTube just started new series for python but it only has one episode so it's gonna take a while learning through his videos:
https://youtu.be/mRMmlo_Uqcs

Then tutorial how to learn python from also one of my favorite YouTube channels, definetly good video to check out:
https://youtu.be/5mJ_Qftw2_0

the video on how to learn python tells better than I could ever but these are my recommendations

What I use to learn (the BEST IT training): https://ntck.co/itprotv (30% off FOREVER) *affiliate link

🔎🔎FREE Python Lab: https://ntck.co/pythonep1
Support the course: https://ntck.co/pythonrightnow

🔥🔥Join the NetworkChuck membership: https://ntck.co/Premium

**Sponsored by ITProTV

SUPPORT NETWORKCHUCK
-----------------------------------...

▶ Play video

Ex-Google Tech Lead teaches you how to learn Python Programming in this tutorial. You will learn the fundamentals of how to learn Python, server backends and frameworks, databases, frontend, pet projects, and examining what is involved in learning how to set up a Python project that can help you land a job in tech!

Join ex-Google/ex-Facebook e...

▶ Play video
nova coral
#

Thanks Jupe

wet girder
#

Well we've always been small group inside big place

#

I'm honestly not sure how this channel still exists, I suppose it's pretty active and add diversity but is still related to WorldBox in a way

orchid frigate
#

idk how it still exists either but im happy it does

quartz raptor
#

Im going to make a game tomorrow

#

About POTATOES

orchid frigate
#

nice

#

first time?

quartz raptor
#

Na

#

I made games multiple timrs

#

None of them worked

tropic dagger
#

Dang.

orchid frigate
#

is that a mf among us refrence 😳

tropic dagger
#

Techlead has become bad but wasn't always bad.

#

He was at one point a good person.

#

Then he decided to turn an m into a b.

knotty root
main brook
# nova coral Hey dudes! Can you say please where you learn a python?

https://automatetheboringstuff.com/ (for complete beginners to programming)
https://learnxinyminutes.com/docs/python3/ (for people who know programming already)
https://docs.python.org/3/tutorial/ (official tutorial)
http://python.swaroopch.com/ (useful book)
see also: http://www.codeabbey.com/ (exercises for beginners)

#

youtube is good too

#

but its not good when they teach you tutorials

#

and not a language

#

like instead of teaching you how to make functions and how to do something

#

they just write crap for you to follow

wary orchid
#

nice

main brook
#

Top: Aiohttp
Bottom: HTTPX

#

i requested to 3 websites

#

10 times

#

facebook, google, youtube

#

aiohttp runs faster

barren shale
#

you dont need any youtube tutorials or shit like that

#

just do something

#

and google

#

that's how i learned

orchid frigate
#

alright finally got a working cam

#

feeling good

main brook
#

now your computer can see how cute you are

main brook
orchid frigate
#

no no no not that type of camera

#

game cam

#

like i can move around in my game window that needs 4gb of ram every 5 seconds

wet girder
#

and I'm still getting a degree because fuck being hard to get a job because you don't have a degree

#

and also fuck high school

orchid frigate
#

i will probably at one point need to get a job but idk what i will work considering my programming knowladge

#

noone needs opengl devs

#

and all cpp jobs require 1000 years of practise

#

and frontend is boring af

wet girder
#

ye, frontend is fuckin boring

#

cyber security is the real fun

orchid frigate
#

oh the memory leak somehow got better

#

from 4gb to 2

wet girder
#

lol nice

orchid frigate
#

we getting there

#

lmao i just saw the visual studio memory usage graph and its fucking hilarious

#

lemme get a screenshot

hoary hound
#

Like

#

What

orchid frigate
#

gas gas gas im gonna step on the gas

hoary hound
orchid frigate
#

i mean its fine

#

the window responds for...a few seconds

orchid frigate
#

it got to 4gb in 6 seconds once

#

its weird because its always different

#

i think the main problem is is i kinda have everything inside of the render loop

#

but the fps seems fine at first def over 500 atleast

#

anyone with a 32bit os wanna try to run this

hoary hound
#

I'd like my computer to not explode thanks

barren shale
#

You dont need a 32 bit os

barren shale
barren shale
#

Too bad cpp doesnt have it

orchid frigate
#

lol xd im laughing hamza

main brook
#

hamza is so funny

#

his jokes are funny

#

i ded now

main brook
#

can you also not tell

orchid frigate
#

this me irl

main brook
#

his jokes is so awesome

#

i died

#

of laughter

#

i ded now

#

his jokes is so world class

#

that he even got charged

orchid frigate
#

dont die after dying you might not live anymore

main brook
#

for international mass homicide

main brook
#

i died

#

and then woke up from my grave

orchid frigate
#

im a certified doctor with 420 degrees and i can assure you that after dying you do not live

main brook
#

just to die again

#

hearing hamza jokes

orchid frigate
#

i have 100 years of experience in c++

main brook
#

could you make me scream louder than how programming made me scream

orchid frigate
#

imagine having garbage collection

#

this is my response to the last question

barren shale
#

im very funi

barren shale
barren shale
orchid frigate
#

hamza be like: no chad
haydot be like: yes chad

barren shale
#

-haydot

orchid frigate
#

-hamza

barren shale
orchid frigate
#

if you

#

admit

#

that cpp is better

#

i will give you

#

all my code from the engine

#

👀

barren shale
#

whyd i want to get code

#

that has memory leaks

#

and is in general bad

#

or is it bad in general

#

idk

#

its bad

#

ok ill admit

orchid frigate
#

👀

barren shale
#

c++ is better than C# at being a shit language

orchid frigate
#

you just made

#

a big mistake

#

do you know who i am

barren shale
#

noooooo

orchid frigate
#

im the creater

barren shale
#

creator*

orchid frigate
#

of the best engine

barren shale
#

worst*

orchid frigate
#

called cozy

barren shale
#

cozy memory leaks*

orchid frigate
#

Do YoU KnoW WhO I Am!?

barren shale
#

haydot ?

orchid frigate
#

yes

#

that is true

#

i speedran creating a memory leak

#

and failed

#

it took me 2 months

#

but still

#

i bet you cant even create a memory ;eak

main brook
#

yes i can

orchid frigate
#

im the best memory leaker ever

#

i will one day have a program

#

that uses 8gb of ram

barren shale
#

cant create a memory leak in C# :(

#

its just too good

#

you can disable the garbage collection

#

so you actually can

#

it just doesnt let nubs like haydot do it

orchid frigate
#

c# is so cringe

barren shale
orchid frigate
#

it cant even create memory leaks

barren shale
#

it can

#

you just have to be good

#

cuz its good

orchid frigate
#

smh at c#

#

garbage collectors are cringe

#

i can collect garbage myself

#

i just need a garbage can

#

get it because of i CAN and garbage CAN

#

yea you get it

barren shale
#

ahah xzibit

#

ur even more funi than me

#

rei is so dead she cant even type

main brook
#

yes

#

your jokes are so funny

#

i died of laughter

#

i ded now

barren shale
#

bye ded

#

bye dad

#

😳

main brook
wet girder
#

just keep it sfw 😬

barren shale
#

ok dad

main brook
#

iam

#

i just call it daddy

#

"father" sounds

#

kinda not me

fringe heath
#

Balls

main brook
#

Tennis balls

barren shale
#

ur mums balls

fringe heath
#

😳

barren shale
#

we are very sfw

#

its just that jupe has a very dirty mind

#

bad jupe

barren shale
#

my matrix class grows bigger everyday

#

id give it one week till 1k lines

#

did i say 1k

#

i meant 10k

orchid frigate
barren shale
#

ofc

#

unrelated stuff should be spaced

#

unless you want your code to look like haydot code

main brook
#

which is awesome?

#

so

#

no spacing if you want awesome code

barren shale
#

its ugly

#

literally

#

everyone spaces code

#

you do it too

#

haydot does it

#

sometimes

#

i guess no one is awesome

main brook
#

i space my code

#

format is one of my biggest weakness

#

because if i see bad formatting

#

i die

wet girder
#

same lmao

barren shale
#

bruh

#

for me its not even about bad formatting

#

if i see someone formatting anything differently from me i die

#
if(condition) doSomething();
#

this kills me

#
if(condition) 
  doSomething();
#

this is good

main brook
#

that's literally

#

racism

barren shale
#

no

#

that's preference

#

but i dont like people's opinions

#

oh wait

#

that's racism

main brook
#

that's basically twitter user

orchid frigate
#

Look

#

As a master programmer myself

#

I will give my opinion on what good code looks like

#

I think that code should be spaced out to a certain point, like certain parts of it, kinda like paragraphs

#

But comments are very good

tropic dagger
#

And make sure to separate declaration from definition.

wet girder
#

In my education if your code has even a small thing that could be more readable your teacher tells me how to make it more readable which is kinda good ngl

tropic dagger
#

Imagine if he taught Assembly.

north dune
tropic dagger
#

I would do that but I use C++ and any includes have to be on another line.

#

So that would mean no I/O, no standard library stuff.

#

Maybe JS.

north dune
#

i personally hate the format where you open parenthesis or bracket
and then do stuff
and then close it

the only time that feels natural is declaring new function or method, but like regular use? ew, make it one line

tropic dagger
#

Python and Assembly are syntactically impossible to do on one line.

tropic dagger
north dune
tropic dagger
#

Oh yeah.

north dune
#
                button.onClick.AddListener(delegate { Debug.Log("Button pressed"); } );
#

good

tropic dagger
#

Just use

button.onClick.AddListener(delegate {
    Debug.Log("Button pressed");
});

at the worst.

north dune
#

delegate makes this especially ugly

#

with the extra everything it brings

tropic dagger
#

I don't know the delegate keyword.

#

Or much C# in general.

north dune
#

using it to either call a function elsewhere or some temporary function where youve written some code

tropic dagger
#

Ah.

#

So essentially lambda?

north dune
#

yeah kinda

#

ive barely played with them but it seems really cool

tropic dagger
#

Yeah.

north dune
#

these buttons have places for onHover, its how the game already does its tooltips

tropic dagger
#

Ah.

north dune
tropic dagger
#

Oh nice.

north dune
#

makes it very simple

tropic dagger
#

Is showTooltip a function or a variable?

north dune
#

a function

tropic dagger
#

Ah.

#

Ok.

#

Interesting.

north dune
wet girder
# north dune

I really hate why you don't need to use () after some functions in C# like in this image. It's really confusing to me

north dune
#

just fancy "show message" stuff

tropic dagger
north dune
#

like 90% of the time you use (params) like normal

wet girder
#

ye thankfully

north dune
#

reflection has you calling them even weirder

wet girder
#

I haven't seen that yet, I just started learning C# in school

tropic dagger
#

Damn C# is weird.

north dune
#

usually this would be traitButton.load(traitName)

#

but its inaccessible

#

reflection can bypass the access stuff

wet girder
#

oh gosh, that doesn't look fun to deal with

north dune
#

its not!

#

i stayed away from this sort of stuff for a very long time, its tedious and confusing

#

but its almost essential for bepinex and making compatible mods

#

right now im trying to figure out some of the actual game ui stuff, nikon has a lot done already and im learning from him

#

my mods are "simple" guis, using a whole seperate system that is wayyyy easier

wet girder
#

lol

#

good luck with that

north dune
#

thanks lmao

#

im slowly slowly figuring it out

wet girder
#

Atleast you're working to learn it. I've been having a problem of not coding because I just don't find the motivation to do it and then I don't really learn anything

north dune
#

just gotta find something that gives you that passion

#

im noticing how much interest powerbox got just from these custom windows and wanting my own 👀

wet girder
#

I haven't really played WorldBox with mods that much but Powerbox gui is really making the mod feel better even if it doesn't actually really help that much

north dune
#

i think the compatibility with other mods is what sells it

#

can use its features to improve a lot of other things

#

new mod coming lets you control people again

#

powerbox adds maxim and mastef.. can play as them lol

wet girder
#

lol

north dune
#

thats just one lil thing, plenty of random stuff like that for people to figure out

main brook
#
~ $ lua5.4 code.lua
hello!
~ $ ./code.lua
hello!
~ $ cat code.lua
#!/usr/bin/env python3

print("hello!")
~ $
barren shale
#

just like rei's mum

main brook
#

what's wrong with my mum

barren shale
#

she is noice

keen shell
barren shale
#

Keh

barren shale
keen shell
#

Why it still shows like thatmaximpensive

lapis flint
#

no

#

You have outdated info

#

It was renamed

#

I am exploring my first c# projects

#

and

#

One of them asking admin rights

#

it is custom screenlocker(not a virus, just thing that keeps your pc under password)

#

And

#

i remember that this thing

#

Disabling task manager

#

Mb better do not run it

#

This is cringe rn

#

But 5 years ago

#

i thought that it looks cool

keen shell
lapis flint
bold rover
pliant wraith
# lapis flint

At first I thought it was something related to Star Wars

wet girder
#

kinda intresting

main brook
#

imagine being a programmer, having a child and teaching them C

#

and when they're lost

#

someone taught them C

#

the one who teaches instantly died

#

because your child is more superior

#

this reminds me

#

i should use docker for my projects

barren shale
#

What

#

Are you

#

Talking about

#

Stop the dum plz

wet girder
barren shale
#

rewriting numpy in C# is pain

#

860 lines

#

more coming

wet girder
#

why are you doing it then

#

I did all my programming assignments in school for like another week so the teacher told me to do some hard challenge online and I picked binary clock challenge. It's quite hard but I almost finished in about 30 minutes

#

school just ended too early

barren shale
#

im making neural networks from scratch

#

but the tutorial is python

#

im not gonna use python

main brook
#

but there's qemu

orchid heart
#

how will i make an system that will every mobile players can get mods in worldbox mobile ?

#

🤔

tropic dagger
#

Be a dev?

#

Make a marketplace style setup.

#

Require connection to the internet.

#

It'd have to be an official source or we would have to download APK's from a website.

#

Which likely wouldn't have much luck with in-app purchases, so no premium.

#

Plus you would only be able to get one mod.

#

So modding would need to be official.

#

@orchid heart

keen shell
keen shell
tropic dagger
tropic dagger
#

It would be easier if it were official.

#

For everyone.

barren shale
#

i just wanna have some understanding of the code

#

so im writing it myself

#

im not rewriting everything ofc

keen shell
barren shale
#

just the things i need for my machine learning things

keen shell
#

Machine learning is cool, what are you planning to do / doing with it?

barren shale
#

reinforcement learning

#

things

quiet river
barren shale
#

python bad

meager python
#

Once i tryed to code a game and...

#

... and i gived up cuz its too hard

orchid frigate
#

Nah its ez

#

Whats hard is to code a video game without a game engine/create your own game engine

main brook
#

literally me

barren shale
#

you couldnt do it with unity

barren shale
#

AHHHHHHHHHHHHH

#

finally found the bug

#

that little 🐛

barren shale
#

Matrix math is hard

#

Not as hard as haydot think it is

#

Its just a bit confusing sometimes

orchid frigate
#

Bru unity sucsks i hat unity

#

My game engin better

#

Wont ve able to work on it tho because different project now

quiet river
quiet river