#⌨coders-cave
1 messages · Page 88 of 1
pages are dynamic
true
they load bit by bit
oh right
instead of waiting for the whole page to lod
Yeah server sided kinda makes sense
dont you have to host the site either way
yes
but if its compiled into html and javascript
you can host it for free
on a lot of platforms
like firebase
if its not compiled into html and javascript which is the case when you introduce server sided rendering
you have to host it to a VPS
hmm
not surprised
kinda cool that you can host html and js for free on some platforms tho
i first tried to use next.js which is built on top of react
its super fast
and it has a lot of cool stuff
but most of the cool stuff are server sided
and its react so shit is confusing af
but svelte is just too beautiful
it all makes sense
i like things that make sense
but i dont like js
that's 1 - 1 = 0
im neutral towards svelte
i dont use javascript
i use typescript
its basically C#
with a different syntax
types by default are not dynamic like it is in javascript
typescript is like javascript but its more secure
smh just use rust lmao
i tried it
and
lemme tell you
if you can do it you are pretty good at rust
i couldnt
haydot inspired me to do it
and
tbf
it was okay
until i started making more and more stuff and
shit gets complicated fast
its like react.js
you have to make everything yourself or download packages
and shit get complicated really quick
kek
one thing i dont like abt web dev is
working with frameworks
you get like 200mb of code files
and the entire thing is just weird
and you dont really know how it works
and ew 
node.js took thousands of people years to make
which is an actual problem like i legit spend too much time reading about stuff instead of writing code
why would you expect to understand how something this huge works
well i dont need to know everything about uit
it*
that's impossible
you cant know everything about an OS or anything big really
but i just gravitate towards making things from the ground up
even if it means more work
that's how you go wrong in programming
i used to be like you
never finished anything
look at haydot
he is like that
why did you never finish anything
have you ever seen haydot finish anything
too hard and takes too long
to make things from the ground up
i've never had an issue with things being too hard
except rust but i dived into rust web without really knowing the core that well
too long
Maybe
ive been programming for 6 years now
still dont think its worth it for me to do things from the ground up
well
mm
there's kind of like
different levels of from the ground up i could say
makes no sense but
let's say i have feature X that is dependent on feature Y which is dependent on features Z and A which are dependent on B and C and G and F
if i want to learn feature x
i'm not gonna go all the way to b c g f
there's no need for that
you dont have to go all the way back
i'd read about Y and maybe Z A
if you want to understand how feature X works then you have to go all the way back
if you want to use it you dont
stop wasting time on things that can help you but you dont know if they do
start working
i don't crave 100% understanding of Thing
that's how you learn programming
just do stuff
fill your github page with random shit
i crave enough understanding of thing to know what it can do, what it's good at
that takes a 10 mintues on youtube
ye
see ya
and about not finishing things...
i usually not finish things because i just get bored
And poor planning
you get bored because its way out of your skill
its too hard
working on hard things all day makes you bored
no, actually
i like the challenge
learning new complex stuff is fun
where it gets bad is
your code grows
becomes more complicated
you have to take more stuff into account
that's what happens
when adding new thigs
when you are bad
things
what do you code in
rn im doing python cuz it ez
but i did rust recently
well python isnt suited for anything big
Yeah i need to work on my planning and keeping code... organized?
not sure if organized is the right word
you need to know how to structure your code correctly to make it expandable and readable
yee
@knotty root you dont need to focus on your code structure rn
you need to focus on making your code work
programming has two aspects
how you think
and how you type what you think
first one is easy then hard
second one is hard then easy
i think too much about new feature
focus on the first one first
that's the second one
sticking to plans for features
and the thing im trying to make in general
when you dig deeply before you start
you wont know how to start
therefore you wont start
fair ig
and you will sit down and make it even more complicated
spending too much time on planning isnt good either
is it just
one of those things where you need practice to get better
most important thing is starting
its 0 risk
so not having a plan
wont hurt
having a plan will help
but you dont want to make a plan then not start
im mostly concerned abt things like feature creep
you can think of features just dont think of how you are going to implement them
and excessively refactoring the code for things
refactoring is required some times
sometimes you have to delete the whole project and start over
its not a bad thing
yeah
you learn how to make the thing you want to make
and just do it better next time
but the problem is when you delete a project and remake it your motivation doesnt go back
exactly
that's why you have to make small projects and finish them
hmm
as a
keeping motivation up measure?
int[] array = new int[10]
for(int i = 0; i < 10; i++) {
Console.WriteLine(array[i]);
}
foreach(int number in array) {
Console.WriteLine(number);
}
these two
do the same thing
there are two cons about using foreach tho
its a bit slower especially on big arrays
and you cant mutate the object
so you cant do
foreach(int number in array) {
number = 5;
Console.WriteLine(number);
}
because number = 5 mutates the object
as getting things done
that will really help you
and it motivates you to make more
and always share
but only after you start
dont share ideas before they become things that you can show people
kek i do know that
hi
hello
Wew python bots really just died after discord.py went down
you have nextcord, pycord, discord-py-interactions
probably 20 more
ok actually
slash commands
are pretty damn cool
not used to them but they look interesting
I might be getting my first internship position from my dad's workplace and if that doesn't happen, one company wants to do an interview with me
noice
that's pretty damn good
Btw... i am looking for a person that knows unity well and would like to cooperate
More on dm
We are making game abt animatronics like characters it will be 2d
It wont be a fan remake and the gameplay will be diferent
I have a smol team of me(main designer) and graphics maker and sound maker
hi
read the channel topic and or pin
So ive been checking out discord py successors
Disnake is pretty good
It's short, it's simple
this is not a channel about the game, also if you have a suggestion go to #💡game-suggestions
BRos how can I code it where I can make all the characters naked, hot men
I uh, I messed around with code until Roblox studio crashed. That's my coding experience. My PC made angry jet engine noises after I duplicated unanchored parts 50,000 times.
Ignore them
who's the maintainer
hi
someone
what do you mean 3d python libraries
How to code
python libraries that are able to create 3d apps or games
you can use pyopengl
not recommended tho
python is too slow
I mean you could use a game library as a rendering engine
Otherwise you will have to learn buffers and glfw and that shit which is annoying
im using a laptob 
it'll explode

ye i like that guy
Dani is cool
Not ny type of content but still
Plus he is q master at marketing considering his very... questionable game is recommended to everyone on steam
A laptop is also cool
What parts
Also
I kinda wished I had a laptop rn
Coding on a pc is kinda overkill unless you are making some very very high gpu or ram shit
its weak as hell 
Yes but aa I said a pc is very overkill
And the laptop matters
I mean if you just wanna code a laptop is amazing unless you are learning Machine learning or making triple A games
But for stuff like hacking its also just awesome
lol
Hackers are basically programmers who got bored from doing the same things every day
And decided to put their knowledge to the test
Thats q very specific pin message
Me too lol
Oh well
Rules are broken daily in this chat so
I'm here and most of the admins dont visit this chat
Only jupe
But he is cool
My fingers are shaky af and I cant type lol

Dont hit trees with shovels kids it will make your fingers... explode idk
so its basically a sandbox game
Shouldn't be that hard in unity
2d or 3d
Dont try 3d solo
It sucks
Making models requeres some serious work
O thought I could do it alone until I made my first model
Gave up and switched to opengl
:kek:
Uhhh in unity it will take you around 3-4 months to understand the basics
But learning unity is a great way to learn programming i did it and look at me now
lol
you're brursed
I can make some shitty bootlaoders that barely work and disassemble a makeshift 10 line license checker and uhh yea thats my full resume
Wait why couldn't you do it
Right
@orchid frigate i like how you ignored this 
Well you can start without a computer
I did
Lemme reply now
Best description of me
Yeah python is NOT a game language lmao
that's just asking for trouble
Ever
Which reminds me egg man
What happened to rust
And started to work on TMURL (the most useless rust library)
Or not
TMURC (same thing but with crate not library
and i dont really need rust's speed or safety here
byew
Bye
Low lever high level middle level
Not that hard its syntax is just a bit different
Its like learning new syntax
But mutables and tags suck
They suck
Very bad
And those <> things
Also suck
Hate em
agree
async_trait,
model::{
gateway::Ready,
id::GuildId,
interactions::{
application_command::{
ApplicationCommand,
ApplicationCommandInteractionDataOptionValue,
ApplicationCommandOptionType,
},
Interaction,
InteractionResponseType,
},
},
prelude::*,
};```

what
Yep
Why would you do this to yourself
masochism
Every sane person adds everything
Thats like making a make file for a single command
Its just why
lmao
The only thing I kinda hate about rust is setting up the building environment
Like it has way too much stuff for one project compared to C
Or cpp
Or anything else
Why wouldn't you just do what c did and use object like files
compared to sth like nodejs its not a lot
Object files are amazing
Its like a blessing
With an object file you can do anything
can an object file print money
With rust idk how it even runs the program what does it run how does it run it
If you code it well enough
well
never was really interested in that
Well I was
I needed the object file to turn it jnto a bin
Turns out it didnt exist
Or smt
lol
dead code elimination ?
I mean
If you are willing to go that far for some extra speed
Props to you
I guess
Fair enough
Is there a way to make a timer without using ienumerators?
In unity
And also Time.time is float?
timer for what
you can just make a float
and add time.deltatime to it every frame
you can add to a time number in an update method and until that time number reaches an amount you specify it wont run the method
One of my friends from school has this friend who tries to impress everyone by being a skiddie as we hang in discord vc with my friends pretty much the whole day everyday because none of us has a life. But it's honestly hilarious seeing him flexing with phishing tools he found somewhere on the internet and barely even knows how to use it while everyone else in the call could make phishing websites by hand the same quality his tools can
Ask him how they work
I have and he always goes silent
And listen as he tries to make up the weirdest bullshit ever
Or that
lol
"yea so it uhh when you press the button it uhhh connects to the pentagon and afterwords requests for a server to shut down the firewall and...just look up"
lol
Completely another topic but me and 2 of my friends once in school started pinging my other friends pc in like 100 shells per PC to ddos him. Sure none of us was able to use the internet pretty much at all and we wasted like 20mins putting all the shells manually on but atleast we made him completely unable to use the internet during class
it was funny af
and I'm pretty sure the it department was confused af why the internet usage had a huge jump on 4 machines in the same classroom
Is this powershell
no no, command line
Because if it was you could have just used a while loop
Oh
Well idk if you can do it there
powershell is for noobs lmao
Still better than opening 100 shells 
It was completely dumb and unnecessary to do it manually because yeah Powershell exists but it was funny having like 100 cmds open
Look guys I actually said something good about the easier option
Did you make the text green?
would've taken too long
If you did you could have taken a picture and sent it to a news station to tell them you hacked the pentagon and that was the evidence
lmao
"breaking news a bunch of kids hacked into the pentagon they sent this as evidence we dont know what the fuck it means but it has green text and a command line so it must be serious"
Movies sometimes annoy me by how incompetent they are or atleast seem
@limber sparrow #💡game-suggestions
Hi
Nice argument unfortunately 1.363.4827.3883
ok stop pinging me now
why are half the people appearing here bandits lmfao
Shitpost here move to #🌎general Shitpost more warned and muted
It's dumb
#include <iostream>
using namespace std;
Int main()
{
cout << “Hello World” << endl;
return 0;
}
Hello world in C++.
We can make this more complicated
#include "stdio.h"
#include "string.h"
int main(int argc, char *argv[]){
if(argc == 2){
if(strcmp(argv[1], "Hi") == 0){
printf("Hello world!");
return 0;
}else{
const char* Estr = "lol";
write(1, Estr, strlen(Estr));
return 1;
}
}else{
write(1, "You are supposed to give some arguments lol", strlen("You are supposed to give some arguments lol));
return 1;
}
return 0;
}
Oh wait thats c
Eh whatever same thing
That's the most unnecessarily overcomplicated code I've ever seen
No its kinda more difficult to be reverse engineered
Not hard because it uses strings
But more difficult
You don't want to solute someone who doesnt solute you first amirite
Depending on the case, making your code harder to reverse engineer could be not worth it, if not a waste of time
It also makes the code unreadable for other developers
For example, if you have a client-server architecture, obfuscating the client is a total waste of resources, as you should focus on making sanity checks on the server, instead of trying to secure the client
Because one important lesson to learn is that you can never trust the client
Probably the only useful thing I learnt from developing on roblox
The thing is usually these types of programs are very highly wanted from the attacker as they usually are license or account checkers
So you gotta make the attacker put some work
Its not gonna stop him if he knows atleast a bit what he is doing
But its gonna be annoying for him and that makes me happy :)
Wow
None asked
Literally
Using obfuscation isn’t a total waste of resource
It make reverse engineering slower or even not possible for some people
Again, it depends on what kind of project you are working on, of course if you are making standalone software, it would be very useful, although you will never be able to make completely reverse engineering-proof software
You can’t make it completely proof doesn’t mean it’s not worth it to make it
Of course, just don't make the dangerous assumption that since your code is obfuscated, you can care less about other safety measures
I only did it to anger you :)
Or because you know nothing better than doing useless things
Technically you can make the file unopenable in any disassembly software
Yea im good at that why are you mad? Jealous?
Why would I be jealous of your uselessness
If that were possible than reverse engineering would be long gone. I'm guessing there are probably some drawbacks in doing so?
It’s haydot don’t listen to him
Nah I'm curious
Basically you flip a random byte in the program until it works but disassembly software doesn't recognize it
I did my research unlike you
Copy pasting everything you see
Bruh
That’s exactly what people did to Warcraft 3 maps
Wouldn't that make the program... Not work?
9/10 times yes
It doesn’t make it not work
You are looking for that one time it does work
It just makes it harder
Matters which byte
I’m talking about reverse engineering
You can still reverse engineer these
It’s just harder
Yea
So there are some bytes in the program that even when changed still don't affect the program itself?
Making it unopenable in any disassembly software complicates things alot considering most people use tools like radare2 or gdb
Yes not sure exactly which ones they are but there are a few special bytes of information which Different disassembly softwares look at to open the file
If they are different for each program so usually you make python scripts to automatically flip bytes and change them around until it works
Then why do you need to switch random bytes, it should already been known what part of the file the disassembly programs look at
Oh
Bur
Gdb looks at some bytes and radare at other
Or maybe the same idk this is all I know
Tbh I have no idea
Isn't there the risk that flipping random bytes still makes the program work, but with a different logic?
You make a different file just for that
And how does that solve the problem
I mean you will test the program first to make sure everything is as it should be
Let's say a constant is changed by a byte flip. The program runs fine, but after 1000 hours of running something goes different because of that constant
Runtime errors don't always happen in the first minutes of execution
Very highly unlikely I think
The things that change arent in the main file or your code
They are usually the bytes that tell what the program is
For instance...ah gotta go
Will continue talking later
Cya
hmm yes I've edited the same html file for 4 hours
I totally don't have css on other half of my vsc
and I totally haven't played sea of thieves like 2 of the 4 hours
are you not using a framework or smthing
rewriting the entire bot now
rip 3 days of progress
@main brook why do you think enhanced-dpy is better than disnake
bruh
schools that limit you
i dont like them
today i did my programming basics final
had to write a program in C
they didnt care what i used
they just cared about if the program worked or not
even if i used something i didnt learn yet
First time ? Welcome to the club
far from first time
Rewritting is kinda epic tho
You get to organise the program better
What sucks is having to do it 6 times
i usually dont rewrite 6 times
because
dutchy made it
he's me friend
and edpy had existed
since dpy was on development
its basically dpy but enhanced
like a default embed color
more named color variations
and so on
stuff like pycord
those are when dpy got deprecated
and the maintainer is also someone i know
but damn seems like most people hate it
although i don't really like him anyway
so i don't really care if people hate it
or like it

gonna set up ssh
spending half my day Not At PC
is a lot of wasted time
that could be used to do things
i never really did anything that's not just
Writing scripts n stuff
last month / two months I've been learning some stuff
That's why I demanded school to let me install software I need for coding on my school laptop
how tf did Godot make it to my finnish book
ah it's persons name in some country
makes sense
still kinda funny
enjoy notepad :D
I have vsc, visual studio 2022 enterprise, Unity, Blender, photoshop and Xampp on my laptop
and notepad++
because my teacher demanded
My pc at school was so bad
It used to have 2 fucking gb of space
RAM*
not space
It wasnt that bad
So it couldn't open word
Gi
Hi*
Now it has 8 and literally no coding software
Whenever I open notepad I get thrown out of the classroom for attempted murder or smt
Uhhh im at school and im having the most boring classes ever because 50% of my teachers are either sick or don't wanna enter class
So average
What about you
Noice
mine has 8 too but we need more for Unity so our school is trying to hook us up with upgrade on that
or well not the school, my favourite teacher is trying to convince school to let them buy ram for us
more for unity?
mine has 8 and unity works just fine
what kinda stuff you doing there
the laptop uses 5,7GB of ram on Idle because of the fucking antivirus my school uses
No idea, it's hidden from students in some weird ways
you guys have nice school pc
mine just windows xp
and we are taught to draw
with ms paint
we dont have school pcs
:(
@knotty root
too busy
that's what im busy with
im going to a dungeon
should finish it soon
this dungeon normally takes like 3 hours to finish
only
Store it in a variable 
Ok so give me the function that c# uses to generate random ints and I will telll you
But
You have saved it
Its in randomInt
Also
No tab
Tab bad
what
okay ssh on win10 looks painful
not doing it
i'll get a dual boot in a few days
for now i'll have to host bot from pc AND phone
Can someone tell me how to create op character with code?
you mean in-game?
Room to talk about different coding/programming topics. This chat is NOT WORLDBOX RELATED
@wet girder opinion on adding an on_message check in this chat that sends an ephemeral disclaimer to a person if they are below chicken saying "THIS IS NOT WORLDBOX JUST IN CASE IF YOU WANT WORLDBOX DONT COME HERE THIS IS NOT WORLDBOX PLS LEAVE US ALONE"?

lol
the potential for automated and optimized bullying with the ephemeral message stuff is unmatched
also i've been doing comptia practice stuff for a while and
I am pretty sure it's more useful for discovering new IT concepts than for preparing for the test. which is actually very good for me because i don't really intend to take their tests in the future
Oh ok sorry
just get a command added to the bot
word it as fully as you can, and then use it whenever someone chats nonsense
Let's integrate ai into amp that detects when someone under level 10 speaks something unrelated
best idea ever
yes
how can i get traits
"THIS IS NOT WORLDBOX CODE CHANNEL JUST IN CASE IF YOU WANT WORLDBOX MODS OR CODE DONT COME HERE THIS IS NOT WORLDBOX CODE PLS"
Sorry to bother but how do u change traits on the people in WorldBox #⌨coders-cave
Also I’m on mobile #⌨coders-cave
Look at this
Ah yes... The Nerd Cave
I don't think you can do that
ephemeral are possible on interactions
which requires like
interaction
like a command or a view response
no need to say sorry, you already triggered most of us
what if
it has the word
"in worldbox"
or "traits"
then they'll get dm
or something
eh "worldbox" would work
for levels under like 15 or whatever
it detects worldbox and auto-removes and posts a message only the user can see
level limit keeps it so that you can say it once you understand what channels are what (if you're new to the server and do want to talk code, it wouldn't be forever either), even then you can refer to the server with "on this server" or any other number of ways
unfortunate
Can have it send DM then
can send to channel with ping and delete after x seconds
there's a workaround to this actually
the problem is if its closed then it won't let them know
yes that's possible
I used to have it post such pings in #🤖bot-commands
for like map stuff when people posted non-embed/files to the downloads channel
now we just need jupe to do it :DDD
what is jupe doing btw 
he's got some project or competition going on, right?
no idea
wonder how other discordpy variants handle new stuff
such as ephemerals and buttons
I'd use js, but I hate js
It's okay
Haven't used ephemerals but definitely used buttons
there used to be a lot of user-made additions that you could install
when new features came out
to discord.py?
yeah
i just use disnake now
they were questionable at best but let you access what you needed
the docs are a bit
ehh
weird?
it's not as well documented as discord.py and i remember having to check source code of some things to know what they were really doing because docs provided just a surface explanation
brb
they forked dpy when it have views
docs on their way to provide no information
only works if there exists code to scrap
most have
but for c extensions
they are required
to have docs
otherwise nobody use them
I'll find AI things, or user extensions is very good luck territory with that
oh?
anything rather new
or something one guy did like 5 years ago but its what you need
some things I'd probably had fried my brain if I tried to code from scratch though
like entire libraries written by one guy in like a week

i wrote a simple async framework
in 3 days
now i can make it in mere minutes
for some reason
ehe
ai is
scary
what do it do

you mean async framework as in
it does async
or a framework using async
link?
@wet girder apologies for the LARGE AMOUNTS OF MEME PINGS but i think it might be a good idea to limit cursed responses to ~monke.
Have it only send cursed monkeys 3 times after a normal monkey and then turn off until the cooldown is over or something like that. Or maybe there already is a limit in which case it is probably too big
It just deletes the cursed after the video is over. I haven't really seen a need but possibly a good idea
Ooh
so it deletes after x seconds

That's not very useful though with how quickly chat moves
Yeah I've noticed. It was good back when monkey command was created lol
yep
rebr saying that is pretty ironic kek
lmao
16
It probably works like as entended
I don't blame rei if it works
ello
while(true) {}
run in console for free bobux!!! no scam!!!
true
Just ran it on a linux terminal
Got a syntax error
Smh I got scammed
browser console!
it uh um UHM sends request to a server where it mines bobux and sent it to you!!!!
I mean you could put some more stuff in there to make it seem real
Lemme show you
while(true) {Ping roblox.com}
ye ik but this is #⌨coders-cave everyone is gonna know it anyway and also it's just a joke that is intentionally obvious
Yea we are here to make th best ways to make this believable for people who have never touched code
Plus the ping thing is gonna keep pinging roblox.com
So they will think its generating free bobux

i purged my phone from nasty libraries
3GB worth of libraries
like tigervnc
perl
php
and etc
oh my god 3GB
IKR
I have 0b because I use cloud lol
Getting rid of /etc/ may not be a good idea 
smh
lmao noo
im just purging things from
/home /usr/lib /usr/share
and deleted packages
ah yes the path that I totally know whats in it
I should probably root my phone some time
ye me too
yesyes
root spooky
android filesystem is fucked
I will unroot it later
no not that
as someone who used to make small json mods
yes
but the inner linux
it is VERY fucked
unlike other distros
mhm
we need Android: The Sequel
we need
Android 2
Bedroid
Im still waiting for chess 2 😔
Android 3
waiting for pc 2
They have yet to release a release date
Three-player chess (also known as three-handed, three-man, or three-way chess) is a family of chess variants specially designed for three players. Many variations of three-player chess have been devised. They usually use a non-standard board, for example, a hexagonal or three-sided board that connects the center cells in a special way. The three...
Chess 2 looks bad there are no new pieces
tfw chess 3
Almost chess is a chess variant invented by Ralph Betza in 1977. The game is played using a standard chessboard and pieces, except the players' queens, which are replaced by chancellors – pieces which combine the moves of a rook and a knight.
Almost chess was featured in NOST magazine Nost-algia, beginning with issue 205.
Almost chess
Anyway we were talking about android filesystems
sort of almost chess
Okay this ishttps://en.wikipedia.org/wiki/Taikyoku_shogi
Taikyoku shōgi (Japanese: 大局将棋, lit. "ultimate chess") is the largest known variant of shogi (Japanese chess). The game was created around the mid-16th century (presumably by priests) and is based on earlier large board shogi games. Before the rediscovery of taikyoku shogi in 1997, tai shogi was believed to be the largest playable chess variant ...
This is insane
250 pieces
first
Different types of pieces
Thats not chess anymore its complexity is of a simple makefile
so you have two
separate partition
for your system
including boot
and then there's also
the part where you have
/sys and /system
and there's another directory
/data
im personally feeling like a Woodland demon today
the whole filesystem isn't like the usual
This seems like the windows mistake
ikr
no idea
but we know why
because
microsoft
android made by google
owned by microsoft
windows owned by microsoft
google isnt owned by microsoft is it
Wow this is confusing
seems like it tho
Alphabet Inc. is an American multinational technology conglomerate holding company headquartered in Mountain View, California. It was created through a restructuring of Google on October 2, 2015, and became the parent company of Google and several former Google subsidiaries. The two co-founders of Google remained as controlling shareholders, boa...
microsoft and google being under 1 corp would be
wtf
very strong
Microsoft would be like the most insane company out there
hello comrade xi please do not read my files
isn't huawei made in taiwan
China*
shit
Chinese multinational technology corporation headquartered in Shenzhen, Guangdong, China.
or smthing
yeah
yeah
i mwa
china
the motherland china
taiwan is not a country
definitely
Yes
*sweating uncontrollably*
+9000 social credit
ah oki
@main brook
Anyway
go watch psycopass
df.loc[df.Weight == "155", "Name"] = "John"
