#dev-chat

1 messages · Page 40 of 1

vestal fractal
#

I never used the examples myself but it might still be better

jade pumice
#

kinda stupid in my opinion

bleak pond
#

others are just lazy to write code

jade pumice
#

yea lmao

daring wasp
#

I mostly use it for stupid tasks like

here's the TypedDict I wrote write out the __slots__ for its object cls

bleak pond
daring wasp
bleak pond
#

i use ai to generate new theories

modest geyser
#

I write code because its fun

jade current
#

I've never used AI :sip:

daring wasp
#

otherwise I wouldn't be torturing myself with coding on my phone :p

bleak pond
#

coding on phone == torture

#

print("True")

jade current
#

helloWorld(console.log)

bleak pond
jade current
daring wasp
#

just a few more days and I'll hopefully get a physical keyboard

bleak pond
#

why not

#

wow

viscid steppe
hoary pagoda
viscid steppe
#

Your valid helloWorld(console.log)

polar viper
bleak pond
#

why that complicate just to print hello, world

polar viper
#

that’s the joke

bleak pond
#

not funny

viscid steppe
#

Oh i can write even more complicated hello world

bleak pond
#

NO NEED TO KNOw

polar viper
#

5000 line helloWorld program in cpp

bleak pond
#

ugh cap lock

bleak pond
viscid steppe
#

Compiling hello world in C++23 gave you a 30k loc assembly

modest geyser
trail jolt
#

U for real RN?

polar viper
#

can’t you just do std::cout

modest geyser
#

iostream sucks

viscid steppe
#

cout in C++23 🤮

polar viper
#

shrug, im still new to cpp

jade current
#

"False" is True

viscid steppe
#

Bit shifting operator 😔

ember pollen
wind shoal
#

How do I optimize my python discord bot and especially what are the necessary app_commands should I create for my discord server?

polar viper
#

create the commands you need

bleak pond
polar viper
#

i don’t think there are “necessary” commands except maybe a help command that lists commands

bleak pond
#

like you are creating that bot for what category ex mods, games etc

jade current
somber mantle
#

@dark moth apologies for the ping but welp, it looks like it's not just my bot 😭
i checked every single role they have, none of them grant manage_guild, the command's default perm is manage guild, and that's not even my own bot 😭 even in our test server, without any roles or extra perms, something's odd

daring wasp
#

(unless you provide meaningful info in your help command)

wind shoal
modest geyser
# polar viper shrug, im still new to cpp

The reason i dislike iostreams is because it injects a static constructor into every file that includes it and the interface is clunky and formatted output is a pain

bleak pond
wind shoal
viscid steppe
#

Make something your server members want

wind shoal
daring wasp
#

no need to find a fixed roadmap
build what your members want

modest geyser
#

especially when comparing to std::println

std::println("the answer is: {}.", ans);

versus

std::cout << "the answer is: " << ans << '.';
daring wasp
viscid steppe
#

Or built in commands

wind shoal
#

I tried to use the ones that are public but it doesn't satisfy my demands (my own opinion)

daring wasp
modest geyser
bleak pond
#

personal mods and eco bot

viscid steppe
#

Kick with delete_messages 🙏

bleak pond
#

what is wrong with it

daring wasp
#

they're outdated as heck

bleak pond
#

i use bot logging instead

daring wasp
trim geode
wind shoal
#

It sucks that I lost my old python projects relating to bots since I dabble in web dev right now in college

wind shoal
daring wasp
#

idk why I can never feel interested in webdev

daring wasp
viscid steppe
#

Web design 😴

wind shoal
#

I'm already feeling the pressure too in web dev but I still try to manage learn step by step.

daring wasp
trim geode
# daring wasp what's that

my system that will be handling slash commands communicating with the backend via gRPC with my bot system to persist a module configuration

bleak pond
wind shoal
#

Especially I might want to double check my current progress since its a bit cluttered.

jade current
#

Web :boring:

broken kernel
#

Does someone in here sucessfully build a chatbot in Discord?

trim geode
#

I'd be confident in saying most have

broken kernel
bleak pond
#

chatbot but for what exactly

broken kernel
trim geode
#

-# that wasn't the question 🧁

bleak pond
#

talk like a chatbot for information or something elser

broken kernel
bleak pond
trim geode
#

and also don't violate policy #21

dark moth
#

alright metrics reworked. now to let it compile for 15 mins to deploy it and see how badly i broke things meowlul

trim geode
#

Isn't Rust supposed to prevent breaking things? sus_eyes /j

dark moth
#

up to a point

#

it can't fix me being wrong

modest geyser
#

Memory safety is key!!!

trim geode
#

Memory safety is PRIORITY

dark moth
#

oh i'm sure its safe

#

but it's metrics tracking. prob missed something somewhere causing it not to update correctly

#

also i shoved an arc in a global const just to get access to it 15 layers deep elsewhere so you know

modest geyser
#

Yea but memory safety fixed that

dark moth
#

room for improvement

trim geode
#

I hate metrics and telemetry...but it's needed

modest geyser
#

Because memory safety is key

daring wasp
#

building payloads and objects types very much lengthy work :p

#

i go rest now byeeeee

quiet saddle
dark moth
#
Finished `release` profile [optimized] target(s) in 11m 44s
modest geyser
#

I thought C++ was compile times were bad

dark moth
#

tbh it is just a hetzner cloud machine so

modest geyser
#

I mean fair

daring wasp
dark moth
#
    Finished `release` profile [optimized] target(s) in 1m 29s

``` on my own machine
modest geyser
#

How big is this project

dark moth
#

quite big?

modest geyser
#

Interesting

dark moth
#

10 submodules and with deps its 368 compilation modules

daring wasp
modest geyser
#

Oof thats def quite a big

daring wasp
#

only the guild channel message create, update, delete and interaction related

#

to get to app commands

rain thicket
#

Hi can I report a webhook , discord will get to know which bot is it from right ?

verbal wraith
#

I never heard of reporting webhooks other than by using in app reporting tools

dark moth
#

they can look who made it yes

#

webhooks aren't always made by bots but they'll figure it out

#

so it somewhat works

#

tracking works for pre-existing buckets, but if you make a new one it doesn't get tracked till you restart, oops

copper crystal
#

I finally stripped the invite permissions for my bot since it uses only slash commands now I got rid of a lot of permissions

#

hopefully it makes it more frictionless for servers to add it now

dark moth
#

oh fun up is down and down is up 😂

rotund spruce
#

speed_catpartyskibidi toilet

daring wasp
hallow scarab
#

How to automod

daring wasp
lone anvil
#

turn on automod

flint epochBOT
copper crystal
#

there's a lot of different auto-moderations. it's kinda broad to ask how to autmod

#

lol

umbral pendant
#

Hi discordians

crude pumice
#

hello is there a mod or dev that can dm me

patent carbon
copper crystal
#

discord has some built in or you could be asking how to implement a 3rd party automod to your application or server and there's loggers ect

patent carbon
#

if you have a question... ask here

copper crystal
#

how do i change my role from tinkering to actively building

patent carbon
copper crystal
#

oh thx

glacial lantern
#

What

verbal wraith
#

Nothing

copper crystal
#

I don't understand why discord updated it so channels are way up there and threads? i hate all the updates from the past 5 years

verbal wraith
#

Time to make discord but better frfr

copper crystal
#

do you collect pokemon cards?

#

I see your gengar pfp

peak halo
#

ain't no way it's back to a trend

quiet saddle
patent carbon
#

its so back

verbal wraith
#

Back

quiet saddle
#

we are so back

peak halo
#

back to back

copper crystal
#

what is back i'm confused

#

I'm not into the lore like that

verbal wraith
#

We are

copper crystal
#

okay my fault

patent carbon
#

dont worry i dont know whats happening either

quiet saddle
cobalt glacier
#

Who is the mod? I need ask report for discord I have got predator people right now

verbal wraith
#

!report

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. To make a report to the Trust and Safety team, please use the in app reporting tool. For more information see this help article.

copper crystal
#

I think bro is in the wrong place

modest geyser
cobalt glacier
#

What

verbal wraith
#

Read the message from the bot

modest geyser
quiet saddle
modest geyser
#

True

copper crystal
#

do I have image perms

verbal wraith
#

Yes

dark moth
#

ibm: "it breaks monday"

copper crystal
#

ok lemme show my pokemon cards

#

one sec

dark moth
verbal wraith
#

Pokemons are not dev related

modest geyser
copper crystal
#

where is the off topic chat

verbal wraith
#

Not here

quiet saddle
#

it's on the off-topic server

modest geyser
#

I have an IBM fusion IO ssd

#

Actually i have 2!

copper crystal
#

oh this server is solely for development chat

verbal wraith
#

Yes

copper crystal
#

wow i'm sad

quiet saddle
#

why

copper crystal
#

because

#

I can't show my pokemon cards

#

wait I have an idea

jagged spruce
#

Do it in Town Hall instead (link in #rules )

dark moth
#

and down the rabithole it goes ameowrollingeyes

modest geyser
#

Madeline look at this pretty thing i have

quiet saddle
#

beautiful

#

your cable management bothers me a little bit though

patent carbon
#

Irritating Bowel Movements

copper crystal
#

bro there's 2 cables is this ragebait

patent carbon
dark moth
#

don't tempt them

#

or that switch will have 30 cables leading back to itself

patent carbon
#

Just get a second switch

trim geode
#

needs more patch cables

quiet saddle
# modest geyser Sorryy

it's not an actual issue ofc since there's not tons of cables, more of me just liking super neat cables

modest geyser
#

yea fair

modest geyser
#

those ports are in a seperate vlan

#

they are my servers OOBM

copper crystal
#

bro my new case for my computer has a dust filter and i just cleaned it for the first time and it was like a cm thick

brazen heath
#

Can a bot create a DM channel and send a message to the user without sharing server but the user added the bot to his apps?

quiet saddle
modest geyser
copper crystal
#

or get rainbow color cat6 cables

#

there's the perfect amount of cables

quiet saddle
modest geyser
#

lol fair

quiet saddle
#

i like my cables to match personally

#

also rainbow would be more expensive

brazen heath
daring wasp
quiet saddle
#

and wasteful since i still have a 50ft roll of CAT6

copper crystal
#

I like colorful stuff. I hate default color things. My fridge is bright yellow

#

why do you need 50ft

quiet saddle
#

for making cables

random root
#

hold on

#

noo i broke rainbow mode :(

daring wasp
copper crystal
#

I should get new cables I'm just using a bunch of black walmart "cat6" cables and idek the specs

dark moth
#

and there it goes again

#

gemma is really a fan of la la la

random root
copper crystal
#

not enough rainbow

daring wasp
copper crystal
#

do you guys remember discord rainbow roles

#

wasn't it build into discord one time then it got removed and people made it into bots then those bots got removed for spamming role edit api

dark moth
#

that never was a native discord thing

copper crystal
#

oh fr?

dark moth
#

its always been api spam

umbral pendant
#

How's life?

copper crystal
#

it's been so long I don't remember quite well

hardy coral
#

Can anyone help me about an unfair suspension?

patent carbon
strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

winter mason
#

😭

dark moth
#

go to account standing and appeal it from there

patent carbon
#

actually... ya that

dark moth
#

they just point you to the in app appeals

hardy coral
dark moth
#

nobody here can help you

patent carbon
#

do what AEnterprise said then

dark moth
#

appeal it through the app, that's all you can do

hardy coral
patent carbon
verbal wraith
#

Also make sure to scan your pc because you could have downloaded malware

patent carbon
#

<@&1050493473033289778> derogatory username

#

much love

quiet saddle
patent carbon
#

Ahh. Good ol AWG...I hate you

random root
#

best status page ever

quiet saddle
#

escapeHTML, always a good sign

patent carbon
#

Needs some more content. Looks a little void

patent carbon
#

I'll be here all night

wispy wind
#

mhmm gemma 4 usage

patent carbon
#

Nice

wispy wind
#

didnt expect it to use that less ngl

#

i expected like 100% usage on both

patent carbon
verbal wraith
#

Damn, you read me like a book masnakappa

daring wasp
#
self.large_image = (MediaProxyAsset._from_image_id(large_image[3:]) if large_image.startswith("mp:") else Asset._from_application_asset(application_id, large_image)) if (large_image := data.get("large_image")) is not None else None

after all... why not

#

why shouldn't I have a massive if else

#

(i obviously will change but this is funny)

daring wasp
#

we love pithon

vestal fractal
#

Ah that

#

Hmm you sure the () are needed here

daring wasp
#

probably not

vestal fractal
#

Also what's the slicing for

daring wasp
daring wasp
vestal fractal
#

Ah I see

vestal fractal
daring wasp
#

so conditionB's walrus doesn't define the var for condition A

vestal fractal
#

the second one looks logical tho

daring wasp
vestal fractal
#

ah the walrus ruins it

daring wasp
#

yes

#

even without the walrus though

#

it'd ruin the if else

solid sleet
daring wasp
half barn
#

honestly responsive design is such a pain

#

why can't i just say screw you turn your phone to landscape mode

glass silo
half barn
#

getting this to work on mobile is extreme horribleness

verbal wraith
daring wasp
glass silo
white basin
#

if someone pays that much i would give him my pc also XD

verbal wraith
white basin
verbal wraith
#

Let's be serious, that's too low

white basin
#

1 dollar and 50 cent

daring wasp
#

Guess how many times I misread this in one minute as

Activity flags or d together
rather than
Activity flags ORd together

white basin
#

i misread that one too💀

half barn
glass silo
#

below just below eachother

half barn
#

yeah it looks a bit ass with the links as a header

glass silo
#

nav - icons
container

#

yeah everything looks ass on mobile

half barn
#

takes up too much screen space to put them vertically and horizontally they're too wide

patent carbon
half barn
#

it needs to be a collapible sidebar really

crimson zinc
#

What can I do in this server?

patent carbon
crimson zinc
#

I wanna make some apps , I'm good at coding :3

half barn
#

but zero idea how to get that working as a sidebar, it's more than just a media query at that point pepehands

glass silo
#

i know someone that can..

#

well, something really

patent carbon
#

@grok is this true

crimson zinc
#

How to make a bot?

half barn
patent carbon
# crimson zinc How to make a bot?

There's many ways. What type of bot do you want? A gateway connected one (aka with a websocket) or an HTTP based one? And what programming language?

crimson zinc
sonic spire
#

Discord has a really bad gateway I mean really

dark moth
#

recompilation 5, hope i finally got everything sorted out now meowsweats

patent carbon
patent carbon
#

What's wrong with the gateway?

crimson zinc
peak halo
#

make one in assembly then

#

you'll have the best chances for performance optimisations

patent carbon
sonic spire
patent carbon
#

You will need the gateway to make an moderation bot

patent carbon
#

Sauce?

#

I can think of 1 in the last 6 months

peak halo
sonic spire
#

And when I leave my sb on running 24h discord sometimes blacklists my ip

peak halo
#

there definitely were more

sonic spire
peak halo
#

but it's not that huge and they're usually resolved in a timely manner honestly

patent carbon
#

There's been minor issues to specific systems but not the gateway itself

olive depot
#

Suggestions in townhall proves you can never guess tf audience wants, its too weird suggestions lmao

heady dawn
#

Is the idea out of the box. for clans thing?

patent carbon
#

What?

heady dawn
#

like clash of clans clans but in discord

#

like faq for clans or appeal

#

🤔

patent carbon
#

I have no idea what you're talking about. What faq does clans or appeal?

sonic spire
#

@patent carbon is discord supporting sb or it dropped it?

heady dawn
#

idk what you guys programming at

patent carbon
sonic spire
heady dawn
cunning gorge
sonic spire
#

Why did u claim quest badge on ur profile @patent carbon

#

I mean ur acc is extremely valuable or u don't care about that?

dark moth
#

let's stay on topic

sonic spire
#

Yeah ur right

lilac moss
#

Wow

abstract plinth
#

Anyone know why my brand new alt discord immidatley got de activated when I verified the email

#

Twice in 1 day💔😭

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

abstract plinth
#

I opened a ticket but coz they’re saying it’s to do with TOS I may have to do all sorts of verification and it could take up to 4 weeks

patent carbon
#

Ok. So that's your answer

abstract plinth
#

Feels unfair I gotta do all that crap coz of a wrongful de activation 4 weeks is mad, u don’t think there’s a faster way around this?

#

Fair play lol

near crescent
#

then i would recommend doing that instead of making another alt and complaining about it through said alt

#

and no, there is no "way around"

abstract plinth
#

This is my main😭

near crescent
#

we're not helping you evade required actions

abstract plinth
#

I’m just asking not even complaining

#

Thought I’d go to the experts💔

#

Apologies, have a nice day

abstract plinth
near crescent
#

your first reaction to being told what to do by support seems to be "how can i find a way around doing that"
that is what one could be calling evasion

the premise is also wrong, this server is aimed at users interested in building applications with the Discord apps API. it's not an alternative to the ticket flow or supplemental to it

abstract plinth
#

I hope I haven’t inadvertently upset u

#

I just presumed u guys get stupid questions all day long and it would be no harm in asking

near crescent
#

if your account or identity or whatever other identifier is flagged for that review process they are asking you to comply with that is the way to resolve that, even if it seems excessive or is bothersome/connected to a lot of wait time

#

nah, upsetting me is quite difficult kek

abstract plinth
#

Do u think coz I logged in on a private browser that may have affected it?

near crescent
#

i have no idea what witchcraft they are using these days

abstract plinth
near crescent
#

i just know that it's occasionally really bad at finding bad guys and instead really good at inconveniencing people

stone venture
#

How to play discord on discord

near crescent
#

how to excuse me what

abstract plinth
#

Yup tbf I’d rather this process than having to deal with the results of this not being in place I suppose😭

glad peak
stone venture
blissful sequoia
#

its just an rpc client

verbal wraith
#

It's probably custom rpc

near crescent
#

^

near crescent
lavish path
#

Hip

abstract plinth
lavish path
#

Hio

abstract plinth
#

Nope this is my main, I am not up to some wild stuff I just wanted to have a second discord account but they won’t allow it today😇

lavish path
#

I live in the uk

verbal wraith
#

Good for you

near crescent
#

that is strange indeed, oh well

lavish path
#

Who else dose

patent carbon
lavish path
#

Bro shut up

quartz cave
patent carbon
#

Lol, no

patent carbon
olive depot
#

BadgeCord, they all are literally into just badges

patent carbon
#

If you want to have general banter. There's an entire server for that

lavish path
#

lol

patent carbon
near crescent
#

this channel is supposed to be quite a lot closer to the topic of the channel and server than it currently is, so that remark is quite warranted

#

what is not: being rude at people, which you are

#

so i'd recommend you stop that

lavish path
#

Bro nobody asked you

near crescent
#

now i'm not your mom, so you can do as you wish, but your actions do have consequences which i am making you aware of

lavish path
#

Shut up mate

near crescent
#

oki

lavish path
#

What you gona do

quartz cave
#

Ban you?

patent carbon
#

I think I found out what he's gonna do

quartz cave
#

Lmao

patent carbon
#

Not from Discord. Just this server. The mods here can't do that

vestal fractal
#

Breaking my brain over trying to make one canvas mirror another

pearl hedge
#

I have a Question is Somebody having Opal

vestal fractal
#

ScamClient TM

patent carbon
vestal fractal
#

Does it also happen to have a "token importer"

quiet saddle
vestal fractal
#

💔

pearl hedge
patent carbon
#

$100 is not a lot of money

pearl hedge
#

IT IS much

patent carbon
#

ok... implying that youre young...

#

your pfp and account age add to that

near crescent
abstract plinth
#

After hearing what happend to me do u think I’ll get that account back…I mean I’ve done literally nothing to violate the TOS, just want an opinion

#

Is it worth spending the time on or do I just accept that discord doesn’t like me having a second account🤷‍♂️

near crescent
wide pasture
#

Hey guys. I really want to learn js from scratch, i learnt some basics like operators, functions, if statements, loops and more but i feel they aren't explained deeply.

#

Where can i learn js ?

peak halo
#

make a project

wide pasture
pearl hedge
neat olive
#

where can I get java

patent carbon
#

starbucks

tired obsidian
#

DANGIT SAM

neat olive
patent carbon
neat olive
faint crown
#

Does anyone know a free hosting provider?

patent carbon
#

Google Cloud and Oracle Cloud both have good free tiers

#

but anything advertising as a "free hosting provider" is probably bad

faint crown
drifting creek
#

I think so

queen lake
#

Goodnight! Hoping you wake up feeling completely refreshed tomorrow.

drifting creek
#

Thanks

sand elm
#

Jjk bundle isnt available in asia right?

waxen forum
#

@patent charm can I complain regarding a user's bad behaviour to you?

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. To make a report to the Trust and Safety team, please use the in app reporting tool. For more information see this help article.

dawn meadow
#

Does anyone know the name of a Discord bot that tracks voice call time and creates a ranking of the members who stay in call the most? I need help setting it up.

sour ruin
#

ww

random lichen
#

hello guys i need help regarding my new bot

#

its against rules idk why but yea

patent carbon
#

because saying "hi" by itself is just spam... it doesnt contribute to the conversation

patent carbon
patent carbon
#

i just answered that question... if you look 1 message above yours

random lichen
sand elm
patent carbon
random lichen
patent carbon
#

lets keep this channel / server development related

sand elm
random lichen
sand elm
#

Any channel where I can just ask about shop items?

patent carbon
#

no

verbal wraith
#

Nope

patent carbon
#

what does this have to do with development?

quiet saddle
#

Keep the off topic stuff out of this channel please @halcyon veldt

patent carbon
#

this server*

quiet saddle
#

<@&1050493473033289778> multiple spam messsages above sent from @halcyon veldt

smoky stag
foggy nova
#

Hey can anyone help me with .env file how i Upload secrets in .env file in phone?

patent carbon
#

i dont quite understand the question... an .env file is just a normal file... what part of it doesnt work on a phone

foggy nova
#

And i checked all the Videos

patent carbon
#

correct... you are not supposed to upload an .env file to github... because commits are public and permanently stored, so even if you remove the file, the token is still stored there in the git history

peak halo
#

but automatically revoked*

patent carbon
#

so, you add the .env file to your .gitignore file in your project so git will not upload the file

weary bluff
#

And add your env variables to there

foggy nova
weary bluff
foggy nova
patent carbon
#

what are you trying to add it to?

#

because you should NOT add it to github

weary bluff
patent carbon
#

those are only relevant for workflows... i doubt they're running their bot on github actions

foggy nova
weary bluff
#

Using github actions to http request bot

#

Huhuuuu

pale hull
#

You cant shouldn't run your bot with GitHub actions which is what that section is for

sharp pawn
#

Hm

weary bluff
#

Beyondthelimits

ionic night
#

Theres a max runtime for actions, 6 hours per job, so be pretty weird

weary bluff
#

Isn’t github actions unlimited for free repositories?

upbeat anchor
#

discord lowkey is a spammer

ionic night
#

The duration a job of a workflow is capped at 6 hours, then it dies

foggy nova
upbeat anchor
weary bluff
foggy nova
weary bluff
foggy nova
#

Like in variables or Secrets?

weary bluff
upbeat anchor
foggy nova
patent carbon
# foggy nova Where should i upload discord bot token?

you upload it to wherever you are running your bot... github is just a place to store the code, you should not be storing secrets in it (unless you need them for automations inside of github, which you shouldnt need for a bot)

weary bluff
#

I’m the door

sharp pawn
#

Wow I though you we're the wind

weary bluff
#

I just labeled Sora watermak on there to make it look like AI

foggy nova
#

Who guide me

patent carbon
#

we can point you to places to learn... but you arent going to find a tutor/teacher here

weary bluff
foggy nova
#

I made it by self

weary bluff
patent carbon
#

hosting is how youre running your bot 24/7... most people dont do that from their home

patent carbon
#

and given that you said youre on a phone... you cant do that either

weary bluff
#

My bot back then was available like 2 hours a day

#

😭

weary bluff
#

And then Discord reset it for you

foggy nova
#

Im beginner at phone

upbeat anchor
#

once you do a commit to github, there is no deleting... you can make it hard to find by force pushing without... but if you have commit sha, then yeah

weary bluff
weary bluff
#

Yeah

#

I read it part by part lmao

foggy nova
weary bluff
upbeat anchor
#

the activity tab is really bad here as it shows all commits and force pushes, soooo

weary bluff
#

It was so painful but fun to build

foggy nova
upbeat anchor
foggy nova
weary bluff
#

You can’t go to commit though

upbeat anchor
#

where is this cleaning?

#

you even can see commit shas from forks... the whole thing is a mess (esp security sense)

foggy nova
weary bluff
upbeat anchor
upbeat anchor
weary bluff
#

How come?

upbeat anchor
#

ie a commit that i overrode

weary bluff
upbeat anchor
weary bluff
#

Okay wait, give me a minute

upbeat anchor
#

the commit simply doesnt exist

#

but github still shows it

foggy nova
upbeat anchor
#

for this commit tho i used git commit --amend --no-edit later

upbeat anchor
# upbeat anchor github is special... idk what to say

and ill say it again, if you have a fork and do a commit... that commit sha is visible on any of the repos in network... this has caused many issues with npm package.json's as a simple commit change can be deadly

weary bluff
upbeat anchor
#

yeah so if i get those sha's, ill be able to see it :)

#

but any actual clone wont provide

weary bluff
#

Now it doesn’t show up on activity logs, checking to be sure

#

And no, it is not there

upbeat anchor
#

it should

weary bluff
foggy nova
thorny yoke
#

hello guys can i have some help to create commands ?

upbeat anchor
weary bluff
#

Or lemme send hold on

#

When I get home though

upbeat anchor
weary bluff
#

I’m at work fkxjjzzhsj

upbeat anchor
#

yeah fair

dawn meadow
#

Does anyone know the name of a Discord bot that tracks voice call time and creates a ranking of the members who stay in call the most? I need help setting it up.

patent carbon
#

This isn't the server to find premade bots

dawn meadow
#

Okay, thanks so much

coral cove
#

Guyss hi

vocal crown
#

Asc

ember hatch
#

who is anthany

verbal wraith
#

Ant called hany I guess

half barn
#

If width = 3em, the actual width of the span is 3em

#

if width is anything EXCEPT 3em, the width is 0, magically

vernal oak
#

What's the main chat?

#

here?

patent carbon
#

Yes

vernal oak
#

Ok

half barn
#

it's just... wat

vernal oak
#

Hi hi

half barn
#

ok i'm just gonna chalk this up to the build being borked because it works and doesn't work seemingly at random KEKW

weary bluff
ember hatch
verbal wraith
polar bobcat
patent carbon
#

<@&1050493473033289778>

#

wtf do you think you did?

#

why do you think that would be appropriate here

dull fox
#

(cross checking it doesn't show regardless if it's bigger or smaller than 3em)

half barn
#

I can expand on it a little more now:

  • If I hardcode 3em or 2em into the tailwind class it will use that value every time
  • If I use the ternary there with 3em or 2em, it will occasionally work, but 99% of the time it will just be 0 in both cases
  • If I hardcode it then hot reload it with the ternary active again, it will only work if the value is exactly the same as what it was hardcoded as prior
dull fox
#

Dafaq

half barn
#

this happens seemingly completely randomly when I reset cache and restart the nextjs dev server

#

never seen anything like it before

dull fox
#

Have you tried using pixels instead of em for sanity check?

half barn
#

yeah same result

#

other elements using em scale just fine as well

deft birch
half barn
#

it's now happening in prod too harold

quiet saddle
#

tailwind can be finnicky depending on what you're using for your dev build... i've noticed that sometimes updates don't trigger a hot reload

half barn
#

It happens in prod too though, and i've had it suddenly break when i'm not even changing this file

quiet saddle
#

is it a public site? i wouldn't mind taking a look

dull fox
#

Sanity check: any code errors, what does the devtools say the width is of that element?

half barn
#

uh no but if you give me 5 min i can port forward it rq

quiet saddle
#

kk

half barn
dull fox
#

Wondering if something else like a parent is collapsing it somehow

half barn
#

may take a few minutes for router to actually update firewall rules, it's slow sometimes

glass silo
#

Only https allowed thanks safari

neat olive
#

tbf https only esp. for non-local apps is a pretty fair policy

#

also you can get certs for ips

half barn
#

i mean i can spin up caddy if you really want but i can't be bothered tbh

glass silo
#

Meh

quiet saddle
#

oh it finally loaded! cool

half barn
#

ok yea should be active now

half barn
#

so it's 0 width for you too

#

can you open inspect and check if the tailwind class is 3em or 2em for the spans next to those nav links

quiet saddle
#

yep sec

#

3em

half barn
quiet saddle
#

wait but

half barn
#

i love tailwind

quiet saddle
#

commissions and projects - are 2em

half barn
#

yes

#

the selected page gets widened to 3em, there's a cool animation and stuff on it

neat olive
#

rate my landing page clueless

ember pollen
half barn
#

can you also try resizing the window to see if the media query breakpoint works

#

just to make sure it isn't that

ember pollen
#

i got out..

quiet saddle
#

hits at 800px

neat olive
#

it actually does have a header but I don't actually want to link it since it's public kekw

#

(though it's behind cf)

half barn
#

so i guess tailwind just decided it's not going to allow the width to change

#

amazing

glass silo
half barn
#

yeah that's how it's supposed to look on that resolution atm, i haven't made the nav collapsible yet

glass silo
#

Lol

ember pollen
#

did yall ever tried shawarma

glass silo
#

Ofcourse

ember pollen
#

best thing in the world

glass silo
#

But what does that have to do with discord

ember pollen
#

what is discord without a good meal

glass silo
#

Fair enough

neat olive
#

we're fueled by java, not food

ember pollen
half barn
#

so i take it nobody has any ideas why tailwind is just deciding to not work here

ember pollen
#

java is my nemesis

half barn
#

for that one class and that one class only

neat olive
half barn
#

i wonder if it'll magically work if i write regular css instead KEKW

neat olive
#

browsers are pretty good at magicking regular css

ember pollen
#

gonna go get a shawarma meal

torn zodiac
quiet saddle
#

So is what I'm seeing not what it's supposed to look like?

ember pollen
#

today's special
double meal for less than 10 dolla

quiet saddle
half barn
#

and fun fact this is the same code, it just decided to work this time

ember pollen
quiet saddle
#

Ooh interesting, okay

dull fox
half barn
#

I'm losing my mind because my logic correctly says 3em and tailwind just decided it's actually 0 instead KEKW

#

except sometimes it's not

#

but most of the time it is

ember pollen
dull fox
#

Dumb question from me, have you tried it at 4x CPU slow down?

half barn
#

i normally don't do frontend either, for this reason

vestal fractal
#

I think you need more margin for the text

half barn
#

hey guys wanna see some black magic i just discovered with this piece of crap?

#

does not work
hardcode 3em, works
hardcode 2em, works
revert to original, it now works
restart dev server and re-open tab. it doesn't work any more

quiet saddle
#

what the hell....

glass silo
quiet saddle
#

this has to be a weird caching issue

half barn
#

it's very consistent too

#

this is why i hate tailwind

#

oh bonus points the breakpoint which triggers all this also just broke somewhere else and only in that specific place

floral rapids
#

welcome to weird bugs that happen at random times

#

i have something that works in every single browser and on edge it works SOMETIMES and sometimes it doesn't

#

so browsers are also an issue

half barn
#

i'm half convinced this isn't even my fault at this point dogekek

quiet saddle
#

Okay I gave this problem to Claude and I think it found the issue - I can confirm on my end that the pc:w-[3em] rule isn't getting compiled -

half barn
#

interesting

quiet saddle
tiny grove
#

Hey yall so I am a game developer and I am looking for testers on mobile/android and pc. I didn't read the rules as much but I do know there's no promo.

half barn
#

if this was the case it would be working the first time around when i clean start the dev server

quiet saddle
#

but does clean starting the dev server also clear cached builds?

half barn
#

it does

#

i would understand if tailwind was grabbing only 3 or only 2 but it grabs 0 which wasn't even an option

glass silo
tiny grove
#

So where can I go?

patent carbon
#

not here

glass silo
quiet saddle
half barn
#

i'll rewrite it with regular css and media queries instead

stark mason
#

うんこ!

half barn
#

i'm a little confused as to how this occasionally works too if tailwind is supposed to not be able to handle this

tiny grove
# glass silo Good question

I've went in the android dev serv and they said no, so I go to an fan serv and they say NO! so i'm not sure what to do tbh

#

<@&1050493473033289778>

stark mason
tiny grove
#

thanks mods

stark mason
quiet saddle
#

like notice how it picked up one of the rules ml-0.5em but the rule for the width is just missing entirely

#

based on the video you showed with the code it looks like you might be constructing the width class via interpolation - which isn't really supported in tailwind

half barn
#

forgot you can't use vars in media queries either waaaaajlfghdfsghjkfd

quiet saddle
#

yeah it has to be a static string

half barn
#

you know what's also interesting?

#

the colour never broke despite also being a dynamically constructed class string

glass silo
tiny grove
#

But I'm just really looking for android.

#

It's not apk I've bought the 25$ google play store developer

#

Anyways I'mma go look for some more test servers

glass silo
#

Gl

dull fox
tiny grove
#

I need to go into production mode

#

Though I'm in internal testing

dull fox
half barn
tiny grove
half barn
#

i'm allowed to do matcher ? w-[3em] : w-[2em]

#

apparently as long as the full class name is actually in there tailwind can compile it just fine

#

but w-[${matcher ? 3 : 2}em] is a nono dogekek

quiet saddle
# half barn but `w-[${matcher ? 3 : 2}em]` is a nono <:dogekek:712362103754850325>

unless you have those classes

w-2em
w-3em

specifically defined in your tailwind theme

that's why your colours work - because (I assume) - they're defined in your theme configuration, so all of those classes are already generated. No matter which class string you dynamically construct in the html, it'll match an existing class in your CSS

half barn
#

I reiterate, this is why i don't like tailwind

quiet saddle
#

Haha fair. I think the key thing to remember is that Tailwind is purely a CSS framework - it doesn't do anything at all at runtime.

half barn
#

tailwind is just a symptom, really

#

web devs got so obsessed with writing everything in one file that things start turning into magic

#

I'm surprised nobody made an eslint rule for this, honestly

quiet saddle
#

i have a small helper function that i use to construct class strings - it uses two very small (<1kb) dependencies to join everything into one string and then remove anything that would be overridden:

import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";

export const cn = (...inputs: string[]): string => (
    twMerge(clsx(inputs))
);
neat olive
#

plain html/css wouldn't do this to you

half barn
#

plain html/css wouldn't even let me do what I'm doing here

quiet saddle
#

and then my class construction for base elements looks something like this

half barn
#

also this entire website looks like ass but I'm not a good designer

#

there isn't enough content to fill the page and the background just looks tacky

quiet saddle
#

i think it looks fine

#

most portfolios people share here have way too much content and flashy effects

half barn
#

idk, I wanted something more visually interesting than white but this just ain't it imo

#

maybe add a subtle breathing animation or something, no idea.

limpid mango
#

tailwind gives me headache

proper thicket
#

lol

gaunt stream
#

Hi is it possible to code a bot from mobile

spring hollow
#

yes, but it's not very user friendly

limpid mango
topaz egret
patent carbon
#

if you have the possibility, get a cheap laptop or something similar... anything with a dedicated keyboard and preferably something that runs a traditional desktop operating system (windows, macos, linux) rather than a mobile focused one

#

chromeOS is not a terrible option either and those devices can be very cheap

cursive pilot
#

awdsawd

cunning coyote
#

time to break people's brains

Arr   ← [1 2 3 4 5 6 7 8 9 10]
Solve ← ▽¬⊸◿2
Solve Arr
viscid steppe
#

Don't expect to type some icon and triangles and make me solve it /silly

gaunt stream
cunning coyote
jade current
#

Ancient Egyptian symbols/programming language

rugged fulcrum
#

How do I make a server a request?

cunning coyote
# jade current Ancient Egyptian symbols/programming language

each symbol is a function/operation, in order from right to left:

2 - push 2 onto the stack
- modulo, applies to two things on the stack
- duplicates the argument passed, puts it at the end
¬ - negate
- keep the values that match a mask

so operations in order:

◿2 on [1 2 3 4 5 6 7 8 9 10] -> [1 0 1 0 1 0 1 0 1 0]
-> [1 0 1 0 1 0 1 0 1 0] [1 2 3 4 5 6 7 8 9 10]
¬ -> [0 1 0 1 0 1 0 1 0 1] [1 2 3 4 5 6 7 8 9 10]
-> [2 4 6 8 10]

rugged fulcrum
snow rune
cunning coyote
#

i don't know what you mean by worker

snow rune
#

Support worker for discord with the supp badge ect

spring hollow
modest geyser
#

Morning hanna

versed path
#

@modest geyser hello
I apologize for my fude behavior last time

lyric escarp
#

There's an API I use that gives out either new or old data depending on the server it's requested from lmao

#

it's not even cached I used query params and tried requesting different jsons, it's consistently old on both my vps servers and consistently new on my home server and laptop

tired obsidian
#

<@&1050493473033289778>

trim geode
#

what in the north korean spy kinda recruitment spam is that

patent carbon
#

I'm surprised who actually falls for stuff like that

trim geode
trim geode
patent carbon
#

Lol I'm not surprised... Just disappointed

trim geode
#

I need to find the video, because at first if I remember she stumbled into it..then she was too deep to stop lmao

#

https://www.youtube.com/watch?v=-gjnrMg9iSo found it. genuinely an interesting watch.

This is the story of Christina Chapman, a suburban TikTok creator who ran a covert “laptop farm” from her Arizona home. The scheme became a gateway for North Korean IT operatives who infiltrated US companies and, according to the Justice Department, funneled millions of dollars to the North Korean government.

Watch more Bloomberg Investigat...

▶ Play video
#

not advertising
blatant advertisement

tired obsidian
#

Funny, considering that you just advertised…

#

Except that you just did, so… 🤷

#

Also no bot will ever replace human mods. And the fact that you think yours does is enough

#

You'd be wrong to think that, just so you know

modest geyser
#

Bots can help with moderation duties filtering out specific things but they cant replace them

#

No a llm cannot think and decide

pallid oriole
livid bolt
#

They must not know what socialising mean

tired obsidian
modest geyser
#

Yes and their argument to my last message was nuh uh

tired obsidian
#

And if a machine can do your job…you weren't doing that good a job, were you ? lol

trim geode
#

LLMs can't infer meaning or understanding surrounding context

modest geyser
#

Exactly

tired obsidian
#

To be fair, sometimes people can't either

livid bolt
patent carbon
#

I see a genuine argument for using LLMs as ways to flag messages as possibly abusive...but it's inefficient, expensive, and highly prone to mistakes

trim geode
#

They can never fully replace human moderation, BUT they can act as a great tool

trim geode
tired obsidian
#

Tool? Yes. Replacement? No freakin' way

trim geode
#

for simply flagging and notifying

livid bolt
modest geyser
#

MeowAtScam helps filter out scams

patent carbon
#

Everything is a tool. Humans are tools often. Just read this channel most days /j (or am I)

modest geyser
#

(Shameless MeowAtScam mention)

tired obsidian
#

I mean, there were doomers saying that C would replace programmers. It never did, just made us better at writing programs

trim geode
#

First time I've actually mentioned the bot name publicly lmao

tired obsidian
#

nO aDvErTiSiNg MaTt!

daring wasp
modest geyser
livid bolt
trim geode
tired obsidian
#

Spam bot hacked 🤷

#

-# /s, just in case :p

trim geode
#

literally been just sitting on the domain for almost 2 years lmao

modest geyser
#

I like how other people are making anti crypto scam bots too

trim geode
#

tbh we're the only like...actual one maukkis

#

I've looked at the competition...there is none besides like you

modest geyser
#

True..

trim geode
#

and technically honeypot.

modest geyser
#

Riskys is just a landmine

trim geode
#

exactly

modest geyser
#

Auto rotating honeypot channels everyday its kinda like gambling you either get banned or not

trim geode
#

Yeah, that's true. I have looked at some of them in competition and some were actually open source. It was kind of crazy because they literally just checked for attachment count and file names and that's it.

modest geyser
#

Oh no

#

Because the attachment names are just image.fileextension most of the time

#

Which im pretty sure is the default when pasting from clipboard

modest geyser
tired obsidian
#

Break the rules, suffer the consqeuences. Pretty easy

patent carbon
#

You the same guy on a new account?

modest geyser
daring wasp
modest geyser
#

Tbf i do not log that would make an interesting graph

trim geode
modest geyser
#

Sure

trim geode
modest geyser
#

Sounds like a good idea

patent carbon
void ginkgo
modest geyser
#

And i should head to sleep soon its 4am

trim geode
#

I do technically log in it my colleciton

#

@modest geyser the most crazy complicated logo fr fr

#

why is it spoiler lmaooo

#

mustve marked it as spoiler by accident

void ginkgo
#

idk but its W

patent carbon
#

N

trim geode
#

Ndeed

patent carbon
tired obsidian
daring wasp
#

😭

modest geyser
trim geode
#

I legit spent more time on selecting the font than the logo itself

#

Lora font family, regular weight...btw

#

Just love how it looked typed out and such

patent carbon
#

Fonts are hard

#

This is not an advertising server

trim geode
#

Crazy how it's just an alt advertising the same crap

tired obsidian
#

<@&1050493473033289778> ban evasion, it seems

patent carbon
#

^

#

Thank you Birb

trim geode
#

Crazy how you have to actively ban evade just to try to get users for your crap AI bot.

#

all of us

patent carbon
#

My role is a lie

trim geode
#

and none of us

#

#ShipItAndQuitIt

patent carbon
#

I'm actively laying in bed rather than working

daring wasp
#

same right now :p

#

i woke up a bit ago

patent carbon
#

Apparent it's "frowned upon to work while the office is closed" and something something "have a work life balance" yada yada

daring wasp
#

sam can i send you a friend request

patent carbon
#

Sure!

tired obsidian
patent carbon
modest geyser
trim geode
daring wasp
trim geode
#

Is that the colors on the side?

modest geyser
#

Yea

trim geode
#

I'm not an artist (as you can tell) so I don't know if that's normal

modest geyser
#

That was the only one i found

tired obsidian
modest geyser
#

My gallery is a mess

patent carbon
patent carbon
daring wasp
modest geyser
daring wasp
quiet saddle
tired obsidian
#

That's a bold claim. And rude