#development
1 messages ยท Page 300 of 1
xD
Perfect
I am using pnpm workspaces and am running into an issue where I have shared code for the client and server in one workspace but the client/server cannot access it.
apps/server dev: src/app.module.ts:6:20 - error TS2307: Cannot find module '@shared/auth' or its corresponding type declarations.
apps/server dev: 6 import {auth} from "@shared/auth";
apps/server dev: ~~~~~~~~~~~~~~
apps/server dev: [12:00:09 AM] Found 1 error. Watching for file changes.
I gave the shared workspace it's own tsconfig
{
"compilerOptions": {
"rootDir": "src",
"outDir": "../../dist/shared",
"composite": true,
"declaration": true
}
}
{
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"references": [
{
"path": "../shared"
}
],
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}
I also reference the workspace in the client/server workspace
@lyric mountain so I might of caused an endless loop with jetbrains junie ๐ญ
I changed the file structure in between commands/processes and now it thinks it made those changes and is struggling to figure it out
๐ lmao, glad i can make mine use smaller
not much, 24gb ram (im broke) and 1x xeon e5-2965v3
that's so cool!!!
it's still impressive nonetheless!
what are you making takiyo?
Is Discord bot development still an active field?
People still make bots, yes
wtf ur gaslighting junie 
doesnt feel the same like it did before though :(
got too serious after the bot verification and intent update
@harsh nova
Thanks
I couldnโt help it mannnn
Honestly it seems like fewer people do that nowadays
It was hilarious watching the output
It kept going "Wait, I never called any functions to change this", "WAIT WHAT IS GOING ON"
lmao
and it was just an endless loop of that and it analyzing the output of each step it took
๐ญ
It eventually recognized it was "halucinating" the changes
and moved on but it went on for like 20m
junie manages to be very human sometimes
and you asking it to fetch a left-handed wrench
alright i request redemption...... a lot of changes have been made, can I has feedback? 
https://status.trackerbot.xyz/
View status history for Tracker, the ultimate Discord bot for Geocachers. Show off your stats, share trackables, detect GC and TB codes and have fun with friends, right from your server, anytime.
a question on dashboards.... how do dashboards do it so that when you save changes on a function or smth, the page doesnt reload and yet it still just saves it
currently i have url paths to update database stuff while maintaining auth/perms etc but its neither pretty nor fun. its all done via FastAPI and IPC routes (quite frankly I dont know how it works, it was half tutorial)
yes this is a noob question yes I dont know much about web dev roast me later pls
depands on the framework you're using
a lot of people use nextjs/react with express etc to make requests when you switch tabs, it submits the data to an endpoint and saves
or they store it in memory to save state
Python | discord.py | discord.ext.ipc | FastAPI | idk what else there is
im mostly talking the ones where you have to click save changes before doing anything else and then it just magically saves it without reloading or anything
Oh thats just it making a post endpoint using fetch
tbh in general the entire flow isnt fun and usually is messy
closest framework i found that abstracts and deals with that for you is remixjs but it forces you to use form posts ๐คข
It's just every dashboard I see does it and I never knew how
I see more with it than without it
yay i made it work
guys I have a question Iโm new to top.gg my bot just got accepted how do I have an interactive description?
just like evicts for example
You can use html/css in your bot's long description
oh I see thanks brother
nextjs does too
if you ever get the chance you should look into tanstack
am using sveltekit and regret going the form actions route. they have a neat and fancy forms system, but its a tad convoluted and everything would be so much easier if i went api endpoints for everything
just make a theroetically page for all the data that it could be
if they can change a name, make a different page for every name
LMAO
SSR 4 billion pages
ah i assume all other major frameworks adopted the form post system, iirc remixjs was the first to do it which made me write one of my apps in it
or at least first major one to implement it into a framework
I mean not really
nextjs doesnt use form posts
a lot of the frameworks use fetch api, form posts are ancient
well im not sure if it works like a form post behind the scenes but its probably just a fetch, idea is you use a custom "form" component that will call an action handler on the server you defined in the same file, handles some errors and state refresh for you
thats just react tbf
and since remixjs is built on react it's not surprising
nextjs is also build on react
Remix and NextJs are one in the same, a framework on top of react
NextJS came before Remix too as far as I know
yeah nextjs came first, remixjs was supposed to be a "fresh" version of nextjs, and it did have some cool unique features at first but it looks like all major frameworks have them now
so im not sure how much they differ anymore syntax aside
I think it's literally just syntax tbf
also, Next is still more widely used in the job market from what I can tell
more or less yeah aside from angular based frameworks
those are the big 2 from what ive seen job searching
too bad i havent seen many jobs for svelte, friendliest one ive used and doesnt overcomplicate stuff like react does with its virtual dom
how are selfhosted github runners on windows arm64 SO BAD
WHAT IS THIS
ive spent the last 4 hours trying to get my runner to ping github
x86 - no issue, 5min and done
Why not just setup docker on arm64
arm64? hoho no, ofc not
and then use the docker based github runners?
you're running into the exact issue I ended up using docker instead of because
not to mention it meant I could use my PAT instead of some arbitrary token. Automatically registers and handles removal of the runners when they get recreated too
also allowing more than 1 runner per machine
does the docker image work with native windows?
should do
Unless you mean does it have a windows based install which allows you to build using windows libraries then unlikely
yea i need to build using windows libs, the linux runners are all working fine
ill try 1 windows reinstall to see if that fixes anything, otherwise im just giving up on arm64 windows for now
Ah yes using windows for github runners very efficient and sane 
yes
I didn't ask you yesterday but when you sent your db tables, howcome there wasn't a members one like server members?/how do you handle that?
Oh dam good point i forgot >_>
Ahh lmao
๐ fixed members and done some sub-mapping types
Awesome
I'm thinking through an implementation right now for my discord application... it's stateless over HTTP; however, I have the need for a "/lobby" mechanism where folks can join a lobby (but it deducts from their balance ahead of time). If the host decides simply not to click "start", I need to have some sort of hook after some sort of expiry (let's say 1 minute).
What would you do?
- Use a message broker service (LavinMQ, net new infra for my stack) and enqueue messages for a poller service to continuously poll. (The poller will update the discord message after the fact / add the funds back)
- Use postgres (my database engine) and insert records for a poller service to continuously poll.
- Use valkey (my cache engine) and use sorted sets for a poller service to continuously poll.
And if there's something obvious I'm not thinking of, I'd love to hear opinions / thoughts.
If it's only 1 minute a few databases like mongodb/scylla can have rows that expire then you can listen for that change and act on it
You can make postgres do this as well, but I didn't like that idea as much
How come?
It felt as though I'm using a drill to hammer a nail, so to speak. Postgres is a beast / can do anything ... but there's a fine line of doing everything with it lol
Can you not listen for changes on postgres or?
I talked with Claude through the architecture, and it ultimately recommended the sorted set approach (where it's sorted by date) ... but meh
I'm sure you can through some sort of CDC configuration
You could just sort by date after utc + 1 minute yea and then delete rows that way
Right, the poller would continuosly query for that particular table and "remove" games in bulk that expired.
๐ reactions and embeds data done
Apparently, it's as easy as this in valkey:
// When lobby created
redis.ZAdd("lobby_expirations", redis.Z{
Score: time.Now().Add(1*time.Minute).Unix(),
Member: lobbyID,
})
// Worker polls every 30-60 seconds
func worker() {
lobbies := redis.ZPopMin("lobby_expirations", 100,
where score < now)
// Process refunds in Postgres
}
Yea redis could work too
go!!!!!!
๐
Are you a gopher as well?
yes!! easy and simple language yet powerful for cases i need
Almost done ๐
Soft-deleted channels that get archived for 7 days until delete (So they are not just permanently gone or nuked), generated user and bot avatars using parts, more split permissions such as Manage Apps and Manage Role Permissions, Group channel webhooks/apps, In-app reports with account warnings that actually work, Expired bans, In-app developers stuff and a Server mod view system.
i wish i could use go very soon ๐ฅบ i really wanted to use a go framework for my latest project but ended up stuck with rust's tauri after comparing both frameworks' performances ๐ญ
maybe in my next project, go will play a role
what are you making?
A chat app which will have some nice features and fully cross-platform, older image already fixed server title alignment
Avalonia C#
interesting
Already done a bit of testing and mobile improvements
windows??? good luck ๐
id never touch that on windows with a 10 foot pole
not sure if youve come up with something yet but im struggling to understand your infra, are these services running independently? are they on the same server? i dont see how youd need a message broker to accomplish this (very rarely do you ever)
postgres is probably ok for this but use an in-memory table since i assume you dont care about it persisting since its so short lived
most stateless gateways use a message broker for events
allowing you to spin up multiple gateways across multiple machines for vertical scaling
we use rabbitmq for our gateway on topstats to allow us to ensure we can reboot consumers without losing events, meaning the gateway can run and we can still track events for the new servers dashboard, even if we update the consumer
yes but that only makes sense if you have multiple machines or multiple services that can also potentially dynamically spin up or down, i am assuming a very minimal setup here with only one server
I always just assume its going to be a wider used product unless otherwise specified
and preparing for scaling is never a bad idea
in their case, either valkey/mq is probably a better idea that postgres
as polling the database every 5 minutes is wasted disk hits if it can just be store in memory
any place you can listen for or just recieve events is better than having to hit the database continuously
hence why i suggested an in-memory table, but i am always heavily against preemptive scaling because you are potentially preparing for something that can never happen
usually the simplest solution unless you have a reason not to works the best, structuring your services where you can easily upgrade to a distributed layout in preparation is also really good without actually committing
but then again, if they are already using a message broker/cache then they might as well use it, my thought process was more pre-message-broker, so i would agree with you here
I always go with pre-emptive scaling with a catch...
if it's simple to use and put in the middle of what you're already using... why not. it's a learning experience
just because it may never happen doesnt mean it wont
for example: most people just assuming you dont need to shard when making a discord bot, then get to the limit, and end up needing to either shut down the bot because the bot takes up so much resources after x amount of time because the library they use isnt meant for large discord bots, or they have to do a full rewrite whilst using 4x the resources they would have used if they decided to use something more efficient and learn
I refuse to use discord.js for anything that's meant to / expected to "grow" even if unlikely just as an example
I'll use their HTTP/API helpers, but their actual gateway / cache is wildly innefficient if you actually need the cache
just as an example, we cache literally everything for topstats, which to give you an overview of our infra
Gateway -> RabbitMQ -> Consumer
Interactions are HTTP based
Gateway tracks events to create server insights etc
consumers store the events in redis and then a cronjob consolidates all of those into minute based analytics and clears the keys
using a redis cache allows us to keep cache valid even after a reboot / also means we dont have to do a full gateway reboot for an update to the analytics engine
It's also just insanely more efficient, 1.1GB for about 1m cache objects
@frosty gale am interested to see what you think of the above btw, you opinions are pretty sound so happy to discuss 
@pearl trail hey, sorry for bothering you haha but can you check dms?
Check your DMs or you'll get coal next year :p
im not familiar with topstats so youll have to bear with me, but what is coming through the gateway? is it stats submitted from bots/some automation? from your site i see you source the data from topgg - do you gather this data somehow and have it sent to your gateway then queue?
but it looks solid in theory, especially if you have data coming through where potentially losing it is bad then having rabbitmq also provides some assurance of integrity since you wont have events silently go missing, im not sure what kind of load/traffic youre operating under but it also enables easy scaling across instances
id probably be a lot more conservative on the caching and opt in to do a lot more rebuilding to save on some storage and memory, but if you have spare resources then i dont see why not (i always try to run as light as possible up until things start to noticeably slow down for users or disk/cores start maxing out, also not sure if you mean you're literally caching everything), especially since youre not using much to store that to begin with, although since redis allows you to store cold entries to disk anyways it sort of becomes a moot point in terms of memory
without being on the team i cant really say more because there are many nuances to everything in this industry but nothing particularly stands out ๐, i do a lot of low level code and work in very resource constrained environments like microcontrollers with sometimes not even kilobytes of memory, so i always implicitly jump to doing the most you can with what you have without adding additional complexity or independent services (aka simpler)
Oh right, you havent got full context
yeah that's true, they have improved it significantly since a while ago it used to cache every single thing to the point where you had to manually clear the internal caches or have another library (shout out to discord.js light) if you wanted to scale, but still very simplistic
this is what we're building
this is what the gateway is for
the top.gg fetcher is an entirely seperate service that runs every hour and pushes straight to our postgres & timescale db's respectively
we have our beta bot in a few large servers, by few I mean 5, for testing at the moment and we're seeing these sort of metrics, so we're preparing to scale
the data is how we calculate the analytics that go to the database so ensuring data integrity is vital for accurate insights for server owners
the top 3 badges feel a bit off for the site aesthetics
like, everything else is material, but the badges are glossy
thats something you cna raise with Xig, I dont do the frontend ๐คฃ
I handle the data and infra
I'll let him know tho
but it's looking good nonetheless, the layout is easy on the eyes
we're going for competition with statbot.net
which is honestly rough on the eyes
That's a lot of tracking and stats wew
we're gonna allow requesting data to be anonymised too
just because we actually care for users 
what db are you using for the stats?
timescale
i c
server stats gets heavily downsampled
im currently storing my 46 million rows of stats in pg 
we have 2.5 billion in timescale
moving them to clickhouse the next few days
yeah, mine have to be heavily purged constantly due to replication
16gb of data in these few rows
timesclae has built in compression for that
2.5B rows = 190-200GB
uncompressed it's closer to 600-700GB
I don't really like clickhouse and similar, they tend to use up way too much ram for no reason
well, i still havent decided on anything, pg is just definitely not the good choice anymore, the replicas are all running out of storage
timescale uses 4GB idle
12GB under load
I don't understand how there are replicas?(I've never dealt with anything on this scale. I'm just curious)
I do care about memory. In the event that someone either stops playing and/or the host disbands a party and/or someone doesn't make a turn in a game that's turned-based, I need to ensure that I "refund" the money back to all the players in the lobby.
If it's in memory, a server restart would kill all lobbies going.
in that case, use a disk based database. Like postgres
Hello! I am looking for some help with importing commands from discord onto top.gg just I am unsure how to do it in the 1st place at all, some help would be great with it because I got 0 idea where to start....
i've mainly been working on my one website trying to resolve some bugs on it
you post the same data you post to discord to top.gg via this endpoint
https://docs.top.gg/docs/API/v1/projects#update-discord-bot-commands
API resource for a projects such as bots or servers submitted on Top.gg
@humble gyro basically my entire description broke lol
Crazy support scam
@solemn latch
awesome thank you (:
yw ๐
tyty
you're welcome 
where are your images in html
the black boxes are youtube iframes
<iframe title="Free YouTube Notifications for Discord with Wamellow" src="https://youtube.com/embed/NS5fZ1ltovE" style="max-height: 38.7rem!important" width="100%" referrerpolicy="no-referrer" sandbox="allow-scripts"></iframe>
1 question can i ask ppl to help me with stuff here + would it count as self promo?
I do not see any iframes rendered
thse black boxes are supposed to be youtube embeds
there are iframes Veld
gotcha i see them now
whats this for?
to show a youtube video in my bot desc
why did your iframe crash tho
Gotta love security patches lol
what does it rely on that it doesn't get
It's trying to read cookies 
i see and it doesnt work ?
Uncaught SecurityError: Failed to read the 'caches' property from 'Window': Cache storage is disabled because the context is sandboxed and lacks the 'allow-same-origin' flag.
SecurityError: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.
yeah the cookie you may need to fix yourself
we can't really allow you to read cookies as an iframe on top.gg
I'll check why the youtube embed is wacky
I should not set cookies on the site, outside of the ones cloudflare sets
You should allow same origin veld
from what I can tell
sandbox="allow-same-origin"
afaik that only allows it to access the cookies of the origin of the iframe no?
am I wrong, or did I read something wrong about how the sandbox with that flag works
not quite
let me investigate why your specific youtube embeds break
then we can check on the other things
kk fixed:
Yep agreed. I opted for option #2 since I needed the data to be relational anyways. Polling a postgres table every 30 seconds with 1 worker will be sufficient until larger scale.
deploying to prod ina moment

Like i've been saying for a while though, I would generally recommend not using iframes. They're a can of worms of pain for both me and the dev
Do you think you'll deprecate the usage of them eventually? Can't imagine they're good for SEO either
Too many bots use them to properly deprecate them
so best I can do is tell people not to use them because there's no value gained from adding them
- you slow down your page load because the iframe document blocks the initial render
- you dont get a backlink from it, just use the website social tag for that.
- the content usually is malformed due to the even more odd sizings
honestly the main issue I have with top.gg is the description editor is a pain to use
which is likely the reason a lot of people use iframes tbf
yeah it kinda should be a full-size monaco editor
would be nice if it was syntax highlighted and such yea
but im guessing thats in the works / in the idea pipeline lol
does anyone know if alwaysdata.com is a secure website to host my bot on ?
if it's free, you're the product
yeah no, you should just pay the 2-3eur a month
no one's forcing you too ๐ญ
i like doing it 
hmm i see
lmfaooo
uncommon Aaron L
oh appearance
gonna go to other bot sites to get my bots
guessing that'll be the css editor?
among other things
sweet
are we gonna get a monaco editor for description tho :^)
or will it forever look like this
not ... yet.
i mean embedding all of vscode would be crazy
also you havent responded to that dm yet btw
I assume you had a hellish monday
i do want to eventually write an actual editor
notion style + code editor advanced mode
me when you just generate a link for a vscode editor /j
wait I have a solution for the people to can't get past 300 chars:
"Imagine description with Top.gg AI โจ"
i also considered just letting u link a git repo tbh

like a readme file?
kinda yeah
I was legitamately gonna suggest that
LOL
that would be so nice tbh
have the information in the readme, and have it pull in with refresh-data or something
i mean we'd just install a github integration in your repo that pushes it to the api
commit hook on actions
would be the cleanest way
hmm
I guess that would be we'd need an entirely seperate repo for top.gg descriptions
feel like that would be a bit rough tbh
cause idk I feel like no one is gonna add a top.gg integration to their bots private source code
yeah i would highly recommend a different repo hahaha
at which point would it only pull in 1 file?
if so, then why not just use a gist?
there's no difference between letting us pull your entire repo or adding an integration
#announcements is such a work around for imgur leaving the uk lol
yea I'm aware, which is why I ask ๐
Now I can view my gifs ๐ฅ
funny
we could automatically index references i suppose
e.g. images
and add them to the top.gg cdn for you
oh fair
oh thats a good point
as feature set grows
touche
but this is purely hypothetical
hahaha
appearance is something im excited about tho
idk I guess start small (fix the editor) and make big later
same
ig you'll make an announcement about it in #topgg-testing at some point?

have you seen the screenshot?
jeez
xig is killing it with the frontend tbh
we'll have an api, maybe you could integrate with it :^)
true
You only store the last 30d for server analytics right
do you also have presences
@pliant gorge
no, we dont track anything we dont need
ah fair
we gotta apply for presences
it's a pain, and discord are so much more strict with it now
yeah makes sense tho
broooo this seems like scope creep if I've ever seen it haha
ive done it before
I remember veld.chat
This is very fun to do
Doesn't mean that you should opt to doing it / maintaining it when your primary business isn't the editor (just imo)
Not criticizing, just observing
I love writing editors
I love writing a ton of stuff because it's fun, but doesn't mean that I should write it for actual production usage ๐คฃ
yeah fair
goated app btw
it looks nice at well
lexical + custom
because otherwise i can't extend it
there's plenty of off the shelf things lik this
there's ones that mimic the vscode one too
I've had to do this before โ and many of the editors allow custom "plugins" that you can create. For an AI summarization product I helped with, I had to do this.
i always feel that the plugins system always come with painful amount of footgun
"oh it cant do that? fuuuuuuu-"
Idr what package it was but I tried using a package with plugins for an editor and had to use pollution to get the solution for what I wanted
there's an insane amount of libs that do rich text too its insane lmao
yeah for sure
It felt like a footgun the whole time I had to deal with it and maintain it lol
classic case of text inpputs
but tbh
i need a better text editor for the updates panel too
its so rediculous how little you can do with updates on top.gg rn
i really want to encourage ppl to use updates
so i can add it to the scoring system 
like i want stuff on top.gg to be vibrant and actively updated
so that people get a better experience
can you make an api to push updates too
like commands ๐
cause they we can automate update posts with changelogs etc
would be too complex for people if i make it more featureful
good luck pushing a rich text schema
I mean, allowing raw text via api is fine no?
doesnt necessarily need to support rich text
but I get your point
does someone have a good guide for a linux dual boot
most ubuntu based installed support dual boot and will sort the boot loader for you
I recommend anyone who just wants a simple linux experience to pick a flavour of Ubuntu, like Budgie, Xubuntu, Kubuntu etc and go from there
unless you specifically want a step-by-step guide
I can find you one
Hello, i have a question. My bot has around 1100 server. We did not make any update but since Sunday the bot has a huge issue when is sending data to DB(i think). We did not change anything or do any update on server or bot, it's same since before. Did someone had ever an issue like this? I don't even know where or what to check, but i'm thinking if maybe something on OS broke?
Sounds like you just need to debug the issue
I would debug the issue in code, if it doesn't work out I'd assume its the database, if its not the database then I'd start questioning other things.
yep agreed
what OS?
not sure
im not a linux guy so i am considering something simple like ubuntu or hannah montana linux
would unironically use steamOS
do you favor customization or something that just works?
customization would be nice but less about TUI and more about graphical
And what graphics card do you have?
Mint is nice as a beginner daily driver
Based on Ubuntu
mmm
Never used it as a dual boot system, but had a good experience as my sole OS on my older laptop with meh hardware
gotcha
Fedora, Mint, Ubuntu are all clean stable OS's that you can leverage.
I did have problems with NVIDIA drivers last I used linux though ... but heard it was improved.
It made it unusable for me at the time on my 1050 TI ๐
Ubuntu, mint or bazzite are the most basic for new users
great imo for getting your feet wet
Xubuntu is windows like
has a lot of the comforts windows has as well as being customizable
my main thing that stops me is that i play league 
Fedora KDE as well
Or hear me out
i know awful reason
Build your own version of Linux
I've used Lutris for this before
cant anymore
league requires vanguard now
their kernal antishit
rip
damn
exactly this
this is the exact distro im running rn veld
Why run Linux at all tho? If you want to play games Iโd definitely stay on windows
instability
Yep, exactly
Linux is more ideal for dev environments
dev experience
sorry for ur loss
windows has been SHIT for me recently
I had a windows tower at home, then I had a laptop running mint for work/dev
I use this cause im poor and cant afford a macbook
andi dont mind moving to windwos for just a game of tft or smth
unironically, I'd recommend a mac
i have a mac
I hated the Mac dev experience personally
just not ideal
how lmao
How is the MacOS not a good development experience?
i enjoy my desktop
Itโs like Linux but with all of the inconveniences of windows
I disagree with the take
i agree with u thomas dev exp on mac is great
Developing on mac had to be the worst experience ever
which is also why im considering linux 
I hate how expensive it is too
windows dev exp is the absolute F tier shit
@humble gyro have a look through https://ubuntu.com/desktop/flavors
Windows dev experience < Mac dev < Linux dev
I actually went Windows -> Linux (got pissed off) -> Mac
ooo peak
Mac had too many security features that made development abnoxious
Windows is a pain in the ass for any low level languages
Just homebrew it lmao
every time I was doing something I had to enter my password, or make some sort of key, or some other shit
C++ developer experience on windows is horseshit
I have never had an issue with development on mac
you can disable this fairly easily btw
ngl this page tells me nothing 
I have a terminal emulator, i have brew as my package manager, and everything just works. bash scripts, fish shell, etc.
not on my older mac,
I tried and it still was enabled
Xubuntu, Kubuntu, Budgie, Mate and Mint are all good choices
if you wanted specific names to look into videos for
ooo ok
kubuntu is what I'm on now
Kubuntu is honestly super nice to run
looks clean
25.10 Questing Quokka - The Elegant Linux Distribution
Also, I personally don't like this @humble gyro. See how much "customization" / "flavors" there are? I'd rather just stick with an opinionated OS and focus on what really matters.
Just my 2 cents
valid
There's so many distractions in the world ... my os isn't one of them haha
i should just run arch 
arch, btw
unless you pay an arm and a let for their hardware
linux is next best option for people with base hardware but no apple chip
its why I run linux on my non-macbook laptops
I have a Macbook Air M4 with upgraded ram at 24gb ... hooked into a dock ... serving a widescreen. Not sure what the problem is
Ubuntu based distros are the Linux equivalent of โit just worksโ
prolly works fine
not from my experience
How much did that cost tho
You wonโt fight it a lot (compared to other distros) and itโs very simple
$1,200 with a deal
i just always had a desktop so i purely use my macbook for travel work
could build a pc for less 
the price tag is what stops most people from getting a mac
and yea thats how most people run it veld
I have a work macbook
but its so old I just run my linux machine and use the mac for ios builds for mobile
Can you at this point? Isn't RAM a shit ton now :D?
DDR4 isnt
Ah true
DDR5 is a joke
RAM shortage is rough rn
๐ my 5 year old cpu beats an m4?
good thing i bought 128gb of ddr5 ram at the start of this year
lmao
Yeah idk why everyone praises the apple m series chips as being amazing
I thought m4 was way more powerful
its pretty good
their architecture is fantastic
as far as?
after the initial docker debacle was figured out, it's been smooth sailing ever since
the shared memory buffer is peak tbh
price to perf it doesnt seem like it
Ryzen ftw
show specs
I'm on a 5900x
I'm on a 5800x

i mean .. probably. but it goes to my earlier point of wanting something that just "works" and is opinionated for me / doesn't give me as much customization / cognitive load
Just my personal philosophy. I see the merit in customization.
most of its subjective and personal preference tbf... and wallet size
ye ^
Apple's known as the walled garden because of the price tag mostly
that's true as well. my wallet size is fine ๐คฃ ... I'm blessed
I would get a mac if I didnt need 8 grand for my fiancee's visa lmfao
it's good because I'm responsible with my money and don't buy stuff I wouldn't use ๐
I fund your website through topgg auctions, don't worry
OOF
peak
๐คฃ
Not calling your premium not useful, lol. Just not useful for me
we pay more to book the taxes than we make on premium
... unironically i would MAKE money if i closed it down

why not just... remove it then 
future plans
fair
We had some good plans in staff chat ^-^
ye exactly!
I guess topstats is in the same state tbf
just need to get to the point where we can do some stuff!
we wouldnt make a profit without marco 
the goat
Bet you cant wait to yeet Luca
what/who is marco? sorry out of the loop
@modern sable the goat
^
went to website ... all in german. oof
I'm american, i can't read anything other than english ... c'mon guys
its in english?
...german?
Also marco
The second half of my alias is german lmao
right
you might be an AI ^-^
i'm cooked
yea i should do that 
been talking to claude too much
Bro using the same thats a year old now lol
time to take your yearly holiday break

anthropic increased limits to 2X until today ... so need to get on it.
Vibe coding away on personal projects. Been great.
about that wallet
its still top 1%
^
oh yeah for sure
then there's me making above avg at 30k/year for the UK
are they hiring?
you good with AI?
3 years at midjourney
dead ass?
ye
one of my peers works in NL
ooo
Yeah this is a fully remote company with a HQ in texas, but also the CTO is based out of UK
It's for US healthcare space ๐
oof didn't turn out for you?
eh, i reinvest the revenue too much
I feel like this is fine / and correct?
But yeah, you gotta support yourself through some means
yes but i need to pay my mortgage too
Kids?
Well, then that's not too bad haha. I'm 28 and have a 5 year old ... OOF
and a wife ... OOF
you're like 24 no
28
wtf
I'm looking for one of those
unc
amazon?
they're hard to find in this day and age ngl
im 25 next year
goat
I've been with my wife since I was 15 / in highschool
I had to ride to germany to find my wife LOL
good plan
Fixing to just save up money and travel Europe
ohhh Luuukkee! I never connected the dot. you and I have talked about this before haha
congrats man!
Yea
Nuke != Luke in my head haha
I blame whoever set my nickname
oo
did I tell you i got my job back at orca?
cant remember lol
haha no
ceo reached out and asked me if I'd come back
I jumped at that like it was pure gold ๐คฃ
this is something you wanted, right? I'll need to refresh myself on our message history
Yea
I love working at orca, can be rough at times but we work on cool stuff
I was let go due to 2023-2024 being rough and being incapable of managing everything on my plate lol
2025 came along and I got the job back in June~ 2025
wait orca the slicer?
no
oh neat
Same, met at 10, starting dating at 16, married at 19
haha we didn't get married until 28 ๐คฃ
Fair enough, we got married pretty young lol
it's a great story
for sure
I finally (actually) figured out closures & async blocks in rust ๐ (needed to rewrite half my code due to performance issues cuz of this)
yo anyone down to test my bot and give geniun feedback
Happy New Year everyone!
yo
thx same too you
Happy new year from CET!
happy new year!
Happy new year!!!
Hi @clever tundra
hello
@solemn latch advertisement of services
May i ask , what we will do in this server?
It's the server for https://top.gg/
I know, so we are here for chilling, right?
Chill, support, talk about development
Oh , thanks
even the og getfullyear.com gives us inconsistent year ๐
sponsored by ๐ญ๐ญ๐ญ๐ญ

man how much time it takes to get ur bot approved
@gusty plover u can refer to this, https://discord.builders
Use new Discord components in messages for free and stylize your server however your want.
Hey there.
Is there anyone who can give me an example code for #staff-tickets pls to have within the modal the possibility to put images (component v2) ?
I tried but lost file and retried but I can't ๐ฅบ
Ho thank ๐ค
import { MediaGalleryBuilder, MediaGalleryItemBuilder } from 'discord.js';
const components = [
new MediaGalleryBuilder()
.addItems(
new MediaGalleryItemBuilder()
.setURL(""),
),
];
and u have to rewrite your code to use containers ^^ doesn't work with embeds
Ok thxs
interesting
yo i kind of have a little problem an dneed help
so i have mad an economy bot
where you have money and there is a shop and stuff and the shop you can set up
but when i update the bot by adding new code and then running node Index.js so the bot is up to date
the whole economy gets reset
i this fixable ?
I have a feeling that you are not using any kind of database and you are saving everything in bot's memory
hmm
i think ia m using one one sec
nope i am using a database
What kind of a database?
SQLite database
i might have an idea of the problem but how would i even fix it
Are you like remaking it every time you launch the thing
Like deleting the tables and redoing them
no i think the problem is that the database in the end is just a file right
no
but
Yes, all code is files
i wanted to host my bot so its 24/7 running so i uploaded the files to github and then cloned them into a linux terminal that has a free service that run node Index.js for me
but when the bot updates the database he cant since
it woud be saved in the file that he cant edit
might this be the problem ?
So if I'm understanding
Code -> GitHub -> clone to host -> run bot
If the database is saved on the host, then it's not up to date on GitHub, and therefore not up to date on your device when you code, so when you put the code on GitHub and re-clone it, the database isn't the same
yes
yes so can i even fix this ?
Yes
Download the database from the host and use that before you put your code back to github
Or
Don't put the database on GitHub
Eg. Use a .gitignore
So then when you clone you don't have any databsse
hm
@clever tundra hyy buddy
HNY
A what?
A what?
What is a trsection
Probably
thx for the help i found a smarter way to solve the issue but still thx a lot
yo hello i have a question
for some bot when i add them to a server
they also give me the invite link to the bots support server
how can i make this for my own bot ?
like add the counting bot to any server per example
and you will undestand what i mean
@deft wolf this is what i meant
after adding the bot
Well, they probably did it via OAuth2
i see hm
also why is my discord bot name not changing even tho i changed it?
Where?
on the discord devoloper portal
Make sure you changed bot name, not application name
hm
difference ?
bruh thx bro
finally done ๐๐ https://github.com/mcjars/www/commit/d9e65af737fd3496fe459d046d9c76e2017e7831
I weirdly enough have weird performance issues with clickhouse
constantly maxxing out 4 cores
eh, my expensive queries are only done every 30min so its fiine
main concern was storage space anyway, not perf
this ui looks better than most modern routers now ๐ญ
bruh i can't go back to openwrt 
100% better than this sh here
Looks nicer than mine
xD *forgot to mention it's 11 years old (2015 released)
I win this all
We plan to try and switch to some ubiquiti stuff soon... Cloud Gateway Ultra and some Swiss Army Knifes / U7 Lites
mine aint too bad tbh
omg ip leaked !?
yes hack me

๐คฃ
oMg bRo dOxXeD HiMsElF
no idea tbh, its set to dual band, but devices chose 2.4 for some reason
its probably distance, im about 20-30m away from it
ahh yeah, no wonder
German detected
no, im british
fritz sells limited items in the UK
we have two repeaters, and the main router
Damn. Didnt know
can anyone tell me does (add to my app ) slash commands are made differently then normal slash commands
very well
w
user installed cmds
wait
thiss
Set it to 0 for guild installs, 1 for user, 0 & 1 for both
what is that 0 and 1
The command itself is the same
The integration_types you give
how to set that
Look through the docs of whatever library you use
no code, can't help ยฏ_(ใ)_/ยฏ
dm ?
No
don't drag to dms
This channel is for help, keep it here
how are you creating your commands?
DMing randoms is weird as well
hack me
ummmmm i just need to add .user_install()
good good
lol
I forgor about that magic number

@stark kestrel hellpp ๐ญ
is this python?
yesss
let me give you an example out of my code
yayayya
@app_commands.user_install()
@app_commands.command()
@app_commands.allowed_installs(guilds=True, users=True)
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
async def example(self, interaction: discord.Interaction):
"""Example."""
await interaction.response.send_message("example")
sooo the commands are made as usuall after this ?
How about you just try the example
which one
bearing in mind this was designed to be integrated into a cog
i did not worked
It does
If you sync and install the app on your user
And that is why a discord bot isn't a beginner project
what does that mean
ty ty
try smth like this on its own
import discord
from discord.ext import commands
from discord import app_commands
intents = discord.Intents.all()
bot = commands.Bot(command_prefix='!', intents=intents)
@bot.event
async def on_ready():
print(f'Logged in as {bot.user}')
print('------')
print("Bot is ready!")
await bot.tree.sync()
@app_commands.user_install()
@app_commands.command()
@app_commands.allowed_installs(guilds=True, users=True)
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
async def example(interaction: discord.Interaction):
"""Example."""
await interaction.response.send_message("example")
bot.run("token")
its nothing special
wait nvm i forgot smth
alright try that. just launch it with your token and reload discord, install it, and it should work
syncing on the ready event is a bad idea
i know but for testing once
Should be done manually
its easier than a command for the time being
Or at least in the setup hook
this is not meant to be permanent
Uses the setup hook
wb the commands
wut
how should i add commands like the normal way ?
oh
just as normal
(do not use the code i gave you. that was to prove it works. you should integrate the command structure into your code)
what does that mean
and why is it bad
yesss
was this suppose to show me commands or not ?
which command do you want to be user installed
all
Other question, how did you come up with syncing in setup_hook
its giving mildly chatgpt
๐๐ that code is generated by caulde idk what it was someone asked me for code and i gave it that now i gave to you
more content for my blog post
wym
heres an example of the user installed stuff for your ping and hello command
oops
just follow the structure and change the bits as needed
got ittt
so instead of @bot.tree.command() you need to use @app_commands.command()
and add the other stuff
Tyy
another thing btw is add all the commands in one file some how make bot more buggy ?
like someone can crack it or stuff
unless you do smth really stupid, they cant really 'crack' it.... not entirely sure what you mean though
in terms of organisation, it is best to use cogs, where commands are split into files and loaded into the bot
ohhhh
and btw i still cant see commands in dm
have you synced, reloaded discord (fully reloaded) and installed the app?
yupp
lemme test smth
reloaded discord installed app done wym by synced
added my app token
the indenting (the space before the code) means its a part of the command above
this ?
or the ' ' ?
i am running it like that rn
with simple ping commands
its working for me
wtf
thats inside this server
it is for me too
theres sometimes a glitch where all commands appear
i have no idea
i dont know why
i dont know how to stop it
but i hope that helps
๐ญ๐ญ
yesss sir
thanksss
should i change the app or acc ?
๐ค
i can see other bots i am using
Yes
The wgat
ai will replace us all


Two years later and it's still nowhere close
Dw I'm just kidding
It was meant to be an ironic quote but I'd also behave the same if I saw someone say that
I don't really see why people with zero creativity, problem solving skills and future vision are complaining about being unable to find jobs anywhere
Like this is literally how it is supposed to be
๐ time to map out all the code for this
You got this!
Java? :D
C# close ๐
๐
nah it's definitely close.
it won't "replace" engineers, but it'll certainly augment them. the ones who don't upskill now in how to run agents are losing out in the long run.
People said like 4 years ago in 2 years engineers will get replaced
You said yourself - it won't replace them, so we're nowhere close
Augmenting then is not the same wording at all. It's obvious it helps people, just like calculators help mathematicians....
We're talking about replacing, not helping/augmenting/whatever
So it's still definitely not close
By mentioning "augmenting", I'm alluding to the the fact that those that choose not to use it will be removed / replace by those that can.
Huge shift
Therefore, out of jobs. "replaced"
Yeah you're right though, I wasn't clear.
I think the days where some (like 80% of engineers) who simply punch in / punch out and work a ticket here and there making six figures are coming close to an ending.




ok tell me more