#⌨coders-cave
1 messages · Page 58 of 1
Goodluck
Good luck rei
im so sick of looking at red text its not even funny
sure sure
i only understood 6 of those words
but sure
good thing you are staying family friendly
even tho i do no agree to that argument
you cant argue about facts
i can argue against them
C# is better than C++
in some cases yes
in others not
they ccan also be yellow
Orange from wb is actually blue😳
ok
i cant say
in my opinion oranges are a vegetable
cuz they are a fruit
and that's a fact
same thing
its the C language
cant say in my opinion C++ is better than C#
we gotta unite
bruh
im blocking this python/java user
you breaking the rules
you cant love python and c#
Yeah
Why not
aight i got work now
i gotta create an application for all devices and OSs with a database
Good luck

thanks i will need it because i have never even touched databases
I haven't you explained why though. Why do you think so?
did you misspell ROM or is that some thing I've never heard of
cuzzzzzzzzzzz
BAD
sometimes Visual Studio just doesn't allow me to close it
so bad that task manager can't even close it
Ahhhhhhhh
u mum ?
i hate coffee 
Drink Tea
Drink milk
tea is the best
Hoe did you hate too perfect, yummy, tasty, sweety, delicious coffeeeeeee
Damn, I wanna peck u
Probably u didn't try a good coffee, that's why u hate it
I'm going to u with coffee
U will be a drunkard by coffeE
Feels like a treat 
nah bruh
coffee is eww
i tried every type of coffee
cuz sometimes i have to drink it
cuz traditions and shit
Tried Milk coffee with honey
Or something like that
It probably help you in programming
coffee is amazing
My heart can't take caffeine so I drink caffeine free coffee just for the taste
I drink coffee with extra caffeine so that I can not fall asleep on my chair....and yes it still has no effect on me
Idk why but caffeine never woke me up/gave me energy, no effect what so ever
Might be for the better tho
ewww
well caffeine is proven to make you more tired in the long term
Yep, after drinking a cup of coffee u will ber more energy, but when coffee affect stop, u become tired and too lazy to do smth
mhm
its like when there's a ddos attack
your server will scale more and more
to handle the request
after the ddos is finished
your resources is wasted on nothing
since there's no request to handle

it'll take a bit time to rescale back
I remember Infront of my old school there was this coffee machine
I used to go to it regularly and get the strongest coffee possible with no sugar
I felt the exact same for the rest of the day
My thought process was "with this coffee I will have more energy"
Turns out no I won't
But with milk it's even better
that's energy drinks 101
mhm

300?
200~?
Everyone in this channel should already know this but I'mma send this anyway:
https://youtu.be/NWtm4X6L_Cs
This is a phishing security awareness video where I am showing you how to identify a trustworthy site. Spoiler alert: the browser address bar is the only trustworthy security indicator
Phishing Quiz: https://phishingquiz.withgoogle.com/
-=[ ❤️ Support ]=-
→ per Video: https://www.patreon.com/join/liveoverflow
→ per Month: https://www.youtube....
ye, I still watched the video because I'm a fan of the creator it's actually good to re visit this stuff time to time and think
True
Milk and sugar are for the losers who like their health
We thought boys like to drink something that tastes more like raw coffee then actual coffee

monster energy drink
dislike*
x = input ("Rule them all with the iron fist with just two words")
if (x == "Hello World"):
print (" Dominance has been asserted. It's time.")
while (x == "Hello World"):
print ("All of your fates are sealed")
print ("Accept it and yourselves be rendered helpless")
Initiate the iron protocol
I now rule #⌨coders-cave
Its mine now
not only does this code looks awful
it has some
flaws
one of it is unnecessary condition checking
if you like
you can add
flush=True
to the print
so it wont be buffered

@orchid frigate should i use C or C++

i thought of making another database
and realized
oop in C sucks
but its fast

C is C++ without the complicated things
so you have to do them urself

C is actually not that hard to learn
since it doesnt have a lot of things in it
unlike C++
But C is very bad for OOP
indeed
B > C
I have realized that this is the best part of it
I didn't like it either before I started using it
But it gives you a very good idea of what you will output
Why there's no A tho
C++
i want A
:(
:(
most of the syntax of all the Cs was made in the B days
Q# 👀
UMOM#
Back when programming was done on paper
math*
Urmom.WriteMom("Hello Mom!");
And the end is ending the program code
And people think programmers are smart
Look at what we are doing
ur mom is smart
Ik
and fat
No
Urmom++
Best language
Urmom;
Whilemom(truemom){
IfMom(urmom == "fat"){
BreakMom;
} Elsermom{
Seeur << "?9(#" << endmom;
}
}
Momerend;
Btw urmom is a built-in var
It can be whatever you assign it as but once you assign it you can't change it to another data type
i thought u hated python
Is that a python thing
Oh well
Here you can't change datatype but you can change its value
And btw whoever says this language is just c++ but with mom at the start and end of every word is bad

so what happens if urmom not "fat"
Stuff gets outputted into the console
i suggest asking google instead of haydot
i dont use google

hashing
basically turn an object to a string
or an integer
and its one way
so you cant turn the string/integer back to the object
wait
cant you just say for instance
int a = 0;
int main(void){
char i = a.tostring(); //or whatever the cpp method was called
}
or:
double a = 1.00;
int main(void){
float i = (float)a;
}
what if i have a chessboard
?
cool you caqn play chess 
is hash a datatype???
one way is to turn every item from there with a foreach loop
good luck doing that 10000 times every second
why every second
you can assign a new array to that old array turned into a hash
once
and use it
because chess engines
need to hash positions
so they dont repeat
that's why they just hash the position
much faster
yes but that doesnt mean do it every frame
i open an empty window in opengl and it runs at 40fps dont talk to me about fps
in code

i run gta at higher fps damnit
im just too lazy to clean up my code
like put stuff out of loops
mainly because i have enough errors to fix as it is
I've been reading this book called this is Gomorrah and damn this is a good book. I don't usually read books but this one is just awesome
"the default constructor of "class name" cannot be called as it is a deleted function"
i have been wrestling with this error for 4 days now
not fun
you know there's a constructor
and a destructor in c++
oh ive read this wrong
maybe show some code
for context
the error makes zero sense without seeing code ngl
im just complaining about it
also it magically fixed itself
i put the refrence as a pointer
and it just worked
but a new error came after it witch makes 0 sense
Errors that magically fix themselves are very dangerous, because it's very likely that they will reappear again
Unless it was an IDE bug or something that doesn't depend on your code
It didn't really fix itself, I just assigned the error as a pointer
I have no idea how tf that was supposed to help but it did
Now my thrown exception is in binary or smth because it's just some words followed by 0s and 1s
oh i just realised why im getting this error
glfw cant init because i have the vs 2019 version not 2022
they arent out yet either
nvm im still getting it
E
@orchid frigate should i use Array or LinkedList

i find vector looks nice
but doesn't really work well with hash table-
a linkedlist is a thing
and an array is a thing
so depends on what youre trying to do
i want both
insert, delete, indexing

since linkedlist is good at inserting and deleting
but
indexing it takes O(n)
but array
good index
but slow insert and delete
any array
when you insert
it makes a new one
if the array length is 5
it has to be 5
forever
wanna add more
you gotta make a new one
just editing values in the array ?
shouldnt be slower than a linkedlist
unless you're inserting it in a specific index
uhhh
wouldn't it be linear complexity
you know the values in an array are put next to each other in memory
and that's why you cant reshape it
so
it might be even faster than a linkedlist
cuz u just need the pointer to the first value of the array + index
to get the value you want in memory
but also
you have to
shift the elements
so if we have
1 2 3 5 6 7 8 9 10
if we insert 4 in the 3rd index
it will shift the rest of the elements
the right side*
that's not possible in an array
inserting makes a new array
length changes
=
new array
if the 3rd index is empty
then the array would be
1, 2, 3, 0(default int value), 5, 6, 7, 8, 9, 10

empty indicies will have the default value
i apparently got segmentation fault
when trying to output
non existent element
int nums[10];
cout << nums[0];
mhm
lets say the array has 3 values
1 and 3 are 5
2 is not set yet
memory would still be
0x00, 0x01, 0x02
there's a pointer for the second value
even if its nothing
cuz that's how arrays work
okay-
im still having issues with my hash function

i feel like
the ascii value summed up from the string % array size
is sortof weird
what are you hasing
string
int k = 0;
for(int i = 0; i < key.length(); i++) {
k += int(key[i]);
};
return k % tableSize;
aye aye daddy hamza

key is a string-
int HashTable::Hash(string key) {
int k = 0;
for(int i = 0; i < key.length(); i++) {
k += int(key[i]);
};
return k % tableSize;
};

arrray of characters
yeah
so you get the asci code
bruh just download a hashing library
ez

i never made a hashing function
i have .ToHashCode();
oh yeah i forgot

i also realized
u mum fat ?
i already know that
but another thing
ive been compiling my code
in different version
let me check my version
andd
its on version 5

now how do i make a link
soft link
to a folder in linux

but it doesnt
cuz i use c#
made by microsoft
its a pain in the ass to run C# on linux
took me days to make it work
it took me like
few hours to compile Ffmpeg from source
while it just took me few minutes in a package manager
i had some mistakes
that's why it was 5 times faster
its like 2 times faster
still good enough

Someone code me a burger
go ask u mama
i will
#include <stdio.h>
int main() {
printf("borgar");
return 0;
};

Borgir
urmumgur
Pls explain this. This folder came pre bundled with my phone. And it has some mysterious and old music files in it.
It is too much complex for me to mess with
looks like java
.class files are java
pretty sure this doesnt come with any phones
maybe you downloaded it accidently
or some app in your phone downloaded it
Why are parrotsec and kali installation pages so damn slow at installation
I have 100mbps internet 
Downloading Cube I see
lmao, it's just ova packed version of parrot sec because I am gonna use it in VirtualBox
Nice
that's why it's cube
I tried downloading windows sandbox once but I didn't have enough space left
It's only about a gigabyte
My parrot sec installation is 5.5 gigabytes before I even run it the first time
Atleast the install got a bit quicker 
I usually have 0-10 GB of space left
I have about 600 GB left atm
try to use a vpn
or IDM
Somehow my phone also reached a point of getting full eventho I had a fourth of this amount of space before
I have 20 GB left on my phone
It's fast enough atm
I have only 196GB total
Always a problem
After deleting stuff it gets full within days
lol. I have these 2 drives connected atm and I have 1 terabyte of hard drives left I was thinking of makin a nas out of
My pc is in finnish lol. Gt means GB. C: is SSD quite bad SSD but still SSD. D: is some random server hard drive
I also have ssd
who doesnt
yep lol
Haha
ssd is just way too good
time to use vim
ew
better than this IDE
I like vim but I also like intellisense
there's a lot of extensions for vim
you can use vim in vscode too lol
i dont think vim is worth it
it's very worth it if you just learn to use it well
ive learned it
it would probably take me 3 years
to become more efficient in vim
everything you can do with vim you can do without vim
yes it might take more key presses
but who cares
its like 5 ms less

It's still worth it because you look more like a fucking hacker in the eyes of the normal people
and vim is nice when you need to do code through ssh connection
and I have had to once
i have to do it all the time
I used to use nano for that before but vim is just way easier lol
fun fact it was 5 am for me when you asked me that so thats why i didnt answer and it matters
i personally really like vectors in cpp
they are kinda like lists
nano is hard for me

it's also not good for coding
download files
code
upload files
:O
Vectors are not meant to be used to save 100 values
im using array
so it really depends on waht you're trying to do
yea i think array is the best
for hashing
cuz u already know the size
small fixes are easier to do straight on the ssh host machine
i figured
"frick dynamic hash tables"
and then use fixed size
if you know the size array
if you dont list
if its like Size and you need width height and depth
you use vectors
@barren shale is LinkedList good when you know the index

i have an idea how to make hash table
dynamic too
doesnt matter
if you want a fixed size use array
if you dont want a fixed size use a list
not fixed
okii
so im
#include <iostream>
#include <unordered_map>
using namespace std;
int main() {
unordered_map<string, string> data;
data["foo"] = "bar";
cout << data["foo"];
};
i could just use the std::unordered_map

the std is awesome
exactly
i like to use the terms
hash table
since different languages
python have dictionary
javascript have json
php have dictionary
lua have table
hash tables and dicionaries
are completely too different things

i guess a bit different
since hashtables are a type of dicionaries

Idc I don't look to save 1 nanosecond off of the run time I just look to have my program to work
Indie game Devs be like
If people are so needy that they care about their frames being under 240 then it's better they won't be playing my games 
your game wont only run under 240
it will run under 10
if an empty screen runs under 1k fps
idk what a screen with a rectangle do
Minecraft 2D ran at about 1k fps

look performance will be there if the game is there
no game == no performance
technically if a screen is blank, then the pc has to run background processes for it to stay alive, meaning performance measures do take place. but if you simply plug a wire in the machine with no BIOS or OS then it runs at 0 fps as it runs nothing - it just cycles electrons without any use
or, its wrong to say 0 fps as there are no frames.. well 0 is, actually, the definition of nothing
sometimes a simple question like "how much fps does a blank screen game have" can lead into very abstract areas of math and logic
or may be its me being such a weird nerd that i just lead any topic into this
That's very in-depth lol. I like your thinking tho
Im thinking of dual booting POP!_OS alongside with Windows. Specifically pop os because it looks fuckin amazing, it's easy to use, it's functional and it's debian based and I love debian
this has nothing to do with what we are talking about

I'm trying to slowly change to Linux
it's just way easier especially because I'm not gonna update to win11 and win10 isn't gonna be supported forever
support is slowly getting better
and getting C# to work is a pain too
Luckily I don't like C# 

dual booting is still thing I have to do because I need windows only software mostly Roblox ngl
did you try to use wine ?
Hell yeah
then if I get roblox to work on Linux I don't really need windows for anything anymore
atleast nothing I could think of
Hmm that's cool
I hate every other part about the Roblox community other than dev community
reminds me
there is a dev server
when you put your code
you'll be criticized
immediately

nah its still motivating
its just that its very criticizing
but they still help you

actually
most of the higher level programmer there is above 16
age-
now i dont know if i should go back to sleep or not
its still lua 
whatever

isnt it lua tho

its like python
but basic
doesnt really have a lot of things in it
pretty easy to learn
looks a bit like javascript too
similar to ruby too
its kinda like hybrid of Javascript and Python
with the table and stuff
and the simplicity and stuff
but indentation doesn't matter
since everything ends with end
Wut why would I have an app named reborn
Those midi files play itself in 2:54 am
It's creepy as hell
You gotta help ne
I can't delete this
Here's one of the midi files
This
Why :(

How did you get them
The music seems kinda off-putting
Actually I lied
It's really fucking off-putting
If I heard that in 3:00am I'm just throwing my of out the window because of it being haunted
Wdym you cant delete this
hey so i'm an idiot and trying to install this on linux ubuntu (on my chromebook dev mode). I have experience doing this this is my first time but I really want to learn. Does anyone know how to do this or have a tutorial or something to watch I cant seem to find anything decent anywhere else. Thanks!
is it different than installing it on a normal pc

I mean its linux so its a command line interface (as far as I know I hope im using the right words im an idiot so)
so its not like a windows pc no if that's what your asking
never said a windows pc 
cant you just burn the iso on a flash drive
and boot from it
ubuntu isnt a command line interface
my bad I meant terminal sorry
im so new to this sorry
there maybe a version that's only a terminal
i dont know much about them
ive only used ubuntu
the one with gui
so im using dev mode on the chromebook which just gives me the terminal as far as I know
Saying you are an idiot us wrong
I, myself, am an awful programmer
well I think everyone is an awful programmer tbh
And I have been doing this for like 2 years or so now
Idk
Don't remember
But just having the knowledge you have is better then the knowledge of probably 90% of computer users
Most people have no idea how their phones work in any way shape or form
thats true
thx
I always have a desire to learn more and seeing what I dont know can be overwhelming sometimes
Np I have before struggled with low self confidence(and I still kinda do but at a way lower level) and I don't want anyone going down that path
well thanks for the kind words means a lot!
Programming is very overwhelming no matter at what level, learning something new has so many different parts
You just gotta keep your head up and keep learning
thanks! i guess your right Im just a super new beginner at all of this stuff
@orchid frigate any chance you can help me out with my situation regarding installing this damn app on linnux?
wow
how can you still be so bad

Wdym bad
I know like
4 languages
5?
Idk
CPP c# java rust
Maybe C
Because I know cpp
doesnt make you good
It's good
It just never works
which is bad

i slept for 3:30 hours
I will not put you in the credits of my game
feels much better than sleeping 8 hours
good
i dont want to be in the credits of a bad game
I slept less 
would give me a bad reputation
I'm deleting system32 pog
okeh
no it wouldnt 
Because of references and paths
hey sorry had notifications off. Also I just discovered LS!!!
anyways im trying to install worldbox on linnux through the directory
there's a linux release i guess
mastef was working on it like 2 months ago
idk if he did it
there is indeed one
I changed system32 to system128 and now my pc is running on a 128 bit system(obviously a joke don't try this)
im oddly proud of myself for understanding that
I'm oddly proud of myself for typing that
lol
you know why there's no 128 bit cpus
cuz
its useless
they made 64 bit cuz 32 bit could only address 3 GB of memory
but 64 bit can address 1600000000 GB
so 128 is just useless
unless
you have 1600000001 GB ram

which can still work on 64 bit
its just unefficient
totally useless
I just didn't want to. This has a deeper mystery. I want to go deeper. So I am turning off my system when I go to sleep. Can I send you the folder so you can analyze it and find the mystery.
And it has also this image in it
I wonder why this is so smoll
Reverse image search
What is reverse image search
You can Search The image you uploaded or taken picture with
It's useful for tracking things where they come from or the source
I know
You should probably do it with that image
Also You've ask what is it
I searched the image
But it thinks that it is a qr code
SO I found nothing
But I need to solve this
There is also M1,M3 and M4
Are they creepy
Can't you send the files? Here
Hm,What are they about?
Hm
It came with my phone
M1isnt nearly as bad as M2.midi
M2 is the scariest
They doesn't seem to be malware or anything
What even are they🤔
There is a whole folder of stuff
This is the video that sent tomorrow
I wonder if they have some message to them I kinda doubt it but still
And what the f is this
Send a.class
A smoll image
Thinking more Factually, Probably some Person Forgot to Delete The files
Just really random files
But still doesn't explain why so random
Also send the .js file
Strange
This doesn't have a js file
Also @mental jacinth When did you get your phone?
It is an .is
This Files are from 2020
I bought it newly from a xiomi show room
From Xiaomi show room🤔 ,They wouldn't really left any Random files in a Consumer phone
I didn't explore so much on my file manager
What about the folder
Also mostly all files are 22/12/2020 Probably someone Tranfered all does file in the same time
More encrypted code
You want me to send the folder
I don't want to delete because this is a mystery
I love solving mysterious
Stop slapping the table tables are people too 
safer
oki 
@mental jacinth You should zip all files And send it
This is the folder. Full and zipped
Idk
And sadly I have to deal with them on a regular basis
but i can use it now 
openGL uses mainly pointers
Is this some Xiaomi Tech Cult inside the company
Damn smol
good now delete the folder
no
usually it starts with m
like mi
I think it is
Also @mental jacinth When you Antivirus scan your phone does the Folder and files show up?
No
It doesn't seem to be malware that's one
















