#⌨coders-cave
1 messages · Page 82 of 1
If it's dos-based then con file = console pretty much.
If you look at the stdout, stdin and stderr macros in C, they're all FILE pointers.
linux just uses /dev/device
Yeah but it has a good-ish reason.
yeah they just writes it to the fd
why
Backwards compatibility.
ah right
But that far back makes it not entirely good.
Print is reserved too I think.
But that system got replaced with drivers.
heh
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.
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

:0
Same reason we don't name variables drjfikfayb, to be readable and easy to figure out.
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
+java.script poop and fart if the poop nvm ill just find code on google
The easiest,(if you call it a language) is HTML.
linux: /dev/sd[abcdefghijklmnopqrstuvwxyz]1
Javascript can be good depending on the uses, but most of the times I use frameworks and/or webgl, the only time I used javascript for a real project was for a practice one
function (poop)
Those aren't ASCII, thus they would've been unusable on a DOS computer and even now, as I think filenames can't be non-ASCII although I'm not sure.
Also, the idea makes more sense in Tom Scott's video he just gives the info to the viewer better than I can. I think the video's literally called "Why you can't name a file con in Windows".
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.
right when i saw the title of that video i tried to do it
its to declare that you're using HTML5
its literally
document type html
an abbreviation
its a language
for cross platform
compiled static language
that runs on the Java Virtual Machine
C# is a better java
I do agree
Wait im pretty sure I saw a couple of variations of these bytes on there
á
lemme check again
Still feels like awful design
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
your mother
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
C# has no practical use other than unity
Chnage my mind
you clearly never used C#
I never
What can be done with c#
How easy is it
What does it even do
Is it easy ?
very
How easy ?
easier than most languages
For a beginner
id give it an 5/10 difficulty
i dont recommend C# for making mobile apps tho
Muhahahahaha
xamarin is too stiff
How good is C++ when making mobile apps
never tried it
not good, I'd say complete garbage
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
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
I haven't
I used it for a couple of months
352064
307651
353056
253859
355046
278000
Just coding something
Got bored switched to rust
Decimal coding?!?
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
Ok thats flood at this point
👍
Also what does it do
Coding stuff
0101010101010100011101101010101001100101010101010101010101011010110010101010010101010101010101011010101010011010011001

01011010010100000111010101010000101010101010000001010
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
glarp
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
It is but it's what worked then so now we're living the pain of that decision so that old dos programs that don't run on windows can run on windows because Microsoft.
@knotty root ```
Or ```py
Etc
#include <iostream>
int main(int argc, char** argv)
{
std::cout << "E";
return 0;
}
My mom isn't popular 
reinstalling windows because my hard drive broke it feels satisfying and very fuckin annoying
Oof
Haha you guys get a cave
Yeah but we make the world.

lunix when
When I can use epic games store on it well
I also need visual studio for school
they probably do if they want to compete with steam
Steam even has proton

there's just no way of competing with that
they could try
i am frankly
not a fan of VS
its too huge
my windows crashed
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
Windows aint made for people who know how computers work
Its made for the general public
Which isnt bad but still
dea the OS centrist
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
If fps!=60 {
fps=60
}
I actually though thats how games worked before, that fps was just a var which you could change
I was wrong
idk how nobody could have thought of this
because its not correct
if statement doesn't have a capital I
and bracket language probably need () for the conditions
what engine is the pc version built on?
i think its unity
it is unity
wich is ok i guess but i prefer no engine
feels more like its my work
and guess what
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
In reality it’s none of our work because someone taught us how to program
Worldbox uses c# right?
Hold the fucking phone I am offended
nice
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"
Game engine dev les goooo
make os
I support ^
made my pfp the same as my github pfp so Im basically pro coder at this point
:chad:
hot pfp
hot 
it was never not your work to begin with*
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?
have you tried refreshing the explorer and see if it just goes away
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
well i finally got a developer for my next game
the space game
that space game ive been gassing about for 5 months
were going to start building a public demo for it that people can freely try and see if they want to back the kickstarter
#include <iostream>
#define loser you
Why would you include iostream 
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
its correct
Javascript?
All yea **** done
🔨 Banned iceDRAGONSH3#0543 indefinitely
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
Yes kinda
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
This seems difficult af
To do both
Both are really difficult to learn on their own and together may become impossible
yes i know but its just a thought
maybe I'll just continue with my EE and steadily learn some CS on free time considering i have such motivation
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
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
wait what, i thought programming amd cs was one thing
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
at least i know what to learn now
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
what, i thought unreal engine was just like blender with extra steps
like soem 3d art stuff
very interesting
Ok do I need to go through some basics or jump straight into the unreal engine thing
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
It really teaches you how it works
They have tutorials for those?
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
hmm sounds like a lot of youtube tutorials and googling
Alright my interest have spiked where do i download the unity thing, is there a website for it?
cant wait to experiecne pain from comprehending tutorials xd
especially as a newcomer
ohhh you will feel alot of pain
but
at the end, it will pay off
Yeah and learning something by yourself is painful in a way really
yeah, i recommend starting with brackeys
considering i also have to worry about my EE it will be a painful one
Wjat is that
okay
Hello cavemen, this seems like a nice cave
yep, warm and big
Not as much pain as the average os dev
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
yeah it takes plenty of time and "brain"
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
can agree as a fellow UE4 user
Eh haven't used unreal engine ever but it looks good
Does more stuff for you meaning way more productivity
I can report you
For reporting me
For reporting you
@barren shale Hamza
Are you still
@orchid frigate haydot
Making da game
too big
hamze got da modrtr
hamza got da modrtr
CSS is always good with html
haha funy
Hello, I just came to ask which text editor would you recommend me is that I would like to learn something about html5
there's vscode
and sublime text
and atom (not really recommend)
WHEN THE IMPOSTER IS GASP DABABY?
_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
Oh thank you very much
~traiteditor
Sending trait guide to DMs!
i think
you missed
table.unpack
instead of unpack
iirc unpack is a global function
nevermind
it's not
nevermind again
it also exists as a global function
Do you get any errors in the console
thank you, I'm glad to be back in staff after all this time 
good luck 
C# or C-Sharp is the programming language behind .NET (dotnet) and the Unity framework. It was created at Microsoft as a C-like object-oriented language and is used to build apps for web, desktop, mobile, and more.
#programming #unity #100SecondsOfCode
🔗 Resources
.NET Install https://dotnet.microsoft.com/download
C# docs https://docs.micros...
you happy hamza?
bad video
doesnt show how C# is the superior leader of all programming
Because it doesn't have anything to show
(fake and untrue)
javascript is obviously the best
everyone knows that

lmao
you mean the worst
singe page web applications made java useless
i can write a whole website with only the need of a couple of javascript lines
and the rest can be cool#
everyone should know HTML
I want to go up to a toddler and have them code snake in less than a minute 🤬 🤬
As a low level Dev I disagree
I couldn't even code snake lmfao

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
Idk how html works but sounds stupid to implement I agree
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
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
<h1> I'm bored someone entertain me </h1>
hi bored
Ж
Ж
please speak in english only here 
nice fixed by deleting the registry key in registry editor
@final rivetstop posting this in all channels
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
yeah so
gcc in short sucks
if you like to write
c++ use g++
c use clang
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?
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
no idea
kk
the problem is there are not many tutorials on that topic
and also more tutorials and for 3d and i am making 2d game
ab
so you need a boolean to lock all game logic
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
how to play a video in unity?
gonna do that
Yea it wasnt the biggest thing I have ever done
I spent most of the time planning how to use unity and not using unity
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
AMPs encoding and decoding is broken at the moment. I haven't had time to fix it because of school and won't have time for couple of months unfortunately
😔
Any way I could do it myself?
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
Do tell
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
I need someone to test it now
I have the new scripts for converting
Yooo
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
Still haven't gotten to other things such the convertor since I'm doing a bunch of things RN
But its like 90% done
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
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.
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
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
should we took here

we should chat in #🌎general or #🌋worldbox-chat
here its only for coding
coding chat
Are you still looking for people?
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
Any good services that doesn’t cost an arm and a leg to learn how to code with?
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
I figure I should see if I actually like coding before I consider a job in it
Yea thats a
Great
Idea like probably the best idea
You should always try something before you start doing it seriously
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
yes
sounds like pretty good
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
Darkwatch is alive.
We are talking average global dev
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
Which language are we talking
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
Rust is very fast and safe because it locks you into best practices
Ah yes... The nerd cave
does it? im pretty sure it does not because of the entire ownership system
//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
}
Hello
also dont worry about statics
hi
classes? Yea take a course on those
pretty complex
My memory is overloaded
https://c.tenor.com/IAp5g8WuiLUAAAAM/brain-overload-jon-stewart.gif
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);
}
}
}
that's wrong
private cant be accessed by other classes
not files
Me
I mean im not the only one who doesnt agree with it
Its pretty hard in the start I understand but you will learn it and realise its actually pretty simple
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
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
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
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
Vov dcoder huh im usng it too but
İt gives so much ads so
İ changed program
And why i cant sand pictures?
.
Nvm
K
İ recommend spck editor
İm just learning java
Thats ok for me
İ have
:)
vscode
is really good
for everything from web dev to game dev to os dev
speaking from experience
Ima go thank the guy named Experience too
@orchid frigate wat das ur nick min?
IHaydot is very old language for I hate dot
Ok
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
Ok
if you ask which high im talking about its whatever high you like 

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
K
you just need a shit ton of experience
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
new empty array is made by doing
int[] arrName = new int[size]
Heya
Ohhh news right those things
I remember they are amazing
And awful at the same time
In C#
int array = Array.Empty<int>();
you forgot :
i
decides
to do the unthinkable
i combine my backend and frontend with nginx
my frontend is Svelte js
backend is python with fastapi
use blazor
frontend and backend in C#
you can use ASP.NET which is the most used framework for web apis
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
dont learn php xddd
and rust is better than cpp?
int[] arrName = new int[size]
I already kinda did. It's just pain in the ass to get working through xampp on my pc for some reason
helo guys im back
game development is way harder than i expected especially when youre self taught
k bye
The code itself isnt as hard as the graphics
And making a good game in general
Like with good gameplay
I dunno, I was probably too ambitious lol
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
and way more toxic
sounds helpful
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
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"
Ah yes... The nerd cave
I have no idea what the status library is but from my perspective it is very amazing
its not complicated its just constricted
impossible and that's exactly why std has it
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
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
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
as-
bad idea, very bad idea
C# with the Unity engine indeed
Yea but now when i go into some forum I can say "I use arch btw"
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
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
lol
We got a 500
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
once again I will direct you to the official documentation:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/methods
it can teach way better than I can
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
so apparently
im multitasking
3
freaking language
python for backend
js for frontend
php for ssr backend
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
xdd
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
javascript is pretty good
👍
Im sorry but your opinion is not valid
you basically just said "learn dyslexia"
i mean you do hav unsafe
if you need it
i do agree with this but i think it's still worth it

C# has unsafe too
nobody uses these
they are rarely used
because then why wouldnt you just use C++
when you use unsafe it basically becomes C++
even in C#
tolerable
the only reason to use unsafe in C# is to do C++ code in C# syntax
rust is just Cooler C++ anyway
Not true
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
Yeah im pretty sure Rust's entire point is safety and security
oh really
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

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
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
nice
Very nice GJ
Skill issue + cope + ratio + you fell off + there is no cereal + your mom + ur mum + ur mum gay + passed an APCS midterm + you fell off part 2 + cancelled + ratio part 2

E=mc^2
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.
C
i made a working
payment app
nice
now i just need a way to authenticate
basically i need a 1 time auth code
Owww congratulations rei!
Time to scam people

👍


