#⌨coders-cave
1 messages · Page 72 of 1
Did it win yet?
it won 7 games out of 8
but that's the same score of the V1 in its first 8 games
it needs to play more games before we know the real score of it
okeh it won its 9th game
its doing pretty good ngl
okey its better
but not that much
still losing games because of stupid things
That's still impressive tho!
Mr Stark, i don't feel so good. Did you unlaugh thanos when he snap
yeah 
its mostly finding the right settings
the strategy seems good
but the settings need tuning
omg
its actually doing very good
i just looked at its score
and it reached 1k :OOO
v1 is stull stuck at 890
V2 is still better so isn't that all that matters lol
I can't install Visual Studio on my school laptop as I don't have admin perms on this :(
I think I am gonna message the help desk and see if they can get it for me as I study software development
yea i just expected more out of it

like the good dad i am
lol
im working on V3
i made it super aggressive and its destroying V2
wow
making is aggressive seems to be very good
Goodluck!
:OOO
Wish You beat people ass bots to
Yey! Always happy to support
what does the bot even play?
ooh nice
Coding is basically screaming at a screen for a few hours
If you were to put a code here, will it run?
No
How would it run
If its a high level language yoy need a compiler to run code
For a low level language you need an assembler
Which discord doesnt have
you messed up
What happened to your account lol
Ah...
so yeah
25 games of V1 vs V3
guess who won

lets try 25 of V2 vs V3
quite good
some tweaking and now it destroyed V2 so hard

RELEASE TIME :OOOO
after a bit of testing ofc
Nice!
okeh
bot seems to be doing well
time FOR REALASE
ofc first upload fails
as always 
literally always
imagine it loses its first match
i would cry
:X
okeh it won its first game
:OOOOOOOOOO
V3 is already 1k
never lost a match
:OOOOOOOOOOOOOOOOOOOOOOOOO
NOOO
it lost its first match :(
oh its lost cuz of randomness
okeh it lost again

buts its doing alright
sustaining the 1k score
V2 got to 1k then fell down to 950-930
V3 is getting to the 980-1030
You should try to make V3 compete with V3
it would be just a 50 50
@barren shale hi hamza
ello
Hamza is almost like Yeet but better

Ah,ow not ML?
Ow, That's honestly works well to :o, You're really smart to be honest
ty 
i might try to use a genetic algorithim
to get the best rating settings for the resource cluster rating
i have to rate every resource cluster and then make untis go to the best one
maybe for V4 :O
Genetic algorthim incoming
_0 is the default settings
the rest are random
wtf
wtf
wtf
the default settings are not even winning
WHAT
my default settings are bad

i thought every other setting would be very bad since they are random
turns out i got some good random numbers
Underlines make me sick
Good rng pog
turns out its rng
and the default settings went back to the top
currently doing the second generation
Me when good rng
https://c.tenor.com/mfe3zlV4uZUAAAAM/ron-clark-academy-jaycob.gif
hi
Coding haram
coding halal
ooa ooa aha\
I wonder if there will be hacktoberfest this year
oh wait is it already October
It is
shit I'm late to it again
I'mma do some research and try and do 4 hacktoberfest prs this month
...
@knotty root #🤖bot-commands
Im going to switch from pascal to c++, any tips?
you're insane
both are bad
go with C#
its THE WAY

jk
if you dont have a reason to switch and are just bored
dont switch
that's my tip
cuz you will go back to pascal after realizing that you have no experince in c++ and you have a lot in pascal
Idk, the for loops seem more convenient than pascal
Wow Hamza saying something other than C# good everything else bad.
What a character arc.
that's not a reason to switch or not

SNAKE AI WITH REINFORCEMENT LEARNING
HELL YEA
SNEEEKKKK
LEARNING GOES BRRRRRRRRRRRR
Kaggle Challenge?
RL is when you dont have the data

you let the agent play the game and gather data
and learn from it
haHAA
cringe ikr
no
yes
no
yes
That's ML
Or im missing something, You're doing RL in a different approach
reinforcement learning is machine learning
reinforcement learning is a type of machine learning
reinforcement learning is when you let an agent play and learn from playing
what
what
does none know what rl means
Reinforcement learning (RL) is an area of machine learning concerned with how intelligent agents ought to take actions in an environment in order to maximize the notion of cumulative reward.[1] Reinforcement learning is one of three basic machine learning paradigms, alongside supervised learning and unsupervised learning.
you put the agent in the game
when it does good you give it a reward
when it does bad you give it a punishment (negative reward)
it learns
by trying to maximize the reward
if snake eats apple or get close to apple
reward
if snake hits a wall or get away from the apple
punishment
snake learns
even a first grader would understand

No
RL is part of ML, and This rewarding and punishing the agent/system Can be both RL and ML
The way hamza word it earlier 
Нi
rewarding and punishing is the meaning of RL
so it cant be ML

An elite group of people who speak in a strange code. If you don't understand what we're saying then it's best that you stay away. Bad things happen when you start understanding.
@faint sierra #💡game-suggestions
everyone in this channel is just a random guy who sits on their computer for way too luch
I’m just asking can u add it
Jus keep it on topic. In here we talk about programming. #🌎general is gor general discussion and #🌋worldbox-chat is dor WorldBox discussion for example discussing ideas
You can also do ~vote suggestionhere to suggest something to be added to the game
I don't, Maxim and mastef do
You can suggest it the way I explained above. They're both very busy people
Oh
every game dev will eventually run out of ideas and that's when suggestions come to hand
they may or may not read them
but it doesnt hurt to suggest


Possibility to assign traits of all kinds in the game (for example, like the blessing).
For this it would only need an extra menu. It would be very useful - especially for iOS players and would allow much more intervention.
if this is a suggestion then suggest it using the command and do not type it here
this channel is only for coding/programming related topics as the topic of this room says
Who knows python coding language 🐍? (Even if is a little bit (like me lol))
Who knows how to solve the error when starting unity 2019.2.11f1_5f859a4cfee5
everyone
none
You should just google that
I don’t think there is a way to fix that error
You guys really need better catchphrases (auto ones) for world box's kingdoms -_-
Like these
Bread is the way"
With body we go"
And
Hold my bread"
Nah just kidding
They're funny and I keep them for fun
"Abandon pain, destroy fear, forever updog"
Also go to #🌋worldbox-chat with that.
Why tf do people read "hmmm coders cave" and think "yea lets talk about worldbox suggestions in here"
Also @barren shale how is rust going
Did you not like the language
Ok 👍
Is it a dificulte coding language? (The c++ and the c#)
Nope
I would say they are actually pretty easy
If i can code in them anyone can
That being said, it really matters difficult for what
You see, these languages are kinda low level(atleast c++)
Meaning doing anything in them is harder then in other languages
And you will have to learn pointers for cpp which is...not fun
Indeed. The learning curve is pretty high. You'll probably be doing a lot of research and learning lots of terminology and use-cases before you really get the hang of it, but it can be very rewarding upon doing so. What C++ lacks in simplicity, it easily makes up for in speed and customizability.
Assembly is even harder than C++ but is even faster and even more customizable... at a non-proportional rate. Assembly is incredibly, ungodly difficult, so it's best to start with something else.
how much coding do i need to learn to make a mod
🤷♂️
Eh
Assembly aint that hard
If you read about it you should be fine
What is hard is memorising every BIOS interupt there is
Which is, indeed ungodly difficult
And then realising that you can only use them in 16 bit real mode 🥲
So you gotta make drivers now
And there is no documentation
Everything is unfinished and has been fir 20 fucking years
Not a lot if you get help and have motivation but I'd recommend to know how Unity works and basics of C# as minimum
But anyway i actually came here to complain about web development being too popular
So now that i have done that, im out
#🔧modding-talk probably they would know
Assembly is literally the lowest level you can go. At least with C/C++ you can use them as a high level language (and it's kind of a goal if you're going to make large projects). With assembly, you're forced to work at the lowest level of abstraction constantly. It's draining as hell. Even a simple console "Hello, World!" is involved as fuck. Even C, which doesn't support OOP and is still low level, has an easy hello world program.
In most things, difficulty is subjective, but with assembly, stuff gets different.
Learning assembly is like taking AP Calc and you haven't even completed Elementary School.
Nothing can prepare you enough for Assembly.
i dont think learning assembly is so hard
its just using it
takes a lot of time
to do little things
Its fun as all hell tho
Like im actually thinking of not using c for a kernel
But doing it straight from assembly if possible
Its not going to be very different either way so
Thankfully i have prepared
My strategy to learning something new is to re-write it over and over until i dont start understanding it
Make progress get stuck rewrite repeat
Slow but effective
Hello world doesn't really exist in assembly
Yea you can use the VGA buffer or the BIOS interupt if you are still in real mode but its not really worth it
God i wish i could make an os in 16 bit mode and not have to worry about drivers 🥲
So much easier
my mans working on templeOS2?
I want an environment to run my assembly before I start trying to write an OS.
Unfortunately that just isn't an option for me right now.
So I'm gonna stick with C/C++.
But I do plan on learning assembly because I think it's interesting.
Coders Cave
Yes
Hi
Hello.
Yum
Yooooooooooo

Ah yes..... the nerd cave
with stooopid people like you who cant spell

Lmao
the only reason I wanna make an os is learning
it's pretty interesting if you actually read about it
and who knows maybe os development will be a pretty big thing in the future
How to make a pole
os development
big thing
like hardware development
required years of work to get to this stage
that's why you dont see any other companies make CPUs like AMD and Intel
cuz they dont know how
that's why im saying
its unpractical
I feel like that isn't the problem
If you wanna do something, you will learn how to do it
I'm also curious if there is any plan for apple silicon support in the future for MacOS
Tbh i dont know but the devs are probably working on it
Yea because they use unity
And if they're making changes to the code it might be worthwhile to transition to the universal or Apple silicon architecture
As i was saying, the main reason is probably that its not needed for a new company to make CPUs because there are already companies doing it
Which sucks
Is anyone on the server in direct contact with the developers or no
I wonder how do you make a game be compatible with different OSs in unity
You don't have access to the graphics API so its going to be real difficult without it
Well it's a translation language
Made by apple
So you code in one place and it works across multiple platforms
Pog
Yea i get it but the graphics API is problematic, different APIs support different OSs
Oh I see
Metal for apple, opengl for... everything and vulkan for everything kinda
Well apples going to end Intel support sooner or later, so they're going to have to figure out something
Or just drop the Mac platform altogether
I mean that would be a very long time into the future
Vulkan seems like a promising platform
Yea the problem is
I mean... we'll see what happens
Its stupidity difficult
Yea
Compared to its older relative opengl
And you have to make all the compatibility code yourself
Wow
See the thing is, I have the M1 macbook air
And everything in world box has to run through Rosetta 2
Since it's the Intel architecture
And it has to actively translate the code
No it's a built in tool made by Apple to run Intel apps on Apple silicon
For all M1 devices
Ah i get it
Do any Y'all watch WWDC?
Haven't really touched anything apple so idk much about it
Not me
Is it OK if I spend time explaining or would you like me to leave it
If I'm being annoying
So apple last year
Announced that Apple would transition Intel to their own custom architecture on their Mac platform
They had been making their own custom chips etc for 10 years at that point
For the iPad and iPhone
They really wanna be independent huh
I see many problems with that
And Intel has kinda been garbage for a couple years due to failing promises
Explain
Firstly this is a very new thing so at first there arent going to be many different models
At the beginning yea
Which will make customisation very difficult
For the user
Idk how mac computers work but I imagine you can change parts
So there's already 4 macs that are powered by the M1
Which is apples own chip
Apples been making it harder and harder to change parts within the Mac for years now
It's kinda like iPhone at this point
Which sucks
Because then the parts are Integrated better
Well ppl that buy Mac because they have to
For final cut and all the professionals
One part breaks you have to change entire pc and buy a mac again
So you switch to something different
Noones gonna wanna keep buying a new pc every time
Oh
Sorry
Well that just seems evil from mac
I had to talk
I'm back now
Oh you meant..ok
Yea so
I misunderstood you
It's also a preference thing
Most people like Mac because of its software
Their hardware used to be superior
Like 10 years ago
Yea macOS is pretty good from what i have heard
But not anymore
On the level of linux
The files system is so much better
Any file system is better than windows
Or on anything other then windows
But os installation has been scaring me alot
Is because of battery life
The M1 is the highest power per watt chip the in the market. Period
Not the most powerful
Just the most efficient
And on top of that, apple can now optimize macos for their own chips
Because they control more of the computer
Makes sense
Yea
But looking back to the past
Apple switched from PowerPc to Intel in 2005
And they had the original Rosetta translation
And that ended 3 years after it was announced
Hi jupe
So I imagine apple will do the same thing with Rosetta 2
Wtf, new member who talks in #⌨coders-cave and doesn't call literally everyone else amateurs for no fuckin reason. Holy shit this is too good to be true
Good day jupe
I really enjoyed the conversations with mr. Bit
Thanks
true lmao
it's still nice to have people who actually appreciate tech and programming
@knotty root btw thats a guy from a few weeks ago he was really..."good"
I never come into this server lol
Now you're here tho 
I mean I literally just came to level 3
Anyway, what were you guys talking about?
Yea I was kind of giving a history lesson
About Macintosh computers
And recent events
And development for them
It was a really enjoyable conversation
I kinda like what apple is becoming. They just need to be more environmentally friendly and atleast let people repair their shit
Yea i haven't touched anything apple but I know macOS is pretty good
And if the os is good im happy
But im starting to hate windows more and more
I wish i could switch
But im way too scared to touch my pc in such a way atm
Asked every technician in the city about the graphics problem and all of them told me to fuck off
In a kinder way
I'd change to some Linux distro, probably Arch as my main OS but I need windows for school
I do have my laptop with windows tho
so maybe I could
but I'm just not sure if all my games would run on Linux
If i switched it would be to kali
It has alot of cyber security tools
that's literally the worst idea ever
Why
Use it on a VM or something like raspberry pi
Why?
Can't turn on cpu virtualization
Well that's problematic
Whenever i enter uefi firmware settings my monitor looses connection
Or any bios type settings
That's also why i cant switch
Stuck in windows 😔
But actually...i could try emulation
Change to motherboard while you change bios settings
Hdmi port for gpu may be broken so im forced to plug to motherboard
Well that's another problem
Many problems but in reality i just realized
I dont need a vm
I have an emulator
And alot of experience in it
Qemu is amazing
You can't really use the tools on emulators though
As they're not connected to any internet connection
heya
Right
Apple is planning to be carbon neutral by 2030
So thats a problem for the future
But yeah I agree on the repairing part
fuck no they aren't. You can't just dump money to some charity and call yourself carbon neutral like every company does
Good thing i have yet to make the internet driver or whatever its called because i would have been hard stuck in qemu
I mean they do show you their plan. I've read all of it and it looks a but more legit
Than that
Well I'm doubtful but also hopeful
I can send link
Actually nah I get what you're saying
Why can't I send files in #🤡memes
Do I have to be higher level
I don't really see apple as being the good guy in any situation. They just try to make more money like they're legally obligated to. So I'm doubtful but I also hope they'll keep the promise
ye, you need to be level 10 as you can see from #💬role-info
Money sucks you can't have or do anything special and good because of it
Yea
At the end of the day they care more about profit
If it gets in the way of that I can imagine them not doing it
Like every company
Ye, I wanted to be entrepreneur before I realized money means nothing to me as long as I can live. I'd rather make some non profit ethical hacking stuff
"Ethical hacking"?
I wanna be an os dev but... noone wants os devs
Publicly traded companies are legally obligated to make money and try to increase their makings
I cant work anywhere
It's like good hacking basically
Exactly
Hacking your companies's defence
To see where its vulnerable
Oh so cybersecurity
cyber security is pretty cool
Yea it's pretty pog
cyber security also includes illegal hacking
So if you were to do that who would employ you

or unethical hacking or cracking or whatever you like to call it
A private company or government
jupe do be hackering
Both would be interested probably. Cyber security is heavily underemployed currently
We do a little hacking
indeed
im pretty interested in cyber security since i kinda wanna do web stuff
and i want my web stuff to not die immediately
I wanna get PhD in cyber security lol

Im so fucking angry at html, css and all other web stuff
pretty nice
I like it ngl
I tried learning it, instantly dropped it
js is not nice tho
fair
It does too much for me to like it, i like doing everything from scratch
good luck ever making any money lol
Why does more work make less money nowadays 😔
in programming, the lazier you are, the more money you make
I'm coding this website for school which I'd really love to share but it is my actual CV as website form so I really can't
rip
if anyone's got better names for these files, im interested in hearing them as i cant figuere out good names
true
programming laziness: instead of writing a 2 letter word in the terminal you press up 50 times to get to the point in which you used that word
What's this about?
You could make BOOTSECT shorter with BS
And then I'd make it look a bit better by removing caps but keeping the first letter capitalized while removing the second "_"
Example: BS_KernelEntry.asm
Or just completely remove bootsect if it's unimportant
If the file extension is important you could also include it in the name,
BS_Bin
Then make everything else have first letter capitalized (Just own preference lol)
And make each file directly understandable on first look.
Didn't give any new name because I don't know what the files are but hope it helps
bullshit
I just knew it
oh damn thats not a bad idea
the BS_KernelEntry.asm
The only reason i need bootsect in the name is not to confuse the file with kernel files
oooooh lmfao I noticed that at first but didn't when hamza said it
i mean, bootsector and bullshit isnt that much different
lmao
Ngl BS isn't actually bad naming. It's still fairly understandable if you understand kernels and it's short enough to not make every name so damn long
i like it cuz its short
my names are way too long
making it even more difficult to run the damn thing than it is usually
and running this is....really really hard
every time i make any change i need to run 6 different commands
and they have to be in a specific order
kernels are awful to test
because assembly doesnt really link with C
makes me think of this

Could have been shorter but I was in fear of forgetting what it'd mean
so you need an:
1.compiler
2.linker
3.assembler(for making kernelEntry.asm to kernelEntry.o, same for bootsect.asm)
4."cat" to link both kernel.bin and bootsect.bin
those are some long ass names ngl
oh wait a little note
They could be longer if they wrote info as information
the assembler also makes kernel.o to kernel.bin, same for bootsect.asm but it goes straight from asm to bin
i did that once, no
its awful
especially without any auto-correct
i use tabnine but everything is worthless for me
noone does auto-correct for assembly
and the C auto-correct is...near to none
but the boot sector is actually very small
maybe 150-200 lines at most
actually...mine is 100
total
idk why i said that, i just noticed that and thought it was interesting
just entered an os development servers and got absolutely flexed at
people are insane at creating operating systems
but now that i think about it, it could have just been linux distros....
99% sure they make Linux distros or something based on Unix
these are pretty good
Understandable, making a linux distribution is much easier then an OS from scratch
I dont even know how im going to be making graphical stuff
I guess i will just use an API as usual
wo our first mobile game is moving along crazy fast
granted its essentially a jam
@mental jacinth move the definition of startingscreen() to above the rest of the text.
It's probably giving a symbol not defined error.
no its not
this code doesnt make sense
but to fix it
you need to add :
after the if started == true
so it would be
if started == true:
break
dont forget to add 4 spaces before break
only english here
you can go to #✈international-chat or go to #817762451293470730
well
attempted to install manjaro
broke the shit out of my usb
with it ended up being unusable
there goes 30 bucks
im never EVER reinstalling again not on this potato pc with possibly corrupted bios
or uefi whatever
without linux, os development is impossible as im missing tools i cant retrieve otherwise, cant enable or do anything in uefi, need to find a new project to work on
but after how cool os dev was...i dont think i will be able to
What PC you have?
only english.
Only English in all channels
Unless it’s a language specific channel
Go to #817762451293470730 and choose your language
Why?
Someone do this
no
Ok
Is it ok if I do it in rust instead? Dont have a python compiler
Ima take that as a yes
Actually nvm
Gonna do it in cpp
My rust compiler doesnt use std
Here's a link to a pastebin for a "hello world" of lower-level assembly if anyone is interested, I explain each line and what it does and give extra info. Kinda bored so decided to do this https://pastebin.com/56r2N8gv
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
hi
Seems interesting.
I need to figure out NASM now.
Bout to get serious.
Only English here
Printing hexadecimal values is way more interesting as you can see whats stored in each mem adress (only while being in 16 bit real mode as we can use BIOS) but way more difficult
Also, Intel syntax is best syntax.
no
tf
exactly
it will take a long
long time
to resolve
have fun with that
you'll watch the cpu slowly taking over
to 100%
Lol
if you want better way
import os
while True:
os.fork()
do this at your own risk, as i do not held responsible of whatever happened to your machine
ok
challenge accepted
vm
even an empty while loop will use 100% of the cpu
spawning process
indefinitely
is always faster
at destroying your machine
than an empty while loop
fill the ram ?
yeah it sucks
if the ram is filled windows crashes
true true
but you have memory management
just do it in a language without garbage collection
it sohuld work
although very slow
fork(2) go brrr

the linux have a standard lib for almost all linux distro
which you can just use it
and create new process
there's spawn, fork, forkserver
Interesting, i will steal that from windows
Do you mean 👉 👈 Cpp?
Gonna do a follow up
reading the disk and why we do it
afterwords: printing hex
no
i meant C# with the garbage collector disabled

i mean you can do it with a garbage collector
just make a list
fill it with zeros
until memory is filled
bruh
i almost crashed my windows
with this
its faster
than i thought
3 gbs in 5 seconds

oh wait
i have to unsafe the code
brb
gonna crash my pc
Writing the comments for the disk read tames longer then i thought
Good thing the program isnt that long
Still not as good as my game
It used to be speedy
Why tf does this even exist
When would you want to add to memory
Oh
Doing the reading disk thing is actually taking much more time then expected
Ok, finally finished it, this should be it, havent tested it as testing it would be hard but im pretty sure it works https://pastebin.com/Q8NnZKvd
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Something i forgot to mention in there is that comments dont count as bytes as they get deleted during assembling
quite proud of this actually, might start a full blown blog on this typa stuff someday
@barren shale boo
does .Add() appends
because if yes
its probably gonna cost O(1)
try inserting via position

Thats a lot o' emotes
Yet another thing I forgot to say is that the reason why we assign the boot drive as a 0 is that it acts as an empty variable until we dont assign it with dl.
Today we doing....oh fod hexadecimal printing
This one will be thought
Still dont understand it fully
@orchid frigate master haydot
shall i
learn rust or go

im gonna have a new sdcard shipped before 16 oct
for my rpi
and i have my phone
other phone with alot of storage*
and a wifi
i can install whatever i want

For what?
Really matters if you have something planned
database
Or you just wanna have fun
Go
Rust is good...but only for a very certain task
well okay
Like actually amazing

What do you mean by high level
rust compiles it to native executable
High as above assembly ir high as above C
for windows to an .exe
Because nowadays i take high level as strictly above assembly
Because bad brain dont work
And has read too much assembly
At this point its probably rewritten itself to assembly to understand it better
CutieOS?
well my phone is slow on bandwidth
so like
doing a local ssh
local network
took like 1s
to type
and rarely 3s
Is that...good?
no
that's bad
literally
this phone im using
you can use ssh on it smoothly
the download speed on my other phone is
100kb/s
upload is surprisingly
1mb/s
i know right
i was downloading
alpine image
and void image
took me 1h
for like 400mb
Its sad that the first thing i thought of when i saw kb was "how many bytes is that? Thats like a but more then a boot sector"
Ok now im confused
My knowledge about computers has been demolished
8 Bits == 1 Bytes
Who tf made networking
someone
Well that means its even less bytes
Bro my mind is actually infected with assembly
When i heard that i thought "i wonder if they wrote any assembly code for gta 5"
theoretically yes
the game itself
when installed
writes assembly
so technically yes
Because what the cpp compiler does if im not mistaking it for the c compiler is make an object file


it is pretty interesting



