#πŸͺ…-progaming

1 messages Β· Page 112 of 1

royal nymph
jade stone
#

insane

royal nymph
#

this is what got outputted

#

maybe im just missing some config and it's a skill issue but I've always had pain from trying to create npm packages with typescript

crude star
#

"moduleResolution": "bundler"

#

you should always be using

royal nymph
#

so i get why people are moving back to js and using jsdoc. for typing instead

tired vigil
#

You can't in browsers iirc
At least that's the only thing I learned from this talk, cuz I didnt understand most of it
https://youtu.be/WJXoSsLTD70?t=671

To measure the performance of distributed applications, it’s useful to see where an operation comes from, chain them together, and build a distributed trace. OpenTelemetry calls these β€˜span IDs’. But how do you keep track of the current span in JavaScript? Node.js’s AsyncLocalStorage is one option that can work, but it is missing in some...

β–Ά Play video
royal nymph
#

why is this not the default

crude star
#

no idea

royal nymph
#

probably backwards compact

crude star
#

tbh i always have to dig up some old tsconfig from a previous project

#

when i make a new one

royal nymph
#

YEAH

#

bootstrapping a ts project is so annoying

#

the defaults are so ass

#

imagine if ts was good and had sane defaults so 99% of projects wouldn't need a tsconfig at all

#

didn

jade stone
#

didn't the change the tsc --init defaults recently

crude star
#

there's a tsc --init command..?

royal nymph
#

yeah but it's the most basic thing ever

#

tbh i just hate that ts is so boilerplate / setup heavy

#

with js you can just make a single file and run it directly

#

with ts you gotta make an entire project, configure building, etc

crude star
#
#

it kinda sucks tho

#

there's a couple weird slowdowns

jade stone
#

pipe through esbuild love

royal nymph
deep mulch
#

HAHAHATUAHMISU

pearl stagBOT
deep mulch
#

I yell eureka when my code works

royal nymph
crude star
#

tsx was slowing down vap's parser by 10x because of some dumb esbuild default

deep mulch
#

@crude star huiii

woven mesa
#

gm oomfies

deep mulch
#

sigh

deep mulch
tired vigil
#

Also I just realized, wouldn't this always return the whole object?
await x == x, when x is not a promise

royal nymph
#

no

tired vigil
#

How

supple whale
#

huh wdym

crude star
#
> await new Proxy({}, { get(o,k) { console.log(k) } })
then
royal nymph
# tired vigil How

ve ```js
const fakePromise = { then: cb => cb("hi") };

return await fakePromise;

royal nymph
#

the promise class is optional

tired vigil
#

Huhh interesting

royal nymph
#

you just need a then method

royal nymph
crude star
#

vap did this

supple whale
#

what gets outputted is pretty much correct

#

TS for the most part works on CJS

#

i remember there was some Object define things that could get it done

#

but i hate it and its hacky

royal nymph
#

whenever I need something like that I just return a plain function

crude star
#

its kinda like an oncecell

#

but body is async

supple whale
#

but u rly should just do:

"exports": {
  ".": {
    "import": "./dist/index.mjs",
    "require": "./dist/index.cjs"
  }
},
crude star
#

right now its for fs.readFile

royal nymph
#

don't read

crude star
#

how

supple whale
#

you could do

Object.defineProperty(module.exports, '__esModule', { value: true });
#

and anything that uses babel/ts will treat it as ESM

#

but yeah, its not a good idea

royal nymph
#

completely missed the point award

#

I do that already

#

the point is that typescript esm to cjs compiles export default to a cjs export named default instead of setting module.exports

#

so if you require() it you get { default: theFuckingExports }

supple whale
#
function factory (exports) {
  function greet() {
    return 'Hello world'
  }

  exports.default = greet
  
  if (typeof module === 'object' && module.exports) {
    module.exports = Object.assign(greet, exports)
  }
}
if (typeof module === 'object' && typeof module.exports === 'object') {
  factory(module.exports)
  Object.defineProperty(module.exports, '__esModule', { value: true })
} else if (typeof define === 'function' && define.amd) {
  define(['exports'], factory)
} else {
  factory(self.myLibrary = {})
}
#

idk this could work maybe?

supple whale
#

ur output target it CJS probably

#

so like

#

what do you expect to happen?

#

set ur output target to ESM and dont worry about it simply?

royal nymph
#

what

supple whale
#

you're importing ESM from CJS

#

the fact that it even allows that is a miracle tbf

#

either use only CJS, or output ESM

#

that or "moduleResolution": "bundler"

crude star
#

i wish deno was real

winged mantle
#

why is c const so weak

#

it doesn't seem to apply to struct arrays?

supple whale
crude star
winged mantle
crude star
#

theres a difference between const *T and *const T

winged mantle
#

yeah i am aware of the difference

crude star
# winged mantle

hmm i guess it probably doesnt care about the fields if they're not also const

#

const is just a suggestion anyways trolley

winged mantle
#

strikes me as odd

#

because by putting the const on the very start it is definitely saying the data is const, not the pointer

#

and so if it had a field int i and you tried to increment it that wouldn't work

spark tiger
#

@valid jetty heyyy what theme do u use in zed

winged mantle
#

but ++array_of_ints[0] is fine?

supple whale
winged mantle
#

that feels so illogical for an array that's part of the same memory as the struct

limpid mica
spark tiger
supple whale
#

OLED black :))))

winged mantle
#

/run

#include <stdio.h>

struct s {
    int ints[10];
};

void modify_s(const struct s *s) {
    ++s->ints[0];
}

void main() {
    struct s s = {0};
    modify_s(&s);
    printf("%d\n", s.ints[0]);
}
rugged berryBOT
#

@winged mantle I received c(10.2.0) compile errors

file0.code.c: In function 'modify_s':
file0.code.c:8:5: error: increment of read-only location 's->ints[0]'
    8 |     ++s->ints[0];
      |     ^~
chmod: cannot access 'a.out': No such file or directory
file0.code.c: In function 'modify_s':
file0.code.c:8:5: error: increment of read-only location 's->ints[0]'
    8 |     ++s->ints[0];
      |     ^~
chmod: cannot access 'a.out': No such file or directory
spark tiger
#

i think its cattpuccin blur but something is wrong with it for me

winged mantle
#

i guess it's just vscode not reporting the error

supple whale
#

my highly cursed custom theme

winged mantle
#

is it fair to call c a dynamically typed language

valid jetty
spark tiger
#

too dark

winged mantle
#

catputin

supple whale
#

OLED burn-in is real

#

so it needs to be #000

spark tiger
crude star
#

its not real

#

your screen just sucks

supple whale
#

sir i paid over a thousand bucks for this display

spark tiger
#

my screen isnt even oled anyways

supple whale
#

tbf its a gen2 but still

winged mantle
#

i recently stopped putting const on variables with automatic storage for c/++

#

because it feels pointless

supple whale
#

that said having to spend a grand every 4 years kinda sucks

#

XD

crude star
#

ok

valid jetty
winged mantle
#

only if it's a pointer does it really matter

spark tiger
valid jetty
#

if youre on linux with a good compositor or macos itll work

winged mantle
#

but recently i remembered getting a warning sometimes - it said it wouldn't move the return value if it's const

#

so i guess that's a reason to avoid it (other than just verbosity)

#

hmm though is this as in return value optimisation or as in std::move

crude star
#

yea

#

void*

winged mantle
#

i mean it basically is

#

with #define you do have true duck typing

limpid mica
#

_Generic

winged mantle
#

yeah and _Generic is instanceof

valid jetty
#

how are you planning to make print(x) on a void *

winged mantle
#

don't

valid jetty
#

actually

winged mantle
#

make it a macro

#

and use _Generic

valid jetty
#

you can extend your idea of how to it

winged mantle
#

i mean isn't this just c+

valid jetty
#

no

winged mantle
#

that language which everyone seems to think exists

crude star
spark tiger
#

yay its so pretty now. wait why is it so different on the screenshot :/

winged mantle
#

oh it's a library??

valid jetty
#

you should close windows behind zed

#

so it blurs the bg of your desktop theme

spark tiger
#

no when i screenshot the window it removes the blur i think

#

i mean the transparent effect

valid jetty
valid jetty
spark tiger
#

oh thats when i do ⌘+shift+4+space

#

aka screenshot a window

valid jetty
#

i just cmd+shift+3

spark tiger
#

i like ⌘+shift+4+space cuz it does that pretty shadow

winged mantle
#

what's the point of macos when latte dock exists

spark tiger
#

anyways ty for the theme i like it sm

#

just tweaked it a bit by removing the italics

winged mantle
#

or gnome

#

why apple creating their knockoff gnome

valid jetty
spark tiger
#

@grok when was gnome created and when was macos created

spark tiger
winged mantle
#

is it weird that io in c feels more convinient than in many other languages

spark tiger
#

pressing βŒ₯+space opens chatgpt why isob

valid jetty
#

ok i havent updated them in a while so they dont look that good anymore

the fact that my wallpaper isnt brown also fucks with that

supple whale
#

sorry had to XD

winged mantle
#

how much can you tell about a person from their system tray

spark tiger
#

my safari is trippin why did it load x.com when i reloaded your github repo isob

spark tiger
valid jetty
spark tiger
#

why do i keep sobbing isob

spark tiger
winged mantle
#

or does it

spark tiger
#

i dont even have grok installed

#

ion use ts

winged mantle
supple whale
#

BASED

spark tiger
#

i even have it starred lol

winged mantle
#

vscode is being weird

#

doesn't error with return; on a bool function

#

i know you can omit return entirely but i don't think it's legal to return the wrong thing explicitly

valid jetty
#

if you dont return anything itll return undefined which coerces to false

winged mantle
#

this is c

valid jetty
#

an empty return is secretly a return 0 then

supple whale
#

mine allows it

winged mantle
#

THIS IS C 😭

supple whale
#

since it infers return as boolean | undefined

#

OH LOL

#

WTF

crude star
#

her vscode diagnostics are broken

winged mantle
#

I DON'T HAVE A F*CKING TSCONFIG I HAVE A MAKEFILE πŸ˜‚ πŸ˜‚

crude star
#

hop on ccls

winged mantle
supple whale
#

cpu underclocks itself when low load

#

so realisticalyl im at like 5%-ish

winged mantle
#

there should be a plugin called linus torvalds which randomly inserts personal attacks but also censors all swear words

supple whale
#

that can be arranged

#

actually this isnt even difficult to do, his mailing list is public

#

aggregating it and making a model from it will take like 2h XD

shrewd canopy
spark tiger
#

need more apps on dock

supple whale
#

that said im still running an electron instance, my anime player app

valid jetty
supple whale
# valid jetty ok i havent updated them in a while so they dont look that good anymore the fac...

@winged mantle

Holy f***ing s***, what kind of digital disaster am I looking at here? This isn't a compiler project, it's a goddamn archaeological expedition through the worst design decisions known to humankind!
You've got more d*** modules than a modular synthesizer convention! What the h*** is this file structure - did you organize this by throwing darts at a board while blindfolded? compiler.le, statement.le, function.le - congratulations, you've reinvented the wheel and somehow made it f***ing square!
And what's with these compilation times? 1.3 seconds for tokenization? My deceased hamster could tokenize faster by chewing through punch cards! You're importing modules like you're collecting Pokemon cards - gotta catch 'em all, even the useless ones apparently.
Look at this b******* - you've got so many temporary variables and binops that it looks like someone exploded a computer science textbook all over your screen. And don't get me started on whatever the h*** QbeInstr::BinOp is supposed to accomplish other than making my eyes bleed.
The only thing more bloated than your dependency tree is the amount of screen real estate you're wasting on this trainwreck. Close some of these d*** panels and focus on writing code that doesn't look like it was generated by a malfunctioning AI having an existential crisis!
valid jetty
#

please

supple whale
#

X

#

D

#

WORKS

spark tiger
supple whale
#

unironically peak idea

winged mantle
#

And don't get me started on whatever the h*** QbeInstr::BinOp is supposed to accomplish other than making my eyes bleed.

spark tiger
#

wtf???

winged mantle
#

is this chatgpt

supple whale
#

@royal nymph we need tihs as a bot for this channel

supple whale
#

more code

valid jetty
#

its insulting absolutely nothing

supple whale
#

yep!

#

GPT usually has less random repositories that its trained on

winged mantle
#

you've reinvented the wheel and somehow made it f***ing square!
come on

#

this is gold

supple whale
#

its decent for AI slop tbf

#

we need a .v insult cmd for this channel specifically

#

for when people post ??? shit

winged mantle
supple whale
#

ah fair

#

i usually tend to split models into what they are actually good for

#

deepseek/claude - small coding shit
gpt - microsoft word bot
gemini - big code, massive documents

winged mantle
#

unrelated but if somebody told me that msvc support compiling code from microsoft word documents i'd believe them

supple whale
#

for the longest time ms word files were just a raw memory dump

#

so i mean, i can entirely belive it

deep mulch
#

@valid jetty

#

hii

jade stone
#

@deep mulch i'm going to try to remake discord's switch animation without looking at how they do it

deep mulch
#

horror

jade stone
deep mulch
frosty skiff
#

guys what if we obfuscated mc datapacks

#

even better lets add virtualisation

lucid trail
#

you don’t need it

ornate quiver
#

we have datapack obfuscation???

#

awful

runic sundial
#

Who the fuck is gonna be stealing your shit fuck datapacks

#

Actually I already know the answer to this, "job security" in some Minecraft server mini games bullshit I bet

deep mulch
#

me

runic sundial
deep mulch
#

nop

ornate quiver
#

i will obfuscate and close source aliucord

frosty skiff
#

πŸ₯Ί

#

im working on making it more & more annoying

frosty skiff
#

like

#

idek what someone would do with datapack obfuscation its like

#

beyond useless 😭

#

like people try to obfuscate mc resource packs

#

to avoid their assets from being stolen

#

mainly cuz servers like cytooxien and similar will send a resource pack to the client so they're able todo certain things like shaders funnies

#

but datapacks arent even recieved by the client 😭

#

πŸ₯΄

runic sundial
#

Thus they want to charge for tweaks

#

And yeah, I see the point in obfuscating stuff like shaders. Some have really fancy tech.

frosty skiff
#

the mc scene is definitely interesting in terms of

#

protecting what they want

#

in the plugin/mod scene a lot of people like jni for such

#

i was looking at smth the other day that seems to be a paid server fork

runic sundial
#

I obf stuff I don't want the competition to yoink, I don't really bother with JNI for it tho

frosty skiff
frosty skiff
#

(its a terrible check but the fact that they do it is interesting lol)

#

a lot of them tend to use a transpiler like radiogeers or jnic or jnt

#

and then some use cracked vmp or themidia ontop of that

runic sundial
#

Imagine not having a legitimate license for an enterprise grade obfuscatation tool

#

Literal poverty

frosty skiff
#

I think the only things I've paid for are like, ZKM & codevirtualiser

runic sundial
#

Never paid for any of that I just asked for a non-commercial Alatori license.

frosty skiff
#

is allatori even any good

#

last time I saw smth using it was like 5 years ago lol

runic sundial
#

ZKM is better still

shrewd canopy
#

Imagine obfuscating stuff smh

runic sundial
#

But in my case even something homebrew would be enough

runic sundial
shrewd canopy
frosty skiff
#

I think in the mc scene it's funny mainly because no one is good at protecting their software

frosty skiff
#

they will buy ZKM and not know how to configure it

runic sundial
#

Funni

#

Have you taken a crack at reversing FastCraft by chance?

frosty skiff
#

nah

#

if u link it i can take a look

runic sundial
#

Enjoy

#

I believe it's some riced out ZKM

frosty skiff
#

nothing SSVM cant handle

runic sundial
#

Go for it

#

It's notorious for being hard to deobf so it would be entertaining to see if it can be put into a state where it can be recompiled

frosty skiff
#

Look's a lot less complicated then most ZKM configs I've seen

runic sundial
#

How do you usually get around integrity checks?

frosty skiff
#

I mean for this specifically

#

I can't imagine they'll wanna touch me for using a agent

#

people suck at checking for agents too atleast from what I've seen

runic sundial
#

Considering I can hook JProfiler and it doesn't crash I don't think it cares for agents

frosty skiff
#

even if they do complicate their integrity/anti-tamper checks I'm experienced with that

#

mc cheats will check your PEB for cmd line args to check whether you're using an agent lmao

#

or if you open a handle they'll ntraiseharderror

frosty skiff
#

I don't think there's a good public way to check whether someone is using jvmti

#

it's why people who want to disable jvmti will just roll their own jre

#

they'd rather disable it/make it obsolete then attempt to try & detect it

runic sundial
#

Man the people I'm up against would be filtered by progard I never needed any of these fancy do-dads

#

They are mere level 1 goblin

frosty skiff
#

also the native itself is obfed

winged mantle
#

why are you using native code for a minecraft server

#

write once run anywhere

runic sundial
#

For the vine

frosty skiff
#

they dont supply any other native

#

they only have it for linux

#

write once run on linux

runic sundial
#

Wsl2

winged mantle
#

horror

#

tbf whenever iw rite something in c its like that

frosty skiff
winged mantle
#

i just have a raylib folder with only linux natives and a makefile

frosty skiff
#

I'm working on a sequel to my blogpost about reversing jni

#

that includes going over reversing apps using jnic

winged mantle
#

JNIC translates compiled (and optionally obfuscated) Java methods to the C programming language

frosty skiff
#

yes

#

transpilation 🀀

winged mantle
#

how does java new work in c

#

and calling java classes

#

i guess jni api allows that?

runic sundial
#

I offered the author 10 dollar discor nitro and he never replied :(

frosty skiff
#

wow

runic sundial
#

At least the OptiFine developer replied

winged mantle
#

is the author the owner of the fabric discord or is that somebody else

runic sundial
#

He said I can decompile if I need to make support patches

runic sundial
#

Same player

winged mantle
runic sundial
#

No but I have it in writing

#

Do you?

#

I have permission

winged mantle
#

i mean what's gonna happen if you decompile it as long as you don't plagiarise

runic sundial
#

Ok but do you have permission

#

It's not that you can't do it

#

It's that you didn't ask beforehand

#

It's not about the legality

winged mantle
#

ever seen that website that just has publicly available optifine sources in rar files even including some mojang code trolley

runic sundial
#

Yeah

#

Does it include a working buildscript?

#

That will generate the xdeltas

winged mantle
#

no i'm not suggesting it

runic sundial
#

I already ported all of OptiFine 1.7.10 to Mixin

winged mantle
#

lmao

runic sundial
#

Like years ago at this point

#

Took me like 2 weeks

winged mantle
#

horror

runic sundial
#

It was insane

winged mantle
#

what's wrong with you...

runic sundial
#

It was before I had bipolar meds

#

I was manic

#

Recently opened up the project again to clean it up and do more investigation as to how it works

#

Then did an internal writeup on how the shader engine and hooks work

#

Handed the writeup to a friend who then by proxy helps me cleanroom code a new shadermod for 1.7.10

#

And it's not stealing if I only described the idea to someone else and they did it

winged mantle
#

slf4c when

winged mantle
#

opera ide

crude star
#

its java

deep mulch
#

@crude star

crude star
#

zt only pings me in programming chat

deep mulch
#

yop

spark tiger
#

hermes???

runic sundial
#

@frosty skiff did u finish reverse engineering the magic and the mystery of FastCraft or did you get filtered by ADHD

frosty skiff
#

it's like me deobfing shitty MC rats

runic sundial
#

so what's your claim to fame then

frosty skiff
#

idk I like reversing complicated stuff

runic sundial
#

i gave you the most complicated thing i have encountered and u got bored before telling me what it does

#

so idk

frosty skiff
runic sundial
#

i mean

#

yeah cause im curious

#

But also i like talking to people that make/do cool stuff

frosty skiff
#

hmm

runic sundial
#

and so far you just yappen on about how people suck at what they do

#

instead of showing me the guts of some project you tore up and documented

frosty skiff
#

hmmm okay

#

I guess it's something to write a blog about tooo

#

I'll look at fastcraft lemme get on my laptop

runic sundial
#

or just starting

frosty skiff
runic sundial
#

this is actually a sick JNI guide

#

respect

frosty skiff
#

I think I'm gonna write something on JNIC instead sorry noting this is kinda boring

runic sundial
#

if i want people to avoid touching my code; make the deobf process boring

frosty skiff
#

thats how drms do it

runic sundial
#

you're legit thoe, that jni post is epic

frosty skiff
#

i like the switches

jade stone
#

ty

runic sundial
#

@frosty skiffOH

frosty skiff
#

meow

runic sundial
#

I know of a good one, it's not one I care about but it's one that I got filtered by

frosty skiff
#

what isi t

runic sundial
#

This one

#

The natives it loads are kinda weird.
See, you can launch it from IntelliJ in debug just fine

#

BUT

#

if you compile it, the native don't load

#

Like it has sources for the front end

#

But the real meat & potatoes is like

#

The natives it uses to emulate a browser playing the game

#

Not sure if you're interested in it

#

But I think it's kinda neat

pearl stagBOT
runic sundial
#

Natives get pulled from here

frosty skiff
#

hmm okie

tired vigil
#

Add some fade to that text maybe

queen jasper
#

it's move up and down

pearl stagBOT
jade stone
#

it's not

#

skyblock

#

I'll stick with what I have

spark tiger
#

okay

tired vigil
#

does this work if the property value itself doesn't change?
iirc last time I tried I couldn't animate from height: auto to height: auto

#

but I didn't try requestAnimationFrame

#

or .animate

supple whale
#

alwayyyys

royal nymph
#

are you guys looking forward to this?

dense sand
#

In the next version of bun, bun.serve can serve legal orders to its users

ionic lake
#

owen willson got free ice cream

lavish frigate
#

1 yr too late

#

biden wouldve loved this

supple whale
dense sand
supple whale
#

im in love with my current build system

#

ts check -> typed eslint -> license checks -> build

#

still waiting for oxlint to achieve parity with eslint, cuz my estlint setup is starting to lag

#

for this one i also typecheck GQL

#

so u cant even deploy anything if the GQL schema changes

dense sand
supple whale
dense sand
#

Why

supple whale
#

it can barely do 10% of what eslint can

#

and it STILL doesnt support svelte

#

oxlint still doesnt have TS support

#

biome... does.... kinda... but it falls short of what eslint does

#

and estint perf tanks in TS rules not in JS rules

#

"we fixed eslint performance, by removing the laggy features, so u cant use them at all!"

#

bun mindset right there

dense sand
ionic lake
supple whale
#

dont have the time to fuck around with testing it as of now

#

giga busy

ionic lake
#

all good

supple whale
#

and i alr have a massive list of things lined up in my todo once i finish this shit

#

i want to finish the EBML muxer for firefox and safari

#

and well... android webviews

dense sand
#

Yall any tips for projects for my thesis(matura)? Id like it to be some fullstack web app or something similar. Ideally react and im very open to not using nextjs

tired vigil
#

Write a discord clone blobcatcozy

supple whale
#

and you're set

#

those are like the kings of being generic

dense sand
dense sand
tired vigil
#

Realtime chat stuff could be cool

dense sand
#

We're back at the forum

tired vigil
#

😭

#

You're lucky that you can pick your own project, for my graduation exam I had to write a full stack app in like 7 hours without internet access

tired vigil
#

Yeah

#

I graduated this may

dense sand
#

Without docs is crazy

dense sand
#

Did you go math or english?

tired vigil
tired vigil
dense sand
dense sand
tired vigil
tired vigil
dense sand
tired vigil
#

😭

dense sand
# tired vigil How come?

I feel like math has less stuff to prepare for, even more if you don't have the cambridge cert

tired vigil
#

Oh yeah I forgot about that, I was one of the few people that didn't get the certificate in our class

dense sand
#

I don't have money

tired vigil
#

Mm that's reasonable, ig if youll be applying to college you could do matematika+ for easier acceptance

dense sand
#

Vut fit has this policy

tired vigil
dense sand
#

Also trying KSI on muni

tired vigil
#

Is that the brno college

dense sand
#

Yes

#

Are you going to uni?

tired vigil
#

Yeah, I got accepted to čvut fit through "fiks" which is like a programming competition sorta

dense sand
#

Oh yea ik its similar to ksi

tired vigil
#

Not really a competition, idk what to call it

tired vigil
#

Good luck with that blobcatnom

dense sand
#

Thank you, good luck too with uni

tired vigil
#

For some reason I thought you were in the same year as me
I'm so fucking old

supple whale
tired vigil
supple whale
#

yeah its not too hard

#

like 1-2 day project

tired vigil
#

Idk if that's enough for a maturita project tho 😭

shrewd canopy
supple whale
#

webirc exists too

#

via wss

#

i use it for my global app chat

spark tiger
dense sand
#

πŸ”₯

crude star
#

no way

supple whale
#

i love this

dense sand
supple whale
#

X

#

D

#

D

supple whale
#

X D

#

these are good

#

LMAO

hoary sluice
#

in like 10 minutes

valid jetty
#

@hoary sluice did you see

hoary sluice
#

rosie

valid jetty
#

@hoary sluice @hoary sluice

#

@hoary sluice

tired vigil
hoary sluice
#

you are ruining elle

valid jetty
#

do you love the code

hoary sluice
#

im on mobile

valid jetty
#

oh hold on

nimble bone
#

LOVE

crude star
# dense sand https://x.com/jallen_dev/status/1959041181788131624?s=46

unlike nodejs, the api is very simple ```js
import { SourceTextModule, createContext } from "node:vm"

const context = createContext(global.globalThis)

const mod = new SourceTextModule( console.log("Hello, world!"), { context })

await mod.link(async function linker() {
throw Error("Todo")
})

await mod.evaluate()

valid jetty
dense sand
#

when executing on web i mean

crude star
dense sand
valid jetty
#

the funnier part is that elle doesnt have a way to add the thing that __attribute__((constructor)) would do in c++ so i had to manually add it to the assembly lmfaoo

valid jetty
#

because nodejs uses it to recognize what the entry point is in the shared library

dense sand
#

no

dense sand
crude star
#

in javascript 2 you need to use an unsafe block to call eval

dense sand
valid jetty
#

the infamous requestAnimationFrame()

ionic lake
valid jetty
#

surprised nobody called a C safety checker "condom" yet

supple whale
crude star
#

?

supple whale
#
const sum = new Function("a", "b", "return a + b")

console.log(sum(2, 6))
crude star
#

take an iq test

valid jetty
#

that would work like #run in jai

deep mulch
#

@valid jetty logic analyzer so cool

#

the first byte is correct idk whats going on with the ones after

#

i think i need to set it to high before each individual byte

#

i implemented NRZ instead of manchester somehow

deep mulch
lavish frigate
deep mulch
#

oops

#

i caused a stack overflow or something on the arduino

shrewd canopy
#

don't modify IDENTIFY payload

#

because you can get banned for it

#

yes it will

supple whale
#

asks for advice
gets advice
dismisses advice

shrewd canopy
#

this doesn't mean it won't get you banned

deep mulch
#

its close

#

should be 3 x "af"

lavish frigate
#

i was streaming some rust coding and i heard someone say "why?" and then leave when i wrote "panic::catch_unwind" as a joke

supple whale
#

this visualization fucks

#

makes me want to build smth like that ngl

deep mulch
#

who here knows how to python

#

im going to lose my mind

shrewd canopy
deep mulch
#
virtualenv --python=$(which python2) venv
RuntimeError: failed to query /usr/bin/python2 with code 1 err: '  File "/usr/lib/python3.13/site-packages/virtualenv/discovery/py_info.py", line 26\n    return list(OrderedDict.fromkeys(["", *os.environ.get("PATHEXT", "").lower().split(os.pathsep)]))\n                                          ^\nSyntaxError: invalid syntax\n'


#
virtualenv -p python2 venv  
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2'

#
python2 -m rtlsdr_scanner
Import error: No module named matplotlib

Error importing libraries
Press [Return] to exit


#

i need matplotlib for python2

shrewd canopy
deep mulch
#

arch doesnt like it when you do that

#

oh

#

well i cant even do that either ```
python2 -m pip install virtualenv==20.15.1
/usr/bin/python2: No module named pip

#

python is the bane of my existence

jade stone
#

@deep mulch learning that python sucks ass

deep mulch
#

i already knew

shrewd canopy
deep mulch
#

its easier to run a 40 year old MS-DOS program than a 7 year old python2.7 program

shrewd canopy
#

Because python stuff constantly gets updated and most of libs dont support 2.7 anymore

deep mulch
#

even the pyrtlsdr library is outdated

#

killing ymself

jade stone
#

i don't like the syntax or just using it in general

supple whale
#

mood

deep mulch
#

yea im just gonna have to manually fix this

#

this sucks

edgy thunder
#

sorry, i dont know where else to post this but is it possible to make/code a non-official vencord plugin that makes discord support hdr when screensharing? i was trying out plugins that claimed they did but they just didnt work.

edgy thunder
#

tyty

#

welp

#

i mean this is supposed to be a non-official thing that i can just manually implement from a github

jade stone
#

(i can't guarantee that what you are doing is possible tho)

deep mulch
#

pay @jade stone to make it for you

jade stone
#

noooo

#

i wont do something like that

#

HDR screensharing is insane

#

i don't even know what hdr is

edgy thunder
#

discord by default makes my screen bright as hell when i stream in hdr when my monitor isnt a flashbang

edgy thunder
#

i pay the price on discord to have my monitor look good πŸ₯€

deep mulch
#

finally

edgy thunder
deep mulch
#

fixing this program

edgy thunder
#

ah, gl :)

deep mulch
#

thanks

ornate quiver
nimble bone
#

vban 1 creep

elder yarrowBOT
nimble bone
#

why can whitenames embed here

calm wigeon
#

never did. I think today I would see someone post a picture of a shit they took in the programming chat

inland palm
#

probably for programming questions

#

or tech support

valid jetty
nimble bone
#

quite literally

valid jetty
#

lmao

deep mulch
#

@valid jetty

#

@valid jetty ignores my cool stuff..

#

@valid jetty never telling you what i work on again

#

@valid jetty hates me

pseudo sierra
#

zootie patootie gives off needy bf vibes

deep mulch
frosty skiff
#

hawk tuah!

deep mulch
#

hawk tuah!

valid jetty
#

will look in the morning

#

need to sleep now

deep mulch
#

nini rosie

jade stone
#

1984

frosty obsidian
#

programming channel be on topic challenge

jade stone
clear thunder
#

c python c++ brainfuck etc etc

dense sand
vital plume
#

RUST BLAZINGLY FAST MEMORY SAFE πŸš€ πŸš€ πŸš€

austere idol
frosty skiff
deep mulch
frosty skiff
#

HOORAY!

jade stone
#

@nimble bone Grok Tuah! channel when

spark tiger
ionic lake
#

good

frosty skiff
#

I made cat esp for my minecraft hack

jade stone
#

As well as typescript support and testing

#

The only thing bun has is a bundler which has never worked for me

spark tiger
jade stone
frosty skiff
crude star
#

its synchronous

#

lol

#

yeah it seems so

nimble bone
#

denoooooo

#

it’s perfection

limpid mica
#

very useful i use a lot

tired vigil
supple whale
#

holy shit Firefox is dogshit

#

it's been running the same benchmark for 40 minutes now

supple whale
#

IT FINISHED

#

HOLY

deep mulch
#

@valid jetty

shrewd canopy
deep mulch
#

discord devs are insane

unkempt ember
#

Wh- Why would you write such function ?

supple whale
#

something is afoot

#

oh, so firefox is not shit!!!!

#

its chrome's web crypto impl thats dogwater

#

im starting to question my methology, those "humps" are too similar

#

ah, log2 scale makes it weird

#

oh god and android is trubo funky

#

yeah, chrome's web crypto impl is simply dogshit, compression shows what it should be

#

sry for the low quality images, doing mass data processing and i cba doing proper exports

supple whale
#

chrome, firefox

#

yeah thats more what i;d expect

#

i wonder why chromium's web crypto impl is so fucked

deep mulch
#

numbers and graphs

meager moat
#

would it be possible to make a plugins that Anti's the Message logger like a Anti-Logger-Delete?

jade stone
#

iirc that's only for editing

dense sand
#

"be freestanding"
no

twin matrix
jade stone
frosty skiff
#

we need to put people down who rice windows it never looks good

twin matrix
#

im open to improvements

frosty skiff
#

I don't think it's an issue with your rice, I think it's mainly because the operating system itself isn't very customisable by default, and the weird hacks people do to get around it, end up looking trash most of the time

#

It's like people who patch explorer etc

#

yea

#

I just use the default windows look personally I don't think I'd spend time to rice my system for a lot of it to still be unriced and looking inconsistent

frosty skiff
#

oh I wouldn't say that's ricing even lol

#

this is my desktop

urban isle
#

not even a fun interface </3

frosty skiff
#

yeah

#

they need to nuke the telegram mobile apps github

#

why are some classes like 9000 lines

#

probably has more lines then openjdk 😭

#

😭

#

bbro

#

17k line java class

jade stone
frosty skiff
#

the largest file I've written was like 3000 I think

twin matrix
jade stone
#

funnily enough, that's exactly what that 1600 line file was doing

#

(parsing the AST of 200mb of js files)

#

typescript, what else

#

that's not very nice πŸ™

#

but seriously

#

there's not a better language for this

#

i need to: interface with vscode, parse javascript and typescript asts

#

iirc the ffi overhead for native parsers isn't worth the speedup for most cases

#

the typescript parser is really fast (it's the typechecking that it's really slow)

#

again, i'm not resolving types

#

just parsing the AST

#

<C-P> restart

jade stone
#

but the article is here

ionic lake
#

that article is from 2023

jade stone
#

@solid gazelle are there any good ones

ionic lake
#

i dont think anyone wants to take up the pain of herpes decomp

jade stone
#

what i've found intresting recently is static analysis of discords modules

#

it's been fun to make LSP for them

ionic lake
#

why do you even want to decompile hermes

jade stone
#

rewrite in something saner than c#

ionic lake
#

what are you, the nsa?

jade stone
ionic lake
#

haxxor

#

read the raw bytes

#

wow

#

id actually say like facebook did a impressive job with hermes but damn

solid gazelle
#

rini and vap making one

#

in typescript

tired vigil
solid gazelle
#

love

#

yep I just can't remember rinis GitHub name

#

that'd be lame

#

what's even the point of repos that do this lol is it for building hype because it always makes me expect nothing to not get disappointed

jade stone
#

I'm more take issue with the build system/lockin to visual studio/shitty experience on linux

#

I've never had a good experience with c# on linux

supple whale
#

are u surprised?

jade stone
supple whale
#

thats like saying "I've never had a good experience with Swift on Android"

#

kinda like... yeah no shit?

ornate quiver
#

msbuild is just shit in general

supple whale
#

mood as fuck

#

i swear if i see another node-gyp error caused by msvc i'll do a backflip

jade stone
#

I've done insane things to convert projects using msvc to gcc/clang on windows

#

Too bad gcc doesn't have an arm64 build out yet for Windows

supple whale
#

meanwhile i've done insane things to get gcc working on windows ;-;

#

fuck you harfbuzz!

twin matrix
#

i have a 3:2 screen lmao

#

issues with using a surface

#

i just rice windows because i cant get linux working properly, and cant be bothered to figure out why

jade stone
#

I can't*

twin matrix
#

the only form of linux i had properly work is wsl

#

and i barely touch my fedora wsl, its just there for ocassional tui testing

supple whale
#

and some of it reverts with big updates

#

which are frequent on windows home/pro

#

not so much on LTSC

#

win10/11 rice isnt hard, its just rarely worth the perf loss on an already..... poorly running system

#

that said, some of the linux rice is just as bad for perf

jade stone
supple whale
#

i need powertoys's plugins

#

i use them a lot

#

my beloved

dense sand
#

the only thing i used from power toys was color picker

supple whale
#

oh thats goated too

#

screen ruler my beloved

dense sand
#

should i build dokploy/coolify but with k8s so its not a simple docker wrapper

#

im too bored

supple whale
#

want some work?

#

I could use help

#

XD

dense sand
supple whale
dense sand
supple whale
#

legit me rn

dense sand
#

sounds horrible

#

ur working on that for like past half a year, no?

supple whale
supple whale
#

i started half a year ago... went "hm doesnt compile in first 3 tries, cba"

#

then i compiled it and it went "posix thread startup error"

dense sand
#

have you considered just forking it and editing the source?

supple whale
dense sand
#

or something like that

supple whale
#

edit what

#

there's gigs of deps

#

i dont even know what doesnt work XD

dense sand
supple whale
#

if emscripten CBT doesnt interest u

#

XD

dense sand
#

do you have something which sounds actually fixable

supple whale
#

everything thats actually fixable i can do myself within 15 seconds

#

so everything i have on my todo is highly non-trivial

#

XD

#

actually there's something in the emscripten build i have high skill issues with and that is multi-target builds

#

simply i rm -rf my entire linking step on each re-build

#

because i dont know how to properly re-build native

#

because one build is with SIMD and one is without

dense sand
supple whale
#

and if i didnt remove the linking then it just didnt work and idk how to fix it D:

#

thats probably fixable if you know how to makefile and how to native

#

my competence on those 2 is quite average tho

#

other than that..... I need to add proper threading to my libav wrapper for web

#

cuz i got pissed the fuck off that safari, firefox and android webview doesnt support mkvs, so my friend wrote a wrapper for libav in WASM, and we mux mkv into mp4's via W3C MediaSource real-time

#

surprised by how easy it was, and surprised that noone else has done it before

#

that said MSE fucking SUCKS to work with

supple whale
dense sand
supple whale
#

no fun there

#

I agree, compiling shit is hell doe

supple whale
#

and adding DVp5 support to chromium

#

that's something I'm willing to shill our proper cash for

dense sand
supple whale
#

well I already am, but so far none of the devs i hired had any luck

#

we already god DVp8, ac3, eac3, ac4, hdr etc

crude star
#

it's able to decompile all of discords bytecode already but some file segments arent parsed yet

#

it might stay that way since that's all that's necessary to patch

#

(and strings ofc)

#

I'm making a webui for it

#

yeah pretty much but I don't think regex will cut it

#

i mean what revanced does would work

crude star
#

i can dust up my discord server ig ReisaStare

spark tiger
royal nymph
#

"how did you send this shit screenshot"

valid jetty
#

</3 </3 </3 </3

spark tiger
royal nymph
#

why

spark tiger
#

new ios feature

dense sand
#

As a twenty year old single male I think it's very hard to find a girl who's actually interested in free software. I've had girls jokingly ask to "Netflix and chill" but when I tell her that I don't use Netflix since Netflix requires proprietary software to stream content, they stop talking to me. And worse if they do stay they think I'm weird since I blocked Google IP's in my host file and we can't even watch youtube. I can't ever seem to get girls to come over to my place and I can't text them either. Once I get their numbers since I've added customs roms to my phone and refuse to use sms since it's a security concern I require all of my friends to download a free and open source messaging app and I share with them my public gpg key so that we can verify that our conversations are secure. None of my friends are willing to do this. And I can't use sites like tinder since it's not only proprietary software but a major privacy vulnerability. How come it is so hard to find a girl concerned about software freedom. I feel like I'm going to be a virgin forever.

shrewd canopy
supple whale
#

you do BDRip and chill

#

its trully that simple

#

bitches love bdrips

ivory heath
#

Bare minimum for your project with more library’s than users

frosty skiff
#

I added discord rpc to aprilhack

spark tiger
frosty skiff
#

april hack spotify module

spark tiger
frosty skiff
#

aprilhack used to be a cs2 and fn cheat lol

#

and it had smth for tarkov but it was shit

spark tiger
#

first blazing fast and memory safe cs2 cheat

frosty skiff
#

but im writing the loader for my mc client in rust

shrewd canopy
spark tiger
#

at one time i wanted to get into csgo modding so much but i stopped after this 😭

#

ig yk what hlae is

frosty skiff
#

mc anticheats r the most boring things ever

#

although i made a clientside ac for mc a while bac

supple whale
#

detect cheats with resourcepacks

#

or do packet sniffing

frosty skiff
#

this is NOT fun πŸ’”

#

especially when most of the stuff the average user will be using cannot accurately be detected

supple whale
#

a fuckload of cheats do shit like impossible angles, too frequent packet updates, impossible positions etc

frosty skiff
#

stuff like autoclicking & aim assist & similar

#

yea ppl writing those are stupid lol

supple whale
#

shit, listening to jump packets is enough to detect most movement cheats

frosty skiff
#

people think ac dev is just reversing a bezier curve

supple whale
frosty skiff
#

ppl arent stupid nowadays

frosty skiff
#

or stuff thats advertised as utility clients

supple whale
#

you'd be shook ngl

frosty skiff
#

stuff like meteor or wurst

#

a lot of other cheats tend to have more complex bypasses

#

stuff like augustus & similar

#

its like how for bypassing polar they just automated telly bridging lol

supple whale
#

I loved fucking with people using bats

#

you mount a bat on the players head

#

if they hit anything but the bat because of some sort of killaura

#

instaban

frosty skiff
supple whale
#

all killauras do that

#

but yeah aim + clicker wont

frosty skiff
#

a lot of triggerbot checks did similar