#development

1 messages ยท Page 305 of 1

frosty gale
neon leaf
radiant kraken
neon leaf
#

void* everywhere

frosty gale
#

ive went back to c++ recently for another project and i really did miss using raw pointers

#

its like a drug addiction i know its bad for me but its just too good

radiant kraken
#

void* my beloved

#

everything in existence can be boiled down to just 8 bytes

neon leaf
#

on linux atleast, you can usually use the top pointer bits to store data without issue

#

because the kernel has a ridiculous number for its memory region on 64bit

radiant kraken
#

that's crazy

neon leaf
#

ah yes 2 entire unused bytes on pointers

#

cpus natively support tagging 8 bits afaik

#

so you can even retrieve tagged pointers' data without needing to untag them

frosty gale
neon leaf
#

i mean yea memory allocators often use it

frosty gale
#

petition to change pointer size to 6 bytes

#

im sure this will go down well

neon leaf
#

definitely wont lead to unaligned accesses

frosty gale
#

intel and amd will have to change their cache line size to 66 bytes i think its a net good imo

#

ignore any other use case

neon leaf
#

might aswell call them 48 bit processors

#

x86 already so bloated why not improve unaligned accesses tbh

rustic nova
#

its that time of the year again

#

i hope whoever invented npm and the whole npm package thing

#

go to hell, hope your pillow is always warm, you'll always wake up sweaty, may your sleeves fall into water while washing your hands, may you forget to get your pizza out of the oven, and several other unforgivable things in humanity

#

whoever made that shit should never touch technology

#

go touch grass, that shit is more simple than whatever node_modules shit you invented

#

literally cant even get a proper, non buggy foss approval with another stupid library needing to update their readme and cause a whole fucking rebuild of their shitty little library that does something in 2-3 lines

#

stupidest invention

#

I've been spending like a year or so getting a proper pipeline to work, only for npm to take a shit on that

#

and its not even python, i love poetry, poetry is to fun to work with, do it once and never again

#

nah npm literally makes it depending on the alignment of cloudflares fucking lava lamps

#

enough rant, thanks for listening, but does someone have any idea how to handle this?

#

has anyone tried pnpm before

neon leaf
#

yes i use it on all my projects

rustic nova
#

probably my go to then

#

pnpm is already selling me on the autoritative pnpm-lock

#

than a package-lock.json that changes on a single node version bump

frosty gale
#

just accidentally clicked "stop" on the company's central IIS instance (rich mans version of nginx) which also stopped all sites running under it, oops

#

why in the hell is there a central kill switch with no confirmation that looks exactly like the one you use for a single site

rustic nova
rustic nova
#

we use nginx

frosty gale
#

sadly at our business we are riding microsoft so every single server is hosted under windows server and IIS

#

though IIS has a somewhat cool feature where apps written in dotnet and asp.net can hook directly into the IIS instance which IIS then manages and listens for requests directly

#

and if you're low on memory it recycles the instance by shutting them down and starting them up when a request arrives

#

i have mixed feelings about it though

#

i have yet to see an asp.net app use less than 100mb of memory when running a hello world

rustic nova
#

used iis at work once, though was php lmao

#

im glad we use nginx though, less bloated ngl

stark kestrel
#

using iis for anything else than .NET is crazy

rustic nova
#

im aware

#

is there anyone here who does professional dev work including getting software through a FOSS approval process?

#

Definitely not asking for a friend

rustic nova
neon leaf
#

@frosty gale send a way to sponsor u โœ๏ธ

radiant kraken
#

jokes aside thank you sooo muuucchhh!!

#

โค๏ธ

rustic nova
#

I have to deal with the licenses approval shit

#

thats more pain than to code it

past charm
#

Hey, I want to ask what are the message types in the bot, such as buttons.

deft wolf
#

Button is not a type of message, it's a component

past charm
#

Oh, thanks for the info, what components are there?

past charm
crisp trout
#

Across dashboard / bot 500commits

#

rbac done finally

spring hemlock
ivory hawk
spring hemlock
#

never mind i may have figured it out

ivory hawk
spring hemlock
#

Yeah Iโ€™m having trouble with it posting to my server for some reason

#

Canโ€™t seem to figure it out

#

Iโ€™ll figure it out eventually

spring hemlock
#

i got it ot finally post in our voters channel, but when the embed gets sent I can only see their user ID not the actual display

#

thats a code on my end

warm canopy
#

Is the user cached

warm surge
#

itโ€™s temporary cache

spring hemlock
#

yeah there were some lines i needed to add

craggy pine
#

If you use component v2 it gets around that a bit better. Now of course, if the user isn't in the server then you it wont be proper either.

spring hemlock
#

So is everyone taking the entire index and building on it or only taking what they need?

#

I took this embed idea from I believe itโ€™s Mr wooโ€™s project, top gg webhooks

craggy pine
#

I've just noticed with components I don't get the cache thing or atleast I haven't ran into it yet.

#

Because it actually pings the person which I'm certain you can suppress it.

spring hemlock
#

Could you send an image of what it looks like for you when someone votes

craggy pine
#

I dont have a vote image but I can show example of a component

#

But you just build the component the way you want. You just can't inline like how embed fields do which I kinda wish we had with these.

radiant kraken
final gulch
#

Hi

teal kelp
#

Was there ever a time where you just scraped a project and restart everything Because you didn't like it

real zephyr
#

@pliant gorge

teal kelp
#

I'm talking about a Discord bot

lament rock
#

Ive ported my bot from js to ts which essentially required a tear down of everything, some copying because the functionality has been great

#

Just different project organization, libs, etc. Used to use discord.js as well and now it uses the raw api

teal kelp
#

Half the commands are made originally broke So I'm currently doing everything

rustic nova
#

hoping discord doesn't accidentally ban that lol

frosty gale
#

fun fact, gcc seems to only turn a switch case into a jump table after 5 or more cases (at least in my environment where a case is just a < comparison depending on datatype but results may differ)
otherwise it just turns it into traditional branch comparisons

4 switch cases

        mov     rdx, rsi
        mov     esi, DWORD PTR [rdi]
        cmp     esi, 2
        je      .L2
        ja      .L3
        test    esi, esi
        jne     .L4
        cmp     edx, ecx
        setl    al
        ret

5 switch cases

        mov     rdx, rsi
        mov     esi, DWORD PTR [rdi]
        jmp     [QWORD PTR .L4[0+rsi*8]]
.L4:
        .quad   .L8
        .quad   .L7
        .quad   .L6
        .quad   .L5
        .quad   .L9

just a random observation

neon leaf
#

makes sense

frosty gale
#

clangd only does it if its 4 or more cases

#

so if i really wanted to force a jump table in gcc i'd probably have to do a decoy branch that will never execute

radiant kraken
#

interesting!

teal kelp
#

Thick it's probably gonna take me a few weeks to a month to rebuild everything

frosty gale
neon leaf
#

dont have another person to give 100โ‚ฌ to

radiant kraken
#

๐Ÿ˜ญ

#

you are so generous topggSob

scenic adder
#

Gosh why are so many people getting denied or banned

#

What is going on...

deft wolf
#

You mean here? It's pretty normal

#

Also reasons are public

frosty gale
frosty gale
#

invest it in crypto and become a rich man
-# โš ๏ธ This message is for informational purposes only and does not constitute financial or investment advice; cryptocurrency investments carry a high risk of loss and you may lose some or all of your funds.

neon leaf
deft wolf
#

Bet on red and multiply it good_think

#

This way you can give 200

frosty gale
#

chatgpt is getting ads on their free plan

lament rock
#

oh no whatever shall I do with my ublock

vivid fulcrum
#

can't wait for all these companies to go up in flames. we will end up running models locally

#

i mean we already do, sort of

#

it will just become more mainstream as time goes on

neon leaf
#

new rack almost done ๐Ÿ™

crisp trout
#

holy looking sweet

#

what sort of hardware r u running

#

freaking look sweet

neon leaf
#

Ampere Altra Q80-30 with 256gb ram
AMD EPYC 7443P with 512gb ram
AMD Ryzen 9900x with 96gb ram

warm canopy
#

About $5million worth of ram

neon leaf
#

bought the ampere ram during the shortage for just 400โ‚ฌ

#

(1 month ago)

warm canopy
#

I am very much on the hunt for 2nd hand DDR5 but people are now wise ๐Ÿ˜‚

neon leaf
#

yeah ddr5 I'm not even gonna try

#

wanted to upgrade the 9900x to 192gb but waited too long

crisp trout
#

I want to pickup a cheap server to first give it a whirl and just mess around on it

warm surge
#

bro

warm surge
crisp trout
#

hell nah

#

my current server is much stronger than that lol

#

I want a new server which I'll use as staging

frosty gale
#

i bought my ram for around $100 now its worth around $300 and its only ddr4 lmao

crisp trout
#

hah

#

biggest investment

frosty gale
#

i thought things get less expensive as they age but not nowadays

crisp trout
#

yeah apparently no

frosty gale
#

stonks

crisp trout
#

even apartments (not relted to here) go for crazy amounts ๐Ÿ™

#

noooooooooo my onboarding flow is broken, when I implemented RBAC

but fresh users servers endpoint is empty so loadMyPermissions is never called

#

๐Ÿ™

neon leaf
#

idk why but Apartments in my town are so fucking cheap

#

350โ‚ฌ/month warm

warm surge
#

HOLY SHIT

crisp trout
neon leaf
#

ohh my days look at the "almost"

neon leaf
crisp trout
neon leaf
#

hm?

crisp trout
#

So when you buy an apartment e.g. they give you a price 180k euros for 80 m2, so that would mean it's 2250eu per m2

#

hope that makes sense ๐Ÿ˜„

neon leaf
#

well, on that apartment it's 2โ‚ฌ/m2 for cold rent

crisp trout
#

yes but renting

neon leaf
#

you can't buy it

crisp trout
#

okay but in general to buy an apartment

#

how much is the ~e/m2 aprox? here it's 2.5k

neon leaf
#

can't really give a good number, there's only one buyable apt currently and it's a luxury one

crisp trout
#

ah fair

eternal osprey
#

hey guys

#

does anyone know a database that has active, online sites that have credit card skimmers, or skimmers in general? This is for research purposes, i need it for my thesis for training data as machine learning input.

crisp trout
#

what, I am sure this is not for here, and breaks the rules both Discord TOS , and Top GG rules.

eternal osprey
#

no it's for my research

#

i am doing research on skimmers and need to have training data available.

#

sites need to be online as i need to infer contextual features

warm canopy
#

I don't think you'll easily find a dataset for that..

eternal osprey
#

think about script source and origin etc

eternal osprey
#

you can look at the inferred injected code but not the contextual features that i need as an addition.

crisp trout
#

Although I don't think you want finnancial gain still agsinst TOS

#

I get the idea, but I don't think you'll find results that easily.

eternal osprey
#

bro what are you talking about

crisp trout
#

The thing you want to research on you won't be able to find results that easily.

eternal osprey
#

i don't want to make a hack or something, i just need some sort of database of known scams lol

#

it's for my thesis

crisp trout
#

I know I know, I understood after I re-read the message ๐Ÿ˜‚

eternal osprey
crisp trout
#

Exactly, offline.

eternal osprey
#

so maybe i can use the wayback machine to get the contextual features or something?

crisp trout
#

Probably, maybe also reddit's cybersecurity sub-reddit might have some info

prime cliff
eternal osprey
#

i swear i will kill myself

eternal osprey
prime cliff
#

Or just get banned from Discord

eternal osprey
#

how is a public list created by researchers of known malicious urls illegal?

#

It's for research purposes.

#

i knew some guys in here that knw a lot of cybersec so figured to ask

prime cliff
#

You really think joining communities to ask about skimmers is ok?

eternal osprey
#

Bro what

#

@frosty gale what did i do

eternal osprey
#

I know some guys in here are into cybersec, this is the development subchannel, this is about developing a machine learning model.

#

i didn't ask:
someone please tell me how to make a skimmer. I asked for a publicly known database of malicious urls for training data.

prime cliff
#

Why does your thesis need illegal websites in the first place

eternal osprey
#

Aye you're trolling lmao

#

shit you got me

#

ragebait final boss

prime cliff
#

Also confused what you mean by skimmer anyway because they are irl scam devices not websites

eternal osprey
#

Okay now i know there's just a knowledge gap.

prime cliff
#

A form of white-collar crime, skimming is taking cash "off the top" of the daily receipts of a business (or from any cash transaction involving a third interested party) and officially reporting a lower total. The formal legal term is defalcation.

eternal osprey
#

skimmers are injected code that reads forms for private info. They are running cient-side. Mainly used in ecommerce platforms, login forms etc.

#

e-skimmers bro

#

MageCart and WordPress usually get hit by that

prime cliff
#

So write about that then

eternal osprey
#

Yeah but i need a database lmao

#

of known historical e-skimmer frauds.

prime cliff
#

And how wordpress, plugins and vulnerabilities are bad

eternal osprey
#

I want to make a ml model able to detect skimming. Need a lot of training data for that though.

#

I have found a solution though, i can use abuse.ch for that.

#

They got a public researching database, i can basically infer some features from the injected code dispalye

crisp trout
#

and wayback and gg

eternal osprey
#

damnnn!

#

much love broski

crisp trout
#

yes yes i know obvious no need to troll me lol

eternal osprey
prime cliff
#

You can't really fully detect that since a server can just hide what it's doing when you use apis, javascript and php sure can

eternal osprey
eternal osprey
#

They inject code. That injected code can be seen in the devtools.
Usually outbound fetches, obfuscation etc.

prime cliff
#

In js php yea

eternal osprey
prime cliff
#

Malicious ads also can

eternal osprey
#

no?

#

i mean not in terms of forms

prime cliff
#

Yea websites that have malicious ads can be hijacked depending on how secure the ad network or usage is

#

Especially ones with fake popups and new tab opens

#

You have a really weird thesis tbh even if it's cybersecurity

eternal osprey
#

ngl all you just said isn't correct. It could be coming from the ad network indeed but that's likely going to be google. Injected code is almost never possible as the ad's are sandboxed to only be an image/gif and are sanitized on input.

eternal osprey
prime cliff
#

They wouldnt have you try digging this up more of writing about it

eternal osprey
#

heh?

#

i am excited for this thesis tho, gonna be lit.

#

Got a bunch of work to do though

vivid fulcrum
#

I watch a few videos here and there, guy knows what he's talking about

eternal osprey
#

i definitely will, cybersec is really fun man

prime cliff
eternal osprey
crisp trout
#

wait, but can't session hijacks happen via ads/extensions as well?

prime cliff
#

Yup

crisp trout
#

or not related? but fairly sure it can? especially if saved cards are stored in a cookie?

eternal osprey
#

or maybe they can though.

crisp trout
#

I'm trying to understand more, and seems like a nice convo to learn more

prime cliff
#

Google ads sure are sandboxed but not other ad networks to that extent

eternal osprey
prime cliff
#

Also chromium just had a zero day exploit announced today too with js

eternal osprey
#

it's also iframe isolated.

crisp trout
#

but wait, e.g. worked in a gaming mobile company which published games, they used publishers, and they define what ads are shown in the html5 playables

#

this is mobile but still.

prime cliff
#

Patch now, another new zero-day exploit was just found in Google Chrome, Microsoft Edge, and other Chromium-based browsers.

Zero-day means it is being actively exploited right now. So you'll want to ensure you update now to at least the versions below depending on your OS. The vulnerability is CVE-2026-2441, and it's a "use after free" memory ...

โ–ถ Play video
crisp trout
#

if an ad is a html5 playable it renders directly in browser which would mean a card saved in a cookie/session can be hijacked as well, my logic might be flawed but ye

eternal osprey
#

the iframe is cross-origin

crisp trout
#

e.g. you say google admob's is sandbox, but what about unity, meta ads etc.

eternal osprey
#

meaning it has its own local data and cannot access other sessions.

crisp trout
#

yes but other publishers ๐Ÿค”

prime cliff
#

It also depends how secure a website implements cors and hsts (strict transport headers)

eternal osprey
#

ads are always inserted as an iframe right? as a cross origin source.
Cuz of that they have their own session, storage, cookies, etc.

#

They also cannot access the DOM.

crisp trout
#

depends on the ad

#

or ad publisher

eternal osprey
#

Nowadays safe-iframe is being used as a main way to insert ads.

#

Although it depends heavily on the provider. Sketchy ones could load using script tags.

prime cliff
#

There's also shadow dom which is like iframes but not external websites they are embedded html with their own dom/security

eternal osprey
#

damn i read that wrong, shadow dom haven't heard of that.

#

That's sick though.

crisp trout
#

actually this turned into a decent conversation lol

#

from one way to another ๐Ÿ˜‚

eternal osprey
#

hahahha fr i like it

crisp trout
#

same lol, turned into a much more productive conversation than expected

prime cliff
#

Yea my bad i though you were on about buying card skimmers or something lol

eternal osprey
#

no it was for my research

crisp trout
#

i mean the initial message did kind of sound like that, that's why I reacted the similar way, but still

eternal osprey
#

yeah i worded it a bit wrong.

#

E-skimmers are genuinely sick tho

crisp trout
#

I am curious though, it can be a potentially good extension

eternal osprey
#

interesting. They inject code in a site and lurk on forms.
They usually then send it to an outbound serer that logs it.

crisp trout
#

I mean it would function similar to those roblox scams, I've seen, when they click verify and then go to the landing page which has a "iframe" loaded to look the same as the roblox login, as soon as they hit login it gets sent to a channel.

prime cliff
#

The roblox scams use another trick they use bookmarks as javascript reference which browser for some reason allow

eternal osprey
#

exactly, but now the scary part is that these forms are loaded in on a legitimate website

#

under the same domain and ssl

#

usually the fake roblox sites are just sketchy overall.

#

These skimmer sites appear exactly like the normal site, nothing changes in terms of UI..

crisp trout
#

so they tell you to verify you click on verify it takes u to some bot landing page (which is a clone of the legit bot), then they prompt you to login which opens an iframe with the same design of the roblox landing page but in an iframe and the domain is different, but since in iframe you can't see the domain lol

prime cliff
#

Yea phishing basically

crisp trout
#

yeah

prime cliff
#

And ones with fake popups and fake url bar

crisp trout
#

finally guys finally

eternal osprey
#

the bad part is that most of this code is obfuscated tho

crisp trout
#

it is done, the merge tag panel is done\

eternal osprey
#

so you can't read shit

eternal osprey
crisp trout
#

imma cry I'm so happy that I finished it.

eternal osprey
#

btw that site you gave me was sick. Exactly what i. needed broski

eternal osprey
crisp trout
eternal osprey
#

for the frontend yeah

crisp trout
#

python for the bot, and everything, and dashboard yes.

eternal osprey
#

very noice man. How did you manage security?

#

I swear some guy vibe code a site and he sent me it, i was able to change my session id client-side lmao.

crisp trout
#

lmao

eternal osprey
#

it was persistent too

rustic nova
#

questions towards everyone javascript

pnpm or npm

crisp trout
#

Listen, if you are down feel free to try @eternal osprey , would appreciate if I've missed something lol

#

npm

rustic nova
#

npm because its easy?

crisp trout
#

yeh

eternal osprey
crisp trout
eternal osprey
#

so bun for me as long as the packages are supported lol.

crisp trout
eternal osprey
#

lmao yeah

crisp trout
#

๐Ÿ˜›

eternal osprey
#

they do database lookups of known vulnerabilities

#

if someone pushes a new package it only gets picked up after x time.

#

also how do they allow post and preinstall scripts to run automatically with priviliged rights

crisp trout
#

after it gets reported / known

eternal osprey
crisp trout
#

yup

eternal osprey
#

i think they're just assuming that new packages got no motion lmao

crisp trout
#

that's why companies have dedicated roles to be in the know

eternal osprey
#

you can actually view the official database npm uses

crisp trout
#

yeah

eternal osprey
#

they got integrated in late 2021.

crisp trout
#

hah

#

btw dm'd you, I'll take a small break because tired

eternal osprey
#

a big + though is that they did a partnership with microsoft for behavioral analysis but thats super expensive hence why it cannot run 24/7

rustic nova
#

Thing is, beside easy npm install stuff, I need to ensure heavily that the lockfile is very enforcable

#

which npm does sometimes

eternal osprey
eternal osprey
crisp trout
#

later homie appreciate the convo

eternal osprey
#

@crisp trout @prime cliff it was nice talking to yall, we gained some knowledge today hehe

crisp trout
#

eh f-it i added yesterday analytics as well as a valid option.

crisp trout
warm canopy
#

You should make it have a selectable date range so can do like last hour, day, week etc

frosty gale
#

atp cursor's llms are trained specifically to ragebait you to waste your tokens so you buy the more expensive plan

#

i remember that day on jan 31 it kept messing up some windows api calls in golang and that session may or may not have lasted 2 hours with absolutely no progress in the end

eternal osprey
#

Reactjs with what else?

crisp trout
solemn latch
crisp trout
#

Also ye @warm canopy working on having the filters ๐Ÿ˜›

#

I just have to expose it in the API.

low marten
#

or i did, recently swapped it out

crisp trout
#

though analytics to be done are so easy since you just expose it in api and filter it lol

low marten
#

i don't think i've meaningfully developed my backend in quite a while

#

most of my work on statcord nowadays is frontend

crisp trout
#

BUT you have 100k users so you are doing everything right hah

low marten
#

gosh i wish discord would hurry up and verify it

crisp trout
#

wait what sort of verification are you doing the one with ID?

low marten
#

i dig it

crisp trout
low marten
crisp trout
#

xd

low marten
#

once you surpass 100 servers, discord has to manually approve you for it

crisp trout
#

oh

#

so different one than the one with id's

low marten
#

yes, since its manual you'll be waiting for ages haha

#

ive been waiting for 6 days so far

crisp trout
#

ahaha

#

damn, you'll get it sorted no worries

crisp trout
#

though i did notice a bug yesterday because i implemented RBAC whivch broke onboarding flow where no server existed

#

done @warm canopy ๐Ÿ˜„

#

i love your UI and color choies @low marten

low marten
#

haha, been black and orange since some of the first releases, let me find my old logo and UI

#

first ever logo

crisp trout
#

wait

#

i actually like it lol

low marten
#

older dashboard too

crisp trout
#

i love it

low marten
#

the checkmark is instant

#

but being approved for gateway intents (invisible on the bots profile)

#

is not

crisp trout
#

hmm

low marten
#

one sec i can show

crisp trout
#

ye

low marten
crisp trout
#

oooh

#

can I dm ya salt?

low marten
#

ofcourse

crisp trout
#

Ty โค๏ธ

crisp trout
#

working on a new logo,

#

i kinda f with 2nd version

burnt nexus
#

I need help with having my botghost bot detect when my server is voted for

high gale
#

how can we change background like the full background color of my bot page?

deft wolf
#

CSS

high gale
deft wolf
#

You can change style of literally anything on the page with css

high gale
#

gawh damn

#

new to it

#

thought only the descption and stuff thats it

crisp trout
#

as long as you dont replace topgg elements like bots like this etc

high gale
#

tysm!

#

oh

crisp trout
#

what was that command

#

it explained smh can't find it

#
You can change colours, set background images, style and animate elements within your long description using CSS. If you need help learning CSS, you can check out these resources and ask for help if you need it in โ development.

Please note: It's against our guidelines to hide or modify the content of any Top.gg page elements such as reviews, bot information, ads etc. You may change colours and border colours of site elements, but you may not modify the text content within.

Failure to follow these guidelines will result in your page being unlisted from our site.
2/12/2026 9:33 AM```
grave zealotBOT
#
Available Tags

There are 61 tags available:

addbot, addserver, adnotshowing, api, appeal, apps, asupport, aticket, auctionpartnership, auctionproduct, banner, bidremoval, botnotif, botperms, botservercount, cantinvitebot, capy, commands, cpm, credits, declinedbot, delacc, delproject, example, fastspring, golive, growbot, guidelines, howtoreport, howtosearch, htmldesc, invoice, knownissue, managechannels, needadev, notdiscord, ownershiptransfer, pagecss, partialimpressions, premium, proveownership, refreshbotdata, refreshdata, refreshserverdata, reportbug, retroactive, rolesinfo, servermembercount, servernotif, status, support, team, topggid, translations, troubleshoot, uptobot, uptoserver, verificationserver, votesreset, wearepeople, wrongserver

#
HTML Description

You can use Markdown or HTML in your bot's description. You can ask in #development for help or use this cheatsheet for more resources.

deft wolf
high gale
#

oh

#

ty yall

crisp trout
#

new login page who dis

eternal osprey
#

Guys i am working on making an automated pen testing tool for apiโ€™s and webservices. Would yall be interested? It will be open source and tests the service against a large number of cveโ€™s

knotty night
eternal osprey
#

Hahahahha fr

eternal osprey
crisp trout
#

i feel like I might be sharing a lot just exciting lol

radiant kraken
crisp trout
crisp trout
#

Finally done the webhook integration with top.gg xd

#

i sure do hope i've set everyting yp correctly

radiant kraken
#

awesome!!

crisp trout
#

though i think i've missed something, they don't need to be logged in in order the vote to register or?

crisp trout
#

aaha so i did get it right button -> topgg login -> vote

warm canopy
#

Yup, the login auth is handled via top.gg and what not ๐Ÿ™‚

crisp trout
#

haha nice i thought i did it wrong

frosty gale
#

im trying to buy some used 4gb sodimm ram to test a laptop with but i cant find anything under $15

#

a single 4gb used sodimm stick with unimpressive clock speed, the resale value doesnt get any lower than that but yet still $15

#

market is fucked

pearl trail
#

ddr5?

frosty gale
#

thought i said ddr4

kindred pulsar
#

hello, what is the best database to use a bot with a large number of servers

deft wolf
#

Probably the same case as with the best programming language - it really depends on your preferences I guess

solemn latch
#

Large numbers? You're probably going to want to determine things yourself and spend some time testing various databases.

warm canopy
crisp trout
#

i mean what are the options postgresql, maria and what else

#

sqlite xd?

neon leaf
#

cockroachdb, clickhouse

deft wolf
#

MongoDB ๐Ÿ’ช

knotty night
#

Only database I use

#

I have one instance hosted on my VPS that all my projects use

deft wolf
#

Man of culture

radiant kraken
#

i wouldve died needing to learn a complex SQL DBMS

#

my years of being a discord bot developer using mongodb PAID OFF

#

quite honestly the stack they use is the most discord bot stack ever!

frosty gale
#

mongodb sounds like the kind of db where youll be bottlenecked by your cpu rather than IO ๐Ÿ˜ญ

radiant kraken
#

i'm not insinuating that i prefer mongodb over other databases btw

#

i don't have the time to learn them right now topggSob

warm canopy
#

I use mongoDB but thats because it's simple for me

radiant kraken
#

it's simple for sure, but i'm not gonna use it for serious projects in the future

#

it's good for a beginner practice though

eternal osprey
#

i hate mongodb

eternal osprey
warm canopy
#

I have worked on a lot of postgre DBs

radiant kraken
eternal osprey
#

it's not even super hard to learn, i think sql is manageable within like 3 days to a week

warm canopy
#

Working on large prod sql databases is a nightmare though, that said any large scale database is just nightmare fuel to me lol

eternal osprey
#

boys i am looking to work on a nice project. Do you have any ideas?

#

i thought of making an automated pen test tool for scanning vulnerabilities in api's, sites etc.

radiant kraken
#

I have several long-term ideas for sure

eternal osprey
#

shill em

low marten
#

wow, setting up RBAC like @crisp trout suggested, found some pretty insane stuff! i've never actually bothered to look at any of my bigger servers

#

200k messages is 47% of statcord.xyz's message intake currently

#

in 1/100 servers

radiant kraken
#

i have set up a github organization for them but atm it's still empty

crisp trout
#

that's how I have them saved, is this your internal dashboard?

#

not sure how you do but

low marten
crisp trout
low marten
#

wdym

#

i just modified the auth endpoint in my testing environment to pull all available servers

#

haha

crisp trout
#

aah

#

๐Ÿ˜‚

#

my bad

#

how is the intent verification going

low marten
#

still radio silence

#

im very upset ๐Ÿ˜ญ

crisp trout
#

damn, hope you get it soon

low marten
#

i had to turn a few people down today when they asked why they couldn't add the bot

#

its so annoying

crisp trout
#

yep

#

i kind of switched the premium (hopefully done it right), now instead of purchasing it you vote for premium

#
  • stripe ain't available in my country
crisp trout
#

so figured this is tyhe smarter way

low marten
#

i've had this one member vote daily since day 1, its insane dedication

crisp trout
#

haha true

#

also did new logo

#

to better fit "hopefull"

#

not sure if you seen it

low marten
#

i have haha the T

#

its very neat

low marten
#

yes

crisp trout
#

yeees

#

and the portal change

#

but we'll see how it goes

#

the goal still remains 50 servers

low marten
#

how many currently?

crisp trout
#

active probably 1 rest are 2-3 test

#

2-3 people who added it to try and see how it works to break it down and reverse engineer it lol

#

xd

#

and to try and see how the actual thing works but meh

#

I did reach out to few servers but so far nothing positive.

eternal osprey
#

bro i am fucking sick what is happening man

#

whole day feeling like shit

crisp trout
#

it's Sunday, understandable to bit down under.

eternal osprey
#

my immune system is acting like a bitch

low marten
#

according to my math, around 70% of my server count either didn't give the bot permissions, OR are test servers, as they have either no data, or very little data attached, like 1-2 messages.

crisp trout
#

not sure if in y'all's country is the same but people get sick with similar syndrome's that resembled covid lol

crisp trout
eternal osprey
#

Datalix sales are so goated.
64 gb of ddr4 ram, 500gb disk, 8 cores xeon cpu, 30 dollars only

low marten
#

you are full of ideas man

crisp trout
#

so I went with Y ๐Ÿ˜‚

#

it's all experiments in my book LOL

low marten
#

i feel like a /start command is warrented in some way, would be quite optimized

low marten
crisp trout
#

and I don't think I will solve, it so I just put it in a embedd lol

crisp trout
#

if you don't mind sharing

low marten
#

pretty lame now that

#

i think about it

crisp trout
#

hmm, I mean

#

it's not bad lol

#

if it can instantly collect lol, its just a personal preference, i had to do it because i have to define a channel for tickets, a role which is support and a log channel

low marten
#

i think, along with a /setup command, it may be a good idea to have the bot automatically leave if the setup command has not been run OR there's no data.

crisp trout
#

and that ends up setting up the actual guild_config and from there each table is populated.

crisp trout
low marten
#

i'd lose a huge chunk of my server count yes, but i'd give more REAL servers an option to join

past charm
#

I need a team! please recruit me

crisp trout
#

So ye my case is /setup sets up guild_config, so I can do if there's no data inside or tickets I can just delete the db and it goes out

#

not sure if i make sense tbf

queen moth
#

โœ…

crisp trout
ripe flicker
#

Why does not my bot server statistics go up? Even if it is in multiple servers?

crisp trout
#

i think you need to send a request for it via the api

ripe flicker
crisp trout
ripe flicker
ripe flicker
#

Wait I think I found it
Found it

wide ice
#

Curious. Apologize if I missed it somewhere. Is there a queue listing to see where your submission is?

spark flint
#

nope

crisp trout
#

eh seems to work im happy

radiant kraken
#

poggiess

crisp trout
#

โค๏ธ

teal kelp
#

Worked on a new update

eternal osprey
#

my search continues

#

does anyone know any public skimming js datasets? They must contain the raw injected js.

#

It's for machine learning

muted harness
#

I feel like the import commands prompt should have some kind of description of how to do it more obviously for instance doing it like this if you wanted to do it only once with discord.py:```py
import discord
import json

client = discord.Client(intents=discord.Intents.default())

@client.event
async def on_ready():
print(json.dumps(await client.http.get_global_commands(client.application.id)))
await client.close()

client.run(DISCORD_TOKEN)```

stark kestrel
#

The JSON payload you send to discord it is ๐Ÿคทโ€โ™‚๏ธ

crisp trout
#

tf I just noticed netflix uses graphql

pearl trail
#

lots of big companies use graphql. meta, x, even github

crisp trout
#

we use it in our company

#

i despise it lol

timber whale
#

holla

sharp geyser
#

Since 2019

frosty gale
#

ive used it with shopify before and their use case i can understand since they have so much data available per order/user that having a language that can granularize it really helps

#

i just dont like how you have to create a plaintext query first then attach variables to it to do what you want, rest for life

wise sand
#

Can I use the v0 API with the new tokens or do I need two tokens?

delicate zephyr
#

old tokens dont work with v1

wise sand
#

Just wanted to be sure, thanks

sharp saddle
#

i'm trying to find some ui components for react

#

but everything seems to be vibe coded

crisp trout
small tangle
#

Shadcn

crisp trout
#

kind of want to build my own inspired by discord/and my personal style lol

warm canopy
#

That beautiful moment when people start playing with your new lil Discord bot and they somehow break it in ways you couldn't even imagine carlbongo

warm canopy
#

I have done like 5 quick fixes so far

prime cliff
#

Lookup apparently failed and then went to hell

warm canopy
#

๐Ÿ™

eternal osprey
#

Is there a bug county channel in here to report security issues in top.gg published discord bots?

#

Would be nice to have that

stark kestrel
#

holy please no

#

top.gg already has lots of volunteers for the review of bots, moderating the server, etc. you don't want to add a new task to manage a big bounty channel properly

#

wasting time that could be invested in something better e.g. the website

#

that would imply every bot owner would need to be contacted, coordinated with, etc. over some period of time - big waste of time

deft wolf
#

I mean most bots have their own support servers where you should probably report such things and if not you could probably report it to top.gg as a dangerous bot I guess

rustic nova
#

if they don't have a support server, skill issue, may their bot burn when they don't care

#

or reach out to ntts if this is worth a video KEKW

brazen rose
#

that's sick

deft wolf
#

Modals v2

clever tundra
brazen rose
clever tundra
# brazen rose that's sick

I love the new buttony bits.. might add that soon to mine. Haven't touched the surface of CV2 yet though, prefer to do it the traditional way

haughty otter
#

why isnt my bots pfp showing up in top.gg

deft wolf
#

If you changed it on ddevs portal you need to click "refresh data" button on top.gg

haughty otter
#

it just says the bots name in the pfp instead of the bots pfp

#

nvm its fixed after i changed the pfp to a different one

eternal osprey
#

yo boys anyone that uses mac here?

#

What ftp client do yall use?

elder sierra
#

Are you guys bot or what?

eternal osprey
#

yes

#

i am running on my Masters moltbot.

elder sierra
#

How can I learn how to build software

deft wolf
#

What kind of "software"?

wheat mesa
elder sierra
deft wolf
#

Idk even what "harking" is

elder sierra
wheat mesa
#

It really is just a matter of building things

#

Try and fail

#

Try and fail a ton until it works ๐Ÿคทโ€โ™‚๏ธ

eternal osprey
#

yo waffle

#

you use mac right?

wheat mesa
lyric mountain
lyric mountain
#

relevant xkcd btw

pearl trail
swift barn
deft wolf
#

WinSCP

pearl trail
#

i love scp

radiant kraken
#

secure contain protect

swift barn
crisp trout
#

damn i got flashbacks to 2006s lol

frosty gale
#

apparently chatgpt predicted me as being over 18, nice

#

although i imagine my conversations were processed with the involvement of palantir which is great

delicate zephyr
#

it uses a few different methods

neon leaf
#

๐Ÿ”ฅ

lyric mountain
#

did u rob a protogen's snack stash?

neon leaf
#

speak to my lawyer

quartz kindle
#

its all this guys fault

sharp geyser
#

Some of those look janked up

neon leaf
#

they are used

#

wtf

#
<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <title>test</title>
  </head>
  <body id="hi">
  </body>
  <script>
    hi.innerHTML = 'test'
  </script>
</html>
#

i never knew this was possible

#

i thought getElementById/similar was required

sharp geyser
#

I guess when doing it inline itโ€™s possible but in js files that you import into it youโ€™ll need to use those methods to get the element

neon leaf
#

nope

#

also works with external js

sharp geyser
#

Really?

neon leaf
#

yep

sharp geyser
#

Interesting

pearl trail
#

wow

#

mind blowing

neon leaf
frosty gale
neon leaf
#

decided to play around with wasm today, nothing all too fancy

clever oak
#

I can't figure out wtf is happening

clever oak
#

Nvm, I think God sent me a vision of what I did wrong.

pearl trail
#

โ„ข

lament rock
#

await?

pearl trail
#

no same, now i got 2 warnings KEK

#

the fix is, instead of importing mysql2/promise, i import just mysql2 and put .promise() at the end of create pool

#

weird

lament rock
sharp geyser
#

It probably is failing to recognize it's a Promise

#

have you tried restarting vscode

pearl trail
# sharp geyser It probably is failing to recognize it's a Promise

*webstorm. it's recognizing it as a promise, and promise gone when i put await. the built in docs also says getConnection(): Promise<PoolConnection> but idk something is saying that getConnection() is void. this issue has existed since days ago when i started (ofc multiple restarts)

#

huh

#

idk im not that advanced with typings like this

sharp geyser
#

Well its not typed as an async function/method so you can't really await it

sharp geyser
pearl trail
#

hm

sharp geyser
#

what happens if you use pool from mysql2/promise? Does that not change the typing of getConnection?

#

Ah

#

I see the issue

sharp geyser
#

it's typed to be non-promise so even when using mysql/promise getConnection will be typed as void and not Promise<void> or whatever it normally is typed as

#

It's an issue with their typings, for whatever reason they don't generate .d.ts files alongside the outputted js files

pearl trail
sharp geyser
#

It's likely autogenerated

#

It takes the ts/js signature and outputs what it thinks it should be

radiant kraken
#

๐Ÿ’€

sharp geyser
#

It knows /promise returns a promise

#

so in js it's valid

#

but in ts their typings don't give a fuck

#

it just gives you a non-promise typing

#

you can fix it by setting a global typing for it

#

overriding the default

radiant kraken
#

or by just making a pull request DoggSunglasses

pearl trail
#

eh too much, i'll just stick to .promise() KEK

sharp geyser
#

erm

#

wtf

#

Did I read this wrong

#

or

#

is their fucking Pool just a promise pool anyways

#

SO what the fuck is the point of /promise

pearl trail
#

oh yeah that's the method for .promise, it converts from Pool to PromisePool

#

the main issue is here

#

it should be :PromisePool

sharp geyser
#

yeah

#

this is so fucking weird

pearl trail
#

๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ

sharp geyser
#

their code has to be this way cause of technical debt or something

#

like they made this pre-promises or something

#

or without promises in mind

#

and was like fuck it lets throw in promises

#

but didn't want to do a massive rewrite

pearl trail
#

xDD

radiant kraken
#

you guys should open an issue or a pull request for it

#

free github points DoggSunglasses

sharp geyser
#

Yeah and cry because trying to add proper async/await support with typescript typings into that codebase would be the equivalent of downing an entire bottle of tequila

#

not fun at all

#

plus I don't even like mysql

#

though I have heard that @planetscale/database is a better alternative to mysql2

#

due to it being promise oriented and typescript first

#

I think it was meant to be used with their own hosted dbs but from what I can tell it works on any mysql database hosted anywhere

#

It's...also 2 years old nvm

radiant kraken
#

make a newer version of it DoggSunglasses

pearl trail
radiant kraken
#

ohh

sharp geyser
#

wait

#

taki

#

mariadb is just a superset of mysql and will connect just the same

#

use a mariadb wrapper

pearl trail
#

im afraid they'll somehow use another engine on the mysql

sharp geyser
#

wdym

pearl trail
#

debatable

radiant kraken
pearl trail
#

i mean it can be other than mariadb, no?

sharp geyser
#

you're just using it to connect, the sql is the same

pearl trail
#

idk about mysql much

sharp geyser
#

mariadb uses the same protocols and sql syntax as mysql

#

It's an adapter/wrapper for mariadb/mysql

pearl trail
#

i better ask the lecturer if i can use mariadb client or not

radiant kraken
#

uhm aaron i don't think it's worth migrating when he's this deep on the project right now DoggLaugh

sharp geyser
#

Wouldn't take much

#

especially if they have a centralized file for exporting the pool/connection

#

since the method names are the same between mariadb and mysql2

#

mariadb is just typed better and promise based

#

also you aren't using a mariadb client, you're just using the maraidb package to interface with the mysql database

#

since the package also works for mysql databases

#

Up to you though just throwing out a recommendation

#

It'd be easier to develop with since it natively supports the async/await syntax without some .promise()

#

Unless your assignment specifically requires mysql2 (yuck hate when professors do that)

radiant kraken
#

but yeah i agree if he has enough time for it and his lecturer allows him to do so

sharp geyser
#

Eh it would take 2s

#

unless they don't export a global connection

#

๐Ÿ’€

radiant kraken
#

(and his lecturer allows him)

sharp geyser
#

export const pool = whatever

#

Yeah

#

I hate when professors limit your freedom

#

ithink what should matter most is the outcome not how you got there

neon leaf
#

limiting your db library doesnt make sense

pearl trail
neon leaf
#

limiting lang / limiting library use in general is ok

sharp geyser
#

I mean, unless there is a very valid reason to limit something then it makes no sense

#

that's basically telling you not to use knowledge you learned outside of class

radiant kraken
sharp geyser
#

If you're able to well document and articulate your reasoning for using it

#

Ifeel it should be fine

neon leaf
#

"ai told me to"

radiant kraken
#

but yeah takiyo is better safe than sorry by asking his lecturer

sharp geyser
#

I mean for sure always do that

spark flint
#

then the lecturer goes and asks ai

sharp geyser
#

Iwas just throwing out a recommendation ๐Ÿ˜ญ

spark flint
#

(thats what mine does)

sharp geyser
#

I use AI for frontend

#

Im not afraid toadmit it

radiant kraken
sharp geyser
#

I definitely could of made this myself but fuck it we ball, I dont have time

spark flint
#

my lecturer was talking about his password manager, someone asked him wht password manager it was then went "oh yeah thats a really good question" then sat down, asked ai and replied

neon leaf
sharp geyser
#

I haven't tested my speed of the site or whatever

sharp geyser
#

but it actually responds relatively fast

radiant kraken
#

so far none of my profs have openly used AI in lectures

#

they allow students to use AI for assistance or learning but that's about it

spark flint
#

my old compsci teacher used to generate questions with AI because he was "too busy"

sharp geyser
#

I still want bun to absolutely rail my product before I fully launch it

spark flint
sharp geyser
#

and you pay that school ?

spark flint
#

this is university so yes

sharp geyser
#

I feel bad for you

#

You're paying for something you could of gotten for 20$ a month

radiant kraken
#

it also had to be signed by the student

spark flint
#

rip

radiant kraken
#

i mean it's good that they embrace the students' transparency

radiant kraken
#

@knotty night boop

spark flint
#

the bot will be vibe coded

#

vibecoded to your specific needs

deft wolf
#

Specializing in building Discord bots sounds lame

radiant kraken
#

ikr

knotty night
#

@placid pike please dont advertise

frosty gale
#

why is hetzner so goated

neon leaf
#

cuz its german

deft wolf
#

Germans are pretty much superior when it comes to hosting I guess

rustic nova
#

this

#

and regulations

#

and german norm culture in general

deft wolf
#

I wish I were German mans_sad

neon leaf
#

you get shot to death even after ur dead

rustic nova
#

yeah

rustic nova
deft wolf
#

Anything is better than being Polish masnakappa

pearl trail
#

update: ok i can use any dependency as long as it works

#

time to use mariadb

radiant kraken
quartz kindle
#

you get a free christmas song

neon leaf
#

time to cool some peltiers

frosty gale
#

ragebait trap has been set

neon leaf
#

mongodb>mysql>mariadb>postgresql

#

better ragebait trap has been set

deft wolf
#

Wym ragebait

#

That's true

quartz kindle
#

mariahcareysql>sqlite>json>discordfs>postgres>mariadb>mysql

crisp trout
#

PSA :

A new scam is around where companies you apply to tell you to review their repo / run locally in the background some malware is getting executed.

sharp geyser
#

How's this look chat

deft wolf
#

Not bad

sharp geyser
#

W

deft wolf
#

The only thing I don't like is that these badges, such as โ€œenabledโ€ or โ€œactiveโ€ are so close to the text above them

sharp geyser
#

Oh yeah

#

That is urking me too I just realized

radiant kraken
#

good job aaron!

sharp geyser
#

Is that better or still too close?

deft wolf
#

It's definitely better for me

sharp geyser
#

W

radiant kraken
#

same

sharp geyser
#

I still haven't done any of the embedded components yet so Balance, payouts and recent payments are placeholders

#

Everything's coming along pretty well though

radiant kraken
#

good job!

queen needle
# sharp geyser

The icon radius for the left hand icon doesn't match the height taken up by the badge and text and looks a tiny bit odd to me, but that is being very nit picky

sharp geyser
#

Wait I dont see what you mean by the radius thing

queen needle
#

It's hard to show on mobile, and also it may be a small perspective issue, the height taken up by like the house icon vs the height taken up by the badge and text

sharp geyser
#

Ah yeah I see

#

hm

#

I am not sure how to really fix that without it messing with the text next to it

queen needle
#

are you using tailwind?

#

or just normal css?

sharp geyser
#

using tailwind

queen needle
#

it's a small thing so you don't have to fix it at all if you don't want to, but if you put it in https://play.tailwindcss.com/ I can fix it

Tailwind Play

An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.

sharp geyser
#

It's a minor detail

#

I'd rather focus on getting everything at least visible before fine tuning

#

Not to mention a lot of the frontend is made with claude's help so there's definitely going to be a lot of fine tuning and modification as all I care about rn is at least getting data visible, and actions functionable

#

Seller dashboard done

wheat mesa
sharp geyser
#

thank you Waffle

#

It absolutely breaks on small screens cause of the inner css of the stripe embedded components

#

but that's a tradeoff for useability for now.

#

v2 will have most of that become custom except for account management

wheat mesa
#

this looks great

sharp geyser
#

Thanks!

#

believe it or not claude helped a lot lol.

#

I just made some tweaks to match what I thought looked good

wheat mesa
#

Perfectly alright especially if it keeps you motivated

#

Frontend can be draining

sharp geyser
#

Yeah UI is not my strong suite so anything that helps me push the product forward ima take

#

I tried not using claude for frontend and I saw my productivity slowing down

#

I was too worried about making it look perfect, ima just fine tune shit later if I see the need

#

claude also has been doing a good job of keeping my theme intact

#

Since it's able to read context from other pages.

slender wagon
#

do u guys like my dashboard?

sharp geyser
#

Nah

#

too cheap

#

19.99

rough tundra
#

but yes

#

its tuff

sharp geyser
#

Admin dashboard!

crisp trout
#

looks dope

#

maybe just a bit of spacing between the text and number or increase the size as there's so much gap

#

not sure if you are interested in feedback ๐Ÿ˜› but i'll shoot it out

#

or re-order it so icon is on right side something like this

sharp geyser
#

Ah yeah, there is a rather large gap, I plan on fine tuning things later so I definitely will take your feedback into consideration!

#

Here's the current progress of another page which is the /admin/[id] page that gives org specific info

crisp trout
#

hell yes

#

btw my reccomendation if you are interested look into lucide

#

icons

vivid fulcrum
#

are you using a UI library? it looks snazzy

sharp geyser
#

Another one for escalated reports (reports school directors escalate to admins (aka me))

#

I am using shadcn

crisp trout
#

if you need report ideas/designs

vivid fulcrum
#

ahhh

#

nice, love the design of it

crisp trout
#

e.g. this is mine

sharp geyser
#

FYI this is made iwth the help of claude so I can't take 100% credit (frontend is not my strong suite)

crisp trout
#

if you need some help with analytics/maths dm me

crisp trout
sharp geyser
#

Yeah but me doing frontend is abysmal

crisp trout
#

also a cheeky idea,

sharp geyser
#

I can tweak and fine tune things

crisp trout
#

because i wanted to simplify reporting.

sharp geyser
#

but I can't full on design shit myself

crisp trout
#

for people who can't understand stuff

sharp geyser
#

I came up with a theme and general layout

crisp trout
sharp geyser
#

and forced claude to use it throughout

crisp trout
#

that's always a great strat

sharp geyser
#

Yuh

#

Frontend was holding me back so claude being able to help is definitely a big boost

#

Im nearly done with the MVP

crisp trout
#

nice

#

what's the overall purpose, what are you targetting if you don't mind me asking?

sharp geyser
#

It's a marketplace for college students

#

It's different from the already existing solutions in that everything stays on the platform, and it's only between verified students of your campus

crisp trout
#

fair enough

sharp geyser
#

I really like my financial flow too.

crisp trout
#

as long as you are happy.

sharp geyser
#

Yuh

crisp trout
#

๐Ÿ˜„

sharp geyser
#

I plan on inviting some people to beta test it

#

soon

crisp trout
#

yeah that''s the hardest part

sharp geyser
#

Try out the platform before real people get on it