#development

1 messages · Page 291 of 1

sharp geyser
#

I was going to add husky and commitlint

#

but I couldn't figure that shit out

pearl trail
#

ayo, how does roblox's stylesheet looks like?

neon leaf
#

5000 players 🔥

pearl trail
#

is that minecraft?

neon leaf
#

yes

#

2x velocity-ctd on 9900x with 6gb ram
4x canvas 1.21.8 on 7443p with 128gb ram
4x sf v2 on 7443p with 48gb ram

#

next goal is 10k

#

somehow

deft wolf
#

I have a strange feeling that these are not real players 👀

neon leaf
#

correct

#

its stress testing

#

thats what the 4x soulfire instances are for

#

each one sending 1k players (one of them accidentally 2k)

deft wolf
#

Put them on the Earth map and simulate evolution

neon leaf
#

sir

pearl trail
neon leaf
#

it will explode

#

the backends are already at 8000mspt

#

with 1k each

#

i accidentally broke the spawn pattern so 1st backend generated 30gb of new chunks

sharp geyser
#

but someone made a project called RSML that uses a css like syntax

#

and it builds down into a roblox stylesheet

stark kestrel
neon leaf
#

yes

#

otherwise it would completely die

#

couldnt reach over 500 on one server when all in same location

sharp geyser
pearl trail
sharp geyser
#

yuh

#

I use it for my ui library

#

v1 coming soon™

#

hopefully v1 of the cli and components will be out within a week if I have time

sharp geyser
#

@radiant kraken you are likely going to critisize me heavy here in a few

sharp geyser
#

I've made some changes to the cli tool, specific to how the config is portrayed and deserialized

#

heh..

#

I know what I did isn't exactly the best from what I remember but it works for now

#
#[derive(Serialize, Debug)]
struct Config {
    base_dir: PathBuf,
    components_dir: PathBuf,
    styles_dir: PathBuf,
    lib_dir: PathBuf,
    registry: String,
    templates: String,
}

#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
struct ConfigRaw {
    components_dir: String,
    lib_dir: String,
    styles_dir: String,
    base_dir: String,
    registry: String,
    templates: String,
}

impl<'de> Deserialize<'de> for Config {
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where
        D: Deserializer<'de>,
    {
        let raw = ConfigRaw::deserialize(deserializer)?;

        Ok(Self {
            components_dir: raw.components_dir.replace("{baseDir}", &raw.base_dir).into(),
            lib_dir: raw.lib_dir.replace("{baseDir}", &raw.base_dir).into(),
            styles_dir: raw.styles_dir.replace("{baseDir}", &raw.base_dir).into(),
            base_dir: raw.base_dir.into(),
            registry: raw.registry,
            templates: raw.templates,
        })
    }
}
#

I use .into

#

which iirc isn't exactly the best thing to do

#

I need them to be pathbufs tho so I can do path joining

radiant kraken
#

but it looks fine to me! don't worry aaron!

hidden crystal
#

@west bronze I'll move the convo here for the convenience of ixz eeveefingerguns

#

I thought about it, it seems that top.gg internally uses chakraui, so we can modify it to our own styles?

deft wolf
#

You can modify the appearance but you cannot modify the content or hide anything

#

Afaik ofc

west bronze
hidden crystal
#

Oh yeah I know, I am just asking for confirmation if top.gg uses chakra internally

stark kestrel
#

it does

deft wolf
#

Any concrete proof?

tired zealot
#

Do you need a code to post a message of a vote in a discord channel?

stark kestrel
#

it's chakra + tailwind on nextjs

deft wolf
deft wolf
tired zealot
#

Never used them before

deft wolf
#

It's a simple web server idk what can I recommend you. If you google "how to make a web server in <insert your programming language here>" you'll surely find some guides

tired zealot
#

I’ll try! I’m very new to coding :)
thanks!
-# > didn’t even start yet and I already gave up.. lol

low phoenix
#

how to apply number server for my bot ?

sharp geyser
#

@radiant kraken right so the repo commit history is now nuked val_Sadge

#

I got annoyed cause I was making some big changes to the repo and wasn't able to make a PR or push or rebase

#

so I just used --force

#

cause I cba rn

#

Anyway

#

Updates to the CLI are the inclusion of the lib folder in the cli

#

init now creates

-- src
   -- client
     -- lumina
       -- components
       -- lib
         -- core
         -- functions
         -- hooks
         -- index.ts
         -- theme.d.ts
       -- styles
-- lumina.config.json
#

It of course assumes src/client already exists but if not creates it anyway

#

Might change it later to check if its in a roblox-ts environment later idk

sharp geyser
#
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean```
Bro how
#

i've literally made changes to the code

#

git needs to fuck off

sharp geyser
#

Fixed it...probably not the best way though

#

Since i've already pinged you null, I broke the github action heh....

#

😭

warped glacier
sharp geyser
#

Yeah don't say that just yet

#

😭

sharp geyser
#

and boy...am I really not doing too hot

radiant kraken
#

😭

sharp geyser
#

There is an error with the current implementation, and even if there wasn't it's sevearly lacking and I don't have the patience to implement all the fail cases

radiant kraken
#

don't give up aaron

sharp geyser
#

I'm pushing the changes and will work on it tomorrow

#

There's several factors I have to consider and I didn't even bother until I already got my current implementation done, and even then it still errors

#

Not to mention the actions are broken

#

Honestly am getting annoyed at the cli

#

I am not happy with the current state of things, I feel like im locking in a bad way of using lumina

#

my goal was to do things similarly to shadcn but it feels like im way off

#

@radiant kraken I might redesign the cli again wahhhh

#

How it currently is just doesn’t make sense to me idk what I was doing

radiant kraken
#

you should take a rest aaron

#

don't get too stressed about it

sharp geyser
#

Oh I am

#

but ima def think more about this ui design tmrw

#

cause I want it to be similar to shadcn as possible

#

to bridge the gap more between web react and roblox react

radiant kraken
tired zealot
#

Ehmm soooo can someone lead me trough making a vote message system?..

#

i tried 2 times, and failed both

tired zealot
valid adder
frosty gale
#

good for stuff like interpreters

warped glacier
#

And I'm glad you like it

crimson sphinx
#

Will it be totally ok to listen for post request from webhook on the same server where bot is hosted? Like I already have one server running the bot so using that same server to listen to post request from top.gg webhook for vote?

deft wolf
#

Yea, why would you use different server if you can host everything on one

crimson sphinx
hidden crystal
#

seeing as someone posted their own parser/interpreter above BBC3_peek_cat

tired zealot
#

Anyone able to and willing to?
To help me fix a code I can’t seem to fix without getting errors.., I even tried to use Ai

#

It’s a ticket code (discord.py)
And it should open a thread but the ticket owner doesn’t have access to it.,

vivid fulcrum
#

what have you tried, what worked, what didn't work, what's the error, what's the line that causes the error

tired zealot
prime cliff
#

multiple errors
whatthefuck very helpful

queen needle
tired zealot
tired zealot
lyric mountain
#

you see, the issue with vibe coding is that you cannot (dont know how to) spot the issues created by AI to ask it to fix them

vivid fulcrum
#

vibe coding is great, until it starts generating code with design patterns that are totally inapplicable to your codebase or the language in general 😭

deft wolf
#

So vibe coding is great until it's not

quartz kindle
#

AI is great for tedius tasks

#

i asked it to transform a large array of objects for me and it did great

#

usually i would do that by writing a map function and logging the output

pearl trail
#

good for helping with small things

#

i am always worried when ai make a whole project for me and i don't even know what codes are there KEK that's what making debugging 10 times harder

quartz kindle
#

lmao

lyric mountain
#

throw it in desmos

tired zealot
#

Yes

lyric mountain
#

still, you need to know what to look for to begin with

craggy pine
#

I wonder how many bots the reviewers have to go through that are primarily coded by a.i. i almost want to assume it probably outweighs coded by hand

deft wolf
#

Probably a lot, but they break just as quickly as they are made 😔

#

Apart from the fact that people don't know what intents are, so their fate is doomed from the very beginning

tired zealot
deft wolf
#

They make a bot entirely in AI with prefix commands, and their intent request is rejected. Now what? Time to make another bot!

pearl trail
#

Absolutely! It can be hard when discord rejects your intent request. Your previous bot only supports prefix command and does not support slash command. I will help you make another bot that works with slash command
Thinking for better answer CH_IconLoading

deft wolf
#

Creates a prefix command whose prefix is ​​/ and calls it a slash command

pearl trail
tired zealot
#

I use slashcommands😣

unreal mist
#

what happened to the variety when it came to prefixes

wooden ember
#

I wonder if the AI code is better or worse than what the the people that just copy paste code from 6 bots on github into one file and call it a day end up with.

deft wolf
#

In both cases, this is a bad thing. The question is: which is worse. In my opinion, it's better to copy from GitHub (assuming you're copying from a reputable source) because you can adopt the practices of the person who wrote the copied code. AI has a tendency to hallucinate and create things that do not exist

#
  • may change the code structure between prompts, making it simple to become lost in it all
wooden ember
#

reasonable I guess

clever tundra
#

Agreed with that, GitHub code has basically guaranteed to work, ai has a very low chance

vivid fulcrum
wooden ember
#

I started out by copying bits of code but then found that the stuff i wanted to do hadn't been done before so I just made it myself eventually but github was a very good resource.

#

I guess I wouldn't have been able to do that with ai if I was starting out fresh

#

That being said, I haven't touched any of the code for any of my bots in about two years now

#

when d.js updates enough that my stuff stops working I will probably just move to python since thats more usefull to me to be good at than JS so I will wind up back at github eventually lol

vivid fulcrum
#

I quit after discord started implementing intents and other stuff in their API, now I'm reminiscing about the old days where users and bots had the same gateway flow so you could easily run userbots meowsadgottem

wooden ember
#

yeah, thats somewhat killed it for me too. I am not sending my ID to discord to verify my bots and I and not using slash commands either so I can't be asked to updates stuff anymore.

clever tundra
#

I like slash commands, only downside is the syncing and reloading to test them

vivid fulcrum
#

they're pretty cool tbh, it simplified some things like arg parsing but added a layer of complexity that just didn't make it fun for me anymore

wooden ember
#

this

lyric mountain
#

the only thing stopping me from using slashes is how rigid they are with syntaxes

wooden ember
#

makes bots less personal too. everything uses the same interface on one level and on another as soon as you type a / your screen gets spammed with suggestions unless you know the exact command you want to type before hand

lyric mountain
#

like, I have several commands that have a variable third argument depending on what the previous was

wooden ember
#

I have a bot that was made to save messages, sort of like a sticky message but only sent when the users request it instead of always being the newest message and trying to use formatting after you have initiated a / command like markdown or something is a pain in the ass, and pretty much unusable on mobile so I never bothered with it.

#

got a message from discord that its in over 75 servers, but its actually only used in about 20 so I will probably just get the bot to kick its self from servers its not got saved messages in and hasn't been interacted with in 6 months or so.

hard zenith
warm yarrow
hard zenith
hard zenith
#

Let alone using BG still

warm yarrow
frosty gale
#

gives me more time to focus on projects that actually matter

#

(my personal fun projects that no one uses)

warm yarrow
#

I'm actually about a release and update when I get home from work I've been working on it for the past 2 weeks It should fix some things up

delicate zephyr
#

cc @radiant kraken is there a way to debug the lib to have it print the raw response

prime cliff
strong shoal
shell tundra
#

me

strong shoal
#

perfect

rotund glacier
prime cliff
#

The extra space

rotund glacier
#

oh yea

#

yall will do anythin but help 🙏

prime cliff
#

You haven't even said what's wrong with it and what error are you getting xD also i don't think people would like to help with AI generated code

#

Print log the exceptions or whatever messages you're getting

sharp geyser
#

they can still print result though which is what they are doing

#

So what exactly is the issue 💀

rotund glacier
rotund glacier
#

ur not sounding smart ur just sounding like a prick

prime cliff
rotund glacier
#

idek atp i have a headache from it

sharp geyser
rotund glacier
#

okay

#

sorry

prime cliff
#

Sorry too

rotund glacier
prime cliff
#

The issue might be you trying to str() string an integer when it shouldn't be

sharp geyser
#

they give it an int though

#

Took 30 years to load

#

💀

rotund glacier
#

i'm genuinely confused

rotund glacier
prime cliff
#

So something in that code is passing weird arguments

sharp geyser
#

Right but they are using str on the end result, not what's passed in no?

#

they are indeed passing in a user_id int into check_user_vote

prime cliff
#

It's asking for an int but something is being stringd when it shouldn't be

spark flint
prime cliff
#

string indices must be integers not str

rotund glacier
#

could it be the author id

#

i swear if it is im snapping my laptop in half 🙏

sharp geyser
#

Oh wait

#

I think I see the potential issue

prime cliff
#

I would say remove each line of code and test if it dosen't error :/

sharp geyser
#

Without testing I can't be sure, but it's likely how the returned data from the top.gg api is accessed

#

So while it's not guranteed as I can't test it rn, it's likely not Brutiv's fault

rotund glacier
#

can we get some philosophers in here rah

rotund glacier
sharp geyser
#

I'm suspecting the culrpit is return bool(data["voted"]) but again idk null is already pinged

#

they will check it out when they can

rotund glacier
#

i'll just remove the vote checks from the commands for now

#

thanks for the help guys

prime cliff
#

Was the voted part removed or not checking 400 correctly

sharp geyser
#

I'm thinking the api is no longer responding with the data as it was originally

#

or the aiohttp lib is borkin

prime cliff
sharp geyser
#

cause I don't see them doing anything that would result in such an error

#

the error is usually caused by indexing a string with another string

#

mystring = 'hellowlorld'
mystring['stringindex]

#

so im thinking possibly data is a stringified json

rotund glacier
#

it's actually so bad I asked the chinese AIs

#

it thought of the stringified json think i believe

#

same error

#

this bot is so cooked im finna give up on it omds

prime cliff
#

Python isn't an easy lang tbh especially harder to debug and other languages can stacktrace exceptions from lib function rather than spit out generic messages

rotund glacier
#

i started with python so now im stuck with it

#

cuz im so used to it

frosty gale
#

made my own version of std::variant in c++ because the builtin one provides no way to bypass the safety check to see if you are accessing the right type
@quartz kindle dad are you proud of my micro-optimization

rotund glacier
#

my eyes

#

the light mode at 3am

sharp geyser
#

needs to be 5x

frosty gale
#

i was devastated to find out as unsafe as c++ is they provided absolutely no way to get said value without a safety check you cannot bypass so i had to take matters into my own hands

rotund glacier
#

did i just see a ro-cleaner 2 get deniedin #mod-logs for having nsfw features mentioned or is it the lack of sleep

frosty gale
sharp geyser
#

lets ask gpt

#

im curious what itll do to ti

frosty gale
#

its quite literally just reading a memory location into a register, adding itself then returning 😭

sharp geyser
#

no idea what any of this means

#

but yeah

frosty gale
#

we've squeezed every last drop of performance you can get

#

you dont see that happen often

#

next up is building our own cpu to execute this faster

sharp geyser
#

Let's do it

#

call the company Tim Electronics

wheat mesa
sharp geyser
#

When using reqwest I know it typically requires tokio, but I don't need every feature tokio offers so what are the min required features to get reqwest working? If anyone can answer aha

#

I've read it's rt and net but I am not certain that's all of em

stark kestrel
#

as the name says it's blocking but that's how you'd get reqwest working

sharp geyser
#

Yeah I don’t want it to necessarily be blocking

#

I just went with rt and net

#

We’ll see

frosty gale
#

i was planning to connect actual memory chips without SPI or I2C to the FPGA so that you can get as close to max performance as you can but its just too many pins

#

found my writeup on it

#

id have to cut down on memory available massively for it to fit in the available general purpose pins

#

or just use SPI but for RAM its meh

#

no wonder modern cpus have so many pins

eternal osprey
#

hey everyone.

#

i am using react ts particles to get nice particles going, only problem is that it basically sits in front of my other content such as images etc.

const ParticlesBackground: React.FC = () => {
  const particlesInit = useCallback(async (engine: Engine) => {
    await loadSlim(engine);
  }, []);

  return (
    <Particles
      id="tsparticles"
      init={particlesInit}
      options={{
        particles: {
          number: {
            value: 100,
            density: { enable: true, area: 1500 },
          }
....
,``` anyone knows how to get this on the background? Z indexes don't work,.
sharp geyser
#

have you set the z index of both the particles and the other content?

eternal osprey
#

That's the strange part.

sharp geyser
#

Not sure why you are having an issue, when I used it zindex worked for me

eternal osprey
#

i got it though

#

i tried using z index on an image

#

didn't work

#

but it did on its corresponding parent container

rotund glacier
#

holy, 2021?

prisma nebula
#

Anyone knows a container planning bot? (Not a webhook)

prime cliff
#

Container planning? waitWhat
You mean like a docker manager or something

wheat mesa
#

Builder is gonna be really happy if you say yes

tired zealot
#

can i give people who vote access to premium features?
if yes, is this really hard?

#

wait i found the api

rotund glacier
#

yikes

#

thanks for the help

#

mhm i will

#

ty

clever tundra
#

Can vouch for the fork, I use it, super easy to setup and works very well

sharp geyser
#

was my guess correct (data["voted"]) was the issue?

pearl trail
#

data is not a json

neon leaf
#

rust WHAT are you doing

25G     projects/0x7d8/panel-rs
48G     projects/0x7d8/wings-rs
#

I cleaned it 1h ago

sharp geyser
#

Looks normal

#

Keep going

lament rock
#

and ppl said npm was bad

real crystal
tired zealot
#

someone knows why i cant make slash commands pop up in dm?..

sharp geyser
#

They aren’t globally available yet

#

There’s an hour or more delay for global commands to register in cache

tired zealot
#

But like do i add scopes? Bc idk how to.:

#

Im always so confused on discord dev portal

clever tundra
#

you have to install it to your account

#

instead of installing to server you need to install to account

#

@harsh nova scam

deft wolf
#

@harsh nova support scam

tired zealot
#

Bro I was going to ping

#

😔🤞

clever tundra
#

in discord.py as an example the command scope things look smth like this

#

this is for one of the commands i use, and weirdly sometimes it shows all bot commands as dm commands, sometimes only this

#

im not sure why but it doesnt affect me so its a feature now i guess

tired zealot
#

Ohh so I need to add something to the code?

clever tundra
#

yes

tired zealot
#

Ohh didn’t know!

clever tundra
#

otherwise how does discord know you want it to be user install

tired zealot
#

This is correct?

tired zealot
clever tundra
#

in the dev portal you need something like this

clever tundra
modest sleet
#

any idea how much time does it get to get approved for intents ? didn't try yet just wondering

tardy violet
tired zealot
tardy violet
tired zealot
#

Ye.. can’t find out how to fix that

clever tundra
#

Or API wrapper

tired zealot
clever tundra
clever tundra
# tired zealot Discord.py

Try and just add this to your bot as a like testing command, sync restart etc and then see if that command shows in DMS

@app_commands.user_install() 
@app_commands.command() 
@app_commands.allowed_installs(guilds=False, users=True) 
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True) 
async def testhello(self, interaction: discord. Interaction):
    await interaction.response.send_message("OwO")
#

Bearing in mind this is for a cog, if you don't use that or don't know what they are I suggest you start using them

unreal mist
kind jay
#

Alguien sabe porque los comandos globales no se registran pero los de el server de test si se registran, cuando quiero hacer el deploy solo queda cargando y no pasa nada más, antes si me andaba bien

kind jay
# stark kestrel english only

I already did that, and I waited more than 6 hours and nothing, no errors, no commands registered. Before, everything was working fine. The commands on the test server do load the globals, even after waiting 6 hours, they don't load.

stark kestrel
#

with that picture of a screen and your description nobody can help much

#

share the code, as text, not picture

shy adder
lofty kraken
#

How does mee6 allow for branding (username+pfp) ?

stark kestrel
jolly coral
sharp geyser
#
{
  "$schema": "http://localhost:3000/schema/registry-item.json",
  "name": "hello-world",
  "type": "registry:block",
  "title": "Hello World",
  "description": "A simple hello world component",
  "files": [
    {
      "path": "registry/new-york/hello-world/hello-world.tsx",
      "content": "import React from \"@rbxts/react\";\n\nexport function HelloWorld() {\n\treturn <textbutton Text={\"Hello, World\"} Size={UDim2.fromOffset(100, 100)} />;\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/new-york/hello-world/hello-world.css",
      "content": ".hello {\n    font-size: large;\n    display: block;\n    size: 12cap;\n}",
      "type": "registry:style"
    }
  ]
}

I am confused on why I am failing to be able to decode this into json using serde

#
async fn resolve_registry_item(component: &String) -> Result<RegistryItem, RegistryError> {
    // fetch the registry for the given component
    // TODO: We need to handle the errors better to be able to better report to the user, as right now it will just be a generic error from reqwest.
    let result = reqwest::get(format!("http://localhost:3000/r/{component}.json"))
        .await?
        .json::<RegistryItem>()
        .await?;

    Ok(result)
}
#
#[derive(Debug, Serialize, Deserialize)]
pub struct RegistryItem {
    #[serde(rename = "$schema")]
    pub schema: String,
    pub name: String,
    #[serde(rename = "type")]
    pub item_type: RegistryType,
    pub description: String,
    pub title: String,
    pub author: Option<String>,
    pub dependencies: Option<Vec<String>>,
    pub dev_dependencies: Option<Vec<String>>,
    pub registry_dependencies: Option<Vec<String>>,
    pub files: Vec<RegistryItemFile>,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct RegistryItemFile {
    pub path: String,
    pub content: String,
    #[serde(rename = "type")]
    pub item_type: RegistryType,
    pub target: String,
    pub extends: String,
}

#[derive(Debug, Serialize, Deserialize)]
pub enum RegistryType {
    Block,
    Component,
    UI,
    Style,
}
#

I have a feeling it's the enum tbh

#

RegistryType

#

since serde doesn't know exactly how to parse that

neon leaf
#
#[derive(Debug, Serialize, Deserialize)]
pub enum RegistryType {
    #[serde(rename = "registry:block")]
    Block,
    #[serde(rename = "registry:component")]
    Component,
    #[serde(rename = "registry:ui")]
    UI,
    #[serde(rename = "registry:style")]
    Style,
}
sharp geyser
#

yeah i've tried the rename thing

#

still fails to decode the body

#
[2025-09-03T12:01:58Z ERROR lumina] error decoding response body

this is all I get back too

#

no deciding factor on where it failed

neon leaf
#

how are you loggin the error

sharp geyser
#

I use thiserror to pipe the error out

neon leaf
#

show code

sharp geyser
#
#[derive(Debug, Error)]
pub enum RegistryError {
    #[error(transparent)]
    HttpError(#[from] reqwest::Error),
}

async fn resolve_registry_item(component: &String) -> Result<RegistryItem, RegistryError> {
    // fetch the registry for the given component
    // TODO: We need to handle the errors better to be able to better report to the user, as right now it will just be a generic error from reqwest.
    let result = reqwest::get(format!("http://localhost:3000/r/{component}.json"))
        .await?
        .json::<RegistryItem>()
        .await?;

    Ok(result)
}
neon leaf
#

yes yes but where is it logged

sharp geyser
#
async fn run() -> Result<(), MainError> {
    let logger =
        env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).build();
    let level = logger.filter();
    let cli = Cli::parse();

    let mp = MultiProgress::new();

    LogWrapper::new(mp.clone(), logger).try_init()?;
    log::set_max_level(level);

    match &cli.command {
        Commands::Init {
            yes,
            force,
            cwd,
            skip_preflight,
        } => {
            init_command(
                &mp,
                InitSchema {
                    yes: *yes,
                    force: *force,
                    cwd: cwd.clone(),
                    skip_preflight: *skip_preflight,
                },
            )?;
        }
        Commands::Add { cwd, components } => {
            add_command(AddSchema {
                cwd: cwd.clone(),
                components: components.clone(),
            })
            .await?
        }
    }

    Ok(())
}

#[tokio::main(flavor = "current_thread")]
async fn main() {
    if let Err(e) = run().await {
        error!("{}", e);
        std::process::exit(1);
    }
}
#

It's pipped all the way to main

neon leaf
#

try

    error!("{:#?}", e);
#

actually nvm reqwest does this junk

#

wont help with the msg

sharp geyser
#

actually no

#

its no longer pretty

#

[2025-09-03T12:16:33Z ERROR lumina] AddError(
RegistryError(
HttpError(
reqwest::Error {
kind: Decode,
source: Error("missing field target", line: 12, column: 5),
},
),
),
)

#

but it does tell me what's wrong lmao

neon leaf
#

okay good

#

ye ur json files dont have a target

#

so theres ur issue

sharp geyser
#

Yeah

#

I forgot it's optional

#

:p

#

There we go

#

it's still annoying how that error is so minimal

sharp geyser
neon leaf
#

sometimes its not about looks

sharp geyser
#

Fair enough

#

I suppose it's fine

sharp geyser
#

Any idea what this error means 💀

[2025-09-03T13:12:23Z ERROR lumina] InitError(
        PreflightError(
            ComponentsJsonExists(
                "components.json",
                ".",
                "components.json",
                "init",
            ),
        ),
    )
pearl trail
sharp geyser
#

it is

pearl trail
#

😱

sharp geyser
#

and im absolutely hating it rn

#

💀

pearl trail
#

an orderly crashout

sharp geyser
#

Well the issue is how main displays the error

neon leaf
#

ye thats what u get for spamming "?"

sharp geyser
#

since it uses :#? it no longer displays what #[error] says

#

Ima chalk this up to : leave this for me in the future

#

💀

#

cli tool works

#

That's all that matters

sharp geyser
neon leaf
#

cuz noone thought of actually storing the source of the error yet it seems

#

not even anyhow has it

sharp geyser
#

Yeah

#

Again, the errors display fine for the most part

#

I will polish it up later

lofty kraken
clever tundra
#

They just enter the token into the mee6 dashboard

#

Enter botghost etc situation here, but discord wouldn't do that to mee6 because mee6 is very popular and discord likes mee6

deft wolf
#

Exactly, the user creates the bot and they simply host it as a "custom bot"

#

You can edit everything about the bot (because it's in your dev portal) but you can't edit the code

lyric mountain
#

mee6 probably brought more money to discord than discord ever did

lofty kraken
deft wolf
#

I can honestly say that I have never used mee6 before (and never will)

clever tundra
#

Never used it either, before I discovered sapphire I always used Dyno

sharp geyser
#

I've used mee6

#

just so I could block it

#

Have had mee6 blocked on every single account i've ever owned

deft wolf
#

I have always used UnbelievaBoat for mod stuff and logging deleted/edited messages

tired zealot
#

NVM I’m just blind

pearl trail
neon leaf
#

use this in prod

#

trust

acoustic fern
sharp geyser
#

but it actually uses some sort of ai

#

💀

broken kraken
#

If anyone needs help on any of their automation projects, contact me DoggThumbsUp
I would be happy to help on some free time I have this week.

sharp geyser
#

No thanks

prime cliff
#

Sus asf

eternal osprey
#

hey evryone, anything i can do to make these cards better? Especially that free plan, it doesn't have the same height as it has less features.

#

also i am using reactjs it's so fun

unreal mist
eternal osprey
#

hmm i see, i tried it, just need to set the seperator in the right position.

#

it looks better for sure now.

unreal mist
#

It’ll keep it looking flush once the name, description and separator are slightly adjusted 🙂

lyric mountain
#

for free plan it works well cuz the eyebrows are farther from the eye, so it's a neutral stare

#

but on the other two they're just plain sad

#

can also give different shadow colors for premiums, something slightly closer to pink so it stands out more

deft wolf
#

Yea, no

#

This is not going to happen

pearl trail
eternal osprey
#

thank you! Noah, Kuu!

eternal osprey
deft wolf
#

This was a response to Ahmed's message saying "I have an idea, you will make a map in Roblox for me, I won't pay you but I will give you 60% of the earnings from the game"

eternal osprey
#

oh hahaha

wheat mesa
queen needle
#

Once you go Svelte you never go back to react

pearl trail
#

once you go vanilla, you never go back to react

spark flint
#

once you manually write packets, you never go back to react

crystal wigeon
#

once you go solid you never go back to react

sharp geyser
#

once you go ejs, you never say yes

prime cliff
#

once you go asp.net, you never go back to js

silver sable
unreal mist
unreal mist
lofty kraken
pearl trail
#

rate the font

queen needle
#

100/10

pearl trail
#

pray accept my profound gratitude 🙏

sharp geyser
#
impl Config {
    pub fn get_config() -> Result<Config, ConfigError> {
        let current_directory = current_dir().map_err(|_| ConfigError::NoCurrentDir)?;
        let config_path = current_directory.join("components.json");
        let mut config = serde_json::from_reader::<_, Config>(BufReader::new(
            File::open(config_path).map_err(|_| {
                ConfigError::NoComponentsJson(current_directory.to_string_lossy().to_string())
            })?,
        ))?;

        config.resolved_paths = resolve_config_paths(&config)?;

        Ok(config)
    }
}

I have this impl method that returns a Config

#[derive(Serialize, Deserialize, Debug, Default)]
pub struct Config {
    pub theme: Themes,
    pub aliases: Aliases,
    #[serde(skip_serializing)]
    pub resolved_paths: ResolvedPaths,
}

The problem is resolved_paths will never exist in the file, it's internal only as you can see in the get_config method

#

So I get a deserialize error since resolved_paths is missing from the json

#

Should I make a custom deserializer that calls resolve_config_paths?

tawny lava
#

u could manually implement serialize

#

actually i think u can just #[serde(skip)]

sharp geyser
#

Yeah I just used skip ahaha

#

I realized I am manually setting it after using from_reader so there's no need to even serialize or deserialize

#

Well ima go sleep now

stark kestrel
#

@radiant kraken ya need some help for the API v1 for some SDKs?

stark kestrel
radiant kraken
#

literally anything

#

i'd be happy

pearl trail
#

is there like a docs for v1?

stark kestrel
radiant kraken
#

you are free to work on your forks or from mine

stark kestrel
#

will be a bit of a pain as i don't have any bots to test on to be fair

pearl trail
stark kestrel
#

@keen drift

unreal mist
#

what do we think about gradient console logs :D

neon leaf
#

epilepsy

unreal mist
#

i can make 2 colours or more 🤣

clever tundra
unreal mist
#

ive colour coded the rest too, yellow is warns, red for errors or when commands arent loading due to missing names etc, blue for when they do load, green for the other successes

ivory hawk
#

You did that in VSC?

unreal mist
#

2.0 is just the production version, however the gradients can be any colour i decide

#

thats in vsc yeah, a friend of mine published an npm package awhile ago that allowed me to gradientify that

ivory hawk
#

Thats actually cool

clever tundra
#

fr

ivory hawk
#

Is there an extension in VSC for it?

unreal mist
#

not entirely sure, will ask though

ivory hawk
#

If there is id be interested in using it lol

unreal mist
#

hell look into making one soon for it (:

sharp geyser
#

I understand wanting to colorfy the console, it's cool for pointing out important logs, but gradients are wildly unneeded

deft wolf
#

Fancy? Yes. Useful? Not really

lyric mountain
#

making gradients in console is fairly easy, u just need to decide a maximum char length and then interpolate the colorcode

#

only issue is that depending on what terminal the code will run it might not support every color

sharp geyser
#

No

#

Stop promoting your crap proxy plans or whatever

ivory hawk
#

Didn't even bother to read the rules?

shell tundra
#

don't advertise please

unreal mist
#

having it entirely white felt bland, and i love messing with gradients in general so when i found out i could, i decided to but only those two lines are actually gradient, the rest are just solid colours

#

I'm wanting to make a dashboard for Toastoku, eventually it will be hosted and ready to use but what colour do you reckon it should be? my main site is grey/green with a touch of yellow

clever tundra
#

@rich condor

#

discord does it for you

#

you do not do anything

#

i do not know if you can or how to make discord do it

rich condor
swift barn
rich condor
swift barn
rich condor
swift barn
rich condor
#

i used botghost to make my bot

#

is there away about doing that

swift barn
rich condor
#

when i just ran a command in my server it don't give me option to copy id

swift barn
rich condor
#

ok thanks

swift barn
unreal mist
#

Obviously you don’t need to put the text “commands” or you can change it. Just make sure the actual command part below is correct and it’ll work

unreal mist
swift barn
unreal mist
#

Works fine for me on mobile

#

It’s not as clean as desktop though, as I stated

swift barn
#

fairss

mortal karma
#

Hey! I recently heard somewhere that bot owners can get paid for reaching a certain number of votes per month or something. Can anyone tell me more about that?

deft wolf
#

Not a thing anymore

#

Also it wasn't payment, it was just money in the form of credits to use on top.gg auctions to advertise your bot. They removed it to provide a better auction experience or something like that. I don't remember the exact announcement

mortal karma
#

Aaah okay thanks!

swift barn
#

ANyone started using the api to post bot commands?
having an error 401

swift barn
edgy stream
#

yes 😂

deft wolf
#

@swift barn @edgy stream

swift barn
stoic sparrow
#

If I was going to write a bot that runs code in an embedded language (e.g. Lua), and binds that language to API calls... which bot library would be the most compatible with that sort of effort? My initial idea is to use Discord.py but if there's another one that presents more accessible abstractions or does binding more effectively, I'd be open to that.

As an overly simplified example, if the bot could only take commands in a single context... I, a Discord user, am going to message the bot some Lua code, and that code might look like this.channel.send('Hello!'). The bot will be running a Lua interpreter that has bound to the bot's framework such that this will be accessible as a lua table that accesses the argument to the on_message event in the framework, with a key channel to another table, and that table will contain a key send which is a function... and that function will be bound back to the send function in the API framework.

wheat mesa
stoic sparrow
#

I intend to start all the way at the bottom of the slope, exposing the entire API.

#

The simple message response example above was just to convey the concept of binding which seemed alien to some other folks.

wheat mesa
#

If you’re going to write something like that, the library you use is not going to be your limiting factor

#

Your limiting factor is going to be securing this from malicious users

stoic sparrow
#

I expect to send the bot messages like register_event('on_message',function(message) message.channel.send('What?') end), and this results in that lua function getting run for each received message.

wheat mesa
#

I don’t know how the bindings work to lua for FFI/IPC specifically, but this sounds like you’re reinventing the wheel

#

If someone wants to develop a bot, they probably don’t want to do that within another bot

stoic sparrow
#

Discord.py uses python decorators for things like event registration, which can be skipped and called directly, but that sort of detail is what might make another framework more suitable

wheat mesa
#

Perhaps I don’t understand what you’re asking. Why does your library matter? Lua is not going to know anything about the framework you’re using, it’s going to be like a sandbox. I’m assuming that Lua just has some FFI that allows you to call python functions at runtime

#

Why not just have python eval some python? Why introduce a different language? I’m sure that Lua has a framework for writing discord bots, that way you could have Lua eval Lua

stoic sparrow
#

just using FFI to call functions is just the tip of the iceberg. Two-way access to data is a big part of it. Being able to access python objects as lua tables, etc.

wheat mesa
#

This seems like a pain in the ass for functionality that could be written much less complexly all in one language

stoic sparrow
#

Sandboxing it while evaluating the host language seems like a much bigger problem

wheat mesa
#

At this point, might as well have a discord.py bot that sends messages to your Lua webserver for evaluation. Sharing memory and data between languages/programs is not easy, especially when they’re both interpreted

stoic sparrow
#

if I'm evaluating the host language, I need to confidently enumerate everything it should NOT be able to do, and safeguard against all of them.
if I'm running an embedded language, I can be confident that it can only do the things I've explicitly implemented, so everything else is forbidden by default

#

ffilupa does the sharing pretty seamlessly

stoic sparrow
#

if print is the only function I bind between python and the lua environment, then I can rest assured the lua code won't, e.g., delete any files

#

(obviously very simplified example)

#

but if I eval some python code directly, I need to stop it from accessing open or various functions in os or ...

wheat mesa
#

but... if you have to bind every function manually.. why not just do it python side

#

you're adding a layer of complexity for something that doesn't need to be

stoic sparrow
#

because it's safer to whitelist things than to blacklist things

wheat mesa
#

you can't fully sandbox a code environment perfectly. That's why places usually use docker containers, so if you blow them up, nobody cares

stoic sparrow
#

and it won't all be manual. I'd bind every method on, e.g., discord.Client

wheat mesa
#

I don't think this is going to go the way you think

queen needle
stoic sparrow
#

This quest started when I discovered that none of the well known bots, and possibly no bots at all, can do something like change permissions on newly created channels. That's just a few lines of code, which I'd love to throw into a command sent to a bot, but I don't want to re-deploy a bot every time I have a little need like that.

wheat mesa
#

so you'd rather have the code sitting in-memory ready to be completely wiped whenever your bot restarts lol

stoic sparrow
#

no?

#

the bot can store the lua routines to disk/db

wheat mesa
#

aaaaaand another layer of complexity

#

you're shooting yourself in the foot to avoid CI/CD

#

If you really care about deployments being tedious, make a CI/CD pipeline

#

This is just way too much work for something with so little need and so much risk

stoic sparrow
#

Consider Dyno's custom commands. They already do the tiniest bit of this. Dyno users can write "code" in their custom language, and Dyno will interpret it and perform the appropriate API calls, and store the code in the db for later access/edit/run.

#

I don't care about deployments being tedious. I care about deployments being necessary at all.

wheat mesa
#

Yes, because their language is a custom language with their own interpreter

#

It is not a fully fledged programming language with the ability to do the same things as other languages, e.g. lua

stoic sparrow
#

Why is that relevant? Suppose I write my own lua interpreter from scratch. How does that change anything?

wheat mesa
wheat mesa
stoic sparrow
#

how involved writing a lua interpreter is? I did it in college. It took about a week. Lua's language specification is one of the easiest to implement, by design. That was one of the goals of its creation.

#

but I don't need to do that, because they already exist

#

I didn't really come here to argue about this, but I'm happy to if you want. I was just hoping for some insight into the capabilities of the different API frameworks/libraries.

wheat mesa
#

I just don't see what the point is. You can choose any framework you want, it's not going to be the hard part

stoic sparrow
#

some will make it harder than others. possibly much harder.

#

afk

queen needle
#

As far as I've read you're just talking about making a discord bot with advanced custom commands, like Dyno, notsobot, or pylon that interacts with discord api, the first 2 use a custom language they parse and have safe guards due to that, the other one, pylon, used a custom sandbox of JavaScript

#

But also like a bot builder(RIP bot ghost), where you can just add events or commands etc would work for your use case, but instead of a custom bot token it's just per server

swift barn
#

@edgy stream smile working now

edgy stream
#

yay

edgy stream
edgy stream
deft wolf
deft wolf
#

It should be @me instead of the ID

swift barn
#

thats the base url

edgy stream
#

I tried that too, but then I get “401 Unauthorized” again. 😂

swift barn
edgy stream
#

with the new token

#

hmmm

deft wolf
edgy stream
#

let me check

swift barn
#

returns status 204 for success

edgy stream
deft wolf
#

-# Thank Veld weirdsip

humble gyro
#

trolldespair app router test

#

DEAD

unreal mist
#

anything i should add to the cards?

humble gyro
#

App router is cooked man

#

Ts is never happening

unreal mist
#

what are you trying to do?

swift barn
unreal mist
swift barn
unreal mist
#

commands is the only thing ive added so far so i wouldnt know kekw

strong shoal
strong shoal
strong shoal
#

guess i should've read before 😔

strong shoal
queen needle
clever tundra
strong shoal
#

Does anynody knows how can i NOT show the guild count of my bot after i post data? Do i need to send 0 servers or something?

unreal mist
wheat mesa
unreal mist
prime cliff
#

This gives me nightmares, so much inconsistency

pearl trail
#

consistency 😎

quartz kindle
#

const istency = false

sharp geyser
#

Why the fuck is git commit not finishing

#

it just freezes

#

what is it doing

#

It's been stuck on this for 30m

#

Bro can you piss the fuck off

#

@solemn latch

#

Support scam

#

No thanks

pearl trail
sharp geyser
#

Yeah I’ve already checked that

#

I’m not sure if it’s the issue

#

I’ve killed the client and then restarted it

#

Still hangs indefinitely

pearl trail
#

hmm

neon leaf
sharp geyser
#

apparently killing the gpg client isn't enough

#

You have to delete any troublesome lock files as well

pearl trail
#

oh, i think i've encountered that before

shy fox
wind violet
#

my bot keeps going offline sometimes (2-5 days of not updating the script)

#

What could be possible issues

swift barn
deft wolf
#

Memory leaks are ruthless. It happened to me a few times early in my dc bot development journey while using the free Heroku tier, which was limited to 512MB of RAM. Worst experience in terms of development

lament rock
#

discord.js was the memory leak for my bot

pearl trail
#

Lmao, my bot used to run at 800-1.5gb on free heroku and its fine

noble arch
#

I’m having my bots run on render free

#

It’s like .1 cpu and 512 mb ram

#

By any chance does someone know how I can easily find all the permissions my bot needs? I’ve been testing it using administrator but yeah I’m not too sure as to which ones I need now

deft wolf
#

It depends on what your bot is doing. Permissions are pretty clearly explained in the role settings. Then you just need some check to see if your bot actually has the required permission when using the command

lofty kraken
swift barn
swift barn
tired zealot
unreal mist
unreal mist
shy fox
tired zealot
unreal mist
#

Isn’t that just how many it’s been in total tho?

shy fox
#

hm try reading the new blogs

tired zealot
#

I will thanks!

unreal mist
shy fox
unreal mist
#

they pop up slightly if you hover over them

shy fox
unreal mist
#

its obvious theyre commands since theyre in the commands section? im confused

shy fox
#

when you move your coruser it will open the info menu type

unreal mist
#

ill leave it as it is

#

bc im confused

unreal mist
queen needle
#

twemoji >

tired zealot
#

Is it possible to do a component v2 with python?

deft wolf
#

Yea

unreal mist
clever tundra
#

nice music selection

unreal mist
#

ty

noble arch
stark kestrel
#

A static website is also served by a server

unreal mist
noble arch
#

I meant like is there backend, sorry I am terrible in terms of websites

unreal mist
#

For like player data?

#

Not right now there isn’t

noble arch
#

Just in general, cause I made a website and have it as a static, because I have no idea how to properly implement a backend

swift barn
noble arch
#

This is my website thing, not the best but oh well

swift barn
noble arch
#

Tweaked the header a bit

noble arch
#

Im not looking forward to it*

#

Dang what happened

#

This is the before header btw

swift barn
#

You’ll make it work tho
Just figure out what language you wanna use for backend
I usually go with fastAPi for Python

unreal mist
swift barn
#

Cos mine is built with react js and tailwind

noble arch
swift barn
noble arch
#

And then I send them the stripe link, or my other payment methods

swift barn
#

Use webhook to get confirmed purchases collect user id as metadata payload

#

So you know who paid

noble arch
#

And then to get their userid i need to use OAuth2

#

and im procrastinating on figuring that out

swift barn
#

I mean the auth flow might be meh but if it works it works

noble arch
#

So the bot knows who actually bought the item

swift barn
noble arch
#

I mean the website itself doesnt have accounts

swift barn
swift barn
noble arch
#

Its actually just a product list

swift barn
noble arch
swift barn
noble arch
#

You know I used OAuth and stuff for a test site

#

and then when I tried to move it to production

#

It broke

#

Since then I considered it cursed

swift barn
noble arch
#

You know what

#

Ill try

clever tundra
#

my dashboard backend uses fastapi, ezcord and discord.ext.ipc

#

its weirdly easy, but dashboard is very basic in comparison to others

swift barn
clever tundra
#

making the dashboard work

#

the endpoints

swift barn
clever tundra
#

i dont even know i just used a tutorial

swift barn
clever tundra
#

i just used the tutorial code and then modified it as needed

swift barn
#

Ahh ok ok

clever tundra
#

Don't you love it when 26 of your to do list points are locked behind you finishing a core upcoming element of your bot but you have no motivation to code and no idea how to do what you want and AI sucks?

swift barn
clever tundra
#

Bro 😭

#

You look at this code and you will have a stroke

#

Istg not even I know what each thing does now

swift barn
wheat mesa
#

This will teach you a lesson

clever tundra
#

I planned to label and split everything at the end... It's nearly done, at least one command of it is, and I need to add smth to it. I go to try and do that, and I have no fucking clue what I am doing

#

Like the code is a mess, I don't even know what stuff does or the order of it anymore 😭

#

I have like 3 different bits for one thing and not even sure whats not being used

#

I should restart but that would take another 3 months to get to where I am

#

I can't give up but I last made actual progress on it like 1.5 months ago

prime cliff
unreal mist
hybrid glen
#

hi'

unreal mist
# shy fox it's nicee

I feel like the top section with the sudoku grid feels empty, maybe I could a description to the side that changes when you change the theme?

pearl trail
#

gonna make my money worth

unreal mist
#

How’s only 73.1Mb is available if you have 134Mb free?

#

Where’s the rest gone

quartz kindle
#

inflation

pearl trail
#

KEK i dont know too what these means

unreal mist
swift barn
noble arch
#

I am cooking

noble arch
wheat mesa
#

include the user’s password in plaintext in the response

noble arch
#

Definitely

swift barn
noble arch
#

i think im gonna move it to production

swift barn
noble arch
#

Yeah nevermind

stark kestrel
#

Apparently the maintainer ~qix has been compromised affecting billions of installations on @npmjs

Here are the top 20 packages that qix contributed to with the number of installations per months:

1.6B --> ansi-styles
1.5B --> debug
1.3B --> chalk
1.2B --> supports-color
1.1B

#

fyi

noble arch
#

Locally hosted index.html, and the same html page opened on github, anyone know why its not the same?

vivid fulcrum
deft wolf
#

Krypton on duty 🐐

vivid fulcrum
#

might even be your cache, try clearing it

unreal mist
noble arch
unreal mist
#

Its probably their internal css

#

You can still view and mess with it in inspect element to figure out what is actually causing it tho

vivid fulcrum
#

there's no internal css iirc, it's just a statically hosted website

#

clear your cache, if that doesn't work it's probably got something to do with your packer if you're using one. either way, compare the styling in inspect element

#

how are you achieving login with github pages though?

noble arch
#

I somehow got it to work, by copying the css from my vsc, to the inspecter thing, however that raises the question, why didnt it get pushed with it?

noble arch
vivid fulcrum
#

ah cool

unreal mist
unreal mist
#

Idk just listing possibilities 😂

noble arch
#

Why did I ever consider learning how to code

unreal mist
#

Because coding is fun

noble arch
noble arch
unreal mist
noble arch
#

I remember when I was learning scratch

#

that was cool

#

Then I did roblox

lyric mountain
#

the testing url does not resolve

noble arch
#

And now I am doing this

unreal mist
#

Scratch is no fun );

vivid fulcrum
lyric mountain
#

anyway try appending ?v=1 to the end of the url

noble arch
#

And I somehow regret ever googling 'python tutorial'

lyric mountain
#

querystring usually forces a clean copy

neon leaf
#

or ctrl + shift + r

vivid fulcrum
#

i.e. if your file is statically named styling.css in both versions, your browser is going to use the old version. this is usually mitigated by doing what @lyric mountain said or using a packer that hashes the file names, converting styling.css into a new hash every single time

#

the joys of web dev

noble arch
#

I love you all so much

unreal mist
#

This is why my current hosted website I use the ip to test changes and then it’ll update on the domain later

lyric mountain
#

that's why I do raw html

#

easier to debug when u wrote the whole page code

neon leaf
#

do you atleast use htmlx or something

#

or pure pure

noble arch
#

I just open up a blank .html page and let my imagination do the rest

lyric mountain
neon leaf
lyric mountain
#

suffered too much dealing with react, bootstrap, flask, jsp and flutter

neon leaf
#

they do make working in a team easier imo

noble arch
#

I think I am going to move it to production now

#

I also think its time to schedule an appt with a licensed therapist

#

now to update all the headers

unreal mist
noble arch
unreal mist
#

Fair enough

quartz kindle
noble arch
#

took me long enough

quartz kindle
#

raw html/css/js?

#

i like it

quartz kindle
#

by using this website you hereby agree that all your bases are now belong to us irrevocably until the end of time

vivid fulcrum
stark kestrel
#

Yep, I've been pwned. 2FA reset email, looked very legitimate.

Only NPM affected. I've sent an email off to @npmjs.bsky.social to see if I can get access again.

Sorry everyone, I should have paid more attention. Not like me; have had a stressful week. Will work to get this cleaned up.

-# (@charlieeriksen.bsky.social)
@bad-at-computer.bsky.social Hey. Your npm account seems to have been compromised. 1 hour ago it started posting packages with backdoors to all your popular packages.

#

Contributor to lots of huge NPM projects e.g. chalk, debug, etc.

#

Lots have updates with the crypto stealer removed, but the account is still compromised so no guarantees a new malicious update won't be pushed.

frosty gale
#

npm has already pulled the package versions so chances are account is locked by now (i hope)

stark kestrel
#

Got a response from NPM after 2 hours yeah

stark kestrel
prime cliff
#

After the 100th time of npm accounts getting hacked or malicious uploads from unknown IPs you would have thought they add better security or restrictions 🙃

#

Also how do they fall for a fake reset email from a non-npm email and don't go to the original npm website to check

frosty gale
quartz kindle
#

dayum

#

maintainers got phished by an email from npmjs.help

stark kestrel
quartz kindle
stark kestrel
deft wolf
#

XD

quartz kindle
#

moneyday

frosty gale
deft wolf
#

I always wonder how much they can earn from such a scam, because it must be a lot of money if these scams are still happening

frosty gale
#

many of them are from third world countries and sort of "get lucky" by getting one or two useful accounts

#

they could do far worse with that power but i think they dont know what theyre doing which is good for us

#

cant imagine theyll get much money with some random crypto miners unless they manage to hit one or two people with good rigs that just dont notice it

stark kestrel
#

vx underground giga based as always

prime cliff
#

please share also no details for you or any source
Security advocate my ass

noble arch
#

always the same

tired zealot
#

Guys why does the stats update to 16 when it’s in 18 guilds

deft wolf
#

The statistics (number of servers) on the top.gg page display the information you sent via the API. I'd suspect the problem is in your code

tired zealot
#

Oh. Okay thanks

#

YALL should make it automatic 😝 (jk, well it would be cool)

deft wolf
#

It's not possible afaik

#

Or at least top.gg doesn't want to choose this path (I think there was a conversation about this once)

frosty gale
#

is-arrayish(???)

#

i hate it when my type isnt arrayish

neon leaf
#

to anyone who loves using docker for everything: do not update to debian 13 (yet?)

noble arch
#

Stripe makes me HATE humanity

frosty gale
#

whats the issue? im guessing some kind of kernel setting update

neon leaf
#

basically every container utilizing unix sockets or slightly more advanced network syscalls is broken

#

u need to make it privileged

#

this is so annoying

#

and i cant switch to podman yet

frosty gale
#

rip

#

podman is a lot more annoying to setup than docker but worth it

stoic sparrow
noble arch
#

Hi guys, just a question, can a normal discord bot use SKU’s, if so how do I manage to redeem the consumable ones cause I’ve been trying for a while but nothing worked. If it helps I use python

#

Thanks anyways!

queen needle
stoic sparrow
#

As in, I could reimplement Pylon from scratch instead of the thing I'm trying to do?

sharp saddle
#

Is there any framework that is an alternative to Next.js?

queen needle
wheat mesa
#

(Continued from #general) for example I have these bootstrapped classes temporarily ```rs
let object_class = Rc::new(Class {
name: String::from("java/lang/Object"),
super_name: None,
fields: HashMap::new(),
methods: HashMap::from([
(String::from("<init>:()V"), Rc::new(Method::empty(
"<init>", "()V"
)))
]),
constant_pool: VMConstantPool::empty(),
access_flags: ClassAccessFlags::Public,
initialized: Cell::new(true),
static_fields: RefCell::new(HashMap::new())
});

    let string_class = Rc::new(Class {
        name: String::from("java/lang/String"),
        super_name: Some(String::from("java/lang/Object")),
        fields: HashMap::from([
            (String::from("value:[C"), Rc::new(Field::new(
                "value:[C",
                "[C",
                FieldAccessFlags::Final | FieldAccessFlags::Private
            )))
        ]),
        methods: HashMap::new(),
        constant_pool: VMConstantPool::empty(),
        access_flags: ClassAccessFlags::Public,
        initialized: Cell::new(true),
        static_fields: RefCell::new(HashMap::new())
    });

    let class_class = Rc::new(Class {
        name: String::from("java/lang/Class"),
        super_name: Some(String::from("java/lang/Object")),
        fields: HashMap::new(),
        methods: HashMap::new(),
        constant_pool: VMConstantPool::empty(),
        access_flags: ClassAccessFlags::Public,
        initialized: Cell::new(true),
        static_fields: RefCell::new(HashMap::new())
    });
#

And in no way is this the actual implementation, since obv string and class have many more methods, but it has to do for now

#

Also, arrays being objects but special is somewhat annoying. I have to have the overhead of maintaining a class for them, and treating them as objects, even though they have their own opcodes for manipulating them. There really isn’t any reason as to why they are represented as objects, other than the fact that they are pass-by-reference semantics

queen needle
#

Are you doing this to learn? or do you have a specific reason?

wheat mesa
#

Just to learn

#

And for fun

queen needle
#

It's very interesting seeing the progress you've talked about in general

#

even though i don't understand like anything at all

wheat mesa
#

I started about 5 days ago, it’s been a great experience so far

queen needle
#

5 days?!

#

Jesus i thought you've doing this for a while, you've made amazing progress holy

wheat mesa
#

I mean technically I started the repo 2 years ago, but all I really had was some basic file reading that I had to overhaul after I picked it back up anyways

queen needle
#

Why are you so goated 😭

wheat mesa
#

Just passionate for this 🙂 passion = motivation

#

Whenever I starting doing projects for my own self fulfillment instead of things to put on my resume, I found that I regained a lot of passion that I had lost previously

stoic sparrow
wheat mesa
#

For what it’s worth, the JVM execution model is pretty standard for most VMs, it’s just got some quirks and backwards compatibility things. I haven’t dared to enter the realm of multithreading stuff yet, though

queen needle
queen needle
scenic kelp
#

it's such a cool concept to me to bootstrap the internals

wheat mesa
scenic kelp
#

language development summed up in a sentence

wind violet
#

guys how do I verify my bot without an ID verification

deft wolf
#

This is one of the most important points when it comes to verification

#

Theoretically, you could ask a parent to do it for you

stark kestrel
pearl trail
#

if they give their mom's id, then their mom operates the bot evil

tired zealot
#

can someone check a code from ai that didnt work? or at least not exact
-# > i used ai just to make this code bc i was too bored to write my own, and i cant find the problem tbh

deft wolf
#

Ask AI to fix it

tired zealot
#

imma fix it myself

tired zealot
#

i messed up again 😭

radiant kraken
#

@pearl trail is this valid 😭

#

i'm a ts newbie

tired zealot
swift barn
tired zealot
pearl trail
swift barn