#πŸ‘Ύ-core-development

1 messages Β· Page 20 of 1

limber skiff
#

wdym

#

it's for other people

#

they won't ever receive the previews for you screenshare

placid wave
#

its stupit

crude hearth
#

oh

#

it might be useful tbh

placid wave
#

you will make plugin that makes it send 9000000000000p preview soon

#

store data in stream preview

crude hearth
#

@placid wave we will make a plugin to send messages throught stream previews

placid wave
#

yop

#

do this

crude hearth
#

soon

charred monolithBOT
charred monolithBOT
unborn garnet
#

Ven hates PRs

umbral hedge
#

yop

#

vencord is anti-pr

#

we only accept patches through our mailing list

unborn garnet
#

Husk

#

You will merge

charred monolithBOT
somber ginkgo
somber ginkgo
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 404 () ```
solemn spoke
#

whats up with that "Failed to load resource"

brave geyser
#

RPC I think

austere talon
#

429 = rate limit, aka loaded chunks too fast lol

#

i should add some delay to chunk loading

spark cove
#

@austere talon does it force load all webpack chunks

austere talon
#

yea

spark cove
#

Real

austere talon
#

I could just add a delay

#

but it wasn't a problem until now so

spark cove
#

Do u think that's a cloudflare 429

austere talon
grave mangoBOT
# austere talon https://github.com/Vendicated/Vencord/blob/main/test/generateReport.ts#L245-L260

**generateReport.ts: **Lines 245-260

const ids = Function("return" + wreq.u.toString().match(/\{.+\}/s)![0])();
for (const id in ids) {
    const isWasm = await fetch(wreq.p + wreq.u(id))
        .then(r => r.text())
        .then(t => t.includes(".module.wasm"));

    if (!isWasm)
        await wreq.e(id as any);
}
console.error("[PUP_DEBUG]", "Finished loading chunks!");

for (const patch of Vencord.Plugins.patches) {
    if (!patch.all) {
        new Vencord.Util.Logger("WebpackInterceptor").warn(`Patch by ${patch.plugin} found no module (Module id is -): ${patch.find}`);
    }
}
spark cove
#

Yup

austere talon
#

the eval on line 1 is kinda ugly but it's the easiest way xd

#

cause its a js object, not proper json

#

it's like a function that has a massive object with all the chunk ids

spark cove
#

Couldn't u patch the webpack chunk

#

To make that global

austere talon
#

its like

function getAssetUrl(chunkId) {
   return {
        1: "aahsisjsksk"
    }[chunkId]
}```
#

so I just regex match that object xD

spark cove
#

Ye I remember the webpack chunk it's kinda epic

spark cove
#

Best part about webpack chunk it is will probably never change variable signatures lolol

austere talon
#

yeah all the minified names are consistent

#

it's awesome

spark cove
#

Amaze

austere talon
#

although that script is a little dirty cause it pollutes the function prototype xd

charred monolithBOT
spark cove
charred monolithBOT
verbal pumice
#

skill issue

rare shale
quaint sapphire
#

No reason to delete it

austere talon
#

bro chill

#

this is just for fun

#

if someone doesn't want to continue a pr for some reason that's fine

charred monolithBOT
austere talon
#

i hate

charred monolithBOT
austere talon
#

OH MY GOD IT WORKED @somber ginkgo

#

this is such a nightmare lmao

#

minified code horror

somber ginkgo
#

what did you change lol

austere talon
#

uh

somber ginkgo
#

oh ic

umbral hedge
#

explod github ci

austere talon
#

should we also supply non minified builds?

#

in case someone doesn't trust the minified builds

umbral hedge
#

I mean they can view the workflow

#

and see that it literally pushes to the repo

austere talon
#

or just build themselves yeah

somber ginkgo
#

perhaps a .min.js and .js

umbral hedge
#

yea

austere talon
#

and break the updater

umbral hedge
#

if people don't trust it & are smart enough to read the bundled code, they're smart enough to compile themselves

somber ginkgo
#

i mean, this is a new repo

#

set build to make a nonminified and call it .full.js, then rename when pushing to builds repo

austere talon
#

nah

#

builds should be consistent

#

i just realised it bundles the devs object into patcher xd

#

i should probably fix that

somber ginkgo
#

right time to see if it will actually update

austere talon
#

probably because esbuild doesnt realise Object.freeze is pure

somber ginkgo
#

would you mind merging that pull so i can see if the etags actually update and this wasn't a complete waste

austere talon
#

question

somber ginkgo
#

answer

austere talon
#

do userscripts support sourcemaps

somber ginkgo
#

also hold W/"9273a5c6b6a987c8c252b95a9a0a93c3587145e3ec21649432c5a9c734f0ef17"

austere talon
#

that arent inline

#

you are extremly evil for not giving me push access to ur pr

somber ginkgo
#

bit of trolling

austere talon
#

click button NOW

somber ginkgo
#

i already did

charred monolithBOT
austere talon
#

that keep pr in sync is really annoying

#

but also really useful

somber ginkgo
#

we do a little signing addon

austere talon
#

yeah the PURE makes esbuild not bundle it

somber ginkgo
#

W/"139660c40a29a818d0f4b595fca4cc778aa6edf800b7aebc06b3a7cbc6dffe5a"

#

different

#

my beloved

crude hearth
#

DELETE

#

@austere talon ban technical trade for sending cursed text

somber ginkgo
#

but yes, the etag header is different and im not getting unauthorised errors, issue solved

austere talon
#

this is pain

somber ginkgo
#

very cool

#

thank ye ven

austere talon
#

esbuild will treeshake objects immediately

woeful sable
#

why don't u use actual ts enum

austere talon
#

cause it doesn't map both ways

#

and they're terrible

woeful sable
#

you will make two enums trolley

austere talon
spark cove
#

@austere talon I'm making a styles api

spark cove
charred monolithBOT
austere talon
#

js will soon add annotations

#

and we will

@Pure
const blah = blah()
#

or better yet

@Pure
function blah() {

}```
woeful sable
#

const blah = blah() as pure; trolley

#

decorators for functions rlly would be cool tho

spark cove
austere talon
#

ts annotations are so bad

spark cove
#

Wdym

austere talon
#

theyre bad

#

cause pain to use

#

and afaik still experimental

woeful sable
spark cove
#

Yea experimental as in they've kinda locked themselves into that impl

#

It's not horrible but it's a little cringe

#

It does exist though

spark cove
#

And idk how java annotations work

austere talon
#

java annotations are sexo

spark cove
#

What are they

austere talon
#

java annotations are really good cause you can specify their lifetime, get them programatically etc

spark cove
#

Lifetime?

austere talon
#

retention

spark cove
#

Yea abstractly but what does that mean

austere talon
#

you can have CompileTime only annotations, or specify that you also need them at runtime

spark cove
#

Oh are these just like

#

Metadata annoyations

#

What does class but not runtime mean

#

Is that for compiled libraries

woeful sable
#

typescript's decorators are exactly like python's

#

rather silly

#

I love nesting three functions just to create a decorator

austere talon
#
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.CLASS)
public @interface Command {
  String name();
  String description();
}

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Param {
  String name();
  String description();
}

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.CLASS)
public @interface OwnerOnly {}

@Command(name = "echo", description = "Make me say something")
@OwnerOnly
class EvalCommand {
  public void run(@Param(name = "message", description = "The message to echo") String message) {
    doWhatever();
  }
}
#

it awesome

#

then u can get the annotation with a bit of reflection

#

i made a command handler similar to this

spark cove
#

Oh this is kinda like

#

The reflect-metadata package

austere talon
#

where you just specify command similar to this with annotations and it automatically parses arguments, generates help menu etc

spark cove
#

We could do that

austere talon
#

it's a shit ton of reflection xd

spark cove
#

Yea

spark cove
woeful sable
#

meanwhile python ```py
def decorator_function(arg1, arg2):
def actual_decorator(fn):
def wrapper(*args, **kwargs):
...
return wrapper
return actual_decorator

@decorator_function("balls", "gaming")
def balls():
...

#

so bad

austere talon
#

let me dig up my command handler

#

if i can find it

#

maybe i deleted lol

woeful sable
#

hikari's lightbulb looks like that

#

I don't like it

#

they actually use a ton more decorators

austere talon
#

looks like this

spark cove
#

Pretty nice I think

#

Imagine js kwargs

swift fjord
#

aren't proxies also a thing that can take advantage of annotations

woeful sable
# woeful sable they actually use a ton more decorators
@plugin.command
@lightbulb.option("message", "The message to echo")
@lightbulb.add_checks(lightbulb.checks.owner_only)
@lightbulb.command("echo", "Make me say something")
@lightbulb.implements(lightbulb.PrefixCommand)
async def echo(ctx):
  ...
#

so bad

spark cove
#

No that's hikaru

#

What's hikari lightbulb

woeful sable
#

hikari like ε…‰ (light, glow)

#

it's a python library for discord bots

#

lightbulb is a library for it that adds command handlers

austere talon
#

(it doesnt matter)

#

just merge

#

also no need to do it 10 times

#

ill just do whenever

unborn garnet
#

:o merge?!

crude hearth
#

Arjix is so angry

#

@arjix

#

CALM DOWN

#

WHO IS ARJIX

crude hearth
charred monolithBOT
crude hearth
#

because I am too lazy to change branches

#

last time because you didnt merge my pr

#

I had to merge upstream

#

or use to decade old version

unborn garnet
#

@quaint sapphire you will merge

quaint sapphire
#

the person that does not have write access, will merge

unborn garnet
#

yop

charred monolithBOT
quaint sapphire
#

@unborn garnet do you use ur real face in discord?

unborn garnet
#

yes

quaint sapphire
#

I'd not recommend that

#

lol

unborn garnet
quaint sapphire
#

people online can possibly dox you with just that info

unborn garnet
#

nah

quaint sapphire
#

oh well

#

you do you

unborn garnet
#

people know im in germany but otherwise im a shadow

#

πŸ˜Άβ€πŸŒ«οΈ

quaint sapphire
#

oh well

#

just sayin'

#

lots of evil peeps online

unborn garnet
#

aye, i know i know

#

but itll be fineeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

austere talon
austere talon
#

tineye used to be good but nowadays it finds like nothing

quaint sapphire
#

it has stuff from 2014 in its database (and possibly even way back)

#

it has stuff from websites that no longer exist

#

(im talking about tineye btw)

limber skiff
#

my plugin got bullied and ven didn't merge

unborn garnet
#

ven doesnt merge plugins

limber skiff
#

fake

austere talon
#

which one

limber skiff
#

the only one I have a pr

charred monolithBOT
austere talon
#

you will simply block thumbnail endpoint with ur hosts file Clueless

#

I can merge

unborn garnet
#

i will merge

limber skiff
#

I'm pretty sure they use the gateway

#

or something like that

#

I patched both http one and non http

#

but they always use the non http

quaint sapphire
charred monolithBOT
austere talon
#

TURKISH CLASSNAMES

woeful sable
#

shh i was doing something else i gave up at the last minute :^)

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
WebSocket connection to 'ws://127.0.0.1:1337/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
unborn garnet
#

guh

limber skiff
#

poggers

unborn garnet
#

betrayal

charred monolithBOT
spark cove
#

@unborn garnet you can replace all your Vencord.Plugins.plugins.InvisibleChats with $self

#

it makes it a little more readable i think

unborn garnet
#

ooh okok

charred monolithBOT
spark cove
#

theres the custom \i regex escape

#

good for future proofing in case one of the varnames ever becomes two letters

#

also probably good for readability too xd

charred monolithBOT
spark cove
#

ven norms

austere talon
#

lol so you just post a message?

unborn garnet
#

got a better idea?

austere talon
#

why via djs instead of webhook?

#

nor really lol

unborn garnet
#

exactly

austere talon
#

I would just make a cloudflare worker that posts via webhook tbh

#

seems more robust

#

but maybe there's some limitations to that

unborn garnet
#

pretty likely

#

for now ill just specify that ill make requests in the description

austere talon
#

couldn't you make the user specify a webhook url and post to that locally?

unborn garnet
#

im going to have an aneurysm

austere talon
#

add to the embed "this message has links. To view their embeds, please head to the settings and follow the webhook guide"

#

just an idea

#

that'd certainly be nicer than a cursed api

unborn garnet
#

oh i agree

#

but i lack the knowledge for that at the moment

#

ill do more research once needed

austere talon
#

I can help u with that

#

I'll experiment tmrw

#

need sleep now

unborn garnet
#

you will merge before sleep

#

VEN YOU CANT LE T ME DOWN LIKE THIS

spark cove
#

average vencord pr experience

#

venny must slep

austere talon
#

I already merged a lot of prs today

#

and it immediately broke 2 things

#

2 broken prs

unborn garnet
#

but not mine :(

#

mine is very work

austere talon
#

I must sleep now

unborn garnet
#

you need to trust

#

it will fix

#

life will be heaven on earth

#

paradise

#

a world where everyone explod

#

VEN

#

do you not see the possibilities

#

the bliss

#

world peace will be restored on merge

#

stars burn out

#

but humans, life

#

will fight that trend

#

we will win

unborn garnet
#

everything will be in perfect order

#

PLEASE

#

i cannot believe it...

spark cove
#

ownage

unborn garnet
#

i am so sadged

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

@spark cove i merged main into it

spark cove
#

ok i will reset and reopen

austere talon
#

i can push that for u if u want

#

pog email

spark cove
#

yea just Authored-By or something i guess

#

it doesnt matter lol

#

super DASH

charred monolithBOT
spark cove
#

old email

#

wew

austere talon
#

uh i think theres some sort of conflicts

#

dont u load css via js or something

#

so maybe further changes are necessary

spark cove
#

hm

austere talon
#

oh wait due to the namespacing this only does ?managed right?

#

i will check later

spark cove
#

yea

#

yea

#

it is only ?managed

#

just devicon

#

shiki is in the renderer.css bundle

austere talon
#

ah okay

spark cove
#

but yea i do think uh

austere talon
spark cove
#

the injected stylehsset shouldhave more rpedicie

#

erfodais

#

what

#

buildweb insane what is it talkinga bout

#

oh

#

true i forgot to test line 84

austere talon
#

The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object

spark cove
#

oh wait i am dumb how did that HAPPEN

#

the fix ^

austere talon
#

nah

#

thats wrong

#

i did that change

#

thats how it's supposed to be

spark cove
#

its supposed to be dist?

austere talon
#

yes

spark cove
#

thats not how it is in main

#

oh the path should be in the key

austere talon
#

nah it should work this way

spark cove
#

i dont know for sure because idk what this target is

#

its not calling zip tho

#

its calling this

#

and crying at the writeFileSync

austere talon
#

apparently async zip doesnt support it

austere talon
spark cove
#

the unpacked

charred monolithBOT
austere talon
#

fixed it

spark cove
#

hot

austere talon
#

i was just a bit confused

#

cause i thought it was fflate crying when it worked before

#

but it was just our own code lmao

spark cove
#

yea real LOL

#

easier to have them flat

charred monolithBOT
unborn garnet
#

I've awoken, ven

#

It's time

woeful sable
#

sammy has awoken.

unborn garnet
#

Ven will merge

charred monolithBOT
unborn garnet
#

@austere talon daily reminder to merge

charred monolithBOT
charred monolithBOT
umbral hedge
brave geyser
#

Horror

verbal pumice
umbral hedge
#

same

austere talon
umbral hedge
#

you will join

versed ibex
#

:)

Light themes help me with my astigmatism and general mood

charred monolithBOT
austere talon
#

we should migrate all the inline styles to css file tbh

umbral hedge
#

yop

austere talon
#

megu will review pr

umbral hedge
#

ogey

umbral hedge
#

ven insane reviewing his own PR?

austere talon
#

i didnt write that code

#

vapo wrote part of the pr

austere talon
umbral hedge
#

o

spark cove
#

So u can supply class names from modules

#

I needed it for another project so u can imagine it will be useful to someone's usecase

charred monolithBOT
spark cove
#

Huhhh

quick ibex
#

@remote spindle what a dumb fucking issue

#

@remote spindle cant tell if you got bitched or ashamed of yourself

umbral hedge
#

they deleted it themselves

quick ibex
#

both should have happened

#

bro im high stress, ill beat the shit outta you in the fruit section

umbral hedge
#

I'm just annoyed

quick ibex
#

not you megu

#

you are my beloved

#

meant 3flow

woeful sable
#

mm this is hot

umbral hedge
#

open issue called "ye so uh"
get mad when it gets marked as invalid
open another issue complaining that it was closed (it wasn't closed)

woeful sable
#

bro could have asked that question in general

quick ibex
#

ong πŸ’€

woeful sable
#

or even development

#

but bro ranted in GitHub issues

quick ibex
#

Plus, when the fuck was codetower or whatever the service was called ever discussed

woeful sable
#

and went crazy

umbral hedge
#

anyways stop shit talking now blobcatcozy

woeful sable
#

megumin seems to be the mother of the server

quick ibex
umbral hedge
#

xd

woeful sable
#

can i be a submissive trans girl

#

to mother megumin

quick ibex
#

if you really want to be

umbral hedge
quick ibex
#

i need a manly man in my life

woeful sable
#

sometimes it takes a real man to be the best girl

umbral hedge
#

fr fr on god

quick ibex
#

i am a manly man

#

looking for a manly man

#

hit my line

umbral hedge
#

lmao

woeful sable
#

straight males in this server real

#

no femboy no homo no trans

#

real!!1!1!

quick ibex
#

its weird

#

irl i have a crush on a guy and a girl

woeful sable
#

i have a want to crush my ballsack

#

πŸ˜„

quick ibex
#

yet my chat history here proves im gay as fuck

woeful sable
#

i dont like men

#

i don’t think so

quick ibex
#

only way to solve this dilemma is to look for a trans girl

woeful sable
#

hmuuuuu frfr

quick ibex
#

im men

woeful sable
#

no

quick ibex
#

yes

woeful sable
#

you’re COINLOCKERBABY#7117

#

there is a difference

quick ibex
#

no im samu

woeful sable
#

oh my god

#

the masculine urge to wear a skirt

quick ibex
#

hot

umbral hedge
#

oh also that person on gh was the same person that kept setting their nickname to questionable shit after being told to stop

quick ibex
#

@austere talon

umbral hedge
#

they already left so i'll just do the honours

quick ibex
#

oh

#

pogu

#

@umbral hedge can you look over #276

umbral hedge
#

i dont rly know much about arRPC though

quick ibex
#

the author asked to close issue

quick ibex
#

@umbral hedgecan you ban them from making more issues?

umbral hedge
spark cove
#

zzzzzz

tribal fjord
#

i forgot to star them xd

charred monolithBOT
spark cove
#

Undo

tribal fjord
#

my pfp is way too light

#

no

spark cove
#

Remove Android star

tribal fjord
#

yes

#

maybe

#

maybe not

spark cove
#

⛏️

charred monolithBOT
spark cove
austere talon
#

like add jsdoc

spark cove
#

i'll jsdoc all the style api methods

austere talon
#

jsdoc the entirety of vencord

spark cove
#

literally was just thinking i should do a docs pr

austere talon
#

always welcome

spark cove
#

grr i cannot put css comments in a jsdoc

#

death

austere talon
#

uhhh

#

ZWSP :)

spark cove
#

will that highlight correctly

austere talon
#

alternatively try escape sequences?

#

/*

umbral hedge
#

just don't use css comments

spark cove
#

that doesnt work in markdown codeblocks

austere talon
#

we will scss

#

just use scss imo xd

spark cove
#

im looking at vscode source

austere talon
#

that has // comments

spark cove
#

to see if i can specificy lang in <code>

#

also that

umbral hedge
#

actually yeah for just doc comments

spark cove
umbral hedge
#

doing scss wouldn't be noticeable

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
spark cove
#

shut UP

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
spark cove
#

is there no typescript api docs

#

like for the runtime module

austere talon
#

uhhhh

spark cove
#

insane

spark cove
#

because codeblocks have no padding or margin

#

i will NOT do this

austere talon
#

r u still doing uh scss btw

#

or should we just wrap up the css pr

spark cove
#

nah im doing scss

austere talon
#

(no rush, just so I know)

spark cove
#

im gonna add scss supot

austere talon
#

I mean we can also merge before scss and just add it later

spark cove
#

ok thats fine actually

#

but

#

let me commit this change cus

austere talon
#

yeye

spark cove
#

im changing style vars to

#

style classnames

#

because thats the only usecase as far as im concerned so might as well make it format classes for u

#

also that way u can use it in sass because earlier i was doing #{var} which would break in sass

#

so im gonna do [--var]

spark cove
#

wait

#

dont merge

umbral hedge
#

mark as draft

spark cove
#

idk how

#

oh its in a dumb spot

umbral hedge
#

down bottom of sidebar

#

yeah its a dumb spot

spark cove
#

it isnt there for me

#

it was like

umbral hedge
#

oh

spark cove
#

convert to draft.

umbral hedge
#

o

#

yea

#

dum

spark cove
#

@austere talon

#

ok it is real now

#

you love

umbral hedge
spark cove
#

yea i only made it lowercase in the function cus i couldnt tell if it was awkward

umbral hedge
#

anyways gn

spark cove
#

nini

charred monolithBOT
spark cove
#

oh\

#

oh

#

o

#

h

#

ohoh

#

oh

#

fixed

#

i want pizzaaaa

charred monolithBOT
woeful sable
spark cove
#

it belongs to me fork

#

i think "doesnt belong" means the repo has no refs that have that commit as an ancestor

#

excluding pr refs ig

charred monolithBOT
charred monolithBOT
charred monolithBOT
unborn garnet
#

@austere talon i swear to god you will merge

spark cove
#

LOL

unborn garnet
#

im going to have a stroke

#

(mmm stroking)

umbral hedge
#

closes pr

unborn garnet
charred monolithBOT
charred monolithBOT
unborn garnet
#

@umbral hedge you will merge

quaint sapphire
#

samm samm samm

#

you are too impatient

#

i should be the one crying

#

cause ven always gives more reviews

#

so my PRs will never make it

unborn garnet
#

same here :(

#

legit 10 reviews yesterday

quaint sapphire
#

10 more tomorrow!

unborn garnet
quaint sapphire
#

how's the cold over there?

#

I am dying here

unborn garnet
#

its

quaint sapphire
#

darn

unborn garnet
#

bearable, 10Β°C

quaint sapphire
#

oh

#

well

#

here it is 12 Β°C

#

but since i live next to a port

#

the sea makes it feel colder

#

my bones are trembling

unborn garnet
#

ouch

quaint sapphire
#

aint that the succubus from that hent-

#

yep

spark cove
#

😭

quaint sapphire
#

😭

#

mf is in the negatives

spark cove
#

east coast of america is dying rn

quaint sapphire
#

im gonna fry some nuggies to warm myself up

unborn garnet
spark cove
#

i make hot cocoa

golden gulch
#

if I was at home instead of visiting family for the holidays it'd be -25Β°C for me trolley

tribal fjord
#

husk

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 429 ()
Failed to load resource: the server responded with a status of 404 () ```
glass cedar
#

Its -9 here

#

Was under -20 yesterday

brave geyser
#

Was -25Β°C here a few days ago if this is a competition

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
unborn garnet
#

im going to murder someone

spark cove
#

i just realized why u husked me

unborn garnet
unborn garnet
#

favoritism

spark cove
unborn garnet
spark cove
#

bike what

austere talon
# spark cove bike what

The law of triviality is C. Northcote Parkinson's 1957 argument that people within an organization commonly or typically give disproportionate weight to trivial issues. Parkinson provides the example of a fictional committee whose job was to approve the plans for a nuclear power plant spending the majority of its time on discussions about relati...

spark cove
#

why is the example fake

#

it sounds like the term would come from a real occurence

austere talon
#

actually cant merge pr yet

#

cause userscript and ArmCord

#

🦾

spark cove
#

true

unborn garnet
spark cove
#

do ur suggestions tho

#

f2 it u wont

charred monolithBOT
austere talon
#

btw does ur esbuild plugin have the same issue as before? @spark cove

spark cove
#

what was the issue

austere talon
#

where if two plugins had the same filename it would die

#
import bleh from "./styles.css?managed"```
#

if two plugins had this it would explode

spark cove
#

oh no the ids are the file path relative to the repo root

austere talon
#

fileContent had that issue

spark cove
#

using / as seperator

austere talon
spark cove
#

yea

#

shiki/style.css was overriding spotimbed/style.css

austere talon
#

so does ur plugin fix that issue somehow

spark cove
#

and i cried

austere talon
#

buttt howwww

spark cove
#

for context previously fileContent would basically do the same but ids being the filename only

#

sec

austere talon
#

the path here?

spark cove
#

yea

#

no

#

wait

#

es

#

eys

#

yes

austere talon
#

mmm okay

#

so that was the bug

spark cove
#

its the onLoad

#

that actually

#

puts the path into the module

austere talon
#

wouldnt this path already be relative?

spark cove
#

i hate the github file explorer

#

not gonna lie i dont know

#

thats one of those things that happened because i was figuring multiple things out at once

austere talon
#

well i mean

#

its fine this way as long as the bug is fixed

spark cove
#

i'll figure it out later

#

xd

austere talon
#

is it save to use the name in css id?

spark cove
#

it would look a little strange

#

cus it will be like <style id="vc-styles-src/plugins/shikiCodeblocks/devicon.css">

austere talon
#

thats fine ig

spark cove
#

would a data attr work too

#

<style data-src="src/plugins/shikiCodeblocks/devicon.css">

austere talon
#

just anything that makes it possible to know where it came from

spark cove
#

bet

austere talon
#

so you don't go wondering why there's random styles

#

i can do those changes if u wanna

spark cove
#

yea

austere talon
#

i need to think of a solution for the userscript anyway

spark cove
#

i think u need to do something specific for data attributes

austere talon
#

style.dataSet.baller = "hi"

spark cove
#

style.dom.dataset.src = name

austere talon
#

ya

spark cove
#

ze

#

ze

#

ze

#

ez

austere talon
#

it auto transforms the casing which is funny

spark cove
#

i love

austere talon
spark cove
#

ownage

austere talon
#

silly dom spec

spark cove
#

that reminds me i want to

#

pr quick.db

#

and add silly proxy api

austere talon
#

what that

spark cove
#

funny db package

austere talon
#

what for

spark cove
#

its like

austere talon
#

how we gonna do that

spark cove
#
const db = require('quick.db')

db.set('a.b', 2)
db.get('a') // { b: 2 }```
#

oh it has nothing to do with vencord

#

i was just reminded

austere talon
#

ohhh

#

pr to what then

#

quickdb?

spark cove
#

yea

austere talon
#

ohhh

#

i was confused why you'd want to add it to Vencord lmao

spark cove
#

lmfao nanana

#

vencord settings proxy magic made me

#

want to add a funny proxy api to it

austere talon
spark cove
#

set

#

genius

austere talon
#

await db.set("vap.epic", true)

spark cove
#

:3

spark cove
#

(does not solve anything)

austere talon
#

how make it shut up about stupid CRLF

#

anyway we do a little git stashing

#

wait how do i uhm add untracked files to stash

#

ah i need to git add . first

umbral hedge
#

just stop using CRLF

#

vscode settings force to use LF

austere talon
#

vapo's nightmare

spark cove
#

same reason i use types instead of interfaces

#

i just dont think about it

austere talon
#

copilot pretty smort

spark cove
#

agree

#

i will probably pay for it when my trial runs out lmao

charred monolithBOT
austere talon
#

should probably test shouldnt i

spark cove
#

yeaaaaaaaaaaaaaaaa

austere talon
#

it almost knows holy shit

spark cove
#

yea i think it learned off the codebase the more u use it

#

like i think it has the full context of the codebase

#

from my experience

austere talon
#

yeah but the crazy thing is that it somehow knows that the UserScript specifically needs the css added to it

spark cove
#

ohye aLOL

#

love gpt3

austere talon
#

love copilot

spark cove
#

actually i guess gpt3 is the language verison

#

love codex

spark cove
#

i hope u never experience random hangs

#

what the fuck

austere talon
#

this should probably work

grave mangoBOT
spark cove
#

i did not know u could do this

austere talon
#

Array.from is pog

spark cove
#

will be abuseing

austere talon
#
Array.from({ length: 10 }, getRandomChar).join(""); // random string
Array.from({ length: 10 }, (_, i) => i); // [0, 1, 2, 3, ..., 9]
#

very cool

spark cove
#

oh wow

#
Array.from({ length: 10 }, (_, i) => i);
Array(10).fill().map((_, i) => i);
austere talon
#

ya

spark cove
#

was checking the lengths

austere talon
#

the problem with the second one is that it creates two intermediate arrays

spark cove
#

nah just one

#

fill modifies

austere talon
#

oh

#

but still O(3n) vs O(n) i think

spark cove
#

i just checked when u said one because i thought u meant fill

#

xd

#

yea

#

for sure

#

if v8 is sane

#

astro is STUPID

#

it is ignoring my style tag ...

austere talon
#

it no work

#

i want my money back

charred monolithBOT
austere talon
#

(i didnt pay)

spark cove
#

in my

#

experience

#

it works better if u write like a real comment

#

like remove the top comment

#

and then like

}

// Promise.all for entries```
#

or something

austere talon
#

lmao this is cursed

spark cove
#

did u do assign

#

or is that esbuild

austere talon
#

i did

spark cove
#

amaizng

austere talon
spark cove
#

oh right the string

austere talon
#

Object.assign is cool for assigning ids and stuff to dom elements

spark cove
#

when i see string code i just assume it works

#

i dont want to read it

austere talon
#

okay

#

i also rewrote the plugin zip building to be async

spark cove
#

vscode should add template string langauge scupport

#

with a comment prefix

austere talon
#

YES

spark cove
#

i guess u can inject into existing grammars with an extension

#

i might do