#⌨coders-cave
1 messages · Page 102 of 1
C# is cool
Online database.
Thats one way to write c#
LOL
is this 2014?
?
F you all just play mc lmao dont mute me or else i'll do nothing
my laptop actually can't handle mc
even tho i occasionally played it
which reminds me
apparently
how does
the language between
Java and C++ made minecraft redstone weird
like one works the others don't
is it the developer or like
an actual issue with the language
Haydot help me here
save me some braincells
trying to understand
and reminds me again
if Java turns your code into like
a class file
and you can run it anywhere
how does it run faster than interpreted language
is literally running on an interpreter
hold on what
can you simplify the problem in one message because you said 1000 things at once and I have no idea what you said @main brook
if I understand correctly you are asking how a compiled language works?
or is faster I guess
yes

basically java used a JRE
but how does it perform faster
than something like python
it runs a byte compiled code
to an interpreter
e is a habit
java is interpretad and c++ is compiled-difference:
java is compiled and ran through a java virtual machine or an interpreter
I dont know the entire process behind that as I have never used java but thats all I know
while c/c++ are compiled into an object file
this object file is either os dependant (so that it can run on the specific os) or cross-compiled, meaning no-os objects which I will not go further into as its not important
this object file can go through two things:
either its ran directly in linux or it goes through a linker
it needs to go through a linker if it has externs in it, basically objects that the compiler ignores and doesnt question their values because they are in different object files which the compiler doesnt know about
so I think the speed difference comes because of two factors:
- maybe because running the file through a vm is slower than running it directly through the current os
it has to do something with how using different files works
I think
basically from what I know about java when you include a fail....I have no idea
I dont know anything about java
uhhhh
same
ok lemme ask this question
do you know how python for instance gets its info when using "using"
or import
or whatever it is
in python
actually this question has made me question why interpreted languages exist
like why would it need to go through a vm and not just make an object file
oooohhh I get it
its like the philosophy of uhm
uhm
like
i don't have a good philosophy rn
dies
its 11pm for me
I think its because object files are always os dependent, like linux .o files only run on linux, while windows object files dont exist because I think they are linked into a .exe file
I think
not sure about the windows one
wait no compilers can provide .exe files nvm
aight gn
Remember when I said im abandoning my biggest project due to it being too complicated? well fuck that im returning to it
gnu-efi sucks
Its like writing a normal bootloader with extra complicated library based steps
kek
there should be a new role "coder" change my mind
i mean coders cave is like a art channel
couse coding is a piece of art
I agree about the role
also
I decided to start a challange
for myself
1 week of high level programming
in which I gotta do things in python or higher
and....how do people write in this
its so hard
so @cloud solar wanna stream
welll... i dont really have anything to do on my pc
any ideas?
you can watch me struggle in python
your mother?
yep
(please say your mother)
nice
well considering that statement I cannot say anything else
so have a nice evening
Soap
🤓 🤓 🤓
i dont agree
hello
I feel this is meant to be offensive, I think I might know what it means but I'm unsure
tru
hi, in what language u coding?
Several, but the main ones I use are C++/C and Java
C++ for when I want to use OOP and Java for making apps for my friends
and C when I just want to make something for myself that doesn't require OOP
very cool👍
common W
Its actually quite fun
Useless to do considering all the high level languages have garbage collectors
But fun
Implementing these features is the pain part
It's all fun and games until you forget one delete [ ] and your professor removes 4 points out of 10 in the exam (thing that happened to my friend)
o:
why java
why
explain in 3 sentences
Good ecosystem of libraries. Easy to deploy on multiple platforms. Easy to make small apps with plenty of frameworks.
I also use C#, but very rarely.
C# has these and much more
why you no use c#
why rarely
im mad
explain
Because I don't like C#, I don't like Java either, I just use Java.
The only thing C# is good for is not having to deal with Windows APIs as much
good answer
you clearly know nothing about C#

thats ok, his knowledge of c# is from 2006
Bro we go.na be besties if you continue spewing fax
I also dont like c# and use c/c++ 95% of the time
bruh i dont respect u anymore
this is literally C#
Yep
Relatable
Instructions on starting a holy war:
1.1. Say language X is best
1.2. Say paradigm X is best
1.3. Say language Y is worst
1.4. Say paradigm Y is worst
- Watch
Or just fire nuclear weapon

Nah
You can just say that you in particular like a certain language
And you will have easily started one
Actually just talk about something programming related and you are done
Your a legend
Holy war already started
no need to redo it
basically
to save all of us
the ammunition
of dumb facts
or useful one
C# is good in some part
Java is good in some other parts
you should consider researching
yourself
asking in this channel of that question will be like
2 nations
trying to nuke each other
No C++ ?
oh ok
Ok
then why i am making 2d game in java :/
but how to make so C# works outside windows thingy
C# god language
its C++ but with garbage collector and better uses ?
No, its much better than that
ok
I mean you can just try it
Aerfuda
no
but you can just use opengl
or directx
or vulkan
for that
I see
gtg
Thanks
Yeah
but C# will work 99% of the time
Ok
Why?
you should hangout with haydot instead of hamza

I didn't know the community is so split on this
never tried C# so they dont know
exactly
literally started with hamza and haydot about C# and C++
Two different perspectives
you can try both
Yeah
and see which one you will like (C#)
OMFG IM SO FUCKING SICK OF THIS
Each language is good for it's fucking purposes no language is best
Deal with it
👑
I'm sorry I asked
Oh i see
hello
Hi
im learning python
Nice start
but ive heard there will be a new language that will replace it
i think its called v
lemme search
K
As much as you can
It's a good start
Ok thanks
Yeah same
Yeah i have
like there are variables that are private and public or something
have u tried out .net 6?
no
No
you dont have to type out the entire public static classs bla bla bla
you can just put a single Console.WriteLine("Hellow World") without the class and public static main string args
i see?
well i used a book to learn it but i think the book didnt match my visuel studio
c# updates fast
its better to learn using stuff you find
in the internet
than books that cant be updated unless you buy a new one
do you code as a job or hobby?
did you make worldbox mods
i know bepinex and reverse engineering but i dont make worldbox mods
i want to get into like ethical hacking
if only c# can do low level stuff i wont have to use c++
that would need c++
whats the differance between high and low level
if you wanna make spyware c# is the best option
.net framework is preinstalled in windows unlike c++ that requires you to install a shit ton of vc++ redist packages
spyware gets you in prison if you get caught
no
and its not ethical
not in this country :))
where are you
im in england
we only have credit card fraud and some scam laws but it doesnt go deeper than that
yes
why?
but anyways if you wanna get started with ethical hacking you need to know a lot of reverse engineering and its very low level
you should learn assembly and c++
i know a bit about reverse engineering
and make your own applications, for ex. you make a webapp using asp.net as if you're making a normal website, this way you get familiar with how asp works, you know things that people get wrong with, that way you found exploits
are you in namibia
america
no, bill gates country
i code as a way to flex my skill on normies
because i always feel im bad at everything
I code because I wanna make something big
Something significant
And because I usually rage at games and have to switch to something else to do
imposter syndrome, biggest problem of modern software development
hmmm
maybe a platformer
they are usually pretty easy to make in small sizes
or a flappy bird ripoff
i code bcs i can write a brute force to hack my neighbor's wifi
I wonder what would happen if I ran this on real hardware
why plotting when its already done
Gasp
I have finished my first ever game
https://github.com/JupeOwl/Dinoman/tree/Release
Try out Godot, makes it alot easier
Way better introduction
how tf
I can't beat the game almost ever
It was the point of the school project. We had to make 1 minute long 2d platformer
but it took most of my friends 20 minutes to play lmao
i code because i wanna feed me and my girlfriend
lmao
Hi! I have a question: how to join to translators? Because I wint to translate some things.
I cant even start thinking about doing this as a job
I feel like I would lose any will to do it immedietly
especially I will have to do something not as interesting to me like web development or anything that isnt kernel level
Yeah same
I started doing a racing game with my friends. The thought process for us with the game is that I want to do Machine learning and machine learning would be cool way to make ai enemies into a racing game and my friend wants to do online game so we're gonna try to work that out and then one of my friends just wants to do 3d models
Good luck!
nah
more fun
- money
Be a white hack
ml is kino
do it
they are gonna suck though
xd
ML doesn't do very well in games unless trained for thousands of hours
still fun thing to do
the only problem you will face is machine learning sucks in C#
but I think you can get over this with some libraries
if you want something easier than ML but looks just as cool you can look into behavior trees
I tried doing unity
Nope
Python
Still nope
Something in c#
Not low level enough
You can use python on Unity for ml
Gotta check that
NFTgeneratorOS

Wtf
After I scrap all of my ml unity ideas because you can’t use Python
You tell me that
I face a difficulty on making my mod
I try to make a trait which is similar to Healing Aura
but intensified
So I try to write the similar logic sentences.
public static bool DoctorEffect(BaseSimObject pTarget, WorldTile pTile = null)
{
if (Toolbox.randomChance(0.8f))
{
MapBox.instance.getObjectsInChunks(pTile, 4, MapObjectType.Actor);
foreach (BaseSimObject baseSimObject in MapBox.instance.temp_map_objects)
{
Actor actor = (Actor)baseSimObject;
if (!(actor == pTarget.a) && actor.data.health < actor.curStats.health)
{
actor.restoreHealth(80);
actor.spawnParticle(Toolbox.color_heal);
actor.removeTrait("plague");
actor.removeTrait("Eyepatch");
actor.removeTrait("infected");
actor.removeTrait("crippled");
actor.removeTrait("skin_burns");
actor.removeTrait("eyepatch");
}
}
}
return true;
}
but i find that i can't use some parts of them like "getObjectsInChunks", because they are in the method with the prefix "internal"
Have you faced this kind of barrier too?
How you overcome it?
C# right?
Ive lost almost all will to do it for personal projects
Some things ive managed to though
But its hard not to drain yourself
I dont feel that at all
but I also dont take it very seriously
I code pretty much every other day and do only things I want
maybe try that
As long as you dont overdo yourself no
Oh ok
#🔧modding-talk probably should ask a modder, probably cody or nikon. This chat is for general coding so you're not likely to get as good of an answer, assuming if you got any here.
Fair. I do it 8-10 hours a day 5 days a week
Lul
Its fun tho
And yknow pays a salary
yes
oh, ok. I just think that it is a privated channal for worldbox. Apolpgize for my ignorance.
Oh
Well that makes sense
do you work as a software developer?
I study software development and even on school days I don't code that much
I do actual programming for like 5-8 hours every school day and 0-3 hours when I don't have school depending on the day
Like I don't work on Sundays. I've reserved that day to just chill and relax my brain
Mainly react+express but recently nest, remix, django and just raw python
Hmm noice
So websites and web apps along with their backends
Naturally i prefer backend and automation but my job requires a lot of front end
I study more specifically game development but my first internship is gonna be doing web apps, mostly front end and I compete in one of the biggest hackathons in Finland, also web development. But for me web development is boring af, like I can do it and I can do it decently but stuff I've been learning with unity is way more fun and everything I've learned about cyber security even more fun
H
automation?
makefiles?
😳
I don’t think makefiles are used with what they are using
@barren shale
It's a TTS model audio sample, quite great
you can try it out in the NovelAI site, you might be interested
They gotta add mods on iPad and iPhone bro
Hello my friends
What's going on in here?
Yeah good question
Lol
How do you know my name ?!?!!!?

Bc
I am a wizard
With wizardly powers
makes sense
Wizzical wizard
Yes
I dont know anything not 1 thing
Lol same I know like 2 things in python
I dont know what python is
print("Joe mama")
Will say Joe mama
print(4 / 2)
print("Heyo this is a backslash//)
Basic stuff
Python is a coding language
Like C# or Java but they just removed some things and made some things easier
I have literally no knowledge beyond print tho
it gets a lot more depressing
I tried c++ for a while, so sadly I too know this
Every time people talk about different languages in this chat...
I fear for my life
Every message could be the start of ww3
literally not like C# and Java
lmao
It hurts my eyes to look at, I guess art is subjective 
Just turn it into a string and then check the length of the string
No
Deez nuts
dude ml.net is nuts
thanks bill gates we finally dont need python for machine learning
lol
still not good enough
std:cout
@barren shale i like python
So
At the price of memory usage
I still think using length is better since you are already turning it into a string anyways
So uhhh
unity devs
I need some help
how does input work
nvm I figured it out

Dont laugh at me ok Im using ps2 as a keyboard
drivers
No one laughing
thats like your pc crashing every time you press a key
Everyone understands bre by their own view 

People who say hamzah be like
Pain in muscle after train usually means its growing
Cry, rest, and then continue coding

what software are you guys using
Can you be more specific
Otherwise I use UEFI to boot grub2 to boot windows 10 or linux mint
I do javacript what do you guys do
whats the best program you ever made
lol
mines is a A.I that can tell ips and chat and talk
mine is a...wait a minute
am I talking to an ai?
oh I thought you were gonna invade the world :(
anyways mine is an os with a semi-well working heap, printing via VGA(not the good graphics, quite shit actually), what else....interrupts
thats the main things it can do
also it has a nft generator if you wanna....generate an nft
im very new to programming so yeah
i also have a project i need to get done and i tried fixing a bug and created several more without fixing the original bug
That's programming for ya
You try to fix a problem
And you either create more or
Start working on something else midway through
Only to switch to something else
And the rabbit hole goes deeper
yeah thats my experience
Can you guys tell me something I can work on for beginners?
I don't know what to work on
hamzter
try a calculator or a small text based game
As an ex-python learner that remembers literally nothing, I would highly recommend making a text-bases fishing game
or a gambling game
if you win you get money if you lose you lose money
and try to learn how to store data persistently
for the "save" feature
so it doesn't reset everytime you start the game
hint: don't use json
or use it if you're not gonna write to it every single time
sqlite :DDD
Ok sure
sqlite is a good introduction to handle files and use a database

never use it for medium-big project
there's MySQL(it suck), MariaDB(good but still suck), Postgresql, Oracle, etc
if you are using C# you can use litedb
data information is cool. its its own rabbit hole
which is basically a mongodb but light
I like the pi graphs and all the visual stuff you can do with lots of data. Interactive visual stuff is cool
scientists would approve
where I like minimalism
everyone does
looks clean
I stopped doing things that are UI heavy
because design is boring for me so I don't get any motivation learning it
this is the best I could do
or cassandra
but litedb uses bson just like mongodb
programmers are not always designers
in apache's case they havent found any designers yet (dont kill me apache designers its a joke)
it's also incredibly limited imo
not for small scale
so I wont bother
easy to setup
only dotnet?
like, does it even work with mono?
so its even better than mongo
.net is cross platform wdym
winforms moment
bro you slept for 5 years or something?
bro
.net framework
none uses that anymore
last update i think was 3 years ago
and support is gonna end this month for all .net framework versions
even .net core is old
now you have .net 5 or .net 6
jesus can microsoft make up their mind on release schedules and naming lmao
they keep changing shit around with framework, core, standard, etc
framework is super old, core is old
even standard is old
standard is a package
not a version
its .net framewokr and .net core
and xamarin i think
see what i mean by confusing lol
litedb seems to be targetting standard 1.3 and framework 4.5 so
yeah you can use it with framework
doesn't mean you have to
I used it with .net 6 works completely fine
The idea of mongolite is cool, i just don't think litedb is a good idea
its a good idea for testing
testing sure yeah
oh hm i'm realizing apache cassandra is alot different than mongo than i originally imagined
people still use it
windows xp machines lol
and ATMs
i know atms that use wpf
This saying should not exist honestly. If you don't understand why and how it works it'll give hackers easy way in
thats another point
it hasnt been hacked
it works
dont touch it
I feel like I will either become this guy or I am this guy
Because I agree with some of the points there but obviously not all
this guy seems like someone mad that they didn't learn unity and gets nothing ever done
He could be really good with graphics APIs
Which means he would be fun to talk to
But he is a shithead
Which is a minus for some people
you can't make games fast without an engine
the guy clearly knows nothing about game development
He never said that tho
He just talked about how games without apis perform faster
Something something about calculus
He seems mad lol
To me it seemed like crying about people making games faster than him and getting more success
Without engines*
he sounds like he knows nothing
who buys a physics book for game dev
if you try to implement real life physics in games
you will get shit physics
yep
none wants to jump half a meter in a game
Maybe the guy wants to you know make his own things
Not be tight to an engine and its questionable libraries
there are so many games successful games that are made with engines and frameworks
and they look absolutely fine
and minecraft is not laggy
games should be made with engines Imo. It's too slow to make them without them
and it's already too slow
You dont have to make an engine
minecraft wasn't made with an engine
just plain java
the base of the game is an engine
An engine is something that helps you build the game
which is the base of the game
You could implement the physics and everything into the game
when you add a particles to your game you need a particles system
You dont have to
You could hard code them into it
nikon hard coded a shit ton of stuff
makes making update impossible
nerfing and buffing impossible
changing anything is impossible
that's why you dont hard code stuff
Which you can use
sounds like an engine
One that J can modify at any time
And every single function is made by me
Meaning I own it
Meaning I can modify it to my liking
I'd rather spend my time making a game than making an engine
i dont need my game to run at 1000 fps because 100 is enough for me
also have you seen UE5
The thing that made me try to make my own engine is
The fact that none if the library was made by me so
I didnt know what to do
How it worked
documentation
I felt like I wasnt learning game development but a stupid library
literally open source
ue5 is interwsting
game development is thinking how to do the mechanics
not the code itself
game development is the worst job to do as a programmer
i like money
so lets stop talking about not making money

oh wait game dev second worst job
Have you actually never done anything as a hobby
game developers make the most money out of any developers in finland
hobby + money ?
No
on average ?
Just hobby
ye
because game developers are the ones who mostly work extended times for lower wages
makes you not me
I program all day, on and off work
if you work for a game development company in finland they pay well
but indie devs probably have harder time
maybe that's finland being finland
Finland has so few game devs and game development companies are getting more and more common so it's probably because of that
Here in Bulgaria I saw a job for gamesoft
They paid well but goddamn
Their games suck
Most of them
So idk if I would have taken it if I got the chance
What
Yes
Their games are ass like 90% of them
People here could make better games than that big company
I fucking hate those guys
travin skoot
Or atleast mountains of money
you can make money doing anything
not only this industry
literally anything can make you money in these days
you see these streamers sleeping and they make money
or that japanese guy that will hang out with you and he makes a shit ton of money
I wish there was one guy that made a company that wasnt making things for mountains of money
But for some money
With good products
no one would invest in this company
I dont give a shit they can still make enough money
I mean look at rockstar games they are worth billions
They can put a few million into a game to make it good
But they dont they make all new things shit nowadays
And the gta+ membership is the scummiest thing they have done ever
So I guess all new games have to suck
even countries like lebanon have gone bankrupt because investors took all of their money back
competition still exists
Who can make more money
they will pay enough to beat the competition
you dont make more money by making a shitter game
They will invest in more money
Yes but you do when you make it p2w
they will just keep investing just enough to beat the competition
Without people realising its p2w
but its not a game
When you make games p2w
People buy shit
Some complain
You dont care as you get money
Game sucks
Ass
But you are rich
And noone cares
Children would
will just let them play
They would play anything that is colorful
Because they are ruining my games
bruh your games barely function if they even do
I wanna play too but I dont wanna spend 200 on something nor do I wanna get screamed at by an 8yo
then play
You are missing my entire argument
im not
you dont even understand what you want
you want to play but its ruined
then dont play
go find another game
if you really want to play
then ply
you will never find a game that will be perfect for you
Every game is like that
so just play the god damn game
Because everyone is money hungry
They dont think "how can we improve this"
They thing"how can we exploit people"
While you guys argue I am watching this:
https://www.youtube.com/watch?v=XbCLokA3XP8
Thanks to Bespoke Post for sponsoring this video! New subscribers get 20% off their first box — go to https://bspk.me/backyard20 and enter code BACKYARD20 at checkout.
Safety Third Podcast - https://www.youtube.com/channel/UC7QE72cxiBkiwnvGoFfqYOg/videos
Send me memes - https://discord.gg/DqPbGgq
Twitter - https://twitter.com/ChemicalKevy
Ins...
Pretty good decision you have made I see
I agree that modern game sucks
I don't agree that you should complain instead of enjoying yourself
Yeah i see
Hello
can someone explain WHO TF MAKE A VAR TYPEEEEE
var type?
typedef unsigned auto var;
in cpp
you can remove the unsigned actually its optional
since the chat kind of dead i will ask another question to make it alive again:
What do you think about or prefare: unity or ue4/5 and why?
for me unity is best option coue ue realism annoys me
like when i open new project it just spawns ray tracing and like 100000000 other effects
Unity, ue5 uses a language I'd prefer but the UI is not fun and I'm just mode used to unity
Unity, the fact that ue does everything including animations for you takes away every fun aspect of making a game
For productivity ue for fun unity
And for more fun creating your own
100% tru
ue ui is just pure definition of hell
like ue does 110% of the work for you and i dont like it at all
like when you create a new project it is already a full game with 10 dlc
oh yeah i forgot c++ is a thing

You forgot my second favourite....third favourite language after assembly and C
And rust
So forth favourite
😔
Also here is a language to revive the chat
And hopefully not start a world war
Whats yall's opinion on V the programming language that apparently wants to take the place of python
I personally really dont like it
After seeing it I cringed
It's looking weird. Like someone frankenstein python with jquerry and c++.
Me as a python enjoyer stay the python way xD
Ever heard about Rockstar? The joke code language for writing working code sounding like the lyrics of a 80s trashmetal song?
🇧🇷?
Hi
Hi
oh yea thats an interesting language
i am 14
Hello gentlemen
I have came to ask if any of you could teach me how to code
Cuz idk how
go to repl and type /code, and u made a game, gud job, you commited code
?
Repl?
what language u wanna learn,
what level do you wanna get to with somebody's assistance (basics, some libraries and stuff, multithreading async stuff, complex ai robot creation etc)
and how good are you at paying attention
i know some c++
a bunch of java
most of python
and a bit of assembly
I just need enough skill to make a demo of a 2d platformer...
ok but i gotta know the language u wanna learn or idk how to help
python: slow and sorta high level but easy
java: somewhat high level, not as easy, quicker than python iirc
c++: very very fast, hard though, about mid-levelish
assembly: closest thing you can get to machine code without it actually being machine code, as fast as it can get
@cunning pelican
Let's start by narrowing things down
I don't need to build machines
I don't need to render anything
that's been made clear. but you need to render something to make a 2d platformer, or else you'd be using the console for everything
(what I mean by that is I don't need to make 3d anything really)
ah ok
if you want to use a game engine (search up unity for context)
i'd recommend you just take a unity tutorial and install the most recent LTS version, make a 2d scene and use a tilemap with a spritesheet for your game
if you want to code from scratch (not as hard as it sounds). java is probably the way to go
I just really need something simple
That helps me with my problem
Of welp
Not having the ability to code
ok ye unity
i dont know c# at all but i can eyeball other peoples scripts on unity and tweak things to make games so i'd assume you can too
KoKobai
I'd assume requires alot of different scripts
Then again all I really need
Is a demo
So uh yea
Maybe if it was the full thing maybe it'd take alot of work to add in all the machanics
And the switching in between Runes ect
But
This only needs two forms
And one special mechanic
elaborate on what you mean by forms?
like, textures? game objects?
i could probably make a script for you really easily for movement and all that
check this out





