#🪅-progaming

1 messages · Page 48 of 1

royal nymph
#

so good

#

I appreciate the Hypr project and aim to implement a stable and mature version as part of an AI-driven OS. While I recognize that Hyprland is the actively maintained successor, my software still relies on X11 syntax, making HyprWM stability improvements crucial for my project.

#

AI-driven OS 🔥 🔥 🔥

formal belfry
#

: p

formal belfry
#

i dont know why vaxry didnt just close it though lol

dense sand
austere idol
formal belfry
#

?

austere idol
#

oh

#

i just noticed

#

this is nop

formal belfry
#

its ai generated

#

of course its shit

valid jetty
dense sand
#

that makes parent dirs

valid jetty
#

oh

dense sand
#

bro atleast could've removed the comments to make it a bit less obvious

formal belfry
#

did u see the description of the pull request

formal belfry
#

i dont think he was trying to make it seem that it was legit or smthing

dense sand
#

lmao

#

If this request isn’t merged, that’s completely fine—I’ll maintain the fix within my own fork for continued development.
purely AI controlled forks of repos, awesome

austere idol
valid jetty
#

LMAO THE FASTFETCH TITLE

#

😭😭😭😭

formal belfry
#

xD

austere idol
#

ur not

formal belfry
#

yes i am : )

hoary sluice
#

@valid jetty does the program you were talking about where u just work at a company and get a bachelor require you to go to lectures/labs in the uni at all? if so, how many hours a week?

#

lleet

dense sand
#

mmm

valid jetty
hoary sluice
#

@valid jetty im gonna try floorp cause brodie said so

#

they expose a lot of about:config to visual settings which is really awesome

valid jetty
winged mantle
hoary sluice
#

theres ladybird but from what ive heard its not as well supported yet

winged mantle
#

you'll probably be fine on floorp

#

¯_(ツ)_/¯

#

firefox is also adding loads of cool features on the non-esr stable version

#

i think tab groups are coming soon

#

that's all

#

the main problem i have is it feels like a bit clunky

fleet cedar
#

Tab groups as in tree style or just worthless?

winged mantle
#

chrome style

#

does this count as tree style
you can collapse them

pseudo sierra
winged mantle
#

to me it feels like a bunch of features without as high quality as regular firefox

#

which i can understand why you would want as it means more features

#

but it feels like quantity rather than quality

#

for example they just add another sidebar which coexists with the existing one

formal belfry
#

persistent file system

placid cape
#

impressive

lavish frigate
# formal belfry

have you tried applying for a job at lockheed martin? i feel like your computer programming skills could be used to make better bombs

formal belfry
#

xD

hoary sluice
royal nymph
hoary sluice
hoary sluice
ionic lake
#

be me
java

valid jetty
#

no i disagree with java*

#

javascript jobs are far less insane than enterprise java

hoary sluice
#

javascript is way more deranged than java

lavish frigate
#

>be me
>java
>my body was never found

hoary sluice
#

especially cause everyone uses a different framework/ui library

#

ive had to do both enterprise js (ts) and enterprise java (and kotlin)

#

js is much worse

ionic lake
#

everyone uses a different framework/ui library
everyone only knows of the react lingo

#

ui library sure. they'll have different design systems but that makes like 5% of an issue for most people

lavish frigate
# lavish frigate No

If you’ve ever looked for a real frontend job you know maybe one in a thousand job offerings use something other than the big ones

#

Mostly react and fucking jquery

fleet cedar
#

Jquery still exists?

lavish frigate
lavish frigate
ionic lake
#

much of the web is still on jquery

placid cape
hoary sluice
hoary sluice
#

but if you only know react your cv looks a lot worse for a company (most of them) that isnt purely react

hoary sluice
#

theres a lot less fragmentation in embedded, you usually use firmware library x on microcontroller y which takes 5 minutes to learn if you already know one of them (gpio, interrupts, timers, etc), most of the time only the method names are different, theres a big difference if they use c or rust but usually both are used within the same company

winged mantle
#

imagine if devilbro gets internship at discoerd

hoary sluice
#

and while there is a lot of framework fragmentation in the java space (plain jee, spring, quarkus, etc) its much less than with javascript and you usually just have to maintain legacy code and dont have to write anything new, in that case you could have never used quarkus, only spring, and just jump in and know what ur doing

winged mantle
#

devilbro would add buttons to menu with mutationobserver

hoary sluice
#

is devilbro an opp of vencord

winged mantle
#

we love devilbro

#

❤️

lavish frigate
#

devilbro makes plugins for betterdiscord

#

and they are known for being quite... "memory heavy"

winged mantle
#

❤️ I love BetterDiscord ❤️

hoary sluice
#

dont you love when floorp isnt in the official repos so you have to build it from source and then it takes up your entire cpu and you have to go touch grass

spark tiger
spark tiger
#

idk but it only happens with firefox

jade stone
ionic lake
#

it fixes it a tiny bit but yeah

spark tiger
ionic lake
#

yeah i do that but nowadays i don't because the biggest offender of them is github taking >100mb

#

so i just close it off

spark tiger
#

i NEED to clean my tabs but im so lazy

#

this is honestly getting out of control

winged mantle
#

on linux every timenn i leave my pc on suspend it wakes up on its own

#

and also unmutes

unique idol
#

I was wondering how Vencord adds custom settings to Discord?

lavish frigate
unique idol
lavish frigate
unique idol
#

oh thanks

#

But how to make it with only tampermonkey like the userscript version?

lavish frigate
#

vencord is incredibly complicated, it does a lot more than you think
i would not try to replicate vencord behaviour without knowing how to read vencords code
if you just want to extend discord i recommend you just use vencord and make your own plugins for it

unique idol
#

okay

hoary sluice
lavish frigate
#

megumin is definitely a joke and not a real person in this discord server

#

do not look megumin up

hoary sluice
#

vencore lore

deep mulch
#

@unkempt shuttle hiii

formal belfry
#

terry says no to hieroglyphs

formal belfry
#

xD he responded

dawn ledge
#

idt the problem is multiple changes in one pr

#

its just ai slop anyways

#

this is why ai is a bad idea :^)

formal belfry
#

xD

hoary sluice
formal belfry
valid jetty
formal belfry
#

you know its bad when the diff is 12k lines long 🔥

hoary sluice
fleet cedar
hoary sluice
dawn ledge
#

eagely when they realize ts was/is a media format before microcorp made typescript

austere idol
lavish frigate
fleet cedar
#

Not much to discuss since it doesn't show more than the first entry

formal belfry
#

twitter is aids

#

makes me make an account

austere idol
formal belfry
#

even if i wanted to make an account i dont want to do a 10 step captcha lol

austere idol
lavish frigate
#

You are all stupid smh

fleet cedar
#

Why

lavish frigate
#

Im surprised by rust winning, thought c++ would be a lot better

#

But I guess also kinda makes sense

lavish frigate
fleet cedar
#

Hard to make a good api in a bad language after all

fleet cedar
lavish frigate
#

Neither do I

#

You see

#

I upload terabytes of videos every minute

#

Thus directly hurting them

royal nymph
#

aka the average tech tweeter

lavish frigate
#

.

royal nymph
lavish frigate
#

Im going to rewrite the vencord installer in rust.

#

Windows only.

lavish frigate
#

If a language already has a package that helps you of course you are gonna have a better time

royal nymph
#

but it says nothing about the language itself and is a stupid argument

#

you're at that point much more advocating for windows-rs than rust

#

you could make a much similar library for go, in fact people have done that

#

that's like saying python is better than Javascript because discord.py is better than discord.js

lavish frigate
#

Well

#

It all boils down to preference

#

Like any programming language discussion

#

Now I want to make my own little app in different languages to see how well they perform for me

#

Fun side project

#

Though I may still be biased, I just enjoy coding in rust ¯_(ツ)_/¯

#

I really like the current tech bro web development shift

fleet cedar
#

Programming in languages without sum types is pain

#

Traits and destructors are also very nice

royal nymph
#

everyone making nextjs slop

lavish frigate
#

well yeah but they are improving their preferred environment to be performant and i respect that
like when someone made that nextjs plugin(? im not sure what it was exactly) to preload some pages to increase performance or making development tools like react scan

supple whale
#

its insane to me

#

"hey so i used this language meant for 4bit micro controllrs which is meant to be as small and simple as possible, to run this LLM, it sucks"

#

yeah no fucking shit that's not its purpose

winged mantle
#

how could you manage to make this slow in a modern browser engine unless you're discord

fleet cedar
#

Depends on if you want to do a http call for every page load

lavish frigate
#

and depends on how many features you want to add to your note taking app

#

wysiwyg editors with many features are quite large

fleet cedar
#

Things with many features are quite large as a rule of thumb

#

Wysigwyg or not

lavish frigate
#

you arent wrong..

formal belfry
#

bird

lavish frigate
#

In this video I discuss Ubuntu's decision to switch to using rust implementations of the core utilities (mkdir, ls, cat, etc...) and what it could mean for the broader Linux ecosystem.

My merch is available at
https://based.win/

Subscribe to me on Odysee.com
https://odysee.com/@AlphaNerd:8

₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿

...

▶ Play video
formal belfry
#

luke smith

lavish frigate
#

i feel like rust is absolutely one of the languages for core utils of all time

formal belfry
#

one of the languages of all time

lavish frigate
#

definitely

formal belfry
formal belfry
#

e

fleet cedar
#

No

#

That letter is not permitted

formal belfry
fleet cedar
#

Are you making a vim

formal belfry
#

no

#

just bored

hoary sluice
#

@valid jetty i deleted coreutils

#

uhh

valid jetty
#

timeshift???

#

how do u even manage that

hoary sluice
#

in the process deleted coreutils

#

now i have uutils but its not aliased properly

dense sand
#

rust hacking

ionic lake
hoary sluice
#

@valid jetty im so smart

#
for cmd in $(~/.cargo/bin/coreutils --list); do
    sudo ~/.cargo/bin/coreutils ln -sf /home/eagely/.cargo/bin/coreutils /usr/bin/$cmd
done
#

this worked

valid jetty
#

huuuuuuusk

#

btw @hoary sluice how do you get the mov codec playback on discord

#

i cant figure out what package its in

#

i have all the main ones and i still cant play mov videos in firefox

hoary sluice
#

idk

valid jetty
#

can you play mov

hoary sluice
hoary sluice
valid jetty
#

yeah i use discord in the browser

hoary sluice
#

hus

#

k

valid jetty
valid jetty
hoary sluice
#

you mean floorp

valid jetty
#

discord in firefox with the userscript

#

nop

#

im on linux rember

#

i use floorp on macos

hoary sluice
#

floorp exists on linux

valid jetty
#

i know

hoary sluice
#

and i useit

valid jetty
#

i just havent gotten around to it yet

hoary sluice
#

send me a mov

dawn ledge
valid jetty
#

you need tampermonkey or violentmonkey

hoary sluice
#

virus

dense sand
#

same

#

it doesnt work for me for atleast a week now though

dense sand
#

its only some

hoary sluice
#

what location do i put

valid jetty
#

is this video specifically bugged

valid jetty
hoary sluice
#

why are u using browser discord

dense sand
hoary sluice
dense sand
#

i use vesktop

hoary sluice
#

why do i need to run a shell script to install a userscript

#

oh

#

ignore everything i said

valid jetty
#

better all in firefox than some firefox some chromium all running at once

#

i switched spotify to my browser aswell

#

no theme but at least its adless

hoary sluice
valid jetty
#

lmao

#

love

hoary sluice
#

why is discord so much smoother in the browser

valid jetty
#

thats exactly why i use it here

#

thats a known fact - its always been faster in the browser

dawn ledge
hoary sluice
#

i dont see vencord in settings

valid jetty
hoary sluice
#

oh it was enabled but not running

valid jetty
#

lmao

#

btw @hoary sluice if you have vencloud setup

#

you can just directly import all your plugins and settings from desktop to browser

hoary sluice
#

this looks like more effort than manually moving it

lavish frigate
#

also thank god for that youtube frequency graph feature thing

valid jetty
#

so hard

hoary sluice
#

starting a docker container is more effort than enabling 3 plugins

valid jetty
#

oh

#

i have quite a lot of plugins lol

placid cape
#

@valid jetty what browser do you use

valid jetty
#

right now plain firefox that came preinstalled on fedora

placid cape
#

Have you tried zen?

#

I'm just looking for lightweight browser

#

Chrome takes so much memory

valid jetty
#

i have but zen and floorp are quite unstable atm

#

firefox is using about 700mb of mem with 4 tabs open (albeit 3/4 of those tabs are heavy apps, discord spotify youtube jisho)

#

imo thats far better than chrome can do

#

i havent compared it tho

placid cape
#

My chrome takes over 1GB on 2 tabs

#

where 1 tab is ytb music

hoary sluice
#

zed destroyed my ram and cpu when i tried it

placid cape
#

What do you use

hoary sluice
#

floorp

placid cape
#

And floorp is based on firerox?

hoary sluice
#

yes

dawn ledge
#

whoever saying chrome takes up too much mem is capping
i be running chrome in the background with literally 500+ tabs open in the background and i can compile my rust projects just fine (i dont even have crazy ram on my laptop)
heck even my old ass phone handles 500+ tabs on mobile well

valid jetty
#

they dont do procedural file loading

hoary sluice
#

i meant

#

zen

valid jetty
#

oh

#

lol

hoary sluice
#

i typed zed out of memory (pun not intended)

#

but same thing applies to zed

valid jetty
#

i tried to load the discord mobile decompiled pseudojs bundle on zed

#

it tried to load the whole 3 million line file into memory at once

#

vscode would load it in chunks

hoary sluice
#

yea i dont load big projects into zed

valid jetty
#

and zed tried to syntax highlight it all at once too lol

hoary sluice
#

and most of the memory used by zed is r-a lol

valid jetty
#

it killed my whole laptop

dawn ledge
#

vscode dies

valid jetty
#

vscode handles really big files surprisingly well

hoary sluice
#

are you using vscode now

valid jetty
#

no

#

im using nvim

hoary sluice
#

that works too

#

are you not using zed at all tho

dawn ledge
#

i havent found a good editor for large files
even my primary editor (nvim) chokes up on minified files with 3k+ lines

valid jetty
#

i use zed when working on elle/anything elle related like いちご

dawn ledge
#

oh thats even worse

#

it just quits

valid jetty
#

huhh

dawn ledge
#

one good thing in vs is that it doesnt do syntax highlight for large files
which well makes it load
but also makes it hard to read

valid jetty
#

it does?? you probably selected it to disable when it asked

#

iirc it asks if you want to load in chunks, load all, or disable altogether

worldly sigil
dawn ledge
#

yeah well if i dont disable it crashes
if i enable after loading it freezes

#

my solution is to just cat it and pipe it to less
if im not gonna get syn highlight i might as well not spin another chrome instance

dawn ledge
#

:3

dawn ledge
#

on my laptop? 6gb

#

somehow works

placid cape
#

lol

#

6gb for ram is weird

#

you added 2gb ram yourself?

dawn ledge
#

no

hoary sluice
#

@placid cape floorp feels a lot smoother and faster idk if its placebo or if it actually is faster but it certainly feels like it

placid cape
#

I'll try it thanks

hoary sluice
ionic lake
#

react

lavish frigate
lavish frigate
valid jetty
#

defualt

ionic lake
#

love me some The inferred type of 'forwarded' cannot be named without a reference to '.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared'. This is likely not portable. A type annotation is necessary.

unkempt shuttle
#

thanks

native spruce
#

@woven mesa look how awesome this is

unkempt shuttle
#

verboselang is my favourite

native spruce
#

whats verboselang

unkempt shuttle
#

whatever you have going on in the screenshot

native spruce
unkempt shuttle
#

yes

#

i like how the classnames are so long

native spruce
#

I did something a bit hacky and made my own stuff for making ui

unkempt shuttle
#

and the property names

unkempt shuttle
#

what sort of ui does this snippet produce?

native spruce
unkempt shuttle
#

i feel like the upper limit for capital letters in a PascalCase name should be 3 but also it's kinda funny

unkempt shuttle
#

nice!

native spruce
#

I hated how awful it was to make stuff like this manually so I just made something easy for me to use without much effort

unkempt shuttle
#

yeah it's really a pleasure when you get to do things like that

native spruce
unkempt shuttle
#

noo

#

make it stop

native spruce
#

ive been trying a lot of stuff out recently, class inheritance was one big thing that I wanted to extensively try out

#

the code is so much easier to read

#

looove it

unkempt shuttle
#

OOP, when applied correctly, can sometimes resemble a useful language

native spruce
#

tbh I don't write a lot of repeating code outside of ui so I probably wont use it as much (or probably never) as much as I do here

unkempt shuttle
#

yay

native spruce
#

I think oop kicks ass for ui

unkempt shuttle
#

i partially agree

#

there are certain parts of it that just make it better for OOP

#

but the way other paradigms conceptualise and otherwise handle data / data paths can be better imo

#

alas i am very tired and will lay down

#

i'll uh probably check this channel in like 5 minutes

torn seal
#

huhhh

#

TS is being rewritten in Go

#

idk if it's just the compiler

unkempt shuttle
#

it is indeed

torn seal
#

or if the LSP is as well

unkempt shuttle
#

probably the latter at first

#

there's probably a changelog for tsv7 somewhere

#

i think it's both actually

torn seal
#

ic

unkempt shuttle
#

mentions lsp

#

go nuts

#

haha see what i did there

jade stone
dense sand
#

who thought of making strings half class half native object in jvm and told to themselve that thats a good idea

placid cape
#

They'll finally use lsp for typescript in vscode

fleet cedar
ionic lake
#

cargo will get garbage collection in a future update

#

(((cargo, not rust)))

unkempt shuttle
#

oh, cargo::core::gc has been around for a while i thought?

fleet cedar
#

You mean for cleaning out unneded stuff from target/?

unkempt shuttle
#

it's cargo clean

austere idol
#

realtime raytracing on arduino?

dawn ledge
unkempt shuttle
unkempt shuttle
hoary sluice
#

what abt it

lavish frigate
dense sand
#

build kinda cool product but be a complete idiot and therefore leave a giant security hole

unkempt shuttle
#

NO FUCKING WAY LOL

nimble bone
unkempt shuttle
#

what's bad about bun?

nimble bone
lavish frigate
# nimble bone https://discord.com/channels/1015060230222131221/1015060231060983891/13458267857...

1.1. you can still be production ready without supporting an OS (depending on the use case its actually good even! means more time spent on supporting features) and bun now does more for windows compatibility than node for its entire lifetime with its shell standard library being able to convert common commands into their native implementations... (the aim of no more different commands for different operating systems is really cool!) https://bun.sh/docs/runtime/shell
1.2. you can be production ready without full node package support. At least production ready for most people means that its not riddled with bugs. You can very much develop an entire application in the first production ready release of bun and of course they are still ironing out issues that make some node packages not be supported.
2. bun actively goes against some standards and i at least think going against standards is neutral, you can go against and do stuff like for example rename the cli flag for no reason (bad) or just automatically load .env files like bun does! (good), you cannot say something is objectively just bad because it goes against standards, i can name more things like the extension of fetch which a bunch of hyper node nerds bashed bun on (completely unnecessarily) even though its pretty good.
2.2. going back to 1.2, going against standards also means you cannot have 100% support with existing node packages! and thats fine! because people will still make it work, and thats again why i think complaining about no full package support when you arent actively affected by it is pointless
3. the discontinued argument is pointless because like... what if node just gets discontinued, lol... anything can just get discontinued and while yes bun does have a higher chance of discontinued due to being new it also has a chance of staying around or even permanently "staining" the ecosystem due to being open source and people continuing to develop it after its shutdown
4. cmon, even the article you linked says its problems with it is a stretch, also it was also always able to translate it back to lock and its also now outdated https://bun.sh/blog/bun-lock-text-lockfile

but just like with everything, its up to personal preference! if bun works for people it works! an example from me: my PC at work is actual garbage, im sure it was made in like 2012 with a couple of components upgraded. It runs like absolute shit. But i mean it is okay enough for me to be able to do my work. But well now when i connect to our development server, go to any js project with any large-ish framework (next, nuxt, svelte, you name it) and an even just medium sized code base. Then try running npm run dev/npm run build it takes literally.... 10 minutes... to compile... this was quite literally impossible for me to work with. I drop in replaced npm with bun and guess what! it went down to 1 minute. Actually amazing tool for me.
so whatever you use, npm, bun, esbuild(?) just use what works best for you! no need to hate on runtimes

supple whale
#

it also pisses me the fuck off

#

i hate bun for their giga fake advertising

#

like yeah, what they are doing is GIGA cool, but dont say you're the best and production ready, when you're still like 3 years off actually being usable for anything more complex than a 2+2

lavish frigate
#

ive never had any problems with it for anything ¯_(ツ)_/¯

#

i guess thats just me though

visual shellBOT
lavish frigate
#

if you respond to my message using AI im going to throw the message right into the trash im not gonna argue with ai if i wanna do that im gonna go on chatgpt 😭

royal nymph
#

gemini went like "nah this is too much yapping i cant summarise"

royal nymph
lavish frigate
#

smh

royal nymph
#

not respond

visual shellBOT
# royal nymph lc.gpt summarise this
1.1. you can still be production ready without su…
{
  "summary": "The text discusses the advantages and considerations of using Bun, an alternative JavaScript runtime to Node.js. It highlights that while Bun may not fully support all node packages or all operating systems, it offers benefits like improved Windows compatibility and faster development speeds due to its unique shell standard library. It argues that not adhering strictly to standards can be positive, exemplified by Bun's automatic .env file loading and innovative fetch extension. The notion of Bun being potentially discontinued is dismissed as speculative since any tool can face discontinuation. The text concludes by emphasizing personal preference and suitability as the key factors in choosing between runtimes like Node.js and Bun. Specifically, Bun substantially reduced compile times on an underpowered work PC, showcasing its efficiency in real-world scenarios."
}
royal nymph
#

improved Windows compatibility ?????

dense sand
#

im thinking of switching to deno tbh

#

given i use nextjs a lot

royal nymph
#

what does nextjs have to do with deno?

dense sand
#

And i still want to try something new

lavish frigate
#

making native apps is like shooting yourself into the foot, though ive been microdosing on bullets by programming with js so i will make a good native app, even if i lose my foot in the end

placid cape
balmy lintel
spark tiger
unkempt shuttle
balmy lintel
#

husk

hoary sluice
#

(it probably just curls the website and puts it in a div

lavish frigate
#

no

#

it downloads the site and feeds it to AI

hoary sluice
#

oh does it actually copy

#

lmao

lavish frigate
#

yes

#

with ai

supple whale
#

well yes but no

lavish frigate
#

im not kidding

supple whale
#

it doesnt do raw js

hoary sluice
#

does the ai just spit out the same thing

supple whale
#

it makes it into some framework project

#

so its not raw js

hoary sluice
#

oh

unkempt shuttle
#

i feel like there's a way to do this algorithmically (or ideally not at all)

hoary sluice
#

its just a chatgpt wrapper

#

with a vibe coded embedded browser

spark tiger
# hoary sluice does the ai just spit out the same thing

oh come on, this shit just straight up steals the source code and tries to change it around a little

【QRT of Aiden Bai (@aidenybai):】

'Introducing Same.​dev

Clone any website with pixel perfect accuracy

One-shots Nike, Apple TV, Minecraft, and more! https://t.co/3U9YL1jtit'

pearl stagBOT
#
venbot

OPEN A TICKET
</modmail:1161455196610760895>

miau, ich bin ein bot!
source code: https://codeberg.org/vee/bot

Created

<t:1662584258:R>

Tags

meow

Bot

venbot#5794

Flags
  • Presence Intent (Unverified)
  • Guild Members Intent (Unverified)
  • Embedded
  • Message Content Intent (Unverified)
  • <Undocumented Flag> (1 << 21, 2097152)
  • Supports Commands
pearl vine
#

Fuck, wrong channel

dense sand
placid cape
dense sand
#

its true that at that point it doesnt matter

placid cape
#

Deno was great until they added nom support

fleet cedar
#

Why would a js runtime support rust parser combinators

hoary sluice
#

why would you use js

dense sand
#

i wonder if i can manage to compile my jvm to wasm so i get java in browser again

#

i mean theres teavm

elder scaffold
spark tiger
#

idk prob no

#

like it doesn't even do anything crazy

#

it literally just downloads the site and makes it worse

supple whale
#

log2 scale!

#

wasm is okay on dogshit hardware, useless on good hardware, but usually better than js

#

the problem is cost of entry and program complexity

dense sand
meager turret
#

no horizontal lines on the graph :(

austere idol
#
long long long x = 0;

🔥

placid cape
#

gotos, labels

supple whale
supple whale
dense sand
#

by not using excel

#

/s

supple whale
# supple whale hm, i'm not sure i understand

for me the biggest problem with WASM, is that its not "free" performance, the binaries are fucking massive, it still needs to be compiled after js is compiled, so the load times are even bigger, you need to ship multiple binaries based on browser capabilties like SIMD, memory64 etc, and you also need another separate build and tooling process and learn another language

#

its a steep price to pay for... not that much performance

meager turret
#

i think mainly horizontal lines to showcase the IOPS would be useful as since its a log2 scale right now its hard to see how much higher WASM is compared to js at the rightmost side of the graph

supple whale
#

yeah i know i had the exact same issue

#

i just couldnt get excel to render them

meager turret
#

i see, fair enough

supple whale
#

with excel i can just dump all the data i have, it nicely groups it, i dont need to worry about intervals, sizes, density or scale

#

it handles all of that for me

dense sand
#

are there any cli tools whcih would allow to measure/perf memroy usage in my program

#

(profilers)

meager turret
#

maybe flamegraph? i never used it so idk how it works

#

not sure if you actually embed it in your project or just use it on any binary

#

seems like no memory bench tho

dense sand
#

wait i think i remember using gprof or sometzhing like that

unkempt shuttle
#

@dense sand platform?

dense sand
#

linux

unkempt shuttle
#

ah, linux

#

or you can just use htop

placid cape
supple whale
#

oh yeah dont care, compiler does it for me

#

you'd have to be unhined to write wasm by hand

#

and i'm unsure how that will affect performance

#

we have jumps and longjumps with mem64 so it doesnt really matter that much

placid cape
#

And there's also some performance stuff

supple whale
#

Object.entries(Object.groupBy(Object.values($saved), saved => saved.update ?? ''))

#

jesus christ js

#

why

#

this feels so wrong

#

i'm iterating 3 fucking times

#

XD

#

well 4 cuz i'm putting that in a foreach

dawn ledge
#

most efficient code

#

please do better

#

well doesnt matter ig

#

since its js

supple whale
#

vs 10

#

negligible difference

#

but writing that made me shiver

#

i felt disgusted

#

i feel like my lazy parsing with new URL is gonna be more problematic

#

xd

hoary sluice
#

i found a really fast speech to text api

#

i stated a goal of sub 1 second and i think it might actually be reachable

#

u get 200$ of free credits

#

and its so fast to the point where the bottleneck is getting the weather and not transcribing the audio

placid cape
#

wow okay amazing thanks

#

that's probably even faster than Google's one?

hoary sluice
#

idk i havent used google

#

i just had local whisper

placid cape
#

you can use google for free because they have the API key in chrome

#

And their exposed key is used for like 5 years I guess

hoary sluice
#

i timed it manually (probably kinda imprecise but good enough), from stopping recording to weather showing up with deepgram is 1.88 seconds, local whisper takes 2.3 seconds altho im surprised that its so fast

#

i guess the bottleneck was parsing and not speech to text cause im using the pattern match parser here

#

which just detects if the string "weather" or the string "whether" is in the input

hoary sluice
#

they have a free public api key??

dawn ledge
#

speech to text when accents

placid cape
hoary sluice
placid cape
hoary sluice
#

next week im gonna speedrun a bunch of random free online apis for my microservices cause theyre really easy to implement (just steal my ollama client and rewrite the json parsing) and this needs to run on a raspberry pi

#

thats actually crazy

placid cape
#

I'm building zed right now hehe

hoary sluice
#

zed git integration is awesome

placid cape
hoary sluice
#

mainly cause of this button

placid cape
#

yea I want to finally try it

#

That's why I'm building

hoary sluice
#

oh cause ur on void

placid cape
#

yea

hoary sluice
#

there should be a 'git uncommit' that just rolls back the commit without messing up the reflog

#

the google stt is kinda garbage tho

#

if its the same one that hey google uses

#

chatgpt is much better

#

and that probably uses whisper

#

you can muffle really hard and chatgpt will still transcribe it perfectly

placid cape
#

google stt probably works differently that whisper

#

idk if they actually use ai or something else like vosk

hoary sluice
#

what does vosk do

placid cape
#

They use kaldi

hoary sluice
placid cape
#

i mean they use some sort of ai and models but it's not deep learning

#

you know

#

i don't actually know how it exactly works so

hoary sluice
placid cape
#

do i have to somehow enable the git integration?

#

nvm i forgot to install the pkg xd

hoary sluice
placid cape
#

zed package

#

i only built it

#

forgot to do xi zed

hoary sluice
#

lmao

placid cape
#

google gemini in copilot lol

hoary sluice
#

it has 3.7??

#

since when

supple whale
#

they are insane for how light they are to run

#

i worked with it once, and i was utterly shocked by how fast and accurate whisper is

#

idfk what all the shitty voice assistants are doing in comparison

hoary sluice
#

still too slow for a raspberry pi

supple whale
#

because whisper just fucking works, always

#

ah fuck

#

yeah ur cooked

hoary sluice
#

not the base model

supple whale
hoary sluice
#

large takes 2 minutes on a midrange gpu

#

aint no way they can speed it up 120x right

supple whale
#

well you can speed it up a fuckload by reducing the data size

#

you can unironically compress audio before feeding it to whisper, and it speeds it up a fuckload, while not sacrificing much if any accuracy

hoary sluice
#

can whisper stream real time?

supple whale
#

if you code it that way, yeah

#

we did

#

we had a live transcription service

#

like a phone dictaphone thing

hoary sluice
#

i mean is it worse if its live

supple whale
#

not really no

#

you just stream the data output

#

same as you do with say the gpt models etc

#

its a bit of work tho

hoary sluice
#

thing is its still a raspberry so using any online api is gonna be faster but im probably gonna do fasterwhisper too

supple whale
#

since well you just get a data stream in and out

#

so u gotta build around it

hoary sluice
#

idk if streaming audio is really in scope for me rn

supple whale
hoary sluice
#

deadline is april 4th and i still need to finish the thesis itself

supple whale
#

oh shit

#

yeah ur cooked brotha

hoary sluice
supple whale
#

ignore me then

#

rush

hoary sluice
#

or an mvp of sorts

hoary sluice
ornate quiver
#

i'm not sure how to obtain the dpi from browser
my website has a canvas that draws based on width/height
the issue is that when the dpi is high everything looks cluttered so i need to draw less

#

so i need the physical size of the screen or something similar to that

#

actually wait that sounds stupid

#

guhhh what do i do

supple whale
#

you're welcome

#
const targetHeight = height * devicePixelRatio
#

if you dont have a high pixel density display you can test this by zooming in/out

#

that changes devicePixelRatio

#

i spent a LOT of time working with canvases

#

i know a thing or two lol

ornate quiver
#

unfortuantely that is literally just 2 most of the time

supple whale
#

welp, that is the devicePixelRatio of your display & browser combined then

ornate quiver
#

guu

supple whale
#

sounds like DPI isnt ur issue

#

but its some A/B problem

ornate quiver
#

yeah idk what im missing

supple whale
#

i've used devicePixelRatio for years, and its the solution to this

#

its possible you have some anti spying shit which spoofs devicePixelRatio

#

i've seen that

wheat kernel
#

i think all mainstream browsers have it hardcoded now

#

like most of the navigator props

ornate quiver
#

damn

deep mulch
#

@ornate quiver do you think i need to remember the Brush

frosty obsidian
#

probably not

deep mulch
#

for some reason the cache is being invalidated in one of the other pickers when it shoudlnt be

#

guhh it makes no sense

deep mulch
#

the json file says "knownUnstableArguments": 3, but theres no unstable args in the composables report

#

how is it using cache after i deleted the build folders

hoary sluice
#

zootie you are so smart

#

can we trade aoc knowledge for compose knowledge

deep mulch
#

never

ionic hamlet
#

opening this channel specifically to post this screenshot and then never coming here again 🔥

lavish frigate
#

sprint is a stupid name

#

and then stupid languages like php copy it and make sprintf

dawn ledge
#

println!() my beloved

lavish frigate
#

🔥

#

format!()

lavish frigate
#

nvm im stupid i was always using a php framework that does this shit !!! sprint doesnt exist in vanilla php

hoary sluice
lavish frigate
hoary sluice
fleet cedar
#

That's sprintf

#

Not sprint

hoary sluice
#

sprint is just without formatting no?

fleet cedar
#

That's called strcpy

hoary sluice
#

does the f stand for formatting

#

true

#

yea there is no sprint();

#

sprint would just be strcpy

lavish frigate
#

😭 huh

#

ill make c 2

#

(its just c with better function names)

hoary sluice
#
lavish frigate
#

ending it all

balmy lintel
#

missing

fleet cedar
#

Got packet in sock

lavish frigate
#

in sock

supple whale
#

i wonder how awful of an idea for security this is

winged mantle
stoic helm
#

oh shit that came out today??

#

literally just used that for rich presence because it had a premade unity setup

#

had no clue

lavish frigate
#

whats bad about this

supple whale
#

riiiight

lavish frigate
#

i think its cool

supple whale
#

you dont know about the 100 attacks if steam's exact implementation of this

lavish frigate
#

?

supple whale
#

doxing, dosing the user, dosing the servers the user is on, botting lobbies, joining midgame, exposing game lobbies

#

there's so, so, so, so much that can go wrong there

lavish frigate
#

doxing

#

im gonna dos discord guys (totally real)

supple whale
#

jesus did you even read the article?

#

its discord friend integration for games

#

you DOS the game servers

#

its stupidly easy, and insanely common for apex legends etc

lavish frigate
#

how does that lead to exposing the server the user is on

#

its a token system

#

part of this quite literally already exists

#

they are opening it up to everyone

#
  • more features
#

which is really cool

lavish frigate
#

vencord users try not to hate on something just because its new challenge (impossible)

supple whale
#

nah, i've just seen this exact thing exploited many many times

lavish frigate
#

where

supple whale
#

on uplay, on steam

lavish frigate
#

uplay 😭

#

and steam requires having the user as a friend if you are stupid enough to put people like that on your friends list thats your fault

supple whale
#

no it does not

#

well

#

it did not

#

its patched now

#

but wasnt for a solid 5 years

lavish frigate
#

amazing

supple whale
#

and the same goes for uplay

lavish frigate
#

who tf cares about uplay 😭

celest jungle
#

eggs

lavish frigate
ornate quiver
#

vibe coding moment

#

god I hate that

pearl vine
# lavish frigate

I don't believe this, if you have to build your app with 100% ai, you definitely also lack the knowledge required to host it

lavish frigate
pearl vine
jade stone
#

i love learning rust

royal nymph
#

how tf did u achieve that

jade stone
#

idk

also i restart my shell and it works fine 😭

royal nymph
#

do you have any unsafe?

#

or just pure rust

jade stone
#
fn main() {
println!("Hello, World!");
}
royal nymph
#

oh i assumed you had edited it with your editor

#

not literally used the hello world

#

that's hilarious

#

something weird in your shell?

jade stone
#

not sure

#

ive narrowed it down to where it will only happen on shells opened from vscode

#

(internal or external)

royal nymph
#

as in, it happens regularely?

jade stone
#

but now it just works fine wires

#

wait it didnt recompile

#

rustc main.rs && ./main always fails on a terminal opened from vscode and always works on a terminal not opened from vscode

#

odds are some extension is fucking with the env (prob rust analyzer)

royal nymph
#

yeah

#

check what's in there

#

run in normal and vscode shell and diff the files

env > normal
env > vscode
jade stone
#

diff so insane i have to hand edit it

royal nymph
#

what's wrong

#

try diff -u

#

it does the git style instead of the horror < and > style

jade stone
#

its massive and things are weird so things like HOME and HOSTNAME are showing as different

#

(im using vscode visual diff)

royal nymph
#

lmao

ornate quiver
#

insane

winged mantle
#

poor soul

hoary sluice
# jade stone

did you reduce your stack size to 1 byte before running this

winged mantle
#

wouldn't it panic

#

oh wait

#

1 byte

#

😭

jade stone
#

node docs are confusing me
do i pass a readable or writable stream to stdout/stderr

writable makes sense in my head, but the docs arent clear

ornate quiver
#

@deep mulch i cant get zygisk to work with rootAVD

ornate quiver
#

it just doesnt apply

deep mulch
#

interesting

#

did you use Google play image or the aosp one

ornate quiver
#

lsposed refuses to load cause zygisk disabled

#

aosp

deep mulch
#

weird

#

what version

ornate quiver
#

rootavd ships 26400 so thats what i used

#

android 15

deep mulch
#

I think I've had better luck with like 12 or 13

#

@ornate quiver make rootavd script that doesn't have the world's worst ux

ornate quiver
#

okay i made it work
magisk 28.1 with the InstallKernelModules option

ornate quiver
#

@deep mulch have you seen android 3.0 src???
its just gone from cs.android.com???

deep mulch
#

i think android 3 was closed source

ornate quiver
#

seriously

deep mulch
#

i think so

ornate quiver
#

oh yeah

#

insnae

#

okayi found an android.jar from android 3

#

ugh thats not it

deep mulch
#

what are you doing

ornate quiver
#

im trying to make my xposed module theoretically work down to android 2.0

#

it would be funny

deep mulch
#

xposed goes that low?

ornate quiver
#

dont think so

deep mulch
#

how will you do

ornate quiver
#

theoretically

deep mulch
#

insanee

ornate quiver
#

i got down to minSdk 3 (android cupcake; 1.5)@deep mulch

deep mulch
#

how

ornate quiver
#

im amazed AGP just builds it with no changes

deep mulch
#

thats funny

ornate quiver
#

i wonder what codename android will use once it passes Z

deep mulch
#

hmm

#

that will be interesting

frosty obsidian
wheat kernel
deep mulch
#

ask gogle blobcatcozy

wheat kernel
#

oh they released it eventually

deep mulch
#

guhhh I keep overthinking everything
the maven coordinates
function names
states
help @ornate quiver

#

ColorPickerRing
ColorRingPicker
ColorRing

ornate quiver
deep mulch
ornate quiver
deep mulch
ornate quiver
deep mulch
#

nini

royal nymph
#

minky ate them

ornate quiver
#

java nightmare
i thought it would autobox them separately as an java.lang.Integer/Long but instead it first casts and then autoboxes it as a long anywyas ????

#

why would java do this

#

what the FUCK
if i explicitly autobox them it boxes it AGAIN into a long

#

@deep mulch i hate java

#

i couldnt figure out why my xposed module was bootlooping

#

oh my lord this fixed it

dense sand
#

Tragedy

fleet cedar
#

You are explicitly creating a Long value and are confused why you're getting a Long?

ornate quiver
#

that's the compiler

#

which is why I am angry

fleet cedar
#

Oh, that's decompiled?

ornate quiver
#

yeah

ornate quiver
fleet cedar
#

I'd just do Long.valueOf and Int.valueOf in the branches

ornate quiver
fleet cedar
#

Oh

#

In that case, yeah, dumb af

ornate quiver
#

i have no idea what drugs the type inference is smoking

fleet cedar
#

Probably trying to make both branches the same type

ornate quiver
#

I guess yeah

fleet cedar
#

Java doesn't jave bidirectional type inference, so it can't tell that it's just an Object in the end

ornate quiver
fleet cedar
#

So it sees that first branch is Long and figures second has to be too

ornate quiver
#

😭

#

every time I tested my code I had to unroot my emulator so it doesn't bootloop, reinstall the app(this is a xposed module), then reroot it, reinstall the app again so lsposed detects it, then reboot again so the module finally loads

#

oml

shrewd bison
#

How can I enable/disable commands via a toggle switch in the plugin settings?

hoary sluice
#

vns

elder yarrowBOT
hoary sluice
#

oh wait are u making a plugin

#

sorry

lavish frigate
#

who wanna open up a software consulting firm aimed at ai startups and make a ton of money

nimble bone
#

at least he learned his lesson

lavish frigate
deep mulch
#

@ornate quiver this is weird
before use the picker is kinda laggy but after dragging it around and getting a bunch of colors picked it's much faster

dense sand
#

has anyone ever used emscripten here

#

im trynna build my library but im getting this

#

any idea what could it mean?

#

adding wasm target for my C jvm...

lavish frigate
jade stone
#

doesnt vscode have that already wires

fleet cedar
#

Vscode already has too much ai

jade stone
#

they were being a pain more than they ever helped

fleet cedar
#

The other day I saw a "explain with copilot" button on some random error dialog box

jade stone
#

if i every need it, ill use the chat prompt manually, but i dont do that often

jade stone
#

@deep mulch whats that thing in intellij idea called where you can see the live output of a kotlin script file line by line

#

its not the repl, that brings up a terminal

deep mulch
#

jupyter notebook i think

#

or scratchpad

#

I never use

jade stone
# deep mulch I never use

its nice when i have a general language question thats a bit more complex that 1+1 but not complex enough to google

deep mulch
#

insane

hoary sluice
#

@placid cape @deep mulch i need name suggestions for the voice assistant

placid cape
#

im really bad at naming

#

ask ai lol

fleet cedar
#

Its name is the empty string

dawn ledge
#

jarvis /j

fleet cedar
#

That sounds like a program for inspecting the contents of a jar file

dawn ledge
#

name it duke

#

@formal belfry approves

placid cape
dawn ledge
#

i only got dumb names like larynx or resonance

fleet cedar
#

I mean Larynx isn't that bad

hoary sluice
#

im calling it ferris

#

making ferris the logo

jade stone
#

thanks git

formal belfry
#

who here is an astro pro

#

or just

#

typescript in general i guess

dawn ledge
formal belfry
#

im wondering how i should go about storing a current canvas variable globally or something because I want to potentially have tabs in my image editor and need to read the current canvas

lavish frigate
#

you should make a component that manages the tabs and pass the canvas onto every tab (which should also be components) instead of storing it globally

dawn ledge
#

atoms?

dawn ledge
#

a parent component holding said var would also work ig

lavish frigate
#

often when you "need" to store something globally you are just thinking about it wrong and should take a step back

formal belfry
#

that sounds about right yeah

#

I'm not too used to this i just kinda dived right in i have never used astro for an actual webapp

dawn ledge
#

although if you dont want to have to nest components and pass around the state in props you can use something like nanostores

formal belfry
#

oh

#

goodbye formatting

dawn ledge
formal belfry
#

ooh

#

I'm guessing this is only for react

dawn ledge
#

no this is vanilla

dawn ledge
#

for react(/other stuff) only you can use something like jotai or recoil

formal belfry
#

I will look at that

#

thank you

dawn ledge
#

also nanostores also works with react (& co.)

formal belfry
#

I don't use certain atom named framework its fine

#

does astro's formatter in vscode have any configuration

lavish frigate
#

but usually youd do something like

export default function App() {
  const [tabs, setTabs] = useState([]);
  const canvas = something;

  return <TabGroup>
    {tabs.map(tab => <Tab name={tab.name} canvas={canvas} otherProps={tab.whatever} />)}
  </TabGroup>
}

(in your framework of course this is just an example in react)

formal belfry
#

should i be using a framework for this

lavish frigate
#

¯_(ツ)_/¯