#dev-chat
1 messages · Page 40 of 1
kinda stupid in my opinion
others are just lazy to write code
yea lmao
I mostly use it for stupid tasks like
here's the TypedDict I wrote write out the
__slots__for its object cls
the real reason why vibe coding born
or sometimes asking it to review and give criticism on my implementations
i use ai to generate new theories
I write code because its fun
I've never used AI :sip:
Same
otherwise I wouldn't be torturing myself with coding on my phone :p
helloWorld(console.log)
that is reverse
Why string :horror:
just a few more days and I'll hopefully get a physical keyboard
class Console:
log = "hello, world"
console = Console()
helloWorld = print
helloWorld(console.log)
It’s funny as this could technically be valid
what
Your valid helloWorld(console.log)
return “False”
why that complicate just to print hello, world
that’s the joke
not funny
Oh i can write even more complicated hello world
NO NEED TO KNOw
5000 line helloWorld program in cpp
ugh cap lock
hell
Compiling hello world in C++23 gave you a 30k loc assembly
#include <print>
int main(){
std::println("hello world");
}
U for real RN?
can’t you just do std::cout
iostream sucks
cout in C++23 🤮
shrug, im still new to cpp
"False" is True
Bit shifting operator 😔
Csharp is way more tolerable than this
How do I optimize my python discord bot and especially what are the necessary app_commands should I create for my discord server?
create the commands you need
what are the requirements for your server'
i don’t think there are “necessary” commands except maybe a help command that lists commands
like you are creating that bot for what category ex mods, games etc
You should be able to answer that yourself; it's your bot/server
@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
me when this exists
(unless you provide meaningful info in your help command)
Basically my server where I created for my guild relating to minecraft server.
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
so what is the purpose of that bot
Yes I know its just I cant seem to find a fixed roadmap actually
Make something your server members want
My first idea is like add enough commands for moderations, utilities, and some few fun commands.
no need to find a fixed roadmap
build what your members want
especially when comparing to std::println
std::println("the answer is: {}.", ans);
versus
std::cout << "the answer is: " << ans << '.';
in my opinion you shouldnt add moderation unless there is a specific reason not to use the 100s of public ones
economy and mods commands huh
thousands even
Or built in commands
did you read the code :p
Peak formatting
I tried to use the ones that are public but it doesn't satisfy my demands (my own opinion)
if discord made audit logs better then I don't there would be a reason I would use a moderation bot
which demands
I forgot
personal mods and eco bot
and timed bans
Kick with delete_messages 🙏
what is wrong with it
i meant like I would want discord to have timed bans natively

It sucks that I lost my old python projects relating to bots since I dabble in web dev right now in college
Depends what my members want plus Im still researching too.
idk why I can never feel interested in webdev
maybe backend a little? but frontend absolutely not
Web design 😴
I'm already feeling the pressure too in web dev but I still try to manage learn step by step.
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
my advice ask your members to vote on features they want simple
Great idea actually since the first reason that I made a custom discord bot for my own guild server is to have enough features that lasts eventually.
Especially I might want to double check my current progress since its a bit cluttered.
glad to be of help
Web :boring:
wowi
Does someone in here sucessfully build a chatbot in Discord?
many of us have
I'd be confident in saying most have
Woaw
chatbot but for what exactly
Talking like ChatGPT
-# that wasn't the question 🧁
talk like a chatbot for information or something elser
you're right
get chatgpt api
and also don't violate policy #21
alright metrics reworked. now to let it compile for 15 mins to deploy it and see how badly i broke things 
Isn't Rust supposed to prevent breaking things?
/j
Yea but ummm memory safety!
Memory safety is key!!!
Memory safety is PRIORITY
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
Yea but memory safety fixed that
room for improvement
I hate metrics and telemetry...but it's needed
Because memory safety is key
Mine was somewhat simple
I just realized i forgot an early continue oops
just wait until you have to start implementing the logic though
Finished `release` profile [optimized] target(s) in 11m 44s
I thought C++ was compile times were bad
tbh it is just a hetzner cloud machine so
I mean fair
:p would be more interesting tho
Finished `release` profile [optimized] target(s) in 1m 29s
``` on my own machine
How big is this project
quite big?
Interesting
10 submodules and with deps its 368 compilation modules
this should be soon though, im not gonna implement all events at once
Oof thats def quite a big
only the guild channel message create, update, delete and interaction related
to get to app commands
Hi can I report a webhook , discord will get to know which bot is it from right ?
I never heard of reporting webhooks other than by using in app reporting tools
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
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
oh fun up is down and down is up 😂
skibidi toilet
How to automod
What?
turn on automod
there's a lot of different auto-moderations. it's kinda broad to ask how to autmod
lol
Hi discordians
hello is there a mod or dev that can dm me
no
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
if you have a question... ask here
how do i change my role from tinkering to actively building
oh thx
What
Nothing
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
Time to make discord but better frfr
ain't no way it's back to a trend
oh it's BACK
its so back
Back
we are so back
back to back
We are
okay my fault
dont worry i dont know whats happening either
POKÉMON!
GOTTA CATCH 'EM ALL!
Who is the mod? I need ask report for discord I have got predator people right now
!report
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.
I think bro is in the wrong place
People dont collect old IBM hardware?
What
Read the message from the bot
Thats what i do
IBM!
Gotta catch 'em all!
True
do I have image perms
Yes
ibm: "it breaks monday"
let's stay on topic
Pokemons are not dev related
No its International Business Machines
where is the off topic chat
Not here
it's on the off-topic server
oh this server is solely for development chat
Yes
wow i'm sad
why
and down the rabithole it goes 
Madeline look at this pretty thing i have
Irritating Bowel Movements
Sorryy
bro there's 2 cables is this ragebait
Right? There should be like 20
Just get a second switch
needs more patch cables
it's not an actual issue ofc since there's not tons of cables, more of me just liking super neat cables
yea fair
theres more on the other side of the switch
those ports are in a seperate vlan
they are my servers OOBM
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
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?
like my mini switch
Yes (I think)
you should get a cooler switch
i dont even have that one setup rn cuz im not living at my apartment anymore
lol fair
What ,I am confused about that too
Im pretty sure it can
and wasteful since i still have a 50ft roll of CAT6
I like colorful stuff. I hate default color things. My fridge is bright yellow
why do you need 50ft
for making cables
do you like rainbow status page
hold on
noo i broke rainbow mode :(
but don't send unsolicited dms
I should get new cables I'm just using a bunch of black walmart "cat6" cables and idek the specs
just buy a roll
rainbow status page
not enough rainbow
lalalalala :p
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
that never was a native discord thing
oh fr?
its always been api spam
it's been so long I don't remember quite well
Can anyone help me about an unfair suspension?
no... contact !support
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
😭
go to account standing and appeal it from there
actually... ya that
support doesn't seem to help with these anymore
they just point you to the in app appeals
I contacted them, but they mark it as resolved without solving
nobody here can help you
do what AEnterprise said then
appeal it through the app, that's all you can do
Oh 😭😭 That's so bad
Also make sure to scan your pc because you could have downloaded malware
monoprice has some really nice cables, their slim ones are really clean (and do come in multiple colors)
Ahh. Good ol AWG...I hate you
best status page ever
escapeHTML, always a good sign
Needs some more content. Looks a little void
xd
I'll be here all night
mhmm gemma 4 usage
Nice
It was a good one and you know it
Damn, you read me like a book 
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)
@vestal fractal @jade current
we love pithon
What's the object here?
Also what's the slicing for
nvm it is needed
removing the mp: part?
Ah I see
Yeah probably cuz of the mix of statements lol
yeah cuz without the ()
l = media if conditionA else asset if conditionB else None
is equal to
l = media if conditionA else (asset if conditionB else None)
so conditionB's walrus doesn't define the var for condition A
the second one looks logical tho
wuh
ah the walrus ruins it

without the braces (if larhe_image was predefined) now here it'll first check if large image startswith mp: (and will just raise if it's None)
honestly responsive design is such a pain
why can't i just say screw you turn your phone to landscape mode
trueeeeee
getting this to work on mobile is extreme horribleness
I can give you 2$. Take it or leave it
-# just say works on my device and move on /j

if someone pays that much i would give him my pc also XD
Their 32k is fake, my 2$ is real 
1 dollar final offer
Let's be serious, that's too low
1 dollar and 50 cent
Guess how many times I misread this in one minute as
Activity flags or d together
rather than
Activity flags ORd together
i misread that one too💀
I actually don't even know how to lay this out on mobile
below just below eachother
yeah it looks a bit ass with the links as a header
takes up too much screen space to put them vertically and horizontally they're too wide
Do we have to start calling you Early Verified guy?
it needs to be a collapible sidebar really
What can I do in this server?
Talk about coding
I wanna make some apps , I'm good at coding :3
but zero idea how to get that working as a sidebar, it's more than just a media query at that point 
@grok is this true
How to make a bot?
step 1.) make the 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?
I'm new , How can I?
Discord has a really bad gateway I mean really
recompilation 5, hope i finally got everything sorted out now 
Nice.
You sure? I've never had issues with it. And it's what powers 99% of bots
What's wrong with the gateway?
I want a auto moderation , made and modified by me , i can code on any programming language.
Then check out https://libs.advaith.io/ and pick a library there. Most of these, if not all of them, are gateway bot libraries
Compares Discord libraries and their support of new API features
The outages are frequent
You will need the gateway to make an moderation bot
Really?
Sauce?
I can think of 1 in the last 6 months
wat
And when I leave my sb on running 24h discord sometimes blacklists my ip
there definitely were more
Yeah
but it's not that huge and they're usually resolved in a timely manner honestly
Full gateway outage?
There's been minor issues to specific systems but not the gateway itself
Suggestions in townhall proves you can never guess tf audience wants, its too weird suggestions lmao
Is the idea out of the box. for clans thing?
What?
I have no idea what you're talking about. What faq does clans or appeal?
@patent carbon is discord supporting sb or it dropped it?
yeah I've just jumped in
idk what you guys programming at
We don't work for Discord
We are discord.
sadly I wanted for discord
I'm not really surprised the upvoted suggestion is "We want more badges" lol
Dunno
Ew
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?
let's stay on topic
Yeah ur right
Wow
Anyone know why my brand new alt discord immidatley got de activated when I verified the email
Twice in 1 day💔😭
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
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
Ok. So that's your answer
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
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"
This is my main😭
we're not helping you evade required actions
I’m just asking not even complaining
Thought I’d go to the experts💔
Apologies, have a nice day
Not trying to evade anything, I’m just clearly not as knowledgeable as u guys…idk why I’m getting some weird attitude back I thought I could ask discord related questions here
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
I just presumed I had done the wrong thing tbh, it feels excessive for what it is that’s all, I’m not complaining I was simply doubting myself and needed to check with someone who knows more than myself
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
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 
Do u think coz I logged in on a private browser that may have affected it?
i have no idea what witchcraft they are using these days
I’ll update u guys in 4 weeks🙏🙏
i just know that it's occasionally really bad at finding bad guys and instead really good at inconveniencing people
How to play discord on discord
how to excuse me what
Yup tbf I’d rather this process than having to deal with the results of this not being in place I suppose😭
Play discord in discord
@sick python is playing discord on discord you can check 🤣
its just an rpc client
It's probably custom rpc
^
to clarify: my assumption since you said you got multiple instances of getting accounts disabled was that your main would also be disabled and you instead kept making alts
(somewhat reasonable imo considering they want you to go through a verification process - why they are okay with the main despite that is beyond my understanding)
Hip
Nono all good fair assumption
Hio
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😇
I live in the uk
Good for you
that is strange indeed, oh well
Who else dose
What does that have to do with development?
Bro shut up
Why so hostile?
Lol, no
Because this isn't a general chatting server. As it says in #rules
BadgeCord, they all are literally into just badges
If you want to have general banter. There's an entire server for that
lol
You suck

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
Bro nobody asked you
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
Shut up mate
oki
What you gona do
Ban you?
I think I found out what he's gonna do
Lmao
Not from Discord. Just this server. The mods here can't do that
Breaking my brain over trying to make one canvas mirror another
I have a Question is Somebody having Opal
ScamClient TM
what about it?
Does it also happen to have a "token importer"
why is it always you sooj 
💔
Bro how did you Had the Motivation to Pay 100$ in a yeahr
by having a job
$100 is not a lot of money
Bro i have Like 10€ in my Pocket
IT IS much
not all soujis but always a souji... wait
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🤷♂️

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 ?
make a project
🤷♂️
I Had a Account bevor but i lost it
where can I get java
starbucks
DANGIT SAM



Does anyone know a free hosting provider?
Google Cloud and Oracle Cloud both have good free tiers
but anything advertising as a "free hosting provider" is probably bad
like i need to look at ad for free host ?
I think so
Goodnight! Hoping you wake up feeling completely refreshed tomorrow.
Thanks
Jjk bundle isnt available in asia right?
@patent charm can I complain regarding a user's bad behaviour to you?
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.
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.
ww
because saying "hi" by itself is just spam... it doesnt contribute to the conversation
what type of help do you need?
oh okay understandable
i just answered that question... if you look 1 message above yours
i am not able to host it on my pc as my pc is on for 24x7
Wait I didn't understand this channel
correct... to keep it on 24/7, you would either need to never turn your pc off... or rent a VPS and run it there
check out #1478860733365354687 for more info on that second one... check the pinned comments there
its for bot devs
lets keep this channel / server development related
Okay thx
my pleasure 🖤
Any channel where I can just ask about shop items?
no
Nope
what does this have to do with development?
Keep the off topic stuff out of this channel please @halcyon veldt
this server*
<@&1050493473033289778> multiple spam messsages above sent from @halcyon veldt

Hey can anyone help me with .env file how i Upload secrets in .env file in phone?
i dont quite understand the question... an .env file is just a normal file... what part of it doesnt work on a phone
Like in github it says to upload bot token at .env file but he said not to commit and in phone how i do?.
And i checked all the Videos
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
but automatically revoked*
so, you add the .env file to your .gitignore file in your project so git will not upload the file
Then it will be done?
Go to repository secrets
And add your env variables to there
But it says not to go i tried
Is it sad?
Yes it is
How to add in phone😐
Tell them to get happy cause you found them!
those are only relevant for workflows... i doubt they're running their bot on github actions
Wait ill try
Eh, that’s maybe what they are doing (crazy)
Using github actions to http request bot
Huhuuuu
You cant shouldn't run your bot with GitHub actions which is what that section is for
Hm
I lowkey want to try that ngl
Beyondthelimits
Theres a max runtime for actions, 6 hours per job, so be pretty weird
Public bot would do though?
Isn’t github actions unlimited for free repositories?
discord lowkey is a spammer
The duration a job of a workflow is capped at 6 hours, then it dies
Where should i upload discord bot token?
can you tell them to calm down in sending events :)
Not in my dm
;-; Im not putting
I guess you should rate limit Discord
Like in variables or Secrets?
Secrets
LOL
Ok
Is this AI?
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)
I just labeled Sora watermak on there to make it look like AI
;-; i want a Teacher for real
Ohhh right
Who guide me
we can point you to places to learn... but you arent going to find a tutor/teacher here
First of all… where are you hosting your app (bot) at?
Own hosting
I made it by self
Then, all you have to create a .gitignore file first
thats not what hosting means
hosting is how youre running your bot 24/7... most people dont do that from their home
Why 24/7
and given that you said youre on a phone... you cant do that either
I had it
Yes it is
24/7
And you probably pushed .env file to your GitHub history too, right?
And then Discord reset it for you
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
It’s okay
There is deleting on history
Yeah
I read it part by part lmao
Hm
I coded my bots for two years on phone
the activity tab is really bad here as it shows all commits and force pushes, soooo
It was so painful but fun to build
Not the commits though?
Great
Bro it is pain
where is this cleaning?
you even can see commit shas from forks... the whole thing is a mess (esp security sense)
I did all things in pc i dont even know how to run bot in phone
if its deleting the commit in git and pushing, as already established one can sill view with direct url and here
yeah thats not going to remove direct commit access
You are deleting it from your origin
How come?
ie a commit that i overrode
You cannot ksjdjd
github is special... idk what to say
That’s different though, it is force writing
Okay wait, give me a minute
How i do in phone?
for this commit tho i used git commit --amend --no-edit later
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
Tbh, i did had a few commits
yeah so if i get those sha's, ill be able to see it :)
but any actual clone wont provide
Now it doesn’t show up on activity logs, checking to be sure
And no, it is not there
it should
Okay, I will try to remove this: 862c658782dff6005978f5810ca5bd936e5895ba
@weary bluff how to start in phoneee
hello guys can i have some help to create commands ?
i mean you do need to know the actual repo name and owner
I know i know, jsut wait
Or lemme send hold on
When I get home though
ping me when you think its removed (also you could just make a new test repo haha)
I’m on phone and it takes time
I’m at work fkxjjzzhsj
yeah fair
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.
You should check top.gg or the Discord App Directory
This isn't the server to find premade bots
Okay, thanks so much
Guyss hi
Asc
who is anthany
Wondering if anyone has seen this before
If width = 3em, the actual width of the span is 3em
if width is anything EXCEPT 3em, the width is 0, magically
Yes
Ok
I've never seen tailwind behave like this before ever
it's just... wat
Hi hi
ok i'm just gonna chalk this up to the build being borked because it works and doesn't work seemingly at random 
My dad is son is brother in law
My dad is son is brother in law

So your brother in law?
<@&1050493473033289778>
wtf do you think you did?
why do you think that would be appropriate here
If you had it as 1em, it doesn't show and if you set it as 4em, it doesn't show?
(cross checking it doesn't show regardless if it's bigger or smaller than 3em)
Yes. If width is set to anything other than exactly 3em the element gets set to 0 width instead
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
Dafaq
this happens seemingly completely randomly when I reset cache and restart the nextjs dev server
never seen anything like it before
Have you tried using pixels instead of em for sanity check?

it's now happening in prod too 
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
It happens in prod too though, and i've had it suddenly break when i'm not even changing this file
is it a public site? i wouldn't mind taking a look
Sanity check: any code errors, what does the devtools say the width is of that element?
uh no but if you give me 5 min i can port forward it rq
kk
no errors and it is truly zero when it doesn't work
Wondering if something else like a parent is collapsing it somehow
http://86.161.112.210:3000/ assuming i didn't screw up port forwarding
may take a few minutes for router to actually update firewall rules, it's slow sometimes
Only https allowed thanks safari
tbf https only esp. for non-local apps is a pretty fair policy
also you can get certs for ips
i mean i can spin up caddy if you really want but i can't be bothered tbh
Meh
oh it finally loaded! cool
ok yea should be active now
gng what is ts
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

3
wait but
i love tailwind
commissions and projects - are 2em
rate my landing page 
Ooh, I see it now
you're hired
can you also try resizing the window to see if the media query breakpoint works
just to make sure it isn't that
i got out..
hits at 800px
it actually does have a header but I don't actually want to link it since it's public 
(though it's behind cf)
Lgtm
yeah that's how it's supposed to look on that resolution atm, i haven't made the nav collapsible yet
Lol
did yall ever tried shawarma
Ofcourse
best thing in the world
But what does that have to do with discord
what is discord without a good meal
Fair enough
we're fueled by java, not food
nuh uh who's WE
so i take it nobody has any ideas why tailwind is just deciding to not work here
java is my nemesis
for that one class and that one class only
it does that sometimes
while I could say it's singular we... I'm sure it's not 
i wonder if it'll magically work if i write regular css instead 
browsers are pretty good at magicking regular css
gonna go get a shawarma meal

So is what I'm seeing not what it's supposed to look like?
today's special
double meal for less than 10 dolla
yeah, supposed to look like this
and fun fact this is the same code, it just decided to work this time
tailwind betrayed him
Ooh interesting, okay
Nope sorry. 3 is the magic number which makes me wonder there's some other rule or logic
I'm losing my mind because my logic correctly says 3em and tailwind just decided it's actually 0 instead 
except sometimes it's not
but most of the time it is
thats why i dont do frontend anymore
Dumb question from me, have you tried it at 4x CPU slow down?
i normally don't do frontend either, for this reason
I think you need more margin for the text
hey guys wanna see some black magic i just discovered with this piece of crap?
LOOK AT THIS VOODOO BS MAN
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
what the hell....
What's the catch here? https://contabo.com/en-us/vps/
this has to be a weird caching issue
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
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
i'm half convinced this isn't even my fault at this point 
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 -
interesting
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.
this explanation doesn't make sense though
if this was the case it would be working the first time around when i clean start the dev server
but does clean starting the dev server also clear cached builds?
it does
i would understand if tailwind was grabbing only 3 or only 2 but it grabs 0 which wasn't even an option
There's #rules 8 but that's for ads
Asking things like that is usually frown upon here because it requires pulling people into DMs and lot can go wrong from there 
So not the best server for that
So where can I go?
not here
Good question
Well it collapses to 0 - because that's the default for an element with no content
i'll rewrite it with regular css and media queries instead
うんこ!
i'm a little confused as to how this occasionally works too if tailwind is supposed to not be able to handle this
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>

thanks mods

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
forgot you can't use vars in media queries either 
yeah it has to be a static string
you know what's also interesting?
the colour never broke despite also being a dynamically constructed class string
Yeahhh that's unfortunate
Like I said, we have seen lots of these types of scams, not that you're doing it, but where the author would send an exe or whatever to download, and that would be malware
I actually have an website
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
Gl
Do you need testers due to the requirements to publish?
Yeah
I need to go into production mode
Though I'm in internal testing
Probably find someone on fiverr that can help quite cheaply
see actually it doesn't
Yeah so the thing is I'm broke ❌💵
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 
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
I reiterate, this is why i don't like tailwind
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.
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
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))
);
plain html/css wouldn't do this to you
plain html/css wouldn't even let me do what I'm doing here
and then my class construction for base elements looks something like this

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
i think it looks fine
most portfolios people share here have way too much content and flashy effects
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.
tailwind gives me headache
lol
Hi is it possible to code a bot from mobile
yes, but it's not very user friendly
is possibe but it’s a huge hassle
Yes but it's not ideal
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
Holy one-liner
awdsawd
time to break people's brains
Arr ← [1 2 3 4 5 6 7 8 9 10]
Solve ← ▽¬⊸◿2
Solve Arr
Don't expect to type some icon and triangles and make me solve it /silly
I have one but not with me rn
no need to solve it :^)
Ancient Egyptian symbols/programming language
How do I make a server a request?
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]
?
Hey hanna how to get a worker for discord?
i don't know what you mean by worker
A discord supporter
Support worker for discord with the supp badge ect
you mean a discord employee? you have to apply to work at discord
Morning hanna
@modest geyser hello
I apologize for my fude behavior last time
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
<@&1050493473033289778>
what in the north korean spy kinda recruitment spam is that
I'm surprised who actually falls for stuff like that
I am actually loving that aesthetic.
I just recently saw a thing about a women inadvertently doing it for years
Lol I'm not surprised... Just disappointed
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...
not advertising
blatant advertisement
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
Bots can help with moderation duties filtering out specific things but they cant replace them
No a llm cannot think and decide

Lmao did someone try using an llm to replace mods
They must not know what socialising mean
They do that a lot. Some people seem to think that non-thinking machines can replace thinking people
Yes and their argument to my last message was nuh uh
Lmao
And if a machine can do your job…you weren't doing that good a job, were you ? lol
LLMs can't infer meaning or understanding surrounding context
Exactly
To be fair, sometimes people can't either
That's sad, I don't think they have a lot of social skills to think it's the same
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
They can never fully replace human moderation, BUT they can act as a great tool
omni-moderation and other models can help with that
Tool? Yes. Replacement? No freakin' way
for simply flagging and notifying
👆
MeowAtScam helps filter out scams
Everything is a tool. Humans are tools often. Just read this channel most days /j (or am I)
(Shameless MeowAtScam mention)
I mean, there were doomers saying that C would replace programmers. It never did, just made us better at writing programs
Novus also does 
First time I've actually mentioned the bot name publicly lmao
nO aDvErTiSiNg MaTt!
if(msg == scam) bonkWithHammer();
Filters have been a thing for a while, so far LLM's have not been as reliable
yes, totally valid
the domain isn't even setup lmaooooo
literally been just sitting on the domain for almost 2 years lmao
I like how other people are making anti crypto scam bots too
tbh we're the only like...actual one maukkis
I've looked at the competition...there is none besides like you
True..
and technically honeypot.
Riskys is just a landmine
exactly
Auto rotating honeypot channels everyday its kinda like gambling you either get banned or not
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.
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
or 1.jpg, 2.jpg ...
Yea
Break the rules, suffer the consqeuences. Pretty easy
You the same guy on a new account?
not even anymore....
Interesting
Tbf i do not log that would make an interesting graph
wanna see the logo I made for novus?
Sure
I should add that as a metric at some point lmao
Sounds like a good idea
Never enough metrics
yes
And i should head to sleep soon its 4am
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
idk but its W
N
Ndeed

😭
Lmao awesome
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
Crazy how it's just an alt advertising the same crap
<@&1050493473033289778> ban evasion, it seems
Crazy how you have to actively ban evade just to try to get users for your crap AI bot.
all of us
My role is a lie
I'm actively laying in bed rather than working
Apparent it's "frowned upon to work while the office is closed" and something something "have a work life balance" yada yada
sam can i send you a friend request
Sure!
I wonder how many people here don't know that viral video
Good thing my office is at home 
Heres the full resolution pfp for MAS
I love it
better to ask than send a random friend request in my opinion :p
Is that the colors on the side?
Yea
I'm not an artist (as you can tell) so I don't know if that's normal
That was the only one i found
You'd think so, but so many people do anyway >_>
My gallery is a mess
Especially for this server, it's a valid question
I just thought your profile was so beautiful
well yeah i get a lot of friend requests from people i havent even talked to here
Admiring the opal badge
-# later asking for nitro
really nice
I love MAS's logo it's the most adorable thing
That's a bold claim. And rude

