#๐Ÿ‘พ-core-development

1 messages ยท Page 101 of 1

turbid hatch
#

I CAN DO THIS

real flower
#

that's easy

turbid hatch
#

its fuck easy

austere talon
#

with your feet on top of ur legs

real flower
#

balls dont get in the way of that

royal bane
#

what is it

#

send google image

austere talon
#

dont just say its easy

#

try it rn

royal bane
#

SHE LOOKS SO ANGRY

median rapids
#

i think i would have to break a joint or 2 before being able to do that

turbid hatch
#

like this right

#

more or less

austere talon
#

right feet BACK

turbid hatch
#

yeah this seat is too small for it

#

sec

royal bane
#

how

real flower
#

i want to throw this at children until it works
once it does i think itll fix streaming

royal bane
#

NVM

turbid hatch
#

there

#

wow why are my heels white

#

wtf

#

weird

turbid hatch
austere talon
#

this is the most normal vencord dev conversation

real flower
#

true

royal bane
#

i sit like that on my chair

austere talon
#

NO YOU DONT

#

sitting like this is painful

royal bane
#

yes

#

i did it during final exams

#

too

austere talon
#

maybe cause im so thin

royal bane
#

its comfortable

austere talon
#

idk

#

brother

#

ur legs start hurting after a while...

turbid hatch
#

the issue is like

#

my thighs are quite big

royal bane
#

it might not be pressed up against my body as much tbf

turbid hatch
#

so getting into the pose is a lil difficult but once i do its okay

austere talon
#

Lotus is one of the yoga poses that most commonly causes injury.
LOL

turbid hatch
#

but then my bones hurt

charred monolithBOT
turbid hatch
#

i just saw the email btw

#

lmfao

austere talon
#

The yoga guru B. K. S. Iyengar notes that people unused to sitting on the floor will initially feel "excruciating" pain in the knees, but that this subsides with practice, until the pose becomes relaxing, both restful and alert and hence ideal for pranayama.

royal bane
#

it feels fine

#

am i doingnit wrong

turbid hatch
#

RESTFUL AND ALERT

#

THAT IS A FUCKING JUXTAPOSITION

#

WHAT

austere talon
royal bane
#

yes

austere talon
#

not below

royal bane
#

touching my

#

the

austere talon
#

i can do it for like 5 minutes then it starts hurting

royal bane
#

bone

#

whats the bone called

#

hip bone??

austere talon
rain shard
#

Truely a developer disscusion

austere talon
#

we are meditating

rain shard
#

i see

#

one second

austere talon
royal bane
#

soothing

real flower
#

i tried it for a second

#

got about .25 of the way there

#

and got a cramp

#

nvm that

royal bane
#

yeah no i sit like this normally cause it makes me feel all squished

austere talon
#

if u cant do it dont force it youre just gonna hurt urself

#

๐Ÿ™

turbid hatch
#

yeah my bones hurt now

austere talon
#

some people just physically cant do it

turbid hatch
#

im going to take blahaj and sit back down normally

austere talon
#

you stretched

real flower
#

my neurons hurt

austere talon
turbid hatch
austere talon
#

can u guys put ur foot behind ur neck

turbid hatch
#

RUNNING AROUND IN A FACTORY

rain shard
#

Is it bad I'm unable to use bitwarden autocomplete in ungoogled-chromium

turbid hatch
#

ASDFJKANSDJKANSDUIOASUIDN

royal bane
#

but i can get both legs behind head easily

austere talon
royal bane
#

am just flexible

real flower
turbid hatch
#

i cant wait to go to site

turbid hatch
#

ehe

rain shard
#

god gtk right click on ungoogled-chromium is so laggy

#

idk why

austere talon
#

why u right clicking

turbid hatch
#

im not quite that flexible

rain shard
turbid hatch
#

i used to be

austere talon
#

hop on ctrl shift L

#

i can put my foot behind my neck

royal bane
#

i can do both

turbid hatch
#

can you do the splits

royal bane
#

roll down the stairs

rain shard
austere talon
#

i cant do splits no

rain shard
#

i completely forgot

turbid hatch
#

L

austere talon
#

i probably could if i practiced

turbid hatch
#

yeah im out of practice so i cant anymore

austere talon
#

i never practiced any of this i just am flexible by nature idk

#

should i teach myself the split

royal bane
#

if i try n do the splits it feels like my body is being ripped in half

austere talon
#

what are the benefits

turbid hatch
#

uh]

#

you can claim you dragged your nuts across the floor

#

idk

austere talon
#

Practicing the splits is great for your joint health, flexibility, and balance โ€” qualities that become more and more important as we age. All of these things factor into how much range of motion we retain, our physical independence, and overall quality of life

#

ohh

austere talon
turbid hatch
#

oh i guess tahts useful too

turbid hatch
austere talon
#

NO

#

DOINTHUVIJOJIOGSDFJOGIDS

#

SOTP

#

STOP

#

DIE

turbid hatch
#

SJNDKLFJIOSDFHJUIOASDIOAOIDJAIODJ

austere talon
#

were gonna kill u

turbid hatch
#

oh that is not a good gif

#

to post here

#

whoops!

rain shard
#

my life is complete, i finally fixed my hyprland dotfiles and i am now able to experience arch to its fullest

austere talon
#

THEN SHUT UP BITCH

rain shard
austere talon
#

quora users are so dumb bro

#

typing answers on topics they know nothing about

turbid hatch
rain shard
turbid hatch
#

WITH THE BOLDING

rain shard
#

legitmately

austere talon
#

tbf that is the average american too

turbid hatch
#

I CAN JUTS IMAGINE HE'S SPEAKING TO SOMEONE

real flower
#

i dont mean to disturb the disturbing convo but is this supposed to be defined somewhere or

turbid hatch
#

AND HE GOES

#

Hey dude,

woeful sable
real flower
turbid hatch
#

I.... don't have a clue

austere talon
rain shard
#

Hey!
I don't have any idea.

rain shard
austere talon
real flower
#

ohhhhhhhhhhhh

#

arguments references this?

rain shard
#

holy fuck i can finally do my school work on my tower instead of this shitty loaner laptop

real flower
rain shard
#

this is so much better

austere talon
#

arguments is an array(like) that holds the arguments passed to the function

turbid hatch
austere talon
#

you don't have to use it, it's just the easiest way to forward args when youre monkey patching

real flower
#

ohhhhhhhhhhhhhhhhhhh

rain shard
#

do you guys like my waybar :3

austere talon
#

I read the thread cause I was curious how hard other german speakers found finnish

real flower
#

oh my fucking god

austere talon
#

and then found that response lmao

real flower
#

er ist DUMM und STUPID

#

yes i just wrote stupid

#

cry

#

my german is NOT great but uhh it works

turbid hatch
#

i need to get my non-existent girlfriend to do my hair

#

OH

#

RIGHT

#

yes

#

if you ever see me with a short haircut i got a girlfriend

rain shard
turbid hatch
#

but at this rate my hair is gonna be like

#

butt length

#

:p

real flower
austere talon
turbid hatch
#

xddd

charred monolithBOT
real flower
#

DAMN

austere talon
real flower
#

h o w :sheepish:

charred monolithBOT
real flower
#

OH I GOT IT

woeful sable
#

what does that do

real flower
#

oh god that's long

real flower
charred monolithBOT
austere talon
#

basically

#

if someone

#

dms you

woeful sable
#

interesting, nice idea

austere talon
#

like this

real flower
#

that's

#

how i

#

type

#

in

#

dms

#

LMAO

austere talon
#

youre a monster

real flower
#

HAHHAHAHA

woeful sable
#

youโ€™re

real flower
#

its kind of

austere talon
#

the other person be like
PING PING PING PING PING

woeful sable
#

๐Ÿ’ฅ

real flower
#

habit

#

just to type shorter sentences

austere talon
real flower
#

to show where my words would pause

real flower
austere talon
#

NEVER dm me || /s ||

woeful sable
#

dming you

real flower
#

aAAHAHAHJKSDFHJKSDHJAKF

#

streams work

#

but my gf isnt here

#

so i cant test if

#

audio

#

AUGH

woeful sable
#

use a alt

#

on phone

real flower
#

ughhhh i dont remember my altttt

austere talon
#

i can help u

real flower
#

a

#

wait

#

my gf isnt at her pc

#

but if i play something loud enough ill hear it

austere talon
#

just hop in voice

#

i can help u test it:p

real flower
austere talon
#

but dont talk or you are going to explode

real flower
#

omkay

charred monolithBOT
frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 668201
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode ๐ŸŽ‰:
T0.__getLocalVars is not a function

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
austere talon
#

jumpscare

#

wait why did u bump all the deps @real flower

woeful sable
#

I was looking here and it just appeared

austere talon
#

AHAHAH same

#

bro legit i opened this channel to type smth

austere talon
#

and 2secs later i got JUMPSCARED

woeful sable
#

ong bro ๐Ÿ˜ญ

austere talon
#

like genuinely how did u even manage to bump lmao

#

u had to like have deliberately done that

real flower
austere talon
#

๐Ÿ˜ญ

real flower
#

just overwrite my packages

#

if u can

#

(the newer version of electron is better for my use so im gonna keep it for now on my end)

real flower
#

(so like when its done)

real flower
#

(in 6 years)

#

gOOD idea

#

i will do that TOMORROW

austere talon
#

da button

real flower
#

O

austere talon
woeful sable
real flower
#

and i assume package-lock or whatever it is for pnpm is all that's uploaded of node packages

frail skyBOT
#
Bad Patches

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

BetterRoleDot (had no effect):
ID: 461884
Match: /"dot"===\i/

IgnoreActivities (had no effect):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i)\.name.+?null/

IgnoreActivities (errored):
ID: 238852
Match: /(?<=\(\)\.badgeContainer,children:).{0,50}?name:(\i\.application)\.name.+?null/
Error: Unexpected token ','

IgnoreActivities (had no effect):
ID: 668201
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

Party mode ๐ŸŽ‰:
T0.__getLocalVars is not a function

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'ihe' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
real flower
austere talon
austere talon
#

fucking meanie

real flower
#

:(

real flower
woeful sable
real flower
#

ok wtf is a shiggy and where did it come from and why is it great

austere talon
#

REPORTER EVEN HARASSING ME VIA MAIL

real flower
#

LMAO

real flower
cloud bramble
charred monolithBOT
median rapids
#

husk

limber skiff
#

lmao ignore activities now errors

tame escarp
#

just fix the plugins ๐Ÿ”ฅ

#

so it comes back

median rapids
#

I don't mean just for the plugins lol

#

it's useful

charred monolithBOT
mortal fractal
#

dzi aluded to it being intentionally removed but that doesnt mean shit

charred monolithBOT
austere talon
#

why is this api so cursed

#
async paste() {
        const clip = (await navigator.clipboard.read())[0];
        if (!clip) return;

        const data = new DataTransfer();
        for (const type of clip.types) {
            if (type === "image/png") {
                const file = new File([await clip.getType(type)], "unknown.png", { type });
                data.items.add(file);
            } else if (type === "text/plain") {
                const blob = await clip.getType(type);
                data.setData(type, await blob.text());
            }
        }

        document.dispatchEvent(
            new ClipboardEvent("paste", {
                clipboardData: data
            })
        );
    }
#

wtf is this??

median rapids
#

i dont believe that's true

#

especially not with this

mortal fractal
#

yeah same

austere talon
#

i dont remember that

mortal fractal
#

i wouldve said to put the options in the appimage scope but thats just micro-op more than anything

austere talon
#

they also use it in the normal relaunch

#

i dont actually think thats even needed, i think element just uses that flag itself to detect reluanches

#

but idrc its whatever

charred monolithBOT
#

Copying links in the Discord app now appends a ton of extra tags to the end. This seeks to fix that.
This was added for a day or two, removed for a day or two, and has since been added back again.
This implementation uses wildcards in case Discord changes this for old media.discordapp.net links.
That being said, I did a bit of research, and it doesn't seem copying media.discordapp.net links appends anything extra to the end, so this may be unnecessary. If this causes problems, let me know.

charred monolithBOT
charred monolithBOT
#

We'd rather you didn't because people will come to us when it breaks and none of us will be able to provide support for it. Not just on GitHub, but on Discord too. People expect that when a package exists we will provide support for it, but in our case we don't have a clue how some of the unofficial repackages of Vencord work and we would rather do it ourselves in the future when we have a better understanding and there's more demand.

So, for the reasons above, please don't.

turbid hatch
#

i wish people would actually ask us before doing these things

#

like

#

in discord

#

he was asked to but he didn't actually do it

#

sigh

charred monolithBOT
#

We'd rather you didn't because people will come to us when it breaks and none of us will be able to provide support for it. Not just on GitHub, but on Discord too. People expect that when a package exists we will provide support for it, but in our case we don't have a clue how some of the unofficial repackages of Vencord work and we would rather do it ourselves in the future when we have a better understanding and there's more demand.

So, for the reasons above, please don't.

As ...

charred monolithBOT
turbid hatch
#

@austere talon please close this he doesn't get the point

charred monolithBOT
charred monolithBOT
half notch
#

discord now applies tracking data to media links when you copy them

#

could possibly just make a PR to add a native option to vencord to strip it out

cunning canyon
gritty grove
#

but itโ€™s not needed?

crude hearth
#

guhhh cant enter

lime stone
#

guhhub

crude hearth
#

I have worlds worst dns

#

(turkish)

lime stone
#

clicking close in vesktop's updater window closes the main window

tawny cipher
lime stone
#

i haven't updated, but i won't be able to reproduce it unless i'm using an outdated version guhh

austere talon
#

we could just make our own snap

turbid hatch
#

yeah but i dont know how snap works yet

#

it probs wont be difficult but i would like to at least learn about snap more xd

austere talon
#

electron builder seems to be able to both build and publish to snap

#

but im reading the docs and I don't understand how you would add your auth token

charred monolithBOT
#

Also, snap is very immuted to these breakages, as I am seeing with webcord, another discord client. Snap one doesn't have this issue.

This is simply not true. the issues you linked is native to electron itself, so it also occurs on snap unless the snap is an older version

In any case, we will be publishing our own official snap package. Please do not make your own.

austere talon
#

looks like u just need to login to snapcraft

#

so im guessing we would need to make github ci log in before running electron builder

#

and it should just auto publish with no further config

lime stone
#

would arRPC work correctly? under flatpak i believe it had to use a different path

austere talon
#

dunno

lime stone
#

in fact why not publish an official flatpak? more people would use it than snap

austere talon
#

make it

lime stone
#

somebody did + I'm lazy

#

xD

austere talon
#

somebody = random person we have never seen in our life, this we cannot trust

#

packages must be either by us or by someone we trust, otherwise we can't officially support or endorse them

charred monolithBOT
#

Also, snap is very immuted to these breakages, as I am seeing with webcord, another discord client. Snap one doesn't have this issue.

This is simply not true. the issues you linked is native to electron itself, so it also occurs on snap unless the snap is an older version

Snap uses a stable version of electron and every other packages. That's why, I said it's very immutable.

austere talon
#

??

#

that's just

  • not true
  • you can just use a "stable version of electron" on other packages and get the same result
verbal pumice
#

sanest snap fan

charred monolithBOT
#

Content

I admit that I copied the title from another Issue ( #989 ) but I have some ideas in mind like:
-Keeping logs between restarts of discord and if it's possible a little menu to keep track of how many logs you have per server with the option to delete logs from one server or all in order to avoid having too much unnecessary data.

-Choosing the servers you want to activate the logger on but more simply like "right click on a guild and you have a option in the list to activate or...

tawny cipher
#

bot that closes and locks unapproved issues when

lime stone
#

hmm

verbal pumice
#

ig people see the other feature request issues and think they can make one too

#

perhaps close the silent ones and move the ones with work being done on them to the server?

austere talon
#

if you read that and still think opening an issue is okay, something has to be wrong with ur brain

lime stone
#

maybe try lowercase xd

austere talon
austere talon
lime stone
#

capital letters are a bit much

#

it's like the page is shouting at you

verbal pumice
#

feature requests in the support channel doesnt sound right

tawny cipher
verbal pumice
#

non contributors can still use issues properly

woeful sable
#

make a channel with a 3 year slow mode

verbal pumice
#

i still support my old idea of making a bot that auto closes issues which get enough husks here

austere talon
lime stone
#

I don't know whether that's a good thing or a bad thing

verbal pumice
#

good thing

#

so if you miss them you can be called dumb

woeful sable
#

make a slash command with @nimble pendant that sends suggestion/features to a suggestions channel, only contributors/donators can use and if u donโ€™t like shrimply deny the suggestion

#

use the command in #๐Ÿค–-bot-commands

lime stone
#

could just only allow the channel to be written to based on roles

#

that wouldn't require a bot

woeful sable
#

true

#

but would keep it cleaner if used as a embed

lime stone
#

it would make it annoying to search as embeds don't have text highlighted

#

also, it doesn't really look better imo

#

also would mean you can't edit it without another command

woeful sable
#

shrimper

lime stone
#

shrimple

#

how many times did it take

charred monolithBOT
lime stone
#

ah

austere talon
lime stone
#

?

#

any better?

#

i don't understand this sorry

lime stone
austere talon
lime stone
#

oh

#

you probably understood but i'm talking about this - currently is not highlighted

#

it's pretty nice

woeful sable
#

i mean it does kinda suck

lime stone
#

oh god i don't like that suggestion system

woeful sable
#

itโ€™s horrible

lime stone
#

i assume it has no threads?

#

i've seen that too many times

woeful sable
#

i donโ€™t think so

lime stone
#

pain

woeful sable
#

there could be a forum? with limited access ofc

lime stone
#

i remember suggesting a server used a forum and somebody said "no cos the bot would be pointless"

lime stone
woeful sable
#

just like search reply

#

or you could bundle it with that

lime stone
#

BetterSearch

#

ActuallyUseableSearch

austere talon
#

the way the plugins page does it is funny

#

it's kinda laggy on phones but idc enough to improve it cause its kinda whatever

lime stone
#

it's laggy on firefox (firefox is obviously a phone)

austere talon
#

use the search bar a bit

austere talon
lime stone
#

maybe updating the url constantly has performance issues? or maybe just a skill issue yeah

austere talon
#

honestly idk how we could even improve it

#

I don't think the link update matters

woeful sable
#

does keep jumping up and down tho

lime stone
#

nvm, just typing a single letter takes longer

austere talon
#

it performs string.includes() for like 400 strings every character you type

lime stone
#

but i'm guessing it's more related to rendering

austere talon
woeful sable
#

how about that?

lime stone
#

why wouldn't you discuss on gh

austere talon
#

discuss what

lime stone
#

the suggestions bleh

woeful sable
#

you could have guidelines for the suggestion/update/support posts there where they obviously got to use specific tags

#

could be clearer and combines it together

austere talon
#

no

#

people don't read

woeful sable
#

people should just get a brain then

austere talon
#

you can make a suggestion thread if you're really that masochist but I will not be moderating or ever looking at it + you're wasting your time

woeful sable
#

if they canโ€™t read basic text on the github how would they ever find a thread

#

pointless

charred monolithBOT
turbid hatch
real flower
#

it's one of my favorite frameworks
after trying react and a bit of nextjs
nope

austere talon
#

react sucks

#

svelte is way better

verbal pumice
#

better than react isnt a high bar

tawny cipher
#

when js is involved good is already a bar that's almost unreachable

austere talon
#

nuh uh

tawny cipher
austere talon
#

I really wanna get vesktop on flathub

#

I think electron builder can auto generate flatpak

#

so we can have it here

charred monolithBOT
tawny cipher
#

I don't think that's how that works

austere talon
#

it is tho wdym

tawny cipher
#

no the issue comment lol

#

one merge pwease

austere talon
#

?

#

theyre just saying the pr is now ready

#

when it was not previously

charred monolithBOT
real flower
#

omg i would LOVE a vesktop flatpak

austere talon
#

make

real flower
#

shhh

#

shhhhhhhhhhh

austere talon
real flower
#

hmm

#

what if you set up github actions to auto rebuild and uhh i wonder is it possible to make it also upload to repos

austere talon
#

dunno

#

making the addon now

real flower
#

addon for wha huh kljjfkgfdngd

austere talon
#

virtmic dummy

#

this is annoying

#

why doesnt vscode detect it

#

should this not just work

#

its in /usr/include

#

oh huge

real flower
real flower
charred monolithBOT
tame escarp
#

wait why cant you write this in rust joe_angry

real flower
#

pipewire api

#

also

#

afaik v no likey rust that muh

tame escarp
#

someone has to have made a thing for node native libraries in rust

olive aurora
#

unsafe unsafe unsafe unsafe

tame escarp
#

SOME DAY i will get vee to like rust

real flower
real flower
real flower
#

YOU WERE JOKING>?>><F <>DS<FSS>DFDSJ

austere talon
real flower
#

i didnt realize,,,,

austere talon
#

im just gonna copy code from discord-screenaudio

#

and turn it into a node native addon

tame escarp
real flower
#

yeah we stealin

olive aurora
#

its memory safe

#

guys its memory safe

#

memory safety guys

tame escarp
real flower
#

guys im memory safe

#

i forget stuff so it wont clog my brain

#

other than uhh

lime stone
#

C++ is pretty good imo shiggy

real flower
#

humans are 50-60% banana

#

genetically

olive aurora
#

vee shouldnt write rust actually

#

he is too stinky to use rust

tame escarp
#

it's true

real flower
#

wtf oh no

lime stone
real flower
#

what

#

the

#

fuck

#

what the fuck

#

i hate it

austere talon
#

why tf is binding.gyp a python file

#

its just json

lime stone
tame escarp
#

json => JpythSon Object Notation

real flower
#

budget icann

real flower
#

something in my bones

#

says that's not true

tame escarp
#

nahhhh it's gotta be right

olive aurora
#

json stands for Java Structural Object Notation

lime stone
#

๐Ÿ˜ญ

real flower
#

JoneStown Orange Nest

tame escarp
tame escarp
real flower
#

LMAO

lime stone
#

XML = eXtremely Marverlous Language

real flower
#

ive heard in minecraft but not not in minecraft

olive aurora
#

XML is XSS Markup Language

real flower
#

XSS

#

eXtra Stinky Socks

olive aurora
#

xss is eXtended cSS

real flower
#

CSS
Cascading Style Sheets

olive aurora
#

css counter strike source

real flower
#

HTML
House That Makes Legs

tame escarp
#

this conversation is making me make legs and run away

real flower
#

LKGAKLSDHLGSADLAHGSDJLHASLHJLASDHLK

#

like

#

you made legs

#

left them there

#

and ran

lime stone
#

whgat???

tame escarp
#

more legs

#

to run faster

lime stone
#

ahh

olive aurora
#

simply create more legs in front of you and discard your old legs

#

movemetn

lime stone
#

WHGAT?

real flower
#

the germn word for legs is leggies (trust me im being fr)

austere talon
#

i hate how hard dependencies are in C

tawny cipher
#

use rust or zig I suppose

#

besides near hardware homebrew c is kinda gone underwater

austere talon
#

not helpful

lime stone
real flower
#

JASDAHAHHAHAHA

#

I GOT THIS INTO AN INFINITE LOOP A SECOND AGO

lime stone
#

at least that puts people off using libraries like left-pad

lime stone
real flower
#

shhhh

austere talon
real flower
#

grr

#

also change the virtmic name to vesktop-virtmic

#

instead of discord-screenaudio

lime stone
#

i know for sure vector doesn't have append

#

it has push_back

austere talon
#

omg so close to compiling

austere talon
#

didnt update that code yet

#

c++ as a language is fine

lime stone
#

are you changing something to use the standard library?

austere talon
#

but the build system and dependency management

#

HORROR

lime stone
#

make a good one

austere talon
#

omg

#

why does libraries have to specify absolute path

real flower
#

okay so
making the wayland stream show stream settings and apply them is a bit more tricky than i thought cuz it uses a different system for handling constraints

#

so

lime stone
#

ven++

real flower
#

IM GONNA DO CSS

lime stone
#

what's virtmic

real flower
#

basically it creates a virtual microphone to capture application audio, before routing it back to the user and then also shoving into the stream

#

so screensharing with audio works now

#

on vesktop

#

(on linux) (macos is another problem)

real flower
#

(not mine to fix)

lime stone
#

isn't there already a virtual microphone to capture application audio

real flower
#

wha

lime stone
#

i've rickrolled people with that

austere talon
#

relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

#

horror

real flower
#

if there was this would be easy because application audio would already be captured

lime stone
#

in the list of microphones there's usually one which corresponds to the system audio

real flower
#

that's not correct

#

we're making one that adds JUST the application you stream

lime stone
#

oh

real flower
#

so

#

feature parity with discord-screenaudio

#

but with better ui

austere talon
#

GHIOUJEhuji9grEWuihGERWUIhG

#

IT COMPILED

#

FINALLY

real flower
#

yOO

#

did u change the virtmic name?

#

if so ill have to edit the audio patch

austere talon
#

hmm not fully correct yet

real flower
#

oop

charred monolithBOT
real flower
#

that basically assures that it wont be used by some random device

#

still think that would be funny tho

#

uhm

#

i have nO idea

#

if this is my doing on accident

#

or my laptop being weird

#

wait might be the nvidia gpu i keep in low power mode being fucky

#

lemme disable it

austere talon
#

FINALLY

#

omg

#

it took me so long cause

#
- -lpipewire
+ -libpipewire-0.3
#

so you dont have to specify version

#

ye works

#

okay library is almost done

austere talon
real flower
#

why nOT

#

:(

lime stone
#

veskmic

real flower
#

VIC

lime stone
#

vmicstop

austere talon
#

cause its not gonna be exclusive to vesktop silly

real flower
#

shhhh

#

fine

#

what we call it

olive aurora
#

venmic

real flower
#

electron-screenaudio-virtmic?

lime stone
#

vens-epic-mic-thing

real flower
#

vmicenirt

austere talon
#

vencord-virtmic or smth

olive aurora
#

vmic

real flower
#

wait

lime stone
#

:o

real flower
#

oh DAMN it could be in normal vencord i just realized

lime stone
olive aurora
#

vencord/vmic

real flower
#

for vencord audio streaming too

#

:D

#

itd need to be rewritten for web tho afaik

austere talon
real flower
#

tf have i done

#

gnome says im streaming

#

vesktop says im not

#

no error message

#

ah

#

i swear i wrote catches for all of my promises

#

i dont know if its my code

austere talon
#

that's a browser error

#

you gave it a device that doesn't exist

austere talon
real flower
#

augh

austere talon
#

if the error is not recoverable then there's no point catching it

real flower
#

shhh

real flower
#

i updated to upstream vesktop for testing

#

fuck

#

that works

#

wtf did i do

lime stone
#

doesn't that use an external module?

austere talon
#

?

#

Im writing a node addon rn

lime stone
#

wouldn't you have to modify discord_voice or whatever is used for screensharing

real flower
#

no

lime stone
#

ducc I probably missed some messages

real flower
#

i wrote a patch that takes the audio from a virtual microphone and feeds it into the stream

#

that works

#

tested working

austere talon
#

that only works on web

lime stone
#

patch for what?

austere talon
#

you need slightly different code for desktop

#

but it works similarly

real flower
#

*yeah

#

that

real flower
lime stone
#

sigh where's the first message where you started talking about this?

real flower
#

it patches the navigator.mediaDevices.getDisplayMedia function

lime stone
#

oh

real flower
#

here uhh

#

take a look at src/renderer/patches/screenShareAudio.ts

lime stone
#

so it's a monkey patch which means you don't need to patch discord_voice or whatever

#

you need to format this code

real flower
lime stone
#

shup

#

is there a reason why the rpc server can't be run from the renderer process?

#

(I don't have a lot of Electron knowledge, sorry)

#

shrug i guess i should try it and see

austere talon
#

renderer is a browser

#

it cannot run servers or write files

#

main = nodejs process
renderer = browser process
preload = bridge between the two

lime stone
#

isn't preload part of renderer?

austere talon
#

it's the bridge between main and renderer

lime stone
#

/ the same process

lime stone
austere talon
#

why do you care

lime stone
#

because i'm curious

austere talon
#

preload has access to both browser and nodejs

lime stone
#

i'll just use google

austere talon
#

which you absolutely should

#

technically you can run all your code in preload instead of main

#

if you disable context isolation you can run renderer code in preload too

#

also terrible

#

powercord used to run entirely in preload and it was the worst thing ever (and sucks for security)

lime stone
#

well i thought preload was technically run in the renderer process just separate for security

austere talon
#

preload should basically have very little code

austere talon
#

it should only add a global for ipc and perform initialisation and inject styles and js

radiant reef
austere talon
olive aurora
#

electron security tips!
always make sure to include the following code in preload

contextBridge.exposeInMainWorld("electron", require("electron"))

this ensures electron can install its security features in your application

lime stone
#

๐Ÿ—ฟ ๐Ÿ—ฟ ๐Ÿ—ฟ

#

wouldn't it be more efficient putting rpc in preload?

#

otherwise you'd need to use ipc...?

lime stone
#

doesn't that just make it less efficient

#

[insert game] process -> vesktop main process -> vesktop renderer process

#

this results in multiple layers of ipc

austere talon
#

yes

#

so?

#

it belongs in main

#

idk what u want me to tell u

lime stone
#

why did somebody husk ๐Ÿ˜ญ

austere talon
#

electron ipc is very fast anyway

#

<1ms

lime stone
#

ah ok

lime stone
austere talon
#

the optimal way to use electron is to enable the sandbox feature

#

which sandboxes preload as well, meaning you cannot even use fs or similar in preload

#

so both renderer and preload are sandboxed

#

vesktop doesn't use sandbox because vencord's preload isn't made for sandbox (since discord desktop doesn't use sandbox either)

#

in any case running servers in preload is just bad

#

don't do it

lime stone
#

bleh okay

real flower
#

ohh oki

#

yk

#

I used to think electron was shit

#

turns out that's just discord

austere talon
#

electron is amazing

lime stone
#

electron is shit

austere talon
#

nuh uh

#

electron has crazy good DX and makes it very easy to create good UX

#

if you're still complaining about electron in 2023 you're weird / very misled

#

200mb disk usage is nothing

#

and electron can run very well, just popular apps like discord are made very poorly

lime stone
#

complaining about electron is fun though

austere talon
#

electron is good for users

#

why? because electron makes it very easy to make great accessible UI

#

many ui frameworks have way worse interfaces and limited accessibility options

lime stone
#

sounds more like it's good for developers (which makes it easier to make something good for users)

austere talon
#

no it's also good for the user

real flower
#

i do agree electron ui is very nice to work with

austere talon
#

because you get a better more accessible ui

real flower
#

rust ui stare

austere talon
#

web ui is superior to all other ui systems

lime stone
#

well there are some truly awful ui frameworks out there xd

real flower
#

youve got it all wrong

#

write your ui

#

in bytecode

#

pixel by pixel

lime stone
real flower
#

most performant ui

lime stone
#

awt ๐Ÿ˜

real flower
#

ui in grep

lime stone
#

what

austere talon
#

did u look into showing the resolution picker on wayland? @real flower

real flower
#

a bit

#

had to stop cuz it was breaking on my laptop

#

ill look in a sec when im done eating

austere talon
#

๐Ÿ˜ญ

real flower
#

im thinking of skipping

#

the uh

#

screensharepicker

#

and just calling streamsettings

austere talon
#

yeah ofc the screen picker should be skipped

real flower
#

and passing that to the function

austere talon
real flower
#

ye

jagged cloak
#

shig bounce

real flower
#

omg i am so nOT in the mood for css LMAO

#

guess i shall spend the time working on somethin else

austere talon
#

the addon is done

#

why is it so big

#

fear

real flower
#

how use

austere talon
#

just import it in main

#

it has two methods

#
export function getTargets(): string[];
export function start(target: string): void;
real flower
#

ooo

austere talon
#

getTargets returns a list of apps

real flower
#

time to fuck with that NOT today

austere talon
#

you should also add "[All Desktop Audio]" and [None] to the targets array

real flower
#

(i have work soon and i am tired)

austere talon
#

i honestly dont know how you would delete the virtual mic again

austere talon
#

by passing [None] probably?

real flower
#

hmm

#

maybe?

#

ill look into it

austere talon
#

oh wait

#

i mean

#

i didnt write any of this code idk how it works lol

#

i just adjusted it slightly

real flower
#

hmm

#

ill look at how its done

#

in discord-screenaudio

real flower
#

in userscript.cpp

#

it initialises the virtmic on app launch

austere talon
#

huh

#

so it spawns it as a different process

#

and just kills it to stop it

upbeat flare
#

hmm...

why cant webpack find CallJoin?

findByCode("M11 5V3C16.515 3 21 7.486")
real flower
austere talon
#

THIS TITLEBAR

real flower
#

EW WTF

austere talon
real flower
#

yOU CAN DO THAT????

#

THAT WOULD MAKE MY LIFE SO MUCH BETTER WHAT

#

OHH

real flower
charred monolithBOT
#
[Vencord/linux-virtmic] New branch created: main
austere talon
#

why is urs not ugly

real flower
#

i have a theme

#

sudo dnf install adw-gtk3-theme

#

apply it in tweaks

#

it makes all apps look like libadwaita

lime stone
#

ah nice repo

austere talon
#

WAIT

real flower
#

very pretty

austere talon
#

I DIDNT IMPLKEMENT START

#

hahahah

real flower
#

kljhasdhhgajsdhjgahjahjhah

austere talon
#

surely this is gonna work

lime stone
#

ah they were using qt; that explains a lot

#

a very "ah" moment

#

that was my first guess but i thought it would be weird for another library for this to be using qt

fathom leaf
upbeat flare
austere talon
#

it work

lime stone
mortal fractal
#

oh

#

cring

austere talon
mortal fractal
#

imo

lime stone
charred monolithBOT
lime stone
#
awesomeMethod();
return;

is a lot less cursed and more readable imo

austere talon
#

how

#

its the same thing

#

i find that extremely ugly personally

#

anyway this still needs some work probably

#

cause rn it does while(true)

#

since the way they do it is that they spawn / kill it

#

which is cursed

real flower
#

uhhh

#

what's the virtmic called btw

#

that it spawns

austere talon
#

it wont work rn

real flower
#

or is that defined in the ts code

austere talon
#

we could just use a nodejs worker thread

#

cursed kinda

#

idek if making it a node addon is smart at this point

#

we could just make it a binary like them

charred monolithBOT
real flower
#

if it could work its nice to make it available

#

but shrug

austere talon
#

okay so the way it works is incredibly cursed

#

discord-screenaudio spawns itself with --virtmic app

real flower
#

oh

#

g o d

austere talon
#

i think it would be cleaner to use a normal C thread or smth

real flower
#

honestly fair

#

i mean as long as we leave the code available

#

its better than