#general

9613 messages · Page 10 of 10 (latest)

normal kiln

i even restarted the pc ..

JUST IN CASE

it fucks on EVERY .d.ts from dist

not the .js ... nah nah

something like that it fucks

cunning void

I'm thinking of the context where this error can originate? Perhaps it's treating files in dist as source? Are you sure you are not overriding the config in that project?

normal kiln

well at first i thought about dist as source

but my tsconfig i exclude dist

and i have no .ts or .mts file in dist

cunning void

On a second thought, why do you have declaration as true? It's not a library where consuming user would have a need for it and you will mostly interact with .ts file, so I'm not sure why that is even needed here?

normal kiln

this is a cli npm workspace package

i kinda need the types no ?

cunning void

Oh right, that's a monorepo, i overlooked that

normal kiln

hehe 😄

for once i dont say stupid thing OMEGAlul

thats a first monorepo for me , im kinda ... happy that's the only thing ive bugged on it so far?... lmao

cunning void

Idk, maybe nuke all dist and see if that does something

normal kiln

it does sweet nothing

well i mean ..

the error is gone if i remove whats inside the dist..

but it get replace by that

mostly because i think because of this in package.json

only logical reason of why it would error like so

cunning void

Well that is expected if there is no type declaration.

normal kiln

yeah lol

cunning void

And you need the types, i have no idea tho why you getting the first error lol

normal kiln

same

and its only THAT package

cunning void

Do you have the outDir set on the base config or in specific package root?

normal kiln

in that package my outdir is set to "outDir": "./dist",
rootbase has nothing except references

root base is this

ill give up for tonight i think lol

OH...

That stupid thing might be the problem...

ive just read that it remembers previous builds...

nevermind

barren grove

hehe

i go sleepies now gn

normal kiln

good night jo

tawdry tulip

tbh I don't used path aliases they tend to break when you do a minor package update with TS or the plugin is lagging behind in some update.

Saying that the Vite Template I used for my site repo has it and its worked since day 1 so I havn't touched it.

normal kiln

well for me its not the paths

or maybe it is i dont fucking know anymore

tawdry tulip

tbh I tried a while ago to get path aliases working with typescript and never could.

normal kiln

the # thing ?

tawdry tulip

yep

normal kiln

oh thats is stupidly easy

//package.json

 "imports": {
    "#folder/*": "./dist/folder/*",
    ...
    ...
    ...
    ...
  },
...

//tsconfig
"paths": {
      "#folder/*": ["./src/folder/*"],
    },

you need them at both place

once you know that , its easy
..but you need to know at first ..

cunning void

Maybe it's just me , but i hate nodes # as path alias, so i have custom loader that maps @/. Though i think latest node has supports for #/ too

warm saffron

I use ts-alias for it never seen it fail me

wind wave

h

dawn terrace

Can anyone help me pick a name for my bot?

tawdry tulip
upbeat gust
elfin ore

FaiyazBot, you're welcome

worthy pulsar
normal kiln

...you kidding me

ah , ts woke up

limpid osprey
marble galleon

can someone help me

i need to make a new bot

zinc hedge

and what part of that do you need help with

elfin ore

"yes"

split linden
azure sail
fallen adder
azure sail

They literally say it in the post you replied to?

neat patrol

@grok what did the post say

elfin ore

chatgpt, what should I think about that?

normal kiln

hey , i just realised something ...

is that a circular dependency?

structure > imports > structure OMEGAlul

i import stuff via the package name...

inside that same package

elfin ore

I think it depends on what the alias resolves to but by default yes, you should probably import via paths if it's in the same package

earnest flume
normal kiln

yeah i did that and i found another circular

earnest flume
normal kiln

orange cat looks almost unreal

jagged quarry

circular dependencies are usually an indicator that you haven't structured your packages properly

earnest flume
normal kiln

it loops right there

jagged quarry

well yeah that's the problem

normal kiln

thats one of the problems yeah

elfin ore

I feel like the "types" packages should not depend on anything

normal kiln

TS tries to build types , that needs structure .. that needs types

normal kiln

so.... imma move my enums there i guess

cuz type needs enums , that is in structure

and structure needs types , that are obviously in types

elfin ore

Technically speaking, enums are types

normal kiln

................you right

i just didnt think that far OMEGAlul

elfin ore

In other languages they're referred to as "enumeration types"

It's just that javascript doesn't have them so typescript has a lossy definition on them

normal kiln

now its just a thing of .. do i prefer having enums in their own folder inside of Type package ...
or just throw everything in index.d.ts and call it a day...

elfin ore

Depending on what you need, to speed up things it may be simpler to just put it all in a single file. If you want maintainability you may want to structure the source code in a cleaner manner

normal kiln

as of right now ... its all separated in a folder

so i could just ... slide the folder there

jagged quarry

generally i would say that it's unhelpful to separate types and structures

the types are typically going to be adjacent to something so they should belong to whatever they are adjacent to

normal kiln

the only thing that type is not a dependency is for locales ...

so i just ... referenced the path of types in tsconfig

elfin ore
normal kiln

for the other packages

normal kiln
elfin ore

Oh, wait... I think I misunderstood you. I thought you mean separating them in different files rather than packages

normal kiln

hold on imma do a tree

└── package/@lilly/
    ├── database/
    │   └── ...
    ├── locales/
    │   └── ...
    ├── services/
    │   └── ...
    ├── structure/
    │   ├── dist/
    │   │   ├── config/
    │   │   │   └── ...
    │   │   ├── enums/
    │   │   │   └── ...
    │   │   ├── index.d.ts
    │   │   └── index.js
    │   ├── src
    │   ├── package.json
    │   ├── tsconfig.json
    │   └── tsconfig.tsbuildinfo
    └── types/
        ├── dist
        ├── src
        ├── package.json
        ├── tsconfig.json
        └── tsconfig.tsbuildinfo```

that is right now

EZ solution -> Move enums into types

elfin ore

What is "structures" exactly?

normal kiln
elfin ore

Technically speaking structure (definitions) are types, that's why I'm confused

normal kiln

technically , i should rename it configurations instead of structure

elfin ore

Can you show me a snippet of a configuration so I know how they look?

normal kiln
export const ANIMAL_CONFIG: Record<availablePetsEnums, TAnimal> = {
  /** Domestic dog configuration */
  [availablePetsEnums.DOG]: {
    type: availablePetsEnums.DOG,
    category: AnimalCategoryEnums.DOMESTIC,
    defaultHunger: 100,
    defaultHappiness: 100,
    defaultHealth: 100,
  },
...

imagine this but that long

elfin ore

That is a type but I'm not sure if I would approach it like you did

normal kiln

usecase

it looks like a JSON thing actually because most of the data is hardcoded

but in a object , in a ts file

elfin ore
enum Pet {
  Dog,
  Cat,
  //...
}

enum PetCategory {
  Domestic
}

interface PetStats {
  hunger: number;
  health: number;
}

class PetUtils {
  static get_defaut_for_pet(pet: Pet) -> PetStats {
    switch(pet) {
      case Pet.Dog:
        return ({
          hunger: 100,
          health: 100
        });
      // should exhaust switch cases...
    }
  }

  static get_pet_category(pet: Pet) -> PetCategory {
    switch(pet) {
      case Pet.Dog:
        return PetCategory.Domestic;
      //...
    }
  }
}

if you want to avoid defining the data in the functions I guess you can use records to create relations, something like what you already have. But these records should probably be in a "data" package as they're not types but actual data structures

normal kiln

Classes , right..

i have none XD

pulsar quarry

💀 🙏

normal kiln

You see , i have a huge tendency of ... avoiding what im not used to do..
Classes .. maths... good codeOMEGAlul

yayyyy no more circular

now im at NORMAL problems OMEGAlul

long girder
elfin ore

My bad, I didn't know that. It may be more clean that way

jagged quarry

cursed

elfin ore

I was thinking of something like Pet.DOG.get_default_stats(), API looks nice but it may be painful to maintain

normal kiln

it technically can

thats kinda what i do ..
FOOD_CONFIG[type].price

i attach a data to a enum value

but this : FoodTypeEnums.BEEF.getPrice() nope

it would be nice if it could OMEGAlul

but new Food(FoodTypeEnums.BEEF).price that you can , with a class

export const Food = {
  BEEF: {
    type: "beef",
    price: 22,
    getPrice() {
      return this.price;
    }
  }
} as const;```
this ...works... but cursed .. you kinda lose the benefits of a enum that way
jagged quarry

i've slowly become an enum hater over the years

normal kiln

i just like them because if you need to change the name of a enum you do it once , not everywhere it needs to be changed

sure a search find and replace works... but effort

jagged quarry

i've found the number of times i've needed to change the name of an enum to be negligible if ever

normal kiln

well , it also removes the human error of typos ..

maiden raft
jagged quarry

rust enums are not cursed

maiden raft

Tru

earnest flume

why does sending a message in ddevs gave me muted role

possibly bad automod config or im trippin

hasty venture

There’s a muted role? Thought you just get timed out

earnest flume
hasty venture

Oh damn

earnest flume

and now i have no idea how long it is

hasty venture

Maybe souji will spawn and say lol

earnest flume

cheen tapak dam dam

vestal perch
amber spindle

imagine being muted

how does one achieve that tho

earnest flume
vestal perch What did you say tho?

it was about what ui should i use in slots container:

🍋 💎 🍒
🍒 🍒 🍒 - pay line
🍋 🍋 💎

or this:

[ ? ] [ ? ] [ ? ]

edits to:

[ 🍒 ] [ 🍒 ] [ 💎 ]

jagged quarry

gamba bad

vestal perch
earnest flume

"bad automod" eww

earnest flume

imagine being upside down

jagged quarry

you can probably just open a mod mail thread and they will unmute you

amber spindle

any server with mee6 gets mad at me for more than a few

amber spindle
jagged quarry

it's never about "can"

normal kiln

its about want

earnest flume
jagged quarry

bruh?

what in the misinformation

amber spindle

out of all things you do, thats the part that scares you?

normal kiln

😂

earnest flume

WHAT I DO

amber spindle

-# spam emojis smh

normal kiln

got muted in ddev thats what you did

earnest flume

and ye, getting spam flag is worst than anything

earnest flume
normal kiln

you fault

earnest flume

your cat's fault

normal kiln

your dad fault

jagged quarry

i mean ig you can just stay muted lol

i was just trying to give advice but you definitely don't have to take it

earnest flume
amber spindle

what is it with ddevs not using modern discordness? like still !report and muted roles

normal kiln

souji doesnt give a damn trust me XD

earnest flume
earnest flume

👍

amber spindle
jagged quarry

sure

amber spindle

:)

normal kiln

how much you pay appel for that

amber spindle

i mean if its not broken, rewrite it in rust

amber spindle
normal kiln

i mean .... appel doesnt work for free so .. kinda ??

jagged quarry

what are you talking about

normal kiln

nothing we can move on

jagged quarry

ok lol

amber spindle

1+1=11, next topic

vestal perch
normal kiln
mental stirrup
amber spindle
normal kiln

black the number
red the +
orange the =

1+1= window

amber spindle

so 1+1 is macrohard?

-# ie microslop the makers of copilot

barren grove

hallo

amber spindle

wave

limpid osprey

Pallo

elfin ore
lilac cloak

my complaint is just that it's annoying when i want something with many variants but also properties common among all of those variants

like i've been tinkering with a programming language interpreter, and the Tokens that my lexer spews out both need to have variants but also common properties like the index in the source code that a token is from for error reporting

in addition to a few variant-specific properties like a parsed number value for number tokens

and i have to add extra nesting to make it work unless i want to add those properties to every single enum variant

maybe a small complaint but there's just quite a bit of repetition i have to do

i do still love rust and its enums for the most part, it's just a bit tedious sometimes

it could also just be that i'm structuring my code badly or expecting too much

idk man coding is hard

normal kiln

only 1 error before seeing my terminal empty woah

elfin ore

"If you close the terminal the error will be gone" - Syn

normal kiln

true

its just something that returns null in the Db , probably nothing serious

something something type null

long girder
elfin ore

Oh, I see

normal kiln

cursed way

yes , ive been playing for fun just to see if i could

FoodTypeEnums gets typed as

enum FoodTypeEnums
namespace FoodTypeEnums

long girder

but that's not a method

normal kiln

getprice() isnt ?

long girder

no that's a function

normal kiln

a method is a type of a function , shush

OMEGAlul

long girder

🥀

normal kiln

getprice(foodtypeenumshereblablabla) i would say thats a function , because it got called on nothing ..

what i mean

long girder

but you're using a namespace not a class

normal kiln

so... you want a example with a class ?

ill found a way OMEGAlul

long girder

no i'm saying if you used a class it would be a method but right now it's a function

i hate the new discord minigame

i'm 25/26 achievements and the last one is just rng

normal kiln

eitherway , calling a function on a enum is cursed.. 😂

long girder

yeah that wouldn't really make it better

but all other languages allow it so i forgot that ts doesn't

long girder

gigabrain

oop nvm i got it just now

holy lucky

normal kiln

...rah

neat patrol

i don't even see that achievement

long girder

yeah it's one of the secret achievements

you need to finish the match 3 minigame without any errors

oblique heart

who needs a website for their bot 🥹🤞

barren grove

for free??

oblique heart

dm me

barren grove

then no, go away

oblique heart
barren grove

even if i was, i would still say no

oblique heart
barren grove

you bet it is

long girder

i think before i need a website i need a bot first

oblique heart

i didnt think of that

barren grove

vc session again!!

normal kiln
barren grove for free??

Tell me how to host a website for you and I can do something xD I need a reason of turning on my computer / nas / server

barren grove

i can help with that lol

normal kiln

You have the knowledge , I have the hardware … something can be done xD

barren grove

i have both!

normal kiln

Lucky you

barren grove

apple juic

dry compass

Happy birthday @tulip crag !!

All the Germans born around the same time smh

normal kiln

they got bored in the summer

indigo verge

embeds not working
they say in an embed
I'm genuinely confused, is that just some embeds?

oh is it like open graph embeds?

normal kiln

well... 2 hours for me in EST timezone

dry compass

Ooh happy birthday @lusty trellis 💖💖💖💖💖

What happens 9 months ago on this day. Damn

normal kiln

August was pretty boring

dry compass

International have sex day

Long man

normal kiln

long poof of fur

or long foof of purr.. ?

Long living Anti anxiety medication that goes purr purr XD

zinc hedge

longboi

normal kiln

man im searching for something that ... its almost impossible to find now a days and i used to find it easily back then like... decade ago

well decades ago actually , 21 years old

....the price...

zinc hedge

🏴‍☠️

normal kiln

theres a reason of why i said its almost impossible to find now a days XD

i cant even find a torrent for it

or if i find , theres 0 / 0

torn stone
normal kiln

where ?

torn stone

usual place

normal kiln

great.

torn stone

the sounds a cat makes

normal kiln

the one that shutted down like 8 years ago ?

ohhh its still alive

well now i need to find the subtitles OMEGAlul

normal kiln

i tend to forget how big these can be ..

torn stone

what are you on lol

normal kiln

oh i just search naruto

torn stone

also theyre subbed

cus it says sub on them

normal kiln

6% remaining , we will see , the movie is subbed at least

ah , the one i found arent XD

doesnt really matter i know the story by heart at that point

normal kiln

i need to stop imma bust my storage of stuff that i havent watched in decades lol

raven sentinel
copper jacinth

wtf youre in this server?

raven sentinel

of course

copper jacinth

i mean... fair...

raven sentinel

i could say the same about you MenheraInspect

copper jacinth

i do the bot coding sometimes... i was a JS kiddie before i was a go enjoyer

zinc hedge

TypeScript is just painful JavaScript

raven sentinel
vestal perch

I am! Though I'm sure people wish I wasn't~

copper jacinth

we love that youre here

raven sentinel
raven sentinel
zinc hedge

JavaScript can't be redeemed

TypeScript is C#'s decent into madness

vestal perch
raven sentinel

deadAsf

vestal perch

I tried to redeem one JavaScript to get my sanity back and they said no~

raven sentinel

tell me i didnt just hear typescript compared to c#

cold jasper

i didnt just hear typescript compared to c#

raven sentinel
cold jasper

No problem

zinc hedge

you did

TypeScript is Microsoft's sorely misguided attempt to apply C# type system to the chaotic anarchy of JS

raven sentinel

i would say that the type system in typescript is much more C++ inspired

lilac cloak

hi

i haven't used c#, i could prob write a hello world or work through a unity tutorial but that's about it, i do quite like typescript's type system tho

i think it is often used in ways it shouldn't be used, its capabilities should not always be seen as an invitation to write manmade horrors beyond any developer's comprehension

i really like tagged unions tho

elfin ore

Happy birthday!

rocky furnace

and happy birthday emi! hope you enjoy your day!

raven sentinel
raven sentinel
raven sentinel
echo tapir

all of which exists in C# as well

meguFace

minus that there's some runtime type enforcement there

the generic stuff doesn't even make sense. C++ generics aren't really generics

raven sentinel

i disagree there

echo tapir

C# isn't missing anything you can do with typescript ones

well you can disagree but like

its true

any instantiation of a C++ generic is just copy pasting the input type into the class on every occurrence

its completely different from what TS and C# do

in fact, C# has type erasure for its generics

elfin ore

CPP approach to generics is cursed, templates along a few other bullshit they did to the spec was what encouraged me to move into Rust

strong valve

dw ai is probably going to slaughter the pipeline for new c++ developers

and then c++ will die a slow death

echo tapir

it still even introduces the same problem of absurd amounts of needed monomorphization

elfin ore

Oh, I meant the cpp templates semantics/syntax

echo tapir

then yea sure

they did great

02lul

elfin ore

Rust approaches it more efficiently than templates too, lemme look up the forums discussion

Oh, CPP added the templates constraints in cpp20

The resolution is still expensive tho as they're not predictable

vale merlin

bzzbzz

atomic monolith

@echo tapir The resolvers package is a blessing, I love it bongo_cat_heart

echo tapir

im glad

royal meteor

Does anyone here know how to receive the voice-status on discord? I see some servers have it, others dont

barren grove

morning

limpid osprey

morning-morning

ripe pumice
royal meteor

^

limpid osprey

mafia bro, do you code for arduino stuffs too?

ripe pumice
royal meteor ^

discord has not documented the API for status and is not supported by djs at this time

ripe pumice
royal meteor

So its solely a beta feature or something? Considered i see some servers have it, others dont

ripe pumice

IDK best to ask on DDevs

limpid osprey

I start to watch some tutorial for making code for line follower car, i did not find any efficient video......
Just asked did you learned self or ... smth else

limpid osprey

ok thanks

ripe pumice

very good video.

limpid osprey

poggies

limpid osprey

amazing

i am at my very low level, i dont think...... i can reach that level...

upbeat gust

cookieCat

who wants cookie?

barren grove

meeee

amber spindle

cookieCat

barren grove

cookie

tawdry talon

dogeHaHa

earnest flume

.

lilac cloak

ok so when im importing leveling data from a user-provided csv file, is there any decent way to check that all the user ids are real uesrs (even if that user has left and not yet rejoined the server), or do i just have to either impose the limit of only importing present members or just hope that no one tries to abuse it by importing a bunch of fake members

neat patrol

the only way to know if the set of 17 to 19 digits is a real snowflake is to try and use it as such

junior idol

just hope that no one tries to abuse it
I would say always assume everyone will try to abuse everything. You can never trust users.

lilac cloak
junior idol

I guess the question is what is the worst that could happen? What happens if someone imports users that don't exist?

lilac cloak

waste of database space

junior idol

So it's not detremental then, just a few kilobytes/megabytes of extra data

or if you don't want people to edit the exports at all, encrypt them with a private key and then decrypt on import. That way any edits would (likely) break the import

lilac cloak

i don't wanna do that

junior idol

well, you reap what you sow

lilac cloak

i import and export as csv files in order to make it as easy as possible to bulk edit xp data with something like excel and to make it as easy as possible to switch to or even from my bot without some proprietary format that isn't compatible with anything

i'm tempted to limit imports to only members present in the server for non premium guilds tho, so abusing it requires paying me a little bit first

barren grove

and that was 5 days ago

normal kiln

and pinged ... 🤦‍♂️

sinful swan
normal kiln

Bro that was like almost 24 hours ago...

sinful swan

I still want my cookie 😹

normal kiln

oh , right ive read AM for some reasons...

Still... XD 9 hours ago

sinful swan

Where the cookie, is he left us like my dad

long hawk
sinful swan
long hawk

Anything can be real if you use your imagination

warm saffron
upbeat gust
merry abyss

LookBzz

how can i get sponsor role thinking

copper jacinth
midnight bay

Hello,
I would like to report an unwanted DM from @desert forge
Thank you

zinc hedge

Cool, use /report

upbeat gust

hello

south hawk

space BlobReach

ruby holly

i have a question about discordjs/discord-api-types where do i put it

zinc hedge
zenith thunder
zinc hedge

Wasn't planning to, no

zinc hedge

@candid tide @hallow grotto I feel like we need our Marvel thread back because holy shit that Daredevil episode

candid tide

Don't we have create thread perms mmLol

split linden

(if you don't, lmk, but you should - literally everyone even, irrc)

zinc hedge

Probably do yeah

candid tide

Marvel is BACK

split linden

i assume that's spoilers? if so we should prob. delete the message with the preview of the latest message in the thread kek

candid tide

we use spoiler tags for recent stuff

nothing in there yet though

sinful swan

Thqnkqng

raven sentinel
lilac cloak

i don't want the file to be encrypted because i want it to be easy for users to put it into a spreadsheet or their own program or whatever and bulk modify the leveling data

and i don't want to be that kind of dev that uses encrypted/proprietary stuff to lock users into my product by making it hard to switch away

wind wedge

hey, i have a question

im making an open source bot, currently it stores channel ids and role ids the old fashioned way, in a a file in a config folder, would it not be a good idea to store the values in a database? instead of a file?

atomic monolith
wind wedge

i have a case id system for moderational commands, giveaways etc so it wouldnt be too hard to implement

atomic monolith
wind wedge
atomic monolith

Postgres also has better data integrity constraints which you may or may not find useful

lilac cloak

currently im using sqlite because it was the easiest to set up but it doesn't exactly have a lot of data types for me to mess with

teal pendant

You can directly query json(b) and do all sort of stuff with it instead of just text operations.

lilac cloak
atomic monolith
lilac cloak

hm

tempting

wind wedge

but i hate databases with a passion

atomic monolith

Databases are a very interesting topic. I like talking about them

lilac cloak

i simply do not understand the process of setting up a postgres server

why do i even need a password

i'll forget it

atomic monolith

Then again I primarily work on databases so its not really a surprise

atomic monolith
lilac cloak

it's on my password locked computer

wind wedge

password to your phone

its in your pocket or house 🤷‍♀️

worthy pulsar
worthy pulsar

also you dont need a pg server password

lilac cloak

if someone can access my computer in such a way that they have direct access to the files that my database is made up of then that's not ideal

worthy pulsar

i dont poggies

its terrible practice tho dont do what i do im just a lazy bastard dogeHaHa

lilac cloak

i'm also lazy i want to be lazy

worthy pulsar

then just dont set one its probably Fine™

lilac cloak

ok

wind wedge
worthy pulsar
wind wedge

theres a difference between being a "lazy bastard" and giving out bad advice

worthy pulsar
warm orbit
worthy pulsar

altho yes this is bad advice and you really should Just Set A Password

its like not that much effort and you can still be lazy by having one pg user for all ur shit (altho this too is bad advice, just marginally less so)

wind wedge
worthy pulsar
wind wedge

do you usually give out bad advice and say "the chances are small so its good"

worthy pulsar

although they do say theres nothing more permanent than a temporary fix dogeHaHa

worthy pulsar
candid tide
lilac cloak

listen man i just want a working db

candid tide

i just want easy access to cash

lilac cloak

my database and surrounding code has yet to show any correlation to real world monetary value

elfin ore

Time is money

Trust me, you can't ever be so sure you didn't do an oopsie and left a vulnerable surface available for attacks. In case you particularly retain user-data in the database consider following security recommendations/guidelines

south hawk

protoWHAT

barren grove

isaac_smile

earnest flume

meow

nimble gyro

Hi guys, Could you send me the documentation on how to add a button or dropdown menu to an embedded menu?

tribal glenBOT

guide Display Components
While you might be familiar with embeds in Discord, there are more ways to style and format your apps messages using display components, a comprehensive set of layout and content elements. To use the display components, you need to pass the IsComponentsV2 message flag (in docs: MessageFlags) when sending a message. You only need to use this flag when sending a message using the display components system, not when deferring interaction responses.

lilac cloak
nimble gyro Hi guys, Could you send me the documentation on how to add a button or dropdown ...

embedded menu? do you mean modals (popup menus that cover the screen)? or message components (buttons and menus and stuff embedded into actual messages)?

modals can have select (dropdown) menus, text inputs, file uploads, and checkboxes / radio buttons, but they cant have normal action-y buttons

message components (aka "display components" can have select menus and buttons, as linked above

lilac cloak

that would be message components, so the guide linked above is what you want

sinful lichen
lilac cloak listen man i just want a working db

dyu have docker installed? Run postgres in a docker container

Or you can use something like DBngin to set up a local db for you

Datagrip is great if you want to view your database in a nice GUI and write queries

lilac cloak

i tried to figure out postgres with docker

i got too confused

sinful lichen

download a postgres image and click the play button. The images tab should he on the left in the app

warm orbit
lilac cloak i got too confused
services:
  postgres:
    image: postgres:16-alpine
    restart: always
    environment:
      POSTGRES_USER: -changeme-
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: -changeme-
    ports:
      - "5432:5432"
    volumes:
      - ./pg_data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U -changeme-"]
      interval: 10s
      timeout: 5s
      retries: 5
sinful lichen

or use a compose file. Yea

lilac cloak

the volumes thing kinda just bamboozled me

for that and also how to store log files

warm orbit

volumes:

  • outside-container:inside-container
amber spindle

if you are using docker for same app, then use unix socket edition instead of tcp frfr

bold patrol

hm

twilit jackal

Um minino sonhador

dogeHaHa

sinful swan

OMEGAlul

glad eagle

Hmm

normal kiln

heyo

normal kiln

...Why apple doesnt let me share a folder of music through Apple Music T_T ...

we can through playlist but not through folders full of playlist >_>

sinful swan

use android

normal kiln

nah

and that doesnt solves the thing anyway

brave zephyr
normal kiln

Suffer through bugs because Apple music doesnt support android ? and if it does its not maintained ? XD

brave zephyr

the apple music experience on android is better than apple music on ios, or spotify on both platforms lol

its honestly an incredibly good android app given it's made by apple

normal kiln

Ah

TIL

on Windows it BEGINS to be good

never had problems on iOS tho

but yeah the fact that we cant share or add someone to a folder sucks

its so neatly organized that i dont want to touch it XD

1 playlist per genre

lofty cairn

Do you sleep lilly

normal kiln

i dont

lofty cairn

Makes sense why I see u in chat always

normal kiln

xD

copper jacinth

sleep is for the weak

-# and i am weak

normal kiln

im about to soon honestly

lofty cairn

OMEGAlul

normal kiln

can go up to 16 sometimes depending on how much sleep deprived i am XD

not long ago i did a 48 hours straight , husband was looking on me to see if i was still alive OMEGAlul

i go work with 2-4 hours of sleep , get my day through cafeine , and im awake from like 7AM to something about 2-4 AM ...

past a certain hour of the day im just... not sleepy anymore

Sleepy window past im awake and good luck sleeping lol

i still surprise me to sleep through my alarm which is ... surprising when you know on what i wake up to

cold jasper

Nuclear alarm

normal kiln

Endzeit - Heaven shall burn

cold jasper

That title enough seems like enough of a descriptor to what your ears endure

normal kiln

i sleep through that and the phone is right on my ears when i sleep OMEGAlul

cold jasper

Should try the Apple Radar sound, I've used it enough to where I slightly scare myself whenever I hear it unexpectedly, thinking I need to wake up

normal kiln

funny thing is , i wake up if my son decides to go downstairs , but i still sleep through SCREAMINGS on my phone

fucking mom brain or what ever

movement - baby - wake up ...
screaming to death in my ears .... sleep through

maybe my brain is expecting that screaming and i actually need to change my alarm

cold jasper

Make a contraption that shakes your bed violently as an alarm

normal kiln

oh boi

i will prefer to wake up to songs that kills my braincell , like Barney the dinosaure

or AI generated song

cold jasper

poggies Moderator Magic

normal kiln
normal kiln
cold jasper

You should be able to import it I think as an alarm with Garage Band

At least that's what I did for a custom ringtone

normal kiln

yeah ... that implies to connect my phone on pc...... lolll

its not that i dont want to ... its just... far

cold jasper

I didn't have to do it

normal kiln

the music is on my pc only

cold jasper

Oh

normal kiln

if you want the music tho i can re-share here

i have 2 actually

Moderator magic being the best of the 2 lol

Ohhhhhhhhh XD

roooohhhhhhhhhh cant share

hahaha it imported the lyrics XD

at least now i have them to play in the car 👀

hallow grotto

whats the tea with integration tests for djs these days