#⌨coders-cave
1 messages · Page 62 of 1
classes can be pointers? They cant right
because the debugger says this is a pointer which is the class

so Display_Manager is a pointer
this is confusing my cute little brain
im a masochist so this will turn me on 
how do you turn an exception into a string again 
eh doesnt matter try catch doesnt do shit anyway
wait i just realised it creates the window but still throws the exception...
or it half creates it
it doesnt respond nor work but it is there
so for some reason window is not a pointer according to the debugger
when it clearly is
not sure if that matters at all
Still has useless code tho
Can you get the current time in lua ?
Like C#'s
DateTime.Now;
@main brook answer me you little bich
insult me more
ay ay ay be nice
hmmmm

No
yes you can
os.clock() for runtime
Then you dont need C
os.time() for os.time
still need C
there's no access to
nanosleep
and Sleep

Then while loop until time - start time = duration
no
Empty while loop
Put some useless shit in the while loop
If you put 1 + 1 in the while loop the usage becomes 1%
and writing it IS HARDER
what does lua even have lol
Nothing
tables
Lua sucks
but
Same with cpp
binding of isaac was made in lua
C# master race
I WILL..
Bad game
amazing game
Isnt it cpp

No one make games with lua
you said yourself its bad
Too slow
nou
exactly
im using cpp because c# sucks for opengl
the fact that c# has no pointers sucks
i use python with kivy
still doesnt have pointers
It does 
but they suck
They are the same
they are unsafe code and way too complicated
Same in CPP
idc cpp master race
In CPP they think you know what you're doing (which you don't) so they dont need to not allow unsafe code
i do
In C# they know that you suck
its just adresses are bad
So they dont allow you to do unsafe code
ah so thats why you like cs
joke btw dont take seriously
Because u mum
uhhh its...im changing to C

You will suffer
this channel should be renamed
You're too used to OOPs
Hamza C# vs Haydot C++
idc i have made the decision
C# Master Race*
no
IM CHANGING TO BINARY
so 1 and 0?
oh reminds me
if you have a mem address for a value
where is the mem address stored for that value
this is how games were meant to be made

wdym
The address isnt storee
and if the mem address is stored
Ya nub
Yeah it would
But they are not stored
They are addresses
They are already known
but represented as a string
so i can deliver pizza to that value via its address
Yea they would be stored if you put them in a variable
Not in CPP tho
thats why im changing to....assembly
i like pointers in C++
Pointers exist in C#
everyone knows that the lower the language the better right 
Not always
yea via stupid dumb and stupid unsafe code
which is stupid
no garbage collecting
You could just enable it once 
i hate the fact that that exists as a name
no
dont go i need to fix my exception first
Too sleepy to help you
ok bye hamza remember to not use c# to much or you could die or smth idk
im closer to blocking you every day of my life
NO
||bye||
dont bring me into this
Maybe tomorrow?
hamza i swear i will
be very mad
uh i need another break from coding
the 7 days i didnt code werent enough
i need another 7 years

wait did i ever put the paths to those shader files...
ah i did
you know what i might do the unthinkable and actually try c# with opengl again
but dont tell hamza
im not gonna lie
c# is so much easier for opengl then c++
but dont tell hamza i said this
i code roblox lua.. does that count?
@barren shale
Id recommend
Yeah C++ is great.
So is assembly.
Both are perfect languages with no problems and they're so easy to write code in and I definitely haven't considered switching to Java or C# or python or switching entirely to web dev with HTML, CSS, and JS.
Indirection in C and C++ is strange.
**ptr; // double ptr lol
Not like you should ever use it
Unless in very specific circumstances.

헬로]

why thio
ok i punish you by telling you to code in lua and only lua for a whole year 

hamza
i must agree
c# is so much easier with opengl then i originally expected
but that doesnt mean i agree with you just yet

Haydot is salty
stop fighting
im not salty you are salty 
you're both cute
Haydot be like
https://c.tenor.com/mSaVbzdq46oAAAAM/salt-a-way-of-life.gif
im not salty what so ever you are very very salty

in fact you are so salty you are telling me that im salty
Smells like salt
Ew
i use ubuntu and alpine
are they good
Hmm I found something quite cool, discord messes up with image metadata when you upload an image to discord
now that's something
imagemagick is quite amazing tool btw
I think they just take the pixels data cuz they have to save the image somewhere
So they save storage
yeah probably
This makes me question
Do you know what a signature is
?
not really, I just saw it changed lol
Its hashing the bytes of a file
ah
Since they removed the location data it would obviously change
Its used to verify a file
Since changing 1 byte would change the whole signature
Oh it worked, thought I broke my pc
And it's laggy as all hell
So uh a little question
I installed Ubuntu through a usb alongside windows 10
That isn't going to matter FPS wise, right
SHIT SHIT SHIT SHIT I broke it maybe
I turned off Ubuntu and the pc and now when I turn it on nothing happens
Turns itself off
I'm guessing it doesn't know what is to use
Rip pc
Its a flash drive whatd you expect
I wish I had anything rn
Is it possible it's just.really slow or something
I don't care about triple a games anymore. just stop eating half my fucking resources, windows 10
Ok so what I did:
Installed Ubuntu on a USB
Ran the pc on BIOS
Booted from hard drive
Didn't install Ubuntu and powered off through ubuntu
Where did this go wrong
Ehhhh
This is kinda untrue

And linux drivers are not the best
So things might not perform as well
And there are some down sides of linux
Like that time i tried to delete an App
mm?
Then 3 other apps stopped working
lmfao
Had to reinstall all of them
do you think its a linux issue specifically
It is
aight
Its known too
guess I'll have to look twice before installing stuff
I think you need to specify that the uninstall should not delete stuff used by other apps
But this should be the default
hmm
And C# in linux is a pain to get it to start working
Still no screen
Just boot into windows
And how would I go about doing that
Remove the flash drive
PAIN AND SUFFERING
if you're talking about phone dev
i used to write JSON mods for games on mobile
it's pretty painful
can't imagine how bad actual developing is
Ye
Can you go to the bios
Nope

Are you sure your screen is on
Yes
How sure
It shouldnt stay at a black screen
It should just turn off
U sure its connected correctly
I have just accepted my faith at this point
I mean if it worked before there is no reason to not work after
Checked everything is on correctly no cables loose or something
But why tho
I didn't do anything to burn it I just.used Ubuntu
Oh god that will be hard
If that is actually the issue
I'm just gonna give up on pcs and go into the forear
Where things are simpler
Its good when you have a pc with a fried gpu
But I highly doubt it
Because why would it fry
Idk
I have done way worse things to the pc
All my cables are behind a desk so changing cables would mean moving desk
But I guess there are about 300 bucks on the line so I gotta check
Wait why do you think it's burnt again
That doesn't mean anything
It does
The monitor says that on a regular basis
Not when the pc is turned on
When the pc isn't turned on/it's loading
You say its stuck on a black screen
If its not turning off it shouldnt be a black screen
While you're waiting
Search for the VGA input on your motherboard
Or hdmi
Or DISPLAYPORT :O
It should be on the back of the case
It's not
Did you find the port?
Plug the screen in it
Ok let's think about this rationally
What are the chances the GPU is burnt
While I'm trying to plug all the cables and stuff
What god do you believe in?
Uhhh the MLG god
Connected monitor to mother board
Still nothing
Thank God it's not the graphics card
The mgl god that is
Ok also
Pc turned itself off
After running for a while
Very good
Atleast the GPU isn't damaged but what could be damaged is the question
Sounds like your bios corrupted
or there was some weird coincidence of something frying at the same time of you tinkering with OS's
Does it show anything at all?
No
But I understand what happened
I asked on Reddit and a guy gave a very good answer
Basically my bootloader has two operating systems on it: windows 10 and ubuntu. It tries to load into ubuntu but for some reason it can't find it. Because of the fact it doesn't try to load into windows, non of those fancy functions work so I'm stuck with a pc with no os yet with two OSs. The way to fix it would be to use a usb with a Windows 10 on it to repair my windows and make it run again
It's kinda strange it can't find Ubuntu tho, even when I put the flash drive in it still doesn't work
something just went wrong during installation
Alot of things went wrong while I was installing it in fact
First of all I had trouble with the bios not finding my usb. Then I tried to run from hard drive and that for some reason worked
And I booted into ubuntu
Ubuntu was insanely laggy because it was on a USB so installation was pretty much impossible
And then I left it on try mode meaning the os was half there
And turned off pc
Basically the worst installation.of a OS that has existed
But I'm glad that my gpu isn't broken atleast
Idk overheat
It was strange that the pc was running without turning itself off without an apparent OS
Gtx 1650
quite a bit better than my 1060
it just stays on and kinda does nothing. It's odd but still does it
my bios is some weird old server bios so it shows if it doesn't find an os
newer bios version don't for some reason
This is why you make your own operating system
You design it how you want

Gotta.work on that when I get my new windows 10
Atleast I got my activation key here so I won't have to buy a license

also
my friend school is gangsta
explain about plagiarism for 1 assignment
not like
exist

Give two major examples of plagiarism and how they can be avoided.

but unnecessary because Roblox has all the necessary event loops build in
nu
i hate it
thats why im making new one

they dont even have locks
queue
and such
plus im gonna be implementing a deque

uhh sure, I still think it's unnecessary
But only if the result is worth the mound of effort required.
no it's always fun regardless
for me it is
but dang
she literally answered my message after i opened studio

now i have to do her assignment
no
its my friend
also
her teacher told her to make class for each food
but i do a little trolling

class Food {
topping;
price;
category;
name;
constructor(price, category){
this.topping = null;
this.price = price;
this.category = category
};
changeTopping(topping){
this.topping = topping;
};
};
Now I'm boutta write that in C.
Passing by reference with structs big gay.
C++ has much better syntax.
Ight the code works but it [unchild friendly words]
This makes my brain hurt
The fuck is this language
js?
Ew
Why can you make variables but you dont have to choose a data type
thats typescript
javascript but on steroid
TypeScript extends JavaScript by adding types to the language. TypeScript speeds up your development experience by catching errors and providing fixes before you even run your code.
it screams at you for having a string on a var that's for int
but since her teacher doesn't allow ts

im also suffering here
I know. It's heretical.
I bet they can also swap between data types dynamically too.
It's too easy.
Anyways, I now see why OOP is so great.
Because even something so simple as that code snippet is hell in C.
Of course I also added more onto the program to allow for me to ensure everything is working.
But still. It was too much.
mhm
unless you're using ts
you need explicit
Makes sense.
Dynamically typed languages can be annoying sometimes though, so TypeScript doing that can be pretty good actually.
Yeah, it'll complain about an implicit conversion between int and str I would assume. I don't use TypeScript so I can only guess.
you're right
Nice.
Makes sense.
TS: so (1 == "1") would error!
JS: (1 == "1") == true
Yeah.
Because in JS the == operator attempts to cast the variables to the same type, which is why === exists.
But TS doesn't.
Better defined behavior.
That makes sense.
i feel like your whole message is like me when my mom lecture me

"Make sense" "Yeah"
If I start saying "Indeed" then I'm not paying attention.
But anything else is just a comment.
Yo mama
What about her?
FaT
I was expecting gay but it's fun being surprised.
Just like yo mama
i have two dads
Just like ur two dads
i know
Ur mom can
You're a computer
Technically yes.
But we aren't designed for very complex computing, like solving multiple problems at once.
Unlike an actual computer.
But aren't that just humans,We just think Words has meaning in the beginning

Well I plugged the windows 10 usb in my pc
Still nothing
Fuck I thought.that would work
Multithreading?
I mean, computers, despite being named a conjugation of "compute", suck at math. For example:
bool x = (.1 + .1 + .1 == .3); /* x is false because of the limitations of a base-2 numbering system. */
But besides the problems we can't avoid (unless we do some real hacker shit), computers are usually better than us at what they do. They write instantly, they follow directions flawlessly to a fault, they're incredible with math so long as it doesn't involve decimals or fractions. They're way better at remembering than us, etc...
Use decimals for maximum precision
They dont have the range of a double
They take a lot of memory
But they do the job
or better
use string

they have 100% precision
and 100% range
"69.6969696969696969696969696969696969696969696969"

day 2 of making async in roblox studio

okay why the frixk
why does roblox studio always upgrading

i used it yesterday
and it was updated yesterday
now the upgrade turns into installing

yeah no frick roblox

back doing js i guess
yay finally finished
now im getting some compensation

that records my third time programming and get money for it
👉 Citations:
🔵 https://www.ftc.gov/system/files/documents/reports/nixing-fix-ftc-report-congress-repair-restrictions/nixing_the_fix_report_final_5521_630pm-508_002.pdf
🔵 https://youtu.be/53hlsN0c7Zw
👉 This video was recorded with the following:
🔵 Camera: https://amzn.to/3eO58my
🔵 Microphone: https://amzn.to/2GoiSb0
🔵 HDMI capture: https://amzn....
Looks like my desperate journey has reached an end. I guess I'll just wait 

Just keep applying
You can only apply once 
Unless you mean making alts
But
I'm not that desperate
Also they will probably ignore brand new accounts
racism
if you're racist and you know it clap your hand

what the f bro
excuse me
but im not a sire

also i know
i was making joke about github discriminating new accounts

GitHub bad :<
I had a hand/finger surgery and no pc so no code 😔
Damn.
I'm actually scared of what programmers can do.
Probably because I saw a video about some anarchy server group that managed to track minecraft players in real time and find bases that are supposedly hard to find traditionally.
And like use such talent on actual unethical hacking.
There's many unethical hackers out there but there's ethical hackers too and thing is probability wise no hacker cares about you because they don't target anyone who's not politician, millionare or otherwise famous
or if they get money for attacking someone else
That epic video
anyone that knows js, is this line syntactically correct?
currentChanges.forEach(element => sendToWebhook(element));
given that sendToWebhook is a defined function
nevermind I fixed it
It looks correct
Can someone make a ww2 game and you control the men and there is sandbox medic planes and tanks and cannon artillery
Dunno. You'd need to add more specifics to the project, like 2D versus 3D, turn-based vs real-time, etc. etc.
yes
its correct
such arbitrary request
there's 2 way
the arrow function
and the function
but arrow function sucks at using this
scoping sucks on arrow function
Arrow function is a delegate
Basically an unknown function that can be used once
Not th best performance
thank you for the compliment
you just made all of us happy

also roblox studio finally works today
back making async 
Ok.
Making a game takes longer then 3 years ATLEAST so such a request is pretty huge
Says someone who never made a game
unless you're making one with less user friendly interface
and no game engine
and with machine code

these days engine have more features
but more bloated
i wish some engine just bundle the code
without unnecessary features we dont need
like including or excluding things in compile time

I would if my hand didn't hurt as all hell and wasn't wrapped in 50 layers
No
I had surgery to remove some infected thing or SMT idk
Plus my pc is still unresponsive
I actually had a dream today it worked again
i had a dream i kissed someone twice
What I know is it hurts
I was gonna give the doctor one of my knifes but he decided to use a scalpel instead🙄
Were your hand like that all the time ?
Nope

Did you try to plug your screen to the motherboard ?
Nope
Tried another cable ?
reminss me
Another monitor ?
Where tf am I supposed to get that
How can you be this stupid
@main brook see this man is mean to a person with bad hand so the war must go on
Ur mum must go on
Goddamnit it's so hard typing with left hand only
bring the army of C++
E w
im off to draw the soldiers
For 1 day then you'll give up
Lmao no
Yeah
@orchid frigate sire should i call the army
E w
well yeah
Yes
compiling on mobile always sucks
but atleast Golang is quite nice
for a thing easier than java
but equally worth the same
literally half a gigabyte

Haydot chad
Improvement
ah yes c++ soldier
EwWw
You got them mixed up
In these days none uses C++
Cuz speed doesnt matter anymore
C# got way more features
python with cython is faster

it compiles down to C or C++
and even put the interpreter inside the code

I don't like C#. Only reason for it existence is to have propitiatory programming language for windows
The language is pretty okay but it's still propitiatory and for windows
C# is completely cross platform
And its one of the most used languages in jobs
Since you can basically do anything
APIs and web apps and also windows apps
Its used way more than C++
C++ is bare bones
Doesn't have any features so you have to do everything yourself
Which is good for speed
But the speed is not required for things like web apps thats why things like python and js and C# are much more popular for web
right-
installed .NET is the same as C++
you need visual studio dist
in windows
atleast we can all agree that its better and faster than java

This is the best thing I have seen
C++ as a soldier is amazing
Now I will attempt to create rust as a soldier with only one hand on a phone
Yea it's not gonna go well
only using .net core
standard c# was made to be windows specific
.net framework will not be supported after 2022
It's already not used as much
And even when we didnt have .NET core we still had mono
Which works perfectly fine
and then comes java
super slow
but platform independent
because
.jar and .class file

Uselessly fast
no
machine code > everything

its faster because
no decoding to machine code no more

Bug brain
Bug*
Bug*
Good enough
Faster compiling maybe
Cuz no compiling
But it doesnt make it faster
Since everything is compiled to binary
No
Nubs dont have opinion
Go draw a rectangle with a texture then you will maybe have an opinion

I don't have a pc
Well
Nor a hand
I gotta share this YouTube series because this is probably the most helpful YouTube series I've ever watched
https://youtube.com/playlist?list=PLIhvC56v63IJVXv0GJcl9vO5Z6znCVb1P
even if you're not interested on doing CCNA it's amazing to watch this course or series
I have the letter ñ
Ñice
Ñuts
Ñein
Ñyat
Ñya

@wet girder jupe jupe jupe
my lovely
lovely
jupe
can you help me test something on your roblox studio

I love rust so much its so hard to do anything in it but the syntax is amazing
Generating random numbers way more complicated then in any other language sure
But I heard it's got a graphics library of its own so maybe easier game development question mark?
Inb4 you quit
discord is made with rust
server

i think
sure
try this
local coro = coroutine.create(function ()
return 1
end)
print(coroutine.resume(coro))
Servers are elexir but rust is used to make it scale better
ah interesting
i wonder why they move it
But it couldnt handle it after like 10 million users
Using faster languages saves money spent on servers
true
faster connection handling = less server to scale = less money to spend = profit
It might be like 5 nano seconds
But when its 10 million users
It scaled a lot
Its 5 milliseconds difference
But its probably more than 5 nano seconda
mhm
I will ban you.one day
No way!

Coding TMURL(the most useless rust library) on my phone
It will also have a graphics library
When I get my pc running because.i can't modify the .toml file on phone

Nor download the gfx library
Or crate










