#⌨coders-cave
1 messages · Page 77 of 1
Just ignore the smol hamza he code
its not elitism
its common practicies
using common practices makes others understand your code better
pep 8 is a style
yes
im talking about common practicies
random styles everywhere makes your code janky
yea dont do that
everyone will hate you
its more effort
than running your code through an obfuscater
ew
no
i just downloaded the one you sent me
and opened it in paint.net to remove the empty spaces
make sure when you export it
its bilinear
Looks good!
Im pretty sure Different drawing programs render color differently due to shaders
no
he exported it lineraly
it fucks up pixel art
it tries to make it smooth
pixel art is too small to be smooth
if different drawing programs rendered color differently
that would fuck everything up
imagine sending someone a picture
and its totally different colors
than what you had
Ah so thats why my drawings were so dark in that one pixel art program noone uses
programs that are made for pixel art don't try to smooth anything, if it's not complete garbage. I learned this when I tried doing pixel art and all my art looked shit
things like photoshop and paint.net can be used for pixel art
so you have to choose your settings wisely
Ye
but yes you are right
Now that I think about shaders really shouldn't impact color
asprite exports bilinearly by default
⬜ x
💕
exactly

uhhh I dont think this is the right place to announce that but pretty noice
also
lemme show you guys what I did
thank you!
Should have probably done this earlier but I finally learned the BIOS interupt to take input from the user! This is probably the base of a 16bit shell
deleting stuff is for some reason kinda fucked up but still
deleting stuff is kinda fucked up in bash as well
I think the reason its fucked up is that what this those is take whatever key is pressed and print its ASCII alternative to screen
but there is no ASCII alternative for, well deletion
idk why it deletes when I press space tho
already got an idea on how to make a shell but it will need to be one-symbol per command shell
its strange that I made reading input in assembly 100x easier then in Rust
I swear rust reading input is the most complex thing known to man
Lovely shuffle Feauture thing
I have no clue what's that,But lovely work
omg it actually works!
ok well
i got too excited
the make file is doing something wrong
This.Is.AMAZING!
another feature added
damn im on a mf roll today
@barren shale see, I can also do the progress
ofc you can
even though ur like a turtle
lemme write your name in my very own os
card flip done
it becomes wider when its facedown hehe
back side texture isnt same proportion as front
It still looks amazing!
good job
tbh the code for this is easier then for most applications if you know basic assembly
because BIOS does almost everything technical for you
only problem being is that BIOS interupts wont be available in anything other then 16bit
so..to do this I will need to code a shit ton of complex drivers
actually im pretty sure if I try to run this in 32bit mode my pc will have a breakdown
it does
but you can also win the race fast
i would like to stop wasting my time
<3
thats smooth af ngl
kinda expected that ngl
now ima integrate full disk and sector read error handling with a shell
not sure how im gonna test it but i will find a way
oh wait I just realised how problematic two shells running at once will be...
done
gonna implement backspace now
ok this is the first real challange I will need to face
I have absolutely 0 clue on how Im gonna do this
ok this really is challenging
uhhhh...
pretty sure this isnt supposed to print the entire ascii table
is that an animation or is it some kinda 3d space thing
uhh
both? but 3d space thing
i have a list of objects, hard coded 2 of the 3 animations
so it's a 2 sided card that turns around?
yeah thats what the 3rd one is, i used a plugin that manages it for me to make it easier
nice
the other 2 are lerps, it just moves the card from point a to b, and back with the shuffle
just over time so its smoooth
the editor animation speed is different than the built game animation speed
the shuffle happens after the cards are back in place
but only on the built speed, in editor its too fast and looks bugged
i havent figured out what makes it different
the value shuffle, not the animation
yea im giving up on the backspace
its either impossible to do or insanely difficult
either way there is no reason to do it
but hey atleast I learned a bit more about ascii characters and their hexadecimal equivalents
at this point tho im pretty sure this can be called an extra small no kernel only bootloader os
assembly in assembly
you know what im actually thinking of making everything in assembly
like Im actually so much more used to this rather then to anything else
i will sound insane but
the assembly version of the code I will need to do is so much simpler then the C version
like the C version barely makes sense
oh god uhhh I run into a huge problem
I ran out of space in the bootloader
thats...really really bad
Ima show you an accurate presentation of Hamza explaining why your code sucks
https://c.tenor.com/P_DvUDS9RCUAAAAM/no.gif

yeah im the person
and you are the brickwall
(brainless)
Ok
Well why do you provide criticism if you are talking to a brainless brick wall
cuz maybe
I have another one
Hamza when you dont code in c#
https://c.tenor.com/4u_4kga0YBYAAAAM/esports-game.gif
i actually dont code in C# a lot of the times
10010101b
a lot of languages
ive coded in more languges than you did
like real code not hello world
lmao ok
what do you mean by real code
and why do you think I have only done hello world
I have worked with a two graphics apis min in atleast 3 languages
bruh
who said that

i didnt say you have only done hello world tho
yes you did
"like real code not hello world"
implying I have done only hello world in most languages
no it does not imply anything
it only implies that i coded real things in the programming languages ive learnt
doesnt mean you never did
alright doesnt matter
what matters is
make files are both amazing and insanely difficult
Ima stream some kernel entry stuff if anyone is interested
only one thing interests me
nah
pls
im too sleepy for this shit

0.000000001$
*100 or no
ok 0.000001$
there's a mini fly on my wall
cool
yes
Alright so uhh I gave up on the project because the method of booting is way too outdated
And not very well documented
And unused in general
Now ima learn new stuff like multiboot2
Spoiler alert: Its insanely difficult
Hi
Uhhh hi
Pretty good
Ok well welcome to coding
Its really fun if you know what you want to do
What language are you learning
English
I’m learning C++ and Prolog
Thanks I have no friends.
Wish I did the same
I have a lot of time
Anyways do you play world box a lot? I do, I don’t have premium though.
Are you sad about it if you are remember that you aren't the only one going through this I say it as someone who also used to suffer from this
Not really
Why it’s so fun!
Nice.
I’d like to be a mod in this server but I just joined so…
Can’t really do that.
Uhh yeah usually a member is picked to be mod when he has been in the server for a while, doesn't break rules and is relatively active
But anyways are you working on any projects? About coding ofcourse
No but,
Do you know how to get a map on tablet for world box?
Because
I’m not on my PC currently
No I mean in general
I’ll go to help
No I mean like are you working on any projects in general like no matter at what time
No projects currently just learning
Ah nice well I recommend you start a small project on something you want to do and whenever you get stuck search on the internet
I find this to be an amazing way to learn
Ok also
Multiboot2 makes me make my own mf linker
Yea...this is going to be really difficult
Atleast the start is the hard part afterwords I get to C and the best part is I dont start all the way down in 16 bits but in 32 bits
So that's a plus
Yes?
Can you code a bot for my server? I don’t really want to code one right now, because I’m just learning everything, and I’m just lazy 😳
Or I just need members in my server
Im sorry I can't as I cant code bots
Oh
And also I wouldn't say the name of the server if I were you as that will be considered advertising
You know someone that could?
I mean I know people here that could but why don't you just use the ones that exist
Plus I highly doubt someone will make a bot for free
True…
You know the code is difficult when the guy from the tutorial says "so here we will need to do a couple of thing I dont even know what they do..."
so apparently
my old code editor
has pylint
which is only usable if you have the premium version
so i installed a pirated premium version of it
it was
still shit
although its quite okay
pylint is not the best
and since android filesystem sucks
you can't customize a venv
because permission issues on the storage
it doesn't show if a function is an async function
what is what
it just shows variables
not its type
a function doesn't show its parameters
YouCompleteMe plugin for vim does better job at this but they're slow
@main brook visual studio code btw
For the first time in forever I completely agree with you
Or droidvim
For Android
why does compiling something huge on a device you're not using to kill time feels so good
like my rpi is there suffocating to death with 70°C
and my phone be like
"haha music go brr"
that's same as how to use github
cuz what's learning github ?
its learning git
I taught my friend it in like 5-10 mins. It's really easy to learn lol
not for haydot

Atleast I know how to write a linker
And two types of bootlaoders

SusOS
AmogOS but not unix
And probably without an interface because lets face it im not doing bare bones graphics API code
But hey at least it will be very fancy with multiboot2 
If I figure out how this incredibly overcomplicated compared to bios bootloader works
Bro the makefile for this has got more symbols then APL wtf is this shit
what you mean is writing a linker is easy
haydot already wrote like 60 OSes
every day i see a different os name
And what happened to everything else you have been working on
Hengine
Minecraft 2d 😳
All the other stuff I cant even remember
Plus everyday I learn something new better then the last and thus have to rewrite all my code
Like how I reasently learned about multiboot2
there's no other stuff
One is an engine the other is a game
Minecraft 2D is used to test the engine while im working on it

Yes
So they are different
Game -> test engine -> engine is not game
Bro when I argue with you this is how I feel
https://c.tenor.com/P_DvUDS9RCUAAAAM/no.gif
lol
ok
lets see you make an Engine without making a game with it
how would you add features
and this makes no sense
i didnt make a game
no they are not
Im gonna go insane
they are both HEngine
Does making a fucking game in unity mean that game is unity
if i stop working on HEngine ofc i wont keep on testing it
Help is required and help shall be given 🧐
Oh so you coders then decode this 01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01110111 01110111 01110111 00101110 01111001 01101111 01110101 01110100 01110101 01100010 01100101 00101110 01100011 01101111 01101101 00101111 01110111 01100001 01110100 01100011 01101000 00111111 01110110 00111101 01100100 01010001 01110111 00110100 01110111 00111001 01010111 01100111 01011000 01100011 01010001
No
yes
multiboot is awesome
It lets me not do any work and be lazy af
while the pc is struggling to find the shit code I have written
its amazin
its also like insanely difficult to learn but ya know thats just a bump in the road
ok I think I went too low
I need to make compilers and shit now
I guess its worth the try but still
oh wait no I was wrong
I just had to set up one
ok well easy enough
no do it yourself
we don't spoonfeed you
Translate to assembly atleast
Best case scenario
Some very high level language
better than brainfuck
ASCII?
Or just numbers?
@worthy sluice
Also nice pfp.
Yeah ASCII.
But there may be other single-byte character systems so I need to know.
Or maybe he just wants the numbers.
Also, decimal or hexadecimal?
If it is a number.
Or maybe even a super special base.

I fixed it
Haha finnaly I can fix stuff
imagine having null character after a null character

that reminds me
there's a language that requires you to explicitly provide end character
for string
and the length of the string includes the end char
so "Hello" is 6
because end char
010101011100110100101011
@orchid frigate
the fact that the vsc assembly discord status thing is zeros in a square bracked is both very incorrect and correct which pisses me off
🔨 Banned demologic76#6738 indefinitely
its called rich presence you uneducated nub
ima insult you in code you dont understand
maybe later
print("your mum")
when I understand it myself
who tf do you take me for
haydot
why would i waste my time
I allow you to use BIOS
nty
because I dared you
i dare you to get 2 fps ?
Thats what I thought
around 10k on my last vulkano project btw
that's impossible but ok
look overexadurration is amazing
you should learn to use it from time to time to impress
I will at one point
never
when i start using vulkan more often
cuz it never happened
YOU COPY PASTED THE CODE
i got 600 with an intergrated gpu
thats why its easy
no
you have no idea what you did
I actually read the documentation
so if i copied the code then read the documentation
the window
isnt that the same as reading the documentation then writing the things it says
the only difference is that i didnt waste my time
you did
Did you test with all the things the api is capable of?
I did
why would i test all the things
I went into the wiki and looked at examples
and copied
I typed all the code
after reading it in the documentation

same thing
i saw code i copied
you saw code you typed
Jesus fucking christ im so done with talking to you for the next 500 lifetimes
bruh why you keep losing these arguements so hard
what you say always doesnt make sense
Because you wont accept I can also do something
i never said you cant
"Only I can I did this I did that you suck"
never said that
you keep saying it tho
saying that i cant code and i only copy code
saying that i cant make OSes

you keep calling me a bad programmer
I would compliment your code and skill if you atleast behaved
cuz u are
I dont ask you to compliment me just behave like a normal human being
how is elitism a base for a good conversation
this isnt elitism
im not saying that what i do is the best
im just saying that what you do is the worst
doesnt make it elitism
and rei I think
every word you say is a lil bit of trolling
that was one of the worst animes ive ever watched
good for you
so I didnt even know it was an anime
Anyways so Lets talk about actual code
in the coding channel
something not seen often
@barren shale hows the game going
its so fun tho
that's it
no time
cpp is awesome
basically dont use them unless the library you are using requires them
bruh lmao
no need to use pointers in cpp
our course requires to use them like 90% of the time
its oop
they are mainly useful in bare bones programing
damn
that's called C
yeah
just char arrays
there are no strings in C
I completely forgot how to use strings
I havent programmed in a high level language in...probably an year
you have been programming for like a year
so
i havent been here for a year
and some days
i joined in april
this year?
yeah
oh wait
yeah
ok well what about borat is he working on the game
doing the arts
when i want him to do
right now
no
cuz still working on some base
then it will be completely features
that's when we need a lot of art
Bro you can't win an argument against someone that's joking about it.
You'll come out with a loss everytime.
Just start joking back.
The jokes are like a spring. Every bit of pressure you push onto your opponent just bounces back at you.
Shouldn't this say "your mother" because it's spy not some 14-year-old CoD kid?
Use std::unique_ptr or std::shared_ptr if they let you. Those handle memory themselves and do other cool stuff. They're really useful.
You should always avoid raw pointers unless you are using a c api. Even then, I think the two classes above let you extract the raw pointer anyway.
There may be more but those are the two I remember the best. They're in the <memory> header.
C has no proper equivalent.
i think he meant C instead of C++
im just trying to talk about code man
didnt know winning an argument here is harder then writing a 64bit kernel
I was repeating that sentence for so long wondering why it sounds wrong
Everyone making fun of assembly for being difficult and barely understandable but I'm over here watching bare-bones C barely understanding anything
assembly isnt hard
it just takes time
true
like when people say .NET is windows only
when its been cross platform since 2016
and its open source
The harder part of assembly is knowing what arguments each interupt, buffer, and whatever else you are doing needs

This reminds me, when I first started coding I was doing windows applications in c#
But gave up on c# because I read in a 7 year old stack overflow post that c# is windows only
i finally finished migrating my bot database
it was pain
i ended up making a different interface
because nosql to sql is hard
and i have to make it sql compatible
isnt nosql better tho
kewl
let me recheck
1 month anniversary
{
"type": {
"guild": ["channel", "webhook", "token"]
}
}
now its
CREATE TABLE "channels" (
"guild" BIGINT NOT NULL,
"type" SMALLINT NOT NULL,
"channel" BIGINT NOT NULL,
"webhook" BIGINT NOT NULL,
"token" VARCHAR(68) NOT NULL);
oh wait
what the fuck
I could've used
e w d i s c o r d b o t
This looks really clean
Lovely code by the way rei
Ow😄
Owww
Damn Hamza you got hard ignored
I almost started feeling bad
anyway lemme go make something useless real quick
damn i just hard ignored you for an hour
felt real bad for u
Damn I just hard ignored you for 3 seconds
felt absolutely awful for you
I know but it sounded like he was doing C from the very little description he gave so I wanted to clear up any ambiguity.
It's not just say "ur dad" when he says "ur mom" and it's a garunteed punish.
If he uses that spy gif just send a pyro gif. +180% damage inflicted.
If he says something else jokingly just have a witty response and don't bring up real points unless he is.
Make sure to follow up punishes to form a combo.
You get a ToD if you say "no u"
So basically take the arguments with him like an rpg battle
Yes
cool
A 2d fighting game rpg.
also I was lying about the kernel part
low level C sucks
It does.
Its like C but there is absoluetly nothing
K
C++ is better because you can add abstraction after a little bit.
The OS dev wiki doesnt cover it very well
Oh yeah don't forget to say "k and?" to nullify his attacks.
And im scared of compiling it
Just do C code then put it in a class or something.
C compiles in C++.
C++ is just a very big extension of C.
welp
didnt work
or maybe it did I just have no idea which version of qemu to use
both have their pros and cons
some people think OOP is not good
and people should stick to procedural
or functional programming
or dop
all mean the same thing
welp ran into a bad error
no way of running the os
because no grub
which is available freely on linux
goddamnit I hate windows even more now
or wait maybe its not over yet...
windows is making creating an os hell for me
t h e n d o n t u s e i t
obviously
I wish I could but its not that simple
it took me 10 mins to install linux
I was gonna install linux but I got heavly infected of covid
On a non broken bios
m i n s
Well its gonna become
come fix my bios
or else
LMAO no
No thank you I dont think I want to make my 1.5k pc unnusable
bruh
XDDD
you think downloading a bios from the manufacturer website will brick your pc
I mean you say downloading linux is easy but I almost bricked my pc while doing it six times
oh
and broke a flash
so you are good at bricking your pc
yes
you cant brick your pc downloading linux
master if you will
You can if you are me
no no no there is worse
So basically
I dont got access to my BIOS menu
And if I break or the linux installation is broken
get a new motherboard
Im stuck in broken linux
motherboards are not that expensive
if u have a 1.5k pc
sure u can spend 150$ on a motherboard
Yes but I dont got money no more
then get ur mb fixed
You know what I dont think we are making progress here
cuz ur lazy
dont want to fix ur mb
just want to cry about using windows
Damn I wouldn't even attempt anything crazy on a 1.5k pc
uhhh im out of ideas for projects
its bulgarian bucks so its 750$
Oh
around that
yea I try to find ways to get rid of windows's problems in windows but sometimes its not possible
because they gotta make their os more "user friendly"
The closest I got to Linux is installing a vm, I'm not sure if I want to dual boot on my university laptop
matters what you code
the lower level you go the more you need linux
I need it for my programming course
like for os development its pretty much required to have linux
The computers used for the exam use Ubuntu, and you need to learn all the commands, compile .cc and stuff
one of the best oses was built in windows 10
its called
windows 10
Learning aint the problem if you are willing to put in the time what is more important is how useful it is
yea and windows 11
that absolute train wreck of an os
lemme ask you a question
microsoft first make the power shell in windows 10
then build the reset in the new windows 11 power shell
so its technically made in windows 11
how tf do you make a booloader, kernel and linker for an os that doesnt exist yet inside it
ask microsoft
they will make me pay 20k for the answer no thanks
Well im officially out of project ideas
windows ruined all of em so thanks windows I will make sure not to pay 200bucks for you next time I buy a pc
windows license is forever
so you wont
not if I buy it from an already built pc it aint
cuz whoever I buy it from is ofcourse gonna put windows on it to 2x the price
who buys a built pc
its more expensive
id rather spend an hour building my pc
than pay more
for the first time in so long
i dont know what to code
it feels so bad
i have always had some project to do/learn something new about a language
wait there may still be hope
ah I completely forgot about Rust!
ok so its not over yet
e
remake my text engine
that uses ray marching
to draw objects
idk engine making and graphics in general have reasently been really scary for me
this is the whole thing
i recreated it in rust
i just didnt get to make it live
so it only draws one frame
Rust is awesome
do you mean like cygwin?
what is that
i just want a good terminal crate
what do you need it for
i want to redraw the whole buffer atleast 15 times per sec
uhhh brb
you wont find anything
Yo how do you define the druid's Flower Prints trait?
not the place to ask
have you tried console 0.15.0
Srry
probably
check cuz it seems really good
cant really do it myself as my toolchain cant compile normal code
man's writing an essay here
Where should I ask. If you are recommending a trait giver mod, then I can't use it due to mobile being big dumb. I'm using the bot rn which I got working for everything besides flower prints and golden tooth
Na just slow typing
@wet girder
fix ur bot
add the new traits
Ah
now you wait
probably
How to coding?
....
but seriously, it matters code what
a game?
a text engine?
os?
bios?
all require different things
Like game
yea dont listen to him anyway
use unity
Unity
ok now listen to him
listen yo me
listen yo him
Wheres the unity🥲
or unreal if you want to...idk suffer with cpp as first language
you wont only suffer with cpp
advertising unity i see hamza
you will suffer with unreal
I gotta add those 2. I don't seem to be able to keep up with worldbox updates lol
just tell maxim to make a github rep with all of them
and then you make it auto update every hour
and ez fix
ez
someone made a list of all the items in a game
that was useful
i made an android app that uses the list and an api made by the game
so you can check any item's price
just thousands upon thousands of hours on computer
unhealthy
that doesnt have to be in a day
Drink a milk
yes
damn
unhealthy
What is that
i waste too much time on games
i cant brag as the most ammount of hours i got is in terraria with 300
This is bot chanels or something?
A game or??
what
you know steam ?
Yeah
that one platform that every big company runs away from because they want to take a small ammount of money
this is steam
off of the game's income and the company is like "No we will not lose money"
Ahh dota
Unhealty
very
9k...
anyway so lets actually talk about coding
i swear this chat is 60% off topic 30% me and hamza arguing and 10% coding
so more arguing?
me
I mean fair enough
me after looking at haydots code
*This video was written quite a while ago and I don’t necessarily share these feelings anymore but hopefully someone out there can connect with these words
PATREON: [https://www.patreon.com/user?u=3261155]
EDITING: by Housecat
https://www.youtube.com/channel/UCKPZHZzvSPYvqyk-nFS9kDA
MUSIC
"This Is Not Effortless" by True Cuckoo
"Cocktail...
windows is bad
windows phone L
mixer L
windows 8 L
windows 11 L
linux good
c#? nah screw that shit
i use Python and HolyC only
jk c# is like really gud
but
managing everything to make sure my code doesnt implode
is not fun
i guess I can try unity again
Atleast it doessnt need tools windows cant provide as it sucks
Nah man his whole house is on github
you can just copy it from there
Yeah
You can just modify the walls there so that you can walk through.
Or unlock the door
you know what no fuck trying unity I can force the kernel to link in elf
you dont need to all his belongings are on github you can copy them from there
ez money
Yeah but inflation
trying to figure out what I wanna do next
And you don't get the rush of ruining his life.
but money
But the money will be a lot less.

