#dev-chat
40532 messages ยท Page 41 of 41 (latest)
Ikr!
doesn't want to brag
brags anyway
no way, my chicken in a kitchen sink is the best
-# /j
inb4 join his server to test his AI mod bot amiright
the chicken is also named hornet
I think you are, Matt
what does your application even do
And? We build apps our way, not your way
I find people who have to come in and claim their bots are the best without it standing on its own merit tend to have the worst functioning products in existence.
Probably brags, Sora :p
inb4 no actual bot :p
I'll have you know my bot is actively used in 1 server. No one can beat me
inb4 rule #21 violation
Lmao
Does it mow my taxes and file my lawn?
my bot isn't even in a server!
Not gonna lie, thought you asked if it meowed at your taxesโฆ
files every blade of grass down to a razor fine point
MeowAtTaxes
MowAtLawn
Im kinda like a llm you give me a prompt and some coffee and i spit out questionable code
Same
Beck did you see the javascript crossword
I do that myself
I lowkey could do a tax bot...my mom is a tax preparer....
I saw it earlier, yeah. But didn't check it out
Could actually do something 
Not a crossword fan
what is with some new members being rude, it's happened last night too, is this just the same person
If you have nothing to contribute please refrain from random off-topic image spam
Very likely yeah
best coder
ngl...gRPC with buf.build isn't too bad
Don't say that. You'll summon Risky
yeah exactly


shut
I dislike bun
I like bun
I mean you dislike JavaScript as a whole lol
True
Ts is fine because the type system is funny
and because it's my favorite right
Apparently you're not sorryโฆ
I asked you not to do what you just did and you said, "sorry". Then you go and do it again
It was related to the conversation
How
Hello guys I'm new here I just started my journey ๐ you can call me Luffy.
Peak
Luffy Fluffy
I'm also not sending random images of random video games to the developer chat attempting to derail the conversation multiple times.
hi buddy
Wow itโs work in here
๐
@granite yarrow please test your bots elsewhere
Join my server through the tag
Ok
Can I also add my bot here?
<@&1050493473033289778>
<@&1050493473033289778> be sure to check #1508525591215734825 message also
Can't see your tag
Don't join, it's probably a scam
๐
Umm
Lying
You should ban him then
MLMAOO
anddd gone
gone
I'm just a user here, I don't have the power
Same
Maybe
Soo this guy just got banned?
He broke several server rules, so yes
let's get back on topic
Oh ok
So, TS is great, amirite

Yupp
You use TS? I thought you were vanilla only?
how to make money
Turns out I have to use ?vh= to specify which version it gives me
beck has been learning!
This isn't google.com
Get a j*b
I currently am vJS only, yeah. But madeline is ~~ indoctrinating ~~ teaching me
Get a job
it's been going very well
okay i go to google try ๐ญ
madeline what do you think of effect.ts
this is not even a joke... if you actually want to make money... a job is the best way...
๐
Basically yeah
best way?
sounds dangerous
I mean you can start trading?
TS is good... I think the setup process is a nightmare sometimes, especially when you start adding plugins... but once you get good at doing it, or make a template, it's fine
Or you can go roblox pls donate
No lmao
I don't mean file name I mean like.. a framework
Just use bun, unironically.
bun actually makes TS experience like...really nice
sounds like dangerous framework
Why we only got 50boost when we have 280000members
Bun / biome... I know
wdym? what setup?
very smol class name fr :3
Bun + Biome + Rolldown (for libs) or Bun build (apps) is actually goated
ok it's mainly linters... they're my problem...
A bunch of features? Hahahahahah
I have actually been switching to oxc
Ok so is 3am for me, I canโt even sleepโฆ
BIMBIMBAMBAM
Keep it on topic please
how so
are you going to send that randomly once every couple days?
rolldown uses oxc under the hood
I'm sorry, I'm learning English, and I can't really follow the conversation.
that the standard for linters is still ESLint/Prettier... but then you have to get plugins for them to work together... oh and then you add typescript so you need plugins for that... and then you add React so you need typescript / react plugins... oh and your build tools have their own plugins... and so on
If you have nothing of value to say, don't say anything
that's a more JavaScript ecosystem as a whole problem... not typescript... but TS can make it worse
yes I know modern tools replace this as they have better out of the box compatibility such as Bun and Biome
Biome > all
Okay, let's lower the motorcycle a little.
It's difficult to make local jokes in English
no excuse for this... this is just spam
Then don't make jokes. And stay on-topic, per #rules
sorry
I sincerely apologize
Biome insults me every characters ๐ฅ
What if i make coffee but use coffee instead of water for the coffee
then just write better characters
Coffee^2

Does anyone know how I can create a save game in Godot?
And I'm starting to miss biome cause oxc had been so kind to me lmao
<@&1050493473033289778> dude's name isโฆbad on so many levels
Biome did not leave a single room for bug at all
especially react
it's the other way around. every line of your code insulted Biome
but it's been bad for svelte, because the parser is terrible
What's wrong with my name?
Oh yeah, no Biome is lagging behind on front end frameworks
๐ true
Everything
I still use ESLint/Prettier for Vue and such
but?
none
I've been tempted to try oxlint for it but meh
i use biome
What is biome? I'm so outta the loop
I default to biome, except for frontend projects
a formatter and linter
linter, formatter
Too small
I'd say pretty reasonable
every projects I just do
cp ~/Scripts/myanotherwebsite/biome.json . immediately
ive wanted to try oxlint but im too lazy to migrate
and everything is configurable ofc
(and oxfmt)
I still keep separate vscode profile for biome too
https://github.com/ShadyDonkey/torkin-bot/blob/main/biome.json
This is pretty close to what I normally use...and most of that is default init
-# so like ruff in python
Jason
We love Jason
This chat is sponsored by Big Jason
toml better
not for API purpose?
Plain text >
Input? Toml
Output? Toml
I use going to use binaries to send info from 1 ESP32 to another, but then I realized JSON is more reusable
Config? Toml
And I wrote a parser in like 10 mins
esp32?
yeah? I work a lot with robotics
okay I didn't know what that was lol
It's a microcontroller with wifi/bluetooth antenna basically
I had to send information from one side of the school to another, back and forth
and so I chose jason
there was a terrible accident and the server node went dead, I'm considering raft consensus to make it assign a new master node automatically
but it seems complicated
(same thing used in docker swarm)
i think you should give the nodes autonomy to mutinize against the master node if they feel it isn't performing its duties
But then multiple nodes could promote itself at the same time unknowingly
React in Rust
so THAT's why programmers are often single 
:dogeKek:
<@&1050493473033289778>
@jayden
For some reason, I can't remember what I was gonna do :thinking:
Help me
with what
I am new I am starting now
Do you know of a programming language? Do you have prior knowledge about programming?
Yuppppp
What programming languages do you know? And what exactly do you need help with?
Yessss
@void haven
That was not a yes or no question...
The yessss programming language
Programing language is a formal set of rules instructions used by humans to communicate with computer
uhhh....
like do you know python, javascript, java something like that?
not the definition of programming language
No
At least it wasn't the English programming language
Then you should learn one
Ook help meee
What programming lanugage do you want to learn? We can point you to beginner's guides and learning resources
Huh I know yes programming language well
Discord Moderator
... nevermind
I mean, saying "no" would defeat the purpose of the language
Jokes aside, at least try to be serious here...?
and if youre not joking... then you misunderstand the purpose of this server
Joking
@patent carbon im running biome for the first time 
ok... then dont do that
lol ive done that on one of my projects just to see what it did... the limiter was a little too low 
--fix --unsafe moment
I want to make DISCORD developer
yeah I had to increase the max count from the default, i set it to 2000... still going so far
oh it's done!
show the stats!
not bad for 205 files on a first scan
yeah its really not
yeah lemme do a line count rq
I wonder how many can be auto fixed
yes
look at you with the 90 line file average... keeping your code organized
No 3-digit infos

Jason language
what's the name of this tool again
i use scc but you can also use cloc or sloc or something
Json Derulo
{
"print": "Hello, World!"
}
can i get it to show me the error/warning counts by file or by error type or something?
i thought you're the biome expert
honestly never used it except on other people's repos
i've never used a linter before i always just maintained my code
omg why is the default indentStyle "tab"
What is .gg/discord?
huh... i thought this one would be bigger given it's age
oh no, not another tabs vs spaces debate
there's always a right answer... mine /j
spaces > tabs
what project is that? also holy complexity score
Newline>
right answer? i mean they both indent to the right
my backend server
hehe
ha ha... backend... the funny word
Me when โ unicode
Wha'ts Buildathon?
but yes, it's kinda a nightmare to work with sometimes...... this is after like 2 massive refactors as well
What are you using to get those stats?
okay im running this again with the dumb tab thing turned off
scc
i dont remember the name of the tool
written in go for some reason
youre just a hater
Welcome to the official kickoff for the Discord Buildathon 2025! Developer Advocate Anthony Teลกija runs through everything you need to know about this hackathon event, where you build amazing projectsโlike games, bots, or appsโusing Discord's powerful APIs and SDKs.
This extended Buildathon is designed to give everyone a "comfy amount of t...
Thanks!
the formatter doesn't tell me what rules i broke lol it just says "we would have written it like: ..."
and then rewrites the whole file
OHHHHHH
it doesn't like my carriage returns
goddamn windows
if only there was a better option /j

hey! i use windows too
I ran it in my novus directory...so the entire novus project thus far
the estimated values at the bottom are dumb... but i like the counts
yeah
nooo let me bask in the glory of my 466k value

I don't even know where this JSON is
what on earth
oh a million.... wait
WAIT. MY CRYPTO SCAM COLLECTION
bruh
yup...that was it
22.5m lines of json?

yeah it's autogenerated stats and such
still tho
there's like 10 GB of crypto scams
and its all hashes, phrases, stats, etc
and there's probably a lot of junk too
matt why are you working for discord for free 
they owe me $1b
should probably let someone know before the IPO
true
ya dont want to deflate your stocks
Didnt know that matt is a billionaire
I'm doing the work of.....
470 people
470x dev
I am the true 100x dev
mystos
I ran it on my entire "Developer" folder lmaooo
of my near $1.2bn valuation as a 500x dev, just over $1bn is for Discord. Come on Discord, pay up ๐
okay i wanna know WHAT this file is and why it is in my development folder
LOLOLOL
unreal... you should pass it up the chain
yeah, pass it up the 1 billion dollar chain
ew, i have a lua file
I have a "Jinja" file
ive never used this
it's from IfElseIsEven or whatever we call it
huh
lol the cursed repo has ruined your scc and made you have rust files
thats unfortunate
im GOing to keep it that way
ill just make a pr to iselseiseven
ill reject it
HOW DARE
"language does not meet repo standards"
rejected, used tabs
not everything needs to be minified
lol remember when someone submitted a PR and tried to make a bunch of changes to "optimize" sacul's python version
i do not but i would love to see the PR... like several thousand lines of changes with just formatting changes?
????
omg its even better
yall are so very welcome for these changes, which consist of:
updating depreciated typing imports
an update to your args len checker (i think the old one was ragebait of some kind??)
various impro...
A story in 2 photos
bigger question is... why would someone try and optimize that repo?

that was after he addressed my concerns though
wait there already is a golang.go version
even though go.go would have been funnier
oh yeah i think @balmy basin made it
Hello, im new here!
Hi new here
Makes me remember of the outmaneuver guy
Hi, I want to create a Discord bot since Iโm learning Python and thought it would be fun to give it a try. Iโm wondering if itโs easy or hard to do.๐
Yeah
Difficulty is subjective
Who's profile is that?
Yes, indeed, I currently want to strengthen my Python skills, that's it๐
depending on your already existing skills... it might not be worth it yet
but once you get comfortable working with async programming, a bot is a good first "big project"
from pycord, but the same can be said for other python libs too
A professional vibe coder who once peaked on 2024

They have more rejected/closed PRs than merged ones
oop
I wanna see these PRs...i might go looking
thanks for your thoughts....๐
DDevs victims so far was just Fin and the discmoji dev (forgot their actual name)
Did you use to be active here then took a break? I only remember you for about the last 1-2 months
Ah, so you don't know me yet
๐ฎ
of course its demo
I knew it the day he showed up
I associate people so strongly with there pfp
idk what is real anymore
my annoyance with this bug...that's what real
technically speaking, theyre the same 
Oh so it's actually demo 
I'm shocked that anyone didn't know, lol
The emojis were a sign
The lack of pithon did not help
but even when he was using regular emojis briefly I knew
if I ever go in with an alt account im cooked lmao
I'd spot you
Will the alt be called "real"
is there a support server??
no
well that sucks
my main account got disabled for being flagged but i cant relog into the account so i was hoping there was a support server
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
Does anyone have lavalink or source for public lavalink
Which of us is real
Which of us is fake
-# ignore the roles ofc
Eventually I'll move all my dev stuff to that work account...eventually
......
https://lavalink-list.darrennathanael.com one google away
Sup nerds
Is lava link for discord?
yes
Iโm the real one actually
erm actually I have the proof that I'm a 410x developer so I'm the real one 
Duckduckgo has an email service?
yes
the email forwarding service
Itโs a forwarding service that sifts out scams and spam
So I use it for my public email, so I donโt have to put up with trash mail
y soo many buildathon champions in chat lol
but...if you have a set forwarding email...doesn't that just defeat the purpose?
There were 9 I think
potentially.
like I use forwarding services for temp mail ill trash like immediately after
ezpz lemon squeezy
I also use it for stuff I donโt care about, (random stock photo websites that Iโll never use again) when I make like uis n such
Idk why but ddg has always made me feel a bit uneasy in the sense that it is not all it says it is
I mean thatโs fair, I personally donโt care that muchโฆ my private info is already out manโฆ every website wants your personal info these daysโฆ
Even Roblox wants my ID and face biometrics just to play some dang games
Not working
hello soraai
Fake AI
yeahhh, ive never been a fan of it. it's still setting data and showing ads...its just...not as bad as google. if I was actually gonna switch id go to like kagi and pay for it so i know exactly what im getting
im real
prove it
Hi real
is that your alt demo
I generated this cat video
What alt
demo's gone
Well everyone is gonna be flocking to DDG and other browsers tmr
sad
Google is speedrunning how to destroy their own brand
No one is "flocking" to other browsers lmao
maybe he's gonna come with a new account soon
ye
Google is rolling out a complete ai model
-# starting with k-
and sunsetting traditional browsing
I switched to Firefox because chrome kept bugging out
My main is still infested with brainrot. I'm letting it simmer under the sun for a while
oh right android 17 is gonna have a ton of ai :p
the ai generatable widgets seem cool though
Android is going to be majorly downgraded :/
Gonna be genuinely so TRASH
even if they released some crazy bad things chrome owns so much of the market it would mean almost everyone would have to change...including normies...and that could take years if not near decade to fully migrate.
and web devs won't fully switch because they need to test on the major browsers to ensure compatibility....
gonna be
uses AI result
scared of AI in chrome
You're literally using AI to justify avoidance of AI
nobody wants this โ like everybody hates aiโฆ nobody wants this, why change the literal roots of Google and what made them such a successful company to begin with.
What's wrong with a browser eating 90% of your RAM:(
and theyre also making sideloading a hidden developer settings feature
delete it then
The RAM? Sure
It will get fat
wait
Waiting
Also crazy that we're equating search changes to chrome changes. AFAIK the search changes have zero relation to chrome and that experience will be the same no matter your browser
Could've been me
i ran biome lint and it looks like there's only 8 errors - most of which seem to be on the file i'm actively working on

Dunno what a GitHub Organization is, but I made one for fun :D
now make a open source discord clone

206 warnings
make frontend in markdown
first time running it on 20K loc
what about... linter extension? :pensive:
idk, never used a linter before
most of these warnings are just things i'm going to have to explicitly ignore anyways
or setup rules for
I'm not
demo
Why not HTMLish
all these time demo was here
actually, make it soo open that, put the db url on client side
I'm gonna push my dotenv file
duh
.env my beloved
Anyone here going to twitch con rotterdam?
Script is blocking
The ticket now says "open," does that mean it's over or about to end?
the ticket open means still waiting
it means you've opened it and should wait
it's gonna take a long time
Morning! Don't just have a great dayโmake it a great day. You have the power to do it.
Why is discord intents approval taking so long?? Almost 4 days now
People reported even month+
even more
Idk whyyyy usually they did it like in 24h
I got a lot of big servers waiting to use my bot
And they cant
You can only wait and pray pretty much
"usually" when was that usually
Or make the bot leave from inactive servers
Like months ago
I doubt
I have been thinking about it but it will look bad
Why?
It looks like im putting small servers bellow big ones
Not equal and ppl will complain
Inactive = totally inactive
Not small servers
How i will know?
back when there were not that many bots back then
You can check server members count
Anyone have douwan subscription??
no
#JustVibeCodeIt
What intents are you applying for?
for lazy ppl
Server Members Intent and Message Content Intent. Becouse my bot got welcomes/goodbyes, analitycs, logs
You do realize you don't need either intent like any of those right?
I got more functions
K...
Replace 5 bots with one that does everything subpar
And besides that...just disable the modules that require the intents temporarily...
and like...a lot of these Im looking at don't need it either...or could be automod rules...
You could even do autoresponders as an automod rule
- anti ping: automod, not protected
- ghost ping: not protected by intent
- event logging: just ignore ones that require intents for now
- welcomer: hate those, but beside personal preference just disable the guild members intent temporarily
- attachment only: just disable it temporarily
- Ones that don't need intents:
- levels/xp
- giveaways
- server metrics
- boost rewards
- server website
- embed builder
- role prefixes
- any economy system
So of the however many things...only 2 very specific functions are impacted from what I'm reading
looking at your grid
- anti-ping protection can be done via automoderation
- levels & xp dont need msg content
- N/A
- N/A
- N/A
- N/A (why a dashboard? the less you have to leave the app the better)
- not protected by intent
- N/A
- N/A
wait we did the same thing lmaoo
interconnected minds
the DDevs braincell at work
the hivemind
singular braincell of grafana appreciators discord server
but its funny we basically came to the same conclussion
also the automoderation one would likely be easier since you dont really have to do anything your-side to save the data lol
AutoMod command mentioned
๐ฃ๏ธ๐ฅ
okay jetbrains
pyfmt
pyftw*
Real
Hey, how do you remove a bot from a team?
Can't
who at google thought using million bytes as a term is a good idea
Very useful
the one thing I hate about jetbrains products
oh god i would hate that
without inlay hints btw
Why are they so obnoxiously big
cant you make them smaller? like their font size/max width before ...
Or at least change the behavior to be above the line
you could make a feature request for it
or I could just disable it and not worry about it becuase they don't provide me any value anyway because if I needed it I can just hover
yeah ig xD
seems fine to me
rust analyzer does this so i'm used to it
but tbf they are, if not too long, kinda nice
they absolutely could be
for context.
how do you record like that :p
I knew it would be asked lmao. hold on
I kept seeing screenstudio, but didn't wanna pay the price and stumbled on this: https://www.screenkite.com/
I haven't used it much and just tinkering every now and again.
dont need it on windows :p
but looks greeat
windows shift s has built in screeen recording
Oh yeah, so does mac
ScreenKite just does all the background things, auto zoom, showing the key strokes, and blah blah blah
Which I don't think windows has natively either
nope
you can decide the frame size thats it :p
pretty much the same for macos
wow
?
I do everything with an AI XDD teach me
People like that exists????
log out of them, delete their desktop apps and any extensions and just code xD
Or are they ai themselves? :think:
if you dont know something there is something called google thats really helpful but disable ai reponses there too if you also want to get better at research

Honestly i dont understand the point in non programmers using ai to program entirely wouldnt that actually be more expensive than hiring someone to do it?
And you actually get working stuff usually
probably not if they already have like chatgpt pro etc
uh oh
I do not know anyone that doesnโt program and has some llm premium plan let alone use llmโs
Clangd does the same thing!
Especially when opening a template heavy file
oh i know too many
Interesting.
like you got the programmers, non programmer it people, some finance and excel people
i mean it's definitly helpful for debugging/configurating server stuff
Yea ai is good for debugging in a way you try to debug something with it and it starts hallucinating and you get so mad you just do it yourself in 5 mins
no like actually xD
i dont mean programming debugging but server cli service debugging
AI: i think i see the problem now after breaking the file from its tests
Whats platform manipulation?
I'm rewatching Silicon Valley and I swear every time I rewatch it I pick up on more and more subtle things...like this time they're indirectly referencing clean room engineering
2 of my new servers got limited due to that reason even my account. We didnt do anything
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 thought this was for server developemnt
oh as in building discord servers? no
i have contacted them throu email but no response. So is there any server where i could make ticket and solve issues
It's not that kinda server development
there is not, no; the ticket system is the way to go
And no, Discord does not have any form of live support
ah man
they keep limiting my servers and accounts
Any individual on the discord platform who's trying to say they are support is not actually support and actively trying to scam you.
even thou when i didnt do anything
We can't help you with that.
unfortunate, but complaining about here won't do anything
ah shi. But i js messaged their twitter privately. Will i recieve response from there?

๐ญ
Doesn't speed up the process even if they do
Uh
and creating multiple accounts just to evade platform level punishments doesn't help your case either.
Like in episode 2 hooli creates a team for nucleus who's sole job is to reverse engineer the pied piper algorithm and make their own version as close as they can without getting sued. It's actually so interesting how it references what actually happens with things like clean room engineering
and I never picked up on it till now
Or how like they use like the proper terms for start up orgs needing a SS-4 for requesting an EIN so they can open a bank account under an Inc.
I cant message in that acc. So i js made a new one
Hello my friends How are you?
I doubt their Twitter account are for account/server issues; more like general questions in that sense. You're better off in the Support portal instead
@tiny pendant please use this channel or #1403147433369800888 for showcasing your projects
#social-sdk-dev-chat and #activities-dev-chat and categories are specifically for those topics
It a mod in chat
Do you add back
๐ฎโ๐จ
?


Are you
is he what
He's cool
Adding back
why would he do that
people use the friend system?
So no
Question
I do, but I wouldn't send a friend request to someone who doesn't even know me

I have only my brother and my alt in friends 
adding back what?
As a friend
you know i'm about to lose it if i get another error on a npx prisma migrate dev after a npx prisma migrate reset
i'm not a pokemon, stop trying to collect me like one, thank you

I'm tho
Send me all of friend requests
throws a pokeball at you
we're friends, though 
only reason i did one of the projects in prisma and not drizzle is because i want others to understand, this backfired real quick
yesmam we are
Throw a masterball, 100% chance
Of throwing
the chance to be sooji's friend 
it's 4am :( i need to sleep but i wanna keep working
I didn't sleep yesterday and crashed in a chair for liek 5 hours lmao
W*rk D:
ill probably finish this and then go to bed
Cursive mono
๐ฎโ๐จ
There are advertisements via DM. Who should I report it to?
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.
If you mean by someone on this server, probably @willow gulch
Thanks
you will have to look for that somwhere else
i don't know
"Do I look like this kind of person"
got the interactions system to work lets gooo
not anything special but what's really interesting is that behind the scenes the interaction is running via HTTP interactions using React/JSX and calling the bot process via gRPC to update the guild configuration in real time which will take immediate effect.
Technology is cool af
Wooo that's awesome!
and it's using mTLS under the hood for authentication on gRPC side

now at this point I think I just have to like...build the release CI and the dockerfiles and I think the system is ready.
Will also have to load the near 20GB of images and start populating the DB... but that's a whole different thing.
images stored in the db? ๐ญ
no lol
Images themselves are stored in an S3 bucket
I compute the hashes and store those bits in the DB
and those I load into memory
@fossil sigil
dont ping ppl here
I see little value in storing those images at all tbh
What's the alternative?
just storing the phashes is the alternative
those are what's actually used for detection anyways
Ah wat so then the images aren't needed at all
yeah
Ram x10
the only instances where the images become necessary are if you change your phash implementation or for some reason need to e.g. figure out if an image is causing false positives (and for what reason)
but that's a lot of what amounts to ephemeral spam being stored for very limited purposes
also you might run into tos/legal issues since you're now storing message content in what might be perpetuity
The bigger concern is probably resources
Well I have to store them somewhere so I can you know...hash them lmao.
The only ones I actually store are the attachments attached to active messages before the retention period ends
Once everything's imported it's immediately deleted
why not just calculate the hash when you get them 

Because depending on the language you're using in the image decoder you're using will potentially change how hash looks. Which is a fun experience of setting tolerance. So like a C++,.Python, and Go image decoders will change underlying bytes just a bit differently which will change the output haha.
So that's why my current collection stores the images raw because I thought about this months ago and knew I would need to rehash them with the final hashing implementation.
It's a 1 time import and once a file is imported and the hashes are saved, it's deleted. Tbh I could probably run it locally on my machine and dump it to the production server but I haven't decided on the approach yet.
As for the images flagged as they're sent I do store all messages for 7 days and anything that's slightly like known hashes gets sent to manual review and those hashes are stored if I approve it. After seven days, the DB row is dropped and the attachments are deleted from the bucket.
that should not be the case 
?
Also exactly why I built in a retention period from the very very beginning
the decoder should not change bytes
@fossil sigil
yeah for sure
Is it not possible to "average" the hashes to compare them to a base hash? Instead of relying on 100% matches
he isn't relying on 100% matches, that's the purpose of using phashes
you may want to look at what p-hashing is again
I may be misspeaking on the bytes specific but I do know each image decoder depending on its underlying implementation does change the output simply because of the language.
it really shouldn't. using the same algorithm should produce the exact same phash regardless of implementation lang
Yet you need to potentially track changes?
I actually saw evidence of this in metas own repos as they had to have tolerances when testing their algorithm in different languages because their baseline came from C++
I track changes if it's not an exact match so I can keep up to date with the evolving system.
that would be a product of library differences if they're performing some kind of compression or other manipulation on the image data... the raw bytes themselves (or any encoded or hashed form of the raw bytes using a standardized algorithm) will be the same regardless
Which is probably what's happening. Tbh I didn't look too far.
I just basically ported the code from C++
I'd check if images are similar enough with a tolerance, don't see how you'd need to keep both raw image and its hash
I don't keep the raw image...
Then I think I misunderstand this
Yeah. I have to store all message attachments somewhere
Lolol. I'm not gonna waste computational resources on attachments if they're not even valid crypto scams
Because the hashes are prone to change?
But that's temporary no?
Yes. With a default 7 day retention.
What's the benefit/point of keeping them for 7 days..
...

Because there's more pipelines running than just crypto scams lol
Crypto scams is just one module

And plus if attachments trigger manual review being able to trace it back is really beneficial.
Ok yes that makes sense
So I just remembered why the bits can differ. Because PDQ requires JPEG and JPEG across languages can use different libs.
I just was seeing that with Go I was getting a couple bits off usually, which is within tolerance.
Why it all is different is beyond me tbh. I didn't dig that deep. I just googled, got that answer, adjusted accordingly and confirmed the behavior based on the Python tests, adapted, moved on hahaha.
Basically something something DCT and quantinization in the context of PDQ and blah blah.
storing source material when its 20gb is totally reasonable idk why people are suggesting not
hey guys can yall sub to my friend ?
https://www.youtube.com/@beatssbyzen/subscribe
YouTube
Voidcrazex
Welcome to the Vault. ๐ง๐ This channel is dedicated to preserving the massive legacy of Jarad Higgins, featuring the best unreleased tracks, rare studio sessions, and high-quality remasters. With an estimated 2,000 to 3,000 songs left in the archives, we're here to dive deep into the grails like "Rental," "Purple Moncler," and "Attachments....
Welcome to the Vault. ๐ง๐ This channel is dedicated to preserving the massive legacy of Jarad Higgins, featuring the best unreleased tracks, rare studio sessions, and high-quality remasters. With an estimated 2,000 to 3,000 songs left in the archives, we're here to dive deep into the grails like "Rental," "Purple Moncler," and "Attachments....
<@&1050493473033289778>


I mean that's just sitting on my PC at the moment but yeah. I mean like...it's really not that much. And I'm using Back blaze so unless I'm hitting over like 1TB of storage a month and 3TB of bandwidth a month...I'm actually not even paying a cent.
Storage is incredibly cheap. it's actually the cheapest part of the process
what do yall use for hosting stuff?
Hetzner usually. But my dedi is on ReliabeSite now
OVH is a good option too but meh. Dedis were too pricey for me
ahh
basically everyone i ask says either hetzner or ovh
but both's cheapest options are unavailable rn

If I needed a VPS, I don't know honestly, I think I'd choose Hetzner, though I considered AWS in the past
I have a cheap galaxygate vps
I would not consider them cheap by any means haha
Datalix 99% of times
Anyone Roblox Dev
Given the server name, doubt so
https://images.soheab.com/cc.yy.ee.mm.png https://www.netcup.com/en/server/vps not bad either i think
Is that the usual max RAM you get with 12 usd? (not that it's suuper unreasonable)
It is
I'll stick to self hosting
i wish i had the space for that
It doesn't need to be anything huge
people often seriously overestimate how much ram you need for a vps
so used to seeing 16/32/64 in PCs and just assume thats necessary but nope
It really depends on your projects...
I never said 16+ should be some sort of a standard
I just dunno the usual pricing for each thing
ive had a djs bot running on a 0.5gb ram one previously ๐
I have 2 laptops that have some nice specs for hosting but I don't like using laptops for that
Where am I even gonna put them
My RPI sits on a glass shelf along with the router
In the freezer, obviously
There's plenty of room outside too 
HELLO Is there a disboard server I entered something with no offense nothing against rules on my server description it keeps rejecting my disboard message
Does it look like a disboard server?
There is one somewhere, you have to find it yourself
I have 128GB on my dedi....
<@&1050493473033289778>

Beat me to it
fokin ball
How much of it do you use lol
๐ฑ
None because it's brand new lmao. I havent moved my projects overs
same, until I needed more than 4gb
I have about 28GB between all my VPS so unlikely to ever really hit the 128GB, but it was a solid price for everything and fit all my requirements otherwise. Plus I know with a lot of what I'm doing now imma be leaning into LRU memory caching which I've avoided in the past because speed didn't matter. Now that speed does matter.
And in theory I'll still never come close to that max but it gives me room
Plenty of room for a memory leak(s)
If laptop RAM was reusable (practically) then I could get to 48/64
Sucks
My PC has decent specs but I won't sacrifice it
I have 64GB just laying around cause I havent been bothered to put it back in the PCs lmao.
Wish my RPI had a better gpu
Or sell
Same goes for their GPUs
Any laptop part basically
ok here's a question i'm sure people will be annoyed at: functions or arrow functions for react components. reasoning is mandatory
Do whatever you want. 
this answer is not in the spirit of the conversation, be angry at each other please
lol
i personally use arrow functions because it's sort of typescript convention i think? but i don't feel too strongly about it
Arrow functions just feel better. But then again, I never use the function keyword in my code so I'm biased
I use arrow functions too because it lets you skip the return statement typescript const Doohickey = (): ReactElement => ( <> ... </> )
There is no real functional difference for most people unless you're going for specific things with binding or hoisting. It's literally just preference
yeah in my code in general i use implicit return very often
Implicit return is the bomb, yo
I almost never use lambdas
I would argue that using arrow functions implies that you're intending to pass a function around
imo it improves clarity when you create a distinction by doing so
in fact the function i just wrote uses implicit return
Some people prefer function definitions because it separates the visual of variables vs functions.
It's just preference
also jesus christ this is unreadable
well it has to do something kinda complicated
Ehhh. It's readable enough.
Is this for ratcheting?
6 indentations is excessive
yes
I KNOW THINGS!
it could have been made more digestable if it wasn't forced to be this way by implicit return
๐
Without implicit it would be like 7 or 8 indentations.
i don't think it would be?
I find myself changing depending on the language I'm primarily working in. So if I move from Go to JS I tend to naturally favor function rather than if I go from Python to JS or just stay in JS land for a while
I found myself overwriting prior function names using the function keyword. So I switched to const myFn = () = { }. Can't remap a const function expression
yeah that's a nice benefit of using const to define functions
Heck, if I ever need to use this for some reason, I do const myFn = function() { } :p
also to be fair, most of my functions are not this deeply nested or this long... this just happens to be one of the particularly complex steps where it makes more sense to do everything all in one pass vs. breaking it up
4 and it can be condensed further
that's fair yeah
ig this one is better for clarity, first was auto formatted
@weary bluff is there any specific reason you're using local language on online platform where you speak English?
Many cultures speak multiple languages.
my customers are also from TR so, I do take screenshots to tell them what to do
English may not be their primary
me too, 5 days rest for eid ul adha
yep, It is not
also isn't that last async redundant
that's the main reason or the local language is easier for you?
you're just creating a promise which awaits the result of a different async function
local language can be easier for most
Some people also learn languages by immersion so could be also someone trying to learn.
I do understand both of them, local language is my primary lang
though I prefer english more than my own local language for everything
as I said
no, it's recursive
yep i know, just investigating why people choose local over English when they can even speak better English and English in most of cases fit better
tail recursive to be precise
yeah generally for online stuff, english has all of the right words compared to german where UI would be "Benutzeroberflรคche" ew
en-GB
server rules :d
Unless you've spoken to them in the primary language...how would you know...
And English isn't the only language in the world..

but aren't these functionally equivalent anyway typescript async (childTreeSecret) => await toLeaf(...) (childTreeSecret) => toLeaf(...)
the former just flattens itself anyway
toLeaf is an async function
In terms of native speakers it's Chinese, then Spanish, then English.
yes but it's a Promise<Promise<Whatever>> where the outer promise does nothing but wait for the inner one. it just flattens into a Promise<Whatever>
It all depends to server's primary language lol
Yeah exactly lol
Naon
And a lot of places teach English as it's just a common second language that's globally recognized but it's definitely not the like most popular
Though the screenshot he sent ? lol
But you're claiming they can speak English better or that English fits better...when you don't know that because they're restricted to English in this specific setting due to the rules
it's Turkish, but bot details are English because people mainly understand English in this platform
I just like English more for stuff like this, definitely better for UI than my RTL language
That's why banner and app bio is English
I assumed, and didn't specifically mentioned him in the message where i claimed that
"people" not "neo"
RTL support seems annoying to do lol. I feel like every time I've encountered it it just fully messess.up lmao
Well, my bot is seem like English but it is actually supporting your local lang
๐คทโโ๏ธ
It normal..?
what is?
This account was created today and no have pfp
That's usually how it goes until you upload one, yes
It was made 7 days ago no?
Yeah for example making an RTL interface for Discord wouldn't be easy
But in some places it's easy to implement (on the html level lol)
He's just shy
OG default(?) PFPs were peaker
the game I am rebooting is having the current meme asset 10 years back then, damn
Hmm ok
without the inner async keyword, typescript can't infer the return type correctly with recursive async functions

How to add sound to a mobile discord stream
How we doin guys
hmm
M
Hm, familiar PFP
guys i gifted a decoration to someone however it didnt get recieve by them what should i dothe payment was cut
Contact support
For billing and refund concerns, please reach out to Discord at https://dis.gd/billing.
dev chat
hi souji
Indeed, dev chat
No recruitment
Not allowed? Here?
Yeah
Ok thanks
We can, however, help with any errors/inquiry (dev-related) you have
Ok
Guys
Yes?
I made broadcast bot but bot got limited how I can do that without limited?
Yep
Yep
The bot got it ๐
But i dont know how another servers do it ๐
fix what
End task and reopen it
offtopic but you're probably below 18 attempting to join an age restricted server







