#⌨coders-cave

1 messages · Page 82 of 1

main brook
#

weird names

tropic dagger
#

If it's dos-based then con file = console pretty much.

main brook
#

well

#

that kinda suck

#

considering its a globally available name

tropic dagger
#

If you look at the stdout, stdin and stderr macros in C, they're all FILE pointers.

main brook
#

linux just uses /dev/device

tropic dagger
main brook
main brook
tropic dagger
main brook
#

ah right

tropic dagger
#

But that far back makes it not entirely good.

#

Print is reserved too I think.

#

But that system got replaced with drivers.

main brook
#

heh

tropic dagger
#

Not the best explanation, Tom Scott has a video on it but the original way to write to the console was to write to that file.

main brook
#

yeah i saw that

#

lmao

orchid frigate
#

Why cant the names just ve

#

Random ASCII characters

#

Or characters that cant be used in the name of a real file

#

Things wouldnt have to be like this if that was the case

left folio
eager pulsar
#

:0

tropic dagger
orchid frigate
#

eh its an os program

#

Im sure it could be renamed easily when the os image is booted

#

plus it can use some other symbols that arent as widely used like ©óñ

#

idk banning different file names especially one that could be useful like con seems stupid

knotty root
#

+java.script poop and fart if the poop nvm ill just find code on google

broken hatch
#

The easiest,(if you call it a language) is HTML.

main brook
sterile osprey
knotty root
#

function (poop)

tropic dagger
#

He implies it's used outside the OS and also directories didn't exist yet when the decision to just use the name "con" was made.

#

Which is why they didn't just put con in a dev directory like linux.

#

Pretty much stdwrite for a DOS computer just wrote to con, or at least that's my best guess, considering it's genuinely helpful name.

opal cypress
#

right when i saw the title of that video i tried to do it

cerulean ether
#

can my websit work without <!DOCTYPE html> ???

#

i think its useless

#

or???

main brook
#

its to declare that you're using HTML5

#

its literally

#

document type html

#

an abbreviation

main brook
#

its a language

#

for cross platform

#

compiled static language

#

that runs on the Java Virtual Machine

barren shale
#

C# is a better java

orchid frigate
#

I do agree

orchid frigate
#

á

#

lemme check again

orchid frigate
#

Like when they also named the x32 bit system folder x64 and thus had to name the x64 bit one x86

#

which i mean idk how you make that mistake but

#

also they are ascii

orchid frigate
#

hi

#

also what do you prefer

#

pc reset or shut down upon an error

plain plover
orchid frigate
#

Ah yes

#

The best handling system

#

whenever you get an error the cpu just does a your mom joke

#

you know what you may just be the genious I need

mental jacinth
#

Chnage my mind

barren shale
#

you clearly never used C#

mental jacinth
#

I never

mental jacinth
#

How easy is it

#

What does it even do

barren shale
#

you are asking the wrong question

#

the question is what cant be done with C#

mental jacinth
#

Is it easy ?

barren shale
#

very

mental jacinth
#

How easy ?

barren shale
#

easier than most languages

mental jacinth
#

For a beginner

barren shale
#

id give it an 5/10 difficulty

mental jacinth
#

That's

#

Hmmm

#

What can be done with it ? But in mobile

barren shale
#

the easiest languages like python would be 3/10

#

apps

#

and games

mental jacinth
#

Hmmm

#

Well, I guess I'll try it

#

But my goal is C++ and I'll never change it

barren shale
#

i dont recommend C# for making mobile apps tho

mental jacinth
#

Muhahahahaha

barren shale
#

xamarin is too stiff

mental jacinth
barren shale
#

never tried it

mental jacinth
#

...

#

I never met a coder who didn't try c++

barren shale
#

i tried c++

#

didnt try making mobile apps in c++

wet girder
#

I'd recommend Kotlin for Android development

#

It seems to have the most market cap and brightest future and seems to be the easiest and like actually good way to create them

barren shale
#

id suggest flutter

#

tried it

#

very cool

orchid frigate
#

Nah

#

If you know c# you pretty much know c++

#

Other than a few slight difficulties in the language known which you dont need to know as a beginner

#

Basically I do have to agree that c# is probably the best first language ever

#

If you know its syntax you know the basics of pretty much every syntax and thus already know alot about it

orchid frigate
#

I used it for a couple of months

knotty root
#

352064
307651
353056
253859
355046
278000
Just coding something

orchid frigate
#

Got bored switched to rust

orchid frigate
knotty root
#

220210 247104 240757 110647 193770 246403 183590 104753 247576 218810 114750 151165 245074 165950 247888 212521 228922 248624 248623 248622 248619 248618 248615 248613 248612 224644 248393 76924 196235 74948 243536 51624 157373 154089 245473 257867 239159 239820 4039 254903 1241 124919 63207 100287 222359 154951 28061 67226 28359 125838 42751 86322 93125 260151 49189 28018 242166 98771 259880 38827 81971 164946 252067 118261 141699 103454 102317 78392 52038 92888 146170 140437 76281 56047 257486 121132 12709 187334 232255 232255 76273 131406 173289 55907 135440 178640 48680 247587 70178 39487 84663 213693 121009 249935 189774 186729 117046 164345 202735 162075 51212 4295 218436 145303 205437 223438 146105 23933 38886 73936 237026 205427 104036 248318 146843 3743 121136 114634 168501 116602 229151 45689 237889 117435 242163 142422 27027 25940 61748 153284 236393 230775 16835 254152
Coding something even bigger

orchid frigate
#

Ok thats flood at this point

knotty root
#

👍

orchid frigate
#

Also what does it do

knotty root
#

Coding stuff

orchid frigate
#

Yea what

#

Stuff

knotty root
#

0101010101010100011101101010101001100101010101010101010101011010110010101010010101010101010101011010101010011010011001

orchid frigate
#

Thats binary

#

Or not

#

Tf is that 2

#

Ok

#

Good

knotty root
orchid frigate
#

Is this a bootloader or smt

#

Bios code

knotty root
#

01011010010100000111010101010000101010101010000001010

orchid frigate
#

Ok well enough joking around I doubt this is actual binary insertion as I call it

#

Hi yes

#

Very nice

#

Hows learning going

#

Are you making progress

#

Do it like this (x3)py Code (3x)

#

3x of `

#
fn foo() -> !{
  println!("hello world!");
  loop{}
}
#

see

#

function highlighting

#

or like

#

highligting in general

#

(3x `)(language, for instance py)

#

you can copy my code and paste it somewhere to see how I did it

orchid frigate
#

gonna implement rn

orchid frigate
#

uhhhh nothing

#

I dont like talking about it anymore cuz I got alot of annoyance about it last time I did

#

btw you need to put actual code inside to highlight

#

and Im pretty sure you are still doing it wrong ok

#

search a tutorial online on how to do it

tropic dagger
#

@knotty root ```

#

Or ```py

#

Etc

#
#include <iostream>

int main(int argc, char** argv)
{
    std::cout << "E";
    return 0;
}
orchid frigate
#

Dont mind hamza

#

He just talks about our mothers from time to time

tropic dagger
#

My mom isn't popular wbsuffer

wet girder
#

reinstalling windows because my hard drive broke it feels satisfying and very fuckin annoying

tropic dagger
#

Oof

sick zenith
#

Haha you guys get a cave

tropic dagger
#

Yeah but we make the world.

wet girder
hasty bane
#

Jerry soon
i think

#

gotta catch all the userbases

#

unless they don't care

wet girder
#

I also need visual studio for school

hasty bane
#

they probably do if they want to compete with steam

wet girder
#

Steam even has proton

wet girder
#

there's just no way of competing with that

hasty bane
#

wbshy i am frankly

#

not a fan of VS

#

its too huge

wet girder
#

It has the best debugging ever

#

it's just too good

main brook
#

because i pasted an image

#

to a mounted network drive

#

literally

#

my vscode crashed

#

my file explorer

#

my process manager

#

you can't even see my taskbar

#

and you can't run win+r

#

to start a program

orchid frigate
#

Windows aint made for people who know how computers work

#

Its made for the general public

#

Which isnt bad but still

tropic dagger
#

It's made for everyone.

#

Which is why it sucks.

#

And why it doesn't.

hasty bane
#

dea the OS centrist

orchid frigate
#

Everything made for the general public is bad because its made to be simple and to have alot of features

#

Which is both good and bad

elfin temple
#

If fps!=60 {
fps=60
}

orchid frigate
#

I actually though thats how games worked before, that fps was just a var which you could change

#

I was wrong

night oxide
main brook
#

because its not correct

#

if statement doesn't have a capital I

#

and bracket language probably need () for the conditions

west prism
#

what engine is the pc version built on?

hasty bane
#

wbshy i think its unity

velvet shuttle
#

it is unity

#

wich is ok i guess but i prefer no engine

#

feels more like its my work

main brook
#

yes

#

guess what happens

#

@orchid frigate

#

you became this guy

#

no offense haydot

main brook
#

its not your work because its the compiler making your code into readable binary instructions for your machine to run

#

it was never our work to begin with

velvet shuttle
#

Woah

#

Fair but ouch

velvet shuttle
shut quail
#

Worldbox uses c# right?

wet girder
#

Ye

#

it uses the Unity engine

orchid frigate
main brook
#

nice

orchid frigate
#

Are you stopping people into slipping into os development

#

If there is any less of us at this point na geo wilds(or however you spell that) will have to start making documentories about us

#

"and here we have the wild os developer, he has been trying to implement a single feature for 2 months now. He may never actually implement it, but he is trying his hardest"

orchid frigate
hasty bane
orchid frigate
#

I support ^

#

made my pfp the same as my github pfp so Im basically pro coder at this point

bold rover
#

:chad:

main brook
#

hot pfp

bold rover
#

hot wblove

orchid frigate
#

It is actually pretty cool

#

Btw not done by me just gotta clarify

barren shale
keen shell
#

I did something wrong and now I can't use nor delete the folder. Has been like this for some time but ignored it.

It basically acts like one of those system folders but bad, I think I achieved it by editing registry or something but since it happened some time ago I have no clue what I actually did.
Does someone here maybe have a clue on how to fix it?

barren shale
keen shell
#

yeah it has been like this for a couple months now

#

I did a sfc scan and am doing a dism scan now

#

sfc scan said it found some things and restored them but after restarting it didn't go away yet

gentle steeple
#

well i finally got a developer for my next game

keen shell
#

nice

#

what's the game about?

gentle steeple
#

the space game

gentle steeple
#

were going to start building a public demo for it that people can freely try and see if they want to back the kickstarter

knotty root
#
#include <iostream>
#define loser you
hoary hound
#

Why would you include iostream maximevilthink

orchid frigate
#

Also

#

Incorrect syntax

#

Or wait

#

Nah I think its correct

#

Lemme check the syntax real quick

#

I dont think its correct considering you isnt in a string

orchid frigate
#

ah

#

ok

#

Dont use many definitions in C mainly just numbers and sizes

normal lichen
#

Javascript?

woven stag
#

All yea **** done

half warrenBOT
#

🔨 Banned iceDRAGONSH3#0543 indefinitely

mossy cedar
#

Hello i am currently studying EE and i was thinking, is CS a good combo for EE?

#

i was also thinking of biology+electrical but idk it probably does not make sense lol

#

biology is interesting but cs looks cool doe aside from just my shit eyes prolly suffering more from computer screen

orchid frigate
#

The thing is

#

The amount of jobs that need these is decreasing

#

So I guess you could become an intel dev

#

Or like hardware dev

orchid frigate
#

To do both

#

Both are really difficult to learn on their own and together may become impossible

mossy cedar
orchid frigate
#

Alright well there may be a couple of jobs for this

#

Like....idk surgery bots

mossy cedar
#

maybe I'll just continue with my EE and steadily learn some CS on free time considering i have such motivation

orchid frigate
#

CS is really interesting

#

Im learning it rn

#

Not many things want it but yea

#

With both cs and ee you could become a cpu dev

#

Or I guess its more of a creator at this point

mossy cedar
#

interesting, my idea was to someday develop some simple to like medium range complexity games on my free time when im not working on electric stuff

#

A side hobby to be precise

orchid frigate
#

Well then cs is useless

#

You probably need more programming then cs

mossy cedar
#

wait what, i thought programming amd cs was one thing

orchid frigate
#

Cs = computer science

#

Basically

#

How the computer works

#

On a low level

#

Like memory management, OSs, BIOSs etc

#

Basically the theory behind your code

#

While programming = how to turn this theory into code

mossy cedar
#

oh well

#

still kinda interesting

orchid frigate
#

Yea

#

Cs is awesome

#

Useless nowdays and really difficult but still

mossy cedar
#

at least i know what to learn now

orchid frigate
#

Yea

#

For game development

#

I suggest learning one of these:
C# - unity game engine
C++ - unreal engine, game engine development or no engine development with a graphics API
Python(dont recommend) - no engine development

mossy cedar
#

what, i thought unreal engine was just like blender with extra steps

#

like soem 3d art stuff

orchid frigate
#

It can also make games

#

Pretty sure Fortnite is made in it

mossy cedar
#

very interesting

mossy cedar
orchid frigate
#

I highly suggest starting with unity

#

My first ever lines of code were there

quasi kiln
#

I don't know who's job it is to warn people about this BUT the anti virus named Bull-guard sees some of the files from World box as malware for some reason, that is why i was having trouble with crashing after the bear finished teaching me how to play

orchid frigate
#

It really teaches you how it works

mossy cedar
orchid frigate
#

Unity is very well documented

#

And you will learn c# along the way

#

And c# is a great first language

#

If you know its syntax you already know the basics of c++ and C

mossy cedar
#

hmm sounds like a lot of youtube tutorials and googling

mossy cedar
#

cant wait to experiecne pain from comprehending tutorials xd

#

especially as a newcomer

knotty root
#

but

#

at the end, it will pay off

mossy cedar
knotty root
#

yeah, i recommend starting with brackeys

mossy cedar
#

considering i also have to worry about my EE it will be a painful one

mossy cedar
knotty root
#

a youtube channel

#

search for it

mossy cedar
#

okay

storm valve
#

Hello cavemen, this seems like a nice cave

knotty root
orchid frigate
#

Implementing a simple feature takes me a month 😔

#

But yea its hard

#

The first few months you probably wont understand the syntax

#

But afterwards you will become better

knotty root
orchid frigate
#

Everything in programming is hard the first time but its also fun

#

If you want to learn something and you are interested in it you will learn it

knotty root
orchid frigate
#

Eh haven't used unreal engine ever but it looks good

#

Does more stuff for you meaning way more productivity

barren shale
#

now that haydot can ban me

#

i can up the troll level

orchid frigate
#

I can still report you

#

For doing a lil trolling

barren shale
#

i can still report you

#

for reporting me

orchid frigate
#

I can report you

#

For reporting me

#

For reporting you

#

@barren shale Hamza

#

Are you still

barren shale
#

@orchid frigate haydot

orchid frigate
#

Making da game

barren shale
#

no time

#

college eats time

orchid frigate
#

:(

#

Eat college then

barren shale
#

too big

orchid frigate
#

Im sure you can do it

#

I believe in you

hasty bane
#

hamze got da modrtr

orchid frigate
#

hamza got da modrtr

normal lichen
#

CSS is always good with html

hoary hound
plain epoch
#

How to add traits in worldbox

knotty root
knotty root
#

Hello, I just came to ask which text editor would you recommend me is that I would like to learn something about html5

main brook
#

and sublime text

#

and atom (not really recommend)

fickle gyro
#

WHEN THE IMPOSTER IS GASP DABABY?

rare hare
#

_G.Auto = true
while _G.Auto do
wait()
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Characters.NPCs.Goku.HumanoidRootPart.CFrame * CFrame.new(0,-7,0) * CFrame.Angles(1.5,0,0)
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
local args = {
[1] = "Combat",
[2] = "LightSwing",
[3] = {
["M1State"] = 2
}
}

game:GetService("ReplicatedStorage").Events.RunFunctions:InvokeServer(unpack(args))
end

cedar plinth
#

without context this is..

#

you know

knotty root
wide onyx
#

~traiteditor

bitter sedgeBOT
#

Sending trait guide to DMs!

main brook
#

you missed

#

table.unpack

#

instead of unpack

hoary hound
#

nevermind

#

it's not

#

nevermind again

#

it also exists as a global function

hoary hound
#

thank you, I'm glad to be back in staff after all this time wbshy

#

good luck peepoheart

knotty root
main brook
#

you happy hamza?

barren shale
#

doesnt show how C# is the superior leader of all programming

orchid frigate
#

Because it doesn't have anything to show

vital goblet
#

javascript is obviously the best

#

everyone knows that

barren shale
barren shale
#

singe page web applications made java useless

vital goblet
#

me after writing 23 lines of code to make a bot that says "hi"

barren shale
#

i can write a whole website with only the need of a couple of javascript lines

#

and the rest can be cool#

vital goblet
#

everyone should know HTML
I want to go up to a toddler and have them code snake in less than a minute 🤬 🤬

orchid frigate
vital goblet
#

I did make a nice calculator tho B)

#

the like 50 buttons was hell tho

#

<button class="operation">+</button>
<button class="operation">-</button>

#

SO MANY BUTTONS

orchid frigate
#

Idk how html works but sounds stupid to implement I agree

wet girder
#

html is fun to fuck with

#

and easy to get set for a website

#

CSS is pain

#

And JS is unfun

#

frontebd web development in a nutshell

orchid frigate
#

bro C is being real stupid rn

#

It declares a function when I call that function

main brook
#

well i mean

#

do you guys know about

#

WAS

#

or was it WA

#

either way

#

its

#

Web Assembly

#

use another language and then compile to assembly like language

#

and then run on the browser

#

and css can be assisted with tailwind

#

you just have to put classnames

#

instead of writing the css

#

its not like bootstrap

#

because it doesn't comes with a component

#

but its just css but easier

vernal ibex
#

<h1> I'm bored someone entertain me </h1>

main brook
#

hi bored

orchid frigate
mossy cedar
#

Ж

orchid frigate
#

please speak in english only here wbshy

keen shell
knotty root
#

I create a countryball game

#

my code: 29 rows

hoary hound
#

@final rivetstop posting this in all channels

orchid frigate
#

Yes EN текст is not good when spammed

#

And so is everything

#

Thats spammed

#

treesmile 👍

orchid frigate
#

hi

#

also

#

fun fact: gcc is a shit compiler

#

because

#

this works fine with my code

char str[] = "Hello world!";
println(str);

but this doesnt

println("Hello world!");
#

why?

#

Because it puts the strings in different registers or smt idk

#

but Its really annoying and goddamnit I need sleep

#

i came here just to complain about gcc btw

#

also bonus message

#

I was looking through my os image in hexa view to see how strings are saved and saw this

#

I can agree implementing anything is actually hell

main brook
#

gcc in short sucks

#

if you like to write

#

c++ use g++

#

c use clang

cloud solar
#

is there anyone who knows unity well?

#

i have a question abt how to make a cutscene

#

hm...

#

@main brook do u know how to make a cutscene unity?

wet girder
#

Rei doesn't use Unity I think

#

Haydot does tho

#

or did

#

not anymore

#

But you should just google how to do it

#

you'll get the best results that way

cloud solar
main brook
#

or you can google

#

idk zihsjeid

cloud solar
#

and also more tutorials and for 3d and i am making 2d game

main brook
#

ab

barren shale
#

then fade out the screen

#

move the camera into the correct location

#

then fade in the screen

#

and make an animation for the cutscene

#

or play a video which is what some games do

cloud solar
barren shale
#

that's a good question

#

for google

cloud solar
#

gonna do that

orchid frigate
#

I spent most of the time planning how to use unity and not using unity

bronze narwhal
#

Huh cant post images

#

Well anyway, I'm having an issue with getting a certain world to work after editing a worlds code

#

First time was a bit ambitious, I used @bitter sedge to decode a world, edited the .txt file and gave a whooole bunch of characters these specific traits: "giant","giant","blessed","veteran","veteran","golden_tooth","immortal","strong_minded","attractive","agile","kingslayer" as well as up the health on some of them

#

Then when I turned the file into a wbox and tried to load it up it gave me an error

#

cant post the image in link form either dang

#

Anyway, I went back to the previous save of the world before editing, deleted all life instead of one person and edited it again, this time with the same traits and it still gave the same error

#

Is there something im doing wrong? Like all I'm doing is editing traits and intelligence which Worldbot AMP also seems to do

#

I also checked a version of the same world I used AMP to edit and the traits were the same as the when I had copypasted them in and it worked

orchid frigate
#

Remember this is an off wb topic channel

#

So general code

wet girder
bronze narwhal
#

Any way I could do it myself?

wet girder
#

Well yes but you'd need to create a script for it. I can explain the fundamentals of how AMPs decoding and encoding work as it's still valid even though AMP is bugged

wet girder
#

let me pull out the code to hep my memory

#

Okay so map files ofc are compressed so in AMP we just use zlib to decompress it first and then just decode (encoding on map files utf-8). On amp we pack the thing in a zip file and send it but for your own script it's not necessary

#

then encoding is just everything done the other way around

#

oh yeah in encoding you also lastly need to do base64 encoding, or atleast we do that in amp but idk if that's why it's bugged

#

I suppose I could tru

#

it can't break anymore Ig

wet girder
#

I need someone to test it now

hollow bronze
wet girder
#

Yooo

hollow bronze
#

of course doing that I know why it doesn't work

#

previously the game needed to encode it to base64 to reduce file size

#

it no longer does this because the maps were changed to be much smaller

#

so just remove base64 part of the code and you're done

wet girder
#

so I fixed it by skipping base64 pretty much on accident

#

nice

#

and thank you!

hollow bronze
#

Still haven't gotten to other things such the convertor since I'm doing a bunch of things RN

#

But its like 90% done

wet girder
#

That's way better than what I've got done with AMP. But to be fair, I do have quite a lot on my plate in terms of coding nowadays as I study software development in vocational school now. I'm even representing my school in a website design competition so I have quite a lot to do but I still should work more on amp

hollow bronze
#

It can be rapidly improved it is just a task someone would want to do

#

and has time to do

#

We add traits like cavemen and previously kingdom warred like apes. But we didn't build rockets in a day.

north dune
#

AI will take over one day, im convinced

#

you can replace me with a few lines one day

#

feed AI some input from in here, get a simulated response:

#
[5:10 PM] Jupe: I'll try to do more work on amp but I'm not sure if my efforts wil really lead to much as I'm not really a coder. I'm more of a hacker, so I just know how to get things to work and I'm not really
stone girder
#

check out this website i made

#

o cant attach images?

bold rover
#

Really lovely to :o

hollow bronze
#

Jupe turns into a hacker

#

omnious logs be like

gentle steeple
#

idk if this is the place to ask, but im trying to find a few people who are into space games and willing to be part of a focus group for planning reasons

twilit flame
#

Alright

#

@trail yacht Where do you learn to program xd

trail yacht
twilit flame
#

What?

trail yacht
#

here its only for coding

#

coding chat

twilit flame
#

Okie

#

Oh

#

py?

#

Oh

#

Python

#

print ("Dead , red")

#

Idk how it works x'd haha

warped saffron
orchid frigate
#

Or c#

#

I personally recommend c#

#

Makes moving to another language easier

#

Are you learning the basics of programming or wanting to do something specific

#

Basics

#

Probably c#

#

Alot easier to learn other languages coming from c#

#

Also c# is Great for game development

warped saffron
#

Any good services that doesn’t cost an arm and a leg to learn how to code with?

orchid frigate
#

I have not spent a penny in programming and I think im pretty good

#

Basically

#

Learn something specific

#

Like game development

#

Or whatever you are interested in

warped saffron
#

I figure I should see if I actually like coding before I consider a job in it

orchid frigate
#

Yea thats a

#

Great

#

Idea like probably the best idea

#

You should always try something before you start doing it seriously

orchid frigate
#

Lemme ask you did

#

this*

#

who tf asked for your opinion 😄

#

lol jk im not that mad but still

#

I would think im above average level

#

or maybe average

gentle steeple
barren shale
#

@orchid frigate id call myself average

#

after 5-6 years

hasty bane
#

Im back

#

for a few minutes

hasty bane
#

l

#

ol

#

unless you have like three years of real experience then sure

#

ive been learning rust

#

and it's

#

very very cool

#

it's like cpp but cooler

#

(not really, it's not as versatile but this will change as the language grows in popularity because it WILL grow thanks to the Rust foundation)

#

but no garbage collection at all is...

#

other things too obv

tepid field
#

Darkwatch is alive.

orchid frigate
#

Not that you code good/bad

#

When you think about it most devs can't do what you can do because they don't take coding as seriously

#

Cmon have a lil confidence for all the hard work you put into learning what you know you earned it

orchid frigate
#

Because rust does have a garbage collector

#

One of the best I think

#

Unless im losing my mind which is possible considering I have been making a PowerPoint presentation for 8 hours straight

barren shale
#

Rust is very fast and safe because it locks you into best practices

exotic vessel
#

Ah yes... The nerd cave

hasty bane
hollow bronze
#

the beginning of the end

orchid frigate
#
//in goo.cs
public void foo(){ //This can be accessed by other files
  int a = 1;
  Console.WriteLine(a); 
}
private void poo(){ //(if you don't put private or anything it will default to private) this can't be accessed by other files
  int b = 0;
}
//in main.cs
//cant remember how to include files lol
static void Main(){
  foo(); //Prints out a message 
  poo(); //Throws an error
}
rain gust
#

Hello

orchid frigate
#

also dont worry about statics

#

hi

#

classes? Yea take a course on those

#

pretty complex

orchid frigate
#

watch a video or something

#

ok well I guess I can start explaining classes

#

Im bored and I dont wanna work on the kernel because its way too complicated for me rn

#

ok so examples

#
namespace lol{ //Namespaces are used to store classes. Nothing else. You can use them to include files into other files.
  class Program{ //Ah yes a class. Havent seen these in a while, I really hate them. Basically here you can store variables and function. Technically they are never called (TECHNICALLY BECAUSE OF CONTRUCTORS WHICH IS WAY TOO COMPLICATED FOR RN)  so you cant put instructions in them.
    private int a = 0;
    protected char X = 'X';
    public void Doo(){
      Console.WriteLine(X);
    }
  }
}
barren shale
#

private cant be accessed by other classes

#

not files

orchid frigate
#

right oop

#

I fucking hate oop

#

Too complicated for no reason at all

barren shale
#

its exactly the opposite of that

#

but ok

#

you used oop for like 5 months

meager python
#

A cave...

#

Where is the bear who lives here?

bold rover
#

Mewot

grim copper
orchid frigate
orchid frigate
#

Its pretty hard in the start I understand but you will learn it and realise its actually pretty simple

orchid frigate
#

I think you are overthinking this

#

Dont take it as an assignment or something you have to do no matter

#

Take it as something you do in your freetime

#

something you enjoy

orchid frigate
#

No no no no dont think of it that way

#

I feel like you are overcomplicating this just like keep coding in it

#

It will be difficult yes

#

But after a while you will get used to it

wet girder
#

overthinking is the killer of productiveness, just keep on coding and you'll learn, it's recommended to have consistent schedule but not having schedule is better than not doing anything

orchid frigate
#

In my experience having a schedule is the killer of fun

#

not just in coding, of anything

#

But I guess it really matters if you wanna learn to code to be productive and get a job in it or do it for fun

#

or atleast for fun in the start

#

ok ok lets see

#

do you understand datatypes

#

and functions

#

and all statements and loops (not all because there are a few stupid ones like while do)

#

can you code in them exception free

#

foreach loops?

#

really really important loops

#

its a loop

#

and no

#

foreach is different

#

its kinda c# exclusive

#

ok well its similar to the for loop

#

but it goes over each object in an array

#

or a table but tables suck to talk about so I will say array

#

you do know what an array is

#

right

#

if you dont you can just ask its not like im over here testing you for a final grade im just tryna help

#

which I have been taking alot of shit for reasently but anyway so thats good

#

yea thats foreach loop

#

lemme try to think of their syntax

#
int array[] = array; //I have no idea how arrays worked in cs but just make an array
void foo(){
  foreach(int i in array){ //??? Yea you should google this I dont know 
    Console.WriteLine(i);
  }
}
#

basically

#

not the best teacher considering I have forgetten 90% of cs

#

but thats the basic syntax

#

also

#

can you tell me two colors

#

completely random

#

like two colors

#

green blue

#

whatever im looking for cool designs

#

5 months to get beginner intermidiate knowledge in it

#

afterwords I switched

#

to cpp which took me around a week to get started in

#

its a big investment of time to learn this but it is incredibly helpful for the future

#

it uses the unity game engine

#

so yes

#

and speaking of it you should ABSOLUTELY try it

#

its a really great way to learn about coding

#

I started like that

#

You dont have to do it rn just like whenever you have time download it make an account and boom

#

btw brackeys is amazing for unity tutorials

#

he is basically the guy that thought me what I know...well not really]

#

but all the beginner stuff

#

search him on youtube

#

btw I saw your design but it made the console unreadable so Ima switch to black on green

#

or no the opposite

#

green on black

#

yea he is good

#

Ok now that I have printing and colors taken care of I can start doing cool shit

#

ah crap I forgot hexa values they are so boring to print

#

Aight well I think im changing from c to cpp

#

as much as I love the old c language its just too old

#

wow changing was so much easier then I expected its actually amazing

lone egret
#

Vov dcoder huh im usng it too but

#

İt gives so much ads so

#

İ changed program

#

And why i cant sand pictures?

lone egret
#

Nvm

#

K

#

İ recommend spck editor

#

İm just learning java

#

Thats ok for me

#

İ have

lone egret
#

No

#

-_-

#

._.

orchid frigate
#

:)

#

vscode

#

is really good

#

for everything from web dev to game dev to os dev

#

speaking from experience

lone egret
#

Ok

#

Tux experience

#

Thx*

orchid frigate
#

Ima go thank the guy named Experience too

lone egret
#

@orchid frigate wat das ur nick min?

orchid frigate
#

IHaydot is very old language for I hate dot

lone egret
#

Ok

orchid frigate
#

the elves part is for me being a part of the high elves or smt idk

#

and the knight part is for me being a part of the high knights

#

meaning im a high elf knight

lone egret
#

Ok

orchid frigate
#

if you ask which high im talking about its whatever high you like wbsmirk

lone egret
orchid frigate
#

also I know I just found out about hot water but

#

cpp is better then c

#

😔

#

c is simple but too simple

#

it really isnt

#

after a couple of months you will see that its actually pretty easy

lone egret
#

K

orchid frigate
#

you just need a shit ton of experience

lone egret
#

Ok

#

'_'

orchid frigate
#

I have quit coding atleast 10 times

#

and keep quitting

#

Its something I like to call coding depression

#

you hit a brick wall and you think "fuck it this aint for me"

#

the next day you are already working on your next project

#

I mean you just started it would have been strange if you did quit

#

I mean when you are working on some project

#

and you really wanna finish it

#

but something is stopping you

#

ask anyone in this channel I have had atleast 20 projects which I have disbanded

#

And some of them I ended because I didnt have the right tools

#

some the knowladge

#

and some because I just got bored of em

#

But I think I landed on a project which Im finally gonna finish

#

no

#

I dont watch any coding youtubers

#

I really dont take coding that seriously

#

Its just a free time hobby which I rarely do for me

#

which is ironic considering the absolute gigasize of the project I chose to do

wet girder
wet girder
#

Heya

orchid frigate
#

I remember they are amazing

#

And awful at the same time

barren shale
#

int array = Array.Empty<int>();

wet girder
#

well I was taughtt to made it how I showed

#

in school

mental jacinth
#

Now wtf is this

#

I don't know what happened

#

But smth happened

orchid frigate
#

you forgot the brackets

#

around the if statement

#

oh its python

wet girder
#

you forgot :

orchid frigate
#

I like how you name things

#

Iiec_run

#

Sounds cool af

main brook
#

i

#

decides

#

to do the unthinkable

#

i combine my backend and frontend with nginx

#

my frontend is Svelte js

#

backend is python with fastapi

barren shale
#

use blazor

#

frontend and backend in C#

#

you can use ASP.NET which is the most used framework for web apis

wet girder
#

My web development teacher is telling me to learn php for back end but I'm thinking of just using node.js because realistically what can he do about it

#

Only thing he teaches me is how to do well in the web development competition

#

and node.js is allowed in it

hasty bane
#

dont learn php xddd

hasty bane
ruby epoch
#

int[] arrName = new int[size]

orchid frigate
#

I'm having second doubts

#

Rust is way too complicated sometimes

main brook
#

Rust is good

#

but like

#

idk

wet girder
mossy cedar
#

helo guys im back

#

game development is way harder than i expected especially when youre self taught

#

k bye

orchid frigate
#

The code itself isnt as hard as the graphics

#

And making a good game in general

#

Like with good gameplay

mossy cedar
#

like i thoight i could make some red dead redemption 2 copy kind of ambitious

#

what is that

#

okay so simply quora but for programmers

wet girder
#

and way more toxic

mossy cedar
#

sounds helpful

wet girder
#

it's sometimes helpful but usually just very very toxic and unwelcoming

#

Do you know what they do?

#

you shouldn't use that word as it's nowadays thought to be quite offensive but arrays are basically just lists. If you have array of integers it's just a list of whole numbers and everything can be accessed by their index which is their order starting from 0

#

if that makes sense

#

Idk how to do that in C# but you'd just take the input and parse it by " "

#

This should give the answer

orchid frigate
#

Me: looks up "how to turn an int into a string in c without std"
Google: "I will pretend I didnt hear the last part and btw here is how to use the std library to do that"

exotic vessel
#

Ah yes... The nerd cave

orchid frigate
#

I was wondering where you went

#

Got worried for a second

plain meadow
barren shale
barren shale
orchid frigate
#

Its not impossible

#

Plus if std a library has it than its possible

#

Someone had to implement std you know

#

And that person is me rn so I need that

barren shale
#

@orchid frigate just use itoa

#

or look at the decompiled code of to_string

orchid frigate
#

I think I figuered out how to do it with pointers

#

@barren shale remember when we used to talk about if statements about every possible situation?

#

Like 100 years ago

#

yea converting an int to a string is that

#

not really but a huge part of it is that

#

just a more complex version of that with pointers

orchid frigate
#

Alright well

#

final day on windows for real this time

#

its weird because I feel kinda scared

#

Im also changing straight to arch without any linux experience so thats...worrying

#

but im sure I will handle it

modest frost
#

as-

thorn steppe
#

what languages you use for this game?

#

C#?

wet girder
orchid frigate
#

Yea but now when i go into some forum I can say "I use arch btw"

wet girder
#

not worth loosing your hair before turning 18

#

even installin arch is pain

#

it takes like 30 mins from experienced arch user, most of it typing and memorising commands to install guis and package managers and such

#

for new user it takes hours

#

did you get vaccine for both of your hands or how tf do both of your hands hurt

orchid frigate
#

Well the wiki exists

#

I read alot of it yesterday

#

Seems really good

#

Plus im pretty used to doing simple things the hard way at this point and looking at documentations so I think I should be good

wet girder
#

lol

swift nexus
#

We got a 500

wet girder
#

ye ofc

#

very

#

well it's very useful when you want to write a method that doesn't return anything

#

I use it way too often

#

it can teach way better than I can

orchid frigate
#

Voids are basically one of the keywords that you will be using in every program

#

They are useful because unlike other functions they dont return anything but thats a bit too complicated for now

main brook
#

so apparently

#

im multitasking

#

3

#

freaking language

#

python for backend
js for frontend
php for ssr backend

orchid frigate
#

Im multitasking...4...no 3

#

Assembly for low level stuff and literally nothing else because I no longer like assembly
C/c++ for, well everything
And makefiles Which I edit once in a lifetime

orchid frigate
#

xdd

cunning summit
#

ngl

#

you ruined my day and night

#

why do i always have to be reminded javascript is a thing

#

and that people actually learn it

barren shale
orchid frigate
#

wbsmirk 👍

orchid frigate
cunning summit
#

you basically just said "learn dyslexia"

hasty bane
#

if you need it

hasty bane
balmy dune
orchid frigate
#

Actually I don't know the context

#

I never saie anything

barren shale
#

nobody uses these

#

they are rarely used

#

because then why wouldnt you just use C++

hasty bane
#

you use unsafe when you don't like being constricted too much

barren shale
#

even in C#

hasty bane
#

tolerable

barren shale
#

the only reason to use unsafe in C# is to do C++ code in C# syntax

hasty bane
#

i mean i was talking about rust

#

xdd

barren shale
#

same with rust

#

just replace C# with rust

hasty bane
#

rust is just Cooler C++ anyway

orchid frigate
#

Rust's unsafe is much more....open and fruitful

#

But also way more unsafe

#

Which reminds me

#

Avoid unsafe as much as possible

#

Its not very well supported and can cause bugs

hasty bane
#

Yeah im pretty sure Rust's entire point is safety and security

barren shale
#

its like its not in the name or something

#

and unsafe is same in rust and C#

#

it just opens up things that cant be cleaned by garbage collector mainly

knotty root
orchid frigate
#

I mean its in the name but that didn't stop early rust dev me to use it like im eating popcorn

#

Btw I forbid you from making a "bc you bad lol" joke

#

So im just suggesting if anyone is doing it not to

tropic dagger
#

Skill issue + cope + ratio

orchid frigate
#

😔

orchid frigate
# tropic dagger Skill issue + cope + ratio

Skill issue + cope + ratio + ur mom + your mom + you're mom + wait you are mom?! + Mom its been so long + did you get the cereal + how much did you code today? + Ur bad lol

orchid frigate
#

Hi

#

I just walk up and I'm so fucking tired lol but anyway how is learning going

main brook
#

nice

orchid frigate
#

Very nice GJ

tropic dagger
knotty root
dry silo
#

E=mc^2

tropic dagger
#
int calculateEnergy(int mass) {
   static const int speedOfLight = 299792458;
   return mass * (speedOfLight * speedOfLight);
}```
#

If you want everyone to hate you:

#define ENERGY(m) (m * (299792358 * 299792358))
// Don't do this. It's just a bad idea.
#

Slightly faster and slightly less hateable version than the macro:

int calculateEnergy (const int& mass) {
   return mass * (299792458 * 299792458);
}

Unreadable version:

template <int n>
struct power {
   enum { value = n * power<n - 1>::value };
};
template <int n>
struct power<1> {
   enum { value = n };
};
template < >
struct power<0> {
   enum { value = 1 };
};
template <int mass>
struct calculateEnergy {
   static const int speedOfLight = 299792458;
   enum { value = mass * 
   power<speedOfLight>::value };
};
// Here's an init:
int energyIGuess = calculateEnergy<10>::value;
// Can only be done with compile-time constants.
#

C++ causes dyslexia.

#

The template metaprogramming one isn't even that complex compared to other examples.

#

Some of them in the standard library itself.

polar girder
#

C

main brook
#

i made a working

#

payment app

#

nice

#

now i just need a way to authenticate

#

basically i need a 1 time auth code

bold rover
main brook
#

sank you

bold rover
#

Time to scam people

main brook
#

lmao

#

its a big yay yay

#

i made it in less than 10h

#

on a phone

#

at night

#

and finished it at 3:30am