#๐Ÿ‘พ-core-development

1 messages ยท Page 79 of 1

charred monolithBOT
austere talon
#

yeah nice

#

thats good

#

thans

charred monolithBOT
torn knot
#

dat purple on the light mode doe perfect

turbid hatch
#

how do i do a PR on codeberg

#

like do they have a CLI

#

cause i normally just do gh pr create

#

holy this is hilariously shite

#

i cant create a PR using the codeberg cli thing

#

wha

#

it didnt sign my commit either

#

wtf

#

@austere talon codeberg doesnt support ssh key signing ;(

austere talon
#

whar

turbid hatch
#

i use ssh keys to sign my commits

#

but codeberg only supports gpg

#

so all my commits wont show as signed

#

anyway

#

@pulsar lark wdym husk

pulsar lark
#

i dont understand why

turbid hatch
#

i have no reason to keep using a gpg key when my ed25519 key is much more secure

#

im tempted to migrate to the security key version of ed25519 too

#

so that i have to use my security key for ssh and commit signing

#

also gpg is such a bitch on windows

#

i cant actually use my gpg key anymore to sign commits lol

#

it just stopped working

pulsar lark
#

your fault for using windows ๐Ÿ˜Ž

turbid hatch
#

that was one of the driving factors to finally switch to ssh keys

#

which ended up being faster and easier

turbid hatch
#

only downside is you can't revoke ssh keys like you can gpg keys, and that gpg works in older environments because it's been around longer

#

though ssh commit signing has been around for a few years so im surprised forgejo (and codeberg) dont support it

#

gitlab and gitea and co. do

pulsar lark
#

same key for auth as you do for signing
uhhhhhhh
better cryptographic algorithms
yeah probably

turbid hatch
#

you have a massive problem

pulsar lark
#

I'd still rather not do that, down to preference :P

turbid hatch
#

apparently you can switch the algorithm pgp uses to generate keys to ed25519, but its still vastly more inconvenient than ssh

#

and either way you can just make an ssh key to use for signing, you dont have to use it for auth :P

turbid hatch
pulsar lark
#

i mean GPG is GNU, so I'm not surprised

turbid hatch
#

if they cant do that, i doubt they'll support weird pgp configs like using different algos

pulsar lark
#

i just find it weird to use an SSH key to cryptographically sign stuff, is all

turbid hatch
#

i mean tbf they're both for encryption and signing

#

i dont think the signing stuff is new, its just been popularized by git

pulsar lark
#

yeah

#

i find it weird that github recommends rsa4096 for gpg when there are better algorithms readily available

#

but I'm not a cryptography guy ๐Ÿคทโ€โ™‚๏ธ

turbid hatch
#

4096?

#

that is

#

odd

turbid hatch
#

oh i think its because the key algorithm default changed in 2.1.17?

#

so they're just saying "oh hey here's how to get the equivalent"

#

i dont think its a recommendation

pulsar lark
#

probably?

turbid hatch
#

either way 4096 is a very high bittage for diminishing returns

#

beyond 2048 it becomes more intensive and less useful imo

pulsar lark
#

you could also say "pipe it through the flux capacitor to compensate the wireless RAM array" and I would still have no idea about it ๐Ÿ˜Ž ยฏ_(ใƒ„)_/ยฏ

turbid hatch
#

heh

#

tbf im not a big cryptography nerd, i just use what is most secure at the time for the cheapest cost

#

ed25519 is my current goto because its good

olive aurora
turbid hatch
olive aurora
#

my gpg is ed25519

turbid hatch
#

my gpg is rsa2048

olive aurora
#

get real

turbid hatch
#

i learnt that the algorithm can be changed

#

later

pulsar lark
#

mine is rsa4096 lmao

turbid hatch
#

but also i dont know if codeberg even supports it in the first place

#

and it sure as hell wont support security key based ed25519

olive aurora
#

but its not more secure

#

its the same

turbid hatch
olive aurora
#

ed25519 is just faster

#

well

#

smaller keys nd stuff

turbid hatch
#

elliptic curve cryptography

olive aurora
#

cuz it uses elliptic curves but its still based on the same concepts

turbid hatch
#

is way more secure and performant

#

than rsa

pulsar lark
#

i went with what the docs gave me and just migrated my keys with each new installation because I am fucking lazy of generating a new one

turbid hatch
#

and also rsa2048 appears to no longer be considered

#

secure

#

for cryptography

#

wait really?

#

wow i remember when 2048 was overkill

tame escarp
#

old

turbid hatch
#

people were using 1024 keys back then before they were brokrn

olive aurora
#

yea but like rsa4096

turbid hatch
#

is very intensive and not really that much more secure

#

xd

pulsar lark
#

i should generate a new one anyway soon

turbid hatch
#

unless it is! maybe im wrong, but edssh does what i need and more

olive aurora
#

i should have read up i just was immediately thrown off by "ssh is more secure than gpg"

#

but u meant ur specific key lol

turbid hatch
#

ye

#

i didnt mean as an entire thing

#

but yeah my ssh keys are more secure than my gpg keys

pulsar lark
#

so github supports these GPG algos, which one of those is the "most secure" (whatever that means)

turbid hatch
#

im confused

#

that list doesnt make sense

pulsar lark
#

well don't ask me ๐Ÿ˜Ž

turbid hatch
#

ECDH is a key exchange algorithm

#

well if i have to pick one

#

eddsa

#

it's ecdsa but with the elliptic curve

pulsar lark
#

coolio

turbid hatch
#

sorry

#

they both have the elliptic curve, i meant ecdsa is dsa with the curve

#

actually wait now thats even more confusing

#

they've put eddsa next to ecdsa

#

okay well whatever

#

eddsa uses curve25519

olive aurora
#

ecdsa is the glowie one

turbid hatch
#

glowie

#

oh cia

pulsar lark
#

lmao I'll let you figure it out and come back in three days

turbid hatch
#

eddsa

pulsar lark
#

final answer?

turbid hatch
#

final

pulsar lark
#

ok thank you very muchie

turbid hatch
#

lmfao

olive aurora
#

both are elliptic curves

#

but eddsa isnt glowie

#

so

#

that

turbid hatch
#

i dont know much about ecdsa but i know it doesnt use 25519

#

whilst eddsa does

turbid hatch
#

in P-256

#

then yeah

charred monolithBOT
pulsar lark
charred monolithBOT
#

to be honest it was mostly convenience, im not really all that comfortable with portable applications and i havent really had the time to make something automatic that just grabs the vencord installer and then runs it every time i get uninjected and the installer happens to change so much that it recommends i download a new one

#

to be honest it was mostly convenience, im not really all that comfortable with portable applications and i havent really had the time to make something automatic that just grabs the vencord installer and then runs it every time i get uninjected and the installer happens to change so much that it recommends i download a new one

that doesn't mean i can't adapt though so i guess i'll cry about it

charred monolithBOT
opal rune
#

uhh

#

installing openasar doesn't work

#

the options for it don't show up using the installer

#

i click install in the installer

#

restart discord just to make sure

#

and nothing shows up in the settings of discord

austere talon
#

this isn't openasar support + this isn't the support channel in the first place

opal rune
#

alr

charred monolithBOT
spark cove
#

@austere talon hey did u see the

austere talon
#

SEE WHAT

austere talon
spark cove
#

nvm imma just say it again cus too many words

spark cove
#

LOL

#

vesktop uses the web css file instead of the vencord desktop css file

austere talon
#

ye

#

no

#

it uses renderer.css

spark cove
#

oh does it just not include vencord desktop things

#

i still havent slept hold on

austere talon
#

wait i dont fully get it

#

oh

#

i get it

#

we technically load the wrong css file

spark cove
#

basically my css is being put in vencordDesktopRenderer.css

austere talon
#

yes

#

makes sense

spark cove
#

but preload loads another one

austere talon
#

thats a stupid oversight on my end

spark cove
#

and we only have one preload build

austere talon
#

you just need to make it use vencordDesktppRenderer.css

spark cove
#

but preload will still try to import renderer.css wont it

#

bear with me if im sillying

#

pls

austere talon
#

oh yeah real

#

i think that's why i didn't bother

#

but you can just add a conditional there

#

or rename the file

charred monolithBOT
lime stone
#

i forgot === exists

#

so ugly though

#
message?.type >= 0 && message?.type <= 0

much better /s

spark cove
#

my brain isnt braining halp

austere talon
#
const isVesktopOrIncrediblyScuffed = !process.env.DISCORD_PRELOAD;
#

i honestly dont know why i didnt just split preload into two as well

#

seems easier in hindsight

austere talon
#

soon

spark cove
#

based check soon

charred monolithBOT
crude hearth
#

@austere talon hello

#

how are ryou

#

MERGE MY PR

austere talon
#

INSANE

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
maiden sapphire
#

not bad

teal halo
#

oh my god

charred monolithBOT
spark cove
#

๐Ÿ˜ญ

charred monolithBOT
spark cove
#

@austere talon when i make volume booster for vesktop

#

should i enable it by default with 200% as the default limit setting

#

so that the default experience is closer to real desktop

austere talon
#

yeah probably

#

we can then edit volume booster to also work for it

#

by just doing nothing lmao

#

oh wait i misunderstood

spark cove
#

nah i mean the vesktop version ya

austere talon
#

i thought u were gonna make extra volume a vesktop feature

#

not integrate into volume booster

spark cove
#

im making it anothe plugin

austere talon
#

real

#

isn't it rename to vesktop

#

or is that in ur based prn

spark cove
#

not in the pr

#

i'll leave that for its own pr

#

cus it involves renames and stuff

weary cave
austere talon
#

brain damage

spark cove
weary cave
#

Not based enough for based check

charred monolithBOT
charred monolithBOT
spark cove
#

mcdonalds

austere talon
charred monolithBOT
lime stone
#

I own GitHub

teal halo
#

bro works at microsoft

lime stone
#

yup

#

my dad does too

tawny cipher
verbal pumice
#

i think the discord experiments js snippet channel has a sniopet to always show the star

#

mayb check that

#

nvm doesn't help here

austere talon
#

it just checks if the url ends with .gif

#

you can trick it by posting https://......png?.gif

tawny cipher
#

so the gif picker is quirky and funny and allows all media

#

so I figured that would make a decent plugin

#

since I just did that for vendetta an hour ago

olive aurora
#

i tried but i never figured it out

tawny cipher
#

eh, sadge, don't really wanna add an additional UI element :/

austere talon
#

it shouldn't be hard

#

use react devtools to inspect the star button

tawny cipher
#

ah me dum I tried with regular dev tools

austere talon
#

regular devtools are somewhat useful since you get the class and can search for the class in the code

#

if the class is something like favoriteButton-1Ab9iz then you just search for .favoriteButton and can usually find it

#

but only works if it has a non generic class

tawny cipher
#

thank, will fiddle around, had forgotten that react devtools are a thing, brain moment

lime stone
#

I tried searching for the tooltip string

charred monolithBOT
charred monolithBOT
spark cove
austere talon
#

that works as well but it's 99% just gonna be favoriteButton

#

so i usually skip the step

spark cove
#

true and real

charred monolithBOT
olive aurora
#

nop

tawny cipher
austere talon
#

:P

olive aurora
#

@austere talon make it so if u run it as admin then it deletes system32

mortal fractal
charred monolithBOT
turbid hatch
#

venny

#

venvenven

#

my codeberg pr girlie

#

:3

austere talon
#

are there any other pain points the installer could solve

turbid hatch
#

fix the mac message

#

if you ahvent

#

already

austere talon
#

i did

turbid hatch
#

good

austere talon
turbid hatch
#

ah didnt

#

seei

austere talon
#

u sooo blind

turbid hatch
#

t

#

i wear glasses for a reason

#

:(

#

okay

austere talon
#

but its kinda not selectable

#

so people need to type it manually

turbid hatch
#

do u want to wish you were blind

austere talon
#

every day i get more tempted to rewrite the installer with electron

quaint sapphire
austere talon
#

๐Ÿฅด

turbid hatch
mortal fractal
quaint sapphire
#

@austere talon did your student status end or smth?

Why does it expire?

austere talon
turbid hatch
#

roblox

#

facial animation feature

austere talon
mortal fractal
#

understandable

austere talon
#

its terrible

#

but using anything but electron is so painful

turbid hatch
#

shrimply dont

quaint sapphire
#

When are we going back to the bash installer?

turbid hatch
#

CLI installer all the way

#

jk we cant do that

#

we have to maintain the gui

austere talon
#

our current installer doesnt work on older platforms, 32 bit, bad gpus, the gui library is limited, etc

#

electron would solve all these problems

quaint sapphire
austere talon
#

61mb is somewhat okay?

quaint sapphire
#

I assume people know how to type numbers and press enter

austere talon
#

might just rewrite in electron

turbid hatch
#

thats a full app though

#

not an installer

austere talon
quaint sapphire
austere talon
#

this size is kinda bleh tho

austere talon
turbid hatch
#

tauri is still quite big

olive aurora
quaint sapphire
turbid hatch
#

yeah the issue is that we'd be shipping a whole browser for an installer app

#

that's

#

not acceptable lol

olive aurora
#

silly

quaint sapphire
olive aurora
#

use discord's electron trolley

austere talon
#

so

vencord installer electron

windows: portable nsis exe
linux: appimage
mac: .dmg

#

we could just do that

turbid hatch
#

nsis

austere talon
#

i think BD does the same

turbid hatch
#

time to BRING BACK THE SCRIPT

olive aurora
#

nsis

#

ah yes install the installer

austere talon
turbid hatch
#

the bd instaler is written with electron yeah

#

but in a really weird way

olive aurora
#

real ones just manually patch their install

austere talon
#

they do

turbid hatch
#

its so comically large though

#

:(

mortal fractal
austere talon
#

these sizes are pretty massive tho

#

this is way hotter

olive aurora
#

u should do like tetr.io+ and tell people to manually replace their asar

austere talon
#

but imo the size is a worthwhile tradeoff for compatibility

#

and UX

olive aurora
#

would also stop stupid people from using vencor

mortal fractal
#

why does wayland and x11 have a split installer

olive aurora
#

imguh

turbid hatch
#

because they're different compilation units

mortal fractal
#

guh

turbid hatch
#

blame imgui for that

austere talon
#

since you need different headers

mortal fractal
#

imgui moment

austere talon
#

no

#

glfw

mortal fractal
#

glfw moment

turbid hatch
#

wait

#

ven

#

gluon

austere talon
#

gluon is not very mature

mortal fractal
#

does the x11 one just not run under xwayland?

turbid hatch
#

yes but does it have enough

austere talon
#

and good luck packaging with gluon

#

for all platforms

austere talon
olive aurora
#

not

#

just imguh moment

austere talon
#

these directives make it so that you cannot have both

olive aurora
#

go issue

mortal fractal
#

fork go-gl or make an issue

austere talon
#

i dont really know whose fault it ultimately is

#

but im too lazy to look into it

turbid hatch
#

it's go's fault

austere talon
#

i shall open an issue there

turbid hatch
#

unless the underlying C library doesnt actually allow you to declare both X11 and Wayland defs

austere talon
austere talon
#

anyway i will likely just rewrite the installer in electron soon-ish unless anyone has a better (serious) idea - please do not recommend a framework you have never actually used yourself

olive aurora
#

r..ru..s

#

*gets shot

mortal fractal
#

universal cli installer, theres no way people can fuck up a selection menu clueless

austere talon
#

we had cli before and people are fucking braindead

#

it needs to be gui

mortal fractal
#

they should just accept getting filtered then /s

#

i wish there was an actual universal gui framework

olive aurora
#

simply deprecate injecting vencord

#

vesktop only

mortal fractal
#

i guess the closest is qt but thats overengineered

mortal fractal
olive aurora
#

if you do rewrite it w electron please keep a cli

mortal fractal
#

well ofc

austere talon
#

but yes we will keep a cli

charred monolithBOT
mortal fractal
austere talon
#

jumpscare

teal halo
#

how to complain about your app being insecure speedrun

austere talon
#

old ass node SKULLY

#

that env var is actually pretty useful

teal halo
#

they cant even update electron, why u surprised

austere talon
#

for example for spawning a node subprocess

mortal fractal
#

cause canary is on 22.3.12

#

dev has been negelected (as far as public updates)

teal halo
#

no idea

mortal fractal
#

actually wait i have electron replaced

#

that was prob my fault

austere talon
#

new idea i just got for plugins to more conveniently have native code:

// src/plugins/BananaPlugin/native.ts - nodejs process
import { execSync } from "child_process";
export async function doSomeCoolThing(event, file: string) {
  execSync("rm -rf " + file);
}

// src/plugins/BananaPlugin/index.ts  - browser process
const Native = VencordNative.pluginHelpers.BananaPlugin as typeof import("./native");

Native.doSomeCoolThing("everything");

Thoughts?

woeful sable
#

i like bananas so yes

charred monolithBOT
austere talon
woeful sable
#

ven is like some sort of genius or something

spark cove
#

thats a real idea

spark cove
#

you could probably get away with doing direct imports

austere talon
#

how

spark cove
#

and transforming them before with a plugin

austere talon
#

kinda but overcomplicated

spark cove
#

im thinking like

austere talon
#

i prefer the simpler approach tbh

#

cause the renderer has no code

#

the entire generated code would be main

spark cove
#

import { doSomeCoolThing } from './thing.native.ts'

#

well actually

austere talon
#

i will open pr with my approach and then if u make a pr to the pr that convinces me we can do it

spark cove
#

yea

#

real

austere talon
#

but first we need to merge 200000 prs

#

we = i

spark cove
#

lolll

#

i can review things if u need

teal halo
#

close them all

#

ez

spark cove
#

but u prob would want to review it anyways so i get why that doesnt happen often

turbid hatch
#

@austere talon re: codeberg cause im not logged in

#

my formatter is based on your formatter config

#

although i also use prettier, and i didnt realise it reformatted the file when i saved

#

xd

#

there's no prettier config in the venbot repo so it uses the prettier defauklts

austere talon
#

yes i dont use prettier

#

thats why

turbid hatch
#

ur welcome

#

mwa

austere talon
#

now you made the account for nothing (kinda) ๐Ÿ’”

#

but now u will become avid codeburger fan

#

:3

turbid hatch
#

if i ever want to commit to venbot again i can!

#

codeberg no ssh key verif

#

cannot become fan

#

:(

austere talon
#

pr support

#

testing cobu prs is like

charred monolithBOT
olive aurora
#

cobu cli when

#

poor cobu

austere talon
#

slight criticism @olive aurora

#

it should probably not nuke the hi

olive aurora
#

why not

austere talon
#

in case its like some other relevanbt comment

olive aurora
#

mm

#

I could add an option

#

but thats what the other license header plugins did

olive aurora
#

tho it ignores jsdoc

charred monolithBOT
austere talon
#

anyway looks good

#

inb4 everything explod

olive aurora
#

eslint-plugin-simple-header is actually malware i just made it ignore ur pc .. .

austere talon
#

it explo ๐Ÿ’”

olive aurora
#

HOW

austere talon
#

jk

#

it work

#

i love this

#

blank pfp

olive aurora
#

blank

austere talon
#

anyway

#

thank u this seems to work great

#

well based on my testing

#

inb4 it explo later

olive aurora
#

ven does not trust me at all

austere talon
olive aurora
#

hater

austere talon
#

NONO

#

its just

#

refactors kinda scary

#

and last time i tried changing header plugin everything exploded

#

but the new headers kinda fire ๐Ÿ”ฅ

olive aurora
#

duuuuh i made it

#

my software contains no bugs ever

austere talon
#

biggest lie i ever heard

olive aurora
#

WTH

austere talon
#

my software contains all the bugs in the world ๐Ÿ”ฅ

olive aurora
#

true

austere talon
#

i checked simple header code

#

coudlnt find any virus

#

7/10

olive aurora
#

u love my json schema

austere talon
#

fire plugin idea: randomise nitro theme

#

picks a random nitro theme every time u open app

olive aurora
#

every 5 minutes

teal halo
#

10% chance of it being normal light theme to blind you

olive aurora
#

make a delay slider that goes from 1ms to 2days

charred monolithBOT
olive aurora
#

im gonna riir eslint-plugin-simple-header

#

and make it standalone

#

@spark cove does cargo have anything like scripts in npm

#

need

spark cove
#

IDK

#

idk

olive aurora
#

ik u can like

#

add cargo commands globally

charred monolithBOT
spark cove
#

omg ?!

austere talon
charred monolithBOT
austere talon
#

i hate blind people confirmed....

#

nah i was probably just brain afk at the moment

olive aurora
spark cove
#

i just got this email i hope i get real job

austere talon
#

vapoo

#

is that pr ready or do i need to like test it with someone in voice

spark cove
#

nah its ready

spark cove
#

NO

austere talon
#

okay so i dont need to test?

#

on god?

spark cove
#

a short term test would work

#

if there were any issue it would be like 30 minutes into a call

#

but it was fine for me after an hour

austere talon
#

okay hold on

#

help me test ๐Ÿ”ฅ

spark cove
#

so if any issues probably bad cpu issue

charred monolithBOT
spark cove
charred monolithBOT
austere talon
#

@spark cove maybe pr the vesktop css in a different pr

#

so i can merge asap

spark cove
#

ok sure

#

vesktop pr will already be another pr

#

cus in Vesktop repo

#

i'll just add the wasm loading indicator thing to like

#

a todo list or smth

austere talon
#

yop

#

i mean

#

doesnt need to be loading bar

#

just like some toast or smth

spark cove
#

loading would be easier and nicer i hate toasts

#

FUCK toasts ๐Ÿ’ฏ

olive aurora
#

wait does that already work

spark cove
#

fear

olive aurora
#

doesnt async start() work

#

start: async () => kinda virus

#

vee will migrate all prs to codeburger so i can review

mortal fractal
austere talon
#

wait why is vesktop stream audio quality so bad lmaooo

#

electron moment

mortal fractal
#

webrtc media engine is intentionally nerfed

austere talon
#

wdym

mortal fractal
#

discord restricts a lot of shit for no reason for web

#

like forced 720p

austere talon
#

i made full hd for web

mortal fractal
#

better than my shitty thing

stark flint
mortal fractal
#

also is it fine if i add styles for settings components in pluginsettings/styles.css

#

ill prob work on changes tomorrow since im tired as shit from walking today

#

plus i need to refactor slate rules to get them to work properly

#

its something i forgot about after getting normal markdown working

solemn glacier
stark flint
#

no

solemn glacier
#

i mean generally you cant share computer audio when screen sharing entire screen no?

#

or am i missing something

mortal fractal
#

vesktop doesnt have the restrictions of disabling getUserMedia and coping with discord_voice like stock discord does

stark flint
#

for vesktop itโ€™s not a โ€œnewโ€ thing

solemn glacier
#

Got it

stark flint
#

it was implemented with the release of screenshare iirc

charred monolithBOT
cunning canyon
#

innerHTML

torn knot
#

huh

#

oh

#

would innerText work better in this scenario?

upper stratus
#

One message removed from a suspended account.

rich harness
#

you can't, thats for bd

torn knot
#

Innertext works, dunno if it will be any safer

rich salmon
oak hull
rich salmon
#

Ohh... Maybe API docs in plans, or in dev?

oak hull
#

not sure

rich salmon
oak hull
#

np

rich salmon
#

Or i don't know something

half shell
#

Is it possible to wait for an async func in a context menu patch? If I wait for it it just loads then disappears constantly and if I useAwaiter Discord crashes - Basically want to access & edit DataStore

rare shale
limber skiff
#

W PLUGIN

charred monolithBOT
spark cove
#

holy shit pull request number six was merged

#

thats insane

spark cove
#

wtgf

rich salmon
#

Thanks!!

charred monolithBOT
austere talon
austere talon
spark cove
#

ven help

#

wait actually nvm sory

torn knot
#

didn't know that

#

it it a react thing, or a dom thing?

#

dom thing

spark cove
#

dom

torn knot
spark cove
#

what the difference between the setter of innerText and textContent

#

i only see getter differences

#

hm

austere talon
#

there are differences

#

in the way it interprets <br> and \n

spark cove
#

oh true

#

ven i think u you would like this song

#

maybe

rare shale
#

i need to fix fuck spotify

torn knot
spark cove
#

not planned lmao

torn knot
#

what's not planned?

spark cove
#

that issue was closed as not planned

torn knot
#

oh

#

I see

spark cove
#

it just looks like a silly

austere talon
#

i love random performance reports with 0 info

torn knot
#

and a comment saying "fix", It's very helpful and important information

charred monolithBOT
charred monolithBOT
spark cove
#

ok imma just do it in the ai pr

#

real

#

wait

#

oh no i fucked something up

austere talon
#

you should split it into two prs

spark cove
#

help

#

i forgot u did a commit

austere talon
#

a separate pr making it download the correct rendered

austere talon
#

git pull && git push

spark cove
#

yea i

#

used the vscode sync button

#

so sad

austere talon
charred monolithBOT
#

from personal experience, i can say that gnome 40 on wayland OR x11 is broken as fuck, especially with scaling and a high res display. i've used fedora for a year before switching back, this happened with other apps as well. i have not found a fix.

my only advice is to switch to something more user-friendly like zorin, i can't tell you if this is fixable or not.

from personal experience WayLand sucks atm. It has issues with Nvidia (at least had 3 months ago) i suggest to stick wit...

spark cove
#

@austere talon

#

did u copy the plugin or

#

rename it to just .web.

austere talon
#

rename

#

to .web

spark cove
#

oh ok things ok

#

things ar eok i figure d itout

torn knot
spark cove
#

hold on my brain isnt braining

#

so

  1. NEW pr that adds preload builds
  2. add 'new' preload file to the existing vesktop pr then merge
  3. ai real merge later
#

?

austere talon
spark cove
#

therse already multiple renderer.css builds

#

it just has to download right

austere talon
#

no

#

updater exists

spark cove
#

ohh

#

wait

#

ohh

austere talon
spark cove
#

yes

#

real

spark cove
#

is real?

#

also should i move this to the new pr too

austere talon
#

maybe just split preload too now

#

while you're at it

spark cove
#

real

austere talon
#

though you'll have to edit build.mjs then

spark cove
#

its ok i will merge conflicts later

austere talon
#

do you want me to bootstrap super simple electron installer

spark cove
#

sure

austere talon
#

svelte would probably be fire

spark cove
#

real we will svelte

austere talon
#

but we need to structure the code in a way that the installer will also function as a cli

#

im not sure how we would best do cli though

spark cove
#

thats chill could be env var and just not init browserwindow

austere talon
#

i'm thinking

#

if invoked with no arguments gui

#

otherwise cli?

spark cove
#

mm that works too yea

#

maybe easier except i think argv will be length 1 instead of 2 in prod

#

not sure

#

im imagining in dev argv will be [node, script] and in prod will be [exe]

#

create-svelte-electron-app is real

austere talon
#

why tho

#

just do it ourselves and use svelte kit or astro

spark cove
#

just as a reference

#

for me

austere talon
#

would allow us to change the ui without update to the installer

#

but that's probably kinda cursed

spark cove
#

ya thats cursed cus main/renderer desync

lime stone
#

uhhh

#

whyyyy

spark cove
#

if someone has old installer file

austere talon
austere talon
#

real

lime stone
#

that is very concerning

spark cove
#

ye

austere talon
#

what is concerning toad

spark cove
#

toad whatsr wrong

lime stone
#

concern

austere talon
#

explainn

spark cove
#

lmk if im missing smth

woeful bisonBOT
#

The tag fish has been added!

#

๐ŸŸ

#

@here

lime stone
#

wait

#

it's global?

#

oh, i got confused i'm so sorry

#

THIS ISN'T BOT COMMANDS

tawny cipher
lime stone
#

lol

#

i can't delete my commands

#

github is a bot

#

:trollshrug:

charred monolithBOT
austere talon
#

how do i disable tags or make them mod only

spark cove
#

disable the slash command

austere talon
#

weird choice to have tags usable by everyone

austere talon
spark cove
#

for at everyone

austere talon
#

cam u do

spark cove
#

in integration

#

mayb

#

no i dont have the perms

austere talon
#

try now

spark cove
#

oh real

#

ok i think i realed on it

#

someone get me the manager ๐Ÿ˜ญ

spark cove
#

psxhacker123

stark flint
#

๐Ÿ”ฅ

charred monolithBOT
spark cove
#

vee vee vee

tawny cipher
#

pee pee pee

austere talon
#

wait this is weird

spark cove
#

cloudflare ipv6

charred monolithBOT
spark cove
#
function createExternalStore<S>(init: () => S) {
    const subscribers = new Set<() => void>();
    let state = init();

    const getter = () => state;
    const setter = (newState: S) => {
        state = newState;
        for (const cb of subscribers) cb();
    };

    return {
        get: getter,
        set: setter,
        use: () => {
            return React.useSyncExternalStore<S>((onStoreChange) => {
                subscribers.add(onStoreChange);
                return () => subscribers.delete(onStoreChange);
            }, getter);
        },
    } as const;
}
austere talon
#

what the

spark cove
#

trolly

lime stone
#

amazing

charred monolithBOT
austere talon
#

i didnt know that was a thing

#

i just implemented the same shit manually using useEffect

#

well kinda

spark cove
#

useSyncExternalStore is cool but i dont know how possible it is to do efficient transient updates with it

#

actually it would be easy nvm

#

@austere talon should i move that to utils and add transient updates

#

transient updates like const isLoaded = loadedStore.use(s => s.isLoaded) and the component doesnt actually rerender unless that prop changes, even if the store updates

#

cus then it would be a REAL budget zustand

oak pier
#

i've been looking for a plugin that could tell me if i'm not used a server in x amount of time so i'm able to leave servers im inactive in sorta passively, idk how to make plugins for discord so I was wondering if anyone could make it

charred monolithBOT
tawny cipher
charred monolithBOT
austere talon
#

it's a silly

quaint sapphire
rare shale
#

where is my hello world nyaboom

austere talon
#

whar

#

use a different id

charred monolithBOT
rare shale
spark cove
#

u put messageLinkEmbed but vee saying use another id

#

cus that one prob taken

austere talon
#

if you use same id as a different plugin they will conflict

#

honestly idk why we even use ids but shrug

rare shale
#

YES

#

FINALLY

#

HOLY SHIT

#

I HAVE MY FUCKING HELLO WORLD

verbal pumice
austere talon
#

since ids have the inherent risk of conflict

verbal pumice
#

like

spark cove
#

const removeAccessory = addAccessory(() => {})

verbal pumice
#

im dumb

austere talon
#

ye

#

or just make you pass the same func twice

#

vencord's apis are kinda inconsistent in that sense

#

some make you pass an id, others make you pass a function others make you pass a function and return the same function

spark cove
#

TRUE like removeEventListener

rare shale
#

when i hover over the message this gets re-called

verbal pumice
#

yes
discord big dum dum and rerenders messages on hover

rare shale
#

what do i do nyaboom

spark cove
rare shale
#

true

spark cove
#

and then also use useAwaiter instead of useEffect

rare shale
#

could you explain more?

spark cove
#

mm in vc

normal sleet
#

Anyone know if there's CSS to make a certain user's name display as a certain colour?

lunar ravine
austere talon
#

THIS-IS-NOT-A-BACKUP

verbal pumice
#

(it is a backup)

lime stone
charred monolithBOT
#

The loading screen never disappears when attempting to start Vesktop with the --ozone-platform=wayland flag. Everything else seems to initialize correctly, I can hear it join a VC if I was previously there, but the loading screen remains, and the rest of the applications fails to load. The flag works fine in normal Discord.

I'm running the Nvidia version of Hyprland (ab73183) on Garuda Linux with the 6.4.9-zen kernel, and vencord-desktop-git installed from the AUR.

charred monolithBOT
spark cove
#

github webhook had a skill issue

normal sleet
austere talon