#development
1 messages · Page 199 of 1
you bought and canceled?
well i had a vps with them for about 2 years, never had issues
but if you have a credit card, you can try the google's free one
free?
google does discord bot hosting?
they only charge for excess bandwidth, like if you spend more than 1gb of network data per month, they start charging per gb
but its very cheap
like a couple cents per gb
how do i host on that
its a vps
you can host anything on a vps
Something doesnt need to be labeled as "Discord bot hosting" in order to work with Discord bots
ah the coding language i use doesnt support vps
Most bots are just run off linux
uhh...
What
ive had them for ages and they never scammed me lol
if you have something that is not vps
theres no such thing as a coding language that doesnt support a vps
a vps is a computer
and didnt even got it running
is it easy to manage?
yes
You can use pebble host
Familiarize yourself with the linux shell as you definitely dont want to install a GUI on a headless server
and what language is that btw
So, JavaScript
oh
isnt that bdfd v2 lol
but yeah its just a node.js package
install nodejs, install aoijs e run index.js
Unrelated but I hate bdfd and derivatives
have you ever used linux before?
no
how can i learn when i was locked on my vps account 💀
bro said i can copy and paste password
when you purchase a vps service, you have a choice on what OS to install, i recommend debian or ubuntu
but it didnt work
can you give a bot hosting that is vps but like panel easy to manage?
like a dashboard
then most hosting providers have a control panel that lets you click a button to open an ssh session
is there something like a dashboard?
Vps is sometimes costly, you can try Googleing discord bot hosts.
https://sparkedhost.com/
Or https://pebblehost.com/
At Sparked Host, we offer the best Minecraft Server Hosting with high-quality hardware and 24/7 support all for a cheap price. Start today for as low as $1.
most providers have a dashboard xd
Yeah
i used pebble for my minecraft server
he wants something like those pterodactyl things
Yeah, you can also use it for discord bots
You can ask these things to them.
ok
I will suggest you to buy the 1gb one cause anything else will be a waste of money
but not for something that lets you just upload your code and press a button to start a bot or whatever
ai?
honestly pebble aint that good
ok
1gb is pretty tight
I can fit a lot into 1GB. My bot can easily fit into < 200MB and memory usage doesn't really get higher than that. Shit, I've fit a modded Minecraft server in a 2GB VPS and it was really playable
How many players and how many mods?
about 100 mods and 7 players
minecraft is a game where modding actually makes it perform better
unlike skyrim
exdee
If mojang wasn't so brickhead and actually reviewed the code flow to make those mods unnecessary
they did rewrite it in c++ though
except they made it a seperate game for some reason
"bedrock edition"
and the pc interface for it looks like it was designed for mobile which it was initially
waste of effort in my opinion
and turned out even worse
that was the biggest fumble ever but not many people are talking about it
it had great potential to turn the game from a resource heavy hog to a more or less optimised and light game
and maybe even somehow figure out a way to keep support for java mods/plugins
pretty sure they just did a 1:1 port
or even worse, an automated port
if so thats even worse
thank goodness they made it a separate game
they dont need to replace java, they just need to sit and fix the numerous leaks and suboptimal logic
for memory management they definitely need to at least add some memory pool or something because the massive memory spikes and drops when GC kicks in probably doesnt help performance
also this aint possible, c++ isn't as moddable as java simply because it relies on an official modding api instead of having access to the entire code
sure but you can still add integration and bindings im pretty sure which allows java apis to interact with the native ones and vice versa
kinda like node gyp but java if that makes sense
I get you, what I mean is that java being java they get to see and touch every piece of minecraft
whereas with c++ it'd not be possible as you'd only see asm
minecraft with lua modding
it is more work but its not impossible
but yeah for everything else youd need some kind of binding for it
it is impossible sadly, unless they released the source code
because you cant interact from native to java directly of course
from quick thinking they could add some kind of DLL which allows access to internal minecraft apis and structures to an extent
i mean, the shit that mods can do today are so ridiculous it really feels like they are rewriting the entire game without source needed
meant for java x c++
ah the bedrock source
with c++ you get closed doors, modders only get what mojang gives them
thats the only bad thing about it
if modders want more they need to reverse engineer the game and add manual bindings to it
kind of like gta 5 mods
scripthookv
its ridiculous
and of course tons of things break every update
I mean, yeah, there ARE mods for bedrock, but they arent in the same level as, say, Create
well, tbf it's better to use a lower bar like Aether as an example
mooyang
whats the worst performance killer in the java version at the moment anyways
iirc lightning
lack of gpu optimization
did you see the nvidium mod?
rewrites the graphics engine to use nvidia shader cores or what not
fps goes from 90 to 700
oh, neat, didnt know about it
makes sense considering my rtx 3080 maxes out when setting minecraft to highest settings
it only works on nvidia 1060+ afaik
and doesnt even get good fps
poor amd users
sodium alone gives a huge boost too
i'll give them both a try and see how it runs
yes both
is memory not a concern at all in minecraft though? last time i ran a minecraft server the memory usage chart is a rollercoaster
the gc constantly being invoked probably isnt a great thing for performance
eh, depends, it does help if you use shenandoah GC
ZGC is also an option, but idk how it performs on games
yeah ram is a huge concern due to how chunks work
I also recommend lithium and phosphor
if phosphor is still being updated
funny how curseforge started as a minecraft mod listing site, and now it's dying due to corporate greed
whats wrong with curseforge
well, it started when overwolf came
which as you might already know about as a horrible app & overlay platform since they put ads everywhere and sometimes even hinder performance
then the site progressively became worse from all the ad junk littered around and data collection
Starlight is the newer alternative
Most starlight and phosphor features are in vanilla now though
overwolf has ruined everything about curseforge
ads everywhere, 20 pop ups, it feels like I'm on a website for cracked roms or some shit
i havent noticed since i always use adblockers
overwolf has ruined everything
about curseforge
ftfy
name one thing overworlf touched that wasn't ruined
ah yes, they enhanced zgc on java 21
I was already using zgc for most of my projects since they introduced it
yep, if there's one thing that java is unparalleled at is gc
funny that this used to be one of java's major drawbacks back then
you can somewhat mark something to be collected already, by nulling all references to it
whats this gc thing and why does it keep pausing my program
I would like to know how to disable it for Java 1.4.2 and for Java 1.6.0 because we are currently testing both JVM to see which performs faster..
💀
i hope these people arent working on any production projects
clearly dont understand why the gc exists and when is it used
if they set high enough max memory the gc will never be called assuming their task is indeed short and doesnt allocate many objects
and even if it does get called at least your program/task still works and doesnt crash albeit a tiny performance penalty
a common thing to do it performance is paramount, is to set minimum heap size to the same value as max
this way it never needs to increase, thus reducing time spent realocating
Yeah to an extent but usually the compiler/gc is smart enough to know when it’s not used anymore
Because they don’t just use ref counts, gc uses mark & sweep and ref counts
💀 hmmmm… I wonder which will perform better
Technically it’ll perform better until you run out of memory!
for some reason i wanna write a garbage collection mod for c++
no need to delete or free the gc will do that
just overload the new operator
actually that sounds more like a smart pointer if anything lmao
That’s quite literally what Java was invented for lol
i thought it was made to be a simple and portable language
"write once run anywhere" after all
well simple is subjective but portable definitely
Both
The discord.py have pre-made shard service or do i need to use other packages fpr it?
fun
What is android
what is love
baby dont hurt me
It’s just Intellij but dumbed down a bit :c
Just use Intellij
yep, there's very little advantage to using android studio
i fell and nearly got hit by a car
why in development
ok thats insensitive
WHOOPS
i hope you are ok
I THOUGHT THIS WAS GENERAL
i hit my head so im semi out of it
stable diffusion aah image
jk
but the dedication to still be in #development after an accident is admirable
thats something tim would do
The average person would call their family, but not a Discord user
lol
is bot page customization with css still possible?
Yep
This is the funniest shit i've seen all day
is there any example for it (just for easier start)?
It's just css, there are plenty of sources from which you can learn about it
press F12, inspect element, edit css till u like it, copy css properties, paste on a <style> block
would you guys recommend traditional java or kotlin for someone that doesnt really do java for a project
I prefer java
Kotlin feels too weird to use imo
Whatever you choose the performance will be practically the same as both compile down to the same bytecode
However I also vouch for groovy, it feels too good to use if you don't mind losing a little performance (which can be mitigated by using @CompileStatic)
Tf
Srry dan, it pinged u
They called for it
lmao
i did
shut up
It's the truth 
One message removed from a suspended account.
You can't without giving it administrator
Even if you give it like the Manage Channel perms or what not, if someone overwrites that at category/channel level it won't matter
I'd also like to note that giving your bot administrator without needing it can impeed verification of said bot if you want to verify it
ALSO it'll prevent discord verification
Because requiring to be able to see all channels is a breach of privacy
I thought u meant topgg verification
nah
What does math look like at the binary level of 1s and 0s. For example I can do console.log(1+2) and get 3 but if I was using purely 1s and 0s how would this be done? As every programming language eventually becomes machine code (1s or 0s) from my understanding
i believe this is a thing the CPU does
since every basic math operation has its own assembly instruction
I know
I was just wondering what it looked like internally
:p
idk if anyone here would even know the answer to this question but thought i'd ask as its one of my late night thoughts
@shell tundra "You can't without giving it Administrator"
._. so just accept my bot
wah
mwah*
5am rn i need to sleep
Your bot doesn't need administrator though. If someone chooses to give it to you, fine. You can prompt someone when they attempt to use a feature that requires all channels be shown to give your bot access to all channels manually or give administrator. If someone denies giving your bot administrator then that's their choice and your bot should just work regardless with what it's given
Dont request it in your invite url either
I mean the bot
._. Dumb google translator
Yes thats what I mean
Is anyone familiar with an appropriate way of debugging client side errors with minified webpack bundles? 
A few of my users are receiving this error on my nextjs application. Only on 1 route, and seemingly only on older iphone models. But i'm not familiar with an appropriate way of debugging it. I would love to learn how though
do you have any source maps
how can i attach photos to an embed like this for a giveaway command?
using discord.js?
yes
i added my additional IPs to my VPS, but I don't want them to resolve to the same thing as the main IP. how would I go about doing that?
network:
version: 2
ethernets:
eth0:
addresses:
- 45.61.161.223/24
- 45.61.161.167/24
- 45.61.161.241/24
- 45.61.161.243/24
match:
macaddress: hidden
nameservers:
addresses:
- 1.1.1.1
search:
- s10658.advinservers.net
routes:
- to: default
via: 45.61.161.1
set-name: eth0
doing this makes *.167, *.241 and *.243 resolve to the same as *.223, which i do not want
You would use the .setImage() field of the message embed
what do you want them to resolve as then?
if your vm software supports direct access to your network stack, it should be able to get assigned its own ip independently
otherwise you'll need to redirect/forward them
hm ok
creating a test vm now
created a VM and the IP is resolving to the main one so I cannot SSH in

@lyric mountainbro u here?
you'll need to setup a bridged network
as each vm network will need to connect to the main one
removed from netplan and yeah not responding now
can anyone help?
the function withdraw doesn't know what your balance is
none of these will work for me 
oh using vf?
go to the hypervisor
and scroll down
your "main vps" is the hypervisor and the vms inside it are considered vps
in this case
ahh ok
i think i tried that but it fucked the vps's network
how to fix it
had to manually retype the config in vnc lmfao
tell withdraw what your balance is 
Your best bet is to pass your balance into the function as a parameter
nothing worse
so this would become
network:
version: 2
ethernets:
eth0:
dhcp4: false
match:
macaddress: no
bridges:
br0:
interfaces:
- eth0
addresses:
- 45.61.161.223/24
- 45.61.161.167/24
- 45.61.161.241/24
- 45.61.161.243/24
gateway4: 45.61.161.1
nameservers:
addresses:
- 1.1.1.1
- 1.0.0.1
parameters:
stp: true
forward-delay: 0
dhcp4: false```
i think?
idfk
hetzner gave a single command to add the IP 
this isn't hetzner so its not as easy
oh wait is your vps hetz
nah
gonna try this
see what happens
ig im dumb
cant fix it
we use netplan primarily, but in this case you shouldn't need to add all the ips into the interfaces file. You add them in the VF panel under "Connections > Ipv4 Addresses"
oh 👀
yea
vf makes things p easy
Did you assign a Mac addy to the IPs here
i dont think so
the tiny + MAC yea 
got answer too but why is it showing error
ok so like this
yuh
now depending who your primary provider is, depends if you need to assign those MACs onto the IP in the provider dashboard
we only have to do it with RS, the others work without
thats p freaking cool if working
test time
it worked originally but my custom made windows package didn't work 
then i moved from hetzner
o:
💀 sounds p good to me
its time
yeah chance you might need to slot the mac into there too
im not certain what defines if you do or dont need to do it, whether it anycasting network or what
but its p annoying sometimes
How can I convert unicode like 😻 to the actual character
😻 represents "Smiling Cat With Heart-Eyes"
you dont "convert", you just need to encode the string as utf-8
Buffer.from("😻", "ascii").toString()
'�xܻ'```
utf8
also that wont work probably, because you're giving the characters
you need to give the bytes
anddddd how do I do that
basically once you get the corrupted chars, you're already doomed
guess im making a large dictionary to convert it with
https://forum.pianoworld.com/ubbthreads.php/topics/2904611/ot-list-of-all-emojis-for-people-who-need-hands-to-talk.html
U+ is replaced by \u on most langs
the rest is just filling the blanks
copyright for example would be \u00A9
same thing
basically once you get the corrupted chars, you're already doomed
because the chars themselves are also valid utf8 characters
also if you want to make it dynamic, dont use Buffer.from, use ArrayBuffer
as you can pass the bytes directly
instead of going string -> bytes
the one astrid gave was corrupted yes
as I said, the characters themselves are valid utf8 characters
so ur not getting the emoji, ur getting the literal characters
if u want the emoji u need to write in unicode notation
where's this
Buffer.from("\uF09F\u90B1")
wait really? if so it wouldnt yield a replacement character
that's a surrogate pair btw
i dont recommend using surrogate pairs
it'll yield the bytes for those specific chars
try String.fromCodePoint(0x1F431)
like, imagine you have a colorblind friend
very useful
you show them the green color, then you ask them to paint a green scenery
you'll get a grey scenery
also if you want to make it dynamic, dont use Buffer.from, use ArrayBuffer
cut the middleman, if you just want the emoji, declare the buffer directly
yup
interesting
an explanation why this happened:
\uF09F is the codepoint for that weird mango O in ascii
when you try to read that char in utf8, however, the codepoint is \uF078
this is why it's irreversible if you try to re-encode a corrupted char
what? it definitely isnt
it's the start of this block
https://apps.timwhitlock.info/unicode/inspect/hex/1F600-1F64F
oh wait i think you meant utf8 bytes
if there is no way to reverse it
then is there a way to actually convert it in a way
😁 to 😀
why
hold on
Yes 
hm
interesting
@surreal sage maybe String.fromCodePoint(...Buffer.from('😁', 'utf8'))?
Ascii really needs to be dropped nowadays
ð
Sure the dictionary is smaller, but do we really need to save a few bytes?
or anything else besides UTF-8
i dont get how someone found this
the only sane string encoding tbh
Buffer.from([ 240, 159, 152, 129 ]).toString() yields 😁
those 4 bytes are the UTF-8 equivalent of that emoji/codepoint
btw these characters are being given by a llama3 model (and im tryna fix that these characters arent emojis)
just politely asked it to convert the grinning face to such characters and got ðŸ˜
You should never attempt converting one encoding to another
unless you're working in C with Windows APIs being in UTF-16 
or Java with its wacky UTF-8 encoding
Yk, someone needs to slam the doors open, assert dominance and say "this will be the new standard"
Why do we need so many encodings
Windows uses like 9 or 10
just how the hell did he get them
that's my question
They didn't, site encoding is likely messed up
yeah but it's accurate to what the llama3 model gives me
See what's the encoding declared in <head> tag
Or perhaps, this is a restored post
charset="utf-8"
If they didn't pay attention to what the original encoding was, a backup restore can mess it up
Happened a lot on devmedia
Such that older posts are nigh unreadable
For example, if your backup was utf8 but your new database is ascii
i give up 😭
Or windows-1512, which is default in some dbs
Oh I was going to say
there are a lot of them, i dont blame you
1252
All we need is utf8

based
the fact that only 95-98% of webpages use utf-8 is a sin
why is there so many fucking char formats
either ascii or unicode do we need anything else
yes, we need utf8
hey guys, i basically have a login page, that once logged in, redirects you to the user dashboard. How can i make sure that people just won't simply visit that dashbaord html page, but that they actually need to perform the login!
Do you use express?
i am planning to for the backend yeah
You can use a system called Express session
I'll send the code for it in a minute.
you can use localstorage or cookies to keep a user session token (that has expiration)
huh but how would that work?
if when they access it the token is expired or non-existant, simply redirect to login page
hmmm i see!
omg wait that's actually genius
so i assume upon login i save a session key on the database
i save it in my cookies as well.
Each action will go with the session key authentication?
yes
that's how most sites handle authentication tbh
if you peek at cookies there'll always be a session token somewhere
This is how i do logins:
const express = require("express")
const app = express()
const passport = require('passport');
const LocalStrategy = require('passport-local').Strategy;
const session = require('express-session');
app.use(session({
secret: `Code_Here`,
resave: false,
saveUninitialized: true
}));
app.use(passport.initialize());
app.use(passport.session());
// ik its not the smartest
const users = [
{ id: 1, username: '', password: '' },
];
passport.use(new LocalStrategy(
function (username, password, done) {
const user = users.find(u => u.username === username && u.password === password);
if (user) {
return done(null, user);
} else {
return done(null, false, { message: 'Incorrect username or password.' });
}
}
));
passport.serializeUser(function (user, done) {
done(null, user.id);
});
passport.deserializeUser(function (id, done) {
const user = users.find(u => u.id === id);
done(null, user);
});
function isAuthenticated(req, res, next) {
if (req.isAuthenticated()) {
return next();
}
res.redirect('/api_home');
}
app.post('/login', limiter, (req, res, next) => {
passport.authenticate('local', (err, user, info) => {
if (err) {
return next(err);
}
if (!user) {
console.log(info.message); // Log authentication failure message
return res.redirect('/api_home'); // Redirect to the home page or wherever you want
}
req.logIn(user, (err) => {
if (err) {
return next(err);
}
return res.redirect('/api/backend/login/re'); // Redirect to the success page
});
})(req, res, next);
});
app.get('/Header', isAuthenticated, limiter, (req, res) => {
res.render('pages/Header', { Config: config })
})
I see, instead of using something like a cron job, can i rather just generate an expiration timestamp beforehand and check that each time to see whether the expuratuon has been hit?
usual session length is 7 days or so
nah i will make it daily probably.
Just thinking are there any security issues
Like i am likely going to be using mysql
yes, simply create a table with token, user_id, expiration and calls columns
expiration will be creation + length
so if u want 1 day, creation + 24h
refresh it every time the token is used
I'll probably have to make sure that only db request coming from the site domain are allowed, but even then... can't a hacker do mac spoofing
so the user doesn't get logged out suddenly
i see!
postgres please
or at least mariadb
i've never used them
maria is literally mysql but working
One thing to note there is 2 types of sessions, stateless and server-side.
Stateless you can use something like jwt tokens to sign your user's requests. Server-side saves a session token to the db and the client, the client would send that token over the request and be compared against the database.
If you are using express, you can use express-session, which has several store modules to fit whatever database you are using, and even store it in memory if you really want to. I personally recommend this approach over stateless as it has many cons to it.
Cons for stateless sessions? It is harder to invalidate them and quite frankly jwt is not meant for anything long lasting.
Pros? It expires on its own, and its harder to fake them as if you use a secret when signing them unless they have that secret they can't get much out of it.
postgres is a bit different, but not too hard to learn
they all follow sql standards, so queries will be similar
postgres just scales better and has better fine-tuning
the only security issue is if the user runs malicious scripts locally that hijacks the token from the cookies
Pros for server-side is you can invalidate/revoke sessions easier since they get removed from the database and are "expired" immediately. Also allows for easier checks and you can use any storage mode you want with em.
but that's an issue in every site
Quick Feedback should I keep the Text All white or make it responive to the Overall System status?
which is why discord spams your console with warnings
That's a skill issue if you get your token hijaked
try some highlighting color for Ro
idk ur palette
but maybe orange or smth
Hmmm, also suppose the user tries creating an account which holds pretty important stuff, how can I safely do it over the network? By encrypting using a hash function?
addendum, never delete tokens
RoSearcher has an overall Blue, Black And white
if someone abuses your api (like botting), you can identify it by how many times the token was used
cross-comparing with the timeframe
Yeah that’s true! I might do that
tbh do store token creation date
hm?
so you have a start-end period
For this though, don’t I need to create a pool of private keys on both ends of my connection pools?
use a status column
I'll try that
tokens are your only proof if you need to ban someone for botting
And in the site, any keys etc will be shown in the website source code right, if I use env they won’t?
Sorry for the mad questions here but I am new to creating secure sites lmao
You never store it in source
there's no env on client side
the user token should be stored either on local storage or cookie, up to you
there's also session storage, but this one is annoying
it gets cleaned up upon closing browser
Basic session workflow is
- User logs in
- Sever creates a session token and saves any needed data to the session table
- User revisits site, that session token is sent and they stay logged in
- Session expired or they logged out or its been revoked? They see whatever page people see when they aren't logged in
this is my token structure for example
I know, I rather meant suppose that I want to connect to my api, I will most likely use private keys for that. So my front end shall connect to my back end, but how do I conceal the key so it’s not visible
btw, the session token is saved as a cookie in the browser
If users look at the website code
creation and expiration
Unless you put it in the code on the client side
then no
Session management should ALWAYS be done on the server
Even if you are using stateless
But how can I ever authenticate from where my api was accessed? Any hacker can spoof their ip to act like the site..
well, you cant
Good luck with that.
you can, however, get ip location, even if spoofed
That's out of my jurisdiction
Moreover, how can I then use my private keys to conceal and hash passwords etc sent to the server?
if the ip is too far away from the last used ip (or commonly used ips), you can do something
or if the ip doesn't resolve to a valid provider
I see, hmmm
however, if ur going to collect and store ip you need to disclose that
with the "we collect data" banner
Idk it seems sketchy to me suppose I want to hash or encrypt passwords and emails sent to my backend, I need public keys setup on server side which can 100% be seen by ppl. Hence how can I hide those keys? I read some articles about using env
anything the browser can see cannot by any means be hidden
That it hides the data
How do people store public keys then
read the name again
public keys
usually for keys you have a pair
the private key is only on the server
and the public key is available to anyone anytime
whenever a request is sent, the private key is used to validate the public key returned
but this is done server-side
env doesn't exist on client-side, this is specifically exclusive to server-side
since you cant see environment vars from a browser, and even if you could it'd still not be hidden to the user
at the end of the day, just try to keep client-side tokens to a minimum, a single session token is enough
anything else you do on your server, as there you can do your secret shenanigans and nobody will be able to see it
also, I recommend using some formula or reversable structure for your tokens, so you can validate them
in my case I use something similar to what discord uses
unless someone gets the salt (or key) used to generate it, they cant spoof a token
or even use a signature honestly
then you know for sure you made a key
bit unnecessary but its a cool way of doing it
I will just try. @lyric mountain could you test my prototype once it’s done?
I can pay you if you want
Just want to make sure my site won’t be fucked once it’s launched lmao
dont need to be paid, but I'll have to pass, I'm not good enough at QA and been busy with some stuff lately
see if tim or waffle can do it
for slash command options, what is the character limit on the choices provided?
You mean a string option with choices? Names or values?
for some reason a 70 character string is erroring
i figured it was 100 as well, but this one specific name just errors for no reason
as in it doesnt load the options
no actual errors
but when i shorten that specific name, it works
does the name include accents?
no
(4/24/24) 5 PM ET | Host: DollieDearestt, Supervisor: lavenuh, GracefulPeaceOfGrass
83 characters
when i remove the GracefulPeaceOfGrass it works
or shorten it to Graceful
try GracefulPeaceOfGr for a quick test
doesnt owrk
hm, I was considering the issue was ass
GracefulPeac works
thats 75
not only argument length
what is the full command?
/training update <list> <card>
list is just like Thursday | April 24
yeah it seems like its 75 for some reason
well this is misleading then
is the limit for those 75 or something
i might just do the first 72 characters and append "..."
name is supposed to be short no?
well true
but well, yeah ... is an easy fix
ill just do ... because idk how long the name is
it usually is below 75 but it just depends on the username
thanks!
gotta love migrating vps and having to tarball a 50gb folder full of media uploads
lovely
why dont you just stream it over ftp?
remote server only has a 20 mb/s connection
ah
and new server gigabit 🫠
(and i dont know how to do this server-to-server)
like this?
this shit's actually making me crazy
how tf can i make that secure shit align with the above part
yeah i was thinking to change it, but not sure what color though
white seems too much
Also, it might be a padding issue so make sure you have no padding interupting
use an off white color
Something not quite white, but not fully bright like white
i think it;s more because that reliable part is just too big
It looks roughly the same in text
The grid cells might just be too large width wise
or whatever you use
i just used d-flex
<div class = "pt-5 mt-5 container-fluid d-flex flex-row align-item-center justify-content-center">
<div class="d-flex flex-column justify-content-center align-items-center">
<i style="color:red" class="fs-1 bi bi-shield-lock-fill"></i>
<p class="fs-4 fw-bolder">Secure</p>
<p class="text-center w-75 fs-6">
Guardian Bot boasts a plethora of logging and moderation commands, empowering Discord server owners with comprehensive
control and oversight. From detailed activity logs to versatile moderation tools. All to boost more server security.</p>
</div>
<div class="d-flex flex-column justify-content-center align-items-center">
<i style="color:red" class="fs-1 bi bi-star-fill"></i>
<p class="fs-4 fw-bolder">Reliable</p>
<p class="text-center w-75 fs-6">
Guardian Bot is widely recognized for its unwavering reliability in maintaining secure and well-managed Discord
communities. Its consistent performance ensures effective moderation, providing users with confidence and trust
in their server's safety and stability.</p>
</div>
<div class="d-flex flex-column justify-content-center align-items-center">
<i style="color:red" class="fs-1 bi bi-shield-lock-fill"></i>
<p class="fs-4 fw-bolder">Versatile</p>
<p class="text-center w-75 fs-6">
Guardian Bot's versatility shines through with its arsenal of over 50 commands. From auto-mod tools to logging and
leveling features, it offers a wide range of functionalities to suit any Discord community's needs.</p>
</div>
</div>```
the off center 
you are using flexbox
yuh
Well the only thing I can think of is either A. padding issue or B. size issue
aaa im stuck on cat5e cables and i actually have to wait 5 minutes for a 45gb file to transfer to a computer 1 meter away
i forgot to add container to it
afterwards it works lul
is it still off center...
nahhh good enough ig
Also
Definitely use an offwhite color for the text
Don't leave it black
Talking about the one in the image
That looks better
thanks for all the help! I really really appreciate it!!!!
Front end is fun but idk i am not creative enough nor have the experience for it to fully come up with it myself
backend is where my heart really lies..
I suck at frontend as well
Quick question how does the updated page look?
ima be real those logos add nothing to it
i have been told they look good so they are staying.
we found another one that sucks at it 😭
hahahah no jk
what are those random floating blocks
Which is a no go
It's my bots logo
try black with a white outline/stroke
ooo that might look good as well
didnt think of that
Don't ask for feed back bozo if you can't take it
You asked how it looked, I told you my opinion

Go back to stalking another tiktoker
also, the 3 text blocks below, why is the right one justified and the other two centered?
that might be the reason why they are not centered, even if they have the same settings
What..
They are trying to line it up with the image above from what I assume
Centering it exactly where Secure lines up with that small Image ontop of the bg image
i just had to add container and it worked
You were scraping a tiktok page trying to get all the videos
if thats not stalking idk what is

I was collecting data for someone
So, stalking?
fuck off
☝️
or it will make people dislike you more
ya ya
Howdy 
smth like that\
mind if we converse in dms about such topic?
go for it
Also for each page I am working on aligning the objects to not interfere
Right, but even so. It adds nothing to the site, it's just another thing to look at to be distracted by the content of the site. It'd be different if it was aesthetically pleasing to the eye and builds onto the design. Though what you have is just free floating logos. Some company sites make boxes that have floating objects around it with text or what not to give it a sort of ambiance to it and lead you to look at it and read the content (or however you describe it)
lol
hello chloe
am i cooked for googling this
anyone know a good Discord Bot hoster that offers support for custom builds? I'm using pnpm/node to run the bot
novonode
cheap
:)
if all you want is a bot host
though if you want to host other things than just a bot, then get a real vps from like contabo
holy shit novonode is actually so good... how is it so cheap?
Cause its amazing for bot hosting and web hosting and game servers
their vps's are quite pricey but that is because they are quality
If you want more info on it ask @real rose
he's the big dawg
what about hetzner
i've heard lots of devs recommend it as it's very reliable
I will have to move to another server because it turned out that 1TB of bandwith is not enough for my bot 
Unfortunately, it is more profitable to take a server with a larger amount of bandwith by default on Datalix than to buy another terabyte of bandwith
useful for EU servers ig
depending on what you are doing
ig the latency doesn't matter
also novonode isn't strictly a bot host, it offers other services. Which is why its able to make its bot host plans so cheap I think. They can offer the resources at those prices, because its so cheap for them to do so that other aspects of the service probably makes more money. Though dylan himself will have to comment on this as I am just speculating
AAAAAAAAAAAAAAAA
how do i not make this happen.
istg.
idk what the fuck im doing wrong
i commit
i pr to get commit onto release branch
i rebase
wazah
Sorry what???
1tb bandwidth is not enough for your bot?
Is your bot serving nasa’s supercomputers or sum?
Like how can your bot possibly be capped out at sending 1tb of data at a single moment
bandwidth is (commonly) the outgoing data maximum
if your bandwidth is 1tb, you send a 10gb file, you have 1tb - 10gb bandwidth remaining
Exactly, my bot supports over 4,500 active subreddits, which translates into several hundred thousand posts per month
Even if it is a few kilobytes, this amounts to quite a lot of data per month
I also thought that 1TB would be enough, but I will switch to a server that offers 15TB/month and I won't have to worry about it

I know
Still it sounds like a lot for a regular discord bot, but yeah if it’s handling large files I do understand
unmetered
bandwidth is technically the amount of data you can send over your connection over a second or period of time
hence band width
not sure what youd call the max you can send over some time though
metered limits?
but its not like people wouldnt understand you anyways
Sometimes hosting providers say "unlimited bandwidth"
These nomenclatures are strange sometimes
If they do, they likely have a fair usage policy that states it's only unlimited if you're not doing a bunch of stuff
Or that there's a soft limit of like 25tb for example
then you need to provide cause for anything more
I know, I know, but on the other hand, such hostings have very poor specifications, I prefer the limited 1TB to "unlimited" traffic and 2GB of RAM for the same price 
I used one like this before and paid a lot more for less ram and cores than I do now

yeah the correct word should be "traffic"

well, if you mean it being behind, it's because you reverted a commit sometime
I DIDNT
i pushed a single commit
i created a pr to get that commit onto another branch
(both branches were synced before the initial commit)
and wazah
what editor do you use?
vsc (cmd though) for push
gh site for pr
jetbrains ides have a tree view for commits, was going to tell u to check there
but idk if vsc has it
downloading graph extension
anyway, you either pushed with a reverted commit OR you updated the original branch sometime after pushing the pr
no
nuhuh
i didnt
it was a fresh change
i pushed
i pr'd
merged
that's the entire timeline
no other commits
BUT IT ISNT
git says otherwise
BEHIND BUT EQUAL
both branches are 1:1 qua code
i can barely understand this but here are some ss'
see, there's a commit on original branch after the fork was made
i see it
no wait ignore the top part
i pushed that one forcefully
cough
let me just fire up a test repo
ok but why do you bother with the diff status?
my autism
once merged it wont exist anymore
if it really bothers you then nuke dev branch and create it again
im not delusional
the tism is tism'ing
it's not 2 commits, it's the same commit
github diff checker works with operation amount
how many operations would you need to make branch A reach branch B
delete commit (1 behind) -> push commit (1 ahead)
it shouldnt even let you do this
yeah that doesn’t make sense
One message removed from a suspended account.
One message removed from a suspended account.
Your js privileges have been revoked, I demand a js jail role


hello Roosa
greetings
hello development
hello developers
hello developer
hello humans(?)
rust developer != human
frfr
One message removed from a suspended account.

yeah so if anyone was wondering what I was talking about
basically I had a mergeclasses function
which takes in original + extra to merge with
and the merged ones would override methods of the original
and one of the original methods returned an instance of a class
which obviously got replaced by another class, same code however defined in another place
so yes
tl;dr: you made banana not be a banana
cmo banana
where's the banana for scale?
overriding secret class methods is fun
frfr
honestly Symbols are extremely underrated
the fact that 95% of nodejs developers gloss over them is sad
I'm one of those nodejs devs who gloss over them
well, except for all the secret hidden methods, the other purposes they serve are pretty uncommon
i dont usually use symbols either
node uses them everyone in their source
mostly to emulate private class members
The day JavaScript actually adds typings I'm going to be so happy
like this is actually pretty useful
Mmmm typescript without the transpilation step
isnt there a draft for that?
I think so but getting stuff actually implemented is not the fastest
lmao
never seen that before
hacking into the implicit inspector that runs in the repl
That is pretty nice indeed
well, js itself is never gonna be typed, but adding type hints for code editors without breaking the code would be nice indeed
Yeah for sure
i'll be happy the day JavaScript gets decorators
there's a proposal for it, can't wait for it to get implemented
i dont like decorators
frameworks would like to disagree
I'd love if native js type hinting supported old ts code so you'd not have to rewrite anything
yeah you only like tiny things tim
i like buffers and bitfields








