#⌨coders-cave

1 messages · Page 6 of 1

orchid frigate
#

Idc if the team didn't allow it if I was on the project im doing the optimization myself

#

I swear Im going insane with these 7 seconds

barren shale
#

3 minutes to compile an api

#

needs some optimization when compiling

#

and also it depends where you compile it

#

you cant do that

#

this is not java

#

i think

#

cuz they talk about C# a lot so i think its C#

#

imagine after waiting for 3 minutes you realise that you typed x += 4; instead of x += 3

#

💀

orchid frigate
#

You can in C

#

And rust

#

Technically

#

If you use the compiler which noone does

orchid frigate
old mural
#

Lua is underrated

distant wraith
#

Finally, the fastest way to generate a list of random shit

from random import sample as A;from string import ascii_letters as B,digits as C;print([*(''.join(A(B+C,k=62))for D in range(10))])
next lotus
old mural
#

No

wet girder
next lotus
#

roblox mods

old mural
next lotus
#

yep thats the only use for that language

#

also cheat engine

#

its only for embedding

#

nothing else

wet girder
#

Do we need another jupe rant about roblox

old mural
#

It's good

wet girder
#

When I get on my pc it's time for jupe rant

old mural
#

Why hate lua

wet girder
next lotus
old mural
#

How ez is to write a table in c or python or java

next lotus
#

what table

#

2d array?

old mural
#

A table of fruits

#

Let's say

#

A table of couple of strings

next lotus
#

so a 2d array?

old mural
#

Yea

wet girder
#

That's just one dimensional array

#

not even 2d

old mural
#

Yea

next lotus
#
string[][] peen = new string[][] {
  {"minecraft", "420"}
};
``` like that?
#

wait no its

old mural
#

Yea

#

What

#

In lua

next lotus
#
string[,] peen =  {
  {"minecraft", "420"}
};```
#

its this actually

wet girder
#

In C it's literally just

char stringArr[][] = ["Fuck", "Lua"]
#

I think

next lotus
#

wait no its

old mural
#

local peen = {"minecraft", "420"}

old mural
wet girder
#

Why tf the curly brackets

old mural
#

Why not

next lotus
#

thats not even a 2d array thats just an array

wet girder
#

those are for the prestigious dictionaries

next lotus
#

in c# its

old mural
next lotus
#
var h = new[] { "peni", "minbecraft" };
old mural
#

See

#

So much code

wet girder
#

In c to create one dimensional array of strings you need to create 2 dimensional char array because c doesn't have strings, instead it has char arrays

next lotus
#

also in python its just csharp cbt = ["big", "balls"]

next lotus
old mural
#

Some people are lazy

wet girder
#

they're atrocious

old mural
#

Yea

#
   return x + y
end

print(add(5,2))```
#

For loops

#
      print(v)
end```
next lotus
#
int add(int[] vals) => vals.Sum();
``` in csharp and thats an entire array lol
wet girder
#

it's so much better in even like C

int add(int x, int y) {
    return x + y;
}

printf("%d", add(1, 2));
next lotus
wet girder
#

lua doesn't have arrays???

old mural
next lotus
#
for(int i in array) { }
``` to iterate array
old mural
#

Lua also has coroutines

next lotus
#

LMFAO

#

duide pls

wet girder
#

or foreach

next lotus
#

pls no

old mural
#

But i don't how to code coroutines

orchid frigate
#

Guys you are forgetting about the superior to all languages

next lotus
#

are you really gonna compete against the creator of async/await?

orchid frigate
#

Rust

old mural
#

Hmm

#

Idk about foreach

next lotus
#

we need replit bot here

wet girder
#

what's that?

old mural
next lotus
#

bot to run codes

next lotus
#

also it can return

orchid frigate
#

Why are we having children

#

This seems like a huge responsibility

old mural
#

Waht

wet girder
next lotus
#

//-- Sample Task
async Task<int> Minecraft() {
  await Task.Delay(1 * 1000); // Wait 1 second (1000 millisecond).
  return 420; 
}
//-- Sample Task

async void Main() {
  Console.WriteLine(await Minecraft());
}
#

i bet your coroutines cant

#

even return

#

lol

orchid frigate
next lotus
#

its just your C senses

#

this is my c# senses telling its beautiful code :))

old mural
#

I think coroutines return values

orchid frigate
#

Why are tou doing 1 * 1000

#

💀

next lotus
#

why

#

it makes it more readable

#

lets say 15 seconds

#
15 * 1000
orchid frigate
#

Nah people go too far for readability nowadays

#

We need assembly back on the scene

old mural
#

int second = 1000 i guess

next lotus
#

also we can do this

public bool isSleep() => true;
// the same as
public bool isSleep() {
  return true;
}``` if youre too lazy
old mural
#

So 15 * second

next lotus
#

also we have Linq, its for lazy people too very useful

old mural
#

Anyways bye we had a good debate

next lotus
#

it wasnt debate

#

when

orchid frigate
#

Wait

#

Yall are leaving

next lotus
#

someone already lost before it started lol

orchid frigate
#

But I just came

next lotus
#

jesus

orchid frigate
#

Nah nah nah stay here

next lotus
#

i was about to send this

orchid frigate
barren shale
#

await/async is our lord and savior

#

saved us from the events/callbacks hell

barren shale
#

@wet girder @next lotus

#

kewl video

#

little unexpected optimization

orchid frigate
#

Imagine that your code is so bad

#

It broke the fucking compiler

#

I dont have to imagine because I just broke cargo 💀 💀 💀

barren shale
#

rust diff

next lotus
#

sealed const readonly all of those are useless

#

just

#

declare public or private

#

then dont set :)

west burrow
#

rust loves to error

distant wraith
#

How can I declare variables in C++?

#

🥺🥺🥺

cloud solar
#

I have a question

#

Why

cloud solar
main brook
kind hollow
distant wraith
#

Thanks Jerry

next lotus
next lotus
wet girder
#
int var = 1;
#

big pog

next lotus
#

no

#

bad

#

dont put data type

#

use auto thats how chads do it

#
auto big = 69;

auto gaming = "minecraft pocket edition free donwload no virus apk unlimited diaomonds";

auto roblo = new char[] {'x'};
distant wraith
#

Anyways

#

How can I use third party libraries in C++? 🥺

next lotus
#

thats broad question

#

do you mean a dll, a header file or something else

#

i have better idea

#

download visual studio and do c# instead

distant wraith
#

We all gotta start somewhere

barren shale
orchid frigate
#

Awful

#

Dont use them

#

Ever

#

In c++

orchid frigate
distant wraith
orchid frigate
#

There are two ways to use files in c++

#
  1. Header files
#
  1. Linking libraries with externs aka ffi
#

You will rarely need to use ffi because header files are simpler

#

But anyway I came here for a different reason

#

Everyone that knows ai stuff here

#

This is a question to you

#

Yall know geometry dash right

#

How would one go about creating an ai or bot which completes the level on its own

knotty root
knotty root
#

Anyway I'm actually studying to make my own Minecraft mod

main brook
#

not possible haydot

orchid frigate
main brook
#

it'll get confused on the amount of blocks a level these days had

#

plus

#

you can do some client side change on the level and it would work in game and in server

#

not relevant but you can put more than 30k objects

orchid frigate
#

I could bot levels but that takes like

#

Hours if the level is hard

#

Damn ai not advanced enough

#

Smh

#

How will ai terrorise the world if it can't beat fingerdash on its own

#

Anyway @main brook I was gonna ask you

#

So

#

I fucked up my partition sizes again with arch

#

I gave way too little space to home and dont have space for shit

#

I can resize both root and home it I unmount them right

next lotus
#

isnt it redundant to int[] gaming = new int[] {12, 69};

next lotus
#

how do you know me

#

im adaf btw lmao

next lotus
main brook
#

haha funny

next lotus
#

whats funny

main brook
#

is it using gpt partition table

#

also haydot

orchid frigate
#

Its better to know what data types you are using

#

Concrete

main brook
#

just create a single partition for root and home

orchid frigate
#

Especially with bits

main brook
#

if you keep fuckin up

orchid frigate
#

Uints

next lotus
#

ide will tell it anyways

main brook
#

ext4 on /

#

and just do that

next lotus
#

look at that

orchid frigate
#

Wait wait guys

#

I cant keep up with the both of you

#

One at a time

#

Ok so I think im gpt

#

But like if I resize

#

I wont lose my shit right because

#

That means I will just reinstall

orchid frigate
#

You always gotta know

#

What int you are using

#

Is it unsigned

#

What bits

#

Otherwise it will just default to int32 I think

next lotus
#

oh then

#

69L for long, 69f for float

barren shale
orchid frigate
#

Wait

barren shale
#

its a game about precision

orchid frigate
#

@next lotus you said you did it

barren shale
#

ai's favorite type of games

orchid frigate
#

The ai

#

No way

next lotus
main brook
#

right

next lotus
#

well....

orchid frigate
#

NO WAY

next lotus
#

not really ai

orchid frigate
#

I need details

next lotus
#

wait look

orchid frigate
#

Can it beat levels like ballistic wistfully

next lotus
#

Download XBot Reborn (2020.4):
http://raboninco.com/1cOkh

Old (2020.4): http://raboninco.com/1V2Ts
(more links soon)

[Music]
Porter Robinson - Language: https://www.youtube.com/watch?v=EF7oP2thG1M

Ctr + R will restart/start macro recording.
F10 will stop and save the macro.
Ctrl + S will stop but not save the macro.

macro sharing server now ...

▶ Play video
#

this is the

#

very old

orchid frigate
#

Ah you mean this

next lotus
#

basically you just have to hover the mouse over the game

#

ok do you need an actual ai

#

there is one

orchid frigate
#

No no no I mean like it actually beats it without you having to record the macro

next lotus
#

there is one

orchid frigate
#

I have used zbot and another tool

next lotus
#

but its more of a bruteforce ai it just does random clicks and records the farthest position

#

here it is

orchid frigate
#

Thats gonna take a while

next lotus
#

its kinda machine learning too in a sense

#

but very slow af

barren shale
#

just tell openai to make a deep q learning ai that can play this game

#

they made an ai that can play dota 2

#

so this should be a breeze

next lotus
#

i actually had an idea to make a bruteforce bot that does it at millions per try per second

orchid frigate
#

Imagine you tell it to play ballistic wistfully

#

10000 years+

orchid frigate
barren shale
#

the game is complicated enough

#

to the point that even if you know ai

next lotus
#

you dont need ai

#

for gd

barren shale
#

you need a really good machine to train it fast enough

next lotus
#

you just have to calculate the physics and brutefroce a macro

barren shale
orchid frigate
#

But bruteforcing will take forever

barren shale
#

AI will be able to solve levels it never saw

next lotus
#

like for ex. when a player jump does it have a spike along the way? etc. etc.

barren shale
#

if it has enough experience

orchid frigate
#

I have been thinking if it can see the hitboxes

next lotus
orchid frigate
#

Cant it lile

#

Easely avoid them

next lotus
#

what if a level is full of long fake routes that makes the player die at the end

#

bruteforce is faster

barren shale
#

yeah

#

but that's not typical

#

and you just need a ltsm ai

#

so it can remember

#

that the route is fake

#

ofc this will take years to train

#

unless ur elon musk

next lotus
barren shale
#

because after you train it

#

it can solve any level

#

also its way more interesting

next lotus
#

yeah ngl its way more intersting

orchid frigate
#

What about the hitbox idea

#

If it can see the hitboxes wont it be easier

next lotus
#

check this guy

#

he is

#

one of my biggest competitor

#

april fools video

#

but like this is what gd ai will look like

barren shale
#

oh

#

it looks like a pather

next lotus
#

this is what im talking about

#

bruteforce method

barren shale
#

just some rules and some pathing

next lotus
#

yes

#

imagine something like

barren shale
#

bruteforcing on the way

next lotus
#

900 threads doing this

barren shale
#

oh

next lotus
#

like 900 players on the same level doing this

orchid frigate
#

Wait how will you do bruteforcing

#

Will it click like

#

Every millisecond

#

Or smt

#

Every frame ig

next lotus
#

i think every frame

orchid frigate
#

Tbh

#

I can see that working

#

Pretty well

next lotus
#

ai can also work

#

i mean its good at predicting

#

and maybe if you feed it the level's objects and their positions

#

it can uh

main brook
#

haydot

#

can't arch just install on filesystem like

#

ext4 /
fat32 /boot/efi

#

then you'll have very flexible /home and /

orchid frigate
#

Im not sure what you mean

#

Every mount has a filesystem on its own?

main brook
#

uh yes?

orchid frigate
#

I think so

main brook
#

well fs as in the filesystem

#

ext4/fat/exFat

orchid frigate
#

But both my /home and /mnt are ext4

main brook
#

what

#

why are you manually partitioning /mnt

#

but like

orchid frigate
#

Because

#

Arch

main brook
#

you can combine /home with /

#

most linux allows that

#

so instead of

#

sda1 /
sda2 /home

#

just

#

sda1 /

orchid frigate
#

So /home is inside of /

main brook
#

yes

#

basically just ignore /home partition

#

its one with /

orchid frigate
#

Personally I dont see that being a problem

main brook
#

i personally do

#

because arch is unstable

#

and constant system changes

#

that's why some people separate / and /home

orchid frigate
#

Wait wait wait

#

If I do that

#

Wont permissions get fucked up

main brook
#

nah its still the same

orchid frigate
#

I feel like my user will get locked out of home

#

Ah

#

Good

main brook
#

it probably would

#

but you'll need a media to transfer the files

orchid frigate
#

I do

main brook
#

nice

#

well goodluck fucking this up

orchid frigate
#

Im installing manjaro on a usb rn to do the partitioning

#

Manjaro because

#

Every other distro is huge

main brook
#

manjaro with kde is

#

2gb

#

on iso file alone

#

but you should do

orchid frigate
main brook
#

sda1 fat32 /boot/efi
sda2 ext4 /
sda3 swp

#

or something

orchid frigate
#

Idk if cfdisk will do the job otherwise

main brook
#

cfdisk works the same

#

i personally prefer cfdisk

orchid frigate
#

Well graphics is always better

main brook
#

cfdisk have a graphic

#

terminal ui

orchid frigate
#

Idk gparted feels safer plus I can always just switch it I need to

orchid frigate
#

But im waaay too lazy to set all this up

main brook
#

yes you should

#

OR YOU KNOW

#

qemu

orchid frigate
#

This would take hours

main brook
#

no why

#

just use any small distro

orchid frigate
main brook
#

fair opinion

orchid frigate
#

I have seen how unstable it is

orchid frigate
main brook
#

how

#

H O W

orchid frigate
#

Plus even if I fuck up my current installation

main brook
#

lubuntu takes like 1 hour

#

for me

#

and i use a hdd

orchid frigate
#

I installed it like 3 days ago

orchid frigate
#

Im willing to risk it

main brook
#

o

orchid frigate
#

Also I have never known that kde plasma is so cool

main brook
#

Just use terminal

#

its just for testing anyway

orchid frigate
#

Arch doesn't feel like an unfinished distro with plasma

#

Like it does otherwise

main brook
#

ITS FOR TESTING

orchid frigate
#

Idc I like it so I'm keeping it

#

My computer has only frozen from it like

#

7 times

#

Thats a wr for arch

main brook
orchid frigate
#

Arch is not fun

#

But its more fun than the finished diatros

#

Because you get extra side quests every time something gets fucked up

main brook
#

you really prefer unstable, hard to fix, always screwed, need more maintenance

orchid frigate
#

I tried mint

#

Ran it for a few months

#

But I got a major case of being bored of it

#

Nothing ever happened

#

I was able to code in peace

main brook
#

it is made for consumer grade

orchid frigate
#

Thats so fucking boring

#

It felt like a usable os

#

And fuck that I need side quests

main brook
#

haydot

#

you like fucked up things

#

don't you

orchid frigate
#

Yes

#

I like fixing things

#

Because

#

Ngl the code I do is boring af

#

Im bored out of my mind from oss

#

Its just data structures

#

Memory management

#

Registers

#

Nothing I can actually see

main brook
#

fix me

orchid frigate
#

Are you an os?

main brook
#

yes

orchid frigate
#

ReiOS

#

Now with graphics support

#

Bro why is the only tool that arch has easy access to multiwriter for isos

#

Burning this is taking forever

#

Everything in arch is breaking even yay is corrupted af

#

My cargo broke

#

Pacman js acting weird

#

I hate arch now

#

Character development

#

BRO MANJARO IS SICK WHAT

#

How have I never known about this

#

Alright Im switching idc about arch anymore its lame

main brook
#

average haydot

orchid frigate
#

As soon as I saw the colorful shell

#

I decided

main brook
#

haydot

#

you can fucking do that yourself

orchid frigate
#

That's how easy it is to change my mind

orchid frigate
#

But its lame when I do it

rose pawn
#

Is bill gatsw dud still here

orchid frigate
#

When it's like that by default

#

You know the distro is good

#

Idc im deleting the current arch partitions rn

main brook
orchid frigate
#

Manjaro is the only os im using from now on

#

Until I dont find a distro with better shell

#

By default

main brook
#

me

orchid frigate
#

Gparted is giving me the option to resize

#

It wants me to rething my desisions

main brook
#

yes

#

because got

#

gpt

#

once forever

orchid frigate
#

Nah I'm not switching

#

I have to rebuild the cross gcc compiler

#

And thats a process I dont wanna have to do again in my lifetime

main brook
#

eh

orchid frigate
#

Im way too easily influenced by everything

#

But idc

#

So new root size

#

Hmmmm

main brook
#

i would suggest

#

make efi boot partition

#

and then swp

#

and the rest yours

orchid frigate
#

I already have efi and swap

main brook
#

good

#

just resize your / to take all

orchid frigate
#

Actually I have two swaps

main brook
#

that bif

#

big

orchid frigate
#

For some reason

main brook
#

juicy

#

meaty

#

*bite lips*

orchid frigate
main brook
#

bytes

orchid frigate
#

I had 170 gb to root

main brook
#

i thought you're gonna use / for /home

orchid frigate
#

And 25 to home

orchid frigate
main brook
#

lose all your user data

orchid frigate
#

What

#

No

#

Dont make me rebuild the cross compiler

#

I still have flashbacks

#

110gb to root

#

Rest to home

main brook
#

then just resize

#

and remember to efs2chk

#

or something

#

and to reread your partition

orchid frigate
torpid isle
#

Jass > any other coding language

main brook
#

there's a command i forgot

orchid frigate
#

Wait by resizing

main brook
#

ef2check /dev/sdaX

orchid frigate
#

I wont lose anythint

#

Will I

main brook
#

no

#

if you shorten

#

yes

#

if you lengthen no

orchid frigate
#

Goddamnit

#

I will shorten root

main brook
#

you just need to check disk file

#

and see if everything works

#

if not

#

you can always revert

orchid frigate
#

Rei what will happen if I shorten root

#

By 60gb

fleet sparrowBOT
#

dynoError The Fun module is disabled in this server.

main brook
#

@orchid frigate what's output of df -h

torpid isle
#

@tawny hedge Don't spam and speak english in here.

main brook
#

@tawny hedge english only please

torpid isle
main brook
#

haydot

#

try df -h

#

i wanna see

orchid frigate
#

Cowspace

#

Why do I have a cow farm in my pc smh

#

I was wondering why am getting frame drops

main brook
#

why is it overlay

#

are you running on iso file

orchid frigate
#

Yes

#

I told you im not downloading manjaro

#

I just use it to partition

main brook
#

what about your original arch

#

you need to do df -h on there

orchid frigate
#

Do you want lsblk

#

I dont wanna have to reboot

#

I think im gonna do this later because I was supposed to go somewhere

#

2 hours ago

main brook
#

sure

cloud solar
orchid frigate
#

@main brook the colorful keyboard was too good

#

And the time was very limited

#

So I just installed manjaro

main brook
#

took you long enough to respond

orchid frigate
#

And erased the shit out arch

#

Now that I have done that

#

I can safely go school shopping for everything 2 days before school starts

main brook
#

nice

#

i just got to school today

#

and got back home after 2 hours

#

turns out im not ready for school yet, still sick

orchid frigate
#

Stay home

#

Enjoy linux

#

Also im already bored of manjaro

#

Thinking of changing rn

orchid frigate
amber monolith
#

that’s incredible

#

that you can teach an ai to beat something with so many different outcomes

#

Like blues can either be good or bad

main brook
#

holy shit

#

looks legit but

#

mostly wrong ways

timid field
next lotus
#

looks

#

fake

#

wait no

#

this

#

this is real

wet girder
# timid field

I've been designing an inventory system in unity with scritableobjects and I sure damn hope my codebase won't be messy. I've used 6 hours a day for 3 days so far just for fucking planning

#

I made nice architecture documentation and all

#

Because it was required as it's a school project

timid field
#

Sometimes if i code alot and dont do organizing early on i feel its too late to make proper organizing

#

This is for me but if i do organize at the beginning it becomes easy

#

This situation is probably different for some people

hasty summit
#

Is it possible to change character sprites on worldbox? (I'm on mobile btw)

wet girder
#

Not that I know of

#

modding on phone is next to impossible

#

It's not fully impossible

#

but you'll have my respect if you manage to do it

wet girder
#

Anything is possible if you try hard enough

orchid frigate
#

Why would mods not work on mobile anyway

#

Oh right

#

Root

#

And stupid file permissions

#

I hate how locked phones are

#

It feels like im using only 10% of my phone's functionality

sand flame
knotty root
#

?

orchid frigate
#

@knotty root you have kernel in your name

#

Are you an os dev

craggy nebula
#

call the fire department, we just nuked the building

barren shale
#

colonel is pronounced kernel

#

stupid noob

errant trail
#

so colognel is pronounced like "colonel" (because cologne is "colone")

#

colonel is pronounced "kernel"
colognel is pronounced "colonel" (because cologne is "colone")

but what is pronounced like "colognel"

#

if no word is pronounced like "colognel" then the following statement is true:

colognel = (nothing)

#

but kernel = colonel = colognel

#

so kernel doesnt actually have a pronunciation

#

therefore

errant trail
barren shale
#

smh

#

kernel is pronounced kernel

#

another stupid noob

errant trail
#

where is your proof

#

🧾

barren shale
#

colognel isnt a word

errant trail
barren shale
#

"colognel is pronounced "colonel" (because cologne is "colone")"

#

this is the most

#

stupid

#

statement

#

ive

#

ever seen

#

does beard sound like bear with a d?

#

dont think so

#

noob

main brook
#

male bear have d

errant trail
#

that is one of the many "special cases" English makes in the resulting effect of English being a mixture of many different and diverse in language groups and culture of peoples that uses it 🤓

hot moat
main brook
#

i touch grass everyday

next lotus
#

guys i just

#

i just realized

#

++i and i++ is not the same wtf

main brook
#

++i adds it and then return value

#

i++ returns first and then add

barren shale
#

Bro

#

U that stupid???

next lotus
#

iv been coding for

#

8 years

#

and i didnt notice

barren shale
#

8 years and ur still that bad

#

Smh

next lotus
#

why :(

untold laurel
#

Wtf

#

Whyy

barren shale
#

imagine being stupid

#

and asking in a channel

#

that's compeletly unrelated

#

to the question

#

imagine

#

lmao

orchid frigate
#

Hamza learned the work stupid recently

#

He is growing so fast

#

I remember just yesterday he was your moming everyone

#

🥲

barren shale
#

such stupid

wet girder
rose pawn
#

Hey bill gates

#

If u like c sharp so much

#

Then why dont you marry it

timid field
#

Its too Sharp

#

He will pop like a balloon if he tries to hug

next lotus
main brook
#

i pronounce C# as C hashtag

errant trail
old mural
#

In worldbox code is there a class for weapons

barren shale
#

maybe

#

maybe

#

maybe

#

maybe?

old mural
#

Ok

barren shale
old mural
#

Oh

#

Yeet

knotty root
#

Hello, I came here a few months ago, but now I am a newcomer.

next lotus
#

fards

rose pawn
#

C# is 22 years old

#

So its not underage

#

You might be

next lotus
#

put c# to jail

#

he tried to marry me

orchid frigate
#

God fucking damnit debian tricked me

#

I thought it was good

#

But it sucks

#

Installing graphics drivers is pain

#

And the os by itself is mid at best

#

At this point I have tried so many distros I dont even know what to download next

tired current
#

Hey, fellow coders

#

I am a newbie when it comes to coding

#

But I know a little web development

#

I have a problem though, and I want to know if y'all could help me

#

How do you save data to your website so that it stays there even if you reload or edit the website?

amber monolith
#

a database

tired current
#

Thx

knotty root
#

@errant trail @barren shale @orchid frigate my username would be pronounced kernel kernel, one being a piece of corn and colonel being a military rank

orchid frigate
#

No os kernel?

#

Smh

#

Disappointed

river axle
celest isle
rose pawn
#

Guys i think its pronounced see sharp

main brook
#

always has been

plain merlin
#

Ні

orchid frigate
#

No you idiots its pronounced

next lotus
#

bascially

#

u store everything on the user's end

tired current
rose pawn
#

Hey guys wanna hear a joke that you wont get?

#

A man says "scan the room"

#

The other man responds "why would a dürüm do that"

barren shale
rose pawn
#

That wasn't a question

#

Also hamza you always respond negatively to me

tired current
#

Yay

#

Thx

barren shale
tight perch
#

sea shanty

rose pawn
#

Damn daniell

#

Ur pfp is my old pfp

#

I miss it

rose pawn
#

But i wasn't talking about it when i said that wasnt a question 😎😎😎😎😎😎

barren shale
#

so what you're saying

#

is that you're

#

stupid

#

because

rose pawn
barren shale
#

the reply was to the question

rose pawn
#

I was just saying a lyric from a song that i dont remember the name of

#

And you canr prove me wrong

barren shale
#

k bye

rose pawn
#

Bye ham

orchid frigate
#

Cant you easily bypass purchases

barren shale
#

you'd store a token

#

which needs to validated

#

its not just true or false

orchid frigate
#

Yes

#

But

#

There is a token check

#

You have done reverse engineering you know what im talking about

wet girder
#

You could do it safe but it's dumb for whole fleet of other reasons

amber monolith
#

does anyone know if objects in python are pointers to objects or just containers

tired current
#

Wait so cookies would work without a risk of the user bypassing?

#

The reason I want to use cookies is because I'm not rich enough to have a lot of people log on at once and overload my poor server

next lotus
#

i was

#

being sarcastic

tired current
#

What?

#

I'm so confused

#

Can someone tell me what I should do?

next lotus
#

use database

#

are you using php

tired current
#

Nope

next lotus
#

what are you using at the backend

errant trail
#
        this.reserve = this.supply * 0.2;
        this.supply = this.production - this.load;
        this.load *= 0;
        if (states[this.s].money < 100000 && this.supply > 0) {
            this.supply /= 2;
            states[this.s].money += this.supply;
        }
        let x = (Math.round(Math.random() * 2) + this.x + 48) % 49;
        let y = (Math.round(Math.random() * 2) + this.y + 48) % 49;

        if ((map[x][y].s != this.s || map[x][y].supply < 1 || map[x][y].supply < map[this.source[0]][this.source[1]].supply) && map[this.source[0]][this.source[1]].s == this.s) {
            x = this.source[0];
            y = this.source[1];
        }
        this.supply += map[x][y].supply * 0.7;
        this.load += this.unit / 10000;
        if (this.supply > 50) this.supply = 50;
        this.supply -= this.unit / 10000 - this.reserve;
        if (this.supply < 0.5) this.unit *= 0.8;
        if (this.supply < 0) this.load -= this.supply;
        map[x][y].load += this.load * 0.95;
        this.source = [x, y];
        if(this.supply < 0) this.supply = 0;
```me when the
#

oh yeah this code doesnt work

errant trail
#

😭

next lotus
#

please dont tell me this is inside an update function

hollow bronze
#

use comments please I beg

barren shale
#

nah

#

comments are trash

#

never use comments

#

you dont understand

#

because there's no context

#

also some bad variable naming

timid field
#

Cool and creepy at the same time

orchid frigate
#

It really got the average roblox dev right 💀

tidal elbow
#

if it's an array or an instance, they're pointers

#

if it's any other primitive type, it's immutable and is cloned

barren shale
#

containers are objects that hold more than one object

#

there are no pointers in python

#

i mean there are pointers

#

but they are only used for referencing

#

you cant use them like you do in c++

tidal elbow
#

My.bad, should have explained that yeah

#

Theyre 'pointers', modifying them modifies the original variable

#

Reference vs value based parameters

#

Why you should never set a list as a default value for a parameter of a function in python

#

And instead should do if xx is None

barren shale
#

yeah but python does not have value types

#

everything is a reference type

#

makes it simpler

amber monolith
#

I mean like if I have an object inside an object saved as smth like

#

this.object

#

then if I change a value of that then will it change the object in the object array

#

That I took it from

#

That’s what I mean by pointer

barren shale
#

yeah

#

it will

#

everything is a reference type

#

so anything will change everywhere

runic hare
#

👍

steep fiber
timid field
#

Nice

#

U r from fullo's server too

steep fiber
#

yes

#

lxgit

#

very cool

timid field
#

Very nice

steep fiber
#

👍

next lotus
#

do you guys

#

hate dealing with pointers?

#

i have good news for you

#

🤚 c# ✋

main brook
#

its just object reference

#

for str, int and its subtypes

#

they're not referenced

#

so yes immutable

#

and technically everything is an object

orchid frigate
#

Pointers are the best thing in programming

#

All hail pointers

next lotus
#

yes but there are languages that

#

automaticLly handle that

tidal elbow
orchid frigate
#

The only thing I hate about the language

#

Other than macros

#

Or marco syntax

#

And inline assembly but that's easily replaceable

tired current
#

Hey yall

#

What extensions should I install in vs code when using HTML, CSS, and JavaScript?

barren shale
#

for formating

#

but you dont really need anything else

tired current
#

So I don't need to install live server?

barren shale
#

i dont use it personally

timid field
#

console.log("cheese")

undone apex
#

Hoi4 command "its time for operation Moscow" and that's instantly train all divisions

next lotus
#

what is

#

rust borrowing?

#

does it automatically free all resources inside a code block when the code block exits?

orchid frigate
#

I dont know what it does because I dont give a shit

#

Similar to any garbage collection service

#

But its annoying af sometimes

#

Its like if I want to write unsafe code

#

Let me write unsafe code

#

I know what im doing

next lotus
#

alr then its similar to c# gc it does the same

orchid frigate
#

Actually no

#

It doesn't use a garbage collector

#

Google says it uses complex type systems

#

Rust is weird because it calls itself a systems language and it is pretty low level

#

Yet it does everything like a high level language

#

And prioritizes safety

next lotus
#

wait a second i have

#

question

#

c++

#

like if you have

#
{
  int i = 0;
}
int x = 0;
``` does `i` automatically get freed
#

once run exits the code block i is in?

#

or do you have to manually dispose it

orchid frigate
#

I have never done any mm in c/c++ in my life

orchid frigate
#

But dont you only have to free if you actually used up memory

#

So if you used a pointer

#

Or malloced some space

tidal elbow
#

And pointers are still accessible within unsafe blocks

#

Just need to be sure what you're doing

orchid frigate
#

Ik but

#

Still annoying

orchid frigate
#

If beginner programmers cant solve what a memory address is that doesn't mean we should just erase them leaving them as a secondary feature

orchid frigate
#

Its annoying to have to put an unsafe block for every tiny use of pointers

tidal elbow
#

Because you shouldnt have to use pointers

#

Borrows are a perfect replacement and are far safer

#

Pointers are far from necessary

tidal elbow
#

Theyre dangerous if youre not careful enough with your code

barren shale
#

rust is very strict that's why it does not need garbage collection

#

it will not let you write code that requires garbage collection

tight perch
#

hacks roblox

#

**e~

orchid frigate
#

Or pass a structure so that another function can modify it

#

Or work with graphics

#

Or make anything low level

#

I swear the programming industry pisses on low level stuff as much as possible

#

Thats why I dont wanna be a part of it and be a hobbyist

tidal elbow
#

graphics is easy

#

even with opengl

#

i used rust to run shaders

#

for a simulation

#

it's super easy to do low level

orchid frigate
#

I know

#

You could say im a

#

Veteran at rust

#

I know its ins and outs

#

Have used everything from lazy statics to vulkano

#

But still

#

They shouldn't have made the language so safe and strict

crisp rock
#

i created an abomination

timid field
normal flicker
#

any beginner backend devs?, no expierience or anything, im just looking for a backend dev for a short project

orchid frigate
#

Im the best here at backend

#

With my 3 minutes of reading articles and getting bored

barren shale
normal flicker
#

umm well, sure but im just learning frontend

barren shale
#

well if i can do the backend in a couple of hours ill do it

#

otherwise i dont really have time

normal flicker
#

oh ok

#

well

#

its on replit

barren shale
#

what is

normal flicker
#

my website

#

that

#

im

normal flicker
#

trying to code

barren shale
#

i do the backend

orchid frigate
#

@barren shale im gaining interest in backend

#

What do I need to learn

barren shale
#

C#

#

backend is all about clean code

#

and good architecture

orchid frigate
#

Yes

#

I know c#

#

But

#

Like

#

I mean actual knowledge

orchid frigate
#

I like architectures

barren shale
#

architecture is just a fancy word for design

orchid frigate
#

Ok yes

#

But I mean like

orchid frigate
#

Theory wise

barren shale
#

you can follow this map

barren shale
#

watch a couple of 5 hours videos

#

and that should do

#

also watching this guy

#

like the whole channel

#

helps