#⌨coders-cave
1 messages · Page 78 of 1
all items are open source
I think inflation would have happened long before you
Nah because everybody else found a way to modify it.
If you straight up steal it then it's worthless.
But if you change it, it has new value.
inflation is open source you can delete the file
No
Inflation is proprietary
Or however you spell it.
You don't even see the machine code.
It's server-sided.
not if i backwards engineer the .exe file
It's on the server not the client.
No the devs were really intelligent.
right elon musk was the head engineer
They knew it would be fragile so they protected everything they had to.
he wouldnt allow that
The only frontend things are the login, withdrawal and deposit methods.
Everything has been crashed so much it kinda has to be that way.
Encapsulation
maybe we can do an sql injection
No that's been tried and fixed.
If we wanted to beat the system we should just move into the digital world.
Finance but code
France in code?!?
France would be coded in low level C
No France would be coded in aunt Frank's backyard concoction language.
They're not that fast. Or capable.
also known as AFBCL
Britain would be coded in malbolge because of how complicated they are to understand
Can I get some crisps and a waer
which assembly
there is like
1000 assemblies
x516
all of them more difficult then the last
That would suck to code
No
move(no, 900000000000);
Or you could moveStack(90000000000);
moveStack is preferred.
That's because it is.
You can torture yourself with old style syntax but the other is preferred.
What is it?
High level assembly as an actual language
I can try to learn how to make a language
Yeah that would be cool.
it shouldnt be more difficult then a bootloader...right
Not like C/C++ but just understandable assembly.
yea like
It's basically a compiler.
I've had that idea but I don't have to time to go through with it.
[bits 16]
move registers::bp, 0x9000
move registers::sp, bp ;There is like an actual list of all registers
halt
I'd have to actually learn assembly
Idk how to make it less complicated
Its pretty easy
Way easier then C
Mainly because it doesnt have alot of stuff to do
wait I got an idea
#bits 16 is::moveStack(0x9000);
ok a bit better
is = instruction set
Ok thats good but would you need registers
like to learn them
because currently they are the hardest part of assembly
is::move(sp, bp); Replace bp and sp with what they stand for
too wordy I think
Yeah but from what I understand, bp is the stack
Basically bp is the bottom of the stack and sp is the top...or the other way around you get the idea
the stack goes down]
Yeah.
but it shouldnt go below 0x7000 as thats bios memory
and you could fuck your pc up
Yeah.
so you put it high
Moving it too low generates an error.
no no no the compiler refuses to run at all at that point and immediatly halts the pc
to prevent from overwriting bios
No like when the compiler see that in the code or the function itself will throw an error at compile time.
It wont have a way to know when that happens tho...well
Compile time is before the program can be run.
It's still in human-readable format.
the assembly code is assembled first meaning the assembler goes through every line to make machine code so it could also do a check
but wait im confusing assembly with high level assembly
at this point my brain works in assembly
My brain works in C++.
It messes with me all the time.
I see too much ambiguity and contradictions.
Undefined variables and stuff.
Hi im joe Ok remember to put this guy's name in the array of names of people I dont care about
insignificants.push_back(person("Joe"));
Not even a pointer. They don't get pointers.
They get lost in memory
They're copies that I'll eventually remove.
std::vector<person> insignificants({thatGuyWithPiracyOnHisGitHub});
Ight I gtg.
You know whats worse
In math class the teacher says some number and im like wait that doesnt sound like hexadecimal
aight cya
unity - we offer easy ways to develop games in 3d or in 2d, which one would you like to use?
me: 2d but also
this table is made of UI elements rotated
this is supposed to be a 2d game
its the same trick my 3d mod is based off of
What coding language are worldbox mods?
c#
Mk
Looks so noisy
I can't tell if Unity is quitting and just making the edges of the cards really sharp
do you use make files
@barren shale so I let tabnine write something about and apparently you are starting up on Linux but you are on windows
do i use files? yes
do i make files? yes
do i use "make files"? no clue what that is
is that view of the game, scene view, its not the normal view and makes things look off
Owww, makes sense
Ahhh
maybe he meant
Makefile
yeah i dont use them
no clue what they are
but im pretty much just starting out, theres a lot i dont use/know about
try to set the texture to no point on those suits textures
so they dont look blurred
dont use point unless texture is very small
like this 18x35 pixels texture
they're not textures

basically they are useful for automation
only if you have alot of terminal commands that are the same every time
so they dont look blurred
you run one command 10, 50, 100 others can run
Ye
Incredibly useful they are
indeed
Sounds very exquisite 🧐 👍
I once had a makefile that consisisted of 50 lines 20 of which were directories
running alpine chroot on a glibc based dist
Most confusing shit ever
So uhhh I know this is a stupid question but what does it do
I have never done something like it so idk
it basically changes my filesystem
to alpine
temporarily
its a virtual machine but
Sounds... complicated
more in depth
Ok thats cool af
install alpine chroot version
unpack it
and it already have all the shit
all i have to do is just
chroot to it
currently im not using chroot but a fork of it
since im on android
Yea sounds as simple as downloading a i686 elf linker
Spoiler alert
Its not simple at all
its simple as fuck heh
u0_a615@localhost:~/proot# cat alpine.sh
OLD_PATH=$PATH
PATH=/bin:/usr/bin
unset LD_PRELOAD
$PREFIX/bin/proot -r ~/proot/alpine/ -0 -w / -b /dev -b /proc -b /sys /bin/sh
PATH=$OLD_PATH
u0_a615@localhost:~/proot#
im gonna try it on my rpi
Unix
Oh how i miss you
The windows terminal sucks you cant download anything on here nor use grub
chocolatey??/
true
im gonna try it with actual chroot to demonstrate the use of it
anyway
@orchid frigate
its like a cheap version of a distribution
it lacks filesystems since its running virtually
not actually on your host
but via your host
tell me how to put point filter on text element
sure in a couple of mins
i know its blurry and needs fixed, but your suggestion isnt the way to do it
if they were actual textures then probably
right now i rescale the middle text/icon, which blurs the edge
scaling it back to 1x and changing font instead fixes the issue
noice
but maybe using a texture than a font is safer
for different OSes they might not have the same default font
for sure, this is just the simplest version of the card prefab i made
but as for default font, does it display differently in unity?
i could pack one with it i guess?
101010101101010101010101010110
I wonder how hard it would be to merge together Piranha's code with a race's minimum requirements to make a water civilization/merfolk
Minimum being trait gaining, reproduction and housing on water
maybe
ask in #🔧modding-talk
maybe
oh yea
that's how i used to do it too

i think its the only way
there is no door in the middle of that room
how is he exiting a door that doesnt exist
unrealistic 0.69/10
Thats not megamind
its minimind
that's ur mother
his cousin
bet
anyway did you make an actual door
so that the game is realistic
games are not supposed to be realstic
you said its a door
portals do have textures
borat isnt here to draw one
you mean brown thing (door)
no
Lmao loser loses again because he forfeits
ahah
a person of such high rank as me does not accept duels from peasants like you
say no or im gonna let tabnine write something else about you
ok trial mod
lol
im not talking about discord rank
someone who is better than you at everything ?
you say you are perfect
that guy who used to call people's code bad
you rember me ?
I rember you 😄
YOUR MoM ????????????
nice copying me
this chat has lost all purpous because of you
so you are banned
from coders cave
officially
i mean not officially
but...unofficially
you are unoficially banned from here
you are older then me
o k b o o m e r
hamza
say something
but say it in your favourite programming language
@barren shale you made me ping you
@orchid frigate
Fun challenge for the commenters: Not mentioning the fact that I've been gone for 3 months.
Join the Discord: https://discord.gg/junferno
Secondary Discord invite if vanity invite expires: https://discord.gg/WEykWbjkR2
Twitter: https://twitter.com/Junferno
Check out my other stuff on GitHub: https://github.com/kevinjycui
Footnotes:
- The defi...
here
learn unity
unity gaem engine bade 😭😭😂😂
o
why tf would I do that when Im making an OS
better usage of ur time
ok
@barren shale Wait..you are making a kernel?!?!
Tabnine said you are making a kernel
and it doesnt lie

maybe
👀
maybe im playing video games all day
maybe i have things to study but instead im playing
Hmmm
I need advice
Can I put the Def command in another Def command ?
Like
def code():
def hello():
Is it possible ?
Yeah
It’s defined only within the first define
rust can do it
but in rust that function automatically becomes local to the other function and thus
useless
You know what I got a new hobby
letting tabnine write something about hamza
thats amazing
damn, where did you go wrong?
@barren shale get over here and run the kernel properly
ur mum
lol
are you making a BIOS or smt
how are you running a kernel
or failing to run a kernel I should say
Nvm im bored as hell from this
It only uses strings you have previously written so it just repeats itself
and it also really likes kernels for some reason
it keeps repeating kernel over and over
For god sake,now I understand why rei Block you

I-
Hey thats megamind
From that movie
Megamind
no im not
hey thats that guy spy
from the movie spy
made by spy
ye
I saw it in github
Hmm
I have alot of new code, gonna share it in a bit
Yep but atleast they are solvable
also its done but its on a new repository
and currently doesnt work because of the giignore file
Giig what
and like 1000 other stuff
you know, github repository
also to make the boot image you gotta have an incredibly specific instillation of rust
just found out about Proton
what's proton
Proton is a compatibility layer for Microsoft Windows games to run on Linux-based operating systems. Proton is developed by Valve in cooperation with developers from CodeWeavers under contract. It is based on a fork of Wine, and includes several patches and libraries to improve performance and compatibility with Windows games. Proton is designed...
linux gaming time
when you install steam on linux it keeps telling you DO YOU WANT TO USE PROTON
PROTON IS GOOD
USE PROTON
why not
and its pretty good
sometimes running a game on proton is better than running it natively on linux
kek
its only good for casual thigns
I don't remember the right ine
Yes
python doesnt need datatypes
what
Oh
@barren shale your BIOS sucks
the bios isnt the one to call the kernel but...shut
mymotherBIOS is better then HamzaBIOS
lol
@mental jacinth btw
we don't explicitly tell python
what variable is what type
foo = "bar"
foo = 420
foo = 6.9
foo = True
some operations like
/ always returns float
so 2/1 will be 2.0
also
by doing
int.something = 1
you're adding an attribute
or overriding them
from the int class type
wait what
int, str, bool, float
you can add attributes like that ?
these basics types
are also a class
and also
you're not able to add your own attribute to the classes
because some builtin are immutable
to set the LEDS on a keyboard you gotta get 0xFA(ACK) which is quite funny (I swear my humor is the same of that of an 8 year old)
that's actually funny
the guy that made that must have hated LED keyboards
heh
here's a funny joke /s
"what does the server ask from the client to keep the connection alive? ping, because you would pong back"
iam funny

that...actually made me giggle
why did it make me giggle is unknown
but it did
the programming version of dad jokes
cool part about them is that only like 0.5% of the population understands them
are you a dad haydot?
the rare specimen
atleast we're not those people who claims to like hack fb/ig
with a cool coloured output
when its not doing anything
i am not a dad as of date 11/18/2021
let me help you with that /s
until hopefully atleast 10...15 years

wait wait how old are you?
i forgot my age
I mean I havent thought about how I forgot it I just know I forgot it
wait hacking os inbound

currently I seem to be hacking the government
but no joke thats much faster than I thought it was gonna be
I guess writing straight to vga buffer instead of doing like 2 compilations is kinda fast
yes it is fast
@barren shale you wanted speed you got speed
Perfect timing lol
and i placed it in the startup of a school computer
evil plan
that was like 5 years ago
Did it atleast close the previous window
ofc not
that wouldnt crash the computer
its a loop
so each window opens itself forever
computer crashes in like 2 seconds
you need to reinstall the OS
i think its impossible to fix the PC
Why doesn't rebooting fix it
i placed it in the startup
Because the thing isnt working anymore
it starts instantly

What did the teacher say
idk
he probably thought the pc got a virus or something
cuz they are connected to the internet
that was when i was in the UAE
If I do this at my school the teacher would and principal would expell me from using computers until i graduate
how would they know tho
I mean its pretty obvious
They know im a programmer
I bragged about making viruses
no proof
Cameras
Plus the room is like 4 meters wide she would notice
lol
But the teacher seems to hate windows
And Microsoft in general
Today she constantly talked about how Microsoft apps are everything there is and told us why we should switch to linux
Ah yes... The nerd cave
Werent you too cool for jobs or smt
I need money to be an alpha predator
Cool well are you gonna talk about coding
Elaborate
If you only talk about coding its not very but if its a hobby or a job you its cool
Plus you can make cool stuff
Hmm
I wonder if
I can solve my very complex maths with a program
Well
Let's start with cube root
Cube root like square root
How to do it
@barren shale nice argument but...
Console.WriteLine("Great arguement however, ");
while(true)
Console.Write("Your Mother");
same thing just 1000 times slower
n o n e c a r e s
This took like 300 lines and its still much faster because:
no compile time because we write straight to vga buffer
omg its 0.01 ns instead of 1ns
You are becoming me back when I was with unity
you would constantly tell me how my code is slow
well look at me now
its fast
great argument however...
people use python for a reason
Well I dont want my code to be easy
sometimes you dont want to write 300 lines so you can type your mother
sometimes you want to do it with 3 lines
if I use grub it will be bootable on any x86 pc
actually idk how this bootloader works I use booimage crate
might be more then just that
n o n e c a r e s
ok mr. Hamza
what do you care about thats so
practical
Console.WriteLine("Great arguement however, ");
while(true)
Console.Write("Your Mother");
look practical code
that's not practical
is that better
is that more impressive did I have to read 2000 hours of documentation for that
you didnt have to waste 2000 hours of reading for that
what would I do in those 2000 hours thats so practical
make something practical
whatever practical thing you want to do
not practical
OSes are already made
Are we gonna use Windows or Linux for the next 100 years
because they are good enough
hell why not play the same game for 200 years because its good
we can upgrade them
no need to make new ones
when we need new OSes it will be probably for quantom computers
so everything you are learning now
goes down the drain
into the sewers
why would you go through the trouble of rewriting them when you can start from scratch
idc
who said that upgrading is rewriting
ok
goodbye
my mans really thinking we peaked
everything possible has already been made 
and if you're saying we should make everything in one single OS

not a very good idea, is it
i dont think that's true
i doubt quantum computing will introduce some brain-destroying shit that no programmer will be able to understand
so it will most likely introduce new processors meaning new assembly
instead of assembly you'll have q-assembly
thankfully enough we should have learned from the past so we shouldnt make the mistake of overcomplicating it
and im sure corps will try to make it as close to existing assembly as possible to make it easier to migrate to quantum computing
or at least reasonably close
i think it would be good if they made it like a high level language but that wont really work considering how assembly works
plus, quantum computing isn't something that we will have in five years
or ten years really
we can set our goals as high as we want
but remember the people that said we'd have flying cars
that means you should keep learning the low level stuff
instead of sitting for 10 years waiting for quantum computers to come
Plus someone has to know about low level no matter how advanced everything is
Someone has to keep it running
ye
Unlucky individuals they(maybe we 😳) are
im not sure why hamza even said that everything you're learning will go down the drain
because c# compiles to what?
correct
the more i read about this the more i want to learn smth like Rust
im low-key tired of high level coding and i also want to try my hand at making FAST things
@orchid frigate recommend ideas
Rust is high level but is build to behave like a low level language and does that very well
What do you wanna do I could tell you learn assembly but thats obviously not very useful
Ah
Ok brb
the garbage collection thing for rust is also very interesting
Ok so lets talk about rust
Rust is a high level programming language that has the ability to run like a low low level language through its nightly version (basically a version with features that are unstable)
It can be a very good high level language meaning it can do alot of the things high level languages can
But also a very good low level language having inline assembly, having many APIs like vulkano
And the bootimage crate or the best thing to be made ever
Making your rust code directly to a working os image in a premade bootloader
One of the best features of rust is its crate system
Its amazing
You write your crate and the version in your cargo.toml file and boom you can now use that crate
Ummm...I think?
Haven't really delved into web stuff
But there should be a crate about it
There is millions
Apparently its amazing for web dev
Incredibly fast
oooooo
epico
im gonna read moar about it later
it sounds very cool
could prob let me add stuff that I'm not able to rn
Now im just gonna warn you
Rust is... difficult
When I jumped from cpp to rust it felt incredibly difficult to do anything
Yes and you won't use if statements like
Ever
Match statements are way better
They are basically the same as switch in c# and C but you have to specify what the compiler should do incase the var you are checking isnt matched with anything
Which usually looks like this:
_ = (),
what would make me not use if expressions
not very useful considering match
now if statements are still useful
and better then match because match has alot of stuff it cant do
ok so
here is an example of a match statement
its a kinda complex version with those brackets but whatever
spooky
so:
fn main(){
let var = 9;
match var{
9 => foo(), //if var = 9 we call foo
_ => (), //if not, we do nothing
}
}
it is
and I just realised how complex that first example was
yeah it looked like enchantment table
like I barely understand it and I have worked in this for a while
kek
does it use indentation?
so
int main(void){
if (1 == 1){
std::cout >> "Hi" >> endl;
}
}
cpp
fn main(){
if 1 == 1{
println!("Hi");
}
}
also println! prints a line
And damn is it not annoying to implement this without the standard library
🤔
OH
i see what you meant
i thought you meant it was like python
but it is for the if (x == y)
like say what data type a var is?
yea you can
While True:
memes();
instead of
While True{
memes()
}
there is a loop which is:
fn foo() -> !{
loop{}
}
basically
function foo is a function and the -> ! means it shouldnt return
at all
like anything
not just () but absolutely nothing
o
no need for while True?
nope
indeed 
also you can easily throw panics which basically stops the application by doing:
fn main(){
panic!("panic info here, you can say whatever you please");
}
i wonder how the web stuff works and if it's going tofry my brain
damn I enjoy teaching
panic shuts down the entire thing?
Yep
ooo
why
its incredibly complex
is it useless or is it regex levels of insanity
its... its very useful but if you are doing very very specific things
also its not that its useful
what kinda things
Because lets say you try to do something and all of the sudden you will see
"This random data type doesnt have this specific trait and thus cannot do this"
i don't like this
Giving a function specific traits makes it behave different
spooky
but thats...not useful for high level stuff
only very low level
you can also call C functions
Idk why you would but thats a thing
hm
okay this sounds
really fun
and new
and cool
and i hope the web stuff won't destroy my brain
lemme check for a good web crate
i despise having to work with zillions of megabytes of nodejs or django etc
and yes libraries are called crates here
you have this one cargo.toml file
where there is some space called [dependencies]
🤔
if you write the name of the crate and the version there, like lets say:
[dependencies]
bootloader = "0.9.8"
volatile = "0.2.4"
spin = "0.5.2"
you get to use them freely
what does toml stand for
tbh idk
is it like
but rust uses it alot
so its like importing?
ye
You dont have to download everything yourself
you do have to pick one but there are some .toml extensions on vscode that show you all versions
of that crate
hmmm
so you can just pick the latest
and
it downloads it for you
yep
when you run the file?
because if project folder then that's like venv
and to make a project you go to terminal, go to the folder where you want your project and type cargo init
sounds okay
it will automatically make a building enviorment
that you can just cargo build to build and cargo run to run
its very easy
yee
you can also do some customization like choosing what version of rust to use or download a different toolchain
lets say not stable but nightly
yes
here is how you make a more complex project
wdym by more complex
cargo new projectName --bin --version 2018
this will create a folder with a project which will use 2018 edition of rust and its...
the bin is...
it will do binary stuff which Im kinda confused about considering it doesnt compile the file to a bootable file but the bootloader crate does
but yea
and the cargo.toml file allows for alot of custimazation like an author's name, version of the crate, instead of using the main.rs file to use a different file
like jobs.rs
Wdym
well
a function that isn't mandatory but everyone uses it because its good and there's no real reason not to use it everywhere
like a main function or smt?
author's name really doesnt matter its just info
ehhhh
nno?
okay wait
what does the bin really do
is it just miscellaneous stuff
I think what its meant to do is compile to a binary file and give it to you
🤔
but what I do to get the binary file is use the bootimage crate
so compile the code to binary instead of whatever the build thing does?

les go?
