#πͺ -progaming
1 messages Β· Page 137 of 1
Done! 
softbanned @keen whale
@royal nymph can you make venbot not bad and actually make it delete
my chatgpt started doing this how do i fix it
change vpn ig
gamedev
is sb just ban and instant unban so it kicks ghem and purges all their messages
i remember when i was staff in another server and we used sb from wick bot thats what it did
yus!
blame discord not me 
it's just ban with delete messages
if it doesn't delete that's on discord
we can try on you
wait a few secs before banning ykyk
i think its a race condition
how
how is it race condition
explain

why do you hate rosie
funny
can i be rosie #1 Neutral
the bot will post its garbage in many messages
it posts in off topic venbot sees and softbans
but in that time frame it posts in programming and the ban was too early for it
why is this the second result
idk what the pagerank of e6 is but it's gotta be fairly high
because you are using duckduckgo
fres has something to do with this
golooglele seems to be fine
wait is that true?
I remember searching up normal sfw things in ddg images and all the results were nsfw
yes
yeah this is honestly very common
ddg is a bit strange
ddg knows its users
preach
least misleading error (I tried to npm publish, the problem was that I wasnt logged in (npm login))
its a scoped aka private package
which means you need to be signed in to be able to read it
its like private repos on github
hence the 404
makes sense
except that it's a public package and the error is giga misleading 
its not
its a @vencord package
which is force published publicly
but its a priv package
which you'd need to be logged in to verify
i agree its annoying
but it does make sense
get a job
@deep mulch install
best os
Hey guys, my project is currently written fullstack in nextjs, but because my school is offering me money for pretty big expansion and the project is bunch of mess im considering rewriting it and splitting the frontend and backend (to clean up the mess before it gets even more messy). I have some experience in Spring (to Kotlin), which would make my backend pretty well structure and if implemented correctly, I feel like it could end up pretty well, do yall think this is a good idea? For frontend Ive got no clue, but probably tanstack as that would make the frontend migration quite easy
Not the biggest fan of ktor tbf, I like how Spring is bloated and verbose
tanstack start is very good, i definetly recommend
also elysia is faster than spring
use elysia
true
from Elysia I like eden though
but the developer experience is also one thousand times faster
the typesafe backend calls are really cool
(like eden, validation (comes with type safe request propertires))
oh also elysia 2 is gonna have much less memory use
okay look im not the one hosting it
and theyre gonna write a custom zod backend so thats faster too
i really do not care about the requirments/performance
the school systems which run next to it use some ancient aspnet
me neither, elysia has better developer experience
anyways, it probably doesnt matter what backend framework you use, frontend matters mote
it might be just my point of view, but i really struggle seeing elysia in some bigger project; I can structure Spring quite easily into different project patterns, I can't see elysia in that
what patterns
CQRS/Vertical slicing/DDD...
also elysia is used by the thailand bank of agriculture
I cant argue that elysia is not good, I does really well, as a matter of fact, I works quite well in few of my small-mid sized projects. But after seeing how Laravel performs in one of 100+ tables project I maintain a bit, I feel like Elysia (with drizzle etc.) would not probably be the best stack
ive considered elysia already before, it was the first on my list lol
Drogon or custom stack is faster than yall
raw syscalls are faster gang
False
Syscalls are considered slow since they have to flush entire CPU pipeline
io_uring is way faster
Isn't uring itself a syscall tho
Usually yes but you can ask the kernel to poll your SQ
So that almost removes syscalls (theyre obviously still needed on startup)
This looks so clean
i made this plugin that replaces all discord emojis with your operating systems emojis and optionally forces others to see them in your own messages: \π§\β\πΎ (broken on mobile)
i originally made this for myself and its partially unfinished but just wanted to gauge whether anyone actually wanted this as a publicly available plugin or if its useless and im the only person that doesnt like twemojis, only thing though is that it uses MutationObserver and directly edits the dom (idk how to use patches)
I want a plugin that replaces emojis with unicode ones and a font that shows unicode mojis as twemoji
the plugin does replace all emojis with their unicode surrogate and it can be modified for each added element to have font-family set to a twemoji font
so very possible
also a very good use of cpu power because its hella unoptimized
arent unicode emojis those ugly lookin ones that appear when the orig emoji is not available
Unicode emojis are the real ones
If your system renders them ugly, get a better system
unicode emojis are just that
unicode
there's no set standard
they are provided by the font
and since its just a font, it doesnt even need to be emojis
Well there's the unicode standard
talks like the original unknown fr π
The apperance is nonstandard, that π¦ is a seal is standard
yeah it just says
"this code is meant to be a seal, what your font renders is as, we dont care, but officially its a seal"
look at what minecraft texture packs are doing with fonts
this is all made using a custom font
where the characters are pngs with offsets and they render custom GUI with thaat
Roblox custom fonts be like
pain
but yeah, your emojis are dictated by the font
my emojis are dictated by me
usually that's the system font, but that system font can also be changed
for example my system font for emojis is the same as discord
but notably, discords are not a font, but an image, which is why they perform like SHIT
and look like shit on sub-pixel rendering
oh trust me minecraft servers take this VERY far
i mean this is nuts
never tried mc packs
modern resouce packs are nuts
is this wyncraft?
java and bedrock?
java
yes
java aka fatal exception version
tha ma favourite
never had any issues with java, and i've been doing crazy cursed shit on it
i even ran modded wynncraft on my arm phone
[yesterday]
:))))
30 FPS says it all
when you ask bro to test ur UI but bros monitor has something x sometimes resolution
it's shaders
on high
at 1080p
on a phone
that's fucking outstanding
many PCs can't do this
without shaders I get 250fps
autocorrect knows
where do u guys get all those versions π
i need more
they dance in sync π
COLLECTIBLES_MARKETING_FETCH_SUCCESS
peak names
lit. first day i wasnt on discord, they changed it
whatd you use
i tried the neoforge modpack i use for my own server on amethyst and it crashes before getting to the title screen
i just fucking realized that might have been because it was meant for 1.21.1 but i installed neoforge 1.21.10
i think
WITHOUT ?! 
does anyone actually pro game in here
no
clude code
nop
what julien linked below
yeah you should never need to do anything manually on amethyst
you can export modrinth and curseforge packs on your pc and import them in amethyst
and it auto-dls the mods and fabric/forge loaders etc
atm10 worked too, tho it ran like shit on singleplayer
likely CPU fucked
and amethyst lets u browser curseforge and modrinth packs and just install them too, and it just works too
only thing that i couldnt get working is GT New Horizons from 1.7.10
surely there isn't a better way
Very good docs 10/10
try:
converted = float(value)
except ValueError:
return value
if value == (0.1+0.2): # Just in case
return 0.3
if round(value) == value:
return int(value)
return value

Damn
@frosty obsidian you
actually i found this improvement
def string_to_type(value: str) -> Union[int, float, str]:
try:
parsed_value = ast.literal_eval(value)
return parsed_value if type(parsed_value) in [int, float] else value
except (ValueError, SyntaxError):
return value
I too love accepting "( 2_1 )" as 21
OK maybe it's not an improvement
average python dev insanity
using python for production is the worst mistake i ever made.
i only use it for automating my pc.
ik could do python3 <version stuffy> main.py
but nah
def string_to_type(value: str):
for cast in (int, float):
try: return cast(value)
except ValueError: pass
return value
@supple whale trying to make ~2300 http requests in rust as fast as possible makes me realize how good nodejs is at it (and how bad my rust is)
trully
well it has like 8 libuv workers
or 16?
which handle it for you
it's probably that my rust code is terrible lol
evil flamegraph
@supple whale GUH IM SO STUPID
I FORGOT ITERATORS IN RUST ARE LAZY
switch to c++ so you can get blazingly fast footguns
iirc c++ iterators are also lazy
how do i get started with nixos
@solemn ravine help me
Just watch yt tutorial
Its only slightly complicated
i could never
<@&1073655264923881602> @solemn ravine please i need this
i am nixmaxxing
first off understand what you're getting yourself into cuz the learning curve is closer to a vertical cliff with no rope, but also read these
https://nixos-and-flakes.thiscute.world/
https://nixos.org/manual/nixos/unstable/
https://wiki.nixos.org/wiki/NixOS_Wiki
and if you prefer video tutorials
https://www.youtube.com/@vimjoyer
is the learning curve jumping down a cliff or going up a cliff
going up
oh
well first you dig down for a bit then start climbing
yop
after i have nixos how hard is it to get anime girls onto my screen
is nix insane enough that you need to declaratively set your wallpaper
does nix have metaprogramming
can my wallpaper change my wallpaper
anyways last time i tried nixos on my laptop the internet didnt work so i am scared it wont work on my pc
but i do have lan
so
idk
nixos
nixos
i do really love niri but i will probably use sway cause i literally never use any niri features
or hyprland....
or do i go i3
idk
why dont i do both niri, swayfx and hyprland
wait no
both is two
is there like both for three
how is that related
wait im goated
me too
thats a skill issue
launch tons of futures at once, use quic, join_all, and abuse multithreading
fast 
w a t
thatβs kind of nasty
Guh scroll down
I was dumb
https://x.com/voidzerodev/status/2023857355943727490 this tweet is stolen lol
Did you know about the `/*@__NO_SIDE_EFFECTS__*/` annotation?
It tells bundlers that a function has no side effects so every call to it can be tree-shaken if the result is unused.
Most bundlers and minifiers support it today.
But there's a nuance most people miss π
rolldown > rspack
true
How is it stolen
Both just announcing a new feature
who likes rspack
hi
get help
Better minification compared to roll down
poof?
@jade stone what's oxc
imgaine brandon eich but hes a femboy
that programs in rust
who
I use it as a javascript parser in rust
every day i fucking hate js more and more
@valid jetty
@valid jetty
of course this is a bad thing but i dont see how it would negatively impact anybody
I dunt get what's wrong here
I have a feeling that you don't know what console.log is
what
what do you mean
in that snippet, let is a "soft keyword" or something so it can be used as an identifier or whatever
i dont get what youre referring to regarding console.log
Just use strict mode
You love backwards compat
what the hell is this supposed to mean
glad i migrated to kotler
can't guarantee that it isn't null bc it could be changed on another thread
thats kinda epic you know
1 entity
i just want to save one thing accross 5 tables
@lyric latch
does twitch still have the roblox button
anyone familiar with any free project management tools like github projects? the team consists mostly with non-IT people so we cant use that
the only one that comes to mind is trello but no clue if it's any good
build ur own idek 
no time for that
https://taiga.io/ this one is open source
paid though unless you selfhost so nvm
why can't you use github? you don't need to be hackerman to use issues and projects
Look my team members can barely use discord
Fine with selfhost
This is the easiest and recommended way to run Taiga in production. This document explains how to deploy a full Taiga service for a production environment with docker. If youβre already using taiga-docker, follow this migration guide to use the new .env based deployment. Note: You can access the older docker installation guide for...
are they really that dumb π
F
Inability to be good with technologies != Incompetence; they do what they're supposed to well. We, as IT part of the team just wanted to centralize our project management as having everything in a fucking google sheets is terrible
oh its made by the penpot guys i like them
even trello is kind of complicated
there's a difference between inability to use complicated more niche tech and inability to use extremely basic popular tech like Discord 
well its just that i have to take the complexity of the app into mind
i feel like selfhosting is the best option tbh
We selfhosted plane but it seems like they went allin ai slop
In compose 
lmao rip
paige uses Evernote
penpot is really cool btw
figma but actually good
wing detected
figma ux is bad so even mediocre is an improvement
@frosty obsidian
vee moment
nice food bro
time to rice sway?
time for another gh outage?
true.
they managed to lose timeline data for an entire day?
oh github loaded for u
lucky
github so bad ββββββββββββββββββββββββββββββββββββββββββ
somehow im now regular in nextjs server because i begged 20 times for help with incompetent framework
are you being held hostage and forced to use nextjs
i usually start writing my own shit once it reaches that kind of point
even with fucking electron
devs are so inept i decided to just fix it myself
Yea i already migrated the entire backend to Spring, well now I have actual tests and the code isnt mess
I have 0 deps in my current project
Slowly reaching a first working build
Actually, I am not
I know it's a bit weird to choose Spring in this date
But I like its approach
jesus
nowdays i do nothing outside of autogenerated APIs
i dont even dare touch anything thats not PostgREST/pg_graphql/SupaBase
Ill just autogenerate the calls too from the open API spec
that sounds like absolute laziness
i love boilerplate

summer autumn winter
what is spring boot
thats a boot you wear in spring because theres mud everywhere
why do i not wear a boot when i run a bootloader
ur pc wears it virtually
Guys, hi. I'm from Russia, and I'm customizing my Deepseek client. Does anyone know where the block responsible for the length of message output is located? In the original CSS, it's stretched to the end of the page.
I want to scroll the chat window along the input border instead of under it
This is a dumb question but
Have you tried asking deepseek itself lol
IM FUCKING CRYING πππ
i think mac vms running under m1 pro hosts i cant remember
@young flicker do you put them under the same action yml?
I think that way you can utilize compiler cache
should work even if you make separate jobs
yueah as in you do?
ok let me take a look
can you try using macos-26-large for the runner
bro
3 cores and 7gb of ram
you're lucky it's even building
it's google summarization
ah yeah it might be enterprise or github teams
you could also try using intel macs they have more ram
so eepy
yo bro, because I can't find where the scrolling of the issued text is located in the parent block, and DeepSeek itself doesn't see it. When you try to limit the size of the parent block, the entire text interface and chat window get mixed up, regardless of how much the values are deviated. That's why I'm curious.
I ended up fixing it in java by annihilating all the timers
who likes my object sort function
its just so objects get sorted like this json { "TEST_2": null, "TEST_4": null, "TEST_6": null, "TEST_8": null, "TEST_10": null, "TEST_12": null, "TEST_14": null, "TEST_16": null, "TEST_18": null, "TEST_20": null } instead ofjson { "TEST_10": null, "TEST_12": null, "TEST_14": null, "TEST_16": null, "TEST_18": null, "TEST_2": null, "TEST_20": null, "TEST_4": null, "TEST_6": null, "TEST_8": null }
scary
c++ is the best programming language
This is true
C++ is the goat
You will obsess over saving 1ns for performance and be happy
i sort the object right as im saving it to a json file so it shouldnt be an issue
not what i said, but w/e ya do you
if you're saving it as JSON, then JSON.stringify wont even work at those kind of sizes
its just unsafe what ur trying to do
ty file
what should i make
Protobuf but better
msgpack
That aint schema based
use header files or something
idk
literally every language has header converters
obviously he wouldn't use it on insane 4 billion element jsons anyway 
he's not insane like u
@jade stone
@pearl parrot evil mod abuse
satan @jade stone
Can your browser play DRM content?
Quoting π±πππ·πππ (@forloopcodes)
οΈ
can your brave do this
we love brave
buy brave Origin
huh?
ohh lmao
i should probs block him too
whyyy file chill
my Matrix client just hides blocked users everywhere by default
it just removes them from the user store, so they never load XD
they didnt put origin into their dnf repo π’
yeah beta
and with JITless JS its pretty much as secure as u can be anyways so w/e
yeah same I just wanted to try it out
that said brave added a lot of good appearance settigns since the last time i looked
i should have checked NGL, shit fucks
its just chromium changed force dark again
and the old CIELAB based non image inversion is fucking gone
REEEEE
so now we only have "WebContentsForceDark"
And who will explain [this](<https://www.privacyguides.org/en/desktop-browsers/?h=brave#brave>)?
Brave adds a "referral code" to the file name in downloads from the Brave website, which is used to track which source the browser was downloaded from, for example BRV002 in a download named Brave-Browser-BRV002.pkg. The installer will then ping Brave's server with the referral code at the end of the installation process. If you're concerned about this, you can rename the installer file before opening it.
Brave did web3 garbage in the past
Brave injected it's own ads into other ones
Brave injected it's own referrals into other referral links
Brave does have ads on empty pages
No one cares retard
huh?
what if ublock made a browser called ublock origin
ya unblocked file or smth? XD
Yeah I turned off the plugin to see what u replied to
true
they made this its called brave origin || /s ||
worst part is we had --enable-features=WebContentsForceDark:inversion_method/cielab_based/image_behavior/none
but now the : stuff seems to eb gone?
there only seems to be this
doesn't sound as bad as firefox

At least they're not sending download's origin
Literally every browser has some bad things in their history but they will only cherry-pick brave things
and completely ignore the present where Brave is just better

Firefox based and firefox is mediocre for various reasons
peak chrome extension i just wanted to steal
idk dawg
mozilla and google screw up on the regular
but they never got caught messing with referral links or adding crypto wallets to their web browser
yes, because google doesnt need to, they run the referral services in the first place
so they already have full control over all your data and activities
and mozilla doesnt need to, since they are 90% funded by google, and would poof out of existence without said funding close to instantly
every single other browser has failed because of lack of funding or simply being broken
brave tries to avoid that, and the way they do that is crypto
which some people dislike sure, but i'll take opt-in crypto over full data tracking, selling my data, or a non-functional browser any time of day
hey here's a screenshot to make your day better by laughing
Best git workflow I've ever seen
don't worry it's just useful shit
trying to find french words or trying to explore more possibilities
or explaining an undocumented feature
fun fact post_action is a very cool nginx shadow feature
i swear i have actually good reasons and uses of AIs
i'm not just dumb vibecoding or using it oh no i know nothing let's offload my work
i just see it like wikipedia and calculators like it's useful tools but if i don't cross or like have any idea of what the answer might be then i can't critique and it's useless
soon linux mfs will finally switch to templeos or macOS
i would neebe
QR code detector says that there is something in that pic 
stop trying to justify your ai usage to paige she'll tell u off if she even sees a glimpse of ai on anything u do
paige literally biggest AI hater here
ah
i see
tbh i'm not an AI lover nor a hater
i'm just neutral about it
i think it has some horrible use like what we can see in Vencord PRs
but it also has some great uses
anyway
i like where this is heading
its not quite there, but whats there is great
rust analyzer my love
[26876:0414/002449.597:ERROR:content\browser\gpu\gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=-1

Yep okay
Linux my beloved
@young flicker i am currently working on starting an ai company called paige.ai. can i buy rights to your name
What is this anime
yea thanks for the suggestion
Kintarou Oe doesn't look like it, but he is a genius who completed all his university courses and then quit before graduating. He becomes a wandering student, going from place to place on his bicycle, seeking to learn what he can about life, the world, and women. He is willing and able to do any job he has to prove himself. His travels take him ...
or
Kintarou Oe doesn't look like it, but he is a genius who completed all his university courses and then quit before graduating. He becomes a wandering student, going from place to place on his bicycle, seeking to learn what he can about life, the world, and women. He is willing and able to do any job he has to prove himself. His travels take him ...
if ya wanna use my app
:)
hayase user spotted
i know
this guy actin like they made this site or sumn π€£
ah yes
just disable the inspection
Connect an LSP for vuejs.
@satan
i wonder if there is an extension that can detect unused code
auto logout is so annoying.
like you have one bug in ur code and discord acts like its the end of the world and logs you out.
why is that even a thing
please someone tell me
unwritten mechanismus or smth
On some computers I have to log in every single day
On others I can stay logged in for months without issue
crazy brave pull
can't repro
did ya watch the video?
probably a windows thing then
!softban 1401288720967139562 mrbeast scam
yeah thats my site
can reproduce on windows sandbox (didnt want to install chudware on my personal windows profile)
disabling hw accel fixes it
Knew it
I love css ```css
html:root:not(:has(>head>link[href="resource://content-accessible/plaintext.css"])) {
background: wheat;
}
what
No, wheat
I doubt thats the full extent of it
as i use 3 rendering APIs for fallbacks
if hw accell breaks
The C header is stored in the balls
@jade stone @pseudo sierra Satan and pinguh ponguh
zootie patootie
production environment
what os are you on
arch
i mean thats all they do aside from adding unnecessary slop
honestly thinking about jumping to deno
https://x.com/bunjavascript/status/2043888068428739061?s=20 but this is windows specific maybe idk
i really wanna understand you but it always worked for me so i cant
hmm weird that worked for me too
yes who doesnt
literally all of bun's posts are ai
wait are they actually
oh i was about to be like "WHATTT i gotta stop using BUN now?!?!"
i forgot they got bought by anthropic like a long time ago
i would trust bun if i still trusted anthropic lol
Isn't bun AI slop now
I never liked bun
I don't care if they've reverted it, using a binary lockfile for "performance" is retarded
its always been slop
they stopped doing that yes
true but it alwayd worked for me and i am too lazy to go back
bro bun is literally owned by anthropic
ofc they use ai to generate everything
even their code
guys i need a bit help with designing a thing on my backend, ive got this comparator in kotlin:
override val comparator: Comparator<SubmittedApplication> = compareByDescending<SubmittedApplication> { it.points }
.thenByDescending { it.timeExpectancy }
.thenBy { getAgeOnSeptemberFirst(it.candidate.dob, it.year.year) }
.thenBy { it.hasValidHealthNote() || it.hasValidSocialNeedNote() }
But i do paginated queries to my database. The comparator I provided is also for "ranking" the applications, is there a better way to do the ranking?
You see paginating would give me rank 1-15 only, which is useless, i need the actual rank from total
you would probably need to do that in sql
or whatever you're using to interact with the db
whats the best php framework
@neon bear
subjective
But the answer is before getting my current job, I rawdogged PHP
Now I use the framework my boss made, on p much all my personal projects
Because its tiny
I dont really like working with things like laravel
But laravel is the most popular, so if ur not an opinionated piece of shit like me
Just go with laravel
Otherwise, try LeafPHP
If you really need a framework, that is
Also ive never used Leaf, just someone I highly highly respect likes it
haha i dont even know what to make
Based 
what should i make
Why did you choose php?
it looks cool
Anyways, there are many many many things
How advanced of a project do you want?
idk
wao
Ive been writing PHP for over 10 years atp lol
I love PHP lol
PHP has imap functions, if you want an intermediate to advanced project, you could try that
Making an email client, that is.
Uhmmm
If you just need to practice, then I suggest making something with a basic login system
And expanding from there
i do have kinda a project idea, i should just try it in laravel
A custom blog system from scratch is very very easy to do
Its 1 DB table, 2 if you want to be fancy
+1 if you want tags
(Mine is 3 total tables. Tags, post headers, post bodies)
if youre using a database for your personal blog youre doing it wrong
why use a database when i have microsoft excel
this btw
I thought about using git
But the thing is, I do my projects with the same framework we use at work, for good reason
please tell garry tan this
plesse
what u use
some obscure tiny minimal framework my boss made yeaaars ago
Im not tellin you that
oh i really love how laravel volt components look
But i use that for p much all my projects so I can be goated with it
I know some quirks about that framework that other devs that work here do not and probably will never
nevermind i meant livewire sfcs in general
I also dont like having public repos on my github, nor do I feel like making my self hosted gitlab public
So the git based blogs
Are not for me
its like vue but they removed homophobia
private repo
i just remembered where should i even deploy my shit
easier stateless setup without database
better performance because no database overhead
impossible to lose posts because your server exploded
never had this problem
10ms not a problem
also my blog stays up when internet outages happen
davis miscaviage be like
because my blog and its content are in the same server
10ms is also on the extremely high side
Queries dont take that long
Need tk learn how to make a good DB structure if your queries are like that
migrate to laravel and use https://github.com/livewire/blaze
Pre-compile Blade components for blazing fast rendering performance - livewire/blaze
@jade stone i'm reaching new levels of "utterly fucking deranged"
I take regular backups of my shit, because im not retarded
That shit is automated
So I risk losing 0 data
haiku
implementing a video player using web codecs, that is, a video player via Canvas and AudioContext
rather than <video>
and thr point of making your own blog software
Isn't because its "easy and you can be stateless"
Its a quick simple project
To learn how the language functions and interacts with your DB
overall takes less than an hour to have everything up and running from the ground up
have you considered caching db responses in redis for faster reads
valkey
redis can eat my toes
If i wanted a stateless blog btw
I would just make the PHP so I can edit .md files in a restricted directory
Why bother adding an outbound connection that can be severed every time AWS, GC, Azure, DYN, or CF has an outage?
I dont use laravel
Again, I just use regular old PHP if not using that obscure tiny framework
Which is nice strictly for MVC structure and the ORM
what does that have over a <video> that you need
multi-track/track selection, and real-time stream transcoding
TLDR apple devices exist
mods crush this person's skull
Lobotomised! π¨
@jade stone
but yeah TLDR apple big bad
actually apple horrid bad
unfunny bad
bun ^ 2 levels of bad
so i'm making my own player to un-bad it
inch resting
@supple whale oh my god i found the worst fucking rspack bug ever
minification will sometimes replace named ESM imports import {foo as $} from "bar"; $(); with import * as a from "bar"; a.$();
but it depends on the total size of the bundle
so i'm going insane trying to find a repro (that's small enough to submit a bug report with)

better example
it will turn
import { EventEmitter as $ } from "node:events"; class a extends $ {}; black_box(a);
into
import * as e from "node:events"; class a extends e.$ {}; black_box(a);
welp meanwhile i've been optimising my video player
and i went from 1.1k LOC of AI slop to 680 lines of non-slop
at least HMR is keeping me company
because this is FUNNI
got a repro
It's 1AM i can't sleep so i'm making Web dev tutorials on my phone
Very very fun
https://julienraptor01.ddns.net/Modern Theming.html
Like and Subscribe or something like that thanks
set selected (value: boolean) {
// can't un-select track, so this always has to be true
if (!value || value === this.selected) return
i kinda hate that typescript cant figure that this is more complex than it needs to be
I have a stupid idea for how we could add translation support to html
https://julienraptor01.ddns.net/Modern Theming and Translation.html
It's 3AM and i should sleep instead of reinventing the world
But hey with my idea no need to use js to have translations on local web pages and PWA
And the polyfill literally is doable as well i did it (it doesn't work entirely in Firefox tho cause can't theme dropdowns)
Demo
"primaryGuild": {
"identityGuildId": "",
"identityEnabled": true,
"tag": "RCB",
"badge": ""
},
(i removed the id and badge)
but what's primaryGuild? i got this while clicking "view raw" on a user
php
and the badge looks like a hash, how do i view it?
okay thanks
thank you, didn't know this existed, i asked claude anyways
thats why i deleted lol
php
what do we think of llvm vs just going straight for assembly?
I face a horrible horrible dillema where I wanna learn stuff (like especially the stuff llvm handles for me) and also wanna get rid of as many deps as possible but I also REALLY need efficient binaries
and i actually dont know which I want
consider qbe ig
@valid jetty i dont need help with qbe
@valid jetty 
@valid jetty ro ie
i can help what do you need help with
i dont
imo going straight for assembly is fine and better for learning
i modified a compiler backend from x86 to aarch64 for my lang
i didnβt learn much writing the frontend and translating to IR(well i used cranelifts builder which was probably a bit too simple)
hmm.. why the recomendation?
there wont be such a massive performance and size hit?
there will
but thatβs not really the point
what would you say asm teaches you that llvm or other IRs dont?
Arch specific stuff
How gotdamn slow unoptimized code is and how complex it is to implement said optimizations
I have a problem guys, I want to use vencord inbuilt UI to modify some settings for the plugin I'm building... But I don't think I know the correct format and I can't find it anywhere
This is a test plugin setting I'm creating just so I could understand how it works
import { definePluginSettings } from "@api/Settings";
export const settings = definePluginSettings({
enabled: { type: "bool", default: true }
});
I don't think sharing the error is required... but I will if you want (it's just too long error)
I am sure my index.tsx is fine and I'm not doing anything wrong anywhere except this settings.ts unless of course I need to change index.tsx in order for UI to appear.
Thankyou
hi you still need help?
@supple whale do you know why mdn shows an x for chrome here
looking at the compat section, it looks like chrome has support for it
The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScop...
because it doesn't support it fully
then why does edge have a check
it's worse in the compat section than chrome
no clue, i never used sharedowrkers, since service workers are simply better and have better compat
they're probably counting chrome android too
you can get better help regarding plugin dev in #π§©-plugin-development but still
if thats the whole code for your plugin it wont work because you have to export a default definePlugin as well check this one out as reference https://github.com/Vendicated/Vencord/blob/541e50dcf45eefee104916dc64805439cb24a5f0/src/plugins/oneko/index.ts#L22 also instead of setting the option type to the string bool you can import OptionType from "@utils/types" and use OptionType.BOOLEAN
and when you do export a default definePlugin include your settings as a property for those to show up
i think your issue might've been the option type alone being "bool" instead of the OptionType.BOOLEAN since you did say that you think your index.tsx is right
which has poor support
oh, i should probably look into those instead
its experimental on chrome because of android
where its not implemented
oh
I just said that π
i was looking at his messages, not yours simply
you hate me
took you long enough to realise
i still have a grudge over the PWA PR
not that it matters much anymore, since discord broke some shit with their SDP config, and the latency in browsers when under load is exponential for some reason
latency in vc in general? or wdym
kill all mozilla workers who dont add cross document view transitions to firefox
and you have latency in VC
it works fine for me on web
vesktop had this problem a while back too
there's a bit of latency but nothing near 3s
yeah, but ur use case is having notepad open
my use case is 100% my GPU, CPU and RAM while having discord open
why the fuck do i need a birth certificate i exist i think
my man was scared of the competition
PWACord would have destroyed vesktop at 10% of the effort to maintain
well linux exists
and linux audio is a skill issue
even for google devs
so the PWA screensharing doesnt work that well
cuz audio fuckery
most hobby electron apps have atrocious security so I avoid them like the plague
Like Feishin
They have an electron app but it has horrible security, they have node integration enabled 
saw another app (Tidal Hifi) with sandbox: false and contextIsolation: false
you could open the fucking app's install folder, edit the index.html to run nodejs code
you open the app, it has admin perms, gg ez escalation
god forbid they load from an http endpoint
can you bypass CSP and CORS with a PWA?
no, you simply dont need to
for gh assets they are cors enabled simply
so you just need to patch the CSP which the extension alr did no?
The Vencord Chrome Extension is up to date! (v1.14.7)
I mean this isn't that bad
wdym its not?
it's way way worse that many electron apps give the browser full nodejs access because they have no clue how to use electron
okay, but why do u care about giving nodejs to the browser
π
there's low impact here unless the app does something sensitive or uses admin
like sure, what you're saying is a problem, but like "hey we can hack into the pentagon, and nuke the president", meanwhile the other guy "yeah i just walked up and stabbed him"
besides stealing the discord token you can't do that much by just editing Discord's files
you can attack the system
and u already need host access for editing files
not necessairly, no
how do u edit the files without already having system access
you just do
windows sir
you're expecting too much
on linux sure
but you're giving microshit too much credit here
but yeah, most electron devs are intept
well it kinda makes sense, electron is loved because of its low level of entry, while still letting u do a LOT
and that attracts morons, which write moron code, which then gives electron a bad rep
but fuck i love electron, its so powerful, they let u do such crazy shit
like wdym i can can create an invis tab, render a part of it to a W3C VideoFrame, then 0 copy that to another, fully secure sandboxed tab, which then encodes it to a MediaStream, which streams it over webrtc
HTML in Canvas before HTML in Canvas went public, its nuts
is there even any point using fuses on windows?
afaik fuses are just bits inside the binary that you can flip in production by just patching the binary, and on windows, electron binaries usually are installed to LocalAppData which isn't protected in any way
I'm honestly not 100% sure?
I didnt look a whole fuckload into it, so i'm not fluent
I know Mac offers actual protection against tampering and so does Linux by making stuff root owned but on Windows it's just the wild west
yeah windows is very much wild west
i compile all my native JS to bytecode
and load that instead, its harder to monkeypatch
noooooooo...
because u need my custom version of nodejs with modified symbols, which is private, otherwise it crashes
its not hard to figure out how to reverse, but its defo better than it not being there
also loads faster ^^
i think the binary has self-checks using hashes actually
but i turn those off, because i dont have signing certs
XD
i fucking gotta go back to my sub lib to fix it for fucking firefox... and safari i guess
eugh
i wonder if i can make openresty bindings for haxe
Moron code must be banned
Simple
Rust forces you to write sane code and its great
Less kids (aka every js programmer) there
i should make an operating system
if you think about it, this reddit user MAY know something I don't
i am considering switching to the racist britishmen operating system
what
Thatβs a gaussian blur
what would that be
css
(omarchy)
yeah but hes most known for being racist to british people
close enough
erm no π
i only know him for that
He was talking about immigration, not UK itself
if you mean that blog post
i interpreted it as him not seeing british people which arent white as real brits
???
am i stupid or what
yes
he's known for being a dick yes but I've never heard of him being racist against the british of all people
^
they're definitely referencing https://world.hey.com/dhh/as-i-remember-london-e7d38e64
As soon as I was old enough to travel on my own, London was where I wanted to go. Compared to Copenhagen at the time, there was something so majestic about Big Ben, Trafalgar Square, and even the Tube around the turn of the millenium. Not just because their capital is twice as old as ours, but because it endured twice as much, through ...
i am not racist i just hate everybody
it is racist but its not against british people sob
its not about immigration, it is just racism. he clearly says "native Brits" and then links to a page about race, not immigration
anyways you dont have to program in ruby to hate british people, you can do that on its own
OA dev β€οΈβπ©Ή
i cant tell if this means you liked or disliked my message lmao
nah, i just read ur username and was like " wait a minute i know that name"
fair enough
- 1 reason to NOT wrap discords node updater
cuz it breaks every no and then and that is annoying :3
better to patch vencord, so it updates both
if not installed then.,...... idk
also the OA updater fails most of the time cuz the files it tries to copy n paste are locked
[OpenAsar > Updater] Failed to retain OpenAsar Error: EPERM: operation not permitted, copyfile
may be cuz of vencord
nah its linux perms
wdym
yea idk but having to update the wrapper every time, isnt that annoying?
that bit a few days ago?
get() is not def ( maybe my mistake )
and that other time like 2 months ago
updater panic at idk what it was
i mean there is update maybe not the wrapper but the calls
was thinking the same that day x3
I can't get irl canadahonk out of my head
racist against not white british people i guess
@short zenith why are you real
idk update your github avatar
i just picked you bitbucket pfp
who is using bitbucket still
(0 people)
this is C
why is this suggested (and over the local variable i actually wanted to insert to)

clangd!
this is actually annoying lol it suggested std::map over a variable i had called mapped
why do you have namespaces
i use clangd i like it
i remember seeing this
it's weird though it's not like class Hi works
so it does know its C
how are these kinds of videos still a thing
it doesn't change the entire message height anymore but it still does for the video thing
videos with wacky resolutions
I couldve sworn they were patched like a year ago by now it's been so long
the aspect ratio is locked unfortunately
ancient meme, holy
I wonder which formatter I should pick
USE JS AND TS LANGUAGE FEATURES
PRETTIER AND BIOME ARE SHIT
π
vencordLoader.ts: Line 76
await Promise.all([downloadVencordFiles(), writeFile(join(VENCORD_FILES_DIR, "package.json"), "{}")]);
I write the most horrendously formatted code and then let prettier fix it
Also I make sure to use completely different configs on every machine so I still end up having to format stuff by hand and then run Save without formatting
ngl vencord should just add official code style guidelines fr on god
hop on oxfmt
A fast Node.js package manager
https://aylur.github.io/ags/ fuck it i will build my own shell
Documentation website of AGS
look what other people have made
i could be as cool as them
nvm found the answer to my earlier problems in the docs lol
ags mid hop on quickshell
i dont wanna write qtquick tbh



