#⌨coders-cave

1 messages · Page 72 of 1

barren shale
#

maybe ill let it run for 1000 matches so it would be less random

barren shale
#

TIME TO RELEASE BOT V2

#

:OOOOOOOOOOO

bold rover
barren shale
#

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

bold rover
#

That's still impressive tho!

main brook
#

Mr Stark, i don't feel so good. Did you unlaugh thanos when he snap

barren shale
#

its mostly finding the right settings

#

the strategy seems good

#

but the settings need tuning

barren shale
#

omg

#

its actually doing very good

#

i just looked at its score

#

and it reached 1k :OOO

#

v1 is stull stuck at 890

wet girder
#

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

barren shale
#

like the good dad i am

wet girder
#

lol

barren shale
#

im working on V3

#

i made it super aggressive and its destroying V2

#

wow

#

making is aggressive seems to be very good

bold rover
barren shale
bold rover
#

Wish You beat people ass bots towblove

barren shale
#

im gonna work on it more then release it tonight

#

thanks for the support

bold rover
#

Yey! Always happy to support

wet girder
#

what does the bot even play?

barren shale
wet girder
#

ooh nice

knotty root
#

Coders

#

👩‍💻

#

👨‍💻

#

🧑‍💻

#

Coding

#

Code

barren shale
#

nah

#

we look more like this

orchid frigate
#

Coding is basically screaming at a screen for a few hours

knotty root
#

If you were to put a code here, will it run?

orchid frigate
#

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

main brook
#

you messed up

bold rover
main brook
#

nothing happened

#

i just gave my dad my pfp

#

and he's buying milk

bold rover
#

Ah...

main brook
#

so yeah

barren shale
#

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

bold rover
#

Nice!

barren shale
#

okeh

#

bot seems to be doing well

#

time FOR REALASE

#

ofc first upload fails

#

as always xzibit

#

literally always

#

imagine it loses its first match

#

i would cry

#

:X

#

okeh it won its first game

barren shale
#

: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

barren shale
#

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

bold rover
barren shale
#

it would be just a 50 50

orchid frigate
#

@barren shale hi hamza

barren shale
#

ello

orchid frigate
#

I hope you are having a wonderful day

shy scarab
#

Hamza is almost like Yeet but betterwbshy

orchid frigate
#

Who said hamster isnt yeet

#

👀

shy scarab
bold rover
barren shale
#

no i dont use machine learning

#

i use behaviour trees

#

a bunch of rules

bold rover
#

Ow, That's honestly works well to :o, You're really smart to be honest

barren shale
#

ty happy

#

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

barren shale
#

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

orchid frigate
#

Underlines make me sick

orchid frigate
barren shale
#

turns out its rng

#

and the default settings went back to the top

#

currently doing the second generation

orchid frigate
high surge
#

hi

plush gate
#

Coding haram

hasty bane
#

coding halal

sharp void
#

ooa ooa aha\

wet girder
#

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

bold rover
#

...

barren shale
#

@knotty root #🤖bot-commands

ionic trellis
#

Im going to switch from pascal to c++, any tips?

hasty bane
#

you're insane

barren shale
#

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

ionic trellis
#

Idk, the for loops seem more convenient than pascal

tropic dagger
#

Wow Hamza saying something other than C# good everything else bad.

#

What a character arc.

barren shale
barren shale
#

SNAKE AI WITH REINFORCEMENT LEARNING

#

HELL YEA

#

SNEEEKKKK

#

LEARNING GOES BRRRRRRRRRRRR

hasty bane
#

c# ml

barren shale
#

i use python

#

cuz sadly there's no good ml library for C#

#

its getting there tho

bold rover
barren shale
#

no

#

im gonna try to do it tho

#

after snek

bold rover
#

Goodluck

#

Also RL... Gonna guess you have already have data

barren shale
#

RL is when you dont have the data

#

you let the agent play the game and gather data

#

and learn from it

hasty bane
barren shale
#

cringe ikr

hasty bane
#

based

#

im trying to learn django

#

and my brain

#

is slightly melting

barren shale
#

yeah

#

close django

hasty bane
#

no

barren shale
#

yes

hasty bane
#

no

elder shore
#

yes

bold rover
#

Or im missing something, You're doing RL in a different approach

barren shale
#

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

knotty root
#

Miss type

hasty bane
#

i am learning lua

#

i have become what i swore to destroy

barren shale
#

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

elder shore
#

No

bold rover
#

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 Thonk

sly tide
#

Нi

exotic coyote
#

what is it

barren shale
#

so it cant be ML

tropic dagger
# exotic coyote what is it

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.

wet girder
#

everyone in this channel is just a random guy who sits on their computer for way too luch

faint sierra
#

I’m just asking can u add it

wet girder
#

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

faint sierra
#

Oh

#

Where that’s at

#

Jupe do u program world box?

wet girder
#

I don't, Maxim and mastef do

faint sierra
#

I can chat with them

#

Or they just gon say no to my suggestion

wet girder
#

You can suggest it the way I explained above. They're both very busy people

faint sierra
#

Oh

barren shale
#

they may or may not read them

#

but it doesnt hurt to suggest

knotty root
hasty bane
#

twitch haz been haxd

#

pretty impressive if you ask me

slow marten
#

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.

barren shale
#

this channel is only for coding/programming related topics as the topic of this room says

knotty root
#

Who knows python coding language 🐍? (Even if is a little bit (like me lol))

leaden nimbus
#

Who knows how to solve the error when starting unity 2019.2.11f1_5f859a4cfee5

frail sinew
quaint needle
#

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

hasty bane
#

people just keep coming in with worldbox stuff

tropic dagger
orchid frigate
#

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

barren shale
#

i only did one thing

#

really busy rn

orchid frigate
#

Did you not like the language

orchid frigate
#

Sorry

knotty root
orchid frigate
#

Not me

#

I only know assembly c++ and whatever knowledge i have left on c#

knotty root
orchid frigate
#

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

tropic dagger
# knotty root Is it a dificulte coding language? (The c++ and the c#)

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.

deft anvil
#

how much coding do i need to learn to make a mod

hushed warren
#

🤷‍♂️

orchid frigate
#

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

wet girder
orchid frigate
#

But anyway i actually came here to complain about web development being too popular

#

So now that i have done that, im out

barren shale
tropic dagger
# orchid frigate Assembly aint that hard

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.

barren shale
#

its just using it

#

takes a lot of time

#

to do little things

orchid frigate
#

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

orchid frigate
#

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

orchid frigate
#

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

hasty bane
#

my mans working on templeOS2?

tropic dagger
#

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.

hasty bane
#

thinkingpepe it is pretty interesting

#

but im not touching it

woven snow
#

Coders Cave

bold rover
#

Yes

barren shale
#

making an OS or using assembly

#

pretty unpractical

tropic dagger
#

Nah

#

I can make an environment for C# code.

#

And C++.

#

Haydot probably is.

knotty root
#

Hi

tropic dagger
#

Hello.

floral cradle
#

Yum

spring yoke
#

Yooooooooooo

keen shell
exotic vessel
#

Ah yes..... the nerd cave

wet girder
#

thank you

#

that is a compliment here

woven snow
#

Ze Coder Cave

#

The lair of people who have alot of pacience

barren shale
shy scarab
#

Lmao

orchid frigate
#

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

knotty root
#

How to make a pole

barren shale
#

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

orchid frigate
#

If you wanna do something, you will learn how to do it

knotty root
#

I'm also curious if there is any plan for apple silicon support in the future for MacOS

orchid frigate
#

Tbh i dont know but the devs are probably working on it

knotty root
#

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

orchid frigate
#

Which sucks

knotty root
#

Is anyone on the server in direct contact with the developers or no

orchid frigate
#

You don't have access to the graphics API so its going to be real difficult without it

knotty root
#

Made by apple

knotty root
#

So you code in one place and it works across multiple platforms

orchid frigate
#

And most if the mods

#

And admins

knotty root
#

Pog

orchid frigate
knotty root
#

Oh I see

orchid frigate
#

Metal for apple, opengl for... everything and vulkan for everything kinda

knotty root
#

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

knotty root
orchid frigate
#

Yea the problem is

knotty root
#

I mean... we'll see what happens

orchid frigate
#

Its stupidity difficult

knotty root
#

Yea

orchid frigate
#

Compared to its older relative opengl

#

And you have to make all the compatibility code yourself

knotty root
#

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

orchid frigate
#

Is rosetta an api?

#

Haven't heard of it

knotty root
#

No it's a built in tool made by Apple to run Intel apps on Apple silicon

#

For all M1 devices

orchid frigate
#

Ah i get it

knotty root
#

Do any Y'all watch WWDC?

orchid frigate
#

Haven't really touched anything apple so idk much about it

orchid frigate
knotty root
#

Is it OK if I spend time explaining or would you like me to leave it

#

If I'm being annoying

orchid frigate
#

No no no your not annoying im interested in this

#

What is it

knotty root
#

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

orchid frigate
#

They really wanna be independent huh

knotty root
#

Exactly

#

So they make more profit, cut out the middle man

orchid frigate
#

I see many problems with that

knotty root
#

And Intel has kinda been garbage for a couple years due to failing promises

knotty root
orchid frigate
#

Firstly this is a very new thing so at first there arent going to be many different models

knotty root
#

At the beginning yea

orchid frigate
#

Which will make customisation very difficult

#

For the user

#

Idk how mac computers work but I imagine you can change parts

knotty root
#

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

orchid frigate
#

Why tho

#

This seems like bad marketing

knotty root
#

Because then the parts are Integrated better

#

Well ppl that buy Mac because they have to

#

For final cut and all the professionals

orchid frigate
#

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

orchid frigate
knotty root
#

Sorry

orchid frigate
#

Well that just seems evil from mac

knotty root
#

I had to talk

orchid frigate
#

Why

#

I enjoy this conversation

knotty root
#

I'm back now

orchid frigate
#

Oh you meant..ok

knotty root
#

Yea so

orchid frigate
#

I misunderstood you

knotty root
#

It's also a preference thing

#

Most people like Mac because of its software

#

Their hardware used to be superior

#

Like 10 years ago

orchid frigate
#

Yea macOS is pretty good from what i have heard

knotty root
#

But not anymore

orchid frigate
#

On the level of linux

knotty root
orchid frigate
#

Definitely better then windows

#

I really wanna switch to linux from windows

knotty root
#

Any file system is better than windows

orchid frigate
#

Or on anything other then windows

knotty root
#

Ok so back to where I was

#

The main reason why Apple is switching

orchid frigate
#

But os installation has been scaring me alot

knotty root
#

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

orchid frigate
#

Makes sense

knotty root
#

And apple said it would take 2 years to transition

#

And that was 2020

#

June

orchid frigate
#

Well it seems like they are keeping their promise

#

For now

knotty root
#

And they still have 4 more products to transition

#

On top of 4 they've already done

knotty root
#

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

orchid frigate
#

Hi jupe

knotty root
#

So I imagine apple will do the same thing with Rosetta 2

wet girder
#

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

knotty root
#

Good day jupe

wet girder
#

Hey

#

a

orchid frigate
knotty root
#

Thanks

orchid frigate
#

Bitmap

#

He was so full of himself it was hilarious

wet girder
#

true lmao

#

it's still nice to have people who actually appreciate tech and programming

orchid frigate
#

@knotty root btw thats a guy from a few weeks ago he was really..."good"

knotty root
#

I never come into this server lol

wet girder
#

Now you're here tho aye

knotty root
#

I mean I literally just came to level 3

wet girder
#

Anyway, what were you guys talking about?

orchid frigate
#

Apple and mac

#

And Rosetta

knotty root
#

Yea I was kind of giving a history lesson

#

About Macintosh computers

#

And recent events

#

And development for them

orchid frigate
#

It was a really enjoyable conversation

wet girder
#

I kinda like what apple is becoming. They just need to be more environmentally friendly and atleast let people repair their shit

orchid frigate
#

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

wet girder
#

Same

#

especially win11

orchid frigate
#

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

wet girder
#

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

orchid frigate
#

If i switched it would be to kali

wet girder
#

as main os?!?!!?

#

You're fucking crazy

orchid frigate
#

It has alot of cyber security tools

wet girder
#

that's literally the worst idea ever

orchid frigate
#

Why

wet girder
#

Use it on a VM or something like raspberry pi

orchid frigate
#

Vm...not an option

#

No way of entering vm

wet girder
#

Why?

orchid frigate
#

Can't turn on cpu virtualization

wet girder
#

Well that's problematic

orchid frigate
#

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

wet girder
#

where's your monitor cable plugged to?

#

graphics card or motherboard?

orchid frigate
#

Gpu

#

Actually kinda

wet girder
#

Change to motherboard while you change bios settings

orchid frigate
#

Hdmi port for gpu may be broken so im forced to plug to motherboard

wet girder
#

Well that's another problem

orchid frigate
#

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

orchid frigate
#

I haven't tried running an iso on it

#

Only bin

#

But it should work

wet girder
#

You can't really use the tools on emulators though

#

As they're not connected to any internet connection

knotty root
#

Hello

#

Am back

wet girder
#

heya

knotty root
orchid frigate
#

So thats a problem for the future

knotty root
#

But yeah I agree on the repairing part

wet girder
orchid frigate
#

Good thing i have yet to make the internet driver or whatever its called because i would have been hard stuck in qemu

knotty root
#

I mean they do show you their plan. I've read all of it and it looks a but more legit

#

Than that

wet girder
#

Well I'm doubtful but also hopeful

knotty root
#

I can send link

#

Actually nah I get what you're saying

#

Do I have to be higher level

wet girder
#

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

wet girder
orchid frigate
knotty root
#

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

wet girder
#

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

knotty root
#

"Ethical hacking"?

orchid frigate
#

I wanna be an os dev but... noone wants os devs

wet girder
orchid frigate
#

I cant work anywhere

wet girder
knotty root
#

Governments?

orchid frigate
wet girder
#

no one, just helping people not be hacked

#

that's the idea

orchid frigate
#

To see where its vulnerable

knotty root
#

Oh so cybersecurity

hasty bane
#

cyber security is pretty cool

knotty root
#

Yea it's pretty pog

wet girder
knotty root
#

So if you were to do that who would employ you

hasty bane
wet girder
#

or unethical hacking or cracking or whatever you like to call it

knotty root
#

A private company or government

hasty bane
#

jupe do be hackering

wet girder
knotty root
hasty bane
#

indeed

#

im pretty interested in cyber security since i kinda wanna do web stuff

#

and i want my web stuff to not die immediately

wet girder
#

I wanna get PhD in cyber security lol

hasty bane
orchid frigate
#

Im so fucking angry at html, css and all other web stuff

hasty bane
#

pretty nice

orchid frigate
#

I tried learning it, instantly dropped it

hasty bane
#

i like js so far

#

uh

wet girder
#

js is not nice tho

hasty bane
#

yeah

#

but it's not terrible

#

it's better than django at least for me

wet girder
#

fair

orchid frigate
#

It does too much for me to like it, i like doing everything from scratch

wet girder
orchid frigate
#

Why does more work make less money nowadays 😔

hasty bane
#

that's how it is

wet girder
#

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

hasty bane
#

rip

orchid frigate
#

if anyone's got better names for these files, im interested in hearing them as i cant figuere out good names

orchid frigate
#

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

keen shell
#

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 helpsaye

keen shell
#

wbstruggle I just knew it

orchid frigate
#

the BS_KernelEntry.asm

keen shell
#

nice

#

Hamza my idea wasn't badyellinglady nvm

wet girder
#

Your idea was to change BOOTSEC to BULLSHIT Thonk

#

makes sense lol

orchid frigate
#

The only reason i need bootsect in the name is not to confuse the file with kernel files

keen shell
orchid frigate
wet girder
#

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

orchid frigate
#

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

wet girder
#

damn

#

ngl I don't even know how kernels work

orchid frigate
#

and they have to be in a specific order

wet girder
#

I know the basic idea of a kernel

#

but nothing else

orchid frigate
#

because assembly doesnt really link with C

keen shell
#

Could have been shorter but I was in fear of forgetting what it'd mean

orchid frigate
#

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

orchid frigate
wet girder
#

but they're informative

#

I love the names ngl

orchid frigate
#

oh wait a little note

wet girder
#

They could be longer if they wrote info as information

orchid frigate
#

the assembler also makes kernel.o to kernel.bin, same for bootsect.asm but it goes straight from asm to bin

orchid frigate
#

its awful

#

especially without any auto-correct

wet girder
#

lmao

#

that's why I use intellisense

orchid frigate
#

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

orchid frigate
#

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

wet girder
#

99% sure they make Linux distros or something based on Unix

barren shale
orchid frigate
#

I dont even know how im going to be making graphical stuff

#

I guess i will just use an API as usual

gentle steeple
#

wo our first mobile game is moving along crazy fast

#

granted its essentially a jam

mental jacinth
#

Help

#

Only going more wrong

#

When I'm trying to fix

tropic dagger
#

@mental jacinth move the definition of startingscreen() to above the rest of the text.

#

It's probably giving a symbol not defined error.

barren shale
#

no its not

barren shale
#

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

spare sorrel
#

Я єбал вас в рот

#

Безмамние боти

barren shale
orchid frigate
#

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

knotty root
#

What PC you have?

mossy cedar
#

only english.

barren shale
#

Only English in all channels

#

Unless it’s a language specific channel

stray osprey
#

Why?

knotty root
#

Someone do this

hasty bane
#

no

knotty root
#

yes

#

or do print("100*1000")Jerry

hasty bane
#

thats

#

not gonna do anything

#

100*1000

#

cuz its in quotes

knotty root
#

Oh wait

#

When you suck so much at math

orchid frigate
#

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

orchid frigate
gentle steeple
#

epic

#

still waiting for my dev's to finish our first mobile game jam

grizzled river
#

hi

tropic dagger
#

I need to figure out NASM now.

#

Bout to get serious.

orchid frigate
#

Only English here

orchid frigate
# tropic dagger Seems interesting.

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

tropic dagger
#

Also, Intel syntax is best syntax.

main brook
#

try it

main brook
knotty root
main brook
#

exactly

#

it will take a long

#

long time

#

to resolve

#

have fun with that

#

you'll watch the cpu slowly taking over

#

to 100%

warped rampart
#

Lol

main brook
#

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

wet girder
#

oh no

#

that is just evil

hasty bane
#

vm

barren shale
main brook
#

not the point

#

it won't crash it as quick as os.fork()

#

remember kids

barren shale
#

btw os.fork() doesnt do anything on windows

main brook
#

spawning process

#

indefinitely

#

is always faster

#

at destroying your machine

#

than an empty while loop

barren shale
#

fill the ram ?

main brook
#

guess what

#

that's still nope

#

you gotta utilize the whole machine

barren shale
#

not saying its faster

#

im just thinking of a good way

main brook
barren shale
#

if the ram is filled windows crashes

main brook
#

even the multiprocessing module

#

uses a different approach

main brook
#

but you have memory management

barren shale
#

just do it in a language without garbage collection

#

it sohuld work

#

although very slow

main brook
#

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

main brook
knotty root
#

Fork

#

Spoon

#

Spork

orchid frigate
orchid frigate
waxen mica
#

🇨🇳

orchid frigate
#

reading the disk and why we do it

#

afterwords: printing hex

barren shale
#

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

orchid frigate
#

Writing the comments for the disk read tames longer then i thought

#

Good thing the program isnt that long

orchid frigate
#

It used to be speedy

barren shale
#

oh nvm

#

it started to use the hard drive

orchid frigate
#

Ok

#

Gonna steal that from windows also

orchid frigate
#

When would you want to add to memory

barren shale
#

i just made a list

#

and added to it

#

idk why i named it memory

orchid frigate
#

Oh

orchid frigate
#

Doing the reading disk thing is actually taking much more time then expected

orchid frigate
#

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

tropic dagger
#

Damn.

#

Might be the only blog I follow.

main brook
#

@barren shale boo

#

does .Add() appends

#

because if yes

#

its probably gonna cost O(1)

#

try inserting via position

orchid frigate
#

Thats a lot o' emotes

orchid frigate
barren shale
#

yeah that's spamm

#

please dont do that again

orchid frigate
#

Damn hamza harsh

#

Wasn't really spam but uhh sure i guess it could be considered

orchid frigate
#

This one will be thought

#

Still dont understand it fully

main brook
#

@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

orchid frigate
#

Really matters if you have something planned

main brook
#

database

orchid frigate
#

Or you just wanna have fun

orchid frigate
main brook
#

oh no

#

fun isn't on my dictionary

#

everytime i code

#

it give me ptsd

orchid frigate
#

Rust is good...but only for a very certain task

main brook
orchid frigate
#

Its very fun

#

But useless

main brook
#

meh atleast faster

#

since you know

#

it runs as an executable

orchid frigate
#

Rust is amazing for os development

#

Surprisingly

main brook
#

time to plan on

#

CutieOS

orchid frigate
#

Like actually amazing

main brook
orchid frigate
#

I would say better then most native languages

#

Compteting with c and cpp

main brook
#

well

#

rust is high level

#

but perform low level things

#

which is nice

orchid frigate
#

Doesn't it go straight to machine code?

#

Im pretty sure its native

main brook
#

yes

#

it does

orchid frigate
main brook
#

rust compiles it to native executable

orchid frigate
#

High as above assembly ir high as above C

main brook
#

for windows to an .exe

orchid frigate
#

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

main brook
#

bleh

#

i guess im gonna install go

#

on my super slow bandwidth phone

orchid frigate
#

CutieOS?

main brook
#

no

#

Android

orchid frigate
#

We need more os devs

main brook
#

well my phone is slow on bandwidth

#

so like

#

doing a local ssh

#

local network

#

took like 1s

#

to type

#

and rarely 3s

orchid frigate
#

Ah yes network stuff

#

The things I understand completely

orchid frigate
main brook
#

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

orchid frigate
#

Oh god

#

100kb....thats like not that many bytes

main brook
#

i know right

#

i was downloading

#

alpine image

#

and void image

#

took me 1h

#

for like 400mb

orchid frigate
#

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"

main brook
#

bleh

#

i literally mean 100kb/s

#

not 100kbit per s

orchid frigate
#

Ok now im confused

main brook
#

usually network is with Bit

#

instead of Byte

orchid frigate
#

My knowledge about computers has been demolished

main brook
#

8 Bits == 1 Bytes

orchid frigate
main brook
#

someone

orchid frigate
#

Well that means its even less bytes

main brook
#

exactly

#

well like

#

mine is 100 kilobytes

#

per secojd

#

so like

#

10s is 1mb

orchid frigate
#

Download gta 5 with that speed

main brook
#

the moment it finishes

#

GTA 6 came out

orchid frigate
#

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"

main brook
#

theoretically yes

#

the game itself

#

when installed

#

writes assembly

#

so technically yes

orchid frigate
#

Doesnt it go straight to machine code?

#

So hexadecimal and binary

main brook
#

probably but not sude

#

sure*

#

don't compiler like

#

tear it to assembly

orchid frigate
#

Because what the cpp compiler does if im not mistaking it for the c compiler is make an object file