#🪅-progaming

1 messages · Page 138 of 1

fierce pendant
deep mulch
#

true

royal nymph
#

work on minkinator @deep mulch

deep mulch
#

soon

vagrant crescent
#

I am in need of a professional opinion (if possible): is it possible to make a jvm like instance supporting android apis inside rust in a way that allows interception of dex/bytecode at runtime, so that kotlin extensions could work in a multiplatform context?

royal nymph
vagrant crescent
#

but

royal nymph
#

what kotlin extensions are you even referring to

vagrant crescent
#

mihon/aniyomi extensions are, whats the word, and well maintained

royal nymph
#

they should work fine on jvm unless you mean android specific apis, which you would have to reimplement

vagrant crescent
vagrant crescent
#

i just know that itll get overly complex rlly fast

royal nymph
#

why not just use an emulator / android compatibility layer

vagrant crescent
#

thats.....

deep mulch
vagrant crescent
#

im trying to make it work on ios

vagrant crescent
vagrant crescent
royal nymph
vagrant crescent
#

but that would mean i need to maintain them when they eventually break

#

if i make the dex bytecode thing it js works its just to get to that point that is the issue

#

thanks for the input, noted

royal nymph
vagrant crescent
#

UNDERESTIMATING???

#

😭

#

u are very motivating

#

such a kind soul

royal nymph
#

no, bad wording

#

underestimating how much of a feat that would be :P

vagrant crescent
#

yeah i figured

deep mulch
#

vee is a very kind soul

#

@royal nymph

vagrant crescent
#

basically a reqrite of an android enviroment

royal nymph
#

and I think you have the wrong idea

vagrant crescent
#

oop

deep mulch
#

sober runs the roblox android app on desktop somehow

royal nymph
#

I mean that's easy

#

can just use existing things for that

vagrant crescent
#

he/she might be using that

deep mulch
#

its not

deep mulch
#

its weird

vagrant crescent
#

crazy

royal nymph
vagrant crescent
#

kmp

#

i think it should work

vagrant crescent
royal nymph
#

if you rewrite the entire app you might as well also rewrite those extensions akarishrug

#

could probably even rewrite the extensions with ai

vagrant crescent
#

i barely even know how webscraping works IN JS

its on the list of things i wanna learn

vagrant crescent
lyric latch
#

in ai we thrust

vagrant crescent
#

ai goated to give you a sense of direction with stuff

shrewd canopy
#

It's a VM

deep mulch
#

i never said it wasnt a VM

fierce pendant
torpid solar
#

From sober faq directly

#

"Sober crafts a specialized runtime for the Android version of Roblox. Effectively, it bridges the small gap between Android and Linux, allowing for a native unofficial port."

#

On top of that

#

Running it in a vm would be a lot more resource demanding

jade stone
winged mantle
#

fierce pendant
#

frend uses nixos like arch without ever changing their config

pseudo sierra
#

but why just use arch atp

fierce pendant
fierce pendant
queen jasper
#

is arch really all that

#

i've seen glazed everywhere to the point the only thing i know about linux is there exist a distro called arch

#

before knowing ubento or the rest

solemn ravine
patent vortex
#

luna: user error rtfm etc

solemn ravine
#

But at least pacman is fast

#

I use cachy ironically knowing these problems, I’m not one that does much in my system for pacman to cause any issues

frosty obsidian
#

basically arch just requires you to not be stupid

#

if you want something more up to date but also more stable then use fedora

fleet cedar
#

That's not true, you need two things:

  • not be stupid
  • follow their undocumented blog to learn of breaking changes
frosty obsidian
#

wdym undocumented its the main page of their website

pseudo sierra
#

the wiki also tells you to read it before upgrading

fleet cedar
#

Yeah and who the heck does that?

patent vortex
#

I remember when I was installing arch but their systemd package post-install script was broken so I just had to go without an OS for a day

pseudo sierra
#

reading?

patent vortex
fleet cedar
#

Updating is yay -Syu, not firefox archlinux.org/whatever; sleep 1000; yay -Syu

patent vortex
#

even with void I sometimes check even though I have NEVER had a breakage

frosty obsidian
#

*paru

patent vortex
frosty obsidian
#

nothing ever breaks for me either but i have cosmic luck so i don't count

patent vortex
#

it's not like you have to read every post ever

royal nymph
#

I used arch for years and never had any problems tbh and I never cared about their news

#

but fedora is just better

patent vortex
winged mantle
#

lol managed to get a set of compile args where linking to SDL fails unless i specify -fsanitize=address,undefined

#

not using object files (-c), just compiling all the files and linking in one stage where the compiler sorts out that annoying stuff

#

works if i reorder arguments

#

but the order doesn't matter with sanitizers

#

i love gcc

deep mulch
#

I've ran arch for years and only times it's imploded was like two or three times

#

I usually just blindly update and nothing happens

solemn ravine
#

nop
I've ran arch for years and only times it's imploded was like two or three times
expects me to believe it doesn’t happen..

deep mulch
#

not really

#

I had a broken pacman hook that temporarily locked me out cause mkinitcpio didn't run but that was my fault for misconfiguring

winged mantle
#

what if there were distros where you didn't even need to know what the hell mkinitcpio is blobcatcozy

deep mulch
#

there are

#

I like knowing how my system works

winged mantle
#

ah, it's the image that the bootloader hands to the kernel

#

like a png?

solemn ravine
deep mulch
winged mantle
#

gentoo

deep mulch
#

nixos documentation and horrible syntax will keep me from ever using it again

winged mantle
#

what if you could configure your system using kotlin

deep mulch
#

Idk it wouldn't be appropriate language for config

solemn ravine
fierce pendant
solemn ravine
#

Can’t say I disagree when I used Debian and did a dist upgrade it broke everything and I couldn’t login anymore

fierce pendant
#

but its not an arch issue

#

its my fault for using nividia

deep mulch
#

nvidia-dkms package always triggers rebuild

#

works for me

fierce pendant
#

yeah

royal nymph
#

@deep mulch make Gradle Linux

#

it's like nixos but you configure via gradle build.kts scripts

#

and gradle daemon handles everything

deep mulch
#

sadan would love

fierce pendant
#

@royal nymph make vencord linux

deep mulch
#

@royal nymph make vencord linux

fierce pendant
#

@royal nymph make vencord linux

winged mantle
#

guess what this code does

#

(obfuscated)

fierce pendant
gilded surge
deep mulch
unkempt ember
#

Is it the AAAAAAAAAAAAAA!!!! programming language ?

queen jasper
#

why are like all hyprland screenshots i've seen all have ai wallpapers

fierce pendant
# winged mantle guess what this code does

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

jade stone
deep mulch
#

@jade stone

#

EW

#

NDHDHSNDJEJDBWHD

fierce pendant
vagrant crescent
#

so many copies of the avatar movie in ultra ultra HD ❤️

sage hamlet
sage hamlet
#

me

#

helo

deep mulch
#

you have arrived

sage hamlet
#

i like the a vencord

frosty obsidian
#

gradle isn't that bad for config tbh

sage hamlet
#

=)

deep mulch
#

your arrival was prophecized

sage hamlet
#

that's worrying

frosty obsidian
deep mulch
#

@sage hamlet say "@frosty obsidian finish gloom" it's for a good reason

sage hamlet
#

yeah my least favorite part of using kotlin is the tooling because it's all JVM shit

frosty obsidian
#

kotlin buildscripts are good imo

sage hamlet
#

i dont think ive ever imported a cloned intellij or android studio project that uses gradle and had it work without at least 20 minutes of fucking with it

frosty obsidian
#

i do like programmatic configuration

deep mulch
#

I like the config too

jade stone
#

@sage hamlet JUMPSCARE

sage hamlet
deep mulch
#

@jade stone satan

sage hamlet
jade stone
jade stone
sage hamlet
#

i like the ven cord

jade stone
sage hamlet
#

Oh

#

we dont need to do that

deep mulch
#

you

jade stone
#

@glossy remnant she's real

sage hamlet
#

why are there so many of you

deep mulch
#

@glossy remnant

glossy remnant
#

holy crap ..

glossy remnant
sage hamlet
#

excuse me for not knowing broseidon

deep mulch
#

broseph

glossy remnant
#

you have been forgiven brosahedron

jade stone
#

@deep mulch send minky

glossy remnant
#

i require minkyposting

sage hamlet
#

i dont keep track of your servers brogasm

deep mulch
gilded surge
#

car

jade stone
#

mink

gilded surge
#

git sticker

sage hamlet
#

thing i got termites in unfrtunate palces. can vencord help with this 👍

sage hamlet
#

they are destrying my livelihood

sage hamlet
#

just boot up teardown

deep mulch
#

True

jade stone
deep mulch
#

soon

sage hamlet
#

nutritious meal

#

protein

supple whale
#

@jade stone any idea why this try catch doesnt work then CONSTRUCT is used?

try {
  const { parent, RawValue, lastSegment } = filterPath(path, obj)
  switch (type) {
    case MessageType.GET:
      returnValue = RawValue
      break
    case MessageType.SET:
      parent[lastSegment!] = fromWireValue(data.value, ep)
      returnValue = true
      break
    case MessageType.APPLY:
      returnValue = RawValue.apply(parent, argumentList)
      break
    case MessageType.CONSTRUCT:
      returnValue = proxy(new RawValue(...argumentList))
      break
    case MessageType.RELEASE:
      returnValue = undefined
      break
    default:
      return
  }
} catch (value) {
  returnValue = { value, [throwMarker]: 0 }
}
#

RawValue is just:

#

nvm, nodejs terminal is just shit

#

and cant keep up

#

uuugh

#

im making async constructors sync

#

by defering their construct calls to their already async methods

#

and its not going well

#

i'm stuck on the last 10%

jade stone
supple whale
#

like say on a worker

#

or a thread

#

i just do await new ThreadedClass(args)

#

i dont care that its an underlyign worker

#
import { Worker } from 'worker_threads'

import { wrap } from '../src/abslink.ts'

import type { Test } from './worker'

const worker = new Worker(new URL('./worker.ts', import.meta.url))

const TestClass = wrap<typeof Test>(worker)

const x = new TestClass()
#

previously i did

const x = await new TestClass()
#

which is good if you want safety that the class constructed

supple whale
#

YESSS I FUCKING DID IT

#

as always i'm the best to ever do it

sage hamlet
#

i think i can count the amount of times ive seen await new in 8 years of writing js on two hands

#

that scares me a little bit

fierce pendant
#

twice, always from @supple whale

sage hamlet
#

theres a very limited amount of use cases i can imagine await new in but i think they are at least genuine and make sense

supple whale
#

with full typing support

#

and when you write code, you interface with the object like it was simply an async class

#

but in practice it serializes all calls via postmessage and onmessage

#

so it needs to be awaited, always, since it is trully async

#

thus, constructing classes exposed by the worker, also needs to be async

#

since the constructor can also throw, you need the result

#

but i decided i want support for both async and sync constructors

sage hamlet
#

this is intriguing

supple whale
#

where sync constructors would throw if the constructor errored only on a method call

#

rather than the construct itself

#

its unsafe, sure, but it lets you access the class instantly instead of waiting for it to settle

#

this is simply because while i might have the codebase to support async construtors, developers which consume my lib dont

#

say u have a class which constructs a bunch of async classes that are on workers

#

that class would then also need to be async

#

but not all devs/codebases might support that

#

but yeah, the more i think about this, the less i like this idea tbf

#

the "sync" constructors part that is

sage hamlet
supple whale
#

timeouts are banned in my codebase

#

only abortsignal.timeout is allowed

#

and well requestIdleCallback

supple whale
#

the guy gave me a raised eyebrow, because he hadnt seen the pattern before

fierce pendant
#

cool

supple whale
#

didnt get the job, probs was a mistake to use them

fierce pendant
#

you have a job?

supple whale
#

XD

#

no XD

fierce pendant
#

haha

#

lol

supple whale
fierce pendant
#

whatz

supple whale
#

the company was a very much "old NodeJS" type of company

fierce pendant
#

oh

#

yeah

supple whale
#

aka only use require(), only use JS etc

#

and i told them that i used to be like that too, becuase TS was dogshit, but its gotten better over the years

#

and i default to it now

fierce pendant
#

dont work there, if they dont use nextJSv67 dont work there

supple whale
#

nah it was strictly a nodejs company

#

thye are the people who wrote like 70% of the old nodejs packages

fierce pendant
#

nextjs as in incel vercel js framework

supple whale
#

shit like browserify wouldnt exist without them

#

browserify aka the thing that then lead to webpack, then snowpack, and all the other bundlers

#

they made all the nodejs for web packages like buffer, process, etc etc etc

#

well "that group of people"

#

rly wanted that job maaaan

fierce pendant
#

what company (wanna harass on linkedin)

supple whale
#

the interview was meant to happen on their p2p discord clone

#

which didnt support windows 10 which is what im running

#

so that was a fun talk...

fierce pendant
#

oh the pear people.....

#

ai slop

supple whale
#

yeah they are critically understaffed and underfunded

#

but the software they write is cool

fierce pendant
#

i dont like how intertwined p2p is with cryptocurrency, i just dont like it

supple whale
#

not very related at all

#

its closer to a torrent client

#

than crypto

fierce pendant
#

yes i know

#

but i was on their p2p discord clone ones, and it was mostly cryptocurrency talk

#

from what it felt like

supple whale
#

i think its whatever pays the bills for them tbf

#

its like that with startups

#

their marketting team simply sucks

supple whale
#
const hex: string[] = []
const alphabet = '0123456789abcdef'

for (let i = 0; i < 256; i++) {
  hex[i] = alphabet[i >> 4 & 0xf]! + alphabet[i & 0xf]!
}
let step = 0
let buffer = ''

function randomId () {
  let i = 0
  if (!buffer || ((step + 16) > 256 * 2)) {
    for (buffer = '', step = 0; i < 256; ++i) {
      buffer += hex[Math.random() * 256 | 0]
    }
  }

  return buffer.substring(step, ++step + 16)
}
#

unsafe random ID, but so fast

drifting juniper
#

How’s everyone doing

#

I got a question for you guys

#

It’s there a code you guys can write to block from seeing anyone what you’re using ??

fleet cedar
#

Easy

#

Wrap your computer in a 20cm thick casing of lead

drifting juniper
#

How’s everyone doing

fleet cedar
#

Sounds promising, I'll admit I haven't kept up with those privacy measures the last few weeks

sage hamlet
supple whale
#

i just need fast unique id

#

not secure unique id

sage hamlet
#

the longer the ID the smaller the chance of a collision 😇

fleet cedar
supple whale
fleet cedar
#

Snowflake, then

supple whale
supple whale
#

what i did is simply perfect

fleet cedar
#

More expensive than fifty random()?

#

Doubt it

supple whale
royal nymph
#

you're welcome

supple whale
#

which is why i wrore what i wrote

royal nymph
#

Fast and unique 🚀

supple whale
royal nymph
#
let id = 0n;
const getId = () => "" +++i
#

fixed

supple whale
#

bigint is too expensive

#

its not close to costless like int

fierce pendant
#

i like ulids

#

you should use ulids

supple whale
#

bigint is actually expensive as fuck

sage hamlet
#

what are you doing where you're worried about rolling over the integer limit AND snowflake/bigint are too expensive AND you're generating IDs too fast for timestamps to be viable

#

don't answer that

#

uhhh

supple whale
#

IPC

#

communication between worker threads simply

supple whale
#

but never profiled how expensive that is tbf

#

i see % and i automatically shiver

sage hamlet
#

it's like 40 cycles

royal nymph
supple whale
#

because ipc for vesktop is called maybe 2 max 3 times per second

royal nymph
#

yeah

supple whale
#

this is designed to be called 10k times per second

royal nymph
#

I'm mainly asking why u need ipc to be called that often xD

supple whale
#

because [multi]threading often requires it

#

ipc isnt only communicate remotely tru a channel

#

but also offload work to another process, cuz this one cant keep up

#

that automatically implies, there's a lot of work!

#

i ran this lib on an auction house once, as a load balancer

#

and id generation was 2nd most expensive thing, right after message serialziation

#

but yeah Math.trunc(Math.random() * Number.MAX_SAFE_INTEGER)

sage hamlet
#

if you really want fast unique-ish numbers you should just fold your entire function down into (Math.random() * 1e9) | 0

supple whale
#

and its 93% slower than my current ID system

sage hamlet
#

youve kind of built a cathedral to avoid buying a doorstop i feel

#

snowflake/bigint are basically free compared to your current function

supple whale
#

no, i built a perfectly acceptable solution to a real problem

sage hamlet
#
function id() {
  let out = ''
  for (let i = 0; i < 16; i++) {
    out += (Math.random() * 16 | 0).toString(16)
  }
  return out
}

/shrug

supple whale
#

thats like 95% slower

#

i could profile actually

#

gotta fix these typedefs dfirst

sage hamlet
#

runs 10k times in 2.8ms

supple whale
#

you dont understand what im saying

#

this random id is called TWICE, EACH time you call a function

sage hamlet
#

yeah after benchmark yours is about 230ns faster per operation so you are technically right though im less sure about the tradeoffs

sage hamlet
fierce pendant
#

use ulids

sage hamlet
#

how often are you calling the aforementioned "a function" that you're willing to make the tradeoff of keeping state and periodic spikes when refilling that buffer instead of accepting 300ns instead of 60ns

supple whale
#

uses crypto, also >90% slower

supple whale
fierce pendant
supple whale
fierce pendant
#

bruh

supple whale
#

i just explained why i did lmfao

sage hamlet
#

you could be calling it 1 million times/sec and still not hitting any issue and you're willing to make the tradeoff of code that has to maintain state, periodically spike latency and is harder to read at first glance

#

you're not technically wrong but it definitely feels like premature optimization

#

you optimized 200ns off of something that even a 15 year old smartphone would be able to keep up with

supple whale
#

premature optimization that came from a profiling investigation

#

where this was almost 30% of the CPU time

#

nice conversation

#

i optimised it, because it's a hot path, that showed up when i was profiling my code

#

simply

#

you're new, so you simply dont know who you're talking to XD

sage hamlet
#

im not writing whatever you are but i struggle to believe theres really no better way to do this ¯_(ツ)_/¯

#

idk

supple whale
#

i'm the senior "do unhinged shit with JS" autist of this server

#

well you need an ID system

sage hamlet
#

i still need to get back to... my own personal debugging hell before i got sidetracked

supple whale
#

for an IPC message channel

sage hamlet
#

networking is fucked up in my os in a very subtle way and i still havent figured out how to reproduce itTeehee

#

but occasionally tcpd will simply cease to work

deep mulch
sage hamlet
#

if you build your own OS and you put networking in the kernel i'm coming to your house

supple whale
#

that sounds aids

#

the closest i had was me havign to implement http[s] on iOS

#

because apple is gay

#

and are fucking twats

#

and fuck apple

sage hamlet
#

windows, linux, macOS, all of them have a major portion of the network stack in the kernel

#

you have to have some in the kernel obviously but for my OS the kernel involvement stops at layer 2

#

layer 3 and above is userspace's responsibility

#

for something like linux the kernel handles up to like layer 4 and sometimes into 5 but my OS effectively just forwards ethernet frames to user programs

tired vigil
#

@supple whale
gen question
since you care so much abt performance, why do you keep using javascript 😭

supple whale
#

simply put, 90% of the expensive shit in JS is offloaded to native APIs

#

which are... native, so arleady fast

royal nymph
#

JS performance can be incredible if u dont write shitcode (and avoid poor performing apis)

supple whale
#

JS is just glue to stitch said fast native APIs together

#

which in itself isnt that expensive

#

want fast decompression? dont fucking write js for it, use the native api, want networking? use the fucking native api. want FS? use the fucking native api. want fetch? use the native api. want hashing? use the fucking native api

#

its trully that simple

#

bluetooth? HID? usb?

#

you guessed it. native api.

#

my library for rendering subtitles, IN BROWSER, is now faster than the same lib running in a C player aka mpv

#

which is known to be the fastest.

tired vigil
#

insane

supple whale
#

saying "js is slow" is synomymous with saying "I dont know how to write JS"

#

and the best part of all this, is i dont need to fucking wait 10 days for compile times, i dont need to fuck with cmake, SIMD, cross platform compat etc

#

i dont give a fuck, i write JS, i can test and preview it instantly with HMR, 0 wait time

#

and its just as fast, no cancer native code shittery, pitfals etc

deep mulch
#

insane

sage hamlet
#

nah this is real

#

most of V8 is insanely optimized and/or hitting native APIs

sage hamlet
#

youll always have overhead because its interpreted and whatnot and obviously cant match C in some workloads but theres a large amount of situations where the tradeoffs are worth it and its just Better

fierce pendant
supple whale
sage hamlet
supple whale
#

but if you pre-compile ur v8 code to bytecode, u can tell v8 to be agressive

#

and it will perform a LOT better

royal nymph
supple whale
#

but thats saying "yeah if we ignore the fast parts of JS its slow"

sage hamlet
#

if you want to go that way yeah but not exactly slow where it counts

supple whale
#

like no... thats not JS at that point

royal nymph
fierce pendant
supple whale
#

but yeah there are cases where there are no native impls for JS, and then ur kinda cucked

#

but NAPI exists

#

and is our savior for performance

supple whale
supple whale
#

and now its suffering from "maintain backwards compat"

sage hamlet
royal nymph
#

huh really? I thought u8a was first since Buffer even extends u8a

#

i guess that makes sense though

supple whale
fierce pendant
supple whale
#

just dont use the buffer methods simply

sage hamlet
supple whale
#

same for nodejs stream, it's also super old, and supers low

sage hamlet
#

spare my wretched life

supple whale
#

async iterators so much faster

sage hamlet
#

put that away there are children here

deep mulch
jade stone
deep mulch
#

Sloppy Satan @jade stone

fierce pendant
pseudo sierra
#

salad

royal nymph
supple whale
royal nymph
#

I used a bit of napi before

supple whale
#

its pretty much exposing native code as JS code

jade stone
#

napi isn't that bad

supple whale
#

for perf its GREAT

#

not... so much for sanity

deep mulch
#

I like rust

supple whale
sage hamlet
supple whale
#

it saved me in perf so many times

#

but.... writing NAPI makes me want to KMS

jade stone
supple whale
#

because writing native code is always fucking ass

royal nymph
supple whale
#

but fucking

fierce pendant
supple whale
#

deno implements NAPI 1:1 with their rusty bindings

#

we love deno!

jade stone
#

you also get typescript d.ts generation

sage hamlet
royal nymph
fierce pendant
#

why are yall mad i use bun

shrewd canopy
supple whale
#

which is legacy

#

XD

royal nymph
#

it has better emoji rendering ootb and it's so much easier to get working

sage hamlet
supple whale
#

yeah i remember getting node-canvas to run on a vps was ass

sage hamlet
#

i'm willing to make the little sacrifice in performance for that

sage hamlet
#

yup

supple whale
fierce pendant
#

i <3 bun

supple whale
#

i had issues with that too on node canvas

supple whale
royal nymph
jade stone
#

still hate it

royal nymph
#

it's just that node-canvas needs a lot of dependencies

sage hamlet
#

i have reservations about bun mostly because its built with zig

royal nymph
#

the rust rewrite uses skia so you need no dependencies

jade stone
#

i have reservations about bun mostly because it sucks

royal nymph
deep mulch
#

@jade stone

fierce pendant
#

whats wrong with bun

deep mulch
#

sadan wishes bun was written in nix

royal nymph
#

bun has much more pressing issues than what language it was written in

jade stone
#

yop

supple whale
#

bun is so ass its unfunny

#

and its not even fast

#

;-;

#

we've had this convo b4, and pretty much every1 agrees, bun is slop

fierce pendant
#

i have no issues with bun though

royal nymph
#

like all the aislop, instability, the fact that using any of its "good features" results in a vendor lock-in, and also the fact that there really isn't much of a use case for bun

fierce pendant
#

but it works for meeeeeeee

sage hamlet
supple whale
#

"we made this native module which causes lock-in, and its x2 faster than the legacy nodejs module on npm, that with a minor update would be faster than our native code!"

#

and CONICIDENTALLY they never profile vs NAPI modules

#

because they'd loose hard XD

fierce pendant
#

but it works for me!!!!!!!!

#

oh

#

wait

#

maybe i should switch to deno

#

maybe i am the problem

#

hmm

jade stone
#

character growth

supple whale
deep mulch
#

deno is alright I think, I haven't used it enough to develop a full opinion though

supple whale
#

and your project will run even on a fucking go based JS runtime

jade stone
#

tbh i've barely used deno

supple whale
#

so its hard to use

jade stone
#

node works well enough

fierce pendant
sage hamlet
#

deno kinda markets itself as a drop-in repalcement for node and then theres a bunch of edge cases where it's not a drop-in replacement at all

#

last i used it at least

jade stone
#

nodejs just works™

sage hamlet
#

other than that i like it i nmost cases

shrewd canopy
sage hamlet
#

this is true to some extent

deep mulch
#

true

supple whale
#

now not so much

fierce pendant
supple whale
#

meanwhile bun has this exact problem

#

till today.

sage hamlet
#

if you need to do a ton of giant math though yeah dont use js

jade stone
#

doesnt python have a bunch of libs written in c for math

sage hamlet
#

use c++ or something

#

that too

deep mulch
#

technically js was meant for the web but it's gone far beyond the original idea

sage hamlet
#

python adds overhead though

jade stone
#

yeah but you don't have to touch cmake

sage hamlet
#

im writing an entire os in c++ without cmake blobcatcozy

jade stone
fierce pendant
#

its that shrimple

sage hamlet
#

probably just make tbh

#

just use mingw or wsl like a normal person

jade stone
shrewd canopy
# fierce pendant you dont

You can build OS on Windows (e.g UEFI applications must use ms abi)
In fact Windows itself is built on itself

sage hamlet
jade stone
#

ehhhh

#

it's kinda wonky

#

and slow

fierce pendant
sage hamlet
jade stone
#

cygwin (which mingw is based on) doesn't have arm binaries yet

supple whale
#

tho i dislike the new bloat

#

with them embedding sqlite and the like

#

nodejs binary is +10MB as of 2 years ago

#

it sucks.

sage hamlet
#

my makefile works fine you just have to change a few executable paths. no cmake in the entire repo

jade stone
#

can you build without sqlite

supple whale
sage hamlet
#

you probably can but i imagine its a build flag

supple whale
#

of the scope creep

sage hamlet
#

aka on by default in most distributions

supple whale
#

yep

#

i mean i compile nodejs myself, so its not a problem

#

but just, in general as an example the scope creep is bad

#

tho the FFI implementation is welcome.

deep mulch
sage hamlet
#

i'm glad that this is a thing

#

this is really good

fierce pendant
deep mulch
sage hamlet
#

node is larger than my initramfs

#

just to cover my bases

jade stone
#

@sage hamlet make an os in react

sage hamlet
#

node is larger than my vmlinuz+initramfs combined

deep mulch
#

satan would make an os in react

sage hamlet
jade stone
supple whale
sage hamlet
#

wheres the rest

supple whale
#

but then again, 0 docs, 0 libs, 0 examples etc

deep mulch
#

I mean there's documentation but it's literally hundreds of pages long specifications

sage hamlet
#

@deep mulch your os needs to do windows 2000's active desktop but better

fierce pendant
sage hamlet
#

where the desktop wallpaper is a webpage

deep mulch
#

I will recreate windows 2000

sage hamlet
#

in that case you need to recreate DOS first

supple whale
#

^^

jade stone
jade stone
sage hamlet
#

in assembly ?

jade stone
#

oh

supple whale
sage hamlet
#

writing a 300 line wrapper for fs.glob

jade stone
sage hamlet
#

@supple whale why doesnt your glob library work on armhf blobcatcozy

#

plz fix

supple whale
#

wdym it does

#

im running it on android

#

:)))

sage hamlet
#

the assembly one for node does not work on my 15 year old chromebook plz 2 fix

#

i dont think any android device in the last like 8 years has been true armhf has it

sage hamlet
#

even the $50 drug dealer phones are just normal v7

deep mulch
#

I think even my Amazon Kindle is like armv7 and that thing was $30

sage hamlet
#

yuh

#

my pixel 6a is armv8

#

i think the pixel 8 and newer are armv9

jade stone
#

vai what generation is the kindle EY21

sage hamlet
#

ghosted

jade stone
#

@royal nymph pls fix

elder yarrowBOT
# jade stone vai what generation is the kindle `EY21`

The Kindle EY21 is the 5th Generation Kindle Paperwhite, released in October 2012. It is also sometimes referred to as the Kindle Paperwhite 1.The Kindle EY21 is the 5th Generation Kindle Paperwhite, released in October 2012.

-# Response generated by gemini-2.5-flash. AI may be incorrect or misleading.

deep mulch
#

@elder yarrow

jade stone
#

oh

#

it's newer than i thought

deep mulch
#

how

#

my OnePlus 13 is v8

sage hamlet
deep mulch
#

System Info:

Brand: OnePlus
Product: CPH2655
Board: sun
Architecture: aarch64
Bootloader: unknown
Rooted: false
OS Version: REL 16 (SDK v36)
Memory Usage: 9.47/15.87GB (6.40GB / 40.34% free)
Uptime: 117:11:40

sage hamlet
#

the pixel 6 and newer are also custom silicon by google so that might be it

royal nymph
#

my oneplus is armv10 @deep mulch

deep mulch
#

aarch64

deep mulch
sage hamlet
#

aarch64 just means it's 64-bit ARM

opal vessel
sage hamlet
#

guess

jade stone
deep mulch
#

I've never heard of v9

opal vessel
#

how do i know if i have it

sage hamlet
#

armv9a was introduced in 2021

#

first armv9 cpus were the cortex a510, a710 and x2

#

its been around for like 5 years

opal vessel
#

bro what

sage hamlet
#

the reason the pixels have it is probably because it's custom google silicon instead of buying an SOC from like qualcomm

opal vessel
#

whats the difference though

sage hamlet
#

i really couldnt tell you. bigger number better

#

I'm making no claim on if it's better or worse because I don't have a pixel 8 or newer

opal vessel
sage hamlet
#

i genuinely did not know that the existence of armv9 was so unknown

#

armv8 is from like 2011 i thought this would be expected

sage hamlet
#

clearly google has been using it for like 3 years

deep mulch
#

my 2025 flagship phone doesn't have I think

opal vessel
#

and yet they never talked about it

sage hamlet
#

most people wouldn't know or care what "it's armv9 now" means tbf

opal vessel
#

i have snapdragon 8 elite and its armv8

#

8 gen 5 elite is v9

sage hamlet
#

yeah my tensor g1 is armv8

#

phone still works perfectly fine so #WhoCares

opal vessel
#

if it means it can play fortnite faster i do

sage hamlet
#

i dont even know if it means that

#

i dont have any opinion of armv9

shrewd canopy
#

I think my MT6765 is still on ARMv8 lol

deep mulch
sage hamlet
#

yeah even a lot of modern cheap phones/chipsets by now are armv8

#

so like

fierce pendant
sage hamlet
#

Please implement in binary 🙏

#

pen paper punch card Lock In

opal vessel
#

unless v7 vs v8 is more than that

sage hamlet
#

i think v8 also got better floating point/SIMD

fierce pendant
fierce pendant
#

ilha is so peakkkkk

#

ilhaaaa

solemn ravine
#

wrong channel

fierce pendant
solemn ravine
#

My fault

supple vault
#

is anyone else scared of reporting bugs

#

on github

jade stone
#

just make good bug reports

supple vault
#

I try my best

jade stone
#

think of it this way

#

you can't be worse than ai slop

supple vault
#

but like what if i didnt search for duplicates enough
or what if i didnt make a good enough bug report

#

idk i made this yesterday

jade stone
supple vault
#

half the bug reports i make never get addressed

#

like guh??

jade stone
supple vault
#

husk/huskpkgs

#

i guess theres more

cedar tulip
#

why discord wuwa integration but not other gacha games blobcatcozy

jade stone
#

WHY DOES CLION REQUIRE DOTNET

#

MALWARE

cedar tulip
#

also idk if vencord has a merge patches func

#

would be cool

royal nymph
#

:p

#

ig a lot of tooling for it is in dotnet

supple vault
#

@jade stone SATAN should i automate merging package secrurity update and deployment for my sites

jade stone
royal nymph
#

Visual Studio combines both

supple vault
#

ven studio

jade stone
#

guhhhhhh

#

it's compiling the entire dotnet sdk

supple vault
supple vault
#

why

jade stone
#

just make your site an SPA

#

with SSR

#

,help

signal oakBOT
#
Biblical:
  inthebible    How much of your text is in the Bible
ComponentsDemo:
  board         A board to click buttons and draw
  count         Counting bot but you press a button and you can go multiple t...
  guess         Guess random number
  race          Be the first to click the button.
  war           old dropdown component demo
ComponentsV2Demo:
  age_gate_demo Demo of Discord's new Age Gate restriction on messages
  cv2_demo      Example of Components V2 components
  gift          Generate a Nitro Gift (WIP) - https://i.dis.gd/createPromo
ManPage:
  manpage       manpage
  tldr          see https://tldr.sh
Misc:
  usage         Get bot usage statistics
Pincode:
  pincode       
Utility:
  avatar        
  intl          discord intl
  text          text utilities
  userinfo      Get information on a Discord user
xkcd:
  xkcd          Search XKCD comics.
​No Category:
  chmod         visual chmod editor
  color         Get an image of a certain color
  color2        Get an image of two certain colors (comma separated)
  cook          Cook something
  define        
  demangle      
  destroy       Destroy something
  drama         Does nothing
  embed         
  help          Shows this message
  httpcat       
  image         search for an image
  monogen       Generate a Monokai Pro key
  ocr           
  otter         random otter
  password      Test the strength of a password with zxcvbn by Dropbox
  ping          Get bot ping
  randomvnc     Send an image of a random unsecured VNC server
  rate          
  sondehub      Lookup a serial on SondeHub
  translate     Translate text to English
  wikipedia     
  wolfram       Query WolframAlpha

Type ,help command for more info on a command.
You can also type ,help category for more info on a category.
supple vault
jade stone
#

.ss

last birchBOT
# jade stone .ss
.screenshot <url> (-height <number>) (-lightmode) (-safe) (-timeout <seconds>) (-wait <number>) (-width <number>)
jade stone
#

.ss sadan.zip

supple vault
#

.ss aspy.dev

last birchBOT
last birchBOT
jade stone
#

.ss -safe sadan.zip

last birchBOT
jade stone
#

.ss sadan.zip -safe

last birchBOT
supple vault
#

what does safe do

jade stone
#

idk

supple vault
#

.ss -safe aspy.dev

last birchBOT
jade stone
#

i guessed it wouldn't run js

#

but i was wrong

supple vault
#

my site doesnt require js

jade stone
#

neither does mine

supple vault
#

then why did you try

#

39 security issues

#

so good

jade stone
supple vault
#

my site only needs js for a stupid feature on the 404 page

jade stone
#

no js:

supple vault
#
<script is:inline define:vars={{ notFoundStrings }}>
    document.querySelector("h1").innerText =
        notFoundStrings[Math.floor(Math.random() * notFoundStrings.length)];
</script>
jade stone
supple vault
#

.ss aspy.dev/balls

last birchBOT
supple vault
jade stone
#

@supple vault

supple vault
#

make 404 page

jade stone
#

i will vibecode

pearl stagBOT
supple vault
#

half life scientist is just so good

supple vault
frosty obsidian
#

maybe but its not that important ykyk

royal nymph
#

there isnt

jade stone
#

@supple vault give me more ideas for things to show when you click on my name

worldly sigil
frosty obsidian
#

.ss iamw.ing/404

last birchBOT
deep mulch
#

@frosty obsidian finish Gloom

supple vault
#

@royal nymph vibecoded

---
import { Icon } from "astro-icon/components";
import Footer from "../components/footer.astro";
import Navbar from "../components/navbar.astro";
import notFoundStrings from "../constants/404strings.json";
import Layout from "../layouts/Layout.astro";

// 1. We construct a massive, unholy string of CSS keyframes on the server.
const cursedKeyframes = notFoundStrings.map((quote, index) => {
    const percentage = (index / notFoundStrings.length) * 100;
    const safeQuote = quote.replace(/"/g, '\\"'); // Escape quotes for CSS
    return `${percentage.toFixed(2)}% { content: "${safeQuote}"; }`;
}).join('\n    ');

// 2. We prepare to inject this abomination directly into an inline style tag.
const injectedCSS = `
  @keyframes god-weeps {
    ${cursedKeyframes}
    100% { content: "${notFoundStrings[0].replace(/"/g, '\\"')}"; }
  }
`;
---

<Layout>
    <div class="background"></div>
    <Navbar />
    
    <div class="cursed-title-container">
        <h1 class="blasphemy" aria-label="Page not found"></h1>
        <h2>This page doesn't exist on the server!</h2>
    </div>

    <div class="subarea">
        <div class="icons">
            <a href="/" class="no-link-style">
                <Icon
                    name="home"
                    desc="Home"
                    class="icon"
                    style={{ color: "#FFF" }}
                />
                <p>Go back home</p>
            </a>
        </div>
    </div>
    <Footer github="404.astro" />

    <style is:inline set:html={injectedCSS}></style>
</Layout>

<style>
    @import "../styles/index.css";
    
    .cursed-title-container {
        text-align: center; /* Adjust to match your original <Title /> styling */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* The core of the curse.
       We use the ::after pseudo-element to render the text. 
       The 'content' property is hijacked by the animation. 
    */
    .blasphemy::after {
        content: "Loading..."; /* Fallback */
        /* Cycles through all strings over 60 seconds (adjust time as needed).
           'step-end' ensures no weird cross-fading, just aggressive hard cuts.
        */
        animation: god-weeps 60s infinite step-end;
    }
</style>
royal nymph
sage hamlet
#

.ss i3vie.dev

last birchBOT
deep mulch
#

.ss zt64.dev

last birchBOT
solid tide
#

.ss stonecutter.kikugie.dev

last birchBOT
solid tide
civic vector
frosty obsidian
#

.ss iamw.ing

last birchBOT
last birchBOT
fallen nebula
#
  1. fuck macro$lop
  2. fuck numpy
    genuinely why the fuck does numpy force me to compile it my fucking lord just compile it yourself and give me the fucking binaries what the fuck
    i hate this shit i hate this shit i hate this shit
    genuinely we have a fucking package system, it's not for me to have to use the same system as when we vendor deps
    bruh
    -# rant end
fallen nebula
#
Collecting numpy>=1.17 (from transformers[audio,torch])
  Using cached numpy-1.26.4.tar.gz (15.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      + C:\Users\The Dev\Documents\GitHub\Julienraptor01\transcriber\.venv\Scripts\python.exe C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce\vendored-meson\meson\meson.py setup C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce\.mesonpy-12hsss44 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce\.mesonpy-12hsss44\meson-python-native-file.ini
      Le fichier sp‚cifi‚ est introuvable.
      The Meson build system
      Version: 1.2.99
      Source dir: C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce
      Build dir: C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce\.mesonpy-12hsss44
      Build type: native build
      Project name: NumPy
      Project version: 1.26.4
      Activating VS 18.5.1

      ..\meson.build:1:0: ERROR: Compiler cl cannot compile programs.

      A full log can be found at C:\Users\The Dev\AppData\Local\Temp\pip-install-jyx9x5vm\numpy_8dcc71089c51484bb7de31dc075d60ce\.mesonpy-12hsss44\meson-logs\meson-log.txt
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

what elaborate fucking joke is that
what the fuck do you mean compiler cannot compile programs

queen jasper
#

what's the cutest wm for linux guys, i've been tinkering a bit but couldn't get the cuteness right

fleet cedar
#

@crystal cedar ??

shrewd canopy
shrewd canopy
#

You do not need a cute wm

queen jasper
lavish cloud
queen jasper
shrewd canopy
queen jasper
lavish cloud
shrewd canopy
queen jasper
#

i'll consider it maybe on an old something

#

atm let me go through the ricing phase of linux

queen jasper
lavish cloud
queen jasper
lavish cloud
#

I'm sure there's like, kwin rules for that or something

queen jasper
#

i just want to leave gap on maximized window but the only one i found with this is just another tiling manager ts

#

maybe i can try to edit the script if it's not on an alien language i can't read

supple whale
#

@jade stone help, in apple land, every 1 minute, 10 minutes pass

#

ran out of build minutes :(((

lavish cloud
#

Since iirc maximizing windows doesn't cover panels if they're set to always visible

fierce pendant
#

getting your anthropic account deactivated is a canon event

queen jasper
#

i'll see tmr, it past my bedtime

fallen nebula
#

i don't get why i'd use yet another package manager

twin matrix
#

once you use uv, you will see why people are using it, trust me

twin matrix
fierce pendant
#

i just read the amd claude code report and their claude usgae increased from $26 to $45000

#

anthropic.

#

how do you fuck up your models this hard.

cedar tulip
#

i think my DLL broke something or the 404 on every stream is normal

fierce pendant
fierce pendant
#

it will be so peak

jade stone
#

they need tsserver support, eslint support, etc...

fierce pendant
lyric latch
#

will look into this...

tired vigil
#

this is so good actually wtf

cedar tulip
#

why do badges now need IDs 😭

delicate groveBOT
#

@dawn ledge, <t:1745362072:R>: eagley prediction

shrewd canopy
#

they check if the badge id starts with guild_booster_lvl now but idk whats the point

jade stone
#

zed vs kate on folding in large files

deep mulch
#

@jade stone

twin matrix
unkempt ember
#

I have fun writing some COBOL. ( The typing system is just funny as hell, who is the genius behind this ? )

queen jasper
#

i had to use panel colorizer thing to make it completely transparent tho, unsure if it impact anything

jade stone
#

@supple whale have you seen the new vscode integrated browser updates

#

sooooo good

lavish cloud
queen jasper
lavish cloud
#

Huh

#

Oh well, it works now

#

Also send theme it looks nice

upbeat turtle
#

kde plasma

queen jasper
#

also linux been only making me configure it all days many days without actually doing something on my pc

still jolt
#

yeah that's kinda the side effects of installing Linux

supple whale
#

i have 3 displays, i already have too much shit at once in vscode when i use it

#

ex: i'll be diffing shit like this

#

and u want me to fit a browser here? pass

#

simply:

#

its also not a browser

#

so debugging in it is often useless

solid gazelle
#

zoot: I love swift

#

@deep mulch

fierce pendant
supple whale
#

it works and doesn't take 10 days to set up

#

and well I play comp games with anti cheats

fierce pendant
supple whale
supple whale
#

it takes me 2 minutes to set up windows 7, doesn't matter that it's non functional right?

supple whale
fierce pendant
#

what

deep mulch
#

insane

winged mantle
#

microslop slopdows

hot rampart
#

what am i supposed to say

#

something like

#

there are people who are mean to non-linux users

winged mantle
winged mantle
#

some distros are better than others when it comes to just working
I get why people still use windows but windows 11 does feel like slop (#bring back windows 7)

hot rampart
#

not having win11 updated

#

and the fact that i act sorta aggro at other opinions is because i havent been using an os more than win11

#

thats dad's explanation and i understand it

fierce pendant
queen jasper
#

wrote a custom snapping kwin script with gaps between windows ;0
i'm still so not used to kate tho

lyric latch
#

omg why is there jiggle physics

pseudo sierra
#

why not

hot rampart
cedar tulip
fierce pendant
hot rampart
#

y

fierce pendant
#

what

hot rampart
fierce pendant
#

yeah i dont have a battery

#

i have a psu

#

this is not a laptop

jade stone
#

You have your Dev tools

#

It also connects over CDP to the editor

supple whale
#

ill c

#

i rarely need debugging in editor

#

from a browser

#

i dont write react code, so i dont need to try to figure out confusing ass states 😛

#

and the few times i do its in sandboxed browsers like electron apps

#

or electron utility processes

jade stone
#

And when you click on source locations in the console, it takes you to the actual source file in your editor

supple whale
#

its just pre-configured for u in vscode

#

but chrome has that too

#

tho the console source locations sound nice

jade stone
supple whale
#

not really

#
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch Chromium",
      "port": 8412,
      "request": "launch",
      "type": "chrome",
      "url": "http://localhost:7344/",
      "webRoot": "${workspaceFolder}/src",
      "timeout": 60000,
      "presentation": {
        "hidden": true
      }
    },
    {
      "name": "Debug Renderer Process",
      "port": 9222,
      "request": "attach",
      "type": "chrome",
      "webRoot": "${workspaceFolder}/src",
      "timeout": 60000,
      "presentation": {
        "hidden": false
      }
    }
  ],
  "compounds": [
    {
      "name": "Attach",
      "configurations": [
        "Launch Chromium"
      ],
      "presentation": {
        "order": 1
      }
    }
  ]
}
#
export default defineConfig({
  plugins: [
    devtoolsJson()
  ]
})
#

and you're set

deep mulch
#

@jade stone

#

smooth Satan

fierce pendant
#

can anybody help me with something in rust

fierce pendant
#

shut the fuck up <3

fierce pendant
deep mulch
#

@jade stone Satan

pseudo sierra
#

salad

cedar tulip
#

also go is W

pseudo sierra
#

I need to update that but go is fucking ass lmao

cedar tulip
#

i mean

#

at networking

#

everything else

#

meh

pseudo sierra
#

it's so ass to write and read that even if it's good at that I'd rather do it in rust or zig

#

hell I'd rather write haskell than go

hot rampart
deep mulch
#

@pseudo sierra

pseudo sierra
#

@deep mulch

winged mantle
#

Go ❤️

#

doing C rn though

pseudo sierra
#

go actually gave me aids when I was reading code for forgejo and tangled for some bs I was doing a while ago

#

C is nice tho

supple whale
jade stone
winged mantle
#

i like c too though

supple whale
winged mantle
#

C certainly has some interesting things like you can do this blobcatcozy

(********exit)(1);
winged mantle
#

the same as exit(1);

#

i was showing my friend a load of C++ quirks i could remember off the top of my head lmao

hot rampart
winged mantle
#

I did not remember the coolest one, that being switch with no braces

switch (1)
case 1:
    printf("hello\n");
#

did remember this epic one though

// foo takes a reference to int named i.
void foo(int bitand i);
jade stone
#

Or just not compiling for that matter

solid gazelle
#

rate...

supple whale
#

FUCK VITE FUCK VITE FUCK VITE FUCK VITE FUCK VITE FUCK VITE FUCK VITE FUCK VITE

#

@jade stone HEPL

#

WHAT THE FUCK DO I DO

#

WHERE THE FUCK IS IT GETTIGN THIS FROM!?!?!?!?!?!?