#⌨coders-cave
1 messages · Page 111 of 1
public class Table<T> where T : class, struct, Collection
{
public string Name;
public T TableObject;
}```
something like that
where T can be anything lol
so you can Table t = new Table<Array<int>>(); for ex..
so TableObject is the type Array<int> lol
because they are so good
well rust is kinda weird with types
but not for you because you write procedural lol
we're the object oriented gang, everything is an object
wait but thats the whole point of c++
tbh Im not sure why I use c++
its like my biggest project is hexaos and the kernel is entirely in c++
and sadly I used namespaces from the start so
switching to c would be too difficult
so I just ignored it
but c++ also has better structures than C so
welp, thats oop for you
that has nothing to do with oop
Srry its a glitch
Jai
- explains the entire worldbocs script *
We got some big brain conversations in here
other than having so many trollers, yes
Oof
well since the chats dead, time to revive it with something that will make you all either very happy or very upset
||vim is the best code editor, prove me wrong||
vim is superior
vscode pretty good
vim is for people that are so insecure that they have to flex with every part of their life even the fact that they can code is not enough of a flex so they have to code with magical hotkeys that takes hours to learn but are useless
not wrong
vim is good because
its all keyboard
literally made for focus
yes but
look at how many commands are there
you know this meme right
and like look how deep the learning curve is
You don't have to learn all of them tho
You can just learn
How to exit
Exit and save
Input mode
Thats it
but then comes
how to switch windows
and uh
idk never tried vim
im happy with vscode
its not as efficient as people make it look like
q = quit without save
q! = force quit without save
qw = save and exit
w = save
for input mode just
esc + i
90% of the people here dont give a shit about efficiency
Its just an editor
who the fuck just do
they care about flexing that "i do something different than everyone else"
"this simplified design is too simple"
Im not gonna test which one I type the most in
literally the whole fucking point
You take everything that isnt what you do
As a flex
Not a good way of looking at things
because they're "cool kids"
the irony
if you think me saying C# is the best programming language to ever exist is a joke
i dont know what to say
there are good languages and there are bad languages
but there's no better language between the good languages
Screenshoting this
go ahead
comparing a code editor made by multimillionaire company and have big big fat community
to a terminal code editor
by some random person
with a huge huge community
is like
comparing a fucking baby to a fucking adult
Files that you can only access by the terminal
im just saying that most people who use vim are just doing it so they can flex
nah
Like when you connect to another device by it
Yea I know but
remote control?
i think its main purpose is that
For Oss that have text interface
most old programs uses a terminal ui instead of a graphic
or
"simple"
its up to preference
unless you're a fucking mustard
Idk but like tbh
and your opinion matters more than anyone
Use whatever you want and whatever fits you most
exactly
Sigma grindset
to the text editor design
Superior to all
And then get yelled at your job because you have spent 90% of the time working on it
And not on the actual project
👍
just know
writing your own text editor
is like
making a compiler
you use the old compiler to compile the new compiler
you write code using the old code editor for a new code editor
But what if
You dont use a programming language for it
But write the bytes yourself 🧐
Godlike move
Wait
You still need an editor
😔
vim commands are easy
it was just made a while ago so it’s different from modern editors
also I just like using it because I can work as efficiently on my laptop as I can on my desktop, and it’s harder to get distracted without having to switch your focus between the mouse and keyboard
just my preference ig, everyone’s different
c++ > java > rust > python > c# > lua 😉
ngl it kinda is compared to other editors, not in the biggest aspects but more of the customization aspect
because vim is ancient :P
like for example, you can remap any key with one command, and you can share your whole vim strip with a gist and have the same exact experience on any other device
ye but it’s still rlly good imo
there are even modern versions of vim, like neovim
vscode has ssh feature where multiple guys can work on the same file and the the modifications will show on the other guys :)
that seems overly complicated
but you can prob just make a plug-in to do the same thing in vim
"c++ > rust" 1v1 in front of the bar no scopes
Ima 360 no scope no dope you
Don't make me 720 no scope yes dope no cope ratio + didn't ask + dont care + quote tweet you
Thats right
😱 have mercy pls
Or else I was gonna 1080 no scope....
😱😱😱
how
is rust superior
than c++ how and why people say so
like i swear every c++ programmer i came across worships rust
because of the auto garbage collector?
A high level designed low level language
ohh i see
hmmmmm i like the thought of that
alr of all languages only java would smell nice thats the only pro of java it smells nice because its coffee
Only bad thing about low level rust is
How annoying safety is
Like every time you do pointer stuff or static muts you gotta put everything in an unsafe block
Which is annoying af
I bet c++ smells like c
But more smelling
what does C smell like
Like its more smelly
Oldness
Assembly smells like chad
ruby would smell like uh whatever ruby smells
Because its chad language
According to statistics every assembly dev has proven to have gained 30 kilos of pure muscle after becoming one
but what about rust, what happens to devs after becoming rust programmer
uhh you become rusty
lua needs c++
gl cuz most of its library needs c++
good luck and opengl
XD
but u can use libstdc++
for c++ -> lua
u need to work on c++ tho'
Biggy ah moho sugs
yes I’m aware lua was made with c++, i was being sarcastic in that message lol
if you make a language in lua
then
that language would be made in two languages
and if you made a language in that language
you would have a language made in 3 languages
Ahamohsgugs
Have any of you used BS?
make a language in lua, then make a language using that language, and a language using that language, and so on and so forth until it takes a millennia to compile
so...python?
written in c++ lol
Why lua?
C is better
ok
isnt it just c

basically C++ is C but with oop
there is class and more stuff
also it has booleans
i love booleans
Agabagongagus
just finished this system, kill me
void Generate()
{
//corners
Instantiate(EndTileTemplates[0],new Vector2(-20,-10),Quaternion.identity);
Instantiate(EndTileTemplates[0],new Vector2(-20,height*10),Quaternion.identity);
Instantiate(EndTileTemplates[0],new Vector2(width*20,-10),Quaternion.identity);
Instantiate(EndTileTemplates[0],new Vector2(width*20,height*10),Quaternion.identity);
int randomTemplateEnd,randomTemplate;
for(int x = 0; x < width; x++) //6 times
{
for(int y = 0; y < height;y++)//11 times
{
randomTemplate = Random.Range(0,TileTemplates.Length);
Instantiate(TileTemplates[randomTemplate],new Vector2(x*20,y*10),Quaternion.identity);
}
randomTemplate = Random.Range(0,EndTileTemplates.Length);
Instantiate(EndTileTemplates[randomTemplate],new Vector2(x*20,height*10),Quaternion.identity);
randomTemplateEnd = Random.Range(0,EndTileTemplates.Length);
Instantiate(EndTileTemplates[randomTemplateEnd],new Vector2(x*20,-10),Quaternion.identity);
}
for(int y = 0; y < height;y++)//11 times
{
randomTemplateEnd = Random.Range(0,EndTileTemplates.Length);
Instantiate(EndTileTemplates[randomTemplateEnd],new Vector2(width*20,y*10),Quaternion.identity);
randomTemplateEnd = Random.Range(0,EndTileTemplates.Length);
Instantiate(EndTileTemplates[randomTemplateEnd],new Vector2(-20,y*10),Quaternion.identity);
}
}

it took me 2 hours
couse my brain stoped braining

Jsjsms
Good job!
thanks!
what, I was being sarcastic lol
like an infinite series of programming languages made on one another until it’s impossible to use
Amgabokangusadagus
Rei
Rei you are an ambohangafonhankgangus
Rei i will make a automitic amogangus word generateor with python
amoung
Yes but we are trying to make the biggest language seption possible
Alright
So it compiles hello world in 10 minutes
Lol go ahead use lua lmao
Lua us
Is*
....
Lua
But yea
C is superior for creating languages
But for compilers
Idk where im going with this
Its too fucking hot here
My brain is melting
Same here
h
I can’t even figure out how to zip a file
7zip?
You don't have an app to zip the file and send to...
What app do I need to get
You're not supposed to send it to an email app when you want to zip it....
You want to just zip it not send it to the app
i store my brain in the freezer so it never melts 😏
So, now you have permanent brain freeze...
sure
num1 = 1
num2 = 2
Add two numbers
sum = num1 + num2
Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
a = 1
b = 2
s = a + b
print(f"The sum of {a} and {b} is {s}")
that works too
but sometimes fstring sucks
so you need to rely on format()
because you can't do nested quotes
but fstring is good overall
Amgobandakohungus
among
Thanks
I live in a cave.
wha
uh communism?
Really?
Agubavasackongus
You are food
Ñ
Who play minecraft?
Everything
Your account description is interesting
Ur name is already sus
No offenese
Kidasus
Rifat is probably a scammer from India, name checks out.
No of course not.
stonks
Ok so
What you gotta so is
X = 0 O = 1
And you write a program in binary
Hope it helps
bogo sort
using the built in sort function
n
Nill nicrosoft nates
Bro im😨 not from India And I hate India🤮
When did i scam?
racism my beloved
hello bill gat
HSU7SHS0
Pakistan?
Gave you the role!
I bought the game on my android but I changed my phone I am on IOS so how can I get the purchase back?
You'll get better help faster there
agreed
Hm
Is there anybody that wants to learn unity?
Couse i am bored
And
Basically thats it
Ye
If u want to you can dm me
you should never do something because you are bored
because you will stop in a couple of days because you will be not bored
nah
dude entityframework is so op like all i have to do is write some class like this
and boom
automatically made in the database just wow man
lol, I got a summer job at a small software company and it was just bought out by bigger data analytics company right when I started my summer job so I've spent 2 days already doing literally nothing because everything is so unclear with what the big company wants us to do and what they will do with the software
I ain't complaining though
I'm getting paid to do nothing
Finnish data analytics company. Nothing more I'm gonna say for privacy reasons
JsOn
wdym
Does anyone familiar with camera coding
Sorry for garnagee gramman
You know when there is a code that can scan video image and do sheet
Oh
Thanks
every database driver has something that does the samething
no its entityframework
this doesnt exist in php
you know dependency injection right
just put a class model that inherits interface, nothing else and it will create the table for you lol
We use Delphi in our Company 😅 😂
ok so basically
i think i will start to make a small game in unity
and what do you think, should it be pixel art or not?
(it will be 2d top down)
also if pixel art should it be tile based or not?
404587
let me guess
you earn like
10000$ a month
acually
now you cant get out
can i teach you c#
(its not a question)
(i am right behind you)
🔫 🙂
.
for anyone interested, simple unity 2d top down movement system based on physics:
public float speed;
private float horizontalImput,verticalImput;
Rigidbody2D rb;
SpriteRenderer rend;
public Color basicColor,speedColor;
void Start()
{
rb = GetComponent<Rigidbody2D>();
rend = GetComponent<SpriteRenderer>();
}
void Update()
{
if(horizontalImput != 0 || verticalImput != 0)
{
rend.color = speedColor;
}else
{
rend.color = basicColor;
}
}
void FixedUpdate()
{
horizontalImput = Input.GetAxis("Horizontal");
verticalImput = Input.GetAxis("Vertical");
rb.AddForce(new Vector3(horizontalImput*speed*Time.fixedDeltaTime,verticalImput*speed*Time.fixedDeltaTime,0),ForceMode2D.Impulse);
}
you move at double speed when you try to move in two directions though

Dont break my dream that i know coding
that's only one of the many mistakes
no
you are human
do something for years
stop doing it
still knows how to do it
i havent played a game in a year came back to it last week and i'm still pretty good at it
I havent coded something serious in like 3 months
But I still remember what I left for "TODO tommorow"
I think Its pretty safe to say I didnt end up doing it tommorow
lol
I love visual studio atm
nuget just fucking broke
no idea why
and how
but it magically stopped fucking working
Welp atleast I'm getting paid to fix it Ig
be programmer
paid to fix problems
idea.jpg
create my own problems
gets paid to fix them
infinite money glitch
its that easy
🤠
ngl ngl vs should fix nugget problems like
nugget restore
is weird af
it only restores packages if you explicitly click the build button but not when you press F5
for me it starts restoring when you start vs
I’m home alone :0
vs 2022 moment
too bad i dont have space anymore lol
xDDD
Lemme send over my terrabyte external hard drive
mf really just copy pasted pit's code from a few messages ago 💀
giga chad move ngl
water physics simulation
youtube downloader website
Agumngus
make among us 2
jesus fucking christ
how have you not just given p yet
he is too stupid to give up

meaningful message

fard
plagarism in coding 
every second code is copied from stack overflow
fair
OS devs:
"I do not have your problems mortal"
yeah because no one wants to make os, so there's no code to plagiarize
Hi
Man
I need to buy stackoverflow keyboard
how are you even gonna search your issue without typing 💀
on screen keyboard
Code my own keyboard
1 click for A on the c button
2 clicks for B
And etc
css magic
Actually the plagiarising game in os development is huge
Because the code is so complicated most of the time noone understands it other than that one guy who went to college for it
So everyone just steals his drivers or rewrites them in another language
I know that from experience
I was one of those guys...I wont say which tho
...what
Ok so from what I understand you want to create a new keyboard button
Or
Rewrite the keyboard driver
Both things are impossible because, for the first one you gotta know how keyboards work on machine level and create your own driver for it and submit it to Microsoft, for the other....I guess it could be possible if you are insane
download a program
done
Whats the best way to learn C#?
stackoverflow
do the "learn as you go" model
instead of watching 2 hour videos on yt you google everything bit by bit
Тут есть русские
I see.
bruh u stupid
first watch a 2 hours video
then start using google
so you at least know what to google
Off topic and wrong language, bruh
Lol
he doesnt have timr for that
I agree with Hamza
The learn as you go method only works if you have prior knowledge in programming
Without it you are just copy pasting text
But what exactly is it?
I went to an electronics store and bought components for a project first time ever, feeling good
its a forum
for programming questions
which 90% of your carrier as a prpgrammer you'll use
Alright, thank you
Uh
I am Ukraine
hi Ukraine
Yooo he is the entirety of Ukraine
I know this channel is for coding but is it okay if I ask something more hardware-related
ask away (i dont know shit anything about hardware)
One message removed from a suspended account.
woa
One message removed from a suspended account.
apologies
One message removed from a suspended account.
Hostilian Law Firm!
DM’s open! Need a lawyer?
Better call host!
ask away
As a mod
Swearing is allowed
Mini modding isnt
fuck yeah!!
should I wait for the AMD 7000, or go get the Intel i9 Core 12900K
Idrc about the price
I'm just looking at brute power
I looked up their benchmark tests and they seemed to be pretty similar
*language
uh my computer?
Swearing is allowed
I know but he was just being obscene
Lemme google that word real quick
Damn wtf this word is so complicated
Use a synonym
One message removed from a suspended account.
wdym is my grammar wrong
No swearing
language!!!;!
Im so fucking sorry im swearing I really dont fucking mean it
What why
Nice
Stop fucking swearing you dumbass, it’s super improper and rude as shit
You irl
html users > C# users
@autumn crow
@knotty root dont use f word plz
Nerds
Thank you
we consider that a compliment here
Okay I need to know, are there any web devs here
other than frontend devs
frontend is fuckin boring
backend is for chads but full stack is for giga chads
But like how does anyone like doing frontend web development
it's just fucking painful

asp on the backend
or if you want
i have experience writing an entire backend using only raw sockets
we use css frameworks for that so we wont have to waste 90 hours trying to center a fucking div, bootstrap is currently the best go to
Any self taught programmers here?
uh, everyone here is pretty much self taught
Literally everyone here is self taught
yeah who needs school they're capped as hell
thats nice, most of my friends took programming as their course
indeed
I still have frontend
even with feamworks
great eglish I have
How did you guys start? Im interested in making video games.
Like did yall learn through a website, youtube videos or others?
where can i find the code for the tumor? Im trying to replace it's model
I just started, googled some stuff and did stuff idk. Brackeys has good game making tutorials tho
#🔧modding-talk will be more helpful for you my guy
google, first project was a mouse autoclicker
entire thing was googled
no youtube videos, no prior knowledge took me 5 hours
so yeah maybe try watching a 10 minute video on yt first to get you started
but if you want to make games imma be blunt you have a long way to go, start with c# since its unity, try writing some small projects like a calculator or something
from c# any other language will be easy BUtT you wont need other language other than c# anyways
You just install the unity app on their site right?
Unity game engine yeah
I'll give it a try sometime. Thanks for the info
would suggest you to start now tbh, making games are not a joke, not only on the coding side you have to think about audio engineering as well as making 2d/3d arts
or just buy one from the unity store lol
I have a little experience with art but it still needs quite some work. As for the audio engineering I guess youtube could help
Thanks for the recommendation
ohlmao that guy
tried making a game once
binged all his tutorials
thought of making an open world game but lol realized i need an entire it department, an architect and an edm artist
just too much work
Eh not really
You dont have to recreate gta
You can simplify everything and still make it work
2-3 years of work and your good
but what if the guy has 0 experience in programming
i mean genshiun impact took like
5 years and they have a full team
now imagine that in one person lmao
id say
20+ years
undertale was one person and everything is simplistic
dont forget he had help with the art but took him 7 years
Eh
If you make something like
Tabs in terms of graphics
And add a small randomly generated world
Boom
Game in 2 years
Then he shouldn't be making games in the first place
hmmm how long did it take notch to release mc
According to google a week
But mc at release was not really a finished product per say
There are rumors that the Nords are attempting to capture the whole of Solstheim, and remove the Imperial fort on the island.
help i need motivation to code
python will be deleted in 3 days, this is your last chance to code in python
switches to julia

switches to rust its like python never even existed!
GO CODE YOU LAZYASS GO CODE NOW!!!! DON'T BE FUCKING LAZY JUST CODE!!!!
DO YOU WANNA BE SUCCESSFUL OR DO YOU WANNA BE A LOSER WHO SITS AROUND ALL DAY DOING ABSOLUTELY FUCKING NOTHING WITH YO LIFE AND WONDERING WHERE THINGS WENT WRONG? GO CODE NOW!
Deadline's tomorrow
You should probably start crunching with that hella mindset
very helpful
python is getting deleted?
someone said it was
yes
it is getting deleted
and bought by microsoft
those bastards
and yes
Its getting deleted because of rust's superiority
Jeez I just came back from a vacation and I realised
damn...I cant do anything anymore
I look at the code I wrote before it and realise I have no idea how to continue
gotta love long vacations 
Satire?
Oh my god!
Bill gates plz give free vbuck my dad own epic game he will hack you 😈😈😈😈😈
I will hack your mother tonight instead
python is a curse to this universe
i despise it and everything that has to do with it
well
slight exaggeration
i hate coding in python
i love using python coded items
LOL
smh smh
Hmmm
I see
I heard C is the best but hardest for beginners
I’m going to school for programming this fall
And this first semester I’ll just be taking basic intro classes, then next semester I’ll be doing the actual programming
C aint the hardest for beginners imo
I have tried both C(I use alot of C) and the apparently easy c# and
Imo c# is harder
Huh!?!?!?
Can confirm. I'm currently starting out in 2d game development and I feel like I'm being bombarded with a whole ass semester everytime I look up how to do this and that, etc.
C is like
its closer to math
than to programming in some cases so you dont have to learn as much
while c# is closer to actual programming because of oop
so you have to learn more things
i did code
but it sucks
motivated
but got swayed
at the problem of combining a client js framework
with a python backend
Anyone here know how to turn files into an apk package
Coders cave huh
You can't just have a bunch of files turned into an apk package. It's like building a house without foundation.
Even if you successfully turn it into an apk file, when you install it it won't do anything because it isn't an app.
I don't understand why you would turn it into an apk though
apk is literally an archive
💀
you can just archive a random files together
and it'll be an apk file
don't ask why it doesn't install tho
I want to play my game
And be able to share
It
Can you help me?
I have all the files right here
Looks like I misunderstood your question, sorry about that
I don't develop apps for mobile so I won't be able to help you with that stuff. Sorry
Well shit
Do you know someone who does though?
I don't.
I'm just gonna go play on the carpet and cope
You can try asking on programming related subreddits
They should be able to help wit the apk stuff
Ik but apk out of all the archive types just confuses the shit off me
same here
its the same as exe files
unlike in linux
well its the same actually
just a different archice
@tender hornet what's your game
what's it made with
Max2d mobile game engine
That app is like caveman no update type
So it doesn't work
Hallo
This is my bar now, I take this territory
Make me meth
What drinks do you fellas want
Meth is under the counters behind the 4th nail
Comes free with any drink
Well, for starters I recommend Host’s Urban Whisky
I want that!!!!!
Can it be an organ
Im going to sleep my asshole itches 😭 😭 😭
shower
no
thats what you get for killing 2m cambodians
when someone kicks it and it falls apart call it an unexpected hard to prevent zero day attack
After working with attributes and bitwise operators the whole day today in C
I take back my words
C can be so much more difficult than c# if you use it how its meant to
And you know printf? The way its automatically formatted for you? Implementing this is more complicated than actually implementing the printing
wdym C is always difficult than c#
you have to manually allocate memory for objects and do pointer shit
which is automatically handled by c#
dont forget you have to manually dispose objects in C
Bruh
How?
Your profile name is......
#🔧modding-talk should help you with that
Nah
If you use the basics of C it's not more difficult
Because you dont have to deal with oop
And mm isnt that difficult
And pointers are amazing
However all the bitwise shit is difficult
is anyone good with apple and files and all that????
no
kill apple
let it die
tensorflow removed support for apple
and
everyone too

q
Technically not wrong
OKOK
Hello dead chat
@knotty root I require you
chat dead, i cant be racist to java anymore :(
Dont talk like that
You can always be racist to java :)
java > c#
There is no bio 🤨
because beaned
sure, i know yall c#-ers aren't used to conventional language so here u r:
java > c#
😉
Dayum kermit keep snitching
lmfaoo
I keep seeing you pinging mods
aight chill
ill beef with you later
but why the fuck are there commies in the chat
whats the best coding language?
Doesn't exist
Every programming language has it's use cases
Oooo
c# obviously
tell me a use case
game development? unity
cross platform gui that can work on android, macos, linux, windows and ios on a single build? maui
web framework? asp
machine learning? mldotnet
except os development that would be C or rust idk
Generally speaking both
But for easier access to the compiler and its options C
And for more modern code with many different crates rust
I would not use c# for data science ngl
#⌨coders-cave try not to be C# fan boy challenge (impossible)






