#🪅-progaming

1 messages · Page 16 of 1

calm ruin
#

YES

#

IT TURNED ME INSANE

#

and same thing happened while I was using rust too 😭

final night
#

Html/css + js probably

deep mulch
#

@calm ruin aoc in 3 months

#

use x86 assembly

calm ruin
#

never

surreal condor
#

make things which you have almost no idea how to make very shittily and then remake them properly

#

i unironically do this sometimes

mild yoke
#

that's a mistake tbh

#

As much as I dislike some of those, they are all super popular

#

also they cover big concepts

lavish frigate
#

java is unnecessary, js not so much

mild yoke
#

disagree

lavish frigate
#

even if you hate it you should definitely learn the most popular language

mild yoke
#

java is vaguely at the center of a lot of OOP concepts

#

it's ideal for stuff like DSA

lavish frigate
#

that doesnt make it necessary!

mild yoke
#

it does. Java has engrained itself in such much critical stuff, whether we like it or not

lavish frigate
#

you can learn OOP concepts with other languages, there are a ton of OOP languages because of java

#

while JS powers the entire web

#

hard to avoid something you use daily

mild yoke
#

I mean technically JS isn't required for that, but sure, practically speaking it's likely. Java is important both because of the OOP stuff + what it's already integrated with

#

cassandra db

#

android

lavish frigate
#

cassandra db 😭

#

omw to learn java because of a db

mild yoke
#

It's an extremely popular db..

#

but also android?

#

I mean that's pretty important

lavish frigate
#

well sure but may i introduce you to react native

#

what every new app made by any large company is using now

#

which requires js

#

not java

#

mainly*

lavish frigate
mild yoke
#

A lot of companies actually explicitly use native because it feels nicer

lavish frigate
#

the go to database i see everyone using now is postgres

final night
#

postgres for big project, sqlite for small

lavish frigate
#

like with rn

#

thats what large companies value nowadays

mild yoke
lavish frigate
#

look at electron

final night
mild yoke
lavish frigate
#

paükm fgopkASMFPWÜA

#

damn

#

what a bad opinion im sorry

final night
lavish frigate
#

look at the apps powering your pc now

#

a ton of them are electron

#

or webview

mild yoke
lavish frigate
#

most of the "native" windows ui is webview

#

every single banking app ive used thus far was made using react native

#

sorry but java is losing its place

#

not only because of js and cross compat

mild yoke
#

This is true

final night
royal nymph
#

java maybe kotlin naaah

#

kotlin is alive and kicking

lavish frigate
#

but also because people are starting to move away from OOP

royal nymph
#

jetpack compose

lavish frigate
mild yoke
#

I was never a fan of kotlin. We should be fully solving the issue tbh. It's a bit like my issue with typescript.

#

Typescript is pretty cool but could have fully solved the problem when it just didn't

lavish frigate
#

elaborate?

final night
royal nymph
#

fully solved what problem?

#

it solved the lack of types in js

final night
mild yoke
# lavish frigate elaborate?

Sure. If more time was spent it could be it's own thing instead of running on top of JS, thus keeping a lot of issues with the JS runtime. I understand that it's an extreme technical challenge to "fix" JS, but what it could have done is used static typing to allow for compile-time optimizations.

lavish frigate
#

the way TS implements its types is honestly probably in the best way it can

royal nymph
#

its entire point is being on top of javascript

#

so you can use it for web

lavish frigate
#

TS shouldnt be its own language

royal nymph
lavish frigate
#

it wasnt made for that

mild yoke
#

That's exactly my issue with it. I wish it could have actually used the static types for compile-time performance.

#

but instead you lose any optimizations that could have existed the moment it turns into JS

royal nymph
#

well written javascript is incredibly performant

final night
#

you want something using wasm

mild yoke
mild yoke
#

yeah I've used webassembly

#

I've been experimenting recently, it's pretty cool

lavish frigate
#

the problem i have with this rn is that TS is supposed to just improve JS and make it more safe by adding types, it shouldnt be its own language, it wasnt made to be, it wasnt thought it to be
if you want a language with good types that compiles directly to machine code use C++/Rust, whatever but TS is not the way !

royal nymph
#

assemblyscript does exactly what you want

final night
#

wasm is effectively just a bytecode lang like java bytecode right?

royal nymph
#

also often time wasm performance is worse than raw js xd

#

really js can be very performant if you don't write shitcode

lavish frigate
royal nymph
#

v8 is incredible

ornate quiver
#

we should bring back java applets

mild yoke
lavish frigate
#

RUST applets

ornate quiver
lavish frigate
#

yah

#

i think wasm would be very cool if it could do all the staff js could but nop

#

we are stuck with optimising our complex calculations to get those .1microsecond optimisations

final night
mild yoke
#

it makes sense for PWAs, but can't integrate super well

lavish frigate
mild yoke
#

also iirc webkit doesn't support WASMGC yet so iOS is a no go

ornate quiver
#

isnt there a proper dom api planned for wasm

royal nymph
# royal nymph really js can be very performant if you don't write shitcode

i did a comparison once

i wrote a super simple password brute force program in C and js, and then i improved the js implementation. basically just use string manipulation to generate random strings then compare them against the target password

i wrote the C one with string.h and the js one with js strings and methods like +

js performed like dooogshit compared to C

then I rewrote the js code with raw Uint8Arrays and used bytes instead of strings and the js code was only about 1.5x slower than the C one

lavish frigate
#

not implemented

mild yoke
#

You can't really use WASM in production right now

#

for a website*

royal nymph
#

there's no reason to want to use wasm for normal web stuff

#

you simply don't need it

mild yoke
#

unless it's something like Flutter that compiles to both JS and WASM, but that's a different thing

royal nymph
#

wasm only makes sense for cpu intensive stuff

mild yoke
#

for PWAs it can be super useful

mild yoke
#

like video processing / decode and stuff

royal nymph
#

all js web performance issues are caused by shitcode, not the language

lavish frigate
#

the reason is so you dont have to use js

cerulean plover
royal nymph
#

sometimes it makes sense

mild yoke
mild yoke
royal nymph
mild yoke
royal nymph
#

then it wouldn't run poolry in js ;)

cerulean plover
#

what is the library then

lavish frigate
# lavish frigate the reason is so you dont have to use js

a chronically C++/Rust developer is gonna write a lot more optimised code in C++/Rust than in js, they cant really use those "JS optimisations" to achieve fast speeds without spending a year or two mastering the language
ive always seen the point of WASM to be that youll be able to write performant code in the language you are most comfortable with

#

and i think WASM would make the web a lot more accessible for developers

#

its not just "performance and speed" wasm provides

#

also usability

mild yoke
#

My usecase extends only to flutter, but there's been usages for react and such with similar issues

#

The WASM renderer is so much faster

cerulean plover
#

you need to turn hardware acceleration off

#

and see how the web runs

#

trust me your app will run like sad_poop

royal nymph
#

you're bringing your own rendering engine and wondering why performance is subpar

#

it's almost like JS is not good for very cpu intensive work like rendering

#

use the web canvas api and you won't have any issues

#

why bring ur own canvas 😭

mild yoke
#

It literally does use canvas

#

what are you on about

#

it's drawing pixels to canvas

ornate quiver
#

canvas isnt very good

mild yoke
#

Canvas is exactly that- canvas

final night
mild yoke
#

fine if you do it right

royal nymph
final night
#

I have benchmarked and it SUCKS

mild yoke
#

not fine if you don't do it right

royal nymph
#

web canvas api is literally just cairo

#

on most browsers

cerulean plover
#

if you are rendering everything as canvas and your use-case is not a video game or a simulation in a browser then your app sucks

mild yoke
ornate quiver
#

not really

royal nymph
#

canvas can be very fast if you don't use it wrongly

mild yoke
#

Since you don't gotta worry about discrepancies per-platform

mild yoke
cerulean plover
ornate quiver
thorny ingot
#

fun?

cerulean plover
#

make a web app and a native app

mild yoke
thorny ingot
#

im too SHIT to get a programming job ever

mild yoke
#

I can't support multiple platforms seperately

royal nymph
mild yoke
ornate quiver
royal nymph
#

make a web app and use electron ;)

cerulean plover
#

accept you made a PWA blobcatcozy

royal nymph
cerulean plover
#

electron is only useful if you made a good PWA already and want to make it 5% more native

#

or if you hate browser-native title bar

ornate quiver
#

i dont see how flutter can be possibly better than a regular js ui framework on web

mild yoke
mild yoke
cerulean plover
ornate quiver
#

also "natively" is a joke

#

react native is not native
flutter is not native

mild yoke
cerulean plover
royal nymph
#

don't write shit slop and you won't have a slow desktop app

mild yoke
#

Sounds like a pretty bad idea to me

cerulean plover
lavish frigate
cerulean plover
#

if you open inspector on that site your web-dev soul will cry for mercy

mild yoke
ornate quiver
#

well i guess its passable but near-native perf is also a strech

mild yoke
#

There's some other good benchmarks

royal nymph
#

now tell me why your app needs to calculate the Gauss–Legendre

ornate quiver
#

what the fuck is that benchmarking

ornate quiver
#

benchmark of what

royal nymph
#

a benchmark that makes no sense

#

benchmark the actual use case

#

not fucking math calculations you never need to do in a normal app

#

js le bad because it can't calculate 300th fibonacci number

mild yoke
cerulean plover
royal nymph
#

why do you need blazingly fast window resizes

mild yoke
#

I do. It feels like shit.

lavish frigate
cerulean plover
#

how often are you fucking resizing your window

lavish frigate
#

run speedometer 3.0 on it?

royal nymph
#

fps

#

etc

#

animation fluidity

mild yoke
lavish frigate
royal nymph
#

i just compared electron resize to musicbee (winforms) resize and musicbee is worse

#

gtk is smooth

#

but you're not constantly resizing the window so it doesn't matter

ornate quiver
#

it mostly depends on the app
you can have an app in any framework that can do resizing well or shit

mild yoke
#

On the other hand, any flutter app I've tried, (such as appflowy), is fine, as well as .NET framework apps that I've both used and built.

#

That's the only sample I have for desktop that I tried this specifically

#

Even flutter debug has less jank than a "release" JS electron app 💀

royal nymph
#

flutter performance is kinda bad though

#

u should write ur app in native C

mild yoke
#

On web, sure, I'll absolutely agree

royal nymph
#

and use SDL

mild yoke
#

It's completely fine on desktop

#

it feels really good

#

I encourage you to try appflowy

#

as it's a pretty well maintained flutter desktop app I recently tried, the performance actually feels quite nice

#

I do think JS can be quite nice, but performance certainly lacks in a lot of instances. It's a tradeoff. Do I think it's worth it? Usually no, but it depends.

royal nymph
mild yoke
#

true and factual

royal nymph
#

i tried flutter but it's meh i think

mild yoke
#

It's very nice for parity

royal nymph
#

i don't like the nested functions stuff

#

html / jsx feels way nicer even if it's essentially the same thing

thorny ingot
mild yoke
royal nymph
#

wdym loose?

mild yoke
#

Like you can do stuff that makes absolutely no sense in HTML but it will still attempt to render

royal nymph
#

well simply don't write invalid html xd

#

if you use a decent editor it will warn you anyway

and jsx is waaay stricter

mild yoke
#

That's like saying don't use typescript, simply don't use a null value

royal nymph
#

it doesn't take a lot to just not write invalid syntax

mild yoke
#

I've used JSX, but not a whole lot. It seems interesting but still loose in my experience.

royal nymph
#

if you're writing raw html you're doing it wrong anyway

#

jsx is good but react kinda sucks

svelte / astro are where it's at

mild yoke
#

Yeah I mean I'm sure it might but flutter has a really good structure of enforcing stuff at a compiler level

#

Yeah svelte was super nice

royal nymph
#

svelte and astro are so much more light and faster than react

mild yoke
#

I used it for a hackathon a while back

royal nymph
#

ever tried jetpack compose?

#

it fills a similar niche as flutter

mild yoke
#

I've heard good things about it

#

I've heard it's not super good for cross platform

lavish frigate
mild yoke
#

like you have to handle per-platform cases a lot more than flutter

royal nymph
#

it def still needs a lot of work for desktop and web yeah

it's most mature for mobile right now

mild yoke
#

But yeah it seems to be the default for new android apps atm

#

because android tooling is a mess lol

#

I might look into it but I've been pretty full send on flutter recently since it's something that works really well for the stuff I make

#

ofc I'm not opposed to trying alternates

royal nymph
#

i hate android dev cause it's sooo fucking bloated

#

IDE taking 5gb ram, gradle taking 20 seconds to start, etc

#

😭

wraith rose
#

Android runs ontop of a Java virtual machine which runs on linux.
That is why java is used

mild yoke
#

I've always thought that was silly

#

android using jvm and stuff

#

although honestly the user experience feels about the same?

ornate quiver
mild yoke
#

I know a lot of stuff can be native

royal nymph
#

well it doesn't it uses ART

#

but ig you mean Java?

#

android is very old and there really was no better language at the time

#

java was THE shit back then

mild yoke
#

true and factual statement

ornate quiver
#

also based cause you can mod apps easily

mild yoke
#

Yeah APK patching is nice

royal nymph
#

the alternative would have been C / C++ and let's be real no one wants to write apps in that

mild yoke
#

That's kind of how flutter works, but it doesn't really gain performance

wraith rose
#

I think minecraft pocket edition used c++ from what I heard.
so some apps used c++

mild yoke
#

I'd image

#

a lot of the heavy bits usually go down to native

#

that's what libdiscord n stuff is about

royal nymph
#

btw did you see there's react native desktop xD

ornate quiver
#

NO

mild yoke
#

please no

mild yoke
#

I mean technically with expo

royal nymph
#

or even C# (still cpp via il2cpp)

mild yoke
#

I mean aspx

#

aspx has kinda been a thing for a while but it's not super great

#

my uni uses it

meager turret
#

i wouldnt call C# "still cpp" because someone uses il2cpp

#

just like any compiled language isnt still assembly

mild yoke
#

@royal nymph this is open ended- flutter or react native for strictly cross platform apps?

wraith rose
#

C# isn't fully native usually.
From what i Heard it's compiled but still interepeted with a unique interpeter

#

I need to re-check my IT class notes though

meager turret
#

depends on what you use

lavish frigate
#

we need to take back the "rn" abbreviation

lavish frigate
#

lets make it stand for rust now, now

meager turret
#

i think rust now is bad

#

rust is not just now

#

rust is yesterday

#

rust is tomorrow

#

rust is forever.

lavish frigate
#

🔥

#

but i mean

#

rust now = do rust now

#

do rn

wraith rose
#

it runs through the unity interepeter

#

from what I heard

#

(at least not usually)

lavish frigate
#

why "at least"

#

unity 👎

wraith rose
#

oh it was the I DECOMPILED a Sonic game... here's how - MattKC
(this is the video, it was not the class)

about 4 minutes in is when stuff starts

meager turret
#

yeah the default is mono in unity unless they changed it recently

wraith rose
#

He says c# is higher level and "generally isn't compiled to machine code at all compiled to Common Interdimate level".

this is where I got it from

lavish frigate
#

yeah its for the unity runtime so games can be made cross platform easily

wraith rose
wraith rose
lavish frigate
#

not rly its mostly for windows apps (because microsoft loves its own language, of course)

wraith rose
#

microsoft does have the uwp thing right?

lavish frigate
#

Yep but like every single windows native ui/app framework kinda sucks Microsoft can’t get it right at all

wraith rose
#

is that one reason why people ignore mc bedrock edition?

lavish frigate
#

?

#

wdym

wraith rose
#

sorry I mean bedrock edition

lavish frigate
#

nope bedrock has a lot of other issues

#

fun fact bedrocks ui is made in react

wraith rose
#

wait what?

#

the same thing that runs desktop discord?

lavish frigate
#

nope

#

react is just a javascript framework

#

discord uses electron to run javascript then uses react for its ui

wraith rose
#

electron is built on react tho right?

lavish frigate
#

minecraft embeds an entire js runtime inside the game then runs react on it for ui

lavish frigate
#

electron is a framework to build desktop apps, you can use any javascript framework with it

wraith rose
#

I see.

#

I don't really use javascript or know much so that's my bad

#

I mostly use python and I know some normal java

ornate quiver
wraith rose
#

I see

wraith rose
lavish frigate
#

i mean you are not wrong

frosty obsidian
#

prepare for a bit of pain

#

(you're gonna be reading a lot of minified and bundled js)

meager turret
#

they are very slow with it

lavish frigate
elder yarrowBOT
wraith rose
#

ok nvm I don't know at all close to the enough javascript for that

lavish frigate
#

lc.dictionary embed

visual shellBOT
# lavish frigate lc.dictionary embed

<:i:1263592450136473684> embed  ɪmˈbɛd 

verb

  1. fix (an object) firmly and deeply in a surrounding mass.
  • he had an operation to remove a nail embedded in his chest
    <:i:1263591098740113478>  drive in   hammer in   ram in 
  1. attach (a journalist) to a military unit during a conflict.
  • the CNN correspondent is now embedded with the US Navy aboard the USS Constellation
lavish frigate
#

"put an entire js runtime inside of minecraft"

wraith rose
#

Kind of reminds me of the webdisplays java mod

lone gust
#

or did someone come up with that idea

lavish frigate
#

to embed is to put something inside another thing

#

its an actual action its a verb

#

not just fucking discord embeds ffs

lone gust
#

bro shut up

#

😭

#

u managed to send like 20 words and not answer my q

#

meanie

lone gust
#

tessie gonna ban fr

wraith rose
#

Might need to figure out how to run two instances of psql
without using docker.

(I don't like docker)

#

I mean it's decent software.
I just hate using it

lavish frigate
lone gust
#

oh

#

so someone wants to add js in mc

lavish frigate
#

no

lone gust
#

i will still stab

#

oh

lavish frigate
#

are you actually reading what im saying or just pretending to

wraith rose
#

File server stuff

royal nymph
#

you can super easily run a standalone postgres docker container and map its postgres port to the host and then connect to it from non docker

wraith rose
#

I don't want to make my main instance of psql backup too big

#

docker grows too big in resources sometimes and I don't really like managing docker

royal nymph
#

try podman or smth idk

#

or dont run two postgres

wraith rose
ember notch
#

solution: use sqlite thumbsup

#

thanks for coming to my tedd talk wires

royal nymph
#

if yes that's not a good idea

#

store them as separate files and store the filename in the db (or if you architect it well with using ids as filename you won't even need to store the name)

ember notch
hushed pebble
wraith rose
royal nymph
#

so you are storing the files in your database? or what

#

you really shouldn't

#

dbs weren't meant for that

#

use a filesystem with compression support like btrfs and store them as plain files

#

or use cloud storage like r2 / backblaze / whatever if you don't wanna bring ur own storage

#

it'll be much better and keep your db clean

#

or gzip the files but it honestly might be cheaper to just get more storage than get a beefier cpu to run all the (de)compressions

wraith rose
#

hence this idea

lavish frigate
#

you have to suggest

#

an s3 cloud bucket

#

and then a vercel thing

#

like an aws lambda or whatever

#

like as the glue

#

and the you also need you ffmpegaaS

#

to process the files ofc

wraith rose
#

an s3 cloud bucket might occur extra costs which would be aganist what I would want

ionic lake
#

host minio

#

that's exactly what you want

meager turret
#

and different ports etc ofc

#

pg 16 doesnt seem to have that command (15 does) but the postgres command may do the same, youll have to check

grim flare
wraith rose
meager turret
#

yes, I am aware

#

postmaster is the binary used in the postgres process

#
postmaster is the PostgreSQL multiuser database server. In order for a client application to access a database it connects (over a network or locally) to a running postmaster. The postmaster then starts a separate server process ("postgres") to handle the connection. The postmaster also manages the communication among server processes.
wraith rose
meager turret
#

is gpl a problem if you are just deploying it on a machine?

wraith rose
#

It says I would need to use the gpl license for the project

#

Which I don't want to do

meager turret
#

not if you just deploy it and interface with it

#

i believe anyway

wraith rose
#

It says I would need to

meager turret
#

unless the libraries for it are all gpl as well

wraith rose
#

Anyway, I need to run two instances and I cannot do stuff rn unless I want to ssh via mobile

meager turret
#

you can run two postmaster instances yes

#

i have done it before

#

i believe you just need to set a different socket path and different data dir

wraith rose
#

I am trying to get two seperate instances of postgresql so pg_dumpall doesn't get the files

meager turret
#

running postmaster gives you a postgresql instance

wraith rose
#

And it will persist after reboot?

meager turret
#

yes, if you specify the same data directory again

#

you first may need to run initdb or createdb or whatever the command is on your specified data location

wraith rose
#

It might be harder to use and one time configure

deep mulch
#

@frosty obsidian im trying to unify the LocalPdfState and RemotePdfState classes into one

#

so usage would be simpler

frosty obsidian
#

ok

deep mulch
#

also changing up saver implementation

#

it will store a reference to the url/file

royal nymph
#

if you host minio, you indeed need to provide the source (of minio only) to anyone who interacts with it via network (that's AGPL btw not GPL)

but if you have another program where all it does is send request requests to minio to store data, that program doesn't have any license requirements

#

and if your minio instance is private and only used internally, you don't even need to disclose minio code

deep mulch
balmy lintel
wraith rose
royal nymph
#

do what you want it's your thing

#

but storing files in psql is bad bad

wraith rose
#

Idk imoog Does it and it seems fine

#

And minio seems to require providing a copy of the binary regardless and I don't want that

lavish frigate
wraith rose
#

I would rather not use aws

#

Aws loves hidden fees

meager turret
#

depending on your needs you may be able to use backblaze

wraith rose
#

I am looking to store more than 10 gb in le file server and then display stuff

#

It's probaly at 14 stuff rn

wraith rose
#

It may easily get up to 20 gb

#

Does s3 even keep file name and other stuff

#

I also need the crc and stuff to not have duplicates

#

And it needs easy backup

#

Where I can get one big heavy file and reload it fairly easy on another instance this is why I prefer psql for this

lavish frigate
lavish frigate
wraith rose
#

Is s3 sql or nonsql?
I don't like nonsql

lavish frigate
#

s3 buckets are not regular databases

#

its for file storage only

#

and its optimised for that

wraith rose
#

A free and safe host could be good.
I just don't want to pay extra than my vps cost rn

#

It would need to have read only via public means and some security for adding files

lavish frigate
#

no host is gonna give you 20 gbs of storage for free permanently

wraith rose
#

Kind of my point and I feel most comfortable with psql

lavish frigate
#

you can host both a database and a storage bucket on the same server

wraith rose
#

What do you not like about hosting the bytes in psql?

#

Do you have any articles with data and what they tried

#

?

elder scaffold
# wraith rose What do you not like about hosting the bytes in psql?
lavish frigate
#

yeah databases arent good at having giant amounts of data in single cells

wraith rose
#

That's stackoverflow which is a bit more opionated than what I wanted to look at

lavish frigate
#

yep

#

remember, sql databases are optimised for storing a TON of smaller data snippets inside cells

wraith rose
#

Postgresql handles data pretty well

lavish frigate
#

file storage is specifically optimised for files, they can compress them to save space, dont lock files (as opposed to databases which lock rows on access, making them very slow at serving the same file to multiple users at once), can implement caching for a speedup, sql databases have a max row size (so you literally cannot store large files), etc

#

but you very much seem like someone one cannot convince, use whatever you want

wraith rose
#

I'll use python to iterate and give me the biggest file size

#

In both directories

lavish frigate
#

😵‍💫

wraith rose
#

What?

#

Pathlib works fine for that

#

I am not even using .read()
I'm just getting what the os returns back

wraith rose
lone gust
#

anyone know how to dynamically load a jar from a url in java (urlclassloader is broken af so using something other than that)

lavish frigate
#

shell commands are very powerful

#

dont waste an hour writing a python script

#

search 5 minutes for a shell command

wraith rose
#

This is one directory

#

nvm

#

it just lists directory not invidual files

#
find "$(pwd)" -type f -printf '%s %p\n' | sort -nr | head -10                                                                                                                                                                     [15:13:11]
561815063 /home/jdjg/extra-content/other/ace attronetry concert.mp4
29102995 /home/jdjg/extra-content/Manuals/AnimalCrossing_NewHorizons_Starter_Guide_EN.pdf
27179832 /home/jdjg/extra-content/Manuals/Zelda_Tears_of_the_Kingdom_Mini_Guide_(English).pdf
20187592 /home/jdjg/extra-content/Album/2024/08/16/2024081615210800-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/08/15/2024081522264900-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/08/15/2024081521252800-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/08/12/2024081222195600-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/08/11/2024081122225900-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/07/21/2024072122530100-DF3B4A41115FD7D06723242960C445E8.mp4
20187592 /home/jdjg/extra-content/Album/2024/06/27/2024062715412700-DF3B4A41115FD7D06723242960C445E8.mp4
#

There

#
find "$(pwd)" -type f -printf '%s %p\n' | sort -nr | head -10                                                                                                                                                               [15:12:59]
20187592 /home/jdjg/extra-content-other/debugging clips/2023063012380500-45998392CB216ABF034EB6F98E399A06.mp4
20187592 /home/jdjg/extra-content-other/debugging clips/2023063012324600-45998392CB216ABF034EB6F98E399A06.mp4
20187592 /home/jdjg/extra-content-other/debugging clips/2023063010354700-45998392CB216ABF034EB6F98E399A06.mp4
20187592 /home/jdjg/extra-content-other/debugging clips/2023062922495400-45998392CB216ABF034EB6F98E399A06.mp4
20187592 /home/jdjg/extra-content-other/debugging clips/2023062909591400-45998392CB216ABF034EB6F98E399A06.mp4
20187592 /home/jdjg/extra-content-other/debugging clips/2023060811304900-45998392CB216ABF034EB6F98E399A06.mp4
19925416 /home/jdjg/extra-content-other/debugging clips/2023063014295500-45998392CB216ABF034EB6F98E399A06.mp4
19925416 /home/jdjg/extra-content-other/debugging clips/2023063014234700-45998392CB216ABF034EB6F98E399A06.mp4
19925416 /home/jdjg/extra-content-other/debugging clips/2023063014001800-45998392CB216ABF034EB6F98E399A06.mp4
19925416 /home/jdjg/extra-content-other/debugging clips/2023063013513300-45998392CB216ABF034EB6F98E399A06.mp4
dusty moth
wraith rose
#

20187592 to 20 MB
561815063 to 562 MB

only one file is 562 MB

lone gust
wraith rose
#

so yeah max file for mp4s is 30 MB

#

except one outlier

dusty moth
lone gust
#

just making my thing im coding a bit more secure

lavish frigate
wraith rose
#

Java may be the coding language they know the best

lone gust
lavish frigate
#

they should change that

lavish frigate
lone gust
wraith rose
#

Because learning a new language can be really time consuming

lavish frigate
lone gust
lavish frigate
#

am i wrong

lone gust
#

yes

lavish frigate
#

in what way

lone gust
#

?

royal nymph
lone gust
#

or at least when i used it it was

royal nymph
royal nymph
lavish frigate
#

never

#

i will never consider that

#

thank you for asking

#

:3

lone gust
# royal nymph ?

when i was using it it was throwing a lot of errs and didnt really work

lone gust
wraith rose
#
import pathlib

current_directory = pathlib.Path(__file__).parent
files = current_directory.rglob("*")

biggest_files = {}
for file in files:
  if file.is_file():
    if not biggest_files.get(file.suffix):
      biggest_files[file.suffix] = []
    
    biggest_files[file.suffix].append(file)

for file_type in biggest_files:
   sorted_files = biggest_files[file_type]
   sorted_files.sort(key=lambda path: path.stat().st_size)
   print(f"{file_type} files")
   for file in sorted_files[-3:]:
    print(f"{file}: {file.stat().st_size} bytes")
   print("\n")


not the best code but this works pretty well

elder scaffold
lavish frigate
#

public static void main(string[] args) or whatever

elder scaffold
#

Thats just the main function your ide automatically generates

lavish frigate
#

Fearful

wraith rose
#

You haven't even used Java

#

That's concerning if you are saying it is bad

royal nymph
#

java is pretty solid

lavish frigate
wraith rose
#

20 mb is my largest file usually I think it would be fine except the 562 mb but that's just one

wraith rose
#

Learnt very little rust.
Also nice

calm ruin
#

skull

wraith rose
#

20 mb is not the large file you were concerned about

lavish frigate
#

but c is challenging

#

so its more fun

#

ofc im not gonna use it for any project nowadays blobcatcozy

#

c is definitely one of the more challenging languages out there

#

especially if you refrain from using any libraries

#

(what i did just to challenge myself)

calm ruin
#

I dont find challenging fun tbh

#

even doing simple string manupilation is hard on C

lavish frigate
#

i find challenging fun if im specifically craving for a challenge i.e. making something in C for practice

meager turret
lavish frigate
#

i also used it to learn more about memory and memory optimisations

lavish frigate
meager turret
#

im not wrong

wraith rose
#

Python has gotten way better and runs well

meager turret
#

its still bad for the environment compared to a lot of other languages!

lavish frigate
#

if you dont use rust or c you are a nazi as you are intentionally causing global warming i think

calm ruin
#

most languages have their usecases

#

I find python very useful if the thing I am making doesnt need to be very performant

#

it makes writing lot easier

lavish frigate
#

python is good for prototyping

calm ruin
#

java is pretty solid and great on OOP

#

alongside C#

#

makes complicated applications easier to make

lavish frigate
#

i think composition is better than inheritance

calm ruin
#

like games

wraith rose
lavish frigate
#

idts

wraith rose
#

I don't think most people intentionally case damage

lavish frigate
#

i make my vencord plugins in rust

#

rust to js cross compilations and stuff

#

my brain thought of javascript, typed java but did not autocomplete the script

wraith rose
#

Saying that x people who happen to do x on its own isn't really fair or accurate

#

You are over generalizing

#

And what if that's the only class they need to take and only one they can take?

lavish frigate
wraith rose
#

That's an unfair and not well thought out joke

wraith rose
lavish frigate
wraith rose
hushed pebble
hushed pebble
deep mulch
#

@frosty obsidian

#

i think ill make it have setting that uses templating

#

so you cna like

#

$timestamp: $message or however

#

and it fills in

#

its very easy to break

#

it also doesnt close the adb logcat processes it spawns for some reason

#

@frosty obsidian do you have any ideas I could add

frosty obsidian
#

filter by package name

deep mulch
#

okay

#

I was trying to add a search filter thing but

#

the logs keep pushing it off screen

#

have to investigate tomorrow

#

my code is so horror

#

I'm gonna add comments

cosmic tiger
#

🪅

ionic lake
fallen nebula
#

guys when you have an issue, always remember to put it on GH then do a PR if you can :w:
GooseMod/OpenAsar#179

OpenAsar settings under advanced unavailable on other languages than English
GooseMod/OpenAsar#191
Patch Settings Injection to work no matter the language

distant totem
#

uhhh

#

I just want to edit a existing plugin and give it to a friend

#

thats not possible no?

dusty moth
#

clone Vencord, edit the plugin, and compile an installer

distant totem
#

i couldnt find where the pluin was

dusty moth
distant totem
#

that was a dumb af timeout

#

im using the

#

regular client

#

B_DogCheemsPray dont strike me down

#

i found a workaround tho thanks

dusty moth
#

yes this server has dumbass automods

distant totem
#

i dmed it to you

wraith rose
#

also most files max are 30 mb

#

There just happens to be one that's 562 mb

ionic lake
#

you can't selfhost minio?

wraith rose
#

It requires gnu or gpl for using it

ionic lake
#

no it doesn't

#

my own bot uses components that are BSL lmao

wraith rose
#

I assume postersql and most databases can handle 30 mb per file just fine

ionic lake
lavish frigate
# wraith rose It requires gnu or gpl for using it

the software themselves is gpl..... if you want to add onto it (/make your own version of it) you will have to release the source code... if you are just using it you dont have to worry about anything....

wraith rose
#

Bucket quotas as in limits on what's stored?

ionic lake
#

size limits

#

such a long dwindled conversation about using postgres for object storage or not, but honestly I don't care, try it yourself and let us know how it went

wraith rose
#

I already use psql for someone's project.
It just needs me to make my own version for more fine control.
Their code us really fast though

#

Psql can handle files and That proved it

dusty moth
#

use this cool lifehack to make your code over 30x shorter

#

||folding||

fleet cedar
#

#![allow(warnings)], spicy

dusty moth
glacial mirage
#

#![allow(errors)]
instant fix to all your code forever

dusty moth
digital wigeon
#

ChatGPT is really the future.
I can respond to a lazy issue in a professional manner and get extra details out of the issuer.

w/o ChatGPT the issue would be bloated with me cursing at them.

#

If only there was a copilot integration for that 😔

sand shard
#

"fuck you go read the readme"

digital wigeon
#

It is beyond that, they blatantly lie by checking the box that says "I've searched the issue tracker to no avail"

#

And guess what, most of the time it is a duplicate issue

fleet cedar
#

Users are very skilled at reading comprehension

royal nymph
#

answer issues with ai

#

how do you make the ai know the relevant data though?

fleet cedar
#

Haven't you already reviewed prs with ai sometimes

royal nymph
#

no..

royal nymph
digital wigeon
#

for lazy issues like that, chatgpt does not need deep context

#

(assuming what you want to do is probe for more information)

#

you could maybe make a command, e.g. !moreinfo
and have chatgpt reply to issues with that command, asking for more information depending on the issue's description and title

digital wigeon
digital wigeon
# sand shard "fuck you go read the readme"

dude, I once got a feature request for an existing feature, that was clearly listed on the README

how are people more incentivized to open an issue rather than look up if the thing they are asking for already exists?

spark tiger
#

amazing

#

woke up to not being able to install any plugins here

lavish frigate
#

wtf

#

whats your region

spark tiger
#

🇷🇺

lavish frigate
#

ah

spark tiger
#

yeah

#

tbh forbidding installing plugins is way too much

#

they first blocked installing their software

#

now it's even plugins wtf

#

hopefully I've got a working VPN and JetBrains don't care that much to determine that I mostly use their software from russian IPs and decide to ban me or anything else as Adobe does lol

quick crow
#

Wtf lmao

ornate quiver
#

maybe they don't block there

spark tiger
#

a VPN is the only solution

#

thankfully it works that way

#

and yeah I can't even update my already installed IDEs

ornate quiver
#

damn

spark tiger
#

and I technically can't get the free student license here but in reality it's bypassed as easy as just choosing a different country lmfao

#

like I authorized with my github that has student benefits, chose Russia, it said I can't get it here, then just switched it to Kazakhstan and it went fine lol

#

well at least I don't have the gift nitro button in regular discord client :^)

wraith rose
#

ah the regulations aganist russia due to the russian urkanian war

#

That would explain things on your end

spark tiger
#

yeah but like

#

blocking extensions is something new to me honestly

wraith rose
#

Region lock has been on consoles forever except on the stuff like the nintendo switch

#

it feels weird sites doing it like this too

lavish frigate
wraith rose
#

if you do buy games digitally you need a nintendo account made in the region you want to buy from

#

I most buy physical games though

lavish frigate
#

i do not buy

#

reminds me

#

i need to boot my switch into cfw again

wraith rose
#

That's a lot of software.
rooThink I have a switch lite so I cannot mod it for custom apps and backing up my catridges

lavish frigate
#

ah

#

i bought my switch a year after release

#

didnt even know i could mod it until like 4 years ago

#

HOLY FUCKING SHIT

#

i modded my switch 4 years ago

wraith rose
#

you have a launch switch?

lavish frigate
#

how is it 2024

lavish frigate
wraith rose
#

I would need to modchip mine and I don't have the tools to open this or anyone who knows how to solder it and properly

#

this also released:

#

I had it pre-ordered months ago

wraith rose
#

I have steam deck on my eventual grab list

#

The ace attronetry investigations looks good

wind ivy
#

should i make a contest

#

ill give people like 15$ if you manage to optimize my code more than it already is

spark tiger
royal nymph
#

companies must follow sanctions

royal nymph
spark tiger
#

¯_(ツ)_/¯

#

though I think I managed to install some

#

.ignore* one

royal nymph
#

xD

royal nymph
#

LOL nice grammar error

spark tiger
#

also that should be very easy to bypass if I got it right

#

I mean to make gift button appear again

#

and make shops work again

#

like afaik it's just a http request that gets sent on client lainch

royal nymph
#

nah it's fully client side

#

u can likely just force disable the experiment

#

try it

#

set it to not eligible

spark tiger
#

hm unsure what this is for then

#

ah it's for billing

#

though not sure what that'd mean

#

this is the only usage of this endpoint I could find in the sources tab

royal nymph
buoyant trellis
spark tiger
royal nymph
#

there u go xd

#

but u likely still wont be able to make purchases

spark tiger
#

guh apparently pressed ctrl + r instead of ctrl + e

#

wanted to say thank you I can now access gift inventory and quests

#

not that I often use it but anyways

spark tiger
#

though I'm gonna set it back to whatever it was because this gift button is too annoying lmfao

spark tiger
valid jetty
#

@deep mulch do you love such simple IR generation

struct Foo<T, U> {
    T a;
    U b;
};

fn Foo::get_a<T, U>(Foo<T, U> self) {
    return self.a;
}

fn main() {
    Foo<string **, string **> foo = Foo { a = 0, b = 0 };
    foo.get_a();
}

compiled into IR

type :ElleMeta = { l, l, w, l }
type :Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 = { l, l }
function l $Foo.get_a.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12(:Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 %self.10) {
@start
    %.11 =l add %self.10, 0
    %.12 =l loadl %.11
    ret %.12
}
export function w $main() {
@start
    %.6 =l alloc8 16
    %.7 =l add %.6, 0
    storel 0, %.7
    %.8 =l add %.6, 8
    storel 0, %.8
    %foo.addr.9 =l alloc8 16
    storel %.6, %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %.13 =l call $Foo.get_a.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12(:Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 %foo.5)
    ret 0
}
deep mulch
#

yes

valid jetty
# deep mulch yes

well i made it use numbers instead out of spite

type :ElleMeta = { l, l, w, l }
type :Foo.0.1.1.1.14.1.1.1.14 = { l, l }
function l $Foo.get_a.0.1.1.1.14.1.1.1.14(:Foo.0.1.1.1.14.1.1.1.14 %self.10) {
@start
    %.11 =l add %self.10, 0
    %.12 =l loadl %.11
    ret %.12
}
export function w $main() {
@start
    %.6 =l alloc8 16
    %.7 =l add %.6, 0
    storel 0, %.7
    %.8 =l add %.6, 8
    storel 0, %.8
    %foo.addr.9 =l alloc8 16
    storel %.6, %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %.13 =l call $Foo.get_a.0.1.1.1.14.1.1.1.14(:Foo.0.1.1.1.14.1.1.1.14 %foo.5)
    ret 0
}
deep mulch
#

can I like

#

on a forked repo

#

take a single commit from upstream and merge it to my fork

ornate quiver
#

its called cherry-picking

wraith rose
thorny ingot
#

vscode rust nerds: what are good exstentions for programing in rust for VSC

#

@lavish frigate looking at you

lavish frigate
thorny ingot
#

k

lavish frigate
#

its official and has REALLY good language support

thorny ingot
#

not the offical vsstuido one?

lavish frigate
#

?

thorny ingot
#

or whatev3er

#

theres

#

two

wraith rose
#

How much typescript and javascript would I need to know to make a vencord plugin?
Trying to get a suggestion of mine made

lavish frigate
thorny ingot
#

im using vscodium

#

ty

lavish frigate
#

im not sure what the answer to questions like this is

#

because what do you expect as an answer

wraith rose
#

my suggestion was something according to a full group chat list and i figured it would be easier to try to learn the bare minimum to get it complete so I can finally view all my group chats as I am in so many

#

I think I'm in 40 to 50 group chats

lavish frigate
#

you cant really "learn the bare minimum" because you wont know to learn something until you need it, thats why i recommend just starting out and learning about it as you go

wraith rose
#

rooThink well, I tried learn some rust to make an application and that didn't go too well

lavish frigate
#

well rust isnt extremely mature yet so making gui apps is a bit... meh..

wraith rose
#

I was trying to rewrite image manipulation code in it and it was hell

#

I had to ask my online friend and some rando to help me

lavish frigate
#

rn rust is mostly used for cli apps or optimising/securing mission critical components in other software

wraith rose
#

rooThink I was going to have python bindings and run some pillow and wand code in rust instead

#

for perfomance reasons

lavish frigate
#

ah

wraith rose
lavish frigate
#

i made a status bar specifically for windows in python but never really finished it because python is a pain so now im doing it again but in rust

wraith rose
#

Someone made a pull request for it but hasn't worked on it for a while cause they are busy

#

which so happens to be one function

lavish frigate
#

In the future formatted with rustfmt possibly automatically?
cargo fmt

wraith rose
#

cargo fmt?

#

I just know it's a tool that can auto-format similar for python

#

I also have no idea how much perfomance gains this will get with my image manipulation functions compared to c bindings running asyncio.to_thread() and having multiple functions going through python rather than all being in rust for example

#

Basically I have no idea if it will be worth rewriting in rust, it might be a waste of time

lavish frigate
#

cargo is rusts package manager, should be automatically installed with rust (if you use rustup, the default, of course)
cargo is also basically just an everything tool and its amazing
you shouldve used it actually if you have written any rust code before (cargo build/run)
it also provides formatting (fmt) and linting (clippy)

wraith rose
#

rooThink I have rust locally

#

Only problem with not being to write image manipulation code in rust i have no idea if it's worth it besides doing what I already in python

lavish frigate
#

probably not if its really just one function

#

thats what im getting out of your code

wraith rose
#

I run multiple functions from image manipulation though

lavish frigate
#

ah nvm i forgot you use bindings, i was only looking at the main function tbh

wraith rose
#
from io import BytesIO

import discord
from wand.image import Image as WImage

def invert2(image) -> discord.File:
    wrapped_image = BytesIO(image)

    with WImage(file=wrapped_image) as img:
        img.iterator_first()
        img.negate()

        while img.iterator_next():
            img.negate()

        ext = "gif" if len(img.sequence) > 1 else "png"

        img.format = ext
        data = BytesIO(img.make_blob())
        return discord.File(data, f"inverted.{ext}")
#

Like that, would probaly be pretty fast which it is

#

but a rust version would probaly run better especially with python bindings

#

but I have no actual data to disapprove or approve it

lavish frigate
#

well i have never done image manipulation in rust before but you are probably correct in your assumption that rust is faster (lol)

wraith rose
#

I am pretty bad at rust ngl

#

I would need help getting my idea thing done

lavish frigate
wraith rose
#

I want to find someone who actually knows rust to work with me on my project thing

#

and I wouldn't mind if they got control over the rewrite's version of the code

dusty moth
#

rust has packages??

lavish frigate
#

I literally explained it there 😭

lavish frigate
dusty moth
lavish frigate
#

??

hushed pebble
#

r u trolling

lavish frigate
#

Definitely

dusty moth
hushed pebble
#

don't troll the rust programmers

#

rust programmers are too harmless

dusty moth
#

i fucking linked to c

#

thought you had to

#

what crate should I use?

#

omfg I can use multiple

#

this is amazing

hushed pebble
#

yes please

jade stone
#

how do you type a destructured array

#

this is what i thought of, and tsserver doesnt like it

hushed pebble
serene elk
hushed pebble
#

[number, string, object]

hushed pebble
#

you beat me

serene elk
#

you can also name them

#

let a: [name: string, age: number, address: string] = ["", 1, ""]

hushed pebble
#

He's gonna destructure it, so no point

#

at least

#

I think?

serene elk
#

depends

#

sometimes its useful sometimes not

hushed pebble
#

yup

jade stone
#

thanks

hushed pebble
#

and what is the any for

jade stone
#

what?

hushed pebble
serene elk
#

File[] moment

jade stone
# serene elk why

for some reason, discord doesnt pass an array of files, but whatever that is

#

its not an Array object

hushed pebble
#

using Array.from

jade stone
#

yes

#

yup

hushed pebble
#

soooo

jade stone
#

but thats not whats its passed as

hushed pebble
#

uhhh

#

is this exposed to users of your library?

jade stone
#

this is a function called from a patch

hushed pebble
#

a patch request?

jade stone
#

😭

hushed pebble
#

a PATCH request?

jade stone
# hushed pebble a PATCH request?
/*
 * Vencord, a Discord client mod
 * Copyright (c) 2024 Vendicated and contributors
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { Channel } from "discord-types/general";

type guh = [{ [k: number]: File, length: number }, Channel, any];

export default definePlugin({
    name: "AutoMediaCompresser",
    authors: [Devs.sadan],
    description: "compresser",
    patches: [
        {
            find: "Unexpected mismatch",
            replacement: {
                match: /(Unexpected.{0,100}if.{0,20}{)(.*?return)(})/,
                replace: (_, before, body, after) => before + "if(!$self.attemptCompress(arguments)){" + body + after + "}"
            }
        }
    ],

    attemptCompress([fileList, channel]: guh) {
        console.log(fileList[0], channel);
        return false;
    }
});
serene elk
hushed pebble
#

NO CALLEE

jade stone
hushed pebble
#

guh

serene elk
#

where does it even originate from

jade stone
serene elk
#

my breaking point didnt call 💔

serene elk
jade stone
jade stone
serene elk
#

oh

#

didnt get called sadge

jade stone
#

and the acc im testing on has no nitro

wind ivy
#

im just confident since its very optimized already

#

(from like a year ago)

#

code is this if anyone wanna try

#
use std::io::{stdout, BufWriter, Write};

fn main() {
    let mut acc = 11719107999768421026u128;
    let mut out = BufWriter::with_capacity(1000000, stdout().lock());
    for i in 1.. {
        for _ in 0..94usize.pow(i as u32) {
            let mut buf = (acc - 9404222468949967490).to_le_bytes();
            buf[i] = b'\n';
            let _ = out.write_all(&buf[..=i]);
            acc += 1 + ((!acc & 9259542123273814144) >> 7) * 162;
        }
    }
}```
autumn sigil
lavish frigate
fleet cedar
#

Well they're not wrong

formal belfry
#

how do i make a plugin edit a message that the user clicks on with text which is inside the plugin itself

snow grail
rugged berryBOT
#

Here is your py(3.10.0) output @snow grail

[4, 5]
snow grail
#

mods do I get the job

formal belfry
lavish frigate
snow grail
#

where's my paycheck

formal belfry
snow grail
#

never

#

horror DISCORD badges

final night
#

/run

let x = [1, 2, 3, 4, 5]
console.log(x.filter(a=>a>3))
rugged berryBOT
#

Here is your js(18.15.0) output @final night

[ 4, 5 ]
final night
#

Im proud i did that on my phone keyboard

deep mulch
magic ice
#

/run rust

fn main() {
    let mut x: Vec<i32> = vec![1, 2, 3, 4, 5];
    let y: Vec<&i32> = x.iter().filter(|&&num| num > 3).collect();
    println!("{:?}", y);
}
rugged berryBOT
#

@magic ice I received rust(1.68.2) compile errors

warning: variable does not need to be mutable
 --> file0.code:2:9
  |
2 |     let mut x: Vec<i32> = vec![1, 2, 3, 4, 5];
  |         ----^
  |         |
  |         help: remove this `​mut`​
  |
  = note: `​#[warn(unused_mut)]`​ on by default

warning: 1 warning emitted

[4, 5]
magic ice
#

mb

#

/run rust

fn main() {
    let x: Vec<i32> = vec![1, 2, 3, 4, 5];
    let y: Vec<&i32> = x.iter().filter(|&&num| num > 3).collect();
    println!("{:?}", y);
}
rugged berryBOT
#

Here is your rust(1.68.2) output @magic ice

[4, 5]
magic ice
#

why

jade stone
#

thats my monospace font of choice

royal nymph
#

chat husk react this user

hushed pebble
dusty moth
dusty moth
# lavish frigate

/run ```haskell
{-# LANGUAGE NPlusKPatterns, LambdaCase, ViewPatterns #-}

x = 1: 2: 3: 4: 5: mempty
y = go x where
go = \case
(x+4):(go -> xs) -> x:xs
x:(go -> xs) -> xs
[] -> []
main = print y```

rugged berryBOT
#

Here is your haskell(9.0.1) output @dusty moth

[2,3,4,5]
austere idol
#

None

#

the default language

wraith rose
#

May need to make a pr to vencord so I can access stickerstore through utils

hushed pebble
#

should I be using io_uring for only one FD

wraith rose
#

I found:

Vencord.Webpack.findStoreLazy("StickersStore")

#

but it doesn't allow me to do much

jade stone
#

Not at home rn

wraith rose
royal nymph
wraith rose
royal nymph
#

why not?

wraith rose
#

Proxy(Function) {length: 0, name: '', prototype: {…}, Symbol(vencord.lazy.cached): undefined, Symbol(vencord.lazy.get): ƒ}