#⌨coders-cave

1 messages · Page 49 of 1

barren shale
#

But not too easy top

orchid frigate
#

Ok

#

What do you think the challenge should be

barren shale
#

This looks like something im not allowed to say

#

You know what i mean

barren shale
#

Hmmm

orchid frigate
#

The point is

barren shale
#

Something thats not hard or easy

orchid frigate
#

A Langton ant is a good idea, I just need to learn how to make one

barren shale
#

Idk bruh

orchid frigate
#

I kinda have an idea of how it works

barren shale
#

8 hours of studying made my brain stop working properly

barren shale
#

Apply them each frame

#

And you get things like this

orchid frigate
#

Yes but

#

What if I instead

barren shale
#

Watch this

#

Very kewl

orchid frigate
#

Just tell the ant "ok here is a number move this much in this direction then roll a random number and move this much in that direction"

barren shale
#

Its not a good idea for a jam tho

#

Not very diverse

#

Just one idea one set of rules

orchid frigate
#

But like it will take 1000 years to give it rules for every line

barren shale
#

What do you mean

#

Its just 3 rules

#

Or its 2

#

If white rotate clockwise then flip

#

If black rotate counter clockwise then flip

#

Done

orchid frigate
#

How does that work Thonk

#

Eh I will research it later

barren shale
#

Bruh

#

You stoopid

#

Jk

#

It might be hard to grasp from your perspective

#

Idk

keen shell
barren shale
#

But

#

Not everyone gor the game on pc

#

So things like mods are off the topix

keen shell
#

No I don't mean mod

barren shale
#

And idk what do you mean worldbox related if its not mod

#

Enlighten me

keen shell
#

Okay, for example that machine learning map sorter I never finished

barren shale
#

Wa

#

What does machine learning have to do with sorting

keen shell
#

it looks at the image and sees what type of map it is

barren shale
#

Oh

#

Classification

keen shell
#

yes

barren shale
#

And what are the possible map types

orchid frigate
barren shale
keen shell
keen shell
#

it distinguished pretty well

barren shale
#

So its finished

keen shell
#

mh, the model got trained but I never built an application around it that takes images and outputs a result

#

The model didn't need code at all, I used Visual Studio's built in model builder

#

cheats

barren shale
#

Not reqlly cheats

keen shell
#

hahaha

barren shale
#

Model building isnt really about the code

#

The code isnt really complex

#

Ive built a deep q learning model

#

Taught it how to play snake

#

Got really good

#

But it took like 2 days to train on cpu

#

To get into a good length

keen shell
#

nice

barren shale
#

I need to fix my gpu so i can train faster

#

2 days of cpu might be an hour on gpu

unique basin
#

what do you use to mod the map size?

keen shell
unique basin
#

I am asking if there is any easy way to edit the map sizes on world box

#

if you know?

keen shell
#

Yes, there's already a mod for it called MapSizes

unique basin
#

oh

#

is there a way to manually do it?

keen shell
barren shale
#

@orchid frigate here is code

#

if you wanna look how i made it

#

looks like what maxim sent

#

but flipped

orchid frigate
#

I understand most of it, but there are some things I will need to read about more

#

But thanks for showing it

tropic dagger
#

Ooh, C#.

orchid frigate
#

C# is cool

barren shale
#

Btw i used 1d array because i think its faster

#

And i used bytes and ushorts intead of ints

#

Idk if they are faster

#

All i know is they are smaller

#

But if you want to do it just use normal ints

#

And a 2d array

orchid frigate
#

I was wondering what ushorts were

barren shale
#

u means its unsigned so its only positive

#

And short is same as an integer but it takes less space and the range is smaller

#

I think its 8bytes

fierce epoch
#

you're so nub

barren shale
#

Instead of 32 for int

barren shale
#

Im pro

#

U nub

tropic dagger
signal wyvern
#

A person walking in C#

#

👌 Tophat

orchid frigate
#

That's one speedy boi

barren shale
#

You cant lie to us

#

Its obviously C

signal wyvern
#

Xdd

barren shale
#

C no sharp

orchid frigate
#

C numb

signal wyvern
#

Xd

vagrant latch
#

hi

tropic dagger
astral basin
barren shale
#

Or can you

#

vsauce theme intensifies

#

Rewrite worldbox in rust

orchid frigate
#

I wonder in what language rust the game is made in Thonk

orchid frigate
#

Well that answers why the physics look kinda strange

astral basin
wet girder
#

If anyone is intrested on trying to fix amp trait editor I'd be happy to give the current code for it goaMonkaCough

barren shale
#

I thought u meant rust the programming language not the game

#

Rust shouldve been made with rust

wet girder
#

do ~traiteditor

barren shale
#

~traiteditor

bitter sedgeBOT
#

Sending trait guide to DMs!

barren shale
#

And what is the problem

#

Is it like completely broken

#

Or what

#

~definetraits "lucky"

bitter sedgeBOT
#

Traits defined!

barren shale
#

~btrait umom

bitter sedgeBOT
#

You must attach a map.wbox to your message!

barren shale
#

Mhmm

#

Soo

#

Whats the problem @wet girder

wet girder
barren shale
#

Oh

#

When did that happen

#

Did you change anything

#

Or after the game update

#

@wet girder

wet girder
#

after update

#

I've been trying to fix it for ages

barren shale
#

So map data isnt encrypted or what

#

Maybe the devs change the map data structure

wet girder
#

they didn't

#

I checked everything

#

it makes no sense why it corrupts

barren shale
#

Hmm

#

Can i take a look at how the map data looks unencrypted

#

Do u have a file you can send to me

wet girder
#

lemme decrypt one for you

barren shale
#

What language is the traiteditor written in

orchid frigate
barren shale
#

Indeed

wet girder
#

python

barren shale
#

Ok good i can read that

wet girder
barren shale
#

Shit im on phone

#

Idk about that

#

Ill look at the code when i have my pc

#

In like 2 hours

wet girder
#

sure

#

there's no rush

barren shale
#

Bruh mastef

#

U gotta work on map compression my dude

#

Wait

#

Did u just make a new map

#

With no people

#

@wet girder

wet girder
barren shale
#

Finally found people data

#

Its probably a gigantic map

#

Took like two mins of scrolling

#

I have a pretty good idea on how to debug that

#

Ill do it when i get my pc

#

Cya in two hours

wet girder
#

all maps take 2 mins to scroll

#

you don't even know how it currently works tho lol

barren shale
#

You just change the traits and then rebuild the map

wet girder
#

not as easy as it sounds

orchid frigate
#

I should open one map at some point to see how they work, I never thought to do that

barren shale
#

Ofc its not

#

But u already have everything ready

#

Ill just debug a bit

#

See what i can do

barren shale
wet girder
#

I didn't make the code

#

Igniz made that

barren shale
#

Wtf

wet girder
#

I just did few hotfixes

barren shale
#

The map data is json

#

Use a god damn json parser

wet girder
#

I did use for my own version

barren shale
#

Makes life 100000 times easier

wet girder
#

but it worked even worse than the code I showed

barren shale
#

Can i see yours ?

wet girder
#

I'mma try to find it

barren shale
#

And tell igniz that he sucks at making readable code

wet girder
#

well he made the code without thinking it'd be used this much

barren shale
#

And where is he now

#

Dead ?

wet girder
wet girder
barren shale
#

Are tou sure when youre saving the map youre overwriting the old one

wet girder
#

wdym

barren shale
#

Line 26

#

On yours

#

Ur saving the map that you downloaded from discord

#

Are you sure if there was already a map there

#

Its being overwritten

wet girder
#

that's the first time that any file is touched in that command

barren shale
#

Youre not understanding

#

So i used traiteditor

#

Now theres a map.wbox in bots machine

#

Then another dude used traiteditor

#

Is the old map.wbox deleted

#

Or is it overwritten

#

Or do you even know

wet girder
#

It should overwrite the old map.wbox but I forgot to delete the file after the command is done

#

I meant to do that originally

barren shale
#

Ok

#

So now we have igniz code running

#

Right ?

wet girder
#

ye

barren shale
#

So

#

Edit his code

#

Make it so it deletes the file

#

At the end

#

And try

wet girder
#

let me setup test bot

barren shale
#

Kk

signal wyvern
wet girder
#

opencv is fucking me over again

tropic dagger
#

Unless it's the command prompt.

barren shale
wet girder
#

map conversion uses it

barren shale
#

Decoding??

#

Or decrypting

#

Whatever its called

wet girder
signal wyvern
# tropic dagger Like *how* did you do it?

In three functions draw with the help of gotoxy and printf the walk

then in the whil loop I implemented that function it was something like this:

while (! kbhit ())
{
walk_1 ();
sleep (320);
clrsrcr ();
walk_2 ();
sleep (320);
clrsrcr ();
walk_1 ();
sleep (320);
clrsrcr ();
}

barren shale
#

So

barren shale
wet girder
#

shit

#

not well

#

I mean

barren shale
#

Still not working

#

How tf was it working before

wet girder
#

Had to stop working on it

#

it's too late and I have school tomorrow

barren shale
#

Kk

#

Ill check it when i get my pc

#

In like 30 mins

barren shale
#

@wet girder fixed

wet girder
#

how exactly did you fix iy

barren shale
#

first things first

#

on line 29

#

d = base64.b64decode(r)

#

doesnt do anything

#

so you should remove it

#

same on line 53

#

d = base64.b64encode(e)

#

both of these should be dleted

#

wait ill send u a file with all the fixes

#

you look at it

knotty root
#

wat is this

barren shale
#

here

#

all the edits are done after
if working == True:

#

I made the code actually readable too

#

Hamza was deceitful

#

Now he is lucky

barren shale
#

Removed more unnecessary stuff

#

Cuz I cant sleep while there's unnecessary code that i know of

orchid frigate
tropic dagger
#

Why did it open in C# Shell I have a python interpreter.

#

Bruh

#

And it was useless.

#

C# Shell opened a generic file.

plain umbra
#

I can do a little bit of programming myself

#

</head><b>amogus<\b></head>

real lotus
#

No

last hill
barren shale
#

nvm turns out its nessecary stuff

#

ill try to make it unnessceary tho

#

wrote one letter

#

now its working good

#

this is fully working and tested

#

i needed to add an s to json.load so it loads from a string instead of a file

#

saves like 5 lines

barren shale
#

@wet girder have you tested it

#

Cuz i lied about the fully tested part

wet girder
#

not really

barren shale
#

I only tested after the fix

#

Its woeking

#

But then i did more edits that i didnt test

wet girder
#

the code looks like it should work

barren shale
#

Kk

#

If you implemented it to the bot i can test it here

wet girder
#

I did put it to the bot

barren shale
#

Kk ill try

#

~definetraits "immortal"

bitter sedgeBOT
#

Traits defined!

barren shale
#

Wtf

#

~definetraits "attractive"

bitter sedgeBOT
#

Traits defined!

barren shale
#

~define traits "Immortal"

#

~definetraits "Ugly"

bitter sedgeBOT
#

Traits defined!

barren shale
#

Why does it say invalid

#

Always

wet girder
#

because it is immortal not "Immortal"

barren shale
#

I tried

#

Both

barren shale
wet girder
#

~definetraits lucky

bitter sedgeBOT
#

Traits defined!

barren shale
#

You dont have to do ""

#

Wtf you need to fix the tutorial

#

~definetraits immortal

bitter sedgeBOT
#

Traits defined!

wet girder
#

I already fixed the tutorial

barren shale
bitter sedgeBOT
#

The converted map:

barren shale
#

You should make the first argument the name

#

And the others are the traits

#

Instead of having to seperate commands

wet girder
#

well yeah true

barren shale
#

Its working

#

And try not to name things with 1 letter

#

Makes fixing things harder

#

Its so bad you couldnt tell that somethings dont do anything

wet girder
#

I only name file as f but otherwise I 99% of the time use more than one character

barren shale
#

The compressed and encoded things were r and e

#

And there was a d

#

That was never used

wet girder
#

oh yeah I copied those from Igniz's code

barren shale
#

Dont be like iginiz

#

Or u will be dead like him

#

xd

knotty root
#

~definetraits lucky

bitter sedgeBOT
#

Traits defined!

knotty root
#

~definetraits strong

bitter sedgeBOT
#

Traits defined!

knotty root
#

~traits

#

Well this is not bad

wet girder
#

Just use #🤖bot-commands in the future

knotty root
#

ok

knotty root
#

can u fix
Something went wrong while processing this image, try again and if this image doesn't work contact Jupe#1829

raw wagon
#

Sorry I didn't see,

#

they are right tho.

#

a+b+c=4
a^(2)+b^(2)+c^(2)=10
a^(3)+b^(3)+c^(3)=22
a^(4)+b^(4)+c^(4)=

#

The one who can solve this,

#

is a genius.

barren shale
#

bruh 3 equations

#

3 varibales

#

or however u spell it

#

veribles

#

idk

#

variable

#

it should be 46 tho

#

if im not wrong

knotty root
#

i see you guys are fmiliar with worlfram alpha

knotty root
#

~define trait "strong","regeneration","giant","immune","tough"

#

~definetrait "strong","regeneration","giant","immune","tough"

#

~define trait "strong","regeneration","immune","tough"

#

~definetrait "strong","regeneration","immune","tough"

#

~definetraits "strong","regeneration","giant","immune","tough"

bitter sedgeBOT
#

Traits defined!

knotty root
#

~btrait Ylokuwu

#

~btrait Ylokuwu

orchid frigate
#

Next time use #🤖bot-commands

barren shale
#

@wet girder trait editor isnt working on characters with spaces in their name

barren shale
wet girder
#

ye Ik

#

I'm gonna fix it today

#

it's really easy fix

barren shale
#

AND MAKE IT ONE COMMAND

#

And if the name doesn't exist make it write an error

#

And then its perfect

sick belfry
wet girder
#

Gonna do it today

#

gonna do it now

#
["boat", "healing_aura", "energized", "ratKing", "vermin", "savage", "miner", "veteran", "wise", "strong_minded", "peaceful", "zombie", "infected", "plague", "blessed", "madness", "immortal", "crippled", "eyepatch", "tough", "strong", "weak", "stupid", "genius", "regeneration", "ugly", "fat", "attractive", "fast", "slow", "gluttonous", "burning_feet", "cold_aura", "bomberman", "pyromaniac", "eagle_eyed", "short_sighted", "lucky", "unlucky", "immune", "agile", "deceitful", "bloodlust", "pacifist", "ambitious", "content", "honest", "paranoid", "greedy", "weightless", "giant"]```
This is everything amp has atm so it is kinda hard to find the ones that are not in it yet
#

@sick belfry if you know any missing could you tell those

sick belfry
#

Okay

#

Kingslayer and mageslayer

#

I don't see this two there

#

Also, is there tiny?

wet girder
#

added

sick belfry
#

Okay.. i don't see anymore missing

#

Wait

wet girder
#

There seems to be lots of odd traits missing

sick belfry
#

Immune? Is it there?

#

Ah it is

wet girder
#
["freeze_proof", "fire_proof", "fire_blood", "acid_proof", "acid_blood", "burning_feet", "tiny", "mageslayer", "kingslayer", "boat", "healing_aura", "energized", "ratKing", "vermin", "savage", "miner", "veteran", "wise", "strong_minded", "peaceful", "zombie", "infected", "plague", "blessed", "madness", "immortal", "crippled", "eyepatch", "tough", "strong", "weak", "stupid", "genius", "regeneration", "ugly", "fat", "attractive", "fast", "slow", "gluttonous", "burning_feet", "cold_aura", "bomberman", "pyromaniac", "eagle_eyed", "short_sighted", "lucky", "unlucky", "immune", "agile", "deceitful", "bloodlust", "pacifist", "ambitious", "content", "honest", "paranoid", "greedy", "weightless", "giant"]```
These are there now
sick belfry
#

I'll translate and ask for help to other people

wet girder
#

Nice, thank you blobThanks

sick belfry
#

There is two burning_feet

wet girder
#

damnit

#

fixed

barren shale
#

Is there not a list of them

#

Cant you ask mastef or maxim

#

Or maybe Cody

wet girder
#

I have the list

#

but it is huge

barren shale
#

Show me

wet girder
sick belfry
#

+skin burns

#

+evil (i guess)

#

+rat

#

+cursed

#

Yeah no more

barren shale
#

heres all of them from the list u gave me

#

used code to get them

#

dont think i dont have a life and started writing them one by one

sick belfry
#

There is no mageslayer trait in that

barren shale
#

Well then it doesnt exist in the list he gave me

#

Just checked with Search

#

Doesnt exist there

#

I wann try something

#

~definetraits boat,energized,ratKing,rat,healing_aura,savage,miner,veteran,wise,strong_minded,peaceful,zombie,infected,plague,blessed,cursed,evil,kingslayer,giant,tiny,madness,immortal,crippled,eyepatch,skin_burns,tough,strong,weak,stupid,genius,regeneration,ugly,fat,attractive,fast,slow,gluttonous,burning_feet,acid_blood,acid_proof,fire_blood,fire_proof,freeze_proof,cold_aura,bomberman,pyromaniac,eagle_eyed,short_sighted,lucky,unlucky,immune,agile,deceitful,bloodlust,pacifist,ambitious,content,honest,paranoid,greedy,weightless

bitter sedgeBOT
#

Traits defined!

barren shale
#

Muhahaha

abstract dust
#

what does king rat trait do

barren shale
barren shale
#

Probably

#

hagrid @wet girder u added them yet ?

#

I want my all trait hamza

barren shale
abstract dust
#

oh yeah i know the rat king has it but what does it do

barren shale
#

The game uses traits to identify creatures

#

Like boats have the boat trait

sick belfry
#

Humans:

knotty root
#

what is the language worldbox is using ?

barren shale
#

C# unity

knotty root
#

hm cool

#

i know some of c

#

you looks like you are from north africa

barren shale
#

Im from syria

knotty root
#

Nice i'm from morocco :)

wraith turtle
#

does anyone here know bout roblox studio

#

i need help

south vale
#

where do i download maps

knotty root
#

Just press this blue thing

#

It’ll take you there

north dune
#

lenny has never looked so good

barren shale
#

oh my

#

😳

empty jacinth
#

🗿

cyan sage
#

~traiteditor~

#

~traiteditor

bitter sedgeBOT
#

Sending trait guide to DMs!

north dune
untold prairie
#

waiting for djs v13

#

is there any discord bot developers here?

barren shale
#

jupe

#

i guess

wet girder
#
#include <iostream>
using namespace std;

class MathClass {
  public:
    //addition functions
    int add(int num1, int num2) {
        return(num1 + num2);
    }
    
    float add(float num1, float num2) {
        return(num1 + num2);
    }
};

int main() {
    //create math object
    MathClass mathObj;
    
    //make calculator in loop
    while(true){
      //ask user what action they want to do
      cout << "What action do you want to do" << endl;
      cout << "1. add" << endl;
      
      //take users input of what they want to do
      int want;
      cin >> want;
      
      //do what users want to do with MathClass
      switch (want) {
          case 1:
            int x, y;
            cout << "What 2 numbers do you want to add" << endl;
            cin >> x;
            cin >> y;
            int sum = mathObj(x, y);
            cout << sum << endl;
      }
      
      //ask user if they want to continue using the calculator
      int cont;
      cout << "Do you want to continue using this application" << endl << "1. Yes" << endl << "2. No" << endl;
      cin >> cont;
      if(cont != 1){
          break;
      }
    }
    
    return 0;
}```
I am making some shitty calculator in IT class
#

this code totally works atm

#

like totally

#

for sure no errors that I don't know how to resolve

untold prairie
#

do you have any bot or

wet girder
#

@bitter sedge is created mostly by me

#

I'm just not really active updating it anymore

untold prairie
#

that must be hard

wet girder
#

Well not harder than anything else. Discord.py is pretty damn easy to use and it can be used to so many things with pretty basic knowledge

#
    @commands.command()
    @commands.cooldown(1, 30, commands.BucketType.user)
    async def dadjoke(self, ctx):
        jokes = ["Did you hear about the circus fire? It was in tents.", "Can February March? No, but April May!", "It’s inappropriate to make a ‘dad joke’ if you’re not a dad. It’s a faux pa.", "Wanna hear a joke about paper? Never mind—it’s tearable.", "How do lawyers say goodbye? We’ll be suing ya!", "What’s the best way to watch a fly fishing tournament? Live stream.", "Spring is here! I got so excited I wet my plants.", "I could tell a joke about pizza, but it’s a little cheesy.", "Don’t trust atoms. They make up everything!", "When does a joke become a dad joke? When it becomes apparent.", "What’s an astronaut’s favourite part of a computer? The space bar.", "I don’t play soccer because I enjoy the sport. I’m just doing it for kicks!", "Why are elevator jokes so classic and good? They work on many levels.", "Why do bees have sticky hair? Because they use a honeycomb.", "What do you call a fake noodle? An impasta.", "Which state has the most streets? Rhode Island.", "What did the coffee report to the police? A mugging.", "Why did the scarecrow win an award? Because he was outstanding in his field.", "I made a pencil with two erasers. It was pointless.", "I’m reading a book about anti-gravity. It’s impossible to put down!"]
        await ctx.send(random.choice(jokes))```
This is abadonded command but I need to mostly do stuff like this
#

I didn't create the original code for it

#

but I try to update it every now and then

untold prairie
#

that's look kinda easy

wet girder
#

it is

untold prairie
#

i'm mostly make rpg bot in Node.JS

#

mongodb make me crazy

wet girder
#

I've never used mongodb

#

database for @bitter sedge is firebase

untold prairie
#

cool, as long as I know firebase is kinda fast for large data sets

orchid frigate
#

Making a game engine is so fun to do, unity code was so boring in comparison

agile prism
#

Wow im in a cave

tropic dagger
# wet girder I am but I use discord.py

You could MathClass::add a template function and it'll allow any type. It could also be used to concatenate strings if you're smart.

template<typename T>
class MathClass {
   public:
   // Addition function
   T add(T num1, T num2) {
       return (num1 + num2);
   }
};

Something like that.

#

On top of that, ensure all variables are declared as well.

#

I'm gonna mess with that code hold up.

wet girder
#

the code wasn't even meant to be good but thank you for this. I'm real trying to learn c++ but it's hard af

tropic dagger
#

It is.

wet girder
#

Coming from python background stuff like declaring variables and adding semicolons etc. is harder for me to learn

tropic dagger
wet girder
#

I'mma check that out for sure

tropic dagger
#

I started with python but never fell into those habits.

#

I moved to JS.

wet girder
#

I love python so much. I can do almost anything so quickly and it most of the times just works

tropic dagger
#

I enjoy python when it doesn't throw an error.

#

Like TabError.

wet girder
#

Ig I have some python specific habits because I don't remember when was the last time I've had TabError

barren shale
#

or just use doubles

#

because that wont work if the class doesnt have an override for the + operation

#

ints get casted to doubles or floats automatically

#

atleast in C#

tropic dagger
#

They do in C++ as well but if the user gives a string then reality breaks @barren shale.

#

A try block will work though.

barren shale
#

you can + a string

tropic dagger
#

Actually...

tropic dagger
barren shale
#

why would you give a string in a MathClass

tropic dagger
#

Mistype?

barren shale
#

Uhhh

tropic dagger
#

Typo?

#

Error?

barren shale
#

just check

tropic dagger
#

Trying to break it?

barren shale
#

before trying to add

tropic dagger
#

Or use a try... catch block.

barren shale
#

they are expensive

#

checking is way better

#

you only use try for things that you dont know how they can go wrong

#

but you know thye can go wrong

tropic dagger
#

Yeah true

barren shale
#

like multithreaded work

#

isnt there something like int.TryParse

#

like in C#

tropic dagger
#

I don't know how typeof() works.

#

My theory for checking is:

barren shale
#

in C# you just do int.TryParse

tropic dagger
#
if ((typeof(want) == string) || (typeof(want) == char) {
   mathObj.add();
else {
   cout << "Don't break me.";
}
barren shale
#

yea but that doesnt cover all the types

tropic dagger
#

But I don't know if that'll work.

barren shale
#

i guess in c++ try catch is ur only option

#

cuz there's no trying to parse

tropic dagger
#

Doubles, into, floats will work.

#

Bools are weird.

#

You only need to check if it's a string or a char.

flint lichen
#

Does anyone know if you buy the game on the website will you have to rebuy it we it's released on steam?

tropic dagger
#

You probably will, @flint lichen.

flint lichen
#

oh ok my bad

#

thank you

wet girder
orchid frigate
#

Anyway so this will be my daily message for saying how much I hate coding on phone

#

Sadly I'm out of town once more so this will be my only choice again

wet girder
#

I like to use those as opportunities to learn more with Sololearn and YouTube

#

So basically when I can't code I watch shit ton of YouTube videos about cybersec, coding etc. and use Sololearn to learn coding

#

it's way more fun than trying to code on phone

orchid frigate
#

I don't watch alot of videos about coding because I mainly do it for fun right now, plus I have like no free time nor place to be able to hear what they are saying so I just write a couple of lines and adding to a lil project I have on phone

wet girder
#

I have noise cancelling headphones so I can just put those on when I want to listen to something

orchid frigate
#

Just learned that Windows forms are better then I thought, who knew

#

At first I thought they are complete garbage for an app, which they are but they can be used as a base for a game engine

barren shale
#

Dont

#

They are shit for drawing things on them

#

They use the CPU too

#

I've tried before

#

Not fun

knotty root
#

I’m haking into your roblox account

untold prairie
orchid frigate
#

I'm only using them for testing until I figure out a better way to do it

languid saffron
#

hey

orchid frigate
#

Python code is hard for me to read sometimes just because there are no semicolons, but yea they are pretty annoying sometimes

#

There are some specific situations in which they are hard to figure out where to be put

#

Like in big code blocks with a shit ton of every type of bracket or even in for statements

#

I always put a , in the for statements because I forget it should be a ;

knotty root
tropic dagger
#

@orchid frigate DirectX?

#

Or java.awt?

#

Or anything else?

#

HTML forms would be better.

kindred shale
#

i dont like cpp ignore whitespaces

tropic dagger
#

It's convenient.

#

And Python, which doesn't, takes a hit in my opinion of it for it's whitespace policy.

tropic dagger
kindred shale
# tropic dagger Why?

lol when i type something in terminal it content white space c++ just ignore it and wont read it all

kindred shale
tropic dagger
#

Use getline(cin, varname) for that.

#

Syntax may be different.

#

It's a part of the <string> header file.

#

Although I think it's included in <iostream> as well.

kindred shale
#

can i do #include <bits/stdc++.h>?

inner saddle
#

ok

tropic dagger
#

Sure?

abstract dust
#

zibblobet has evolved

#

and I level up from that message

wet girder
#

I have no idea how to start making a game engine

#

I found this article and this seems good to follow atleast to some point

#

some materials in that are almost 4 years old but still

#

I think I broke my brain with this video

barren shale
#

What language do you want to use ?

#

When making an engine you just need something that lets you draw on the screen to start off of

#

if youre using c++ maybe go with DirectX or OpenGL which is the hard option or something like SFML which is the easy option

wet girder
#

I'm gonna use opengl

tropic dagger
main brook
#

should i install manjaro or ubuntu

#

feels like im getting bored of ubuntu

#

but damn i dont wanna lose the features

#

like not able to install unstable package

#

(that message about unstable package was sarcasm btw)

barren shale
#

you should yes

wet girder
#

I like most of Debian based linux distros but Ubuntu is my favorite

#

My friend is trying to get me to use Arch

knotty root
#

I would like to once again remind all of you that I am smart.

orchid silo
#

Okay?

wet girder
#

I have 2 choices:

  1. learn web development for summer job I have in about 30 days because I have no fucking idea how it works
  2. learn how to make game engine and worry about the summer job later
#

2nd is way more fun but 1st would be more useful

knotty root
#

@wet girder you're smart

#

thanks for letting me know

silver flicker
#

Does anyone know where I can find the code that controls citizens to remove ruins?

cunning summit
#

lua syntax is not only art, it's perfection

main brook
#

lua interpreter is not hell, its heaven with satan

untold prairie
orchid frigate
#

:(

stark ravine
barren shale
#

Slime simulations look kewl

#

not if u miss up the settings tho

orchid frigate
#

hmmm im thinking of starting to learn rust but i dont know if i should, can any of yall rust people say something about it

barren shale
#

What do you want to do

#

Rust is pretty low level so it might be a bit hard

orchid frigate
#

i mainly just want to learn a second language, not anything in particular but i dont know which language to choose

barren shale
#

Just go python then

#

Pretty simple and has a lot of potential

#

Its slow tho

orchid frigate
#

uhhhhhh fine

#

god i hate python

barren shale
#

I couldnt run the alime simulation on it

#

It ran on 1.6 FPS

#

Had to switch to java

#

Which ran stably at 100k slime in a 750x750 map

orchid frigate
#

ah java is also interesting to me

barren shale
#

Java is C#

#

Like i dont know shit in java

#

Still made the simulation in an hour

#

They are super similar

orchid frigate
#

ye i have mistaken java for c# on multiple occasions

barren shale
#

But java is faster

#

Which was good for my slime simulation

orchid frigate
#

i wanna create a game engine but i dont want it to be in c# nor c++, mainly because im bored of c# and dont really like c++, im thinking lua might be good

barren shale
#

Java

#

It is

#

Heres the library

#

And there are youtube videos on how to use it

#

Its a bit hard

#

You can use a framework

#

Which has some things done for you so its easier

barren shale
#

Its very slow

orchid frigate
#

how tf do you pronounce this name

barren shale
#

What name

orchid frigate
#

lwjgl

barren shale
#

Light weight java game librrary

#

Minecraft is made with it

#

Its just a collection of binded libraries

orchid frigate
#

ah nice i thought that lwjgl is just a bunch of keyboard smashes

barren shale
#

Like opengl and openal

orchid frigate
#

i think ima do something crazy and attempt to game a game engine in rust, its a crazy idea i know but atleast it might be more fun then writing "public" and "void" for the 10000 time

barren shale
#

Ita not a crazy idea

#

Rust is built for performance and stability

#

Making it a great idea

knotty root
#

its called coders cave because you guys live in caves

barren shale
#

Gtfo of my cave

knotty root
#

can u fix amp pls

#

it doesn't work

#

it keeps say6ing contact jupe

barren shale
#

What isnt working

knotty root
#

half the time

barren shale
#

@wet girder fix ur shit

knotty root
#

thx 👍

#

🧀

barren shale
#

Np

knotty root
#

well havbe fun in your cave

#

coder

barren shale
#

Go away

knotty root
barren shale
orchid frigate
#

the bug report was great tho
"idk whats broken but just fix it ok?"

barren shale
orchid frigate
#

no

#

its not

barren shale
orchid frigate
#

ima go insane if i type it one more time

barren shale
#

You just do

#

P

#

U

#

B

#

L

#

I

#

C

#

Like that

#

There are public things in rust

#

I think

#

Idk its similar to c

orchid frigate
#

its always great when it takes 30 minutes to figure out how to install rust because visual studio code doesnt have like any language previously installed

wet girder
barren shale
#

@knotty root whats beoken

wet girder
#

No I know when it says to contact me

#

but I don't know why it doesn't work

barren shale
#

What isnt working

wet girder
#

No idea

#

something in analyzing yhe image fucks up

barren shale
#

The map converter

#

?

wet girder
#

oh ye

knotty root
wet girder
#

when you do ~c or ~dc it might randomly not analyze the image correctly

#

works 90% of the time

#

vut sometimes with certain images noy

barren shale
#

Is it random

#

Like u tried the same image

#

Sometimes it work sometimes it dowsnt

#

Oe what

knotty root
#

no it works 50% of the time lol

wet girder
#

Nope

#

Some images don't work

wet girder
#

shit

knotty root
#

yes pslsss

barren shale
#

You changed nothing with the code?

knotty root
barren shale
#

Never touched it ?

wet girder
#

I've done same changes but not to image analyzing

barren shale
knotty root
#

like i do ~c with the image

barren shale
#

Bruh doesnt matter

knotty root
#

and then it doesn't work and tells me to do it again

barren shale
#

This is coding

#

U change one letter

knotty root
#

and i have to wait for the slow down to end

barren shale
#

Everything breaks

knotty root
#

and then i do ~c again

wet girder
#

lol

knotty root
#

and then it doesn't work

wet girder
#

I always reinstall the image and it somehow works

barren shale
#

Maybe try to revert the changes?

wet girder
#

Then it'd break everything

barren shale
#

Remake time

#

OOOHH YEA

wet girder
#

I just nees to get doing it some day

#

noy today because I'm busy today

barren shale
#

Doesnt seem hard

#

Good luck

#

If u need help tell me

knotty root
orchid frigate
#

rust uses pub instead of public which is amazing
i already like this language

barren shale
orchid frigate
#

also im realising that whoever made this language really doesnt like to type full words
for instance: public is pub(awesome name btw), function is fn, printline is println

barren shale
#

Println in java too

orchid frigate
#

damn rust is way more difficult then expected

#

its also difficult to learn because there are like 0 forums about it

barren shale
#

Yea

#

I told u its a bit low level

#

There should be documentations tho

orchid frigate
#

there are, alot of them are from the rust cookbook

barren shale
#

Well if you are experienced enough

#

You should be able to do something with them

#

If you cant

#

Go for a high level language

orchid frigate
#

its sorta like javascript and at times like c# but at the same time its way different

barren shale
#

The wikipedia says its similar to c

#

Which is pretty low level

orchid frigate
#

my main problem are the use tags, im trying to generate random nums and all sources and telling me to use std::rand but there is no std::rand

barren shale
#

Maybe watch a youtube video

orchid frigate
#

i wonder if i havent downloaded something

barren shale
#

On how to get started

orchid frigate
#

i did but i got bored, the guy was mainly explaining stuff like how variables work and how to print out stuff in the console

#

which is pretty universal for all languages

wet girder
#

you should totally learn rockstar not some rust or anything that's actually usable in the real world

#

rockstar is the real deal

orchid frigate
#

hell ye

wet girder
#

just imagine being able to call yourself rockstar developer

orchid frigate
#

we can finally work on gta 69 bois

#

which makes me think about in what language gta is made in

wet girder
#

probably c++

orchid frigate
#

it is c++

#

interesting

#

should have used rockstar

barren shale
#

Its c++

#

Cuz its faster which doesn't matter anymore

orchid frigate
wet girder
#

lmao

#

that'd make it even better

barren shale
#

But its lower level which makes it better for complex games

#

Free marketing

#

Ohh yes

wet girder
#

I honestly started learning rockstar in my IT class just for the lulz

barren shale
#

Go rewrite amp in C#

orchid frigate
#

no

barren shale
#

Makes ur life a lot easier

orchid frigate
#

if you are coming from python c# might not be the best choice

barren shale
#

Oh right jupe doesnt know c#

wet girder
#

hmm, would honestly be intresting

barren shale
#

Or does he

wet girder
#

I know some basics

barren shale
#

C# much more stable

wet girder
#

but i can always learn ya know

barren shale
#

And much more easy to debug with

#

And i think its easier to understand

#

For me atleast

orchid frigate
#

c# is very easy

wet girder
#

well it's meant to actually ve used in large scale so ofc

orchid frigate
#

but takes alot of time to learn

wet girder
#

python is made for scripting so it's not the best

barren shale
#

Yea

#

Python is for data science

#

And data structures

wet girder
barren shale
#

Machine learning

#

And things like that

#

After you learn your first language its done

#

You know what to google on your second one

orchid frigate
barren shale
#

Programming isnt learning how to code

#

Its learning how to use google

wet girder
#

lol

barren shale
#

I can code with any language

orchid frigate
wet girder
#

but that's honestly true

barren shale
#

Ive never made something mildly complicated without using google

#

In my 6 years

#

Of coding

#

I still have coding projects from 2013

#

The code is shit

wet girder
#

My dad has been software developer almost 20 years and still uses google sometimes

orchid frigate
#

imagine the people who made stack overflow without stack overflow
the legends

barren shale
#

Indeed

#

Even tho they had other things

#

Like documentation

wet girder
#

The thing is i could debug and code without google if I had like documentation but it'd way slower and more annoying

barren shale
#

But documentation is sometimes too hard for my brain

#

The only thing i googled for java

#

Is how to print on the console

#

Havent google anything else yet

wet girder
#

I don't honestly understand why java is used

orchid frigate
#

the examples in documentations are always insane
in c# i searched for a try/catch statement example and got code that i could hardly understand the first line of

wet girder
#

it doesn't seem good for basically anything compared to other languages

barren shale
#

Java is very fast for a high level language

#

Its like 20x times faster than python

#

And likw 2-3 times faster than X#

#

C#

wet girder
#

Python is super slow ofc

barren shale
#

Easy for cross platform

orchid frigate
#

who cares about fast when you can make a game that runs at a constant 40 fps
at this point companies should just cap the fps at a const lol

wet girder
#

How fast is Lua

barren shale
#

Python fast

#

Xd

orchid frigate
barren shale
#

No i mean lua is as fast as python

#

I use linux cuz windows wont boot on my broken laptop

orchid frigate
#

binding of isaac is made in lua so i like it

barren shale
#

And i couldnt get C# to draw a gui on my screen

#

For the alime simulation

#

So i had to go python

#

But it was too slow for it

wet girder
#

I'd use linux if I didn't want to play video games without having to deal with so much shit

barren shale
#

The i went for java and everything just worked

orchid frigate
#

i would use lua if i wasnt too lazy to figuere out how a virtual machine works

barren shale
#

And i dont recommend

#

Once u dive too deep

orchid frigate
#

linux*

barren shale
#

It becomes harder

wet girder
#

I know

#

that's why I'd love using it

barren shale
#

I deleted one thing because of a problem

#

And spotify stopped working

#

And chrome stopped working

#

And shit ton od other things

#

I had to reinstall a lot of things

orchid frigate
barren shale
#

Just because i deleted one thing

barren shale
#

And wrote the warning after it told me to delete it

#

Like wtf

orchid frigate
#

f

#

how is the terminal on linux i heard its good

barren shale
#

Its used to download stuff

#

Run stuff

#

And some other things

untold prairie
orchid frigate
#

rust is so fucking fun to learn damn

quick ferry
barren shale
#

Ive seen people use ut

#

It looks very fun ngl

orchid frigate
#

linux looks great ngl, i need to try it some time

wet girder
#

It's awesome

barren shale
#

after a couple of hours

#

i managed to implement sprite rendering

#

making a game engine is hard

north dune
#

HamzaEngine games when

barren shale
#

Its actually called HEngine

#

Probably gonna make a game with it

#

After the exams

orchid scroll
#

i want to switch to linux, but i play alot of rust

#

the game not the language lol

barren shale
#

I dont recommend switching to linux for fun

#

Because it isnt

orchid scroll
#

ive used kali and ubuntu for some projects, mainly ubuntu for servers and kali for cybersec, didnt hate it. Also the pi distro

barren shale
#

You used them for projects

wet girder
#

My advice is to try dual booting and try if you like it that way

barren shale
#

Yea maybe try dual booting

orchid scroll
#

i had dual booting set up. but i recently reformatted. ill get it again though

barren shale
#

Most of the things u can do in linux can be done in windows

#

But it doesnt apply the other way

wet girder
#

I daily drived Linux Mint for a week with dual booting and gosh I hate Linux Mint but otherwise I fell in love with it, just need to chance distro

#

Linux gives way more control

#

and freedom

#

vut it's also shit ton of work

barren shale
#

And also the things linux give

#

Are too deep for normal users

wet girder
#

yep

barren shale
#

Ive been forced to use ubuntu for a year now

#

Still dont know what is the difference between apt and apt-get

#

If one doesnt work i try the other

wet girder
#

I knew it at some point vut I forgot because it wasn't significant thing

exotic vessel
#

Huh so this is where all the nerds go

astral basin
#

@north dune here it comes

#

There it was

north dune
#

huh

#

oh

astral basin
exotic vessel
weak holly
#

this is where i kill my brain

barren shale
#

why do people think you have to be a nerd if youre a programmer

#

i just literally can google better than u

#

nothing more

exotic vessel
#

Uh oh

weak holly
#

im a tf2 script maker aye

exotic vessel
#

Here comes the nerd train

weak holly
#

but bad scripts aye

exotic vessel
#

Xd

#

Im just joking

stuck garden
#

/blurplefy classic variation:Extra White gradient:Extra More Gradient order:Dark Blurple, Blurple, White

wet girder
#

Well I'd consider myself a nerd to some extent

barren shale
#

Added Keyboard inputs, Cameras or viewports whatever u wanna call them

north dune
barren shale
#

too hard to make it not a png with 1 pixel

#

do u want me to record a video of me pressing keys on my keyboard on my phone

#

cuz im not gonna do it

#

too lazy