#development

1 messages ยท Page 306 of 1

crisp trout
#

if you don't have friends/family who are interested in helping.

#

gotta dip for a while, working.

sharp geyser
#

Yuh, I hopefully have some people ahah

#

Audit log page

#

Still needs some work but it works for now

pearl trail
#

this seems new

sharp geyser
#

I havenโ€™t really paid attention

crisp trout
#

ah we are bringing back the npm security discussion?

#

xd

sharp geyser
#

How's this lookin chat

#

I'm trying to make it as transparent as possible

#

Like I don't want a seller to wonder "Hey, it says 693.xx why am I only getting 600"

humble gyro
#

clean but why so many boxes

sharp geyser
#

Honestly thought it would look better that way but do you think I should make it one card?

humble gyro
#

remove all boxed elements except for payment breakdown

#

it'll look better trust

sharp geyser
#

So combine the "Buyer" and "Item "?

#

lemme give it a shot

humble gyro
#

yea

#

probably keep the padding

crisp trout
#

veld's right

#

btw as someone who's been in shit industries @sharp geyser , make sure to protect yourself so your platform isn't liable.

sharp geyser
#

This is what i came up with

sharp geyser
#

this is where I am struggling

#

Making a TOS, Privacy Policies, and all the other policies related to financial means

#

I have 0 clue on what's good / good enough

crisp trout
#

where are you based?

sharp geyser
#

United States

crisp trout
#

imo either a company or DBA so you can protect YOURSELF

#

but maybe there are some experienced people who've done more

sharp geyser
#

Well I am already incorprating as an LLC

crisp trout
#

hm

sharp geyser
#

I'd have some protection

#

My private assets aren't tied to the company

crisp trout
#

yeah

#

then LLC is the go to

#

as it's a seprarate legal entity

sharp geyser
#

Yeah

crisp trout
#

BUT

#

if you have no income and risk is low

#

dba

sharp geyser
#

I jsut need to come up with TOS, Privacy Policy, Refund Policy and any other policy that's required to basically at least "cover" my ass

crisp trout
#

is 99.99% the right answer

#

you know what's that called?hiring a lawyer

sharp geyser
#

Yeahhhh

#

That's what I fear hiring a lawyer

wheat mesa
#

LLC is good

sharp geyser
#

I don't wanna get screwed in fees and shit ๐Ÿ’€

wheat mesa
#

It's basically a sole proprietorship but with protections for personal assets

crisp trout
#

I mean that's the risk of creating something

wheat mesa
#

It is good as a one-person company

sharp geyser
#

Yeah

#

I am forming an LLC under Mercatus LLC or Mercatus GG LLC whichever one the state accepts

#

Hopefully its the first one ๐Ÿ’€

crisp trout
#

wasn't there a website

#

or rather a company that do everything for you?

#

you pay a small fee

sharp geyser
#

Yeah

#

I mgoing through Northwest

crisp trout
#

can't you check for name before registering ๐Ÿ˜„ ?

sharp geyser
#

Yeah

#

but US gov is annoying asf

crisp trout
#

Yeah fair enough

sharp geyser
#

and I would not put it past them to deny it solely because they want too

crisp trout
#

I usually do DBA because I'm used to it

#

but that's because different reasons

sharp geyser
#

I went LLC

#

I am also funding this project out of pocket

#

sooo

#

No seed funding yet

crisp trout
#

as I said for you probbly smarter

sharp geyser
#

I jsut need to find out where I can hire a lawyer to help me with this shit cause I don't want to leave myself areas to be screwed.

#

Especially when dealing with money ๐Ÿ’€

#

and user data

sharp edge
#

how long does it take to review and make the bot public on there site?

sharp geyser
#

Dang I thought I could use the tags command val_Sadge oh well

#

Me get experienced role when /j

frosty gale
sharp geyser
#

yeah I dont have hte time to no life this server anymore

#

I'm a busy busy man

neon leaf
#

actually a horrible spec

#

spent 30min until i actually understood wtf its sending and wtf it wants

#

these descriptions really aint it

humble gyro
# sharp geyser

no remove the box completely from everything but the payment breakdown

sharp geyser
slender wagon
#

AI has made programming boring

sharp geyser
#

I see what you mean

humble gyro
#

keep the padding

sharp geyser
#

Definitely looks a lot better

humble gyro
#

horizontal padding

sharp geyser
#

on the very top one?

humble gyro
#

your list is no longer aligned

sharp geyser
#

Wait

humble gyro
sharp geyser
#

Like this?

humble gyro
#

header too

#

but yes its getting there

sharp geyser
#

alr yeah this looks better

#

I think the massive Confirm Handoff button looks weird right?

lament rock
#

Nah

#

Thats an important element, so big and bright is ok

sharp geyser
#

Gotcha

humble gyro
slender wagon
#

Yo guys i went for the most minimalist design and reduced the site size to just 35kb
What do you guys think?

https://one-tap.cc

also one question should i verify it before or after adding it to top.gg

pearl trail
#

interesting link

slender wagon
pearl trail
slender wagon
#

Please donโ€™t make me add another domain to my huge collection

#

๐Ÿ˜ญ

pearl trail
#

xDD sorry, that's totally fine

slender wagon
#

I have over 20 domains sitting and assigned to nothing

#

Its worse than gambling

spark flint
#

lol

#

real

radiant kraken
slender wagon
#

Especially if it comes from me

radiant kraken
#

if i wanna be super safe, i just open an incognito tab on my browser and paste it there

#

it doesnt matter if it comes from you, my friends, or anybody else, people's accounts can be compromised

digital swan
slender wagon
#

They check through the site

#

I dont want them to miss that part

#

I canโ€™t use stripe so i gotta go with lemonsqueezy with much higer fees

rare trail
#

y'all like playing snake? ๐Ÿ‘€
https://sh.veerack.dev
-# open the snake app and start a AI Battle game, lmk how far you can get!

spark flint
#

vibecoded asf

radiant kraken
spark flint
#

look at it smide

#

you can tell from the design

#

like the style screams AI

radiant kraken
#

you can't really just say "you can tell from the design" without getting into specifics ๐Ÿ˜†

spark flint
#

ai has very specific design patterns

radiant kraken
#

like what?

rare trail
#

yes AI is involved, if you look at the portfolio main page i clearly specify how i use AI anyway

spark flint
#

it always uses a blue/gray gradient (and always tries to use a gradient for some reason), i dont know how to describe it but theres signs on sites that use AI

#

it tries to mimick shadcn a lot

radiant kraken
rare trail
#

yeah idc, i use AI daily for my projects, but i dont just hey do this for me, i actively debug and design as well

#

that page design for example was made in figma

rare trail
spark flint
#

i don't want to cause an argument or anything, just wanted to point out that AI has these specifics that become really easy to notice the more you use it

#

unless you feed it exact specs of what you want, it will default to gradients and blue/gray (even if you specify dark mode etc) and these components that are essentially trained off of the most popular components (shadcn rn)

rare trail
#

yeah i know, i've been using AI for the past year or so, i can notice as well but sometimes that gradient effect fits for whatever reason lol

spark flint
#

at least its not purple

rare trail
#

the UI there is still subject to change anyway, i spent an unreasonable amount of time doing the math for snake and other things there

spark flint
#

this is the main vibecoded colour lol

#

purple and blue gradients are AIs absolute FAV for some reason because its deemed 'modern'

rare trail
#

"create me a website where i can list discord bots"

#

that's the only prompt you need to get that

slender wagon
#

something that's a dead giveaway for a vibe coded site is emojis

digital swan
#

chatgpt loves emojis it pisses me off

lament rock
#

Made a funny little mod bot that tracks when users send the same message multiple times in a short timeframe and times them out for a week because that's usually the behaviour of scam bots posting like those crypto scams or whatever.

Also detects images using a perceptual hashing algo and a leven distance on that hash to determine similarity. So far, it's gotten an innumerable amount of scam bots as the guild it's mainly active in usually sees like 3 scammers per day trying the exact same thing. And then only like once a week does someone get past.

I know I could have made a honeypot channel, but people are stupid. And outright banning isn't a good solution since a week is when people usually get their account back. If we notice repeat actions, then we can ban. Mod pings from users being so low now is really nice.

#

url is localhost because I forgot to update it to the public facing url, but it works out since that's on my home network :)

rare trail
#

reddit based comment

rare trail
radiant kraken
#

the game is good, though sometimes when you press too fast it doesn't register your inputs

rare trail
#

should feel and look better

crisp trout
crisp trout
wheat mesa
slender wagon
#

there is something going on with discord... i am getting these randomly. Seems like random join events are being triggered?

knotty night
#

lol

frosty gale
slender wagon
#

Those are 2 different bots

#

Sent me that message at the same timeโ€ฆ

#

The bots arenโ€™t related to eachother either

#

I know the owner of appy

#

This is surely on discordโ€™s end

viral crest
slender wagon
#

It could be a very specific action from me that triggered it

viral crest
#

Exactly!

slender wagon
#

Which

#

Is on discords end

eternal osprey
#

Okay boys i am moving away from frontend. Trying to solely become a backend developer.

What do yall suggest? I got python, ts already on mytoolbelt.

#

Like a language that will not make me homeless in the future ๐Ÿ’€

#

Frontend gave me a headache. Space is moving too much so i need some more stability

wheat mesa
#

It never hurts to know C++, though to get a job in it you have to know it pretty well which can take some time

#

Java is also a must-have for web dev

limpid onyx
#

+1 on C# for the backend

warm surge
#

it aint happing to me

slender wagon
#

The thing is

#

There was no code involved

warm surge
#

wdym

slender wagon
#

None of them are my bots

#

๐Ÿ’€

warm surge
#

bruh

#

probably their code KEKW

slender wagon
#

But it was 2 different bots

#

2 different servers

warm surge
#

I know but people can fuck up on their code and not realizing it and no one has reported the bug

#

Its not Discord end its Developer

#

i had same problem until i added a return

#

really easy fix but most likely if the bug isnt gonna get reported to the developers its not gonna fix itself

deft wolf
#

I mean if it were Discord's fault then it would be reported on ddevs but I can't find anything reported like that today

warm surge
#

its not discord fault

#

its bot devs fault

#

cuz the bot doesnt know when to stop until a return is added or something like that

#

its not discord it's the developers of the bot

eternal osprey
#

Been hearing lot about rust too

stark kestrel
#

You'll have more chances in C# than Rust

rare trail
#

assembly

#

or fortran

#

๐Ÿ‘€

wheat mesa
frosty gale
#

most companies ride microsoft so the natural language for any programming ends up being c# for many companies

eternal osprey
#

I see thanky iu guys!

#

Always there to help me much love

#

I will start with expansding on python first

delicate zephyr
#

not sure why it happens

#

Oh wait, member onboarding @slender wagon maybe?

slender wagon
delicate zephyr
#

good question actually

#

must be discord bug

tardy marten
#

hm

tired zealot
#

What should I add, of remove

knotty night
#

The text seems too stretched

tired zealot
#

Ohh I loved that KEKW
Iโ€™ll try it out

tacit kindle
#

Does this look to much like sapphire?

#

and what do we think ?

humble gyro
radiant kraken
#

I agree ๐Ÿ˜„

#

i feel like the "free forever" is a bit out of place though

fierce heath
#

Hi

prisma apex
crisp trout
#

like i can sense it ๐Ÿ˜‚

ripe river
crisp trout
#

lel

worldly trail
rustic nova
quartz kindle
warm canopy
#

Decided to build my own reporting system for discord as we run a lil community of servers

#

Hoping to build out a dashboard with some cool metrics which i find interesting as I'm a nerd.

tired zealot
tired zealot
humble gyro
#

blurs the name but its fully readable

tired zealot
#

it took me so long to blurr it

#

i just left a part open so you can see the font

delicate zephyr
#

He meant here

tired zealot
#

OHHH

#

im sorry!

lyric mountain
pearl trail
#

*free forever, until i decide to not to

tacit kindle
tacit kindle
slender wagon
whole bloom
#

nice blur and 'free' promotion

tired zealot
eternal osprey
slender wagon
#

I tried keeping it under 35kb

eternal osprey
#

For what reason?

slender wagon
#

Speed

eternal osprey
#

So it could load on an apple pen?

slender wagon
#

Yes

eternal osprey
slender wagon
#

They do

eternal osprey
#

Especially with the trade off being not attracting to customers

#

Those kbs will save you loading speed but deter clients away

slender wagon
#

Not necessarily

wheat mesa
#

I'm fine with minimalist

slender wagon
#

Alot of people love minimalism

wheat mesa
#

I'm a bit tired of every website being some flashy mix of gradients and overused animations

slender wagon
wheat mesa
#

Seems like every product I see now doesn't even tell you what it does on the home page, you can't tell what half of people are even advertising on their own site

slender wagon
#

Its cuz most devs want to impress people

#

But forget why they are making the site

wheat mesa
#

AI tends to put gradients on everything because it's easy to impress people

#

I appreciate a good low-detail & fast site

wheat mesa
#

Taking a look at your site it's pretty good. Only complaint I'd have is that I don't know the source of your metrics of things like "99.9% detection accuracy" and not sure if I trust the claims of "No personal data is ever stored" given the nature of your bot

slender wagon
#

In the privacy page i mention a bit about it

wheat mesa
#

Not sure if I'd believe that either though, since I'd be wondering how your premium "live feed" works for a given user, since it mentions their username

slender wagon
#

One sec

wheat mesa
#

I wouldn't say it's bad to retain personal data in this case, since I'm assuming you have to maintain some sort of blacklist or track user activity in order to identify it as risky

slender wagon
#

Im not on my pc rn but i showd @acoustic bough examples of ehat i store

slender wagon
wheat mesa
#

I guess it mostly depends on how you're scoring users' risk

#

In my mind, keeping track of suspected alt accounts would require storing some degree of personal data

#

But I don't think there's anything wrong with that in this case, just that the claim that no personal data is ever stored I'd be suspect of

slender wagon
wheat mesa
#

I see

#

Cool stuff then

slender wagon
#

Im scared of db breaches so i said to myself why carry the risk of being fined a good amount of money by EU

#

Itโ€™s relieving hashing the data

wheat mesa
#

Ah okay after reading your privacy policy I understand more now

slender wagon
#

And i envy apps like signal

wheat mesa
#

Interesting bot concept, I like it. Are you using any sort of ML model to "score" users, or is it some formula you've come up with on your own?

slender wagon
#

Iโ€™ll send it in dms

wheat mesa
#

๐Ÿ‘

stark kestrel
lament rock
#

lets normalize that design language again

frosty gale
# slender wagon

just some feedback (sorry i didnt get around to your dm) hashing the ip (assuming its ipv4) with sha256 can be easily reversed even if you use a salt because
if you exclude private ranges you only get around 4 billion combinations, and since sha256 is very fast youll crack that in no time
youd be better off using a pepper for that (some kind of secret you store securely that isnt stored in the database)

#

but honestly me personally i consider ips to be basically public so storing them plaintext isnt usually the end of the world, but totally fair if you want to secure them in some way from data breaches

slender wagon
#

right

#

i appreciate the feedback!

frosty gale
#

and if youre storing unique identifiers that are sufficiently long and random (referring to the fingerprint/id hash) then you dont need a salt at all!! but i wouldnt touch/change what you are doing already

slender wagon
quick linden
#

Is it good dashboard or just too complex

spark flint
#

that looks so complex

stark kestrel
#

make an acutal dashboard

quick linden
#

like no need to login with accounts to webs..

stark kestrel
#

and it results in something unusable and overly complicated

quick linden
#

hmm so you think users would like a website dashboard more

stark kestrel
#

from a user perspective, i see this control panel - i just kick the bot and get another one that has a much simpler way to change those settings via e.g. a web ui

quick linden
#

okok thx

#

next update is dashboard becz of you

stark kestrel
#

you're free not to do it, just make it less bulky

#

there's just way too much being shown

quartz kindle
#

their benchmar essentially compares spacetimedb vs drizzle

#

not against any db directly

slender wagon
#

Epic facePalm

frosty gale
frosty gale
#

only so much you can do to speed up IO and b trees

quartz kindle
#

also, their benchmark is network based

#

so they are actually benchmarking the network stack, not the db itself

quick linden
swift edge
clever tundra
#

can you split it into sections w/ dropdowns?

#

or do it in a modal with the new select components

swift edge
#

you can try like this StringSelectMenuBuilder

quick linden
#

I think choosing between buttons more clear

swift edge
#

ahhh thats too much hochpoch

#

i would highly recommend moving all buttons into diff menus

crisp trout
#

that's so convoluted

frosty gale
quartz kindle
#

:^)

frosty gale
#

efcore in c# is especially atrocious, the overhead it adds horrifies me
but at least you get a good developer experience

neon leaf
#

drizzle is fine, its quite literally just type-safe sql

#

no weird on-app joins or whatever

slender wagon
#

In order to implement my bot you have to.
Manually create the verified role
Manually create the verification channel where the main embed will be sent
Manually remove the permission for the everyone role to see all the channels & categories
And ofc make it so the verified role can access the rest of the channnels
AND on top of that you have to drag the bot role on top of the verified role

I feel this is wayyy too much for the average attentionspan of a gen z

I was thinking of making a semi-automated setup but idk how to properly implement it.
Do you guys have any idea

#

I do have a dashboard as well btw.

quartz kindle
#

a /setup command could let the user select between manual and automated setup

#

and a /status could list the requirements and their statuses/availability

#

its a lot of work but its totally doable

#

i did a similar thing in an old captcha bot i made

crisp trout
slender wagon
#

Is there a way to get the role higher up or does that require manual work

deft wolf
#

This is one of those things that the user has to do manually afaik, otherwise it would be abused

quartz kindle
#

yeah you need to set the bot to require manage roles, so when invited it will autoatically get it, and then an admin needs to place it above the roles it should manage

#

or the bot itself can create roles below it, but the admin still needs to place them above other relevant roles for them to take effect

tight topaz
#

Hey everyone โค๏ธ

Quick fun question from me - I saw a few bot pages around that managed to somehow update the look and the icons used on the standard invite and vote buttons on their bot pages.

I only found out recently you could supposedly target them and change them via the long description inline HTML/CSS, but I can't find IDs/classnames to do that specifically, and was wondering if anyone has any advice ?

Thank youu !

stark kestrel
#

Then it's just your creativity with CSS, note that some obvious things are not allowed, e.g. lots of flashing effects and such

tight topaz
#

I did exactly that but I'm still not sure how it works

For example the Invite button looks like this

<div class="w-full md:w-auto css-0">
  <a class="!button !button-sm md:!button-lg w-full md:!w-auto button-primary! truncate" href="/bot/1332364544869142538/invite">
    <h2 class="hidden md:block">Invite</h2>
    <h2 class="md:hidden">Invite</h2>
  </a>
</div>

But these don't have IDs and they seem mostly generic classnames that might be used in other places ๐Ÿค”

For the example above how would I go about adding a custom icon/src ?

#

Sorry if it's a stupid question I'm genuinely amazed how people figured out you can do that lol

fallow garnet
#

/Balance

#

@fallow garnet

deft wolf
quartz kindle
#

kurwa?

quartz kindle
#

the more specific you are, the better

#

for example for that specific block you could do:

div.w-full.css-0 > a.truncate > h2 {
  ...
}
#

of course you would need to match it from the beginning, so add its parent, and parents parent, etc... until you have a truly unique sequence that can uniquely identify a specific element

tight topaz
#

hmmm interesting

#

Thanks for the pointer ! Let's try it out then

quartz kindle
#

you can even do this:

a[href="/bot/1332364544869142538/invite"] {

}
tight topaz
#

this top.gg inline HTML document never ceases to amaze me lol

quartz kindle
#

its just standard css

#

what topgg does is it takes your long description, and places it inside the existing page html

#

so the page looks like this:

... existing topgg html
<div> some topgg div
 {longdescription}
</div>
... more topgg html
#

so whatever you write in it, it will be parsed like real html once its placed inside the page

#

and this is 100% valid native html+css ```html
<div>
<style>
a[href="/bot/1332364544869142538/invite"] {
color: black;
}
</style>
<p>my bot</p>
</div>

stark kestrel
deft wolf
#

Huh?

swift edge
#

He need to customise the vote button on his website
Iโ€™m asking him to create website using html and css and if he need vote counts he can get it from api

deft wolf
#

No, he's asking about top.gg page of his bot

swift edge
#

My bad

stark kestrel
#

"For the example above how would go about adding a custom icon/src ?"

deft wolf
#

"Huh?" wasn't for you

stark kestrel
#

ah lovely deleted messages

deft wolf
#

I should start using reply function so it would be more obvious kappalul

eternal osprey
#

hey, hypothetically speaking,

suppose a wordpress site was hacked. I login, i just check the dashboard etc, is there any chance that any malware is injected into my mac? Using safari browser.

#

May be a dumb ass question

#

but i am genuinely interested to know

#

I know js injetion is a big thing, but aren't browsers hella sandboxed now?

clever tundra
#

my general knowledge: you cant get a virus by just visiting a page. it can download stuff for you, sure, but it cant open it or do anymore

eternal osprey
#

yeah, mac has a strong: "do you want to install ..." ruling though, so i don't think that will go unnoticed.

clever tundra
#

it can do popups and stuff though, which is annoying but nothing bad

eternal osprey
#

i mean js injection.

clever tundra
#

mac is pretty secure anyways so its not a bad thing

eternal osprey
#

but even then browsers are sandboxed. Iiirc all tabs are contained in their onw environment

clever tundra
#

safari has each tab in an environment so yes

#

unless theres a zero day exploit its impossible

eternal osprey
#

yeah i figured so

#

i am currently writing a thesis about js injection, skimming specifically

#

that shit made me paranoid

quick linden
radiant kraken
#

how's your engine?

pastel python
pearl trail
#

hmm

pastel python
#

that seems legit website

pearl trail
#

seems legit to me too xD

pastel python
#

its on their github linked i just checked

#

/beefproject/beef on gihub

#

want help setting it up?

#

but your gpu spike from just visiting that site idk

quartz kindle
#

its got a fucking full screen canvas animation

#

with true resolution

pearl trail
#

holy ๐Ÿ’€ ๐Ÿ’€

quartz kindle
#

its literally rendering a 4k video at 60fps

#

or trying to

pearl trail
#

don't they test it though

#

i bet most visitors have their browser run on integrated gpu

quartz kindle
#

when you code on beast pcs and dont test on low end laptops

#

:^)

pearl trail
#

๐Ÿ˜‚

quartz kindle
#

this thing probably uses more power than crypto mining scripts

pastel python
#

i visited that on my current pc this dont have dedicated gpu

#

my stats stayed fine

quartz kindle
#

whats your screen resolution

pastel python
#

1440

quartz kindle
#

and your browser is full screen?

pastel python
#

im on a minipc

quartz kindle
#

idk, maybe its throttled like crazy

pearl trail
#

radeon? its 6969 times better than intel

pastel python
#

i7-13700T

pearl trail
pastel python
#

i got this for free that cant be beat

quartz kindle
#

the canvas scales to browser width, if the browser is windowed, it wont be as high res

quartz kindle
pastel python
#

i have to use gamescope and run games on 720p to ba able to play

quartz kindle
#

heavy games

pastel python
#

cs2 and farlight84 i have been able to run so far

quartz kindle
#

im on an i7-12700H but i only really play league and maplestory

pastel python
#

my cpu is a laptop cpu you can say

pearl trail
quartz kindle
pastel python
#

sorry i didnt check clearly

#

i used a 2080 super with a xeon before

sharp geyser
sharp geyser
#

How dirty is your keyboard

quartz kindle
#

eh, some dust here and there

hard wyvern
eternal osprey
#

heh why did my antivirus mark ngrok as a scam?

#

it wasn't ngrok, a file installed through ngrok.

#

this was the file it decoded to.

stark kestrel
#

ngrok is flagged as PUA because it's used a lot for its tunnelling feature maliciously

#

It marked it as PUA, not scam or virus or something similar

eternal osprey
#

i see

#

i ddo think that this file is the real deal though not a scam or something

#

probably installed it when i used brew install ngrok

stark kestrel
#

yeh

tired zealot
#

BROOOOO DISCORD AUTH is so hard.

pearl trail
#

google is harder

#

apple hardest yet to me KEK

neon leaf
#

microsoft is worse

#

20 million different types of auth

#

all in weird submenus

#

with multiple api versions that arent documented

warm surge
tired zealot
#

I never used it lol I never did something like this

#

So for me itโ€™s really hard

stark kestrel
#

probably the most basic oauth implementation

tired zealot
#

But hard if you never used it lol

stark kestrel
#

Yeah though the documentation is pretty well written to be fair

prime cliff
frosty gale
neon leaf
#

thats 1 of the 20 million types yes

#

if you search hard enough you can find anything in the microsoft api 'docs'

#

maybe even a way to auth via pigeon

frosty gale
#

i would like the method with the most vendor lock in please

neon leaf
#

auth via telephone call by sending custom binary protocol in morse code beeps

#

does that suit your needs?

pearl trail
sharp geyser
#

I am reminded how much I hate in-app messaging

#

I wanted to be fancy and shit and add typing indicators and what not, now my messaging gateway takes ages to populate messages so it's not even like it's real-time anymore and typing indicator doesn't even work anyways

#

๐Ÿ’€

pearl trail
sharp geyser
#

I only know that now it actually works

#

as far as I know

deft wolf
sharp geyser
#

The server gateway makes sense to me

#

but the client side shit goes over my head

#

more in regards to the use of tanstack with it since I use it for state

radiant kraken
#

have you used a high tech level?

sharp geyser
#

I was thinking of using StreamChat

#

until I saw how expensive it was

#

๐Ÿ’€

#

Rather struggle and build my own solution

radiant kraken
#

๐Ÿ’€

sharp geyser
#

Okay so

#

I lied

#

it doesn't really work that well

#

Messages between users yeah, but I was setting up system messages and uh....yeah that failed

#

๐Ÿ’€

#

Well that's another version of me problem it was a QOL thing not a necessity

pearl trail
radiant kraken
#

or some kind of websocket?

pearl trail
#

yeah socket.io, it was implemented on my social media app, which was when i was on high school

radiant kraken
#

making it on high school was truly outstanding, i have no idea why you are not all over the news

#

they like to make everything viral nowadays

#

you deserve news coverage frfr

pearl trail
#

noooo ๐Ÿ˜ญ not that pro. thereโ€™s still asian kid under my age better than me

deft wolf
#

Wow, that's kinda racist

#

I like it kapp

radiant kraken
#

you are a few months younger than me so that counts

pearl trail
neon leaf
pearl trail
#

looks interesting

#

debugging & readability gonna be fire

frosty gale
#

they add this but they wont add decorators

radiant kraken
#
function something<'a>(s: &'a string) {
  console.log(s)
}
covert gale
#

true

#

add borrowing aswell

radiant kraken
#

yes yes

#

also add multithreaded programming with mutex, rwlock, reference counters, atomic counters, semaphores, and all that ๐Ÿ˜

#

ditch the old event loop ๐Ÿคข

frosty gale
jaunty apex
#

Plz any one give me gift i lose all my

deft wolf
pastel python
#

guys i kinda need help

#

im kind of new to development so i would like feedback from people

#

on my bot

swift edge
#

is there any way to have test webhook of vote?

clever tundra
#

on the page where you set it up

swift edge
#

it doesnt have a body

clever tundra
#

it should do

#

it does for me

#

just changes the type from vote to test

swift edge
#

i was using sdk

#

maybe prob with sdk i will rewrite

clever tundra
#

it sent me the vote message tho, so it must work

swift edge
clever tundra
#

weird

#

I have no clue

#

bearing in mind I'm using old webhooks so that may be different

#

need to migrate tbh but I cba

swift edge
#

thanks got it

#

needed to read docs missed RAWBODY

frosty gale
#

this probably means were not too far off from better multithreading support in js

neon leaf
#

did you not know about this?

frosty gale
#

i have indeed not, i thought js was sticking to its usual single thread focus

neon leaf
#

SharedArrayBuffer has been around for ages

frosty gale
#

ah i know about that, but not atomics

#

now i can ditch golang for js

neon leaf
#

true

#

ignore literally any link being broken

frosty gale
#

that link on their readme lmao

neon leaf
#

ye

#

prob didnt renew domain

#

but libdill/libmill are very interesting

frosty gale
#

this looks huge tbh for c codebases

neon leaf
#

It can execute up to 20 million coroutines and 50 million context switches per second.

#

not sure how that compares to go tbh

frosty gale
#

i can imagine go will probably perform noticeably worse but probably not in a way that you'll notice (or something you cant improve within go) running a web server or something similar

#

depends how both are written really

pearl trail
#

bro istg i really hate xampp or the mysql, it keeps corrupting because i didn't stop it when i do power cycle

pastel python
#

Lol

#

Maybe use your own setup using a docker compose file
here is a gemini generated compose file

  # 1. PHP + Apache
  php-apache:
    image: php:8.2-apache
    ports:
      - "8080:80"
    volumes:
      - ./src:/var/www/html
    command: >
      sh -c "apt-get update && apt-get install -y libpq-dev && 
             docker-php-ext-install pdo pdo_pgsql pgsql && 
             apache2-foreground"

  # 2. PostgreSQL (Database)
  db:
    image: postgres:15
    environment:
      POSTGRES_USER: dev_user
      POSTGRES_PASSWORD: dev_password
      POSTGRES_DB: my_app_db
    volumes:
      - pg_data:/var/lib/postgresql/data

  # 3. Adminer (DB Management)
  adminer:
    image: adminer:latest
    ports:
      - "8081:8080"

  # 4. Apache Tomcat (Java Servlet Container)
  tomcat:
    image: tomcat:10.1-jdk17
    ports:
      - "8888:8080"
    volumes:
      - ./webapps:/usr/local/tomcat/webapps
    restart: always

  # 5. SFTP Server (Open-source FileZilla Alternative)
  # This allows you to upload files to your server via SFTP
  sftp:
    image: atmoz/sftp
    ports:
      - "2222:22"
    volumes:
      - ./src:/home/dev_user/upload
    command: dev_user:dev_password:1001

volumes:
  pg_data:
frosty gale
#

mysql should absolutely not be corrupting itself after a power cycle ๐Ÿ˜ญ mysql is acid compliant which means transactions either fully happen or dont happen at all, there should be no partial state after a power outage unless you messed some setting or OS disk write caching up

pastel python
pearl trail
# frosty gale mysql should absolutely not be corrupting itself after a power cycle ๐Ÿ˜ญ mysql is...

i'm not sure, basically i just start mysql through xampp, do my development thing, and i shutdown my laptop when is stop using it. when i start the mysql back, the system database corrupted, i can't login to my created user, every action made has no result on the phpmyadmin, same goes when i try to connect via my app. then i backup the data, spin it up to create new one, and move my only databases and the ibdata, it works again. never happened something similar with postgres for year

radiant kraken
#

nooooo ๐Ÿ˜ญ

frosty gale
pearl trail
#

the default is innodb yeah, altho the corrupted table is the internal mysql itself, which uses mix of innodb, aria (the most), and csv

viscid epoch
#

where's the api option for my bot

warm surge
warm surge
eternal osprey
#

Hey i have a question. I have a aervice running on port 3000 on my vps. It is fully locked down. I need a service that exposes only port 3000 to a specific set of ip ranges.

I used ngrok but they are expensive to run now. Hence i was thinking about using cloudflare tunnels

#

What do you yhink?

rustic nova
#

why not ufw allow 3000

#

with the ip range needed

eternal osprey
#

How would my external server connect to it then?

#

With my public ip?

#

Is that safe? I mean i know which ip ranges connect to it.

#

So i can maybe set that using ufw?

rustic nova
#

yeah you can do that with ufw

#

At least from my understanding, using ngrok or cloudflare tunnels (unless cf tunnels has ddos protection) is just kind-of moving your issue further away

#

for example

sudo ufw allow from 203.0.113.0/24 to any port 443 proto tcp

#

I have done that before with my own network where I only wanted internal IPs to connect to ssh but allow public connection to other specific ports (chief server / management server -> managed servers)

rustic nova
#

if thats a vps already connected to the internet, i dont see issues with ufw

eternal osprey
#

i see, i will for sure use ufw.

#

for a security endpoint i used ngrok but they are ridicilous in pricing for a tunneling service. So i figured to just use ip port combinations and limit to a specific ip.

#

there's a problem though, the external server requires https. I could access ip:443 but the lcaol server runs on port 3000.

rustic nova
#

probably something portforwarding from 3000 to 443 could be possible

#

will check in a bit

eternal osprey
#

hmm

rustic nova
#

or a reverse proxy or something

eternal osprey
#

yeah that's what i thought of as well, proxying 433 to 3000..

eternal osprey
#

i figured to use caddy

#

it provides free tls so it forwards any 443 requests to 3000

rustic nova
#

caddy works good for that yeah

eternal osprey
#

and it's easy to setup lol one config file and that's it.

#

thanks for brainstorming with me Aurel

rustic nova
#

theoretically you've just used ngrok to do all that

eternal osprey
#

i sometimes yap here but that's my way of brainstorming

rustic nova
#

same, just not here too often

eternal osprey
#

ngrok is DAMN expensive lately. I remember that they were free.

#

I mean they still are but with ephemeral domains, no ip control. In prod this is not super safe.

frosty gale
#

chat, going to be doing my first ever dynamic dispatch

#

ive entered the dark side

neon leaf
#

the bright side

neon leaf
#

does anyone know a site for splitting up images into 2x2 so I can make a fancy big discord emoji out of 4 parts

rustic nova
neon leaf
#

nice ty

eternal osprey
#

cloud86 vps prices gotta be criminal

#

400$ a month for 24gb ram and 200gb.

frosty gale
#

managed vps iirc means youre also partly paying to have their support team on standby to assist you with server tasks you may have, so that price would make sense albeit on the more expensive side

#

unmanaged is cheaper but youre on your own when it comes to any issues/things you want to do within the vps

deft wolf
#

So "we can't help you unless you pay us" pretty much

#

Even with the basic stuff?

frosty gale
#

yeah but then again this is industry standard, you usually only ever want to pay for the hardware rather than also for their support (but many offer it as an addon)

#

im not sure if this is still the case but contabo does occasionally help you free of charge for certain support stuff, but usually only if you claim theres some issue on their end

slender wagon
#

I use proxycheck to check if an ip is actively used in proxy or a vpn.
I was thinking of caching its responses for a day for each ip. But iโ€™m not sure what to use to cache them so the retrieval is fast.
(Users that donโ€™t get verified for the first time try to re-verify multiple times)
I currently use postgres for the db if that matters

delicate zephyr
slender wagon
delicate zephyr
#

it didnt when i was working cause I didnt have my thing enabled but

slender wagon
#

Well it is ok Iโ€™ve noticed many people have their vpns on first time

#

But most of them turn it off

delicate zephyr
#

I mean

#

mines my own

#

so idk if it gets flagged

#

can send the IP for you to check if you want

slender wagon
delicate zephyr
#

dedicated server

slender wagon
frosty gale
#

so you can still detect it though

slender wagon
#

They have the check ip on their main page

frosty gale
delicate zephyr
slender wagon
#

Lol

frosty gale
#

yeah same as me

#

never a fan of vpn detection but if its part of your bots selling point then i guess go ahead

delicate zephyr
#

this is funky

slender wagon
#

I think i have set the risk to 50 or 60

#

So u might fo through

#

Im not sure if i should block hosting

delicate zephyr
#

please dont

slender wagon
#

Lol

frosty gale
#

no comment

slender wagon
#

If it becomes a problem i will

#

But i guess itโ€™s fine for now

quartz kindle
#

well, self-hosted vpn is a legitimate use case

#

but so is self-hosted botting, and regular vpn

slender wagon
quartz kindle
#

plus if you are blocking regular vpn, then self-hosted vpn shouldnt be an exception

slender wagon
#

Right

near dew
#

hey guys, do you know what the average wait time for intent verification is right now? My bot has been stuck at 100 servers for 3 weeks.

deft wolf
#

It's Discord. It could be even a month kappalul

slender wagon
#

Mine got verified automatically

#

Im guessing cuz i dont need intents

eternal osprey
clever tundra
near dew
clever tundra
#

message content

#

painful intent to get

#

first one was denied

#

second was approved

pearl trail
#

๐Ÿ˜ ๐Ÿ˜

stark kestrel
#

xampp says it all

rustic nova
#

i dont even wanna touch xampp for development anymore

#

just run a docker container

slender wagon
#

Xampp was hate with first sight for me

#

I just hate it

crisp trout
#

ew xampp

#

i remember using it when i was 10 lol

frosty gale
#

havent used xampp personally either

pearl trail
#

well yeah fair my laptop dies due to overheat crash while i was gaming quite often, altho postgres survived all the crashes for months. iโ€™ll try another alternative or find the solution, thanks

frosty gale
#

(thanks oracle for ruining a good database)

pearl trail
#

sure i can use standalone mariadb but my uni use xampp on everything db related

rustic nova
#

we're forced to use this

#

when i was in school

#

glad I dont have to at work

frosty gale
#

tomcat and phpmyadmin is bringing me back at least 10 years

rustic nova
#

oh god

frosty gale
#

at my job we use c#, iis and sql server which i hate but given people are forced to use xampp in 2026 i think i have it good

frosty gale
#

also im sorry but if youre paying for a university to teach you a 24 year old stack because they couldnt be bothered to update the course then youre being scammed ๐Ÿ’€

#

might as well give you machines running on windows xp as well at that point

pearl trail
#

LMAO yeah ๐Ÿ˜ญ

#

theyโ€™re also forcing us to use java 8 on oop course

radiant kraken
#

as long as it's Java DoggLaugh

slender wagon
#

muehehehe

radiant kraken
#

awesomee!!

#

i am so proud of you grainger!

slender wagon
#

:D thenk

frosty gale
slender wagon
#

lighthousmaxing

rustic nova
#

theres always gonna be someone who goes "this site sucks and is shit"

#

no lighthouse is gonna keep you from that

slender wagon
quartz kindle
#

:^)

rustic nova
#

Tims statement on that reduces -50% of all lighthouse values

quartz kindle
#

timshouse - takes the score from lighthouse and divides by 2

humble gyro
#

I'd end up with nothing :(

pearl trail
#

๐Ÿ’€ ๐Ÿ™

radiant kraken
frosty gale
radiant kraken
#

๐Ÿ’€

frosty gale
#

some people on reddit are saying it was a missile

#

lmao

#

i am bad at geography so i didnt think UAE would or should be involved in any of the conflicts that are happening right now

neon leaf
#

their airport got hit

#

so feasible

stark kestrel
# frosty gale i am bad at geography so i didnt think UAE would or should be involved in any of...

Al Dhafra Air Base (ADAB, Arabic: ู‚ุงุนุฏุฉ ุงู„ุธูุฑุฉ ุงู„ุฌูˆูŠุฉ, IATA: DHF, ICAO: OMAM) is a military installation in the United Arab Emirates. The base is located approximately 20 mi (32 km) south of Abu Dhabi, and is operated by the United Arab Emirates Air Force.

#

Cyprus as well (RAF) so yeah, doesn't really matter how far or close

quartz kindle
#

afaik even hotels got hit

#

brazillian news talked about how a group of brazilians got stuck there because their flight got canceled, and heard explosions while on their way back to their hotel

radiant kraken
slender wagon
#

they changed the UI

#

it used to be different fr

radiant kraken
#

omg

radiant kraken
#

today I learned! ๐Ÿ˜„

frosty gale
radiant kraken
#

true

#

(btw I was referring to the type keyword, not type aliases as a whole.)

pastel python
#

finally my bot got approved thanks jamie

radiant kraken
#

congratulations!!

pastel python
cinder osprey
frosty gale
#

chatgpt bugging tf out lmfao

#

never knew golang devs prefer explanations in chinese

deft wolf
#

Are you logged in btw?

cinder osprey
#

@cinder osprey

deft wolf
frosty gale
#

llm quirk im guessing

lament rock
#

deepseek does that to me often

slender wagon
#

Its a matter of time before someone links up stuff and makes something big out of this

frosty gale
#

i dont think it actually pulled anything from other users conversations (at least i hope not), i think its just rambling that was included somewhere in its training set

#

i remember the time a while ago when chatgpt started spitting out a response to other users messages that wasnt mine lmao but that was an unrelated issue

slender wagon
#

Yeah

#

Its a matter of time before a huge scandal comes up with these chat services

#

Its so much private info

#

One fuck up and we are cooked

lament rock
#

Companies have to start being more responsible with user data

frosty gale
#

some people feed these public llms their secrets and medical info and its scary

pastel python
#

i believe that those llms mention that they might use the conversations you have with that in training somewhere

frosty gale
#

good point, for that then yeah buti meant more as in no live access to other conversations

#

that would make a lot of sense

pastel python
#

you are basically using a single dataset which keeps on increasing when you interact right?

#

so i guess they are kinda using it live

#

and i even heard chatgpt starts its thought process even before you actually hit send. its starts from the moment you start writing

deft wolf
#

I'll outsmart AI and start pasting my text instead of typing it good_think

pastel python
#

haha

#

you are still giving the data in the end

#

if you are gonna give it anyway you can just write it

#

there so you get faster response

frosty gale
pastel python
#

if you want you can remove all the event listners from the input field

frosty gale
#

looking more at their requests every time you refresh they also call this "prepare" endpoint which does some kind of proof of work???

#

what on earth are they doing behind the scenes

#

i have never seen an api do this

pulsar arch
#

Wonder if they're feeding in more Chinese data to compensate

frosty gale
#

it only seemed to happen once, after retrying the response it didnt respond in chinese again, maybe it just happened to select a chinese token by accident

#

llms work off probabilities for next tokens so sometimes it can select a token that isnt necessarily the best prediction in an effort to diversify the output/prevent duplicate words

#

maybe what happened here

lyric mountain
rustic nova
#

true

#

If the product is you, it is free

slender wagon
bright thorn
#

Hey guys i want button in embed how can i not able to locate this in djs.

deft wolf
#

You can't do that in embeds. You can use container component tho

pastel python
#

and publish our findings

#

chatgpt website isnt using browser inbuilt input feild or text area they have a div setup and is capturing your keyboard

rustic nova
#

im certain nobody would care

#

there's a reason why theres no ads

deft wolf
#

We should call the cops tbh

wheat mesa
#

Iโ€™m sure this is mostly for improving their products. You agree to the same terms for basically every single product out there to โ€œcollect data to improve our servicesโ€

#

They are probably using it to train more models

frosty gale
#

google is definitely doing worse lmao

#

though on a side note i am surprised that despite google having access to so much data (google search engine, youtube, comments, reviews etc) their LLM models still arent as good as some of the competition like anthropic

neon leaf
#

I prefer Gemini pro over Claude for coding-related tasks

pastel python
#

i just use the version that seems to be sufficient

wheat mesa
# neon leaf I prefer Gemini pro over Claude for coding-related tasks

I prefer Gemini pro for the first 3-5 queries, but Gemini seems to have really bad context windows despite saying that it supports a massive context window. It generally struggles to remember things Iโ€™ve given it from 3-5 queries ago, which makes it annoying to work with

#

Itโ€™s pretty great for one-shotting frontend tasks though

neon leaf
#

agreed

#

I don't do long contexts so I don't notice as much

wheat mesa
#

I usually only use Gemini when I have documents I need to upload or if I am prototyping a frontend from a single prompt

frosty gale
#

i havent tried gemini much though admittedly other than the free model sometimes but since google seems to be running a google one free trial for one month i might give it a go more

wheat mesa
#

I find that ChatGPT has the best long-context experience (at least from my personal experience with it)

knotty night
#

im slowly migrating from chatGPT to gemini

wheat mesa
#

Though gptโ€™s web interface is horrendously laggy when you have long conversations, because despite paying every engineer over $1m TC, they still havenโ€™t figured out how to virtualize DOM elements that are out of view

neon leaf
#

I have that issue on gemini with 1-mesage-chats

#

anytime it responds a large code block

#

4gb tab mem usage

wheat mesa
#

GPT is even worse. I genuinely have to start new chats because after like 20-30 messages, the typing starts to lag and itโ€™s impossible to get a timely response

#

Then I have to re-explain the chat/issues I was working on

#

Itโ€™s insane that they still havenโ€™t fixed it. Iโ€™d imagine there has to be a reason for it, but I couldnโ€™t possibly think of one

wheat mesa
#

Anthropic has been doing great work with their models in terms of hallucination %

#

Iโ€™m surprised to see that gpt accepts so much bullshit

frosty gale
#

you have to double check every second message because it can just be bs a lot of the time

#

notable mention from yesterday

#

it corrected itself in the second message but why is it suggesting complete bullshit

#

claudes numebrs are impressive though

wheat mesa
#

Yeah Iโ€™ve noticed that, especially when it switches from the higher models down to the free tier once I run out of the trial credits for the day

frosty gale
#

ive got chatgpt to make a nonsensical question and asked it to itself, gemini 3 pro and claude 3.6
chatgpt just ate it up, gemini pro gave a sort of joking answer but did recognise it makes no sense, claude straight it called it nonsense

#

gemini 3 pro seems a lot better with this but still fumbles sometimes

#

although claude did call me out here, maybe anthropic is explicitly training their models to recognise nonsensical questions??

#

because claude suspiciously performs miles better than the other llms

#

i wonder how it handles realistic questions that sort of make sense but dont

quartz kindle
#

gpt be like: "ah the classic <insert random string> question/problem"

#

claude be like "you are absolutely right"

#

also, i a once again working with the most bullshit api ever invented, that uses GET requests like this:
/basicspacedata/query/class/gp/FIELD1/VALUE1/FIELD2/VALUE2/FIELD3/VALUE3/format/json

frosty gale
#

i dont understand why some of these developers want to make their lives hard

quartz kindle
#

thats what happens when developers are primarily scientists and not developers

slender wagon
#

Gpt just be bending itself for u

#

I hate it

quartz kindle
#

for tracking satellites

lyric mountain
#

should've guessed

quartz kindle
#

luckily they have a yearly zipped data dump so i can avoid using their api for the most part

#

converting it all into an sqlite db

#

200+ million rows xd

frosty gale
#

sqlite goated

lyric mountain
#

reminds me of the banana hamster meme

quartz kindle
#

0.13ms query time

high gale
#

is there any way of setting up a premium based commands which unlock on voting every 12 hours currently i used the top gg webhook by ports etc ive seen some new setups like the vote tracker and different setups can they work somehow same?

#

cuz im switching hosting very soon which might have issue with ports and that method for me might not work anymore

lament rock
#

Hosting providers usually have all ports allowed I/O

#

If not, you can look into the ufw command on unix based systems

pastel python
#

for incoming traffic

#

you should at least get 2-3 ports open

high gale
#

its kinda scuffed for me the hosting i use has ports but a 15% cpu usage and im thinking to change then the other doesnt have any ports says to buy premium

pastel python
#

how much are you willing to pay for your vps and how much resources do you need?

#

i might know a quite cheap vps provider

high gale
#

i dont have a paypal currently so yeah

#

im so cooked

#

lmao

high gale
#

yeah\

pastel python
#

then there is a vps for 12/yr

#

how does that sound

high gale
#

thats good

#

oh

pastel python
#

its from germany

high gale
#

works tell me in dm might be not allowed here i think promoting nd stuff

pastel python
#

yeah

lament rock
radiant kraken
#

okay I think I finally have a thing that makes me despise Java

#

it has no import aliasing ๐Ÿคข

#

its supersets have it but not the main language lol

#

no wonder people's class names tend to be hyper specific and long

neon leaf
radiant kraken
#

wtf

quartz kindle
lyric mountain
radiant kraken
lyric mountain
#

what's the lib abt?

radiant kraken
#

I have so many classes ๐Ÿ™ˆ I was so concerned that maybe "Webhooks" is too broad so I decided to add "DIscordBotList" prior to it

lyric mountain
#

ppl still use discord4j?

#

but well, I'd not worry much abt conflict, the chance of it happening is very slim

covert gale
#

you can also just shorten it

#

so instead of DiscordBotListWebhooks just do DBLWebhooks

radiant kraken
#

thought it'd be way too breaking ๐Ÿ™ˆ what do u guys think?

radiant kraken
radiant kraken
covert gale
covert gale
#

i can grab an example, give me a second

#
jarJar(implementation("dev.ithundxr:lotus-codecs:1.0.0-build.8") {
        capabilities {
            requireCapability("dev.ithundxr:lotus-codecs-minecraft-neoforge")
        }
    })
#

that basically imports a specific module from that library and pulls in the base library aswell

#

so sorta similar to cargo's features array

radiant kraken
#

I divided the library into six source sets

radiant kraken
covert gale
lyric mountain
#

oh, ur adding support to rest libs too

radiant kraken
#

mhm! ๐Ÿ˜„

radiant kraken
# radiant kraken

oops, just realized feature names can't have dashes ๐Ÿ™ˆ my bad!

#

i got a bit too used to Rust lol

covert gale
#

๐Ÿฆ€

neon leaf
#

@quartz kindle what do I do with this

covert gale
#

you could probably make a pretty nice jellyfin media server with that

neon leaf
#

@knotty night

knotty night
neon leaf
#

weblate MIGHT be the worst open source software ive ever used

quartz kindle
neon leaf
#

im gonna install a working os on a real drive and try running ollama

#

I am praying my breaker will not kill me

wheat mesa
#

Power supply begging for mercy

neon leaf
#

ies

#

2x2000W + 1x550W

wheat mesa
#

Is that a blower fan next to it for cooling

neon leaf
#

it could be but no, not enabled