#⌨coders-cave

1 messages · Page 80 of 1

orchid frigate
#

For me to get because x2 price in Bulgaria

hasty bane
orchid frigate
#

It costs like what the school gives me for 3 months

hasty bane
#

im not implying anything with that wbshy

#

dont get me wrong

#

modding rimworld is kinda fun ngl

#

im very bad at making sprites though

orchid frigate
#

Just open some pixel art software

#

And spray random pixels

#

Best sprites

hasty bane
#

that works for testing

#

though

orchid frigate
#

Or make a program to randomise every pixel on screen

hasty bane
#

i suppose i could make a mod that alters game behaviour

#

instead of adding new items

#

if you look at stuff like combat extended it's pretty big

orchid frigate
hasty bane
#

basically

orchid frigate
#

I got an idea but its kinda rough

#

Maybe you could make extended combat

#

Like new moves and stuff

#

Idk how the game works but thats an option

hasty bane
#

yeah you could

#

i think its a weapon thing

#

weapons have combat moves

#

the game is very moddable

#

there's a mod that lets you basically make factorio

main brook
#

im mid migration

#

i fucked up

#

i accidentally set my shell to /bin/fish

#

when its actually on /usr/bin/fish

#

and it was my root user

#

thankfully i can still use my bot to do shell commands and make a copy of passwd and alter the shell and then replace the original one

#

syntax highlight go brrr

#

okay fuck fish

#

its slow as heck

#

im going back to zsh

hasty bane
main brook
#

but its fact

#

fish sucks

#

its slow resolving the commands and its arguments

#

one command takes like 5s

#

to resolve

hasty bane
#

wow

#

thats uh

#

kinda bad

#

lmao

main brook
#

i think im good with no completion at all

main brook
#

but hey what you expect

#

its guessing a script file commands

#

its bound to be slow without any interface

#

although some lib has the

#

libname-fish-completion

hasty bane
#

complete the fish

main brook
#

so its like an interface

main brook
hasty bane
#

do not leave the fish incomplete

main brook
#

i will leave the fish incomplete

hasty bane
#

banned

knotty root
#

Where BEANZ cave

main brook
#

ffs means Fucked up FileSystem

#

goodbye~

knotty root
#

WHERE BEANZ CAVE

orchid frigate
#

@knotty root thats not very nice nor allowed

exotic vessel
#

Ah yes... The nerd cave

orchid frigate
#

character development = null

#

I made as many syntax errors as possible to piss some people off so that this chat lives for once

#

master plan

hasty bane
#

back to learning rust

#

i read more about it and

#

it is VERY cool

#

it is gigaspeed

#

which means i can implement more complex logic

main brook
#

yesterday my devices suffered like

#

so many times

#

my phone and my rpi

hasty bane
#

epic

#

im gonna get myself a new phone and im gonna start coding on it

main brook
#

use termux

main brook
#

no

#

dcoder sucks

#

it runs your code on a server

#

not locally

#

dcoder is not customizable

#

it requires internet to run

#

most things don't work

hasty bane
#

i tried termux on my current one

#

pretty cool

main brook
#

right

#

you can install rust

#

cargo

#

and other things

hasty bane
#

i think so

main brook
#

although the only downside for compiled binary file

#

is that you can't run them on your storage

#

only inside the termux storage

hasty bane
#

wbshy that's fine

main brook
#

termux filesystem

hasty bane
#

gonna be a bit weird

#

working with rust on a phone

main brook
#

not really

#

its just

#

its gonna take atleast 500mb

#

also

#

install the f-droid version

#

not the playstore

orchid frigate
#

This is a sad day for us 😔

#

Ima call the entrance function Amogus

hasty bane
#

this is a based day

orchid frigate
#

After calling it amogus it printed mogus 😵 😵 😵 😵

hasty bane
#

whaaaaaaa

orchid frigate
#

jk but that would be really cool

#

QEMU devs would have gain a large ammount of respect from me

#

Ok well I guess its not them that do it

#

but still

hasty bane
#

omw to make suslang

orchid frigate
#

Pt

orchid frigate
#

Ima make susos in suslang

#

😳

hasty bane
orchid frigate
#

You just gotta make sure it has inline assembly

#

and can use extern C

#

and has pointers

hasty bane
orchid frigate
#

dun dun dun dun dun dun dun

#

when the os is sus 😳

hasty bane
orchid frigate
#

and explodes your pc 😳

hasty bane
#

program.sus

orchid frigate
hasty bane
orchid frigate
#

attributes:
System file
Sus file (Serious Unemployed system)
When the file is sus (Serious Unemployed System)

hasty bane
orchid frigate
#

Unreadable unwritable

hasty bane
#

Suspiciously Unpleasant Sysfile

orchid frigate
#

Suspiciously Unpleasant Susfile 😳

hasty bane
orchid frigate
#

Making an OS is great

#

you can do stuff like this

#

while writing the most unreadable code ever

orchid frigate
hasty bane
#

imagine a virus written in amogus memes

orchid frigate
#

Written in SUSlang 😳

hasty bane
#

vent Maintenance() {
press_red_button("sus");
}

orchid frigate
#

OMG I WILL CALL THE ENTRANCE FILE VENT

hasty bane
#

replace void with vent

#

or eject

orchid frigate
#

When the bootloader and kernel are sus

orchid frigate
#

😔

hasty bane
#

sad

orchid frigate
#

Lets make a poll
Amogus or vent for entrance file

hasty bane
#

wbshy for amogus attractive for vent

orchid frigate
#

I cant decide

#

its too good

hasty bane
#

i like vent

#

but amogus is also nice

orchid frigate
#

vent it is

#

lemme edit the kernel.asm file

hasty bane
orchid frigate
#

I would like to see the current AmogOS have this as their main kernel function

#

I know for a fact they dont

#

because they are on Linux

#

Pre made kernel

hasty bane
#

🤔

orchid frigate
#

you know what too tired to make a kernel rn

hasty bane
#

understandable

orchid frigate
#

gonna implement a sussy shell for 16bit

#

😳

hasty bane
#

ooh

orchid frigate
#

atleast thats alot easier

#

Ok I lied

#

I will need to rewrite the bootloader

hasty bane
#

lol

orchid frigate
#

to implement a shell

#

maybe I can do it later

hasty bane
#

smh lazy

#

jk ur epic

orchid frigate
#

Im in math class while writing a kernel while reading wiki hagrid

hasty bane
#

based

orchid frigate
#

ok why tf did I decide to write most of the bootloader completely clamped togther making this fucking unreadable

hasty bane
#

lmfao

#

gamer code

orchid frigate
#

I was like "Hey this will look cool and complicated" but I never thought about the fact that

#

its too complex

#

I cant read 😔

#

Ok I think I got it

hasty bane
#

i have faith in you

#

may the sus guide you

orchid frigate
#

Ok yea I found where to place the shell

#

Making the shell is pretty easy because BIOS is kind enough to let me use its drivers wbshy

#

There is so much I could improve on the bootloader but Im so sick of looking at assembly 😔

#

Its actually starting to get annoying as fuck with its incredible unreadability

hasty bane
#

hmm

terse schooner
#

i coded fortnite itself

orchid frigate
#

I mean its useful dont give me wrong and being able to turn hexadecimal to ascii is amazing

#

no other language has that

#

but its...so unreadable sometimes

terse schooner
#

ion know tho

#

english has everything

orchid frigate
#

Ok well

#

I shouldnt have touched the very delicate bootloader code

#

Its no longer working

#

Uhhh im pretty sure I can git restore some of it...

#

ah I can

#

thanks git

hasty bane
#

kek

orchid frigate
#

fuck the 16bit shell it doesnt have to exist anyway

#

the text editor is buggy af and the only other feature is halting the cpu

hasty bane
#

hating the cpu*

orchid frigate
#

ye

#

we hating on the cpu

hasty bane
#

fuckin hate this bich

orchid frigate
#

I hate that guy cpu

#

who makes the pc work

hasty bane
#

horrible horrible person

orchid frigate
#

and does pretty much everything by himself

#

and is very important

hasty bane
#

gpu: cries

orchid frigate
hasty bane
#

not if you're a GAMER

orchid frigate
#

My gpu rests for most of the time

hasty bane
#

or a deep learning enjoyer (read as masochist)

orchid frigate
#

I wonder if my pc will explode if I make a batch file which opens gta 5 constantly at max settings

hasty bane
#

yea

orchid frigate
#

This will kill the OS thats for sure

#

especially if you put it in startup tasks

hasty bane
#

gg

orchid frigate
#

which hamza did with his virus on his pc

#

school pc

hasty bane
#

lmao

orchid frigate
#

Pretty sure that has no fix

#

startup tasks suck

#

tell me a number from 0 to 1

hasty bane
#

1

#

:D

#

0,69420

hasty bane
orchid frigate
#

Ok I forgot what I was gonna do

#

Ok do it again

hasty bane
#

0.42069

orchid frigate
#

so 0?

hasty bane
#

yes

orchid frigate
#

You picked the wrong option again...

hasty bane
orchid frigate
#

Now have to stop complaining and make a kernel

#

😔

hasty bane
#

Aliens rust is a bit hard to learn

#

for someone who only interacted with c# and python

orchid frigate
#
pub fn main(){
      println!("Rust be hard");
}
#

I would say its harder than C

#

Because of how many features there are

#

C is more... cramped together

#

So using it and remembering is easier

hasty bane
#

it be weird

#

i do know, however, that println! is a macro because !

orchid frigate
#

Ah so you are learning fast

#

I had to start making an OS and implementing macros myself to know that

#

I always wondered why it had to have a ! at the end

hasty bane
#

the tutorial just

#

goes over increasingly more difficult scripts

#

while breakig them down

orchid frigate
#

eh I dont recommend watching tutorials to learn it

#

they usually drag things out too much

#

Plus experience in the language will make you better

#

So just set yourself a goal and try to finsih it, or atleast thats what I recommend

hasty bane
#

i like knowing the absolute basics of a language

orchid frigate
#

also a lil tip for rust strings

#

There is one basic rule for both strings

#

if the one doesnt work, just use the other

hasty bane
#

what does that mean

orchid frigate
#

There is String and &str

#

String is the implemented one

#

while &str is the system one

hasty bane
#

system as in

orchid frigate
#

I personally hate Strings so I recommend using &str

orchid frigate
hasty bane
#

oH

orchid frigate
#

the other is implemented by the std

hasty bane
#

why not use the built-in

#

ahy is there an implemented string

#

if theres a builtin

orchid frigate
#

2nd rule

#

dont ask questions like that unless you need em to finish your code

#

Otherwise you will overload on rust's questinable design

hasty bane
#

ok i gotcha

#

is it that bad

orchid frigate
#

basically how rust works if this doesnt work, either try something else or use 10 different crates

orchid frigate
hasty bane
#

isnt that most languages

orchid frigate
#

its much worse rust

hasty bane
#

hmm

#

i need to know everything about it wbshy

#

maximize efficiency

orchid frigate
#

Its already efficient

hasty bane
#

MORE

orchid frigate
#

it has a garbage collector

hasty bane
#

i want to know

#

everything

orchid frigate
#

well

#

goodluck

hasty bane
orchid frigate
#

the rust compiler is 2mil lines I think

#

or more

hasty bane
#

oh

#

great

#

hm

#

well then

#

i dont need to know everything

orchid frigate
#

Thats what I like to hear

#

understand what you need not what you...well dont need

hasty bane
#

true.

#

but i do want to know potentially useful details wbshy

orchid frigate
#

also

#

please

#

please

#

dont try to understand traits

#

just use crates made by people who understand them

hasty bane
#

I have to at least attempt

orchid frigate
#

they are complex as all hell

hasty bane
#

Its like decorators early on with python

#

i tried

#

i didnt understand but i had to try

orchid frigate
#

well good luck with em

#

also also also

#

The rust compiler is amazing

#

because it tells you EXACTLY what went wrong WHERE it went wrong and how to FIX it

#

Unless you do no std stuff

#

in that case it will just die itself or smt

hasty bane
#

nice

orchid frigate
#

also also also also

#

use crates

#

have I said that before?

#

Idk

#

But dew it

hasty bane
#

yes

#

i do need to use crates

#

i also found what toml stands for

orchid frigate
#

you can start with the random crate and see documantation

hasty bane
#

i think its

#

tonys obvious minimal language?

#

smth like that

orchid frigate
#

you can generate random everything

orchid frigate
#

nice name

#

and ints

#

are not ints

#

but is

#

i16, i32, i64, i128

hasty bane
#

TOML is used in a number of software projects, and is implemented in many programming languages. The name "TOML" is an acronym for "Tom's Obvious, Minimal Language" referring to its creator, Tom Preston-Werner.

hasty bane
#

literally minmax the bytes

orchid frigate
#

and you can take their max and min values from

fn main(){
  let num = i128::MAX;
  println!("{}", num);
}
#

or min

hasty bane
#

o

#

so that

#

prints max 128 int?

orchid frigate
#

ye

#

try it

hasty bane
#

thats epicc

orchid frigate
#

see what you will get

hasty bane
#

i cant do it rn but

orchid frigate
#

ok well

hasty bane
#

i know its a long number

orchid frigate
#

also prints are weird

#

because you cant say

println!(var);
//no
println!("{}", var); //yes
#

ok the second one is correct the first isnt

hasty bane
#

does it always stringify

orchid frigate
#

Its good at doing that

hasty bane
#

or does it print it as int if the value is an int

orchid frigate
#

But dont push your luck

#

It sometimes doesnt

hasty bane
#

so basically print is unreliable

#

xddd

orchid frigate
#

Everything in low level languages is unreliable

hasty bane
#

understandable

#

but at least they go vroom vroom.

orchid frigate
#

The thing is thats not entirely true

#

Print is reliable

#

But if you put some random data type that was never supposed to be a string as an argument

#

The compiler will ask you if you are drunk

hasty bane
#

lol

orchid frigate
#

Also there is like

#

1000 different data types

#

Wait no

#

More than that

#

Around 10k built in ones

#

Because rust has something called

#

Result

#

Idk what it means or how to use it

#

But its there

#

Pretty sure the compiler handles all the hard work on it

hasty bane
#

🤔

#

isnt result like

#

succeeded / not succeeded

#

Result<T, E> is the type used for returning and propagating errors. It is an enum with the variants, Ok(T) , representing success and containing a value, and Err(E) , representing error and containing an error value. ... In the std crate, Result is most prominently used for I/O.

#

@orchid frigate

orchid frigate
#

Probably idk

#

I never decided to learn it

#

Also those triangle brackets

#

No idea what they are either

#

They are like cpp pointers for me

hasty bane
#

doesn't mean anything

#

i think

#

if youre talking abt what i sent

orchid frigate
#

I only use them when a crate asks me to use them

hasty bane
#

i mean t kinda does but

#

ig youre right

#

just call panic when needed

orchid frigate
#

Ye

#

panic is great

#

I also know how to implement it

hasty bane
orchid frigate
#

which makes it awesome

hasty bane
#

can you call it

#

from anywhere

orchid frigate
#

ye

hasty bane
#

nice

orchid frigate
#
use core::panic::PanicInfo;
#[panic_handler]
pub fn panic(info: PanicInfo) -> !{
  println!("Failed to run the program because: {}", info);
  loop{}
}
#

Thats it

#

the enitre code

#

actually

#

you can ignore the things on top

#

oh wait

#

jmp isnt a rust thing

#

lmao

#

actually in all reality

#

this can really be compressed more

hasty bane
#

hMmm

azure tusk
#

I’m a big fan of caves not gonna lie

#

That’s where most rocks are

pearl compass
#

Wath da hel

main brook
#

cursed

scenic hazel
#

I'm no computer expert

orchid frigate
#

Im so confused as to why people come here and say that they cant code for no reason

#

like you dont have to come here if thats the case

orchid frigate
#

ay so I wanna call the kernel loop something kooler so do any of yall got any ideas

#

I would be happy to steal them from you

#

and not credit you anywhere

#

thanks

hasty bane
#

susloop

orchid frigate
#

good name

#

but not good enough

hasty bane
#

sussierloop

orchid frigate
#

I was gonna do Entrance but that sounds boring

#

main is too overused

hasty bane
#

wbshyloop

orchid frigate
#

and start is...really good

#

I like start the most

hasty bane
#

call it FINLAND

orchid frigate
#

nou

#

what is a synonym to start

hasty bane
#

launch

#

finland

orchid frigate
orchid frigate
#

nah start is superior

hasty bane
#

i feel like

#

making a web game engine

#

instead of a game

orchid frigate
#

web game engine

hasty bane
orchid frigate
#

I swear I didnt know that was a thing

hasty bane
#

me neither

#

i have a pretty good idea for a battle system though

orchid frigate
#

are you making a game

#

or a game engine

hasty bane
#

a game

orchid frigate
#

ah cool

#

whats it called

hasty bane
#

wbshy i dont know

#

didn't really make a name for it yet

orchid frigate
#

Resnse?

hasty bane
#

resnse

orchid frigate
#

Rense*

#

I was gonna name the OS that but I decided to not write it in Rust

hasty bane
#

i had an idea about modular production

#

like

#

youd build a factory

#

and factory would have x module slots

#

and you would install, remove and swap modules

orchid frigate
#

Alox

orchid frigate
hasty bane
#

and the battle system would be uhh

orchid frigate
#

I swear I had money I wanted to spend a few days ago on a new game but I barely found a game thats worth

hasty bane
#

individual units
building into a row several lines thick

#

and attacking other units based on their range etc

orchid frigate
#

Ok also

#

put a giant glowing tree

#

in the background

#

its gonna make the game beatiful

hasty bane
#
  • different dmg types + airplanes!!! + actions the player can take + epic retreating if you die
knotty root
#

Also hi

orchid frigate
#

hi

orchid frigate
#

look at this

knotty root
#

Ooooo

#

Cool

azure tusk
#

Let’s focus more on the cave part, caves are very echoey would you say so?

sick geyser
#

Hi

sick geyser
orchid frigate
#

no

hasty bane
#

ez

#

programming in a nutshell

#

sees thing
damn this should be easy and simple
3 weeks later
AAAAAAAAAAAAAAAAAAAAAA

flint veldt
#

Ehh

#

Pasen un mapa del mundo

#

Banda

hasty bane
flint veldt
#

Uno que está bien vrg

hasty bane
#

english only here

flint veldt
#

?

orchid frigate
#

easy you say...

#

we not gonna talk about the countless hours of development and the amazing marketing skills you must have to make any money on it?

orchid frigate
#

I mean that could mean anythin

#

for a more sarcastic approach I would have chosen this wbshy or this wbsmirk

wet girder
#

Making money with a game requires shit ton of luck and time atleast

#

Good marketing skills help too

main brook
#

yes

#

also not falling into a game loop

#

where the game will be more p2p/p2w

#

and it'll make the community quite toxic

hasty bane
#

who

wet girder
#

He's quite talented but I don't personally enjoy his content

#

it's quite over the top

hasty bane
#

yeah i dont think you can really call those production ready games

#

i mean

#

you can

#

but its like

#

indie af

orchid frigate
#

Os devs: fuck no

#

Stack overflow as the website has near to none stuff about os development

#

And in its actually meaning

#

Which is literally the stack overflowing

#

Its quite dangerous

#

And can cause triple fault/permanent damage to system

main brook
#

that's not a tip

#

thats a must

hasty bane
#

lmao

orchid frigate
#

Or even better

#

Dont set the stack in the middle of the BIOS

hasty bane
#

set it close to the edge so the motherboard isnt affected too much

orchid frigate
#

Thats the only true answer

#

Good job

#

You have won the internet for today

hasty bane
orchid frigate
#

But wait wouldn't it overflow in the hard disk/ssd

#

Because memory adresses are there

#

What will happen to my ssd 🧐

hasty bane
#

it will become soggy state drive

orchid frigate
#

Is it better than average ssd

hasty bane
#

liquid state drive even

hasty bane
orchid frigate
#

Actually wait

#

I was wrong

#

Stack overflow doesn't mean that it goes into bios

hasty bane
#

the people who invented the word stack overflow

#

were boring

#

why didnt they name it

#

unexpected stack detonation

orchid frigate
#

It means too much stuff is pushed to it so everything pushed to it overflows

hasty bane
#

or something

#

smh

orchid frigate
#

Which idk what happens afterwords

hasty bane
#

Death

orchid frigate
#

I think i read somewhere the cpu triple faults immediately

hasty bane
#

does it actually triple fault every time there is one

orchid frigate
#

Yea

hasty bane
#

dam

#

spooky shit

orchid frigate
#

Triple faults suck tho

hasty bane
#

i mean they do restart the pc

#

and force you to get windows updates

orchid frigate
#

Cuz like when the cpu triple faults it reboots the same os

hasty bane
#

imagine

#

virus

orchid frigate
#

Which could be broke /malware

#

So the cpu just traps itself

hasty bane
#

that has no payload except triple faulting the cpu each time windows gets an update

#

forced update

orchid frigate
#

Well still fixable but annoying

hasty bane
#

extremely annoying

#

wbshy better yet triple fault during updating

#

so everything dies

orchid frigate
#

Cuz you can tell bios "ay please dont like boot this os its bad"

hasty bane
#

it's bas(ed)

orchid frigate
#

So its literally just the cpu killing itself so that it doesnt have to try diving by 0

#

But now I wonder

#

If triple faults didnt exist

#

What would it do when it actually tried dividing by 0

#

Or accessing 0xfortnite

hasty bane
#

why not just

#

hard code some of the more common triple fault causes

#

to not happen

orchid frigate
#

I cant

hasty bane
#

instead of doing the triple fault

#

no i mean

#

the cpu manufacturers n stuff

orchid frigate
#

Triple faults are integrated into cpu

hasty bane
orchid frigate
hasty bane
#

yeah but like

orchid frigate
#

Uhhh

#

Make my own cpu code?

#

Uhhhh

hasty bane
#

why restart when can just
if divide by zero:
no

hasty bane
hasty bane
#

wbshy and what would happen if by pure miracle triple fault didnt happen and cpu tried to divide by zero

orchid frigate
#

Because when the cpu is booting its in 8bits at first which has a stupidly little annount of space

#

Then it goes to 16 bit

#

Then the kernel takes control

hasty bane
orchid frigate
#

Plus cpus can't really that much without integrated programs

#

Such as BIOS so the real question is why BIOS or uefi not deal with triple fault

#

And i got the answer

hasty bane
#

256
With 8 bits, the maximum number of values is 256 or 0 through 255.

#

sucks being a cpu

orchid frigate
#

The reason they dont deal with triple faults is that they cant

#

When os takes control and kernel does its stuff its in complete control over the system even if running on bios

#

Meaning BIOS doesn't know what tasks are running

#

So it has no way of stopping anything

#

And thus everything goes straight to cpu

hasty bane
#

sus

#

so basically

#

triple faults were made as a failsafe for everything to save space

orchid frigate
#

But like its quite funny because the os is literally one giant loop

hasty bane
#

everything's a giant loop wbshy

orchid frigate
#

And the bios is calling that loop

#

Ok well I think I know what happens when a triple fault accurs

#

Whatever code handles the cpu it has this command

#
on_triple_fault:
      hlt
#

Just written in binary or hexa

#

Probably

hasty bane
#

hlt is hardwired to nuke everything?

orchid frigate
#

Yep

hasty bane
#

ebin

orchid frigate
#

It completely shuts down the cpu

hasty bane
#

computer kaput

orchid frigate
#

I use it

hasty bane
#

wait

#

does it reboot

orchid frigate
#

In my os to handle disk errors "handle" and shell

#

Nope

hasty bane
#

or does it emergency shutdown

orchid frigate
#

It halts

hasty bane
#

i gotcha

orchid frigate
#

So no reboot

#

Its basically telling the cpu "Either the user is turning off his computer or something went really fucking wrong so you gotta...stop yourself from living"

hasty bane
#

die immediately

#

anyway i decided to

orchid frigate
#

Yea

hasty bane
#

switch to windows 4 rust

#

for the time being

#

attractive debian is way too uhh

#

slow to work with??

orchid frigate
#

Wait

hasty bane
#

im not used to it so it make sense

orchid frigate
#

Before you do

#

Rust is fast but not that fast

hasty bane
orchid frigate
#

Compiling does take a while

hasty bane
#

yeah that makes sense

orchid frigate
#

On windows hello world takes 2-3 seconds first time ran and around 0.25 seconds afterwords

hasty bane
#

how fast is check

#

compared to compiling

orchid frigate
#

Check? Like test?

#

Or build

hasty bane
#

wait

orchid frigate
#

Test feature of rust sucks btw

#

Everyone loves it but I hate it

#

Its too complicated for something that is easy

hasty bane
#

cargo check

#

this one

orchid frigate
#

uhhb haven't used it but im guessing what it does is it only checks the code and doesn't make an object file or whatever it compiles to

#

Probably very fast

#

0.25-0.50

#

Because the thing that takes the most time is making the object/whatever file

hasty bane
#

yeah it does not make an executable

orchid frigate
#

It might be the .lock file but I doubt

hasty bane
#

either way

orchid frigate
#

Also pro tip

hasty bane
#

that should b good

orchid frigate
#

If you hate warnings

hasty bane
#

compiled languages are like

#

op

#

right?

#

reports all errors immediately

orchid frigate
#

Yea they are all high level languages

hasty bane
#

instead of being like python

orchid frigate
#

From C to python

#

Assembled are... assembly

#

And machine code is machine code

hasty bane
orchid frigate
#

Either way if you hate warnings

#

Use this

#
#![allow(warnings)]```
hasty bane
#

im fine with warnings

orchid frigate
#

No more compiler telling you some random function isnt using snake case

#

Or some random crate emitting a random warning about something random

hasty bane
#

hmm

orchid frigate
#

Btw the ! Marks this as global

#

Basically you can write the same without it

#

But it will only count for the thing below it

#

Now it will do it globally

hasty bane
#

hmm

#

weird

main brook
#

i did it everyone

#

i found out a way to format a coloured output

#

with python logging

#

after fucking around for like 5 hours

#

finally found how

#

after frustration

hasty bane
#

wh y

orchid frigate
hasty bane
#

still havent setup rust

#

damn you c++ build tools

orchid frigate
#

Why

#

You just download em

hasty bane
#

i swear everything microsoft makes is just cancer to set up

hasty bane
orchid frigate
#

You can download em from visual studio or the website

hasty bane
#

i have everything in russian

#

had, at least

orchid frigate
#

Руский

hasty bane
#

and the wording is completely different hagrid

#

so i ended up installing useless stuff

#

just to realize rust still didnt compile

orchid frigate
#

Are you following a tutorial

hasty bane
#

attractive all of em

#

i found one with an image

#

of what i have to download

#

so now it should b good

cunning crane
#

🍞 🍞 🍞 🍞 🍞 🍞 🍞

sweet void
hasty bane
#

yes

knotty root
#

Why have you bought me to this headache plaza

azure tusk
#

4/10 cave

#

Needs more cave

hasty bane
#

ah hello therr

#

functions

wet girder
#

Python is decent first language but the lack of "{}" and ";" make it harder to transition to other languages that have wider use cases than python. It's also missing some features due to simplification that I think are good for beginners to learn

hasty bane
#

Yeah that is true

knotty root
hasty bane
#

i figured you'd bring up the simplicity of it as an argument against it

#

double edged sword indeed

wet girder
#

C# is just amazing because it can be used for pretty much anything, is easy to learn and has ease to transition to other languages

hasty bane
#

now

#

c#

#

is hamza

#

i cant support that

knotty root
#

What's the output statement

#

🗿

hasty bane
#

learn rust instead

#

:)))

knotty root
#

What

hasty bane
#

just kidding

wet girder
knotty root
#

Shit
Almost posted 1940s Europe thing

hasty bane
#

print?

knotty root
hasty bane
#

in python?

#

print()

knotty root
#

C#

hasty bane
#

oh

#

hold on

#

I don't remember xdd

#

jupe help

wet girder
#

system.writeln();

hasty bane
#

yes that

wet girder
#

or just write

#

depending on use case

hasty bane
#

writeln is newline yes?

wet girder
#

ye

knotty root
hasty bane
knotty root
#

Thought it would be like java

wet girder
#

java is a nightmare lol

hasty bane
#

java is horrifying spooky and scary

knotty root
#

Anyway should I spend another 100 bucks on another set of classes for c#🗿

hasty bane
#

if they do make you pick things up quickly

wet girder
hasty bane
#

why not

#

what jupe said p much

knotty root
hasty bane
#

there's a lot of stuff on the internet

#

just google it

knotty root
#

🗿

#

I need human interaction to learn

wet girder
#

you can just google "how to learn C#" follow some random course and learn it

hasty bane
#

alternatively you can do what haydot does and just google solutions to every problem you come across when making something

#

just make sure you don't copypaste and forget

knotty root
#

Then again only reason I got through middle school is becuase khan academy🗿

wet girder
hasty bane
#

It is

#

that's how i learn stuff usually

#

i just dive into docs or a tutorial to get the basics

wet girder
#

yep

hasty bane
#

then off to making a project and looking things up on SO

wet girder
#

I usually start a project and read docs while I'm doing the project lol

hasty bane
#

that too

#

though

#

im usually focusing on 1 thing

#

so im either writing code or reading docs

#

cant really multitask very well

wet girder
#

Same

hasty bane
#

tbf

#

im like

#

almost failing high school

knotty root
#

Relatable

hasty bane
#

cuz i just can't learn like that
being forced to remember formulas etc

wet girder
#

Hopping straight to way different topic tho, I have classes about installing Windows on a vm tomorrow and as I've done it like a 100 times I was thinking of asking my teacher to let my try installing arch

hasty bane
#

kek

#

why do you run windows on vm
do you use linux as main?

wet girder
hasty bane
#

that's pretty normal

#

you just

wet girder
hasty bane
#

kinda have to listen

hasty bane
#

oh that's fair

#

virtual environment taken one step further

timid field
#
print("Hello world")
wet girder
azure tusk
#

What about uhhhhh

#

This image

wet girder
#

agreed

hasty bane
#

yes

#

there is no more permanent solution than a temporary one

#

(but the slowdown is also permanent)

timid field
#
If amongus == sus then
imposter:KickPlayer()
end
knotty root
#

I remember when we post hacka memes here

wet girder
hasty bane
#

oh god thays lua?

timid field
wet girder
timid field
#

Lol

hasty bane
#

oh my god

knotty root
#

Sus

azure tusk
#

Everyone asks “who’s the imposter?” but never “how’s the imposter?”

wet girder
#

Luau is arguably the worst first language

hasty bane
#

the imposter is Unexpected EOF

timid field
#
if Jojo == Good then
IsJoJoSus = false
End
hasty bane
#

is it called luau?

wet girder
#

no logic from it can be used anywhere else

hasty bane
#

what does the u stand for

knotty root
#

Anyway
Should I do python or c#🗿

hasty bane
#

C# tbh

wet girder
knotty root
#

I got my credit card ready

hasty bane
#

Its much more similar to other languages

wet girder
#

I agree

hasty bane
#

do not overpay for courses

wet girder
#

yeah for sure

hasty bane
#

i spent months trying to get into python

#

and i did get into it

knotty root
#

First thing I see is Udemy

hasty bane
#

it takes time to start but the speed goes brrrrrrr

#

i forgot what site has good c#

#

uhhh

#

i only remember lutz python book and docs sites

#

ig you can do documentation

knotty root
#

Theres
Udemy
Code Academy

hasty bane
#

dont got for the paid courses sites

#

go for stuff like

#

docs.microsoft

knotty root
#

Aight it's 10 bucks

#

That good?

hasty bane
knotty root
#

What🗿

hasty bane
#

okay hold on

#

@barren shale

#

we found

#

a recruit for you

#

hmm

#

om wait

#

ok*

#

im not confident abt sites

#

sooo

#

try youtube?

#

wbshy im really not experienced in csharp

azure tusk
knotty root
#

Time to search up java toturial and die

hasty bane
#

you can try python i guess

#

or

#

you can wait for hamza

#

to send epic site

knotty root
#

I'll dm him🗿

hasty bane
#

that works

#

for python if you ever wanna do it i can recommend realpython + python official docs

#

pretty good stuff

knotty root
#

🗿

hasty bane
#

i heard smth about a subscription with realpython or whatever
don't bother. the good shit is free

#

also learnpythonthehardway

stark widget
#

Is the."~remove "color" a thing? because it should be. For Map Conversion

barren shale
#

@knotty root if you need help with specific stuff hmu

#

otherwise as i said

#

go google and youtube

#

and when you program

#

do it with a purpose

#

have a thing that you want to do in your mind

orchid frigate
#

Here is a challenge for whoever is interested

#

try to write hello world in all languages you know

exotic vessel
#

Ah yes... The nerd cave

orchid frigate
#

You know what unemployed dave

#

You are a good part of the cave

orchid frigate
#

Ah yes.. The nerd cave

zenith portal
hasty bane
orchid frigate
#

aight lemme try

#
Console.WriteLine("Hello world!");
cout << "Hello world!" << endl;
print("Hello world")
println!("Hello world!");
printf("Hello world!");
#

and finally

#

Booting this into a machine wouldnt work but I didnt wanna flood char with useless code

#

well its not like this is the most active chat anyway but still

#

im bored ima add comments

barren shale
#

haydot definetly didnt do that to show us that assembly code is long

#

but that basically proved that assembly is bad

orchid frigate
#

once again a trash comment by hamza

#

I did that because I want this cave to live a little bit man noone wants to show and review code

#

you know what hamza fine lets say I did do it for that because im sure if I dont say it you will make another stupid argument

#

how is the game going

hasty bane
hasty bane
barren shale
hasty bane
#

assembly code is long ≈ assembly code is the most customizable ever

barren shale
#

requires too much time

#

i dont have time

hasty bane
#

but

#

it is long

barren shale
#

college eats up time

hasty bane
#

and therefore boring

#

college smh

#

imagine education

#

lolmao

hasty bane
#

hi

main brook
#

i should flex my storage again

#

249G

#

also

#

@wet girder i managed to make coloured log output

#

its completely built in

#

so when you do

#

it format itself for you

#

i just subclass the Formatter and add colours to it

main brook