#πŸͺ…-progaming

1 messages Β· Page 132 of 1

tepid grotto
#

thanks! seems like it makes a decent dyslexia monospaced font?

valid jetty
#

@solid gazelle one day your day of reckoning will arrive and you should not be surprised at the occasion as you are aware of your devious sins

solid gazelle
#

oh-

valid jetty
valid jetty
#

at least to read code with

tepid grotto
valid jetty
#

i thought i should make it clear that i am not clinically dyslexic, it is just easier to read code in my opinion having used both fonts for several months now

tepid grotto
#

also I love this:

deep mulch
#

@valid jetty roieeee

#

@rosie.pie @rosie.pie @rosie.pie

winged mantle
#

I just tried to hand edit dotnet il to get something to work properly in wine

#

this did not go to plan

#

(I was just trying to remove a line)

#

oh, managed to do it with dnSpy's recompilation feature

deep mulch
#

kose tode

#

kode tode

winged mantle
#

nope still doesn't work

#

i guess i should use a real game engine like unity

valid jetty
#

what do you think

deep mulch
#

what's the params

#

@valid jetty what if you added named params

valid jetty
#

atan(v) was the original function, but for quadrants they wanted to make one that takes in x and y individually, since you would usually do atan(y / x), so they made atan2, but to make refactoring easy, they make it take in the args in reverse order, as in atan2(y, x). people always get confused on this so as a joke i made atan3, which basicaly does atan3(x, y) = atan2(y, x). i thought it would be really funny to make atan4 take in a direction so you can do both with a single function, and then i came up with the most cursed possible way to achieve that

deep mulch
#

who is they

#

???

#

ro ie crazy

solid gazelle
#

satan(v)

#

elle so pretty..

deep mulch
#

nop

#

I will fix

valid jetty
winged mantle
valid jetty
#

whoever is in charge of the c standard library specification

deep mulch
#

John C

winged mantle
#

c standard committee

valid jetty
#

yeah that

deep mulch
#

no it's John C

winged mantle
#

the c standard librarians

valid jetty
deep mulch
#

@valid jetty # ulgy

valid jetty
#

isnt it wonderful

winged mantle
#

what really gets me is how tuple is 2 and triple is 3

#

evil

deep mulch
#

rosie will never add explicit return types

valid jetty
winged mantle
#

just make it longer so it doesn't conflict with var names

#

static_cast

deep mulch
# valid jetty

no one would know what this method returns without prior knowledge of the stdlib

valid jetty
#

__internal_builtin_elle_cast_this_variable_to_another_type(f32, x)

winged mantle
#

seriously though can't you just make it ⁨⁨as i64 *⁩⁩

deep mulch
#

you cant

winged mantle
#

or (i64 *)

deep mulch
#

or github

valid jetty
deep mulch
#

it's very bad for readability

valid jetty
#

how

winged mantle
lucid trail
#

honestly doesn’t #cast<T>(x) make more sense

valid jetty
#

just read #cast(T, x) as "cast to T the value x"

#

no because #cast isnt a function

deep mulch
# valid jetty how

no one can infer the type without knowing the stslib or using an editor

winged mantle
#

why have a hashtag

#

it's not twitter

valid jetty
#

# is for compiler builtins
a

fleet cedar
#

Think that's for macros or something

deep mulch
#

twitter

fleet cedar
#

Or for shouting real loud yeah

deep mulch
#

Elle is twitter lang

valid jetty
#

weve talked about this before

deep mulch
#

minklang will be Elle with oop and better syntax

#

i@valid jetty @valid jetty

#

what if

#

minklang and Elle interop

#

@young flicker go play with your abacus

valid jetty
deep mulch
#

your abacus

winged mantle
valid jetty
#

in clang/gcc compiler builtins are __builtin_name

#

which is stupid

#

would you rather #cast(T, x) or __builtin_cast(T, x)

deep mulch
#

I'd rather #cast(x, T) if anything

tepid grotto
#

we should all use ⁨m4⁩ on our c files

fleet cedar
#

I'd rather have no "the" namespace

tepid grotto
#

ignore the fact that m4 is for asm and c has its own preprocessor

valid jetty
deep mulch
#

how

#

that's insane

valid jetty
winged mantle
deep mulch
#

yop

fleet cedar
#

We all know what the best macro processor is ||tex||

winged mantle
#

as opposed to a member of a special builtin namespace

valid jetty
#

@deep mulch

deep mulch
valid jetty
fleet cedar
#

Why is it a function anyway

valid jetty
#

its. not

fleet cedar
#

Except first arg is a type instead of a value which is cursed

winged mantle
#

also in c plenty of things are built into the language without being prefixed with ⁨__builtin_⁩ aren't those just compiler specific

#

well sizeof... OK now I think about it i can't think of anything else

valid jetty
#

#size takes an expr or type

fleet cedar
#

In c sizeof isn't a function at all, it's an operator

deep mulch
#

x as T

fleet cedar
#

Just everyone always uses it with parens

winged mantle
#

I might be strange

#

my argument might not have been very well constructed when I used the phrase "things"

#

plenty of things certainly are built into the language

valid jetty
#

in any case i think its useful to have a generalized, unambiguous-to-parse way of using builtins

#

they all follow the same format

winged mantle
#

I guess I find it hard to identify what counts as your criteria of being a builtin is

#

I mean ⁨if⁩ is another built in thing which applies to an expression

#

seems like an implementation detail leaking to the user of the language

#

whatever there are no jobs in elle anyway

#

I'll use zig instead

winged mantle
#

elle needs to innovate

#

compete with llvm

valid jetty
#

yeah lemme go write 1 million lines of code

valid jetty
winged mantle
#

I made something which converted C arithmetic expressions (only with integers) to the most innefficient x86 assembly

#

i think it used push a ton

#

even just for constants

deep mulch
#

you're an ai after all

winged mantle
#

I then discovered QBE just determines the result at compile time

#

compiler backends are magic

winged mantle
#

and then raylib bindings

#

wait i think gamemaker does allow plugins

deep mulch
#

@valid jetty is the worlds smartest person

winged mantle
#

so maybe you could make a plugin that allows using raylib

#

but then you would have multiple windows which is bad

#

just wondering because gml is the best language ever created but raylib is the best game engine

deep mulch
#

@winged mantle loves unity

winged mantle
#

unity ishorrible

#

unironically i am torn between gamemaker and godot and idk if i'm weird for that

#

godot seems kind of difficult to use blobcatcozy

#

also gdscript seems limited

#

C# feels too oop (you can't just have a function somewhere)

tepid grotto
#

python (/j)

winged mantle
#

at first i thought i liked C# but i might even prefer to write kotlin

tepid grotto
#

electron? (/j don't do this please)

winged mantle
#

a game in electron feels like the dumbest thing

tepid grotto
#

yeah

winged mantle
#

surely you could just have a headless js runtime with a canvas compatibility layer

tepid grotto
#

no stop

winged mantle
#

which renders to a native window

tepid grotto
#

don't

#

no

#

bad

#

stop

winged mantle
#

better than electron

tepid grotto
#

don't use electron either

winged mantle
#

it's like what tsoding was trying to make

#

hate2d

#

like love2d but with javascript

winged mantle
tepid grotto
#

no

#

google's gross

winged mantle
#

imagine if there was a framework based on an actionscript like language using a port of flash apis with backends such as web and x11

tepid grotto
#

wth

winged mantle
#

presumably supports windows too

#

launched as an x11 app on my machine though

#

said language is also designed to transpile into other languages

#

like javascript

#

letting it run on web without wasm

tepid grotto
#

on an entirely unrelated note, how does one get the fun language roles?

winged mantle
#

are you a member of anti vencord aktion

tepid grotto
#

no

austere idol
tepid grotto
#

ah that makes sense

jade stone
#

@lyric latch @supple whale you love tailwind

#

isnt that just also tailwind

#

but different

#

you can do that in tailwind too

#

you can make custom rules in both js and css iirc

#

what are those attributes

#

i use tailwind for the final styles

#

and scss for styles on components that will be reused

#

yeah, but scss still has some nice things

#

my site is 15mb across all routes, but i have a lot of heavy deps

#

the main page loads 223kb over network, 630kb decompressed

deep mulch
#

saladdd

#

saladd make me a blog with svelte

#

or astro

jade stone
# deep mulch huge

2 copies of typescript, handful of textmate grammars and themes, monaco editor, regex engine (wasm), demangler (wasm)

#

That's most of it

deep mulch
#

@jade stone add game engine

#

make a multiplayer game on your website

deep mulch
#

true

jade stone
#

true

boreal minnow
#

is there a way to do an http request without actually using fetch?

#

I wanna fetch some data from a website that doesn't have CORS headers

#

i mean yes this won't work for browser vencord but I wasn't planning to use it on the browser version anyways

jade stone
#

Other plugins do native fetches for cors

boreal minnow
#

All I'm planning to do is make an unofficial plugin that will automatically do quests for me

#

Now that I think about it, I don't think that even requires native fetch holy moly

jade stone
#

Check out aamiaas script and questify from equicord

boreal minnow
#

Because a bunch of my friends have zero knowledge of webdev and it's kinda annoying having to tell them what to do every single time

boreal minnow
patent vortex
#

oh you fixed that?

pearl parrot
#

it broke?

patent vortex
#

some broken patch idk

pearl parrot
#

true

patent vortex
#

i'll check again tomorrow

pearl parrot
#

Vencord WebpackPatcher Patch by QuestCompleter had no effect (Module id is 409389): /className:\i.headingControls,children:[/

#

okay i fixed @patent vortex

patent vortex
boreal minnow
fast trout
#

anyone here know how vencord fetches updates and applies them?

#

does it check the github repo for newer commits than what the client is on?

#

and then it just builds off of the latest available commit or does it work differently than that

jade stone
#

Just read the source

jade stone
#

@deep mulch help my tests take five years to run

supple whale
#

all at once

#

simply

jade stone
#

they are trolley

supple whale
#

28s for tests isnt bad

#

or split the long tests into sub tests

#

or write good code :))))

#

XD

jade stone
deep mulch
#

so it's blazingly fast

jade stone
#

ehh

#

maybe

deep mulch
#

@jade stone

royal nymph
deep mulch
jade stone
valid jetty
deep mulch
#

rosie discovered the electric light bulb

jade stone
#

who needs rollup when you have shell scripts

#

works on windows too blobcatcozy

tepid grotto
pseudo sierra
#

anything salad does is fucking insane

#

at some point you just stop questioning his work and start questioning where it all went wrong

deep mulch
#

salad is deranged

deep mulch
jade stone
solemn ravine
#

made my zed theme a bit more readable in my eyes

#

changed a few colors aroudn

winged mantle
#

how come this swift code looks like zig

solemn ravine
#

my theme just makes it look that way probably

jade stone
#

@supple whale i think i've reached peak insanity

couldn't get vite to minify ssr output, so ran rspack over the generated vite output

jade stone
#

press don't save
saves
what did they mean by this

#

that freeze isn't the video, thats zed being very fast

placid igloo
#

idk i tried zed but nothing can beat vs code

#

i tried it in a very early stage before windows was even officially supported tho so

jade stone
#

vscode is very polished, ive never found a bug nearly as bad as this

tepid grotto
#

I just use nano

#

lately though I've had to use windows so I'm using textedit which isn't as nice as nano

deep mulch
jade stone
deep mulch
#

@jade stone saladd

dense sand
jade stone
dense sand
#

yall just not ready for Bun

dense sand
#

Guys i need to generate mock data for my database, theres like 12 tables each referencing each other with some relationship. any ideas how to "duplicate" these entries and generate like 100 of them?

ornate quiver
#

do you not have a seed script to populate the db with test data?

dense sand
#

No

#

I have tried using Bun for this for my nextjs project but ot seems like bun cant do that

ornate quiver
#

well maybe look into that
if you're using an ORM they might have documented support for standalone seeding

royal nymph
pearl parrot
#

but at the same time you should just kill sadan.zip and rewrite

deep mulch
tepid grotto
#

@royal nymph

GNU tag
gang do I /ignore them?

royal nymph
#

wha?

royal nymph
#

he doesn't know

#

FAKE OBS

tepid grotto
royal nymph
#

@jade stone next time u record, press here

#

good things will happen

tepid grotto
#

I agree honestly

royal nymph
tepid grotto
#

depends on what though?

tepid grotto
royal nymph
royal nymph
deep mulch
#

make venbot auto mute satan videos @royal nymph

royal nymph
#

but i disabled it

tepid grotto
royal nymph
#

dw about it

shrewd canopy
# royal nymph

Apparently rms on new year 🎣
Didnt though he changed that much

deep mulch
#

enable

royal nymph
#

he looks way older now

#

he looks like a samurai now

#

like actually

#

uh oh...

royal nymph
#

why care about that

#

it's server side it doesn't have to be minified

jade stone
#

Cf workers has a limit of 3mb for code after gzip compression

royal nymph
#

how is ur code >3mb 😭

#

what the bloat

#

is that the thing where u bundle typescript etc

jade stone
jade stone
royal nymph
#

minifying on server is pointless

#

yeah but u need so much code to get 3mb 😭

jade stone
#

Idk why it's so large

#

There are no good bundle size analyzers for vite

royal nymph
#

Vencord source is 1.5mb with inline sourcemaps and it's 50k lines of code

#

so you need to have like 100k lines of code to get to 3mb, and like 200k if you don't use inline maps

jade stone
#

The SSR bundle is a lot smaller than the client bundle

royal nymph
#

horror

#

10mb client bundle

jade stone
royal nymph
#

poor pakistani child loading your website on a 3G connection waiting 50 seconds for it to load

jade stone
#

All main pages have ssr

#

Plus most only actually load 200kb or smth

royal nymph
#

how does that change the fact that it's 15mb

jade stone
#

Most of the chunks aren't used by the main page

royal nymph
#

btw off topic but have u tried using typescript v7 for your thing

#

speed πŸš€

jade stone
royal nymph
#

for ur project where u use it to parse stuff or whatever

jade stone
#

Haven't really but I don't think it will be worth it

#

I'm only doing parsing, not type checking

#

Typescript parser has always been very fast in js

#

I don't think the ffi overhead will be worth it

royal nymph
#

i dont think there's much overhead in nodejs if any at all

jade stone
#

Also I don't think they have a wasm output so it's a non-starter anyway lol

royal nymph
#

it's pretty trivial to compile go to wasm iirc

royal nymph
deep mulch
royal nymph
#

I tried loading SWC wasm into Discord and using it to parse Discord code but it was terribly slow

deep mulch
#

salad loves bloat

jade stone
deep mulch
#

Salad adding thousands of deps

jade stone
#

Not sure tho

deep mulch
#

@jade stone

royal nymph
jade stone
#

Have you heard of acorn

royal nymph
#

ofc

#

I was just experimenting

jade stone
#

Ah

#

@royal nymph unofficial tsgo wasm build

royal nymph
#

lmao

#

43mb BijouStare

shrewd canopy
royal nymph
royal nymph
#

3.5MB unminified

#

663kb minified (not compressed)

#

240kb gzipped

deep mulch
#

sadancord

#

sadantify will be 500 gb

royal nymph
#

196kb brotlid

#

satan loves brotli

#

brotli makes me hungry because brot is german for bread so brotli is like breadly

#

oh it literally is bread (roll)

While Google's zopfli implementation of the deflate compression algorithm is named after ZΓΆpfli, the Swiss German word for a snack-sized braided buttery bread, brotli is named after BrΓΆtli, the Swiss German word for a bread roll.[3]

jade stone
royal nymph
#

the brotli authors have funny names

jade stone
#

Might move to rspack because it has so much better minification

shrewd canopy
royal nymph
#

tbh minification doesn't even matter that much anymore

#

brotli is incredible

jade stone
#

Yop but I think it's funny to try and get my output as small as possible given the insanity of what I'm bundling

royal nymph
#

see how small the difference is between completely unminified and minified considering the input is 2.5x as big

#

if u have a minor minification difference of maybe 50kb, the brotli difference will be tiny

#

50kb is already very generous

#

I assume the diff will be more like 10kb at most

#

so brotli difference maybe 2kb

jade stone
#

Guhhhhh

#

Zed extension api so bad

#

It's useless

#

All you can really do is give an LSP server to load

#

Nop

#

Can't even close a file

#

I use zed for large files because it has a bit better UI than kate

#

So auto save would lag zed so much

royal nymph
jade stone
#

Jetbrains extension api is really good

royal nymph
royal nymph
#

hop on webstorm

#

idk how people use webstorm it's slow and clunky

jade stone
royal nymph
#

the people who complain about vscode being slow (it's really not) would love webstorm

royal nymph
#

i really don't get why jetbrains ides are so slow

#

how is ur jvm app so much slower than electronware

jade stone
#

Does more

royal nymph
#

i guess? but doesn't it just use the ts lsp like vscode

#

i get it with java, gradle is a chonky boy

#

but not with typescript

#

does jb have their own ts lsp

jade stone
#

They use tsserver

#

(iirc, could be wrong)

deep mulch
#

webstorm loads fast for me

#

it's idea that's slow especially with new projects

#

has to index and download dependencies

royal nymph
#

zt uses webstorm then wonders why he hates web dev

deep mulch
#

I dont use webstorm

#

vscode more annoying web dev

#

I love opening it and 400 extensions load up

royal nymph
#

dont install 400 extensions easy

royal nymph
deep mulch
#

too many frameworks

jade stone
deep mulch
#

@jade stone send me your extra graphics card

royal nymph
lucid trail
#

67

ornate quiver
jade stone
royal nymph
jade stone
#

Oh

#

Yeah

royal nymph
#

idk sounds like stockholm syndrome to me

ornate quiver
deep mulch
#

my card is 6 years old @royal nymph

#

it's older than fres

shrewd canopy
jade stone
supple whale
#

jassub sitting at 4k weekly downloads

swift grove
#

is a server copier plugin possible

tepid grotto
#

what specifically do you mean by copy

shrewd canopy
swift grove
swift grove
tepid grotto
#

okay what specifically do you mean by copy

swift grove
shrewd canopy
swift grove
#

i explained

tepid grotto
#

like you just want to create channels with the same name, you want roles and permissions to be the same, you want everybody to be invited...

swift grove
swift grove
patent vortex
#

there's not a plugin for it

#

you'd need perms to see every channel anyway

tepid grotto
#

I'm not sure about plugins specifically, but it would certainly be possible to create a script of some kind that makes channels with the same name

roles and perms would be harder because you can't see all of them if you don't have perms anyway

swift grove
shrewd canopy
shrewd canopy
swift grove
tepid grotto
shrewd canopy
tepid grotto
patent vortex
tepid grotto
#

you're not dumb

swift grove
# tepid grotto wait what plugin are you talking about?

Plugin: https://github.com/BlockTol/Discord-Server-Cloner
Vencord Download Tutorial: https://youtu.be/XmVNRKrphlw?si=INv-_2PIGud871_Q

Discord Server: https://discord.gg/9ra6MwHTHy

Discord, Vencord, server cloning, server backup, Discord plugins, Discord mods, Discord bots, Discord communities, Discord servers, server copy, Vencord features,...

β–Ά Play video
tepid grotto
#

oh god it's a youtube video

#

hang on don't install it yet

swift grove
#

i wasnt planning on it

#

until i know for a fact its ok

patent vortex
#

i mean you can read the code, it's there

tepid grotto
swift grove
patent vortex
#

i see no python

#

oh wait

#

the video

swift grove
tepid grotto
#

I skimmed the code and I didn't see anything off

swift grove
#

so i was just being safe

tepid grotto
#

fair

#

did very much feel off

#

personally I wouldn't update without checking the repo again, but right now it looks totally legit

placid igloo
patent vortex
#

donors

royal nymph
supple whale
tired vigil
#

I LOVE SLOP

fallen nebula
# swift grove one like this https://www.youtube.com/watch?v=ZBoh6mlGA5M

When the channel also has that, i wouldn't trust it to not eat your token
https://youtu.be/kamhyCvhylw

discord link: https://discord.gg/jcqfTmBX2x

This video is for educational purposes only. The content shown is intended to provide knowledge and awareness, and it is not meant to promote, endorse, or encourage any illegal or harmful activities. Please respect all laws and regulations, and use this information responsibly. We do not support the ...

β–Ά Play video
tepid grotto
fallen nebula
#

I mean idk i didn't read the code

#

There's enough red flags for me not check the code at all

supple whale
#

day 1300 of AI not understanding flexbox and grid

night sphinx
#

div padding 20
div margin 10

jade stone
#

TIL tuples can have optional members

type MyTuple = [foo: number, bar?: string];
declare function doThing(param: MyTuple): void;
doThing([1]); // valid
doThing([1, undefined]); // valid
doThing([1, "myString"]); // valid
dense sand
#

congratulations, you just invented array

valid jetty
woven mesa
#

@valid jetty hiii

valid jetty
#

hiii

tired vigil
dense sand
#

have you ran this in Bun environment though for blazingly fast performance?

valid jetty
#

can we ban this individual

supple whale
#

bun trully is the firefox of js runtimes

dense sand
#

thats a good way of thinking about it

#

bun is like deno with superiority complex

placid igloo
#

ok but can your deno compile typescript to a .exe

tepid grotto
#

that sounds like the epitome of performance

supple whale
#

it could before bun existed iirc

placid igloo
#

oh

#

hmm yes good idea maybe i should open a second PR

#

oh it just lets me open another PR

swift grove
fallen nebula
frosty obsidian
#

feature will be useless bc no one reads

tepid grotto
#

lmao

fallen nebula
royal nymph
#

so close to goodness

#

they should have blocked +1 comments instead

fallen nebula
#

No

#

+1 useful just like LGTM

patent vortex
#

microsoft wins yet again

placid igloo
#

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:
Please contact your system administrator.
Add correct host key in C:\Users\nexpid/.ssh/known_hosts to get rid of this message.
Offending RSA key in C:\Users\nexpid/.ssh/known_hosts:1
Host key for github.com has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

#

love

patent vortex
#

oh sorry

placid igloo
#

stop eavesdropping

patent vortex
#

no

tepid grotto
jade stone
#

it grows

jade stone
#

How

tired vigil
pseudo sierra
deep mulch
#

salad bloat

placid igloo
#

earn free Discord nitro right now now now

#

lame

#

ugly ass cat wow

deep mulch
#

love

placid igloo
tepid grotto
# placid igloo oh they pivoted https://salad.com/

i once saw a project that advertised "crypto" as one of its features, and for the details on that they said 'our code is tracked with cryptographically secure hashing mechanisms and stored on the blobchain'

tepid grotto
night sphinx
#

Github but it uses a blockchain to store everyones repos

tepid grotto
#

horrible

#

just why

royal nymph
#

if you want the easier route just use arrow buttons to move up/down one at a time

jade stone
placid igloo
#

it does yea

#

i dont wanna mess around with that

jade stone
#

@lyric latch you mentioned you made m3 in solid, right

#

how did you end up doing the slider

#

when i did the m3 slider a while ago it just ended up being really cursed

jade stone
#

oh i already wrote it a while ago

deep mulch
#

@jade stone

pseudo sierra
#

salad will be banned from writing code

jade stone
pseudo sierra
#

oh no that css isn't even that bad for css I mean all of your other bs

royal nymph
#

you're proving his point!!

tepid grotto
#

what is bad about that?

lucid trail
#

could at least use nesting

royal nymph
# tepid grotto what is bad about that?
  • hardcoded colours instead of using variables
  • nav * doesn't do what you mean to do, you want at least nav > *
  • ch isn't really a great unit to use
  • *:not(figure) the * is redundant
ornate quiver
#

css has so many funny units

lucid trail
#

TIL Hz and kHz are in css

ornate quiver
#

what the hell

#

what for

lucid trail
#

of course we also have Q for quarter millimeters

#

finally, did you know px is 1/96 of 1 inch?

#

pc and pt are 1/6 and 1/72

tepid grotto
placid igloo
#

trol

deep mulch
#

???

tepid grotto
#

animations probably

fierce pendant
#

i dont get yall

placid igloo
#

why is that just the songspotlight logo

deep mulch
#

soah

#

paige sharing coolest thing ever but no link

#

horrifying

#

wing would charge $500 to do that

#

we need to put wing out of business

placid igloo
#

oh i forgot

ornate quiver
#

woah I love

frosty obsidian
#

useful

#

was just thinking about this

deep mulch
#

showw gif

#

paige you're so smart and cool
wing you're evil

#

wing be like: give me $5000

#

I should unsponsor wing he's taken like $200 from me at least

deep mulch
#

yop

#

@young flicker lets finish gloom

lucid trail
#

a wavelength is a measure of length 😭😭😭😭😭😭

#

you’re looking for frequency

patent vortex
#

palm moment LOL

#

?

placid igloo
#

color: wavelength(3inches)

deep mulch
#

that's only 3 ghz

#

light is in terahertz

#

like 483 THz for red light

torpid solar
#

LOL

deep mulch
#

die koda die

royal nymph
#

write by hand

lavish cloud
fierce pendant
#

haxe is a good language

lavish cloud
#

Yeah but what about the thing corresponding to saturation

dense sand
#

so ive got this PDF or XLSX worksheet, which i need to fill data with, and then convert to PDF. how should i effectively approach this in typescript? currently, i have this flow: fill data using exceljs -> convert to pdf using libreoffice-convert, but this takes 6s to process a single one

jade stone
dense sand
#

BUT

#

i have discovered a fix

#

in the meantime

#

i can just convert it to PDF one time and use pdf input fields and fill them with pdf-lib

#

didnt know libreoffice supported these

jade stone
#

I mean you could probably just eat the second cost and multi-thread it or something

fierce pendant
#

asincjrobous

fallow token
#

opinion on token gens

#

yay or nay

fallen nebula
#

Why does youtube keep telling me to learn haskell...
https://youtu.be/gK0hMxJhqwM

Hope you liked the video! This took a while to make (mostly bc of uni stuff getting in the way).

In this video, I will be going over the basics of Haskell syntax. Haskell is syntactically very different from other languages, so this video should clear up a lot of confusion around Haskell code. I won't assume you understand everything covered i...

β–Ά Play video
unkempt ember
#

Because Haskell is intriguing.

pearl dawn
#

i like that

solid gazelle
#

@pearl dawn @pearl dawn

#

hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

solid gazelle
dense sand
#

i do it on server so i can cache it, altough pdf-lib supports browser as well, so ondemand would work too - not sure about its efficiency

supple whale
#

XD

dense sand
supple whale
#

just stream it

#

instead of doing that.

dense sand
#

would you say its better to do it on client?

supple whale
#

100% better do it it on the client, but you defo shouldnt be doing all in memory on a single block

#

zip is a streamable format

dense sand
#

yea but you need to generate the contents of the zip

supple whale
#

yeah, then cache them in OPFS/IDB

#

preferably OPFS because then u can have file references to zip, rather than raw memory

#

and u could do shit like zip-go stream it to a fsa handle

dense sand
#

so do i just scrap the worker approach, send the data required to generate the json and generate it purely on client

supple whale
#

idk

#

idk what ur requirements are

dense sand
#

whats opfs

supple whale
#

origin private file system

dense sand
#

the thing is the cache can be invalidated on server

#

idk if opfs is a client or server thing

supple whale
#

client

dense sand
#

yea so i couldnt really cache it on client

supple whale
dense sand
#

wait let my try to generate all 200 applications

#

my system runs on 30gb of free memory rn

#

lets see

supple whale
#

doesnt matter

#

browers have their own memory limit per page

#

which is anywhere between 400MB to 4GB

#

it depends on a lot of factors

dense sand
#

i see

#

i will be doing edits to the generation system anyways

#

so plenty of time to rethink this

#

doing it on server didnt even take much time

#

only about 5 seconds

#

and my memory wasnt even touched

#

atleast task manager didnt show that

inland osprey
placid igloo
dense sand
#

jarred summer should get a nobel prize

mental peak
#

@pearl parrot how did you get that?

dense sand
#

nobel peace prize

pearl parrot
#

Jarred summer should be imprisoned

#

should be a crime to make such garbage software

dense sand
#

look how fast nextjs is! blazingly fast

fierce pendant
fierce pendant
tepid grotto
#

did the whole ai conversations get deleted or am in just in the completely wrong chat?

opal vessel
royal nymph
#

we don't delete conversations unless they are very against the rules

fallen nebula
#

Imagine discord users not getting side tracked

tepid grotto
#

lmao

woven mesa
#

i pushed the branch but basically skip is having issues

#

might make an issue on their repo

#

one problem is OptionSet cant be bridged

deep mulch
dense sand
#

today was a normal day like any other, I have decided to finally deploy my web application to the school server, yet my sysadmin told me I cant use Bun because "its not mature yet". I have tried to overargue him, but to no success. any ideas what to do? We dont use docker either :p

tired vigil
#

based sysadmin

dense sand
#

Ai slop?

supple whale
#

which is crazy considering its an actual drop-in replacement for nodejs

#

unlike bun, which promises that, but lies

#

and you end up with "firefox type fixes" in libraries just so they run on bun

#

i mean its biggest thing is the rust bindings vs the C bindings

#

and the TS ""support""

#

other than that its just fancier nodejs

#

that said its webgpu support is kinda goated with the sauce

#

well there's no deno for android i guess

#

thats the big diff between it and nodejs

solid python
#

testin smt dw

patent vortex
#

if only there was a channel to use bot commands and test shit in

solid python
#

mb 😭

dense sand
#

They said that docker isnt production ready and we will stick to lxc

#

sobvelasmutny multiple people tried to convince him

dense sand
#

My teacher said its impossible because he can talk to you in monologue on why ur statement is wrong for literally 1.5hr fr

supple whale
dense sand
#

i like it

supple whale
#

i decided its overkill af and removed it XD

solid gazelle
supple whale
solid gazelle
#

ye ik

#

are you anilist dev

supple whale
#

?????????

dense sand
#

😭

fierce pendant
#

f# may be a good programming language

jade stone
#

help

#

where did all the other properties go

supple whale
#

in real-world its not actually ever that big, and actually looks nice in most cases

dense sand
#

glad to hear that

supple whale
#

like when this happens

#

iz nice

#

i have a feeling that with this UI i could convince people that this isnt electron/web

dense sand
#

the app looks real nice

supple whale
#

i'd need to change the scrolling tho, the scroll animation is still very much "web"

#

but i tried making my own smooth scrolling many times and it was never good

#

always some compromise

#

chrome had its own impulse scrolling, but then they removed it for some reason......

#

even tho it was great

jade stone
#

i should really use a virtual scroller

supple whale
#

with almost 0 effort

#

[content-visibility:auto] [contain-intrinsic-size:auto_152px_auto_290.4px]

#

and contain-strict

#

in parent

#

LEARN

#

LEARN NIBBA LEARN

jade stone
#

never heard of that lol

supple whale
#

but it wont unfuck react's bad managment of component lists

supple whale
#

[doesnt help much, react is ass]

jade stone
#

@supple whale

supple whale
#

react

#

95% scripting 5% rendering

jade stone
#

this seems like a good sign

supple whale
#
<script lang='ts'>
  const modules = Array.from({ length: 28175 }, (_, i) => i)
  let selectedModule = 0
</script>

<div style='width: 100vw; height: 100vh; overflow: auto; contain: strict'>
  {#each modules as module (module)}
    <div style='width: 100%; height: 20px; border-bottom: 1px solid #eee; contain-intrinsic-height: 20px;' style:color={module === selectedModule ? 'red' : 'black'} on:click={() => { selectedModule = module }}>
      Module {module}
    </div>
  {/each}
</div>
#

thats with me spamming click and scrolling around the list

jade stone
#

i made BufferedScroller a while ago

supple whale
#

most of the lag is from devtools tho

supple whale
#

solve bad code with more code

#

:)))))

jade stone
delicate groveBOT
#

Alright @jade stone, in 3 days: replace unloaded elements with an empty div so the scrollbar actually means something

supple whale
jade stone
#

BufferedScroller is perfect and has no bugs

supple whale
supple whale
# jade stone

but yeah this is why you need to define intrinsic height

#

so that the browser knows what the "not rendered/processed" elements should be sized as

#

in your case you'd probably add margin on the top and bottom with the number of els hidden * height

jade stone
#

i'm just going to use the height of the first element

#

something like that

supple whale
#

or you know

#

you could just use 2 lines of css and a functional UI framework

#

eh?

#

eh???

#

:DDD

jade stone
tepid grotto
supple whale
#

because react is shite

#

so discord uses virtual scrollers

#

which is why u cant really style the channel and user lists

#

because they stop rendering

#

so this is already a problem for discord themes

jade stone
#

thats why it was so bad

supple whale
#

smh my head

#

:)))))))))))))))))))

jade stone
#

you do get a console warning tho

#

wait nevermind

#

it's a thing

#

just don't have the plugin installed

supple whale
#

and you were trying to out-flex my eslint config in vc

#

smh my head

jade stone
supple whale
#

I SAID SMH MY HEAD

supple whale
jade stone
#

tf2 my beloved

supple whale
#

this is my teammate i played most of the time with

#

i've got the least hours of my entire 5 man team

#

yeah, we gamed hard

royal nymph
worldly sigil
dense sand
solemn ravine
#

I’m on mobile

patent vortex
fallen nebula
#

there's so many things wrong here

deep mulch
#

null

fallen nebula
#

[object Object]

fleet cedar
fleet cedar
fallen nebula
winged mantle
#

((void*)0)

dense sand
jade stone
winged mantle
#

iirc yeah

#

this is what NULL is defined as though

fallen nebula
royal nymph
#

join the phase servers

deep mulch
#

DONT

winged mantle
fallen nebula
#

holy fuck this is so cool

#

i'm gonna do this for a school assignement

misty zealot
#

hi i made a plugin for the Frosted Glass theme that makes the background what you are playing on spotify where could i put that?

valid jetty
deep mulch
#

death of electron

patent vortex
jade stone
safe oak
#

sorry if this is the wrong channel to ask this in, but does anyone know if this works

#

idk if it's been fixed yet or wtv

safe oak
tepid grotto
#

guys I'm actually getting my friends to move to matrix

#

it's a miracle

#

prase be to the fsm and his noodly apendages

winged mantle
#

lmao tcc happily compiles *NULL = (void)0;

#

you just need to cast it to void otherwise the type doesn't match i guess

jade stone
winged mantle
#

no I mean void

jade stone
#

I didn't know you could cast to void

winged mantle
#

you can

jade stone
#

Insane

#

That can't have any good uses, right

winged mantle
#

usually it's to ignore a [[nodiscard]] function's result (the cpp core guidelines prefer using std::ignore =) or unused variable (in cpp you can use [[maybe_unused]] obvs)

#

somehow tcc allows assigning it to a void *

jade stone
#

Oh yeah

#

Forgot about that

winged mantle
#

turns out this is legal in C++ but not C

void test() {
   return (void)0;
}
tepid grotto
#

ok actual question: at what point does it makes sense to use typescript instead of javascript?

#

beginner at programming in general or js specifically

#

(I was under the impression that ts is just js with types)

#

but also if you're just writing a short script js makes sense because you don't need to compile

#

will look into this

jade stone
tepid grotto
#

it was like 2KB

#

in notepad

winged mantle
#

this sort of stuff i find very interesting

#

modern languages are not so ...interesting

#

what the odin is that

sour wing
deep mulch
#

same

tepid grotto
#

does that include jsdoc in your opinion?

sour wing
#

typescript has replaced jsdoc in my eyes unless you really need to directly run the code without transpiling

tepid grotto
#

what are your thoughts on jsdoc in ts?

#

like I'm coming from a javadoc perspective where the point is really to generate documentation, not to say "this is what the types should be guys"

sour wing
#

It's basically jsdoc but with less repetition because it can take in info from the typescript types as well

tepid grotto
#

oh cool

#

thanks

dense sand
#

yes!

#

we got a DI integrated into a jvm language before gta6

winged mantle
#

gdscript bad I tried to do ++ and it just made the integer positive twice

#

actually no unary + just does nothing on an integer

#

why can't you do |i| in most programming languages :D

#

just make it whitespace significant

jade stone
#

@lyric latch least cursed react component i write

deep mulch
#

we have to ban sadan

jade stone
royal nymph
#

you love Astro not following semver

#

breaking change in minor

jade stone
royal nymph
#

why

#

that's what the lock file is for

#

but that repo hasn't been worked on in so long that the pnpm lock file became incompatible with the pnpm version cloudflare uses so it got ignored

jade stone
royal nymph
#

corepack evil

jade stone
#

Nop

#

It's needed because pnpm loves backwards incompatible changes across minor versions

ornate quiver
#

corepack is so good

#

i hate that nodejs committe removed it from new nodejs

#

so fucking stupid

#

finally had a builtin way to manage different package managers

jade stone
worldly sigil
#

microsoft will introduce Microsoft Package Manager, which will combine the power of npm and nuget into one using Copilot AI πŸ”₯ /j

dense sand
#

@lyric latch what do you think about moving my app from nextjs to kotler w/spring

#

I like the idea of data classes for entities, really love how it basically replaces lombok

#
  • im already familiar with spring, just need to rewrite it. Not sure how can ktor handle mvc and stuff like that
#

Will take a look at it tho

ornate quiver
#

ktor replaces it

dense sand
ornate quiver
#

never heard of it

dense sand
#

I havent started yet

#

I like jpa which i think doesnt exist in ktor

lavish cloud
#

Exposed my beloved

#

Only downside of Exposed is that it technically isn't async so I usually set up a threadpool worker with completablefuture

pearl parrot
dense sand
#

Well yea im moving my midsize project to kotlin, because it's a bunch of mess in typescript

supple whale
#

simply sveltekit

#

:)

winged mantle
#

isn't spring kind of overengineered

jade stone
#

guhh

winged mantle
#

or maybe that's the wrong word... idk it's weird

jade stone
#

my discord is half broken

#

thats what i get for using a 3 month old build

winged mantle
#

spring always seemed to make things much more complex in my exper ience

#

like I was so confused I found it easier just to make a server using sockets directly

jade stone
#

Vencord: v1.13.7 β€’ 7098f41c5 (Dev) - 9 Dec 2025
Client: stable ~ Vesktop v1.6.1
Platform: Win32
⚠️ Vencord DevBuild
⚠️ Has UserPlugins
⚠️ More than two weeks out of date

#

ignore

#

cant change channels blobcatcozy

#

@pearl parrot @delicate root common deno W