#development
1 messages · Page 112 of 1
Is this quick tickets?
wym?
I meant quick db
This has nothing to do with quickdb so idk why he is asking
I was going to get you a Contabo server for yourself
quick tickets
what is that
probably some github template
Are you obsessed? Why did you do it?
It’s basically a vps where you can host all your projects
okay... and?
Nevermind
XD
lmao
this was...odd
you smoke much but you said little
frrr
Are you from America?
no
yes
Okay and seems disrespectful no?

No
lmao
bro
Do you even know what you just asked?
damn you americans!!

daff is Taiwanese
I was trying to explain what I was saying
And you said okay and

on god
So basically I wanted to give you a VPS
Who said he wanted it
yooo for freee ight gimme it
lmao
Reason I was asking if he wanted it
but
it will cost you your soul
Wait where?
is there something wrong with quickdb
It’s to host your projects
Doesn't he already have a hosting service?
Quickdb has nothing to do with this lol
why is embed builder not a constructor if you already have an embed built
like if i were to construct another one it doesn't like it
Gives away VPS servers to those in need who host the bot somewhere other than a VPS
Quick db though is usually used for testing purposes. Try a db like MySQL or mongo db if this project is something you’re serious about
Too local
what's wrong with local
Can't tell you the amount of people who came here complaining about Mysql and mongo
it's a discord bot
Do you want him to use a vector database?
bro postgres is a better choice over mysql
put in a little more effort for better results
You sure? I’ve never tried it
my SQLite database is quite large and works perfectly fine
I've used postgres for years
very fast
mysql costs money right?
had less issues than with mysql
no
Free
mysql is a scourge in this channel
It is free so long as you have the hardware to host it
Its a cloud based db
I might try it on a project I’m assigned to tonight
If you dont have the hardware to host a cloud based db yourself you will have to rent some out or just buy a mysql instance online
I could ask chatgpt but what are the benefits of using it over MySQL?
don't use chatgpt for sql
You misunderstood the question
I mean ask it the benefits of Postgres over MySQL
This comes from personal experience and what i've seen in this channel
mysql has very badly implemented compatibility with utf8
The amount of people i've seen have issues with it over postgres is insane
We should all work on a project together lol
No
bad idea
lmfao
I know
I'd love to keep the little braincells I have left
THEN there are random transaction issues when in a highly concurrent environment
that's like combining a bunch of people with the smallest braincells to make a team
no way
Why did you call me an idiot
super reactions are the most useless thing discord has added
bruh
bruh
what a waste

why is embed builder not a constructor if you already have an embed built
like if i were to construct another one it doesn't like it
We don't have to if you buy more now 
what
can't find the option
i copied it from earlier
cough
Best VPS providers?
"gives nitro more value"
Hetzner has good value
i've constructed multiple embeds before without issue
Okay what database do you use the most?
Mongo
I see. Cool
Wsg
sounds like a you issue
Was good bro
maybe it's the sandbox site
wrong channel
maybe?
I've never ran into that issue before
NOPE SHHH IT HAS NOT
bruh
never understood why djs devs are so proactive to throw backwards compatibility out of the window
They just like to make breaking changes all the time
i'm going through and making my bot adjust to v14
with JDA we get like, 2 major releases to migrate deprecated methods
all the way from 13.x
That's their philosophy behind d.js
Shouldn't be too long
let color = ((1 << 24) * Math.random() | 0).toString(16); this is probably the issue
With v15 everyone can make a bot rewrite 
message.channel.send -> m.c.s()
i swear if they break absolutely everything i will quit
they will
i'm using interactions
interaction.reply -> i.r
but
i'm assuming that math.random isn't a thing anymore
what happens if two things start with r
then you are fucked
what
Bruh
Math.Random() i think is depricated
You can't be serious
it's not
yes its now m.r

bro what
WTF

bro i swear it told me it was depricated
the math lib will never be deprecated buddy
its a native js function, it aint deprecated at all
lmao
they lied to you
probably because someone lied to them
What you dont?
I install a library to print
I dont like console
npm i is-odd
npm i wetf
npm i is-even
OH FFS
npm i true
I ALREADY DEFINED IT
the saddest part is
npm i is-number
even if it was deprecated wouldn't it still work
npm i is-ten-thousand
why does is-number have 64m weekly downloads
cause you gotta know if its a number
because typeof x === 'number' is actually not quite right
so is it actually a thing people genuinely use
aka
and some other stuff like that
yes
module.exports = function(num) {
if (typeof num === 'number') {
return num - num === 0;
}
if (typeof num === 'string' && num.trim() !== '') {
return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
}
return false;
};
why not just make your own function
because people are lazy
Why make it yourself if someone already made it
Simple things shouldn’t be installed agree?
Wow
makes 0 sense to do it myself when someone made it
believe it or not packages can have dependencies which also have dependencies and so on so you are often gonna end up with alot of modules anyway
yup
yes i know that 🙄
Would you install a package to scape anime data?
if you mean scrape and I was doing something with it, sure
might aswell save some time
What kind of data are you scraping
You know my favorite api
My favorite is the anilist api
tbh
Nice
I feel like I’m cursed in the server or something

I should become a mafia boss
whats this
why
never took flaze for a rust user
Feel like everyone hates me because I have an anime profile picture
rust looks hard
what
I love anime
99% of people have one on this server
thats not why
it's ok tho

@rustic nova Should I change my pfp from a otter to smth else or keep the otter?
animated profile is so cool 😱
You especially cuz
So interesting how big tech is printing money from thin air
stay otter
otter more swa
g
Charging for pixels
ight ima change it
what
Big tech?
wym charging for pixels

Big media corporations like YouTube and Instagram
Gotta look a big deeper
what
But later, I’m getting hungry
ok then
Rust is difficult because it’s different
do you think rust is as easy as javascript ?
then whyd you say the above statement
googoo gaga
Lady Gaga syndrome?

What
you just said it's difficult because it's different
then said it's much harder than javascript
😵💫
both statements are true
rust is much harder than js because js is lazy af, but rust is also difficult because the syntax is much different
tailwind
i am guessing you are a beginner
tailwind has more components
so better for beginners
chakra lets you just build a frontend from figma doesnt it?
I've not used it, I'm trying really hard to avoid chakra so I can get better at tailwind and css but from what I understand its extremely powerful.
the plugin I mean
cost money
i heard chakra is easier cus u don't have to do as much css stuff
Its styled components
I use daisy-ui(styled components) and tailwind.
I would like to use tailwind and tailwind-ui(paid styled components) whenever I can.
too hard
https://i.imgur.com/gZkAObk.png
One day I'll buy it
i hate html and css 😠
$300
whats the point
its a bit different
can't you just uh
no
pirate it?
I buy things

^_^*
i bought them today
tailwindui?
$300 on components
yes
oh sweet, I would be so excited
oh trust me i am
Its a good product
cheaper because uk
I like daisyui, but its a bit underwhelming
great product worths supporting
100%
er
some of them are like rounded-full wow avatar component !!!!
daisy ui looks weird
SO GOOD
lmao
Yeah a bit
specifically the buttons
thankfully they are all styleable
yeah
i am so hyped with this
i am working on a website for the game i work for and using the tailwind ui components
modifying as needed
add page
blog posts
then the cta for the clan discovery
because it is disabled
oh
you need to input a valid invite first
💀ing
i like skull on delete
lol
😁
yeah it has 13k players active rn
its gone down after a ban wave from the spin exploit
13k is a lot
yeah
and the site will be handy
since unverified clans have no promotion method atm
basically yeah
the old version is stil live
but it was controlled by bot
wrong link
the site is all becoming one now
disabled "until further notice"
👀
lol
☠️
nty, I genuinely want to pay for it too
fairs
ty for the offer though
np
its dead
i know
basically what kuuhaku said
@sharp geyser I’m going to try Postgres now
sqlite is better
Too local
no
Isn’t it a single file?
yes
Too local and unsecured for me
sqlite just creates a file yeah
postgres has some amazing plugins making it insanely powerful too
unsecured?
MySQL or Postgres?
Postgres
If you misplace the file you’re toast, SQLite is for testing purposes how I see it

Anyone heard of the new vector database?
Seems complex though
hm
how would you misplace it\
brooooooooooo
how do i move things in next.js
I wouldn’t say that’s necessarily the danger, I think that mysql is just suboptimal in terms of performance and useability
so many random database names lol
That too
my sqlite database performances pretty good
And it gets corrupt easily. I made the mistake of using it in a serious project once
Sometimes data would enter sometimes it clears itself
Idk if it got better though
my database has 20m rows and that has never occured
Good for you
And I’m not saying it disrespectfully
I’m sure I didn’t it’s not a hard tool to use
What is?
what
What is your child
nothing is
Right
With the profile picture change you’ve calmed down
Ah I see
but I've never heard of a sqlite database easily corrupting
so i'm assuming it's something you did wrong
I’ve used it in 2 projects. Both were the same. But as I said I might’ve gotten better
They got corrupt after a lot of data transactions were going on
your database is conformed to how much you can read and write to the disk at a time

whats a lot in this case?
me accidentally unmounting /var/database
me accidentally deleting my sqlite db file
For me it was 1000 transactions a minute on average
But it works for you which is good for you
1000 trans/m is absolute nothing
Yeah pretty much any reputable db should be able to handle that with ease
Unless it was 1000 transactions per millisecond 
1m per second, still within the safe margin
Even on a slow disk that shouldn’t happen
my db on a cheap asf vps can handle 5000 a second
I even mistaked it for being a higher workload
Idk but
I’m good with my current dbs
Plus Postgres that I will try later
Even a DVD burner can write data fast enough to handle 1000/min lmfao
He’s funny but I wouldn’t side with pretty much anything he says 💀
I’m not afraid of persecution
How about his business advice?
inb4 “I graduated from university. Hustler’s university”
brotha he runs a pyramid scheme that people buy into, I ain’t tryna cop an FTC violation
I made 3k in 5 months it’s taking some time but I trust mr Tate
He’s rich, sure. But can everyone do it that way like he claims? Nah.
Wow
Revenue or profit
(This isn’t related to development but no mods and nobody else is typing so w/e)
I was doing web development stuff in their computer science course
Customers and that
Pretty slow to make gain but I trust him
That’s basically just learning how to freelance web development, I don’t think that has anything to do with “his” business advice
How to get customers
Are you saying he’s not intelligent or has any good ideas?
Someone’s going to call me a meat rider anytime now
I’m not saying he’s not intelligent, I’m just saying that I disagree with most of what he says
I can get that
Pretty difficult people who truly disagrees now because some people are just afraid to support
I’m sure he’s got some knowledgeable stuff somewhere, but I think of him more as someone who’s funny to watch out of context and nothing more
About his advice for men?
I haven’t heard him talk much about that sort of thing, but I doubt his takes differ from Andrew
They are the same you’re correct
Anyways I don’t feel like getting banned today
So let’s move on yeah?
You wouldn’t get banned, we’re not arguing, but yeah we can move on
Trump or Biden?
Too political to get into
why cant it connect to the mongo db ?
That ip looks odd
Also @topaz terrace, ip leak
Check whether you typed the address correctly on the connector, also see if ping works on it
oh
what u mean ping works on it
i would have to restart the bot again to make it work and doesn't spit out mongoDB errors
you were farming votes
its not me thats why im asking
Whoever was farming votes
/vote command should be allowed right?
It is but I think there is limitations to what you can do with votes
okay
ayo guys , i wanna know smth . so i've voted from like 12 accounts to a bot and i got message saying that i've voted too many from this ip .
is this problem gonna be solved after 12h ? so i can vote from 12 accounts again ?
That is the message of the user that admitted of vote farming
you're not allowed to use alts to vote for the same bot multiple times. That's why you're getting that error
And that is a TL;DR of the reason of their ban
Sorry can you explain in more detail I dont quite understand
someone used multiple accounts (all coming from that same person) to vote for the same bot. this is inorganic voting and alting (using a different account for self gain)
chad 🦜
anyone know a bot that can give you instagram notfications?
no
try pinging that address + port to see if it reaches
if it does work it's likely a configuration issue
Does Node let a script run before module.exports is activated?
Like
const dependency1 = require("aeronautical-engineering")
(() => console.log("Hello world"))()
module.exports = 49```
Would hello world run before it exports?
Ima just use a promise
yes
New issue
sudo n i lts did install node v18
but node -v shows v12
hash -r did not work
You have two different conflicting Node.js installations, uninstall the previous one
And I'd recommend using https://nvm.sh/ over n
ty
I got a question
Is it possible to make a help command such as /help command:
So you can get information one just one command by defining them seperately and if not it will send my default embed of all commands?
Yes
How? I am so confused. I know I would put the embed with all commands as else
Same as regular text commands. You put them in a collection and then you just search the collection for a command by its name and read, for example, its usage
Or a description, depending on what information you are interested in there, but of course you have to put it in this command first
I found a way of doing it, thank you. I am working on inputting the description now.
Good luck then
anyone know why Im getting the "ffmpeg/avconv not found!" error and all the answers on google say to just "npm i ffmpeg-static" but that made no diference. the code worked before on my old server and was just moved over, same d.js version and node version and all the same dependencies are installed.
using the latest version of Raspbian on a pi of that helps
You need to install FFMPEG on your raspberry pi
how would i install that
Detailed documentation for use of the python pirecorder package.
ah nice
are you adding them as seperate rows
iirc they have to be seperate rows instead of multiple in one row
like this
This is usually due to the bot not responding to the interaction in 3 seconds
Yes, but that doesn't solve the problem. If your bot needs more time to respond, consider using interacrion.defer() and then editing the response
you can't defer the modal
it works on everything afaik
ChatGPT can generate windows 95 keys (albeit most are probably invalid)
Why having GPT generate a key when the algorithm they use it not rocket science
First 3 chars can't be 333,444,555,666,777,888 or 999
Then it's just a mod 7 check for the last 7 digits
Can generate keys on your own with that
So 1111111111 is for example a valid key
Or 0000000000
clowniest license checker
first off chatGPT shouldn't do that. usually when i tried it has a anti-piracy statement
Not necessarily
This can also happen when the user already removed/deleted the initial response
Keep in mind the initial response can also be the deferring itself
User can delete the "Bot is thinking..." message which results in you can't respond to this interaction any longer throwing this error
The error is the same for multiple reasons
As well as not responding in time as you got told already
The try catch clause will only work as intended if you await the promises inside
or use .catch() instead
Always ways around it
Will the speed change alot if i use a rest api made with rust instead of express
@grim aspen You can get around it as long as you dont ask it to specifically generate a key
the major bottleneck for apis is the network, not the backend
Well it will be a vps
Those have reliable network speeds most of the time
the answer is still the same
also, rust performance will depend on your coding ability
the best python code will definitely be faster than the worst rust code
anyone know why my bots audio will cut out for no reason after anywhere from 30 seconds to 2 minutes of playing?
only the audio stream gets nucked idk why
im just using d.js voice
bruh cant seem to find a way to detect the audio dropping out
Idk… python is pretty ass
(But yes you’re correct)
You just have to be absolutely incompetent to write rust code that is slower than python that does the same function (without using libraries)
player says its playing
connection is still connected
no errors
bot is still in the vc but with no green ring
connection also isnt idle either
no idea what is happening
anyway its almost half past 1 am and thats not good
gn
also one last thing
lmao
👀 havent you had this issue for the past 6 months+?
and didnt you determine it was your internet?
update your discord.js voice version to anything greater than 0.14
0.14 or 0.13 had issues where the connection got destroyed after a certain time because of voice gateway changes
I regularly update my deps for this exact reason

@neon leaf I need help again (sorry for ping)
@unkempt ocean i need a help why i can't add my server in top.gg?
I completed all steps still it saying " your server has not been published yet"
What did you do again?
Nothing
Just forgot to fucking open the ports on the firewall

bruh
cause apparently that helps
Anyway I can get any notifications of emails using mailcow?
you mean if you recieve one? thats up to the client you use, I wouldnt use the built in sogo since I dont think it supports notifications, use something like a full on nextcloud or just gmail
Any tutorials you know for setting up nextcloud or gmail?
with gmail just add the credentials and youll recieve its emails, nextcloud is easily installable with docker compose, just look for a nextcloud docker compose
Alright
can i ask about network issue here
Sure why not
why does my computer's wifi disconnect from the network I'm connected to when I download something with a large file size?
Your wifi being overloaded
oh
This or your WiFi permanently disconnects and connects again (without you noticing it)
For example when the router is changing the transmission channel or RADAR being detected etc
When downloading a file then meaning you would need a consistent connection you will notice those disconnects
You can also check for for the connection stability and strength
Could be possible your WiFi connection isn't good/strong enough in the first place
how?
Either caused by being too far away from the access point or the router simply is shit
im using an extender
prob my extender is simply shit
By sending a post request to the topgg api including the current server count
For More details check the pins in #topgg-api
Generally an extender is always trash tbh
An access point is always the better solution
Which shares the exact same network configuration and uses meshing to share and manage connections
oh
In your case the pc might try to switch between your routers WiFi and extender WiFi
ohh
Does the extender use the WiFi SSID (name) and password as the router?
it uses other SSID but the same pass
When hitting the WiFi button and selecting your network, is connect automatically to this network, checked?
what
This
Clicking on WiFi to select a network of the list of available networks
it auto connect
it auto connect to the extended network but not the router
Clicking on your network a checkbox will show up saying something "connection to this network automatically when in range"
Ah ok
where's my network a checkbox
Well if auto connect is enabled then it's ok
ok
Going into the windows settings you can see the bandwidth available to your WiFi extender
oh
How much is it?
this?
No there should be a list of details like the mac address etc
Including this information
Ow
Yeah well the extender really isn't that good if only 72Mbit/s of bandwidth is available
(max)
oh
Now if multiple devices might get connected to it the situation becomes even worse
oh
Is the extender connected via WiFi or cable to your router?
via WIFI
👀 Thats not enough for a single 4k video
Well so it probably only has 1 available network antenna/band which means it divides the available max bandwidth by 2
If you have the possibility to then use a lan cable and connect it to your router directly
i dont have one
Well cables even long ones only cost a few dollars
An advanced WiFi access point with dual band costs a few hundred bucks
but i will have to find a store to buy it
theres not really much technology in my country
ye
i dont have a credit card
looks like i have to reconnect to the network everytime
or i can use my phone personal hotspot
it doesn't have unlimited data tho
I mean if there's any like pc or phone shop or electronic store in your area I wanna guarantee you they have lan cables they sell
In the mean time you will need to reconnect every time yeah
when downloading the file via an torrent it is kinda fast for a 11gb file in my opinion but i have to reconnect every time
Make sure only the pc is using the extenders WiFi not other devices like your phone, too
Or things won't get any better at all
my phone uses a data plan
oh
my main router has my family connected to it
the problem is with the router and extended network
its simply shit.
Everyone using the internet and WiFi at the same time will also limit your bandwidth and connection stability very much unless the router is pretty expensive high end device
oh
Yeah pretty much 
👀 I miss the days that was considered really good.
oh
its is totally good in my country
theres no 300 mbps network if u dont pay much
I remember jumping up and down excited to have 10Mbps down, having the best internet out of everyone in my friend group so I could host game servers
True
30 mbps is 34$/month here
but openreach never turned up, when my road was built they decided to fill the spare space in the drain pipes with debris and dirt because they are genius so they have to dig up my neighbors drive today to install the wires 
about the same here tbh
That's pretty expensive yeah
180mbps is like 129$/month
ah, thankfully its less linear here
900mbps is £43 a month in the UK
With a available bandwidth like that it's not even worth to buy a better router or WiFi extender at all
oh
it gets progressively cheaper the more you buy here.
so 30 up/down is like $30
300 is $50
500 is $70
1000 is $90
Very pog
The cable still will prevent WiFi disconnects as you don't have to use WiFi for the pc any longer
It wasnt always like that though
mbps*
oh
sometimes the price goes higher or lower?
It was like $160 for 200mbps maybe 5 years ago?
wait
If I could only get the full duplex speed for the uplink
The city near my town has been growing rapidly, so I think thats changed my internet pricing a lot as it gets closer to me.
wow
even my school network is better then mine
its like 200 mbps
but it blocks some certain websites and apps
vpn time
Im stuck to max 50 Mbit/s upload
I conveniently get more than I pay for.
https://i.imgur.com/iMyQHyd.png
(I'm uploading stuff rn)
but I pay for 300mbps, getting 373 right now
I'm limited to copper instead of fiber which sucks
But yeah as we can there are places that are much worse 
is internet at the uk or us expensive?
Well still have 1,15 Gbit/s downstream but just 50Mbit/s upstream max
or is it cheap
I'm in the us, it really depends on location
Idk I'm not from the uk
oh
uk its cheap
my router range is so bad
Thats always rough 😦
cant even reach the upstairs
I drilled a hole in my floor to run an ethernet cable upstairs
👀 one of the best investments
Most provider routers and even middle range budget routers are completely trash
cheapest plan
👀 thats not bad
ta hole
I hate how internet plans are contract based.
oh
Its not like you can switch often
i mean
my 20mbps network is going to expire next month or something
Tf are those weird speeds anyways?
thats the average
132, 264...?!
lol
125 250 1gig
next month
what the actual fuck
Maybe cheap in uk
not necessarily other countries
very good for that price tag
But like I said compared to Jade's internet I'm okay with what I have 
Could be worse as we can see
fineprint everyone, fineprint
Yeah, but 2gbps for that price
i would like to stick to a plan that's about 20$/month
IF there's even FTTH in your house available
in my country i would have to pay about 40-50 dollars for 100mbps
that's humongously expensive converting to my currency 
how to not get caught using the school staff network
tor, but you'd virtually have no internet with it
Don't tell anybody 
they have good IT department
they can track me
How would they do that?
Unless they can identify your MAC address with you as person i doubt
Let me guess, you login with your school's username and password into the WiFi like the average schools

no

awesomely slow I guess
Reminds me of the old days in the fields
oh
You should probably try to get into your neighbors WiFi
Might be faster 
if there's any
Nah my schools wifi/server is interesting it can easily be breached yet it done different ways on every computer but one thing gos wrong it's in bitlock recovery mode
there is
Wait are we allowed time submit the same bot more than once or no?
what
If they reject your bot, yes, you can submit it as soon as you fix the problem for which it was not accepted
If they reject your bot for the same reason 3 times, you will get banned for not fixing the bug
And you won't be able to submit any more bots from that account and probably from any of your alts
me when I do a proper folder layout 🤩
Woww
I can't tell if my bot has been declined or not as I can't find it
Can't find it that's the problem it's so long that I can't even use any screen sticky notes
This bot submited on April 10th has not yet been reviewed
You have to wait a little longer
Is it storage? I'm not a qualified expert
Is there a better way to do? ```js
Hello${x ? " world" : ""}
Thank you for your help FaKE And NyNu
(stalled 4 times already)
🤓 🤓
chatgpt retarded
💯
I keep screaming at it "no variables" and it just says fuck you and does it anyways
? indeed
const numbers = [1, 2, 3, 4, 5];
console.log(
(n => [...numbers, ...n > 5 ? [n] : []])(6)
);``` or something
No silly words please 
if you insult the ai enough, it'll get you back 
SyntaxError: Error parsing /home/runner/EducatedMiserableClasslibrary/package.json: Unexpected token } in JSON at position 606
unsure what's causing it
A } too much
or a trailing comma
Trailing commas are chad






1 million per second???


