#⌨coders-cave

1 messages · Page 92 of 1

main brook
#

blocking hamza

#

is worth it

barren shale
#

I think rei is just stooooopid

hasty bane
#

i dont like the c# superiority rants but hamza is pretty cool otherwise

hasty bane
barren shale
hasty bane
#

assembly?

barren shale
#

No

hasty bane
barren shale
#

Nothing is better than C# ya dum dum

hasty bane
#

1 blocked message

barren shale
#

2

#

Blocked messages

main brook
#

how to make mods pls help?!??!!!

#

~ some randos

hasty bane
#

now you just need a white nickname

barren shale
hasty bane
#

pls no ban

barren shale
#

-bean cuz racist

hasty bane
next lotus
#

not my fault you're lazy

hasty bane
#

lmao

next lotus
#

but even with the garbage collector

#

python still have memory leaks

hasty bane
#

im not saying python doesn't have them

#

even rust that uses a completely different system can leak memory

#

but

#

it's much less of a hassle in python

next lotus
#

you know what else isnt much of a hassle

#

C# troll

hasty bane
#

i dont disagree

#

but also

#

python faster to write.

barren shale
#

python is faster to write but slower to run

#

python is good for personal projects that does not require speed

hasty bane
#

its also p good for prototypes imo

barren shale
#

prototyping in the language you're not gonna write the program in

#

is not that good imo

hasty bane
#

fair but if you just want to see if it is possible to make thing x it's pretty fast to make a prototype of x in python

#

If its not big ofc

barren shale
#

id rather prototype on something like adobexd for web and paper for anything else

hasty bane
#

Writing 4000 lines of python code just to scrap it and do c# would be pretty stupid

barren shale
hasty bane
#

i need to rephrase that

barren shale
#

things that are impossible are known and no need to test

#

also

hasty bane
#

fair but if you just want to see if the idea you want to create is good it's pretty fast to make a prototype of x in python

barren shale
#

google

next lotus
barren shale
#

bruh this guy is so dum

next lotus
#

1 line in python does a lot of overhead under the hood

hasty bane
#

kek

barren shale
#

@next lotus use brain

hasty bane
#

nothing stupid about a faster option
everything stupid about scrapping 4k lines of python code instead of going with c# from the start

barren shale
#

when reading

#

quite the estmation

hasty bane
#

highly accurate

#

maybe its in minutes and not seconds?

barren shale
#

maybe its your mum

hasty bane
barren shale
#

no

orchid frigate
#

This entire chat is literally low level VS high level programming

#

When the two things are extremely different

#

And used for completely different things

#

Yoooo I got some very basic keyboard drivers working

stone patrol
#

where do you get the mods?

orchid frigate
stone patrol
#

ty

exotic vessel
#

Ah yes... The nerd cave

barren shale
#

So is C++

#

Stupid stuff

hasty bane
#

tbf low level is really cool

#

if you're making malware
if you're terry davis and want to have your own templeos

orchid frigate
hasty bane
#

tbf everything that isnt assembly and lower is high level

#

but at this point we might as well call some languages super high level

#

like python

#

you're basically writing code in english

orchid frigate
#

High level++

orchid frigate
#

I don't think I want to

#

Im learning about how OSs work

hollow bronze
fossil pawn
#

I only code in scratch, the highest IQ language

limber wasp
fossil pawn
#

Scratch malware is the ~best~ malware

wet girder
#

I have my first hackathon tomorrow and I'm representing my school in it so I'm fucking terrified

fossil pawn
#

Good luck jupe, you’ll do great

#

Believe in the discord stranger that believes in you

stable magnet
#

-worldeditor

limber wasp
#

e

shut saffron
#

Does anybody have/ know how to use that jpeg -> .wbox converter?

foggy jay
#

Hi

barren shale
#

no

#

you dont need help

#

kewl

#

i like making an ascii ui

#

dont worry you are not alone

#

haydot is with you

#

sure

#

but first

#

it looks even kewler

#

profit calculator obviously

#

with what

#

with what

#

this is an infinite loop

#

because once the value is "$ Mine" you can never change it

#

or

#

you can change the while to if

#

remove while

#

write if

#

done

hoary hound
#

you would probably need to change some other stuff too

#

depending on how you structured your code

#

try to write your program in pseudocode first

#

then if it makes sense, make it into actual code

main brook
#

you can

#

use event based

hoary hound
barren shale
main brook
#
if this is equal to x
    run in new thread
barren shale
#

he just needs to structure his code better

main brook
#

but like

#

you can handle events

#

while the loop is running

#

like user input

barren shale
#

and better understanding of how to do shit

main brook
#

read the stdin

hoary hound
#

writing your code with english-like structure

barren shale
hoary hound
hoary hound
barren shale
#

you are like my college

hoary hound
#

also

barren shale
#

it helps when you already know how to program

#

lets cry together

#

😭

barren shale
#

jk i dont cry im so good

hoary hound
#

It's just a way to get a general idea of your code

#

instead of jumping directly in

#

and writing shit code

barren shale
barren shale
#

the only good use

hoary hound
#

ofc if your program is hello world you don't need pseudocode

#

listen I don't use it either but maybe it can be helpful for them

barren shale
#

im in college and they teach us this

#

its not working on almost everyone

#

i started since 6 years ago

hoary hound
#

I've learnt it in school for like 2 years, I don't remember much besides basic use

barren shale
#

does cloud even do C# ?

hoary hound
#

It was our introduction to OOP

barren shale
#

programming languages in school

#

kewl

#

here we get biology and chemistry instead sad

hoary hound
#

Now I'm at university and all I do is math all day

#

every day

barren shale
#

learn how to make CLASSES

hoary hound
#

yeah programming guys

barren shale
#

google it

#

youtube

hoary hound
#

just google C# oop

#

oop is object oriented programming

barren shale
#

as long as you are having fun programming you will get good at it automatically as you try to do more stuff

#

if you are not having fun you will lose motivation and stop doing it

#

so try to not force yourself and just do stuff for fun

#

as long as its fun you are doing good

#

you know how to make a random number in C# ?

#

how ?

#

Random is a class

#

that has a method called Next which takes two numbers in this case 0 and 10 and returns random number between them

#

you can make your own classes

#

that have methods and fields and props

#

and use them

#

meanwhile Console is also a class

#

but its a static class

#

you dont need to do Console console = new Console because its static

#

it can only have one instance

#

unlike random which you can have as many as you want like

Random random1 = new Random();
Random random2 = new Random();
Random random3 = new Random();
#

stuff

#

cool stuff

hoary hound
#

first start learning oop, it will take some time

#

it's what hamza is talking about

#

oop is the concept

#

Object Oriented Programming

#

just do some research, watch stuff on youtube, I'm sure there are some good courses out there

fossil pawn
#

I would suggest learning with a game engine

#

Its hella confusing when you start, but it’s a good way to learn most concepts

#

And it’s a really good way to visualize oop

hoary hound
#

yes

fossil pawn
#

It’s is class yes

next lotus
barren shale
#

or else it would be static

#

you might want different seeds

next lotus
#

where would you use many instances of random

#

yeah

barren shale
#

oh and also mutlithreading

#

since Random is not thread safe

fading zealot
#

KM\

orchid frigate
#

ima say something to piss off hamza

#

OOP and c# suck compared to C :)

upper sleet
#

:(

barren shale
#

its not gonna piss me off

#

because

orchid frigate
#

Im sure I pissed you off atleast a little bit

#

Which makes me really happy

wet girder
#

5 minutes to learn classes

#

damn that's tightly packed shit

#

we had a week of classes just for classes in vocational school

barren shale
next lotus
#

you should not

#

watch those videos claiming you can learn a language in 5 mins lmao

#

you should watch long full length videos instead

#

or just better yet read docs

main brook
#

implement means

#

making or some sorr

#

sort

#

its like applying something

#

for example a function that doesn't do anything and its purpose is purely to be implemented by subclass

next lotus
#

for interfaces, implementation will just mean inheriting the interface

main brook
#

the meaning varies

#

for different context

errant trail
#

add but fancier

#

like "im gonna implement variables in my shitty programming language" instead of "im gonna add variables to my shitty programming language"

ionic swan
#

i dont know how to code

hasty bane
#

get good

slate wave
errant trail
#

BRO I HEARD SOMEONE KEEP SAYING THAT PROGRAMMING LANGUAGES ARE CODING TYPE s

main brook
#

WTF

#

that's like saying

#

foods are just different way to consume nutrients

errant trail
#

bro ik

main brook
#

smh

#

people are

#

weird

barren shale
#

no

#

you can

#

doesnt mean i will answer tho

#

you code

#

and you watch youtube videos

#

nick chapsas has great videos on C#

#

they are advanced tho

fossil pawn
#

Try working on a personal project

#

Make a small micro game or anything you’d like really

#

As you work through it, you learn more and more about what your doing and what each line of code actually does

#

Also

hollow bronze
#
  1. experience
  2. guides
  3. school
#

often times even relearning basics I will forget something or realize I have a bad habit and I correct it

fossil pawn
#

Practice makes perfect

hollow bronze
#

often the more you work with a library or in a specific area the more you will learn and the more you will improve

#

and the more you do the better you get at picking up new libraries and new things

#

you will constantly be learning new things forever and ever

#

and eventually you'll be able to look back and go "wow that was the worst thing I've ever made"

#

for a starter I'd just go out and try to make what you think would be fun. It doesn't have to be good, and it doesn't have to work that great.

tropic fulcrum
#

Yhjb

earnest kiln
#

What coding language would be best for a search engine?

grand apex
#

?????

#

No idea

#

I accedently clicked on this channle

main brook
#

or for

#

the

#

frontend and simple backend

#

because you wouldn't combine the search for humongous results

#

in the same server

#

as the website

main brook
#

I don't think anything is perfect

#

it misleads some students here

#

they even thought they're not perfect enough

#

and ended up stressing themselves over it

main brook
knotty root
#

Hmmm

#

0101001 kave?

barren shale
#

funi

errant trail
earnest kiln
unborn crystal
#

👴

exotic vessel
#

Ah yes... The smart and kind people cave

barren shale
#

smart maybe

#

but not kind

neat raven
#

anyone know where the mods are?

bold rover
#

Lmaoo

mild heron
#

ñ

void parcel
# earnest kiln What coding language would be best for a search engine?

Depends on what you want to use for frontend/backend. A couple options would be a WampServer(microsoft based), flask/django for python for the backend part and HTML and CSS(with javascript if you want) for frontend. Honestly I wouldnt recommend PHP unless you have experience in it because it has been kinda lost to time, but its up to you. HTML/CSS are always used for frontend, JS is an option. This is all just to create a basic website, if you want a search engine, thats a pretty simple thing to code, and if you are doing it on a website you will want to use your browsers built in search engine for searchs pertaining to data from the browser, otherwise use JS.

earnest kiln
#

Ok thanks

#

Also isn’t it ironic that most people learn how to build search engines from other search engines

void parcel
#

yes

earnest kiln
#

They use search engines to find out how to make one

#

Anyways thank you so much

void parcel
#

thats probably a paradox im just stupid

#

yeah np

earnest kiln
#

I am making one for a project and I had to choose a language and a software

#

Thanks

void parcel
#

ohh I see

#

IDE for this doesnt matter much I dont think

earnest kiln
void parcel
#

I am not a web developer but I have dabbled

earnest kiln
#

Yeah so thanks

void parcel
#

yeah lmao

earnest kiln
#

Like a semester ago

void parcel
#

I am in highschool so I have no clue

earnest kiln
#

I just got out of high school

#

Thanks

void parcel
#

just got in

#

its alright

#

a lot more boring than elementary and middl

earnest kiln
#

Welp have a great weekend

void parcel
#

e

#

yeah you too

earnest kiln
#

Bye

void parcel
#

cya

main brook
#

don't use IDE for beginners

#

imo

#

same with autocompletion

#

just use code suggestion

#

and a code editor

barren shale
#

its a search engine

#

its backend

#

and it depends on what you are searching for

#

are you going to search for websites

#

or what

barren shale
#

when did the IDE matter

#

please tell me

void parcel
#

do you understand english

barren shale
#

no

#

explain

void parcel
#

and stop talking about things you dont understand

barren shale
#

to me

void parcel
#

respectfully

barren shale
#

you said you dont do web dev

#

i do web dev

void parcel
#

sure

barren shale
#

mhmm

void parcel
#

I literally said it didnt matter

void parcel
#

it didnt matter

barren shale
#

i said that it never matters

void parcel
#

yeah I mean, for the rest of programming

#

as a whole

#

it definitly matters

barren shale
#

how is that

void parcel
#

are you really asking me this question

barren shale
#

yes

void parcel
#

legitimately

barren shale
#

?

#

you wanna answer or no ?

void parcel
#

you are not trolling

barren shale
#

im starting to think you are trolling

void parcel
#

I dont have time or braincells to have a fight with a troll

barren shale
#

its not a fight

#

i just asked a question

#

you wanna answer ?

void parcel
#

sure

barren shale
#

go ahead

void parcel
#

if I gave you all the examples it would take years

#

basic example

#

is

#

processing

#

for java

#

custom ide, cant really use processing library outside o fit

#

of it

void parcel
#

I said cant really

barren shale
#

bad example then

#

btw here's a tutorial

void parcel
#

also are you really gonna sit there and tell me that you would code in the base command prompt than an actual ide

#

there are things like

#

auto format

#

and highlighting important things

barren shale
#

vscode has auto format

#

and highlighting

#

you just need to install them with 1 click each

void parcel
#

vscode is not base terminal

#

did you read what I said

barren shale
#

im saying that ide does not matter

#

im not saying that you shouldnt use an ide or code editor

#

im just saying that it doesnt matter what you choose

#

you need to read what i said

hollow harbor
#

i mean yeah it doesnt matter but you'd be stupid to use notepad or something

barren shale
#

we are still talking within the ides

#

notepad isnt an ide so its out

void parcel
hollow harbor
#

also if you're gonna do like idk
c++ programming

barren shale
#

i just told you that what you said is wrong

void parcel
#

I am sure there is an example somewhere anyway

hollow harbor
#

you'd be kinda dumb to not use visual studio

#

or c#

barren shale
#

it literally does not matter

#

my friend's laptop cant run visual studio code

#

he uses vscode

#

he is completely fine

hollow harbor
#

do you want the convenience or not

barren shale
#

its features

#

it might have more features

hollow harbor
#

visual studio is like tailored to c#

barren shale
#

it doesnt mean you have to use it

void parcel
hollow harbor
#

yeah well you should

#

unless you're on like a mac or something

barren shale
void parcel
#

why cant I send quora lings

barren shale
#

people use intellij

void parcel
#

linkgs

hollow harbor
#

intellij is also like

barren shale
#

people use rider for C#

#

like me

hollow harbor
#

not visual studio code

barren shale
#

im not saying its the best

hollow harbor
#

visual studio code is less of an IDE as it is a code editor with customization
like atom

barren shale
#

im saying it can work

hollow harbor
#

yeah

#

exactly

#

but why would you use it

wet girder
hollow harbor
#

true

#

but i was using an example

barren shale
#

i mean C doesnt work in visual studio

#

you need something like vscode for that

hollow harbor
#

no

barren shale
#

unless you just wanna use the C aspects in C++

wet girder
#

I thought it would work

hollow harbor
#

c works

wet girder
#

welp it's very good for c++ and C#

void parcel
hollow harbor
#

if you just change the extension from cpp to c

hollow harbor
void parcel
#

still

barren shale
hollow harbor
#

but straight up you can use c in visual studio

barren shale
#

we were talking about web dev

void parcel
#

you said throughout all programming

wet girder
hollow harbor
#

By default, the Visual C++ compiler treats all files that end in .c as C source code, and all files that end in .cpp as C++ source code. To force the compiler to treat all files as C regardless of file name extension, use the /Tc compiler option.

barren shale
#

do you make a C project

hollow harbor
#

just change the file extension lmao

barren shale
#

and it runs ?

hollow harbor
#

yes

barren shale
#

hmm

#

never knew that

#

i dont use C anyways

#

xd

hollow harbor
#

i've used c in visual studio

void parcel
hollow harbor
#

but if you're using c class languages, you should use visual studio
for java, idk man but vscode isnt built for it
for other stuff, yeah vscode is fine (but some languages have shit support)

barren shale
void parcel
#

yup

#

thats not all programming

barren shale
#

irrelevant programming languages that are very old and noone uses them anymore wont obviously

hollow harbor
#

ok thats like saying "but BASIC isnt supported"

void parcel
#

it was a dumb claim, I am simply giving a dumb answer

hollow harbor
#

from my personal experience they do all have some support but some support is just shit

barren shale
#

i was being realistic when i claimed that but you are clearly not when you are giving these examples

hollow harbor
#

like php

dont code php in vscode

barren shale
#

now i go

wet girder
#

if you want some random programming language you can make it supported in vsc yourself lol

wet girder
hollow harbor
#

its fine its just
ok my main problems with vscode is how the workspace works (i just dont get it)
and the formatting tools
the formatting tools are garbage

wet girder
#

fair enough

void parcel
wet girder
#

I only use vsc for web front end because other ides are better for everything else

hollow harbor
#

yeah only for like web dev (and php but i dont like it)

#

honestly i just fucking hate the formatting tools

void parcel
main brook
#

just ignore hamza

#

he's always like that

#

his superiority complex for C# made him like that

next lotus
#

just

#

dont use visual studio that shit is

#

very slow

#

of all ides the best ones are made by jetbrains

#

except android studio google screwed it up

barren shale
#

but from how you are saying that

#

i dont think you care

next lotus
#

yes, the only reason i use visual studio

barren shale
next lotus
#

i only use vs because its free and i ran out of 30 day trial from rider

barren shale
#

hi

#

do stuff

next lotus
#

learn oop

#

theres no end

#

to learning

#

but anyways

#

rider is much better lmao, i like how it automatically renames the namespaces of your classes when you try to move them from directory to directory for some reason its not on vs

barren shale
#

ignore that guy

#

he is like me

#

but on steroids

next lotus
#

make projects obviously

#

what are you supposed to do next

barren shale
#

nice you cant even see him

#

just try to do the thing youve been trying to do

next lotus
#

same

barren shale
#

just make a class for item

#

and an inventory is just an array of items

next lotus
#

dont forget to use interfaces and abstract classes for item types lol because you know, oop

barren shale
#

none does

next lotus
#

for

barren shale
#

you just use them

next lotus
#

reflection lol

#

oh you're not there yet

#

:)

#

you'll love reflection

barren shale
#

interfaces are basically mini abstract classes

#

idk how to explain it better

next lotus
#

what if you have 1000 classes that has a method named "StartAsync()"

#

now you want create instances of those classes

#

and run StartAsync

#

thats where reflection and interfaces comes in

hollow bronze
barren shale
#

and visual studio is good

hollow bronze
#

he uh said he's using it

barren shale
#

yes rider can be better but sometimes rider is just too overwhelming

hollow bronze
#

I gave an alternative

#

vscode is quite lightweight

next lotus
#

lets say you have a webserver

#

and

#

you have classes that handles each route

#

say "/index" has a class and "/home" has a class

#

they have

#

similarities

#

hence they can be interfaces

hollow bronze
#

ignore all advice, make a class for every method

next lotus
#

why bother with abstract and interfaces

#

when you can put everything in one class troll

hollow bronze
#

yes

gusty edge
#

Alguém mim tira desse grupo

#

Alguém mim tira desse grupo

#

Alguém mim tira desse grupo

#

Alguém mim tira desse grupo

#

Alguém mim tira desse grupo

#

Alguém mim tira desse grupo

barren shale
knotty root
#

While true is a depression btw

hollow bronze
#

you could say depression is under a while true

next lotus
#

break;

#

lol

main brook
#
depressed = True

def gettingHelp():
    return "just don't be sad"

while depressed:
    if gettingHelp() != "just don't be sad":
        break
errant trail
#
while true:
    if stop:
        ignore()
    bot.send("aaaa");
``` discord bot nukes be like

does not actually work and if they try to use this as reference then the basic while loop is a better reference and its everywhere*

disclamer just incase stupid mods
barren shale
#

pyew

covert cipher
#

Script for free robux?

next lotus
#

press Win + R then type "shell:startup" and press enter

#

then open notepad

#

type shutdown /s and save it on the "shell:startup"

exotic vessel
#

This is the final one...😔

Ah yes... The nerd cave

barren shale
spiral sonnet
#

I forgot how to string format

#

Wtf

split parrotBOT
spiral sonnet
#

Wrong place child

#

Now would you delete these messages?

#

For me, inventory is just a simple list, no complications. Starter tactic

spiral sonnet
#

New projext spoiler

barren shale
mossy shard
#

Playtime : *(0
StopTime: *(0.1

SaveWorld :*ForceStop);Clear Ads
Buy (*Free)

(do not try this or you're worldbox app will crash😂)

quick badge
#

My day was wasted on trying things with python and getting distracted lmao

orchid frigate
#

So after doing a couple of months of os dev

#

I realize why its so difficult

#

Its not that the code is hard

#

Its because the deeper you go the lesser info there is

#

Its getting to the point where trying to find absolutely anything about anything is possible only by going through some ancient documentations made for this specific device

#

Which have a 50/50 chance of working and are generally made for people who already know how to use this information

bronze mesa
reef onyx
#

No se

main brook
main brook
#
format("str {0}", "this")
"str {0}".format("this")

this = "this"
f"str {this}"
spiral sonnet
#

Hmmm

#

Limited slots

#

Expandble

#

Better start thinking now

#

But good thing I'm not using inventory in this project

spiral sonnet
orchid frigate
#

I completed my first os project

#

I basically managed to get interrupts working and a basic input system

#

And doing anything else would be insanely difficult so I just ended it

#

Meaning everything will be so much easier

#

Or...should be

bold rover
#

Congratulations Haydot!

orchid frigate
#

here's the final product

barren shale
#

nobody

#

asked

orchid frigate
#

the channel topic asked m8

#

"Room to talk about different coding/programming topics"

wet girder
#

0xdeadbeef lol

orchid frigate
#

Probably the most popular hex number

#

even the tf2 bots can be named that

wet girder
#

huh, didn't even know deadbeef meant anything

orchid frigate
#

it doesnt kinda

#

its just a number, I use it to write to an unexisting adress

wet girder
#

hmm intresting, some guy in Finland had to pay 75 000mk/20 000€ in fines for scanning banks ports for open servers

orchid frigate
wet girder
#

oh wait it's in old finnish money. Then it's like 20 000€

#

he did it in 1998 and had to pay 75 000mk in 2003

hasty bane
#

tip: scanning ports is Kinda Sussy

wet girder
#

Finnish cyber security laws are a joke. The KKO which does all last decisions on sentences is full of boomers who have no fucking idea what the internet is and neither does the government who does the laws

#

and there are only like 4 notable white hat hackers in Finland so ofc that's the case

hasty bane
#

writing that down for when i will need to hack a random bank

barren shale
orchid frigate
#

Ye

#

mainly cpp

orchid frigate
#

It really matters what you wanna do

barren shale
#

you can bearly do C#

orchid frigate
#

for low level stuff like memory and pointers

#

yess

#

for high level stuff like game development and what not

#

no

barren shale
#

ill help you with one thing

#

dont listen to haydot

orchid frigate
#

jesus fucking christ what is your problem

#

This shit is getting sad to look at

barren shale
#

good question

#

cant help

#

since i dont see code

#

how about you take a screen shot where you see the red line ?

knotty root
#

This is the power that borders on Omnipotence

#

Able to overcome a supreme form

barren shale
#

ok

knotty root
#

I even forgot that there was a public using a lot of private

barren shale
#

wait wtf is this

#

u drunk ?

#

why do you want to use IEquatable

#

for an inventory

knotty root
#

Me trying to find the use for IEquatable" 🤡

barren shale
#

Remove this

     interface IEquatable
    {
        string name { get; set; }
    }
main brook
#

but with sql

#

sql doesn't have arrays

barren shale
#

and this class Inventory : IEquatable<Inventory> should be class Inventory

#

rei

#

nobody

#

asked

main brook
#

and you need shit load of relationship

knotty root
main brook
#

to actually have a similar experience like arrays

barren shale
#

you can just make the inventory a string

#

and just put a , between the ids

#

and easy

knotty root
#

I was even going to say but they already answered for me k

barren shale
#

no

#

bruh

#

its an inventory

#

array of items

#

done

#

ez

#

go next

hollow bronze
#

I can't tell if this is sarcasm

#

probably making this more complicated than it needs to be

#

like uh whatever this is

#
public int healths
    {
        get
        {
            return _healths;
        }
        set
        {
            _healths = value;
        }
    }
#

cant you just... read and write from a public int

barren shale
#

how else would you write down a list of things

hollow bronze
#

hasn't been invented

#

though I would recommend more obvious sarcasm

#

or people may actually write a string of items

barren shale
#

bro

#

its not sarcasm

#

actual games use this when they have a sql db

#

when you want to make a list

#

you have to use a splitting character

hollow bronze
#

yeah but, json

barren shale
#

unless you wanna make a shit ton of relations like rei said

barren shale
#

for a list of numbers

hollow bronze
#

its useful for easy save data

barren shale
#

maybe if its more complicated

hollow bronze
#

its what worldbox uses

#

If its super simple to do I don't see the problem ¯_(ツ)_/¯

barren shale
hollow bronze
#

nah its more to deter people from doing modding chat in here

barren shale
#

i mean this gives hints to features that didnt come yet

hollow bronze
#

you can reference the game its not a boogie man

barren shale
#

a specific feature

#

ok

hollow bronze
#

save files have been json serialized for like since saves

barren shale
#

well

#

im talking about an sql db

#

not a json file

hollow bronze
#

like I said just do a simple json, and then just slap a list on your class

barren shale
#

saving a json file

#

not really good

#

like an online game

hollow bronze
#

is it an online game?

barren shale
#

what game

hollow bronze
#

the above

#

the user posted

barren shale
#

we werent talking about this thing

#

we were talking about sql dbs

hollow bronze
#

what

#

you've been talking to a ghost then

barren shale
#

okeh

hollow bronze
#

Because I responded to the above reusing a portion of their code

#

yeah I have no idea what you mean

barren shale
hollow bronze
#

you were responding to the person's above code weren't you

barren shale
#

responding to this

hollow bronze
#

ah

#

may have been more clear if you used the reply button

#

I thought you were referring to the above user

#

not rei

#

lol

barren shale
#

i mean the above user was rei

#

literally above my message was rei's message

hollow bronze
#

Im referring to OP as the above user

barren shale
#

ok

hollow bronze
#

because I keep forgetting his name

#

turtle

next lotus
#

what is that naming convention why are your public vars not on capital

#

why are you using + for concatting strings

#

what is going on

main brook
#

because

#

string concat

#

uses +

#

string formatting on the other hand

#

use another approach

next lotus
#

do this instead

Console.WriteLine($"> Your name is {name}");```
#
  • is very slow
barren shale
#

so you want speed ?

next lotus
#

use stringbuilder troll

barren shale
#
StringBuilder sb = new StringBuilder();
sb.Append("> Your name is ");
sb.Append(name);
Console.WriteLine(sb.ToString());
#

ez

next lotus
#

why ToString

barren shale
#

so it doesnt get boxed

next lotus
#

just $"{sb}"

#

lol

barren shale
#

still gets boxed

#

oh nvm they fixed it

#

but tostring is there for a reason

next lotus
#

but tbh the difference between + and these are like

#

1 millisecond

#

just findsomething you're comfortable on

orchid frigate
#

you will hate my code

#

I name my vars whatever the fuck I find fits best

#

random caps

#

underlines

next lotus
#

except c or c++ i know skilled af people who have the weirdest naming conventions ig thats just how it works

#

you guys love _

orchid frigate
#

YES

#

underlines -> best thing

#

90% of my vars use _

#

5% are LikeThis

hollow bronze
#

all of my vars are single letters

orchid frigate
#

5% are LIKETHIS or LIKE_THIS

hollow bronze
#

well sometimes its a word that relates if I need it to be not confusing

orchid frigate
hollow bronze
#

a, b, c, d, e

#

actually my go to is

#

v

orchid frigate
#

how do you

#

differentiate them

hollow bronze
#

I should note that Im referring to c# vars when I use them on like local stuff, not the like public fields

#

kek

#

though it would be funny if all of them were letters

next lotus
#

it would be confusing for public vars lol

#

try doing it on your functions troll

hollow bronze
#

foreach (var v in list)

barren shale
#

private has _

hollow bronze
#

and if I do a double foreach it has a wacky

#

v2

barren shale
#

unless its readonly

#

public is LikeThis

#

private is _likeThis

orchid frigate
barren shale
#

readonly private is LikeThis

next lotus
hollow bronze
#

I use linq a lot

barren shale
#

linq

hollow bronze
#

but not there

#

kek

barren shale
#

more like

#

no

hollow bronze
#

and compact

next lotus
#

i heard linq does

#

overheads but like

#

i use it all the time lol

barren shale
#

i use linq alot

#

wait a sec

#
List<(IWebProxy proxy, Task<bool> test)> tasks = (from data in proxiesObject.Data select new WebProxy { Address = new Uri($"http://{data.Ip}:{data.Port}"), BypassProxyOnLocal = false, UseDefaultCredentials = false, Credentials = new NetworkCredential("", "") } into proxy let task = Task.Run(async () => await TestProxy(proxy)) select (proxy, task)).Select(x => ((IWebProxy proxy, Task<bool> test))x).ToList();
#

here

orchid frigate
#

everyone high level caring about naming conventions and speed and shit

#

meanwhile low level people:

barren shale
#

meanwhile low level people dont exist

orchid frigate
#

OOGA BOOGA MY_VAR

hollow bronze
barren shale
#

cuz its unpractical

hollow bronze
#

being neat about naming and working on performance is for like things you intend to spend more than 5 minutes on

#

(i mean technically good practice regardless, but bah humbug da codes go badabing)

orchid frigate
#

and by the end of the project it looks like hell

hollow bronze
#

yeah

#

thats why its useful for that

orchid frigate
#

like I forget where I put the thing I wrote yesterday because its so badly orginized

hollow bronze
#

make a game with terrible management

#

its a fun time

orchid frigate
#

but with the words of Tod "It just works"

hollow bronze
#

works until you take a break for a little bit

#

and then when you come back you're like: what does this code even do

barren shale
#

imagine not being able to make a project thats readable and can be expanded

hollow bronze
#

this is a no hate zone

orchid frigate
hollow bronze
barren shale
orchid frigate
#

I guess Its because they are less...complex?

#

hi

hollow bronze
orchid frigate
#

That sounds like a bad time

next lotus
hollow bronze
#

its just programmers

orchid frigate
#

but ofcourse

#

it sucks in terms of code

hollow bronze
#

programmers have too many hills they'll die on

orchid frigate
#

because I never spent time to...actually make it work

hollow bronze
#

the one you think would be most fun

orchid frigate
#

I can keep my mind on a project for a loooong time if I have the right resources

#

if I dont

#

I just...skip it

barren shale
#

anyways spent the last hour making a proxy system so i can call this api more than 300 times every min and now i realized that the api already banned all of the ips on this proxy list

#

now i go cry

orchid frigate
#

Ok tell me something

hollow bronze
#

kek

orchid frigate
#

what are you more interested in

#

web

#

game dev

#

or how the pc works

next lotus
hollow bronze
#

indecisive andy

next lotus
#

wdym socks are faster because most works lol

#

make an open world game then

orchid frigate
#

I run pretty well with socks but I can agree that running with shoes is better sitcom soundtrack plays

#

You dont

#

Trust me

hollow bronze
#

do anything AI and let the brain decompose

next lotus
#

make an os then lol

orchid frigate
#

When you are learning on how to program

#

dont challange yourself alot

barren shale
orchid frigate
#

its gonna demotivate you alot

hollow bronze
#

Generally you do things that are interesting and fun, not the ones that are very hard (but sometimes the harder challenges end up being the more fun/interesting to you)

orchid frigate
#

I agree

#

Talk to me about it

#

hi hello

#

Im your average os dev

#

What will you need to make an os?

hollow bronze
#

and lots of time

orchid frigate
#

skills in:
assembly
c or cpp
build a cross compiler
run a linux terminal
learn about bootloaders
learn about BIOS and UEFI( I reccmend UEFI)

#

and thats just the basics

#

then you have

#

some other shit

#

Which I barely understand

hollow bronze
#

problem solving is the fun part

#

to me at least

orchid frigate
#

Because there is usually this one method which you have to follow

#

and no other way

hollow bronze
#

does that mean what you program will be functional most of the time

orchid frigate
#

lmao no

hollow bronze
#

then lots of problem solving

#

problem: code no work

orchid frigate
#

99% of the time it will break without a real reason

#

restart the project

#

breaks again

#

reinstall tools

hollow bronze
#

I consider that problem solving for masochists

#

to be fair I think its a universal tech problem because I think we're all haunted by stupid bs like that from time to time

#

but to do it constantly? masochist

#

go exploring

#

anything

#

if we had good project ideas we'd be doing them and then why would you also do the same project

orchid frigate
#

I recommend trying different projects

hollow bronze
#

lol

orchid frigate
#

until something isnt fun

#

to do

#

and just....doing it

hollow bronze
#

human brain kind of weird like that

orchid frigate
#

I once failed to build a cross compiler

hollow bronze
#

its the thing I despise the most

#

I like good stack trace stuff that leads me to my direct error and then I can figure it out

#

already done

#

far better than I can

#

lol

#

almost as vague as you could make it

#

you can ask, but you didn't clarify what you're going to ask

#

what do you mean

#

lots of things have height and width

#

the terminal window itself?

#

too vague for me to understand what you mean then

#

what program

#

c# can be used in like a billion things

#

do you mean visual studio, unity, some other program?

#

a console?

#

like uh?

#

Console.SetWindowSize(width, height);

#

that should be what I just sent

orchid frigate
#

Thanks wbshy

main brook
#

well it does like

#

str1 + str2 = str3

#

more likely scenario is

#

format(str1, str2)

#

where str1 is mutated

#

but mostly strings are immutable

orchid frigate
#

This sounds like doing some experiments

#

like str1 being mutated and turned into something else

#

becoming a mutant

main brook
#

mutable

#

is something that's not a constant

orchid frigate
#

I know

#

I have done enough rust to know that

#

But like it still sounds like mutation stuff

next lotus
#

gaming

hollow reef
#

`x3 programming language name

#

and `x3 again

#

to close it

barren shale
#

hold ctrl

#

and scroll up or down

orchid frigate
#

hi

hoary hound
#

@deep scaffold use commands in #🤖bot-commands

deep scaffold
#

hello

wet girder
#

I got myself a domain through the GitHub studend developer pack thing and setup an email service on it so I could use it as professional looking email address and damn was it weird and unpleasant to do

hasty bane
#

kek

bold rover
#

congrats jupe

orchid frigate
#

I just thought of

#

the best song ever

#

we dont talk about BIOS no no no we dont talk about BIOS.... but it was my coding day it was my coding day I was coding and there wasnt a bug in the program no bugs allowed in the program but then BIOS walks in with a shit ton of bugs BUGS are you coding this bootloader or am I I ran out of ideas

wet girder
orchid frigate
#

fuck this song is stuck in my head

#

and I have heard it like

#

3 times

wet girder
#

Lol, I'm in swedish class and one rock song is stuck in my head which is always a bit weird experience as rock isn't the most typical catchy genre

#

REMASTERED IN HD!!
Official Music Video for Prayer Of The Refugee performed by Rise Against.

Follow Rise Against:
Instagram: https://www.instagram.com/riseagainst
Facebook: https://www.facebook.com/riseagainst
Twitter: https://twitter.com/riseagainst
Website: https://www.riseagainst.com

(C) 2006 Geffen Records
#RiseAgainst #PrayerOfTheRefugee...

▶ Play video
orchid frigate
#

UMG be like

#

"no no no you cant watch this in discord you gotta go to youtube"

#

the song was so good

#

it crashed GNOME half way through

wet girder
#

lmao

#

why do you use GNOME anyway

orchid frigate
#

idk

#

actuallyt

#

this isnt gnome