#🪅-progaming

1 messages · Page 139 of 1

jade stone
#

LOVE

supple whale
#

WHERE THE FUCK IS THIS CACHED!?

#

KYS KYS KYS KYS KYS

jade stone
supple whale
jade stone
supple whale
#

thats not a good idea for this project

unkempt ember
#

After looking a bit, it seems people use vite --force to regenerate the cache.

jade stone
supple whale
#

so i cant pass that

unkempt ember
#

Fuxk.

supple whale
#

it was pnpm hiding the true path somewhere else

#

holy

#

it was in %appdata% cuz the same module was imported twice in the project

#

?>

#

now electron-rebuild is not detecting the module....

#

end me pls

#

WHAT THE FUCK I TOLD U WHICH MODULE

#

WHY ARENT U REBUILDING IT

#

WHAT THE FUCK

pseudo sierra
supple whale
#

NO THIS JUST DOESNT WORK

#

why do i always run into the most insane bugs

#

holy fuck

#

@jade stone you should have seen me compiling nodejs 24 for android yesterday

#

jesus fuck my desk is like 2cm lower now because of how much i smashed it

pseudo sierra
#

😭

supple whale
#

dynamic modules would not work for the life of me

#

just NAPI would not compile

jade stone
#

@supple whale you love discord's insane rspack config

#

same module id

#

different contents

supple whale
#

meanwhile my current mood:

#

imported as destructuring

#

but imports the entire fucking file

#

what the fuck

shrewd canopy
supple whale
#

this gonn be a long night

#

i'm at 80 hours of actions

lyric latch
gray gyro
#

Guys, I got Claude Code to write a VAAPI driver for encoding streams on Discord using nvenc. And it seems to be working—at least the debug window shows the VaapiVideoEncodeAccelerator codec.

supple whale
#

12 mins of waiting for nothing

gray gyro
# gray gyro

I'm currently fixing bugs, but the fact that I got it to work—I consider that a victory

queen jasper
#

it's okay to have wrong preferences, but don't spread misinformation to try and drag others as well ❤️‍🩹

pearl parrot
#

me when only thing i do is point out AI use

#

@young flicker tone it down

runic sundial
pearl parrot
#

vibe coding is okay if the end product works

runic sundial
#

" end justifies the means " -ah mentality

runic sundial
#

it's pretty easy actually

#

many times they just have some agentic bullshit file

#

like CLAUDE.MD just chilling there

#

or the commits are co-authored

#

I don't go on a peck and hunt for em-dashes or other bullshit, it's more of a quick "vibe" check

#

either way, code either sucks or it doesn't, just so happens that AI code sucks disproportionately more often

#

and it doesn't have the whimsy of someone struggling to write it on their own, the AI cannot write comments like they are on their death bed

unkempt ember
#

Will be fun to have an AI commenting shit like : " It's the forth he told me to " redo it ", please unplug me. "

runic sundial
#

no

#

Because it is not real agony which I can relate to

#

It is store-bought processed agony which i am allergic to

unkempt ember
#

I get it.

runic sundial
#

good

lyric latch
winged mantle
#

genius

#

except the unused_no_op function is now unused

#

the inline keyword gets rid of this warning

#

weird, because the impression i got is inline is basically useless in c (not C++) with modern compilers

runic sundial
#

However as of recently I am readjusting my attitude towards AI, I feel like I've been a lot more tolerant.

I wish it was socially acceptable to sacrifice induviduals to God's of my own choosing blobcatcozy

limpid mica
ornate quiver
#

you have to use compiler specific attributes instead of the inline keyword

#

it's so bad

valid jetty
#

you can make all mathematical operations out of e^x - lny

pseudo sierra
unkempt ember
#

That... somehow makes sense.

pseudo sierra
#

@young flicker

winged mantle
#

but hey at least it's supressing an unused warning in C

jade stone
#

(pretty much the same as it doesn't obey odr)

solid tide
#

guys i think AGI is here

jade stone
deep mulch
#

@jade stone

worldly sigil
ivory heath
#

the compiler is much smarter about when to inline then you, and if you want llvm to know exactly when it makes sense to inline, run a PGO run

ivory heath
#

You should do PGO runs for best performance, enable x86_64-v3 instructions, and probably use a -mtune znver3

pseudo sierra
#

@ivory heath haiii

ivory heath
#

haiii sodalove

pseudo sierra
#

hru

ivory heath
#

good hbu?

#

im eating icecream

pseudo sierra
#

woah

#

am procrastinating on sleeping by prepping for vps migration

pseudo sierra
#

got fed up of cross compiling to aarch64

ivory heath
#

ohh what host/cpu are you trying to migrate to?

#

nothing i really do has intrinsics written for arm NEON so i cant use them

#

but for node js webservers or whatnot its pretty good

royal nymph
pseudo sierra
#

nop

#

hetzner

ivory heath
#

hetzner has arm ?

royal nymph
#

arm user who isn't using oracle free tier

#

crazy

ivory heath
#

the arm cores on oracles free stuff are so slow

#

not really worth using unless you just wanna be as cheap as possible

royal nymph
#

I've been using it for years and it works well for me

pseudo sierra
#

when I got this ampere was a bit cheaper so I just went with that but now x86 is cheaper for same vcore count and mem sillycat

ivory heath
#

ideally you self host and use cloudflare tunnels for free to

royal nymph
#

ideally you self host? maybe ideal if you're crazy

pseudo sierra
#

I self host most of my shit

ivory heath
pseudo sierra
royal nymph
ivory heath
pseudo sierra
ivory heath
#

oh all gitlab wants is a assload of ram

pseudo sierra
#

yop

#

postgres and gitlab using like 5gb total rn

#

scary

ivory heath
#

I love slop software

pseudo sierra
#

I love gitlab but why ruby on rails wahhgone

#

well ik it was built a decade ago and too late to refactor but ykwim

ornate quiver
royal nymph
#

literally the only reason to run your own servers is if you really need that level of control for some reason

ornate quiver
#

yop

royal nymph
#

so much cheaper to just use cloud servers

ivory heath
#

cloud servers and cheaper do not belong in the same sentence

#

unless power is stupid expensive for you

#

which i assume it is because youre german

royal nymph
#

bro if you're not building a hobby project hosting at home is not going to cut it

#

you'd just be building your own data centre

pseudo sierra
#

if/when I can afford it I'm just gonna buy rack space from a data center trolley

royal nymph
#

if it really was so economical to run your own servers, more companies would do it

#

almost no one does

#

it's just not worth it if you're not a giant

ivory heath
#

they dont because they want to be able to scale quickly and its less of a liability for them

#

they dont mind spending more for that safety

royal nymph
#

you need the safety if its not a hobby project

#

like yeah sure you can build your own personal jellyfin server cheaper at home than it'd cost to rent a vps with good gpu

#

but now try making a public streaming service from home AskazStare

worldly sigil
#

wheres that one hetzner gif with the email saying something like "hello, we forgot to turn on the power for your server"

solid tide
patent vortex
#

i selfhosted so much stuff from like 13-16 lol

solid tide
#

i distinctly remember some skid taking it offline by doing sudo ping -s 2048 -f and crashing my router

patent vortex
#

i still do selfhost some things

solid tide
#

selfhosting shit is one thing but giving people accounts with ssh access is another

#

eventually i moved to vps/dedis for it

#

and at some point it became fully private and only gave access to friends

#

and then eventually it just died

ivory heath
#

Yeah if you wanna be fucking Netflix hosting outside your house isn’t a option

solid tide
royal nymph
#

if you wanna be anything big, hosting outside your house isn't an option

pseudo sierra
solid tide
#

i wasnt exactly drowning in users it was like a dozen or a couple dozen at best but yeah

patent vortex
#

my jellyfin is just me and my family so

#

I also run akkoma with one other user

ivory heath
#

Which if you have a office you will already have

#

And if you don’t have a office why don’t you, it increases productivity

pseudo sierra
#

I wonder how much 10gigabit would cost for us Think

royal nymph
#

maybe because I have normal people money and can't afford renting my own office 😭

#

and how would that be cheaper than just renting a vps

ivory heath
#

These are things you will already have as a business because connection speed and uptime is money

pseudo sierra
#

tetover

#

ig I could just ask my dad he works for these fucks

royal nymph
#

in switzerland u can just get 10gigabit in normal households

ivory heath
#

It entirely depends on if fiber was ran to your location already or not

pseudo sierra
#

we already have gigabit fiber

royal nymph
#

there's fibre everywhere in my city and yet it's impossible to get anything close to 10gbps

ivory heath
#

I think we can get 5 gig symmetric here just on demand, we only have 1 gig tho

royal nymph
#

meanwhile in switzerland you can get 10gigs for cheaper than 1gig here wtfhamster

#

germany moment

pseudo sierra
royal nymph
#

not that anyone should need those kinds of speed xD

pseudo sierra
#

yeah I can't find anything about 10 gigabit for home users it's all contact sales

#

tetover

royal nymph
#

i dont even think 1gig is necessary tbh

#

im happy with 300mbps

pseudo sierra
ivory heath
#

300 is too little for large downloads

royal nymph
#

unless you have some sort of job where you need to constantly download data i disagree

#

I'm fine with waiting an hour for my 100gb game download shrug

pseudo sierra
#

you love downloading games from steam at 500

royal nymph
#

I download large things like that maybe twice a month at most

ivory heath
#

Me when I try and download a 100 gig torrent

pseudo sierra
royal nymph
#

if it was same price obviously no brainer lol

pseudo sierra
#

how much does ur thingy cost rn?

royal nymph
pseudo sierra
royal nymph
#

gigabit would cost even more too much

#

internet situation is catastrophic in this country

#

a lot of "new" tech's situation is catastrophic

pseudo sierra
#

scary

royal nymph
#

it's what happens when you keep retarded boomers in charge for too long

pseudo sierra
#

we get gigabit up/down for like idr 30 or 40e a month

worldly sigil
#

my family has 1 gigabit, but its fortunately its only about $75-80USD/mo (~70EUR) which isn't that bad compared to the only other option which was comcast

pseudo sierra
#

scary

worldly sigil
#

there was a guy i was talking to who lives in toronto, and he gets 6 gigabits for like 60CAD/mo cuz he lives in an apartment complex

pseudo sierra
#

holy shit need

royal nymph
pseudo sierra
#

insane

ivory heath
jade stone
#

i have gigabit down and that's good enough for me

#

(only like 50mbit up tho 😭

royal nymph
jade stone
ivory heath
#

so its cheaper to just switch the one your'e using

royal nymph
#

oh youre talking about the switch every 2y part

ivory heath
#

yes

royal nymph
#

well yeah

#

but it's still way more expensive here PokoSalute

deep mulch
twin matrix
opal vessel
fierce pendant
#

i should make a game

twin matrix
#

i sure hope you know what you are doing

shrewd canopy
shrewd canopy
fierce pendant
#

i like the idea of xlibre but why are they nazis

ivory heath
signal solar
#

maybe this is a better place to ask

ivory heath
opal vessel
#

eur

#

and italy

ivory heath
#

The CHEAPEST you can get with a reliable host like hetzner is 5 USD a month

ivory heath
opal vessel
#

we do have i think the fifth best fiber infrastructure in all of europe

ivory heath
#

Is it govt owned?

shrewd canopy
opal vessel
#

wdym by government owned

shrewd canopy
ivory heath
#

Because newer hardware will pay itself off in the power bill alone

signal solar
#

hi conversationalists

#

i love conversations

ivory heath
opal vessel
#

oh no its privately owned

#

its also mainly two companies that do it

shrewd canopy
#

In fact new hw will eat more

ivory heath
#

On yeah my PC could run 30% faster but much haswell/sandybridge

ivory heath
#

Unless you go with AMD an Infinity fabric will fuck you over with a 30 watt idle power draw

shrewd canopy
ivory heath
#

In applications where AVX2 can be used its literally twice as fast if not more due to more complex instructions

shrewd canopy
ivory heath
#

Mmm yeah keep using your platform that’s 50% slower since launch

#

Why are you even comparing 2012 HEDT to 2026 when it’s an order of magnitude faster

#

You should be comparing entry level hardware to 2012 HEDT

#

Perf per watt has also gone up accordingly too

#

Anything 2012 is DDR3 as well so it’s not like you’re losing anything by losing the 2-4 channels extra HEDT has

#

Something something some stupid cope about ECC ram when consumer platforms support it now?

shrewd canopy
ivory heath
#

Where are you making up these numbers from? You can very healthily build something 12400 based or whatever Intel has now for less than 500 USD

#

unless you just need 256 gigs of ram or something?

shrewd canopy
supple whale
#

HOLY FUCKING SKILL ISSUE

#

tell me you dont know how to configure a bundler without telling me

fierce pendant
#

i should make a game

unkempt ember
#

Yes, you should.

ivory heath
patent vortex
#

running ai is hilarious

supple whale
#

decided to try local AI

#

so far i have BSOD's like 8 times, and once i booted without windows detecting ANY drvies

supple whale
#

i found a good use for my fibre tho

#

hugging face has god servers

solid tide
jade stone
#

skyblock mentioned

jade stone
#

tried this out a bit today

#

good lord this is VERY alpha

#

ran into 2 bad compiler bugs in the first two files i tried

#

the typescript integration needs heavy work

jade stone
#

It just ICEs on that

ornate quiver
#

seems promising

jade stone
queen jasper
#

is this a thing, or just something i installed

solid tide
queen jasper
#

f3+f6

solid tide
#

yea

shrewd canopy
shrewd canopy
rare mica
#

guys is anyone of yall good in sending webhook msgs?

fallen nebula
#

i tried "agentic engeenering" for the first time
just vibing a project without looking at all at what the AI is doing
it seemed to go quite well with lots of hiccups, but eh

#

and then i peaked behind the curtain and what the flip, how did the AI delete /dev/null, i don't even want to know

fierce pendant
#

yo mods is this real

#

mods can we confirm this

#

mods

#

mods

#

@Moderators can we confirm this

#

mods

#

mods

cinder egret
#

vsb 1 scam

elder yarrowBOT
pseudo sierra
hot rampart
opal vessel
#

its a glorified kick

hot rampart
winged mantle
#

i heard some bots do another unban and ban after that just to make sure

#

i think discord made purge more consistent now though

fallen nebula
cedar tulip
winged mantle
#

i imagine the description is just "why the fuck would you do this"

jade stone
#

@eternal gust I added an animation to the button to see the friends page of my site so people will actually find it

#

thoughts

lyric latch
#

@jade stone Something went wrong! WebAssembly is not defined

#

add WA check

#

❤️

jade stone
#

try not using something from 2003 👍

lyric latch
jade stone
#

can you still visit discord web

#

do they require wasm now

#

or do they still have a fallback from libdiscore

lyric latch
#

still works for me

#

@jade stone what if for the snow you spawned 200 svgs

#

and animate them using JS

jade stone
#

husk

#

i already animate a canvas with js

#

i don't think svgs would be any more performant

eternal gust
jade stone
#

@lyric latch try now, i just wrapped wasm in try-catch

#

if someone doesn't have it and visits a page that needs it

#

well trolley

eternal gust
#

well ok not interval but the amount of time needed to hold the button

#

in order to trigger the modal

jade stone
#

how much shorter

eternal gust
#

maaaybe by about 2x. the start is fine but it really slows down near the end

#

otherwise looks good

jade stone
eternal gust
stuck scaffold
#

idk if this is the right channel, but does anyone know if its possible to spoof being on mobile to get higher upload limits?

#

i noticed its possible to upload larger files from my phone on the web version of discord

stuck scaffold
#

i looked through plugins and didnt see anything for that

solid tide
solid tide
#

was it byte for byte the same file? maybe it's HEIC vs JPEG

solid tide
#

interesting

stuck scaffold
#

i have set my phone to save images as JPEG

stuck scaffold
#

the drive im messing with is out of the NUC in the background

patent vortex
#

my T430 had the T420 keyboard mod until a few months ago

stuck scaffold
#

i love the keyboard, it feels better than my mechanical keyboard

patent vortex
stuck scaffold
patent vortex
#

I think it’s just luck

#

lasted two weeks then some keys stopped working

dense sand
#

Rip minio

jade stone
ionic lake
#

It's now Aistore

#

and went closed source

#

I knew something was sketch of it either way but they need to make money somehow so respect it, just not the bait and switch

dense sand
pearl parrot
#

this looks nice

#

and in Rust so it must be nice

queen jasper
#

i haven't done anything productive for like 4 to 5 days straight after installing linux

fallen nebula
#

guys what's the way in javascript to deal with zip files
ideally with the least amount of dependencies, proper modern support stuff tiny and fast
because i hate that when i search i find thousand of impl
i just want a single good one...

royal nymph
fallen nebula
#

This is one of the things i've found
Seems to have correct handling, no dep itself, relatively modern, not bloated work on all JS env and OS agnostic

#

Honestly the js world is such a pin the js env should have a proper API to handle compressed files and stuff i shouldn't have to worry about it...

royal nymph
#

I used this in the past for making chrome + firefox extension zips in Vencord's build pipeline but something about the zips it created wasn't fully compatible with chrome and I was too lazy to debug so I just switched to a more simple library

fallen nebula
#

Wdym not fully compatible with chrome ? And what did you swap to ?

royal nymph
#

fflate isn't that convenient to use

e.g. if you want to zip a folder you have to manually load all files as Uint8Array and pass them to fflate afaik

there are other libs which just let u do things like `zip.sync("./dir")

fallen nebula
#

4 dependencies : sus

royal nymph
#

it really depends on what ur use case is

fflate is great if you want speed or something tiny you can ship to your frontend

maybe look for an alternative if this is for nodejs developer sided stuff

fallen nebula
#

I want ideally to really not explode deps

fallen nebula
#

I want to use it in a lib used in dev env / CI via node / bun / deno / whatever one might imagine to run js in the future
And work on every OS and stuff

royal nymph
#

why do dependencies matter this much if it's just for some ci and dev env

#

I get it I hate having too many dependencies too but some are okay

#

well just use fflate if you want zero :p

fallen nebula
#

Because dependencies is risk

#

Also fflate seems mostly good

#

Need to read it entirely tho

royal nymph
# fallen nebula 4 dependencies : sus

I wouldn't really recommend that package (I don't even remember why I chose it) but if you look at its four dependencies, they all have >10million downloads a week

#

dependencies aren't inherently bad, just check them and if they're very unpopular maybe don't

and wait a few days after new releases before updating packages (you can configure minimum age in most package managers)

#

with dependencies with that many Downloads as long as you wait a few days people/npm will always notice if they add malicious things

fallen nebula
#

Pain

#

I think i'll just give up on js

#

I honestly get why Web devs like vibecoding now
Stop worrying about stuff

royal nymph
#

why r u acting like dependency hell doesn't happen in most languages 😭

#

have u ever seen how many dependencies the average rust project has

fallen nebula
#

That's one reason why i don't like rust

#

It's too easy to get dependencies

royal nymph
#

but yeah I'm not a fan of dependency hell either I get you

#

I'm very cautious about which dependencies I add and still end up with hundreds of deps

queen jasper
fallen nebula
#

Actually when i do Java i nearly never install any dep
When i do C i never have deps as i just vendor stuff, i stop depending on it and just incorporate
In python i kinda already stopped caring because it's such a pain
I like using pure vanilla javascript for making my website and i use 0 dep and i just do everything myself
But here i decided to try out do it the good way use node bun deno (deno seems to actually be the closest to something i can appreciate, has not much bs) and use typescript and dependencies if needed but it just doesn't feel good
Like rn i'm using a single dependency which is eemeli yaml thing because it itself has no dep and is quite clean
https://jsr.io/@eemeli/yaml
It has a lot of code alr but it's yaml and yaml is like json but even worse so pain but fine

JSR

@eemeli/yaml on JSR: YAML parser and stringifier for JavaScript

royal nymph
#

yeah rust eats your disk like nothing else wtfhamster

patent vortex
#

and ram when compiling because of the deps blobcatcozy

#

I have to close everything else when compiling impactor on my 16gb computer

lyric latch
#

i bought my ram, i will use 100% of my ram

fallen nebula
#

because i want to do something related to yaml

jade stone
#

evil

#

Just use json

ivory heath
fallen nebula
#

i cannot

#

i need to deal with the fact the stuff i want to deal with use yaml

ivory heath
#

If rust had tree shaking the dependency hell it’s in wouldn’t be as bad but due to it being… rust it’s very hard to do so

jade stone
ivory heath
#

We love -j1

#

Does rust use LLD? its just the systems default. You can try mold to decrease ram usage

ivory heath
jade stone
#

On other platforms, it uses the system linker

ivory heath
#

Oh it changed in 1.90

fleet cedar
#

No, 1.90

ivory heath
#

I’m surprised they haven’t hand fisted mold

jade stone
lyric latch
ivory heath
#

Yes

solemn mauve
#

@rancid galleon hey, for the tenor textreplace you did, the 2nd rule seems to not remove the language part

rancid galleon
solemn mauve
#

It doesn't work with 2 letters locale https://tenor.com/es/view/sigh-ugh-gif-20357661

rancid galleon
#

oh

#

well i got gpt to spit out this monstrosity
https:\/\/tenor\.com\/(?:[a-zA-Z]{2}(?:-[a-zA-Z]{2})?\/)?view

tall nebula
#

NVenc and Vulkan Video, you can choose

gray gyro
#

Why does OpenH264 get selected as the default codec in that case?

tall nebula
#

It's an experiment that you need to enable

#

I guess it's not very known because I never seen anyone talk about it

gray gyro
tall nebula
#

It won't work in Vesktop

#

That's a feature in the Discord client and afaik Vesktop is just a Chromium wrapper for the Discord Web

gray gyro
elder yarrowBOT
jade stone
#

got bored and remade discords toasts

#

@lyric latch rate

torpid solar
#

Vee actually made

pearl parrot
#

@jade stone use imagehost

lyric latch
royal nymph
queen jasper
lyric latch
#

my bad

jade stone
#

@supple whale GUH

#

i found an annoying bug with vite

#

it just doesn't emit css files

supple whale
#

throwback to that worker issue of mine

#

xd

jade stone
#

@supple whale it gets weirder
setting inlineConst to {} or {mode: "all"} will cause the issue
setting inlineConst to {mode: "smart"} does not cause the issue

#

the weird part is that the default for inlineConst is {mode: "smart"}

#

guh

lyric latch
#

rolldown momen

jade stone
#

@supple whale tanstack start recently added support for rsbuild

#

might try it to get away from vite

queen jasper
pearl parrot
#

sadan.zip is so bloated

fallen nebula
#

look at that DOM isn't it clean as hell

jade stone
#

What do I remove

jade stone
lyric latch
#

average recursive react useEffect

dense sand
lyric latch
#

why is it infinitely loading though

dense sand
#

ive got like no clue

#

istg if bun is the cause again

#

okay it isnt bun lol

supple whale
#

react!!!

#

WOOO

#

REACT

#

oh

#

bun!!!!

#

WOOO

#

BUN

#

XD

dense sand
#

okay i found the cause

#

for some reason when i put tooltip into a dialog trigger in baseui it leaks memory?!

lyric latch
#

it just kinda sounds like recursive calls tbh

#

cuz nothing's actually rendering

lyric latch
#

@jade stone delete

#

oh nvm u arent mod

jade stone
#

i'm not a mod

lyric latch
#

@solemn ravine

lyric latch
solemn ravine
#

Discord is shitting themselves venbot will probably get them

jade stone
solemn ravine
#

Ping me when discord comes back

pseudo sierra
#

@solemn ravine

jade stone
#

@solemn ravine

solemn ravine
#

vsb 1 scam

elder yarrowBOT
jade stone
#

samager

shrewd canopy
#

anthropic and openai infecting oss 😁

solemn ravine
#

I don’t see the problem

#

More money for blender, they deserve it

solemn ravine
#

@young flicker you're so stupid

#

I can see that

winged mantle
#

why can't C alternatives be normal

#

constants determined from doc comments love

jade stone
#

just use a keyword

unkempt ember
#

At least your documentation is up to date.

winged mantle
#

i guess i should keep "waiting for" zig

ornate quiver
#

anyone know how to bypass the drm in microsoft vsc extensions that lock them to official vscode builds and make using 3rd party vsc forks impossible?

ornate quiver
#

microsoft one

jade stone
ornate quiver
#

does it?

#

the most i see by default in vscodium is "open a remote window"
and the options menu is empty

jade stone
#

Don't think so

#

It looks like actual code

ornate quiver
#

i made vscodium use the official store

#

yeah and then updates wont work

jade stone
ornate quiver
#

there's drm in some of the microsoft extensions themselves

#

doesnt mean the rest dont work

royal nymph
#

rini just told me she always vibecodes now @young flicker

jade stone
#

+:hus

ornate quiver
lyric latch
#

husl more like musl haha

patent vortex
lyric latch
#

ikr 🤣

patent vortex
#

😂

royal nymph
#

Die

lyric latch
#

On my way!

next abyss
fair cliff
#

hey everyone

#

what yall cooking today

#

i wonder what y'all definition of vibe coding? is it because of not understanding the code or you code that you've made something you self proclaimed that you coded but you just don't want to say that you use ai.

opal vessel
#

if there is human intervention it depends

#

if you only use ai to write a couple lines or fix some errors its not vibecoding

#

but if its all ai written and you're the one to edit a few things here and there id still say its vibecoded

#

thats just my opinion though

pearl parrot
lyric latch
opal vessel
#

elaborate

lyric latch
#

like if you already have the architecture planned and you type it out to the ai to generate it for you and review then its not really vibecoding

#

you already know what you want

opal vessel
#

ehhhh

lyric latch
#

its faster for ai to type it out for you since natural language is less verbose than code

#

i just iterate with cheap models nowadays, i hate having to type the same thing for the 100th time

#

(if i find myself fighting with the model more, i just end up doing it myself)

hazy pine
night sphinx
#

its just code autocomplete for me

#

sometimes it hits most times its shit

hazy pine
#

jetbrain IDEs have this feature thats like a really tiny locally run llm to autocomplete the rest of the line you're typing

#

really advanced autocomplete that for some reason loves popping up right as im about to press tab for regular code completion and fills my code with broken slop <3

night sphinx
#

make ur own

#

#vscodeisnvim

fleet cedar
#

Whoever decided ai complete should use the same hotkey as lsp complete should be fired

hazy pine
#

make an amoeba whos only purpose is to write code slightly faster than you

fair cliff
#

Pepe_hmm that's a nice take

#

personally i just use ai if i have any questions then proceed to code it myself

hazy pine
#

ai is surprisingly decent for research

#

and to give answers so stupid that my rage figures it out for me

fierce pendant
#

turn ai complete off gang 🥀 😭 😫

jade stone
queen jasper
#

i installed nvim to larp during screenshot and couldn't exit it after, help

queen jasper
valid jetty
#

you can also :x to do :w and then :q

#

if you do :w first you wont need to :q! to quit, :q would work fine

ornate quiver
#

:wq saves and quits too

lucid forge
#

:!pkill vim

lone dock
#

do i risk ban using vencord?

patent vortex
#

this is the programming channel

lone dock
#

oh

patent vortex
lone dock
#

Ty

winged mantle
winged mantle
#

I feel like C would be so much better if types weren't just a suggestion

fierce pendant
#

rust is so cool

#

its memory safe

fleet cedar
sour wing
queen jasper
#

linux is literlay awesome, i would never experience such luxury on my window

#

my minceraft in window would hardly get consistent 60

lyric latch
serene elk
#

😂 😂

dense sand
#

i just got job in a fucking Vue field and ive never written a line in vue

fierce pendant
#

W

#

@ionic lake do you vue

ionic lake
#

Yes

valid jetty
supple whale
#

WTF v

ornate quiver
#

amazin

cedar tulip
royal nymph
#

there's no better way to do that

#

anything unicode is always going to be insane code

runic sundial
solid gazelle
#

67

fierce pendant
#

67

patent vortex
#

LMAO

winged mantle
#

all results I find are AI slop blobcatcozy

solid gazelle
#

theres a bunch of these where they could just do == but i suppose it doesnt matter since it's c so its gonna be optimized away by the compiler anyway

fierce pendant
#

crazy how we are gonna call vscode users boomers soon

#

i will always continue using vscode

winged mantle
#

lol what kind of software is free for linux does brave just know linux users complain about things more

crimson sparrow
#

No real person would do this

gilded surge
#

a person who wants consistent formatting would

royal nymph
winged mantle
crimson sparrow
winged mantle
#

i saw lots of code like this in ai generated stuff

#

husk they just use the platform dependent int for codepoint

#

use uint32_t smh

royal nymph
#

does it matter tho

winged mantle
#

probably not

#

less typing though and technically better

royal nymph
#

no one running ts on a 16 bit cpu

winged mantle
#

usually better just to be explicit about the number of bits because e.g. long is 32-bit on windows and 64-bit on linux

#

and nobody wants to write unsigned long long

#

honestly imo they should've gone with loong instead of long long

royal nymph
#

each o doubles bits

#

long = 32
loong = 64
looong = 128
loooong = 256

winged mantle
#

lng = 16

royal nymph
#

and there's also lOng which is bigint without bit limit

winged mantle
#

😭 imagine C having types which automatically do heap allocation

royal nymph
winged mantle
#

#defien looong __int128

#

i find it amusing how in my editor long still renders as a keyword even with more os

#

also #define us unsigned

royal nymph
#

@winged mantle

#define u8 int
#define u16 int
#define u32 int
#define u64 int
#define u128 int
#define i8 int
#define i16 int
#define i32 int
#define i64 int
#define i128 int
fierce pendant
#

i am genuinely programming in civet rn

winged mantle
vagrant crescent
#

alrighty so question time.
im trying to make a wallpaperengine on mac, and they have heavy sandboxing for their main desktop background thing and their lockscreen background so im using a frame approach where it preloads a screenshot for each frame of the video and stores in ram then pulls it from ram to then show it which causes the black screen stutter thing. i know this is a bad method but its the only one i can think of, any ideas?

royal nymph
#

why does it look like an ipad

vagrant crescent
#

apple things

royal nymph
#

and why is ur shit in ggrandpa mode 😭

vagrant crescent
#

what does thta mean

royal nymph
#

do we really need our dock this big

vagrant crescent
#

ohh 😭

#

yes

#

i like it big

#

easier on the eyes

#

do not take that out of context

royal nymph
#

also i dont even think thats a bad approach lol

vagrant crescent
#

yeah

#

but the stutter black screen shit

#

i cant get passed it

vagrant crescent
royal nymph
#

wallah 😭

vagrant crescent
#

wallah

vagrant crescent
#

apple uses HEIC/.mov for animated wallpapers, as they call it

#

but using avplayer +the frame approach (if it will work) will support all mac versions

#

(with the downside of using a lot of ram/battery

#

GUHHHH

vagrant crescent
#

ts so stupid i thought this can be done in a few hours

vagrant crescent
#

avfoundation might be able to remux

vagrant crescent
#

Might be best i enter the rabbithole after my finals HAHA

dense sand
#

yea well this is a TanStack project, why is it recommeneding me nextjs shit 😭

fierce pendant
#

this is like comparing kendrick lamar to femtanyl

dense sand
#

biome

jade stone
#

hop on eslint

dense sand
#

no

#

biome is blazingly fast

#

🚀 🚀 🚀 🚀 ✨ ✨ ✨ ✨

ionic lake
#

If you care there's also oxlint

dense sand
#

yea i just copied the config from the nextjs project

ionic lake
#

All good mate

shrewd canopy
#

Embedded and 16-bit computing must be still supported

fierce pendant
#

css is hard

supple whale
#

@jade stone did JS ever tell u to drink cocoa

#

or smth? idk

#

but man, you know you're fucked when the browser throws an error

#

you google it

supple whale
#

and there are 0 results

supple whale
jade stone
#

Or jsc

supple whale
#

apple users

#

are so milkable

#

the cash

#

imagine

fierce pendant
fierce pendant
#

civet has what tsrx only has now since quite some time

from "preact/hooks" import { useState }
from "preact" import { render }

Counter := () =>
    [count, setCount] := useState 0
    
    <p>Count: {count}</p>
    <button onClick={() => setCount(count + 1)}>+</button>

render <Counter />, document.getElementById("app")!
dense sand
#

can we not

#

this looks horrible

fierce pendant
dense sand
fierce pendant
#

this is functional typescript, not rust

dense sand
#

oh god

fierce pendant
#
Message ::=
    | "good"
    | "bad"

this is funy enum

dense sand
#

TSRX is a TypeScript language extension for building declarative UIs in an agentic era.
concern

fierce pendant
#

says the next.js user

dense sand
#

i dont want to touch that thing anymore

fierce pendant
#

make websites manually using civet and preact

dense sand
#

i use tanstack and spring boot

fierce pendant
# fierce pendant make websites manually using civet and preact

heck why not just

Counter := document.createElement "div"
Count := Counter.appendChild document.createElement "span"
    ||> .textContent = "0"
Counter.appendChild document.createElement "button"
    ||> .textContent = "+"
    ||> .addEventListener "click", () => Count.textContent = String Number(Count.textContent) + 1

document.getElementById("app")!.appendChild Counter
#

i dont need reactive state

#

bruh

fierce pendant
fleet cedar
#

The fuck is that abomination of a language

fierce pendant
fleet cedar
#

Scala ja hybrid?

royal nymph
fierce pendant
dense sand
#

just use Effect

royal nymph
#

write code like a normal person

fierce pendant
royal nymph
fierce pendant
dense sand
# royal nymph even more disgusting

look ive got no idea how to use it, but i felt like if one knows how to use it, it can be pretty cool. its got a pretty steep learning curve (imo); whats wrong with it?

fierce pendant
royal nymph
#

just use proper fp

scarlet tendon
#

hey v

royal nymph
#

you're writing more less understandable code to achieve the same thing

royal nymph
scarlet tendon
dense sand
winged mantle
#

multiline for loop without braces makes me uncomfortable

tired vigil
#

ew

fierce pendant
fierce pendant
#

the language is fully compatible with js

fierce pendant
#

<mrow> is a cool name for a xml tag

shrewd canopy
fierce pendant
ionic lake
#

Because it is deployed on cars

#

Tesla used electron afair but not sure anymore

jade stone
fierce pendant
jade stone
#

Some of the design choices are insane

#

What do you mean Jsx doesn't need closing tags

fierce pendant
jade stone
fierce pendant
#

then why does it amtter

lucid forge
#

they have the penis opperator and a version with only one ball 🙁

placid cape
fierce pendant
lucid forge
#

is syntax highlighting shitting itself also a civet feature

placid cape
lucid forge
#

as syntax

#

im pretty sure thats the only unicode syntax in this

fleet cedar
#

This looks like someone had fun writing a parser but then somewhy decided to market it as a language

lucid forge
#

nevermind

#

this is nothing like Haskell!!

#

/run ```js
<!-- this is already javascript
console.log("hi")

rugged berryBOT
#

Here is your js(18.15.0) output @lucid forge

hi
lucid forge
fierce pendant
scarlet tendon
#

what would cause my game when i use npm run dev to show rpc but when not using it, it wont show the stats

royal nymph
#

this just makes it seem like a meme language

ornate quiver
#

i love how this debate between tech illiterate users complaining about github usability is still going in 2026

jade stone
fierce pendant
#

unc gotta chill bruh

elder yarrowBOT
delicate root
#

It compiles to JS/TS in the end so it kind of acts like a fun language to me

#

(the pipelines is what sold it to me)

#

(the lang itself just feels like gayer scala to me)

lucid forge
#

/run ```js
const pipe = (a, ...fns) => fns.reduce((a, f) => f(a), a)

pipe(
{ foo: "bar", baz: 1 },
Object.entries,
e => e.filter(([, v]) => typeof v == "string"),
console.log,
)

rugged berryBOT
#

Here is your js(18.15.0) output @lucid forge

[ [ 'foo', 'bar' ] ]
lucid forge
#

do

#

who needs pipe operator

delicate root
#

actual pipe operator is hotter

jade stone
delicate groveBOT
#

Alright @jade stone, in 7 hours: is this possible to type properly

jade stone
#

i think it is

jade stone
#

oh wait

#

i'm dum

lucid forge
#

i also was confused for a sec "wait why did it return both keys"

royal nymph
#

there are no variadic types

jade stone
#

Take the rest param as a tuple

royal nymph
royal nymph
#

you need to write overloads manually

jade stone
royal nymph
#
type F<T, R> = (v: T) => R;

function pipe<T, R1>(initialValue: T, ...fns: [F<T, R1>]): R1;
function pipe<T, R1, R2>(initialValue: T, ...fns: [F<T, R1>, F<R1, R2>]): R2;
function pipe<T, R1, R2, R3>(initialValue: T, ...fns: [F<T, R1>, F<R1, R2>, F<R2, R3>]): R3;
// ...
jade stone
royal nymph
#

there are no variadic generics so you can't do this in a way that doesn't require manual overloads

lucid forge
#

surely if you do like 7 of them u wont need more

jade stone
royal nymph
#

at least I can't think of any possible way

#

if u do it with smth like

pipeline(value)
  .pipe(x => x)
  .pipe(x => x)
  .pipe(x => x)
  .pipe(x => x)
  .result()

thats easy

#

but not without some form of curry

jade stone
#

Type check as you go and return never if it fails

#

Bad errors tho

#

Idk how to get around that

royal nymph
#

I've written various recursive types but I really don't think this is possible

Getting the return type after all operations is possible but I don't think showing you the right type in each function you pass is possible

jade stone
royal nymph
#

if u write it like this u can type it pretty easily

function pipeline(value) {
    return function(transform) {
        return arguments.length ? pipeline(transform(value)) : value;
    }
}

pipeline({ foo: "bar", baz: 1 })
    (Object.entries)
    (e => e.filter(([, v]) => typeof v == "string"))
    (console.log)
    ()
#

u also make it look like lisp

lucid forge
#

peak

jade stone
#

We just need tsserver support for the pipeline operator

royal nymph
jade stone
#

@royal nymph have you seen c++ pipe operator

lucid forge
#

/run ```js
(async () => {

await Promise.resolve({ foo: "bar", baz: 1 })
.then(Object.entries)
.then(e => e.filter(([, v]) => typeof v == "string"))
.then(console.log)

})()

rugged berryBOT
#

Here is your js(18.15.0) output @lucid forge

[ [ 'foo', 'bar' ] ]
lucid forge
#

u just reinvented .then chaining @royal nymph

maiden iris
#

foo bar 😱

jade stone
lucid forge
#

the more u yield the better

fallen nebula
delicate groveBOT
#

@jade stone, <t:1777876832:R>: is this possible to type properly

fierce pendant
#

chat what should i do

winged mantle
#

not necessarily a bug, I mean trapping tab is something you have to implement yourself right? (and isn't necessarily encouraged?)
(IDK just going off my vague memory of codemirror)

#

hmm i wonder if codemirror has a workaround

#

i think what they do is just stop trapping tab when escape has been pressed rather than unfocusing the elemnt

fallen nebula
#

on chromium which act like you expect, if you use blur then tab it goes to the next element

#

on firefox it refocus

#

even if you don't trap tab

fallen nebula
#

just see the difference when you press escape to unfocus and press tab vs just tabbing

winged mantle
fallen nebula
#

guys can someone tell me how this goes on safari
does it do the same behavior when you keep pressing tab and when you alternate tab and escape like chromium or does it do weird shit like firefox ?

fallen nebula
gilded surge
#

firefox does not refocus on non-text fields

jade stone
#

@supple whale found another vite css module bug

royal nymph
#

love

supple whale
#

another day another....

jade stone
#

sometimes i wonder how nobody else has ran into this

#

do people really not use css modules via namespace imports

#
import * as styles from "./styles.module.css";
shrewd canopy
jade stone
#

yes

royal nymph
#

hop off * import

shrewd canopy
# jade stone yes

they're quite good
i would prefer

template <std::number T>
T multiply_and_sum(std::span<T> const values)
{
  auto mulitply = [](T const& x) -> T { return x * 2; };
  auto multiplied = values | std::ranges::transform(multiply);

  return std::ranges::fold_left(multiplied, T{0], std::plus<T>{});
}

over std::accumulate

jade stone
royal nymph
#

tree shaking
don't have unused classes
inlining
sure but who cares
bundler warnings
?

jade stone
#

@royal nymph blobcatcozy

royal nymph
#

why not do this via type system

supple whale
#

miss me with that gay shit

jade stone
royal nymph
#

type error

gilded surge
#

wow actually good interrupt controls

full hinge
#

sup

jade stone
#

@lyric latch found insane bug with tanstack router

#

this code errors only when building for rsbuild

#
export function cast<T>(value: any): T {
  return <T>value;
}
#

it doesnt bother with the extension of the file and always parses as JSX only for rsbuild

royal nymph
#

stop using this horrid cast syntax 😭

#

and stop finding bugs smh

jade stone
#

they minified it so i couldn't use pnpm patch

royal nymph
#

guhhh

#

ofc the same people who use that horrid cast syntax also minify their library

pearl stagBOT
royal nymph
#

GUHHHHHHHHH

#

evil

jade stone
#

oh, thanks codesandbox

royal nymph
#

love

jade stone
#

GUHHHHHHHHHHH

#

DOES IT EVER END

calm ruin
jade stone
#

just found out that it exists

cedar tulip
cedar tulip
jade stone
jade stone
#

@supple whale who needs three bugs when you could have 4

fierce pendant
solid gazelle
#

[BUG] Stinky Satan

dense sand
#

Like remove vercel

#

And all bloat

supple whale
#

stop using dogwater software

#

sveltekit would never

#

[except for workers emitted via service workers, but it was an easy fix]

#

just a post-build hook to list worker urls myself kekw

#

0: content-type

lyric latch
#

Can you also fix programming

#

Like remove javascript

fallen nebula
#

Javascript has uses

fleet cedar
#

Huh, really?

fallen nebula
#

These are the valid use of JS

fleet cedar
#

Okay sure

#

Those three can stay

#

Everything else, out

fallen nebula
#

Js should be a minimal Web scripting language, it can save values, import some json into a table or make some something change based on simple state

#

That's what it was made for

#

That's what it's great at

indigo yew
#

that was what it was made it for

#

why are there 3 runtimes and 70 billion libraries and frameworks

fleet cedar
#

Everything changed when the ajax nation attacked

#

That's where webdev went wrong

jade stone
fierce pendant
fallen nebula
#

there should be a single runtime for JS and it should be the browser

supple whale
#

@jade stone my app is now 10MB...

#

2MB of which is static assets like fonts and images