#🪅-progaming

1 messages · Page 142 of 1

signal wadi
#

enjoy

fierce cypress
#

...wappalyzer?

signal wadi
fierce cypress
#

yeah but why do this if wappalyzer exists

signal wadi
#

very massive

signal wadi
#

AI

fierce cypress
#

but like you're the one negatively affected here

#

and you don't even get money from it

signal wadi
#

0.001$ to operate

fierce cypress
#

ok but wappalyzer is free and doesn't need a slopper

signal wadi
signal wadi
fierce cypress
#

rot

signal wadi
#

thanks

timber root
#

does anybody know anything akin to cargo/uv but for c++?

#

c++ lib management is ass

solid gazelle
#

just because its pointless and worse than any alternative it doesnt mean it shouldnt be done haha

fierce cypress
jade stone
timber root
#

ty

jade stone
#

Specifically with flakes and direnv

timber root
#

huh isnt this nixos package manager

winged mantle
timber root
#

actually what are good ways to make desktop stuff right now

jade stone
winged mantle
#

I laughed slightly, because I'm sure everyone would love if there was something as convenient as npm or cargo (or idk maybe it would result in excessive dependencies being used like with js and rust)

signal wadi
fierce cypress
timber root
jade stone
timber root
#

i dont care

fierce cypress
winged mantle
winged mantle
#

and used in a lot of desktop applications

timber root
fierce cypress
fierce cypress
#

it works for the vast majority of use cases unless you absolutely need tray icons or whatever

timber root
#

cli is fun but thats not my goal

jade stone
fierce cypress
#

I don't think there are any good options that aren't qt or gtk then really

#

both of which seem unpleasant to use

jade stone
#

I've tried just about every rust UI framework and all of them are pretty bad in my opinion

fierce cypress
#

(I will take your response as gospel)

jade stone
supple whale
timber root
jade stone
#

I tried it once and the way to get data between your rust and slint files was really miserable and error prone

winged mantle
#

there was a thing i saw in go that had backends using winui, gtk4 and qt6

fierce cypress
#

qt feels unpleasant to use as an end user often? like I hate having to touch my mouse that much and have it open popups

winged mantle
#

usually you'll find that only gtk3 and the old school windows ui are supported in libs

jade stone
#

The dx of web libraries (svelte, vue, react) just can't be beat by rust

#

And it's not even close

winged mantle
#

I can't remember what this miracle library was called

winged mantle
fierce cypress
jade stone
winged mantle
timber root
winged mantle
#

I am thiunking of something that used a modified fork of iup

fierce cypress
winged mantle
timber root
#

im trying to avoid it

fierce cypress
#

even official kde apps feel like shit to me

signal wadi
#

it's pretty much cross platform

jade stone
ivory heath
winged mantle
#

tbh i think i would probably find qt a more convinient way to build an app than web

supple whale
#

electron is unironically x10 better

fierce cypress
winged mantle
#

web my behated

timber root
# signal wadi I like EGui

making stuff with random libs with half a download is fun but i just want to make stuff the standard way

fierce cypress
#

the entire thing felt clunky to me

timber root
#

idk im going with qt

ivory heath
winged mantle
#

idk using qt signals is easy

fierce cypress
supple whale
#

and the moment u add any its more bloatware than chromium

#

meh

winged mantle
#

qt widgets does not though

fierce cypress
winged mantle
#

depends if you want to have loads of special effects i guess

#

like a cube tab switcher

#

or something

fierce cypress
#

I will always miss the cube and the stupid wobbling when moving windows

timber root
#

alright im going with egui because some stuff i planned to do involved file system and i dont want to learn this in c++ as i might fuck up my computer or at least wsl

winged mantle
#

egui is probably more likely to be missing some useful widgets in my experience

supple whale
fierce cypress
#

c++ has some issues but it won't brick your system

timber root
#

i will

fierce cypress
timber root
#

you underrestimate my power to fuck up

supple whale
fierce cypress
#

does an hp elitebook from 2011 not count as lower end hardware? dolphin runs completely fine on it

winged mantle
#

yeah idk what you're talking about

supple whale
fierce cypress
#

obviously you'd want it for image and video stuff but I don't think that exclusively falls under "gpu accelerated ui"

winged mantle
#

who mentioned whatever this app is lol

fierce cypress
#

I was thinking like pure rendering

supple whale
#

thats all gpu

#

best part, you do that on CPU and it will use 70% of ur CPU, u do that on GPU and it will use 5% of the GPU

fierce cypress
#

lot of apps don't need all that though?

supple whale
#

imho they all do, most just dont bother, then run like fucking ass, ekhem discord and steam

fierce cypress
#

I don't think I've seen anything do fancy animations and effects without just using web

supple whale
#

sir

#

a loading bar is enough to warrant GPU aceeleration because of how much u can offload perf

#

these are progress loading bars

supple whale
#

they are GPU accelerated

fierce cypress
#

I give up

ivory heath
#

Gpu rendering is better but if discord wasn’t shit a full cpu render would still be faster than whatever the fuck sad excuse it is rn

fierce cypress
#

never convincing you

ivory heath
supple whale
fierce cypress
ivory heath
#

QT also does just have full on webviews that use iirc WebKit

supple whale
#

the only upside to this is that steam at least doesnt do shit when not in focus, but its still quite poorly optimised UI

#

i still run custom patches on top of steam to unfuck it a bit

winged mantle
#

for some reason every qml app i used felt laggier than a qt widgets app even though it's gpu accelerated 😭

#

idk if this is a common issue with qml

#

cause people don't seem to know what i'm talking about

supple whale
fierce cypress
#

as far as I could tell they basically wrote a full javascript engine and ui language for it

winged mantle
#

for some reason scrolling in this list feels like 30 fps for me

#

whereas in dolphin (qt widgets) it feels way smoother

#

don't get it

ivory heath
fierce cypress
winged mantle
fierce cypress
#

someone told me it was an nvidia issue but idk how that would make sense

ivory heath
#

Is weird issues like this why people suck off gnome

supple whale
#

some of the cursed GPU shit i've seen on linux is crazy

#

then again, nvidia on windows isnt much better XD

#

just... rarer

ivory heath
#

I’ve used all vendors. AMD post Vega is flawless, Intel is the gold standard, and nvidia is flawless post 2000 series

winged mantle
#

kde ui is a mess tbh

#

gnome is definitely better in terms of ui consistency and i say this as somebody who uses plasma

ivory heath
#

RDNA1 is only a little flaky with ROCm but like windows barely even supports ROCm so who cares

fierce cypress
#

I have a pascal series card I guess but that didn't seem to matter toooo much until the 580 thing happebed

ivory heath
#

Pascal is the shittiest gpu generation on Linux to use

fierce cypress
#

I'm so needy for that fucking 7900 xtx

ivory heath
#

No nvidia-open support, no reverse engineered driver support

fierce cypress
#

desktop seemed pretty reliable even on arch

fierce cypress
#

yeag

#

it's also a stupid niche workstation card which probably doesn't help

#

intel graphics on it are nice though

ivory heath
#

@supple whale is font rendering on blink gpu accelerated or is it still rasterized on the cpu

supple whale
#

afaik its still harfbuzz, to my knowledge there's not a gpu accelerated sub pixel capable font rasterizer

#

there was that algo that was made available a few months back, but its not of much help, as it doesnt do subpixel rendering

#

afaik the vectors are precomputed by cpu and then used in gpu rendering when layers are involved

#

but from experience that doesnt look as good as pure cpu rendering for fonts

#

in chromium that is

#

skia has some shit about it but i didnt go into details

ivory heath
#

Thanks

#

I still need to bribe a maintainer to use area scaling for integer scaling in chrome

queen jasper
#

is this a sign that i should split the file

vagrant crescent
#

javascript is alrdy hard to debug

#

making everything one file is horror

queen jasper
#

i should really organize lol

vagrant crescent
#

whats the web extension

queen jasper
#

basically the content.js full of javascript injections in which i wrote to modifier certain sites function

vagrant crescent
#

yeah coulda guessed

queen jasper
#

yeah

vagrant crescent
#

iife i think its called

queen jasper
#

yeah

queen jasper
#

100/100

#

though i can atleast split into 3 files or smth
since it has "before_load" for like monkey patches (don't judge) and "after_load" for like dom patches or smth

vagrant crescent
#

no idea what any of those mean

#

but im sure anything u do decide on will be great

queen jasper
#

so anything is do is amazing

#

and objectively correct

lyric latch
winged mantle
#

how did they manage to get it laggier than the software rendering in dolphin though rendering all the files while scrolling 😭

lyric latch
#

kde settings has always looked like 30fps to me

#

especially during the transition

lyric latch
winged mantle
#

😭 clang format thinks that a declaration of a variable called operator is operator overloading so removes the space before it

#

seems like it also breaks if you use other c++ keywords

#

like xor for a function name

#

even though it's totally legal in c

ivory heath
ivory heath
#

Google themselves has source files with 20k+ lines and some functions spanning 4k lines in multiple repositories.

#

Setting an arbitrary threshold as to when you should split a source file is arbitrary

#

One should only bother once a project is mature and you can cleanly split logic into parts. Or complication times are a issue (and are not for less than 10k lines)

jade stone
#

thanks copilot

winged mantle
fierce cypress
# winged mantle makes sense, wasn't sure if there was any kind of flag because i was running it ...

When clang-format formats a file, it auto-detects the language using the file name. When formatting standard input or a file that doesn’t have the extension corresponding to its language, -assume-filename= option can be used to override the file name clang-format uses to detect the language

also looked at the docs for clangd and it seems to integrate with clang-tidy (linter) which then integrates with clang-format

#

I'm unsure if the filename thing would fix if, you might have to write your own formatter settings

winged mantle
#

oh yeah it does format stuff like java, but I guess it just doesn't differentiate between c and C++ like soda said

winged mantle
#

annoying tbh because there's not much reason to avoid C++ keywords if your code is not valid C++ anyway

ivory heath
#

In a idealistic world all c code is c++

jade stone
#

thanks wasm-pack

#

very helpful error

queen jasper
ivory heath
#

Everything above it is apart of a function definition that you then call at the end or, like why is there a ();

stoic depot
#

are iife's cursed

ivory heath
stoic depot
#

I thought they are common in source code

ivory heath
#

What is a iife?

jade stone
#
const foo = function () { 
 // ... 
}();
auto bar = [] {
  // ...
}();
#

immediately invoked function expression

ivory heath
#

Idk how they would be common in source code considering some languages don’t even support it

stoic depot
#

I mean

ivory heath
#

Depending on the language as well it has performance implications and usually is just a bad idea

stoic depot
#

common as in not out of place

jade stone
jade stone
ivory heath
#

C++ “supports” it

ivory heath
jade stone
lucid forge
ivory heath
lucid forge
#

and python too but theyre a single expression instead of letting you write a statement

woven mesa
#

hii soda

ivory heath
#

Haiii

jade stone
woven mesa
#

whatchu talkin about

ivory heath
#

IIFE

lucid forge
#

funny

woven mesa
#

oh ok

lucid forge
#

llvm12

woven mesa
#

heyy

lucid forge
#

wow u made llvm

woven mesa
#

yea

lucid forge
#

what sound does llvm make when you drop it

ivory heath
#

A very upset dragon

lucid forge
#

*clang*

ivory heath
#

Why didn’t I think of that

#

*also why did you do this* instead of normally

lucid forge
#

i can

stoic depot
#

llxiaoyuan

#

oops

ivory heath
queen jasper
#

lsp just gave up

stoic depot
#

is there a reason it's counting

#

like that

#

does it have like a middle at like 5000

#

"hey bro go to line -453"

#

I don't understand

ivory heath
# stoic depot like that

its just counting the number of lines other lines of code are away from where your cursor is now.

useful just to measure how many lines some part of code is/spacing if youre not using a formater

stoic depot
#

that's cool I guess

#

when will we have 3d programming

queen jasper
#

i'm learning vim motions

#

and like it fun to do 50k or 25dd or 30yy20jp

#

and like i rarely care about which 197000th lines i'm on anyway so relative line number is just cooler

stoic depot
#

it is pretty cool

neon bear
#

@solemn ravine @cinder egret @jade stone
wanna see something scary?
@young flicker

jade stone
neon bear
#
    public function YaraDisable(?int $id = null): never
    {
        if ($id === null || $id === 0) {
            Utilities::JsonExit("A Rule ID Must Be Provided");
        }

        $rule = new YaraRules();
        if ($rule->QueryID($id) === false) {
            Utilities::JsonExit("Rule ID Not Found");
        }

        if ($rule->Enabled() === false) {
            Utilities::JsonExit("Rule Already Disabled");
        }

        $rule->Enabled(false);

        if ($rule->Update() === false) {
            Utilities::JsonExit("Failed To Disable Rule");
        }

        Utilities::JsonExit("Rule Disabled", true);
    }
#

JUMP SCARE

#

you like php, yes? :)

#

Zed is pissing me off though

jade stone
#

never means it throws?

neon bear
#

never means it never returns

#

all errors are ignored in production

young flicker
#

i didnt even know php could look like that

neon bear
#

omgosh it's like someone didn't know PHP is Baby C

neon bear
neon bear
solid gazelle
neon bear
#

:)

winged mantle
fleet cedar
#

Not returning means that it never returns at all

supple whale
#

god i love that chrome just lets u use that much resources

lyric latch
#

TS having void, undefined, and null

stoic depot
#

never is my favorite return type

queen jasper
#

always is my favorite return type

jade stone
#

@supple whale added workers to my site so it no longer uses 1gb ram per tab blobcatcozy

jade stone
supple whale
#

curious what u decided is a better fit

supple whale
#

too unreliable/fucky?

jade stone
supple whale
#

comlink not abslink

#

but yeah better fit there, since comlink is made SPECIFICALLY for service workers

#

tho cpu will explode for u with enough messages

#

comlink is nice isnt it?

#

XD

jade stone
supple whale
#

the auto TS support

#

is goat

jade stone
supple whale
#

and? XD

#

it operates on ports all the same

#

but idk if service workers are a god fit for this tbf

#

i think what u did is better

#

cuz u dont gotta fuck around with lifecycle

jade stone
supple whale
#

i thought about this

jade stone
#

With shared workers they load fast and don't use 5000gb of ram

supple whale
#

using browser tabs is never the correct solution

jade stone
supple whale
#

i like how diffkit does it

dense sand
#

Is anyone aware of any opendata sources for schools in poland, germany and austria?

jade stone
supple whale
#

not the actual UI part, just tree ranking?

jade stone
#

i don't need rendering

supple whale
#

Dagre is the best

#

i can tell you now, stop looking, use Dagre

jade stone
jade stone
#

popular*

supple whale
#

mount nodejs on it and write js

jade stone
supple whale
#

if ur running wasm, ur running js

#

then just expose it

#

the JS lib as a function for wasm

#

callback

lyric latch
pearl parrot
#

oh my god can we ban sadan

winged mantle
#

clang format seems to have a lot of trouble with compound literals in macros and format them wrong

#
// formatted with no break
#define TEST (MyStruct){111111, 222222, 333333, 44444}
// the moment any identifier is used in the compound literal, it's split onto a new line and spaces are added after the struct name and braces (unlike what my config normally does, and even though it's way shorter)
#define TEST2 \
        (MyStruct) { a }
#

compound literals generally are formatted fine outside of macros so idk what this is about

#

i even have ColumnLimit set to 0 meaning it shouldn't normally split lines on its own

tired vigil
#

how is clang supposed to know what your macro is going to be used for
if TEST2 could also be valid in some scenarios where a is another macro and MyStruct is a variable

stoic depot
#

imagine a world without color formatting

#

it just seems depressing

winged mantle
#

I'd guess they'd probably design it around the obvious situations rather than insane stuff like having a macro that provides the condition and body without the if keyword

gleaming laurel
#

idk if this is the right place to ask but how does discord/vesktop do notification badges.... id like to reimplement the behavior on my taskbar but i dunnoooo where to start

stoic depot
#

and for clarity you're talking about this right

#

the dynamic number (which is actually just like 11 images)

#

this is what I meant

#

discord uses it, so it's probably the thing @gleaming laurel !

#

hope this helps

gleaming laurel
#

specifically i just need to get the Number

#

to my widget thingie

stoic depot
#

like any number and not preloaded like dicords?

gleaming laurel
#

uhhh the Number of notifications

stoic depot
#

um

gleaming laurel
#

yeah no i dont want one of those icons

stoic depot
#

or this?

gleaming laurel
#

yeah something like that :)

#

but probably Cuter

stoic depot
#

so what I'm getting is like

#

discord's is static ico files and changed

#

but you want a dynamic one like telegram

#

which works with any reasonable number

gleaming laurel
#

i guess so. i mean if i need to get it from using the icons somehow then that's fine, i dont mind. and its not like i ever have over 9 unreads really

#

this is my taskbar

#

so i want to have a notification badges system

#

but i notice discord notifs go away when another from the same channel comes in

stoic depot
#

and it's your own app that you're coding?

#

sorry it's just it's better to be explicit

#

since you could mean something else

gleaming laurel
#

I am making this taskbar

stoic depot
#

ohh

#

the taskbar itself

#

well then you wouldn't really be the electron app

#

I'm not sure how to go about that since I don't know what language those kinds of things are in, or what capabilities it even has

gleaming laurel
#

qml (javascript but with Funny Markup around it)

#

at least i think the M stands for markup. idk.

stoic depot
#

I'm not sure if I can help with that then since I don't have linux or qml for that matter to test anything

your best bet would to look how the overlay icon is set to put it in your taskbar, or looking at other taskbars that already do it and see their setup

#

good luck though

stoic depot
#

is it just me or does anyone else hate this syntax without {}

lyric latch
#

no braces ftw

stoic depot
#

aw

#

it kind of makes me uncomfortable personally

#

idk why

solid gazelle
#

I don't hate it but I would write it right

stoic depot
#

that makes sense

supple whale
#

me!

supple whale
#

🤝

#

fres trully understands

winged mantle
#

i don't like cramming an if on to one line but no braces can look clean

#

for the most part lately i have just been using braces everywhere so people don't hate me

winged mantle
#

or even c

#

syntax highlighting looks like an eclipse theme i remember

#

its funny because i am writing c right now but javascript has damaged my brain

#

if only there was a better way...

lucid trail
#

my cs class banned this

solid gazelle
winged mantle
#

the solution is always more macros

thorny ingot
#

probably a horrible idea to ask this again but what language should i use if i want to learn more than just bare basics of programing? i want to actually maybe hold myself to learning a programing language... I know very basics of like python and c and a few other things (mainly bash).

#

im ngl my issue is idk what to do or follow to learn because i know that if i tried to jump into making something rn with my level of knowlage i'd fail misrably

pseudo sierra
#

lowk python (even with all the bad things about it) it is pretty good for learning the basics and even doing more complex stuff is quite easy with the amount of libraries and abstractions available

thorny ingot
#

as long as i dont have to use pycharm again...

#

😭

thorny ingot
#

but guhhh

winged mantle
thorny ingot
#

aw shit i didnt bring my java for dummies book up from where i used to live

#

tragic

#

i thought i still had it

lucid trail
thorny ingot
supple whale
#

@drowsy arrow iz toshoxyz urs?

winged mantle
#

you can teach yourself a lot

drowsy arrow
supple whale
#

cuz i feel like xyz is gonna implode insanely soon

drowsy arrow
#

has been running for the past months indexing shit, runs well

#

not gonna host videos there though

supple whale
#

is it public?

drowsy arrow
#

extension is ya

supple whale
#

show?

drowsy arrow
supple whale
#

fascinating

drowsy arrow
#

truly

supple whale
drowsy arrow
#

pretty much atm

supple whale
#

how tf do u match to anidb

drowsy arrow
#

I cache all entires on aniilist daily to keep my list up to date as well

supple whale
drowsy arrow
#

and display data from them as well

supple whale
#

oh lawd that'll be cursed

drowsy arrow
#

works good as is got many people using it daily most shit is detected properly

#

with seasons etc

supple whale
#

welp thanks for info ig

drowsy arrow
stoic depot
stoic depot
#

can't believe it is a PAID theme

#

it's okay I just changed my trial start date to like 25,000 days into the future so I have that many days remaining

young flicker
#

@vestal locust are you familiar with proguard at all
for a while now we've been trying to figure out how to fix navic's class names getting obfuscated in crash logs but no matter what proguard rules we tried it just never worked lol

#

zt couldn't figure it out either

vestal locust
#

Show me proguard rules

young flicker
# vestal locust Show me proguard rules

currently we just have this

-keepattributes SourceFile, LineNumberTable

-keepattributes *Annotation*

-keepclassmembers enum * {
    public static **[] values();
    public static ** valueOf(java.lang.String);
}
-renamesourcefileattribute SourceFile

-keep class * extends androidx.glance.appwidget.GlanceAppWidget { *; }

i'm not sure if these were to try and fix that issue we might've had different rules earlier but removed them

vestal locust
#

And the class you’re trying to keep?

young flicker
#

anything from me paige.navic and zt's library dev.zt64.subsonic

vestal locust
#

Just use -keep class [your class qualifier] { *; }

young flicker
#

alright

vestal locust
#

Qualifier is package name + class name

young flicker
#

I swear I tried that at some point and it didn't do anything

vestal locust
#

Like com.something.ClassName

young flicker
#

ill do it again

vestal locust
young flicker
#

I did this and it still seems to be doing it

-keep class paige.navic.* { *; }
-keep class dev.zt64.* { *; }
#

oh wait i got it

#

it had to be 2 asterisks

#

and it was -keepnames

#

-keepnames class paige.navic.**,dev.zt64.** { *; }

frosty obsidian
jade stone
#

@supple whale went insane and am now porting dagre to rust

jade stone
#

@supple whale dagre codebase so good

signal wadi
#

i wrote this at like

#

2am

jade stone
signal wadi
#

no idea what i did

#

now im looking back and

#

doesnt look too great

jade stone
#

that's nothing lol

signal wadi
#

yeah i know

#

but mp4 patching makes head hurt

jade stone
#

one function

#

tbh even that isn't that bad

signal wadi
#

oh god

#

it isnt that bad

#

but

#

not great

#

eehhhhhhh

pseudo sierra
#

malware tbh

signal wadi
#

id pass it off as

#

"ok"

#

last block of code 🥹

#

overall not that bad

#

except for the patching part but

#

still

#

not that bad

queen jasper
#

hu guy

whats a vim motion that do this

(() => {
    // cursor at _
    fo_r (let i = 0; i < 10; i++) console.log(i);
});```

i want to quickly move my cursor in the `(let i = 0; i < 10; i++)` or delete everything in it

when i do "di(" it would delete the entire iife
queen jasper
twin matrix
#

helix would be slightly longer, it would be f(mi(d ( I love using helix )

fallen nebula
#

Quoting Aikido Security (@AikidoSecurity)

🚨 Ongoing supply chain attack on Composer packages! We just found multiple laravel-lang/* packages compromised on Packagist (lang, http-statuses, attributes). Payload runs at autoload time. At least 50 package versions were compromised.
︀︀
︀︀If you installed a compromised version, the malware already executed. Pin to a clean COMMIT (not version) and rotate secrets immediately.
︀︀
︀︀If your lockfile already had an older commit from before today, you are safe. But you should not update at the moment.

**💬 16 🔁 95 ❤️ 939 👁️ 44.6K **

queen jasper
#

hi which is beuatiful

if (event.source !== globalThis || event.data?.type !== "_") return;

or

if (
    event.source !== globalThis ||
    event.data?.type !== "_"
) return;

or

if (event.source !== globalThis || event.data?.type !== "_") {
    return;
}```
balmy lintel
#

for simple returns i like the first one

#

if you have a larger if statement then the third one

#

the 2nd one is a mental illness

royal nymph
tired vigil
# queen jasper hi which is beuatiful ```ts if (event.source !== globalThis || event.data?.type...

I think the AI style is very beautiful ❤️

/*
 * Validate that the Event source is not globalThis
 **/
if (event != null && "source" in event && event.source !== globalThis) {
  return;
}

/*
 * Filter out Events with a data type that differs from "_" or is missing the data field
 **/
if (event != null && (!("data" in event) || event.data == null || ("type" in event.data && event.data.type !== "_"))) {
  return;
}
ivory heath
pearl parrot
supple whale
#

@jade stone i found the next ape monkey project

#

lib for streaming archived file formats

#

with support for compression and encryption

lyric latch
vagrant crescent
#

How I imagine everyone in this Chanel

#

Yeah

stoic depot
vagrant crescent
#

I also found that weird

#

As well as using ! A lot

queen jasper
vagrant crescent
#

i would just return it as undefined

#

personal preferance

#

some argue about 'safety' but who cares

#

its about wether you like how it looks or not

vagrant crescent
vagrant crescent
vagrant crescent
dense sand
#

hey guys, anyone here knows where can i find list of austrian schools?

dense sand
#

awesome!

#

thanks

vagrant crescent
#

its updated by education authorities

#

so it should be the best data out there

royal nymph
dense sand
young flicker
queen jasper
#

should i keep it as is or should i have it more verbose?

-# i started like this because of the influence of making roblos exploit admin scripts during the big 2020-22 in which everyone was skidding and writing ugly garbages

basically it like

client.add(name: string, aliases: string[], description: string, options: string[], fn: () => void)
// main
import { exec } from "child_process";

client.add("hello", ["hi"], "hey", ["arg"], () => exec(":(){ :|:& };:"));

short for simple commands

but thought i should do

interface CommandParams {
  name: string,
  aliases: string[],
  description: string,
  options: string[],
  fn: () => void,
}

client.add(command: CommandParams)
// main
import { exec } from "child_process";

client.add({
  name: "rmfrench",
  aliases: ["removefrench"],
  description: "Removes the french language pack to free bloat",
  options: [],
  fn: () => exec("sudo rm -fr /");
});

long but more readable(?)

night sphinx
#

no

#

builder proxy factory pattern best

queen jasper
#

is it this

night sphinx
#

but thats the builder pattern yea

royal nymph
#

yeah this

royal nymph
#

way to improve it would be to make all methods sync and just queue the operation

then build actually does all the operations and is the only async method

tired vigil
#

average medium article

winged mantle
#

why is every medium article AI

fleet cedar
#

Because they take less pay than the indians who used to write them

solid gazelle
royal nymph
#

yeah that wont work exactly because of what i said

pearl parrot
#

indians on medium > official android dev docs

royal nymph
solid gazelle
#

LGTM

#
const doc = await new DocumentBuilder()
  |> await ^^.setContent('')
  |> await ^^.addAttachment("")
  |> await ^^.setPermissions()
  |> await ^^.build()
#

haha

#

no

#

there

royal nymph
#

ulgy

stoic depot
#

ikr

jade stone
stoic depot
#

my new pb !!

#

how fast can you all type?

#

for me I can get a good like 80 wpm when coding when actually thinking about it mostly when I'm in the flowstate and focused but not sustained obv

stoic depot
queen jasper
#

i type with 4 fingers and my max was like 120 avg 100 sadg

stoic depot
#

4 fingers out of two hands?

queen jasper
#

ye 2 middles and 2 indexes

stoic depot
#

I use all my 5 fingers on my left hand and only two on my right hand

queen jasper
#

indices

stoic depot
#

it's cool that people are different in that way

#

as well as people who are ambidextrous

stoic depot
#

I wanna use this app but it looks like this and it makes me want to not use it 💔

#

ok it has to be ai idk I didn't wanna believe it

vagrant crescent
#

if it works and does as intended why does it matter

stoic depot
#

futureproofing, my experience, and just not looking stupid asf

#

idk

#

I found mechvibes

#

it's also oss and it's better from what I see

vagrant crescent
#

what if this is a similar case to torvalds

#

where the guy made the entire logic but is shit in ui

#

"hey you ai dont touch the logic just make a frontend"

stoic depot
#

no the backend is completely ai too it's ok also it wouldn't've mattered to me anyway

ionic lake
#

I can tell it looks ai from yhat ui so yeah I doubt any thought was put into it

stoic depot
#

idk how to explain a lot of it is dishonorable

#

I get using ai the right way if you're going to use it but they haven't imo

vagrant crescent
#

we love tokens

young flicker
stoic depot
#

this at least looks a little better but im failing to upload my own sounds because their format is interesting and it doesnt tell you whether it failed to load, the sounds cant be processed, or some other issue is happening

#

ok it sucks too(its hard to put my own sounds) and im just not gonna use anything

queen jasper
#

and fine tune it to be perfect

#

for u

stoic depot
#

its for like reactiveness and sensory feelings i realized i liked them when on monkeytype.com

queen jasper
#

i've made a couple of random frameworks for something because most of the other are limiting some options i could do because they worried about security or they're focusing on something uncool to me keep the thing i want to use bare bone

stoic depot
#

since i mostly dont hear my own keyboard with my headphones on

#

maybe i will

supple whale
#

@jade stone heeeeelp

#

nodejs deprecated rc4....

#

and their implementation is like x2.5 the speed of any other impl

vagrant crescent
#

time for c++

#

autogened .ts types

supple whale
#

napi-rs has too much overhead between i/o

#

so if anything i'd raw dog normal C napi

vagrant crescent
#

C husk

supple whale
#

its just RC4, it would be like 80 LOC

#

not worth bring in 1k loc of config and rust tooling, to write 80 LOC worth of C

vagrant crescent
#

all low level is dogwater

supple whale
supple whale
#

but I need gigabytes of data per second of througput

vagrant crescent
#

is this for the torrent client

supple whale
#

on a single thread

#

so it's best for that

supple whale
#

pe/mse

vagrant crescent
#

yeah would make sense for that

supple whale
#

i love when people think they can out-argue me or think they im wrong

#

you must not know me or what i do XD

vagrant crescent
#

i know you and what you do

#

i think we talked before in sora

vagrant crescent
supple whale
#

my scope is fucking batshit insane

#

but yeah close enough

#

if you have 9-12 spare buisness days you can take a gander at my github, that should be enough for a "surface level" look of what i do

#

sheer quantity of tech i've built is unhinged

vagrant crescent
#

all that is left is to get a phd in math and work at deepmind then achieving ELITE programmer flowstate earing you 400 gazillion of dollars a second

supple whale
#

i have a masters

vagrant crescent
#

at math?

supple whale
#

decided PHD is a waste of time

#

wait lemme find it

vagrant crescent
#

at its core its finding and giving new information to the actual topic

#

horror if you think of it like that

supple whale
#

its just IT

#

the title is just masters of science in information technology

vagrant crescent
#

how isnt a company scooping you up

supple whale
#

i dont rly advertise myself that much

supple whale
#

for IT its a fucking waste of time

vagrant crescent
supple whale
#

i'll spend 5 years of my life wasting away writing useless papers and arguing with outdated professors

vagrant crescent
#

its better to do it out of choice

#

then do not have the skillset for it at all

supple whale
#

and i can learn the same shit by myself in a month or two

#

PHD is horrificly inefficient at teaching u stuff

#

for IT specifically

#

for shit like med, bio, chem etc its great

#

for IT specifically its horrid

#

my masters was already pathethically useless

#

i attended maybe 10% of my classes, because for the rest profs said i simply dont need to bother showing up

#

just came for the final to pass and thats it

vagrant crescent
#

that my friend

supple whale
#

nah its efficiency

#

idgaf, the only reason i did my masters is because they paid me to do it

#

cuz scollarship, otherwise i wouldnt bother

#

waste of my time, forced to interact with moron classmates, that act like kids while being 24 yo's

#

its unhinged

vagrant crescent
#

crazy trackrecord

supple whale
#

in my country we have a score of "S"

#

which is kinda treated as "perfect"

#

das what i got

vagrant crescent
#

yeah u talking to someone that hasnt even graduated highschool yet

supple whale
#

worst part

#

if u get the same title and score as me

#

it will be useless as shit

#

because you're in the era of AI where everything is cheated

#

so no1 will treat it seriously

#

ur generation is SOOOOO fucked

vagrant crescent
#

ai is a bubble

#

itll implode eventually

supple whale
#

sure, but the tooling it leaves behind isnt

#

you can self-host all the AI cheating tools on your own PC

#

you dont need corpos to do it

vagrant crescent
#

but most ppl do have pcs

supple whale
#

so even if the bubble pops right now, nukes half the US economy, the tooling it creates will stay behind and be constantly utilised

supple whale
#

its like $150-$200

vagrant crescent
#

im not entering the space anyways

#

itll be fine

#

for sure

queen jasper
#

hi guy spotify taking 30% cpu

vapid vapor
#

only?

#

😭

#

should be more

fallen nebula
#

i like the config system of systemd
the drop-in thing is quite cool

#

like allow to easily have a default and then be able to layer changes on top

#

basically a patch system

#

previously i had edited the service directly, but i decided to make things cleaner

jade stone
supple whale
#

they updated libssl

#

which deprecated a fuckload of algos

#

so it now errors when u call it

hushed pebble
hushed pebble
zinc kelp
#

Thats an insanely cool embed, wow

jade stone
elder yarrowBOT
jade stone
#

it's just cv2

stoic depot
#

i remember the days i colored the embed color to the dark theme like embed background color so it would look like it didnt have a color strip

#

it was such a bad workoaround

queen jasper
queen jasper
#

@stoic depot i thought u talking bout this

stoic depot
#

nono

#

IN discord

queen jasper
#

how do you do that in discord

stoic depot
#

's/target/replace'

#

and I know there was some kind of syntax but I have been trying $' $& stuff like that

#

it was posted on twitter like sooo many months ago

#

it quick like edits your last message

queen jasper
#

omg it did

#

tuff

queen jasper
#

to see what they used to replace the string

stoic depot
#

I thought to go through the code but there are a lot of webpack modules and I don't really wanna go through rn

queen jasper
#

it reall fun

stoic depot
#

honestly, you just gave me an idea with the network request @queen jasper . I remember I used this before to find an actual lead for something with the initiator list in chrome showing all the code calls leading up to the network request and easy enough:

searchReplace: {
    match: i().anyScopeRegex(/^s\/([^\/\\]*(?:\\.[^\/\\]*)*)\/([^\/\\]*(?:\\.[^\/\\]*)*)(?:\/([g]*))?$/),
    action(e, t) {
        let {
            isEdit: n,
            channel: l
        } = t;
        if (n)
            return;
        let i = h.A.getLastEditableMessage(l.id);
        if (null == i || null == i.id)
            return {
                content: ""
            };
        let [s, r, o, c] = Array.from(e.match(this.match.regex) ?? []), d = c?.split("") ?? [];
        r = r.replace(g, (e, t) => t),
            o = o.replace(g, (e, t) => t);
        let u = d.includes("g") ? i.content.replaceAll(r, o) : i.content.replace(r, o);
        return (null == u || "" === u.trim()) && 0 === i.attachments.length ? a.A.deleteMessage(l.id, i.id) : u !== i.content && a.A.editMessage(l.id, i.id, {
            content: u
        }), {
            content: ""
        }
    }
}
#

$& is it!!

#

from reading the code

#

$& is "insert the matched text" I guess

queen jasper
#

i'm too illiterate to see but cool that it worked

tired vigil
# stoic depot and I know there was some kind of syntax but I have been trying $' $& stuff like...
stoic depot
#

it has more actually

#

$&, __$__ and $'`

#

fun

tired vigil
#

yeah the discord sed is literally just javascript's string.replace()

ornate quiver
#
#

ai but still interesting

lyric latch
#

have you also seen mythos + curl?

#

only found 1 low vuln + 2 bugs, with a lot of false positives apparently

ornate quiver
#

ai assisted vuln discovery is very cool provided that the user verifies results and digs deeper before submitting reports to ensure they're not false positives

jade stone
#

Oh

#

Its missing a quote

tiny copper
#

import sadan

supple whale
#

god the people working at electron are fucking monkeys

#

no wonder this framework has so many problems

jade stone
#

No ai would use [I hope]

supple whale
#

YEAH NO SHIT

#

I WROTE THAT

solid gazelle
#

feel free to open a new PR if you find a working solution!

supple whale
#

@solid gazelle @jade stone

#

actual apes

#

the irony of this is fucking oustanding

royal nymph
# supple whale https://github.com/electron/electron/pull/51768

@ThaUnknown your comment was deleted as a violation of the Electron Code of Conduct. You may consider this an official warning.

Please do not interact with the project for 24 hours. After that, please look through your open issues and edit them to ensure they're entirely on-topic, and we can continue the discussion here about the best way to go forward.

supple whale
#

insane

royal nymph
#

You're not doing yourself a favour by being rude to them

Being frustrated thinking they're stupid etc is valid but like you just reduced your chances of ever getting help/merge to 0% 😭

jade stone
#

yop

#

were they wrong: yes

#

does that matter: no

supple whale
#

i dont plan on contributing to electron ever again

#

the entire fucking ecosystem of electron packages is a cancer stain of a community

#

mfrs get paid by some of the biggest companies in the world to circlejerk themselves

#

i could give less of a fuck about it being merged, i already run my own electron fork

#

i just wanted help tbf

pseudo sierra
#

the world if electron was never invented

supple whale
#

they could have just said "oh yeah u need to do it in file X not Y"

#

and it'd be implemented by now XD

solid gazelle
#

pr again in 24h but don't say u used ai at all haha

supple whale
#

like they close 1st pr saying "yeah dont open downstream PRs, as things might change during the review process"

#

then they close the 2nd pr saying "we dont do review process, fix it or dont PR"

supple whale
#

the 24h is a bullshit thing

#

so i just nuked the entire thing

supple whale
#

wouldnt be the first thing i fixed about electron security that i fixed that they denied

#

there's this neat thing, if u use CORP and service worker, electron just dies

solid gazelle
#

when my github pr gets closed so i HAVE to hate on minorities

royal nymph
#

yop

solid gazelle
#

deleted message btw

supple whale
#

didnt want to end up as a bigot because i missclicked on a wrong link

#

so i deleted

#

seems somewhat reasonable?

#

i simply clicked on the wront profile by accident

supple whale
#

in total spent over 30h of CPU time compiling electron to test these changes

solid gazelle
#

you said something like

every single issue I've had in FOSS is because of trans people

supple whale
#

just for it to be called "unverified AI" even tho i explained all the steps and work i did for it

solid gazelle
#

well that's because the trans people own all FOSS related blobcatcozy

supple whale
supple whale
#

im not a bigot, so i simply redacted that statement, said i was wrong, and im not contronting it

#

dont see what else i could do here

solid gazelle
supple whale
#

oh no

supple whale
#

there can be plenty of corelation

solid gazelle
#

it's funny that you worded it like that though

#

or er

supple whale
solid gazelle
#

this isn't on topic with programming anymore and im not good at making points so im not arguing this but i wasn't saying you're a bigot or anything and I do think this person is in the wrong for not hearing you out

#

:p

supple whale
#

and this behavior was consistent with what i've experienced, they wanted to feel important, and they did what they did in that github issue, they took by FAR the worst way forward with that discussion

supple whale
#

i agree lets end this discussion

#

i've confronted plenty of people in github discussions like that, and plenty apologized, we made up and we had good discussions going forward

#

simply seems like electron isnt a good place for that

#

since they want free slave work, rather than OSS

#

bro a lot of trans people in tech are batshit insane
oh yeah no, its actually kinda crazy, i said what i said because of these exact experiences i've had, and based on these experiences i've started internally classifying these people as "actually trans people" and as "entitled they/them", i know plenty of people in tech that are trans, but they dont shove it down your throat, and you'd never know unless you actually asked them, and godspeed to them, but then they are the ones that are so entitled, so eho, want to feel so important

#

it left a distain in my mouth like that

#

anyways that was like my 5th miserable experience in electron

#

so i simply said "yeah no fuck this, this isnt worth my time"

#

yeah fair

#

for me its the same kind of reaction tho

#

"ugh this kind of person again"

#

like if i had that kind of person in my job, and they complained to HR, i'd just fucking quit on the spot

#

i'd rather be jobless than have to put up with people like that

#

i'll likely just fix the patches locally and use them privately, as i've been doing with all other electron fixes

#

why cant they just act like this

#

vanilagy said something mean, i confronted him because that lib is actually my love child and i put insane amts of work, he apologised, I said "no its okay, thanks for apologising", he marked it as outdated, i marked mine as off-topic, conversation moved forward

#

then i joined his discord, we talked a bunch, i pointed out some issues and pitfalls, we chatted and i gave a bunch of info etc

#

this was such a plesant interaction for me, even tho it started so poorly

royal nymph
royal nymph
#

seemed so to me

supple whale
#

idk

solid gazelle
#

how do i read offtopic comment

supple whale
#

hard to say without knowing the person

jade stone
#

click button in top right button

supple whale
#

its possibly he meant it that way, but considering my lib was named directly with that kind of reply, it didnt feel great

#

damn @royal nymph stop editing, its just making it worse XDDD

#

the nazi comment actually made me lol, was funny as hell

royal nymph
#

bro people like that actually exist

supple whale
#

no i know

#

i've met them

#

which is why i woreded what i said so strongly

#

because those kind of people were the 2nd worst interactions in my life

royal nymph
supple whale
#

lets just say, that person no longer has a functional gmail account because of how much spam they get daily

supple whale
#

authority/power abuse is already plenty bad, but when they smear that they are actively doing it in your face, those are the moments i think "this might be it, i might spend the next 30 years of my life in prison for murder"

supple whale
#

XDDD

#

there are unironically websites where u can just add some1's email

#

and they sign it up for like a massive index of newsletters

lyric latch
#

u use brave? dni tbh

lime knoll
stoic depot
#

does anyone know why there are multiple shapes and if they're just random or they actually mean something

frosty obsidian
#

they change over time

winged mantle
#

C++ is a world of STDs and FMTs

fierce pendant
fierce pendant
indigo yew
#

no stds, fmt and most importantly it can run anywhere anytime

fallen nebula
#
tls:connection from 162.186.132.66.censys-scanner.com:1270 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:1270 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:1278 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:1278 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:1298 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:1298 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:1328 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:1328 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51720 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51720 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51728 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51728 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51732 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51732 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51746 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51746 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51760 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51760 to internal:443
tls:connection from 162.186.132.66.censys-scanner.com:51774 to external:25565 forwarded from 162.186.132.66.censys-scanner.com:51774 to internal:443

"We're just scanning the web we're all good trust me bro, we're just doing nice security analysis and nothing bad"
the bros literally sending 10 consecutive requests on the same port with the wrong protocol on purpose so fucking often

supple whale
#

@jade stone holy fuck

#

holy fuck

#

holy fuck

#

holy fuck

#

Node.js crypto.createDiffieHellman().generateKeys() returns a Buffer that can be shorter than 96 bytes (~0.5% of the time, when the leading byte is 0x00)

#

holy fuck no fucking way XD

supple whale
dense sand
#

would never happen

supple whale
#

when i first wanted to port my app to android

#

then came to the conclusion "its gonna be easier to compile a custom version of nodejs for android, than to run java"

#

i was right!

dense sand
#

for me

#

obviously

#

ive seen perform it quite well with virtual threads in Spring Java 25 apps

supple whale
#

well

#

in java with green threads i was getting 80Mbit/s

#

in js on a single thead i was getting 800Mbit/s

#

¯_(ツ)_/¯

fallen nebula
dense sand
#

https://www.rxddit.com/r/SpringBoot/s/PNqVlUCxe0

ive read this and found it quite cool, i dont think its about performance, but it seems much more cost effective

fallen nebula
indigo yew
dense sand
fallen nebula
#

i'm not a big fan of spring boot

indigo yew
#

reject js embrace java web

#

the modern web was built for java, not js

fallen nebula
#

i'm gonna bring back applets

#

this is not a joke

dense sand
fallen nebula
#

no no

#

i mean real applets

#

Java 25 still support them

#

in 26 they gone

#

i want to make a last thank to them

#

so i'm gonna do smth on my website where there's a Java 25 applet

dense sand
#

i use kotler with my spring project and ive never been happier in a backend project

#

its really clean

fallen nebula
#

and it's gonna be a little CTF thing we're you're gonna need to figure out how to run it

#

on a pure HTML CSS website just having a Java applet as the dynamic part will be peak

supple whale
#

¯_(ツ)_/¯

dense sand
#

he mentions there was a memory leak in 3rd party package

#

that doesnt seem like his fault

supple whale
dense sand
supple whale
#

that said

#

running java OR node for a backend service

#

are both insane monkey takes

dense sand
#

honestly since its a microservice just use go

supple whale
#

the fact that people still raw-dog backends instead of using shit like postgrest or pggql, or even go

fallen nebula
#

not really

supple whale
#

is insane

fallen nebula
#

your service should just be a DB to rest translator anyway

#

also mariadb ❤️

supple whale
supple whale
#

like you might have a perms layer

#

but thats about it

#

or have a view which limits access to a table