#πŸͺ…-progaming

1 messages Β· Page 26 of 1

frosty obsidian
#

react probably overkill

dense sand
#

so i will use preact pepelaugh

dawn ledge
#

consider solidjs

royal nymph
#

nah

#

astro is very good

#

it's just that Astro is not meant to be used on its own for everything

#

you combine it with an ui framework

frosty obsidian
#

GUH

autumn sigil
#

they hated him because he was right

frosty obsidian
#

no starlight

#

interesting

autumn sigil
#

i stole the search

#

im doing some server stuff rn so site doesnt work blobCatCozy

frosty obsidian
#

i assume you didn't use starlight so that you could emulate the theme better

autumn sigil
#

mhm!

frosty obsidian
#

neat

autumn sigil
#

yeah it came out pretty good actually

frosty obsidian
#

i mean all the css was already done for you

#

that's usually the hard part

#

userdoccers being mostly mdx also saved you a lot of work

autumn sigil
autumn sigil
#

i had to patch a bunch of shit on the parser because they use a very outdated standard

frosty obsidian
#

guh

#

how did the styles differ

frosty obsidian
#

neat

fleet cedar
#

Meat

dawn ledge
#

no more shit- i mean next- i mean shitjs

#

alright nvm parent repo is still on shitjss

still jolt
dawn ledge
#

NOW

autumn sigil
dawn ledge
#

sad

autumn sigil
dawn ledge
#

i'll abuse my push perms to forcefully move to astro :^)

autumn sigil
#

obv theyre hesitant to swirch because its effort

dawn ledge
#

||/j||

#

what kind of effort

#

does the markdown content need editing

#

or would it just work by swapping out nextjs for the astro source

autumn sigil
#

the list of the headers is autogenerated from md source so those could use a bit of cleaning up, lots of just jsonparams

dawn ledge
#

(write a script)

autumn sigil
#

meh

dawn ledge
#

sed it superyes

autumn sigil
#

if you wanna spearhead this be my guest πŸ™ ill help fix stuff thats necessary

median root
#

ok why can i not open dev tools on vesktop (asahi linux btw)

elder yarrowBOT
median root
#

yeah small issue i got the dev build and all i want to do is open the console which is not just vencord related

dense sand
#

any spring security person here pwease

fleet cedar
#

Only winter here

dense sand
#

lol

median root
#

ok for macos do we like amethyst, aerospace or yabai for ricing (or any other alternatives) ive been meaning to clean my terminal etc up for a while and need a push to get it done

#

or even something like dwm might work if i can figure out a nice way to make it work

sturdy stirrup
#

@jade stone well I cant respond in #πŸ‘Ύ-core-development but yes they do. I was working on a customized silent type plugin and noticed all my falsy inputs were being ignored

{
    name: "chat-icon",
    description: "Show an icon in the chat bar for toggling the plugin on the go.",
    required: false,
    type: ApplicationCommandOptionType.BOOLEAN,
},
fiery lagoon
#

Hello everyone!
Im new to Vencord / BD plugins, and im trying to write an actual AdBlocker for YouTube player. Any ideas how to do it?

#

Im thinking either adguard DNS, or just blocking specified domains or elements in client

fiery lagoon
#

huh?

#

does it?

dense sand
#

I think so

fiery lagoon
#

huh

jade stone
#

@sturdy stirrup dont you have a commit merged already

fiery lagoon
dense sand
#

Idk

sturdy stirrup
jade stone
#

run vgh in #πŸ€–-bot-commands

fiery lagoon
#

Anything bro

dense sand
#

Pretty sure i saw it in vencord plugins

#

Just search for it

jade stone
#

vp adblock

elder yarrowBOT
sturdy stirrup
#

nice didnt know you had to do it after the commit was merged

dense sand
#

Yea

fiery lagoon
dense sand
#

No

fiery lagoon
#

hmm

spark tiger
#

been hearing a lot about it

fiery lagoon
#

yeah, might be, that's why im wondering if It's better to do it via DNS for example

fiery lagoon
# dense sand No

well i found it in source code lol, tho vencord uses typescript which i dont understand lol

dense sand
#

If you know js well just read the docs

fiery lagoon
#

Well, i know js a bit, but just a bit

median root
#

I just really suck at window management and I need something that actually incentives me to close my finder windows or terminal tabs after I'm done with them

fiery lagoon
#

Hmm

#

Is there a way to load local plugins in vencord?

#

For example from local file

jade stone
#

so useful

fleet cedar
#

They must

autumn sigil
spark tiger
valid jetty
#

option #2: rename javascript to rustscript

median root
#

Would be better for marketing at this point

jade stone
worldly flax
fleet cedar
#

Congratulations you are the 1740289th person to find that

fallen nebula
#

Copilot is perfect...

dense sand
#

Can we get vencord aoc lb

valid jetty
#

advent of code written in veev

mild arrow
#

How

#

Do I get banner

frosty obsidian
#

v+ needy @mild arrow

royal nymph
autumn sigil
#

no aces

viscid grove
#

why no access :(

autumn sigil
#

slow

viscid grove
#

bad at typing

#

you don't have any aces, but I don't have any access:p

dense sand
#

Also no access

ornate quiver
#

ive never finished aoc

#

attempted 3 times

#

lol

viscid grove
#

ive never failed aoc

#

attempted 0 times

#

I'm so good

autumn sigil
ornate quiver
#

before that kotlin
was fine until the jvm failed me

inner bone
#

I have a question, how to get the latest version of vencord in plugin? Like in /vencord-debug

still jolt
# royal nymph

no access :( (I'm totally not the 4th person to say this)

elder scaffold
winged mantle
#

torture.

jade stone
#

I should do the AOC in nix

dense sand
#

You should do it in typescript types

#

Since they are turing complete

ionic lake
#

do it in jq

still jolt
#

do it in awk

fleet cedar
#

Do it in cat

distant cobalt
distant cobalt
royal nymph
#

just beat one

#

this one

royal nymph
#

"hard" challenge
look inside
wires

#

why is typescript like this

#

ig cause the former is a Tuple not array

dense sand
#

Meanwhile in java you cant even pass primitives in generics

jade stone
#

The length prop of a string is only available at runtime or smth

kind ocean
#

ok

dense sand
valid jetty
dense sand
#

Jesus

magic shale
#

is typescript's type system turing complete

dense sand
#

Yes

deep mulch
#

aoc channel/thread when @royal nymph

ionic lake
#

already exists

#

I can't seem to access it though like I could

deep mulch
#

@ionic lake hiii

ionic lake
#

hey

#

whats good

deep mulch
#

wbu

ionic lake
#

doing good

dense sand
royal nymph
#

should we do one single channel or should we do a forum and make a post for every day

deep mulch
#

forum would be funny

nimble bone
#

normal channel is sane enough

deep mulch
dense sand
supple whale
supple whale
#

any chance some1 knows why a patch that works in vesktop fails in web?

#

i copied vesktop's menu bar patch

#

but it doesnt seem to work

#
{
  find: "platform-web",
  replacement: {
    // eslint-disable-next-line no-useless-escape
    match: /(?<=" platform-overlay"\):)\i/,
    replace: "$self.getPlatformClass()"
  }
},
#
getPlatformClass() {
  if (isMac) return "platform-osx";
  return "platform-win";
}
#

skill issue? or is it actually something different about vesktop

fleet cedar
#

Web doesn't have a menu bar, does it?

supple whale
#

indeed, the patch is there to enable it

#

like vesktop does

fleet cedar
#

Did you check with patch helper?

supple whale
#

but it doesnt seem to...

#

with what now

hasty vessel
supple whale
hasty vessel
#

ye lol it just uses that

royal nymph
#

make sure your plugin is actually enabled

supple whale
#

hm

#

and idk, struggling ig

#

i dont like this whole "yeah figure out plugins urself" shtick

umbral mirage
valid jetty
#

@veeeeeeeee private leaderboard link when

nimble bone
#

adveet of code

royal nymph
#

okay soon

#

should we make it regulars only

#

let's make it regulars only

calm ruin
#

I will never get javascript

#

why does
window, this, self, globalThis ALL POINT TO WINDOW

#

"this" is understandable

deep mulch
royal nymph
#

it was added because it was complicated to properly get global in all environments

#

nodejs has global, web has window / self

#

self is inside workers

#

so all websites had ulgy code like

const globalObject = typeof global !== "undefined" && typeof process !== "undefined" ? global : typeof self !== "undefined" ? self : typeof "window" !== undefined ? window : typeof this !== "undefined" ? this : Function("return this")();
royal nymph
# royal nymph so all websites had ulgy code like ```js const globalObject = typeof global !== ...

discord also has it blobcatcozy

668530: function(t, r, n) {
        "use strict";
        var e = function(t) {
            return t && t.Math === Math && t
        };
        t.exports = e("object" == typeof globalThis && globalThis) || e("object" == typeof window && window) || e("object" == typeof self && self) || e("object" == typeof n.g && n.g) || e("object" == typeof this && this) || function() {
            return this
        }() || Function("return this")()
    },
#

you love

#

this is just to get the global object posttroll

#

that's why they added globalThis, it works everywhere (that supports it)

#

discord has this code (or similar equivalent code) like 7 times

deep mulch
#

2028 they will add another

#

globalThat

#

universalThis

supple whale
# calm ruin why does window, this, self, globalThis ALL POINT TO WINDOW

because they are all different things,
window is window, only when there's actually a window, aka a DOM
this is the context, it can be window, it can be undefined, it can be an object
globalThis is the global execution scope, not always window, especially in workers, sharedWorkers, and its also compatible across js envs such as node
self is made for service workers, which references the sw context, which can in some cases not be global

#

simply use globalThis and not give a fuck

#

its not really ur job to add backwards support, its up to the compiler such as webpack or rollup which the end developer would configure

#

i guess exceptions would be shit like workers, since there's still not a good standard for importing and compilign worker code

#

i like webpacks new Worker(new URL('library/worker.js', import.meta.url).href) the most

#

mainly because its valid syntax and works outside of webpack too

supple whale
#

it actually makes my blood boil holy shit

#

this is cursed

calm ruin
#

so bad

fleet cedar
umbral mirage
#

i love globalThis

nimble bone
dense sand
#

came for scraper, got jquery, 0/100

nimble bone
#

very very bad

dense sand
#

or be like me...

#

i should start using prettier lol

winged mantle
#

uglier

nimble bone
#

explode

ornate quiver
#

i hate prettier so muhc

#

its awful

#

i hope someone has made a better formatter

dense sand
#

What should i use then

#

Why prettier sucks?

ornate quiver
#

subjective but i disagree with a lot of the formatting rules in prettier
and since its an 'opinionated formatter' there's no way to change it

valid jetty
#

rustfmt >

ornate quiver
nimble bone
#

oh

#

i just use a very light config for many of my projects

pearl stagBOT
nimble bone
#

add useTabs: true

thorny prism
#

hi i am looking for a c# group to make things (not expecting to be paid)

calm ruin
#

I just enabled highlight updates option in react devtools

#

and wow

#

disord seems to use react properly

#

its kinda increadible for them to achieve this bad performance with somehow sane code that doesnt rerender every millisecond

autumn sigil
#

react still terrible

sour tide
#

a

dense sand
#

why is shadcn so advertised when its just radix ui bruh

nimble bone
#

guhh

#

its bad react slop

dense sand
#

guys which web projects do you find appealing

#

im literally out of ideas lol

still jolt
#

http://vanilla-js.com/ ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

hasty vessel
naive fulcrum
#

Also here, something different: Any DiscordJS Developer here who is open for comms? :3

dense sand
#

just learn coding

naive fulcrum
#

You know there are people who do not have the time to learn this. And this people pay others for it πŸ™‚

dense sand
#

That is very much understandable

naive fulcrum
#

And before seting up people on Fiverr i put it in here cause I like this community and wanted to give people who might need the money a chance before I give it to another

#

:))

autumn sigil
#

how much money

royal nymph
naive fulcrum
naive fulcrum
dense sand
#

i used to make minecraft plugins for like 10$ and i scammed myself for probably a lot of money im realizing now

naive fulcrum
#

I mean I am also looking for Java Devs

#

And no I do not underpay

dense sand
naive fulcrum
#

Send you a PM

#

*FR

placid cape
naive fulcrum
placid cape
#

i can do the discord part

naive fulcrum
#

-- Job opening closed --

Found 2 nice devs. Thanks for everyone who wrote me :3

ember zealot
#

What did I just witness

median root
#

a small case of unemployment being solved with programmers

serene elk
#

peak

ornate quiver
#

peak

ornate quiver
stoic helm
#

vlc has native liveleak support

viscid grove
#

ok doing this advent of code is slightly harder in google sheets than i thought it would be
(oh oops didn't realize there's a channel for this)

#

well more annoying than difficult

#

i wish reduce() did what i want :(

deep mulch
#

@royal nymph you

#

program i am using segfaults on close

#
#0  destroy_queued_closure (closure=closure@entry=0x555555575f40) at ../wayland-1.23.1/src/wayland-client.c:284
#1  0x00007ffff7e98369 in wl_event_queue_release (queue=queue@entry=0x55555558c5d8) at ../wayland-1.23.1/src/wayland-client.c:341
#2  0x00007ffff7e98720 in wl_display_disconnect (display=0x55555558c4e0) at ../wayland-1.23.1/src/wayland-client.c:1366
#3  0x00007ffff7f26cf0 in _glfwTerminateWayland () at /usr/src/debug/glfw/glfw-3.4/src/wl_init.c:991
#4  0x00007ffff7f0edeb in terminate () at /usr/src/debug/glfw/glfw-3.4/src/init.c:124
#5  0x00007ffff79a4c62 in backend::end() () from /usr/lib/libsdrpp_core.so
#6  0x00007ffff786fe19 in sdrpp_main(int, char**) () from /usr/lib/libsdrpp_core.so
#7  0x00007ffff7634e08 in __libc_start_call_main (main=main@entry=0x555555555020, argc=argc@entry=1, argv=argv@entry=0x7fffffffd5a8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#8  0x00007ffff7634ecc in __libc_start_main_impl (main=0x555555555020, argc=1, argv=0x7fffffffd5a8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffd598) at ../csu/libc-start.c:360
#9  0x0000555555555055 in ?? ()
#

i told author

#

they said its glfw fault

#

they kinda scare me

#

and i dont wanna argue with them and idk how to interpret gdb backtrace

royal nymph
#

what libraty

#

or program

deep mulch
#

sdr++

royal nymph
#

insane what is that

deep mulch
#

apparently doesnt happen on X

#

a thing

#

for sdr

royal nymph
#

chances are they have no clue

royal nymph
#

idk why it happens or how to fix but people expect me to know blobcatcozy

deep mulch
#

wrong

#

you do

ornate quiver
#

what the fuck was intel cooking when it made avx2

autumn sigil
#

cisc was a mistake

timber root
#

does golang suck? (my friend is convincing me to try it)

valid jetty
#

if err != nil {
return nil, err;
}

ionic lake
#

what she said

#

error handling is terrible but honesty, not a bad language

autumn sigil
#

the error handling being like this is a feature not a flaw

stoic helm
#

ill tell her to update then

#

bc we were debugging issues with streams

#

we thought she was up to date

winged mantle
#

is there an insomnia alternative which doesn't have annoying account stuff

#

i upgraded insomnia and it deleted my project with no option to restore it

#

and insomnia might be open source but it's super artificially limited with what you can do locally

frosty obsidian
#

original insomnia dev made a new thing

winged mantle
#

just found it

#

i love arch

#

instead of people providing packages you need to find suspicious looking aur packages

#

yaak?

frosty obsidian
#

yeah

calm ruin
winged mantle
#

yaak

winged mantle
calm ruin
#

Looks good

#

Love

#

What does yaak stand for

#

I bet its related to sleep issues again

frosty obsidian
#

probably Yet Another Api Client

#

just using a k instead of a c to reference the animal

calm ruin
#

Would make sense

ornate quiver
#

terrible language

royal nymph
#

Crystal is unironically such a good language, it's just a shame the language server is a bit lacklustre in some aspects

ornate quiver
#

it's like a joke language that somehow became popular
there is so many baffling decisions made as a result of ignoring decades of modern language development

#

yop

fleet cedar
#

Error handling? What's that?

#

Sum types/adts? Never heard of it

#

Unused variables? We don't do that here

ornate quiver
#

even something as shrimple as generics took like a decade and are still very mid

royal nymph
#

Go is a very solid and simple language. I wouldn't listen to these opinions, they're subjective. Just give it a shot if it seems appropriate for what you want to build and see if it's for you

ornate quiver
#

yeah if you like it that's fine
but just because go is objectively simple, doesn't mean it's easy
the complexity is always hidden away somewhere

royal nymph
#

Go is very easy lol

ornate quiver
#

easy on the surface
go a bit deeper and you realize how much of a mess there is (from my pov)

royal nymph
#

Go sticks with a very simple, deliberately limited syntax with little abstractions

Thanks to that, you can learn the core language and get used to its syntax within a few days, in tradeoff for more "boilerplate" in some things

And the stdlib is plentiful with good documentation and multiple sites filled with useful example code snippets

fleet cedar
#

I would put no abstraction as a massive con, not a pro

ornate quiver
#

yeah

#

makes it painful

royal nymph
#

subjective

fleet cedar
#

I cannot refute that

royal nymph
#

kotlin code is often very difficult to understand if it wasn't written by you

fleet cedar
#

Though in its defense, python was made in 1991

#

Kotlin tends to turn very dsl yeah

viscid grove
#

i like kotlin, but i've never really learned the basics i just jumped into contributing to a minecraft mod in kotlin

ornate quiver
royal nymph
#

Kotlin, Rust, etc

#

it's so hard to understand stuff because it's so abstraction heavy

#

i dislike that

#

Lack of heavy abstractions makes it much easier to understand code. I can understand other people's go code without needing a PhD in rustology aquaSalute

worldly sigil
#

i remember seeing one of the original go developer's (brian kernighan i think?) mentioning in a quote or talk that go was designed to be kinda dumb and simple, since one of their goals was to make it so a beginner and expert would always write generally the same specific code to solve a problem

fleet cedar
#

But you have to read two phd theses' worth of boilerplate to figure out what a golang program is doing

royal nymph
#

that's a bit exaggerated

#

it's not that bad

worldly sigil
#

and when the original implementation was being written internally, he also mentioned that they had a sort of implicit deal with eachother that if one of them wanted to add a specific feature to the language, they needed to sell the idea to the other 2 or 3 people working on it before they can add it

nimble bone
#

ive been wanting to try go for soooo much time but i haven’t yet

royal nymph
#

also writing go just feels very run and refreshing to me

ornate quiver
#

it starts to all make sense when you learn rob pike called syntax highlighting an infantile disorder

jade stone
#

regex my beloved

viscid grove
#

wtf is that

#

that looks nonsensical

#

all the regex i write much easier to read than that?

#

ig i write regex for different things

jade stone
gilded surge
# jade stone regex my beloved

lowkey not even that bad

(?P<localPart>^(?:(?:\"(?:(?:[a-z0-9!#$%&'*+\-\/=?^_`{|}~,<.>;:\|}\]\[\-()@])|(?:(?:\\\\)|(?:\\\")))*\")|(?:(?:[a-z0-9!#$%&'*+\-\/=?^_`{|}~]*)|(?:\.[a-z0-9!#$%&'*+\-\/=?^_`{|}~]))){1,64})@(?P<domain>(?P<sld>(?:(?:(?:(?!(?<=@)\d*(?=\.))))(?:[0-9])|(?:(?<!@)\-(?!\.))|(?:[a-z]))*)\.(?P<tld>(?:(?:(?:(?!(?<=.)\d*(?=$))))(?:[0-9])|(?:(?<!@)\-(?!\.))|(?:[a-z]))*))

this is one i wrote that's way worse

viscid grove
#

what the fuck

#

this group it useless?

#

and wtf is it even for

gilded surge
#

email validation :3

viscid grove
#

it seems like you could just do . instead of this horror```
[a-z0-9!#$%&'*+-/=?^_`{|}~,<.>;:|}][-()@]

gilded surge
#

its not all chars

#

just those

#

it cant be all of unicode

#

and it doesn't support literal . as per IETF standards

viscid grove
#

maybe you shouldn't do it all with regex then?

gilded surge
#

felt like it

#

i also had to implement a stop if it goes over 2k steps because its prone to runaway

#

its so poor quality but if it works it works

viscid grove
frosty obsidian
#

best email validator

viscid grove
#

wow

#

flawless

frosty obsidian
#

validating an email with regex is insane bc urls/email addresses are an incredibly weird standard

#

theres so many edge cases and order of operations shit

#

its easiest to just check if the input contains a "." somewhere after an "@"

odd lake
#

The correct way is to send an email and see if it works

#

πŸ‘

frosty obsidian
#

true but some extremely simple validation should at least be done client side

odd lake
#

yeah

#

split(@) and make sure the 2nd part is vaguely domain like and you're good

frosty obsidian
#

some languages have url parsing in their stdlib you can also use

autumn sigil
#

java/kotlin oop hell is so bad

lavish cloak
#

Chat, so let's just say I have some confidential files in my external hard drive, mostly images, videos, documents and PDFs in a folder, that's around 100gb in size. How do I hide/disguise them so that the police won't see them when they search my files? (They're just evidences of me and a few friends plotting shits against the dictator and other illegal stuff like our protest marches etc. that could get us end up in the gulag)

I thought of 2 ways, I could just hide them, like hidden folder, but it's just a matter of ticking a box in their computer and also they can see the space occupied in the drive and will notice a 100gb missing. Or, this smarter method, I can zip the folder, and rename it into a .java file and tell them it's my programming stuff and they won't know what a java is and will just assume having a 100gb java file is normal. But the downsize is that I would have to uncompress it every time I want to access a file (which takes about 3 hours), and also when you open the java file, you would see the ZIP keyword in it, which just gives it away.

Orr, I could just hide it in plain sight, which I've tried before, where I would copy the folder structure (not files) of my C drive, and then put the 100gb folder somewhere in it, so like maybe AppData/Chrome/Update/[Folder here], along with other empty seemingly system files. But again, this can be easily discoverable with a file scanning tool which will show the location of where most large files are. So, what about putting it in another partition that is only accessible by me on my laptop, and not by anyone else in other laptops? Like when you plug a drive in the USB port, it mounts all the partitions, but what if I make it default so it looks like there is only 1 mountable partition and the other "hidden" partition looks like a system partition, but it's not and I have to manually mount it, and I'll be able to access the files after I do. How's that? Would that work, like is that possible? If so, how would I do it? Is there any weaknesses to that method? Or are the other three methods i mentioned superior?

median root
valid jetty
#

why does it need to be on that hard drive

#

its kinda hard to hide 100gb

#

lmao

elder scaffold
valid jetty
#

that too

elder scaffold
#

Encode it in brainfuck

#

Step 0 is to not plot shit against a dictator

fleet cedar
timber root
# ornate quiver YES

thanks for answers guys, i will never ever touch it and my another friend won an argue because of these messages

nimble bone
#

try out the language yourself and make an opinion yourself

timber root
#

lazy

#

its much easer to ask pros

tawdry fern
#

Hey how can I made my own plugin

#

Can u provide me a link please

dense sand
#

no

tawdry fern
#

Thanks

royal nymph
# lavish cloak Chat, so let's just say I have some confidential files in my external hard drive...
  1. don't post a confession in a public server
  2. enable full disk encryption with a very strong password for one of your disks, don't tell it anyone or write it down anywhere
  3. move the files onto the encrypted disk
  4. overwrite all your unencrypted disks that had any of this data at any time fully with random bytes to ensure there is no data left recoverable
  5. make sure your disk is actually encrypted if your house ever gets raided (i.e. make sure your pc is powered off)
  6. realise that if you live in a country where you need to fear punishment for resisting against the government, they probably won't care if they find something or find an encrypted disk, they will make up some bs reason to arrest you if they want
gray heron
#

@frosty obsidian jolly wong i require assistance

frosty obsidian
#

doing aoc

gray heron
#

darn

#

ping me when not busy wingus prayumaru

viscid grove
#

just forget the password

#

simple as that!

#

(well don't remember it in the first place)

elder scaffold
median root
#

ok soon i wanna try making a mobile app from scratch what are the best langauges to do something like this in? and should i build it with gradle or is there something better?

cerulean plover
gray heron
valid jetty
#

keep in mind that react native is far better than flutter and its not even close (if you wanna go that route)

fleet cedar
#

Everyone knows the only correct way to make mobile apps is to make terminal programs and run them in termux

valid jetty
#

true

frosty obsidian
viscid grove
winged mantle
#

😭 updated yaak

#

tip

#

if you use a glorified ui for fetch do not update it

autumn sigil
#

why use a ui

winged mantle
#

ah... this seems fair

#

it's a bit confusing

#

it looks like you need to pay to use it

wheat kernel
royal nymph
#

if you live in a country with poor rights they will just torture you until you give them the password

brisk bluff
royal nymph
brisk bluff
#

yes but if you raid someone and find out they use veracrypt and they give you the password and you see uninteresting data then it's obvious there's a hidden volume

royal nymph
#

that's why you don't put "uninteresting data"

#

To the outer volume, (before creating the hidden volume within it) you should copy some sensitive-looking files that you actually do NOT want to hide. These files will be there for anyone who would force you to hand over the password. You will reveal only the password for the outer volume, not for the hidden one. Files that really are sensitive will be stored on the hidden volum

brisk bluff
#

i mean sure, but they will be aware of that possibility as well

#

just the fact that you're using veracrypt will heavily imply a hidden volume

royal nymph
#

shrug

if your jurisdiction tortures you to give out data, if they believe you did anything and can't find anything, they will just make up bogus charges and execute you

#

encryption still goes a long way

autumn sigil
#

just dont have incriminating info? clueless

wheat kernel
autumn sigil
#

be a model citizen blobCatCozy

wheat kernel
#

just don't end up in gitmo

#

and if you do give em what they want

#

Β―_(ツ)_/Β―

autumn sigil
#

gitmo?

brisk bluff
#

i was assuming a scenario where it does matter

wheat kernel
#

thats the point xd

brisk bluff
#

ex. a normal law enforcement raid

royal nymph
brisk bluff
#

if law enforcement sees veracrypt they'll 100% assume hidden volume

wheat kernel
royal nymph
#

they have to prove your guilt

brisk bluff
#

i guess

royal nymph
#

it is not illegal to have an encrypted volume

wheat kernel
#

"idk what you're talking about officer, all i see is empty space"

brisk bluff
#

real

wheat kernel
#

because that's all there is

royal nymph
#

or you could just admit it but refuse to give them the password

wheat kernel
#

makes your life easier if you don't

brisk bluff
#

technically wouldn't used space size reveal it?

royal nymph
#

so they have no legal basis to punish you for not giving out your password

#

they either have to crack it somehow or have to cope

brisk bluff
#

what if you're in one of those few jurisdictions and you tell them you forgor blobcatcozy

wheat kernel
#

in canada they can't force you

royal nymph
wheat kernel
#

cuz it's considered speech

#

and the right to not self-incriminate applies

#

pretty cool

lavish cloak
#

I live in the country where the dictator is good friends with Putin, Kim jong and xi, we don't have human rights here to defend our data 😭

hushed pebble
#

also, what country

#

Oh.

#

Military junta

dense sand
#

https://youtube.com/shorts/hq7EJRgJXog sometimes I'm telling myself that i shouldve kept instagram account

Javascript is the final boss..

You might think you’re having a breeze especially if you’re a computer science major first stepping into web development.

As the first things you’ll learn is html and css.

And same for coding bootcamp students.

But the truth is.. that’s just preparing you for something very very big.

And it’s javascript.

It’s...

β–Ά Play video
valid jetty
#

who the fuck takes notes when programming

#

β€œyeah i’ll need to remember that the type of NaN in js is a number”

#

β€œlet me write that down”

serene elk
#

notes more useful when you need to architecture something first before implementing

fleet cedar
#

Nah, architecturing can wait

serene elk
#

or else you can end up writing code and re-writing a bunch of times

#

to get a proper final solution

valid jetty
#

i do that lmao

#

currently going through my 4th refactor

serene elk
#

did it ever get functional tho?

#

cuz I mean having to rewrite before it gets functional

fleet cedar
#

I've been spending the last week refactoring a major component at work

serene elk
#

since the idea in your brain wasnt thought enough and had flaws

fleet cedar
#

Looking forward to resolving the merge conflicts

serene elk
#

not much your fault it wasnt done good before πŸ˜›

#

or is it

fleet cedar
#

I wrote that component

fleet cedar
#

I wonder how many files I've not touched in that refactoring

#

Can't be that many

serene elk
#

refactor once -> look at it two days later -> wait why is this done like this

fleet cedar
#

I wanted to do another refactor, kinda syntax sugar thing, but due to a msvc bug I can't :(

autumn sigil
valid jetty
#

because that stuff is usually pretty easy

dim cave
#

if i wanted to make a program that added cool particles and trails nshit to my mouse, what programming language would i use?

lucid trail
#

jsx and electron

dim cave
#

nvm

#

ifound it

#

its not EXACTLY what i wanted but mf im takin it

kind ocean
#

nah

dense sand
elder scaffold
#

why is it saying this (im in a java project)

fleet cedar
#

Because you know you want to

nimble bone
valid jetty
#

i just realised macros are technically compile-time interpreters

winged mantle
#

so are typescript types

woeful perch
#

@vale geode i am bord help me :>

#

hm

#

anyway Hello :>

pearl vine
#

Clyde was lobotomized

whole cove
#

i pro all over my gaming

formal belfry
#

Wgat

icy needle
#
fn main() -> int {
    io.say("hello!")

    sc c1, c2, c3 := 'c', 'b', 'a'
    sc concatted := {c1, c2, c3} // strings are char arrays

    sc a := 5
    sc adder := create_adder(a)
    io.say(adder(3)) // 5+3
    io.say(create_adder(10)(20)) // 10+20

    // sc num_ptr:int* = new ? as 0
    sc num_ptr := new int as 0

    if (nullable_returner(false)) |ret_val| {
        io.say("the nullable returned number: {ret_val}")
    }

    rc arr := {5, 3, 8, 6}

    sc accum := 0 += for (_ in arr)
    // += effectively expands into arr.len prefixed addition ops

    io.say("contents:", for (_ in arr)) // "unfold" elements of the array
    io.say("sum:", accum)

    for (elem in arr) -> {
        // do something
    }
}

fn create_adder(int num1) -> fn(int num2) -> int {
    return fn(num1 + $1)
}

fn nullable_returner(bool ret_null) -> ?i32 {
    // if ret_null then null else 42
    if (ret_null) null else 42
}```
#

how bad does this look

fleet cedar
#

Is sc and rc some kind of types?

icy needle
#

@valid jetty

icy needle
#

the idea is sc will be the go to for most things

#

it'll auto free heap objects once out of scope

valid jetty
#

syntax ideas

icy needle
#

ye

valid jetty
#

?i32 is a little weird

#

and the -> for for loops too

icy needle
valid jetty
#

it looks a lot like zig

#

like a lot

#

like zi

#

g

icy needle
valid jetty
#

lmao yeah i noticed

#

elle syntax at the very beginning was much more horror

icy needle
#

basically i want a fp lang that looks like a non fp lang

valid jetty
#

this is the very very first prototype

// Import statements follow a lib:file@{method1, method2...} format;
use elle:io@{print};
use elle:int@{random};

const languageName = "Elle";

// Use `pub` to make functions public so they can be imported by other files
// You *must* expose the main function for it to be runnable
pub op main() {
    let resWithThree: Int = randomWithMultiplier(3); // Returns a random number between 0 and 10 multiplied by 3 using positional arguments
    let resWithSixteen: Int = randomWithMultiplier(multiplier: 16); // Returns a random number between 0 and 10 multiplied by 16 using keyword arguments
    printMessage(
        "First result is %d and second is %d", 
        resWithThree, 
        resWithSixteen
    );

    let maybeRes: Int? = randomWithPossibleError();

    if (maybeRes) {
        // In this scope, maybeRes is just Int32 not Int32?
        printMessage("Result is %d", maybeRes);
    } else {
        // This is a character because it's a single quote.
        printMessage('a');
        printMessage("Oh no! We failed.");
    }
}

op randomWithMultiplier(Int multiplier) -> Int {
    // If a function uses keyword arguments they must *all* be keyword arguments
    // Use the ret keyword to return from the operation
    ret random(between: 0, and: 10, included: true) * multiplier;
}

// Operations can either return a value or void.
// `nil` is the undefined/null value in Elle.
// Use the '?' operator at the end of the return type to denote that the function can return nil.
op randomWithPossibleError() -> Int? {
    let result: Int = random(0, 5, true);

    // Match keyword works very similar to other languages
    ret match result {
        3 -> nil,
        val -> val,
    }
}

// No return argument needed if function returns void
// Note that this is *only* if the function returns void
op printMessage(String message) {
    printf(`[%s] %s`, languageName, message);
}
icy needle
valid jetty
#

whats a non looped for

icy needle
#

basically like variadic args but works everywhere

valid jetty
#

interesting

icy needle
#

it's not that unreadable

#

needs more work

#

😩

valid jetty
#

modern syntax looks nothing like it

use std/collections/array;
use std/split;
use std/cast;
use std/io;

fn s1(string contents) {
    Array<string> *parts = contents.split("mul(");
    i32 sum = 0;

    for i32 i = 0; i < parts.len(); i += 1 {
        Array<string> *numbers = parts[i].split(",");

        if numbers.len() > 1 {
            i32 left;

            string end = "";
            i64 right = numbers[1].strtol(&end, 10);

            if i32::try_parse(numbers[0], &left) && end[0] == ')' {
                sum += left * right;
            }
        }
    }

    return sum;
}

fn s2(string contents) {
    Array<string> *dos = contents.split("do()");
    i32 sum = 0;

    for i32 i = 0; i < dos.len(); i += 1 {
        string contents = dos[i].split("don't()")[0];
        sum += s1(contents);
    }

    return sum;
}

fn main() {
    string contents = io::read_to_string("input.txt");
    io::dbg(s1(contents));
    io::dbg(s2(contents));
}
icy needle
#

pretty rusty

valid jetty
#
use std/io;

struct Foo<T, U> {
    T a;
    U b;
};

fn Foo::new<T, U>(T a, U b) -> Foo<T, U> {
    return Foo { a = a, b = b };
}

fn Foo::double_all<T, U>(Foo<T, U> *self) {
    self.a *= 2;
    self.b *= 2;
}

fn Foo::get_a<T, U>(Foo<T, U> self) -> T {
    return self.a;
}

fn Foo::get_b<T, U>(Foo<T, U> self) -> U {
    return self.b;
}

fn main() {
    Foo<i32, f32> foo = Foo::new(100, 1.2);
    foo.double_all();

    io::println(foo);
}
valid jetty
icy needle
#

actual headcrab evolution in action

icy needle
valid jetty
#

here we go this is the one that has the most stuff

use std/io;

struct Foo {
    i32 a;
};

// `Foo`, only gets a copy of Foo
fn Foo::add(Foo self, Foo other) {
    return Foo { a = self.a + other.a };
}

// `Foo *`, edits in-place
fn Foo::divideBy(Foo *self, i32 num) {
    self.a /= num;
}

fn main() {
    Foo foo1 = Foo { a = 10 };
    Foo foo2 = Foo { a = 30 };

    // The compiler automatically passes a reference to Foo if the function needs `Foo *` and not `Foo`
    foo2.divideBy(15);
    Foo resWithInstance = foo1.add(foo2);
    Foo resWithStruct = Foo::add(foo1, foo2);

    io::assert(
        resWithInstance.a == resWithStruct.a,
        "Instance and struct methods should produce equal results."
    );

    io::dbg(resWithInstance, resWithStruct);
}
icy needle
#

and it's already obvious what lang i'm writing in

valid jetty
#

lmao yeah

dawn ledge
#

gleam ahh imports

royal nymph
dawn ledge
#

is it gc'd

valid jetty
#

it’s manual

#

atm

valid jetty
#

that doesnt exist yet

#

its a syntax prototype

void leaf
#

I don’t care what anyone says. I will write pure HTML until the day I die.

pearl vine
#

Using frameworks for static sites is weird

nimble bone
#

but that’s more of a SSG than a framework

crimson sparrow
#

Svelte BocchiBwaa

still jolt
#

vanilla-js ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

royal nymph
#

just throwing insane bloat at it is

#

not every framework is bloat

#

if you make ur static site an entire nextjs react gigaslop app, sure

#

but if you use something cute like astro or svelte, that's alright

icy needle
#

what was i thinking πŸ’€

calm ruin
#

astro is good for static sites

#

svelte......

autumn sigil
calm ruin
#

oh he wanted static site

serene elk
#

I have searched it multiple times and I still dont get what it is exactly

royal nymph
#

that's about it

serene elk
#

iirc I saw useState in their website and I was like... that's the same?

royal nymph
#

createSignal

royal nymph
serene elk
#

interesting

royal nymph
#
const [value, setValue] = createSignal(42);

createEffect(() => {
  console.log(value());
}) // automatically re-runs whenever `value` changes

const valueTimesTen = createMemo(() => value() * 10); // automatically recomputes whenever `value` changes
#

it also has inbuilt stores which function kinda similarly to Vencord settings proxy (though for changing properties you use setter function)

median root
#

ok someone help theres no way there isnt a smarter way to do this:

echo -e "<b> "$(date +'%A' | tr '[:lower:]' '[:upper:]' | sed 's/./& /g')"                  "$(date +'%d' | tr '[:lower:]' '[:upper:]' | sed 's/./& /g')"\n"$(date +'%B' | tr '[:lower:]' '[:upper:]' | sed 's/./& /g')"          "$(date +'%Y' | tr '[:lower:]' '[:upper:]' | sed 's/./& /g')" </b>" 
#

this looks horrible

#

i hardly know what its doing anymore

median root
#

its for my hyprlock setup

royal nymph
royal nymph
#

simple python / perl script or write it in a compiled language

median root
#

all i have is hyprlock.conf

#

and this stupid label thing

royal nymph
#

yes but you can just make a script/binary that prints that and call the script

median root
#

oh yeah cuz it can run commands

#

thanks

autumn sigil
# serene elk interesting

it also only "renders" once, the function only runs once and the dom gets updated from reactive value triggering effects

ornate quiver
#

also no virtual dom

dense sand
#

yall youngsters want everything virtual these days

dawn ledge
#

very opinionated

autumn sigil
#

man fuck this shit

dawn ledge
#

they added "ai help" in chrome

#

i fucking hate it

nimble bone
#

then don’t use it

dawn ledge
#

it shoves it up my face whenever i open dev tools

dense sand
#

i might consider switching to laravel from spring boot

#

i dont know any other mvc based backend frameworks

#

please help me

autumn sigil
#

dont use mvc?

#

its very simple

autumn sigil
#

omg crystal logo song

solid gazelle
#

how can i like measure electron ipc speed reliably

#

maybe ill ask in an electron server

fleet cedar
hushed pebble
hushed pebble
#

Well

#

not quite

#

That's the speed of light

#

Electrons are even slower

#

or slower to some degree

#

no idea how

#

someone that isn't stupid can inform us all what the speed of an electron is

#

pls

crimson sparrow
#

i.e it’s arbitrary but definitely less than the speed of light

frosty obsidian
#

its faster than a snail

fleet cedar
#

You sure? I'd have guessed the electrons that make up the snail moves at the speed of a snail

median root
#

They orbit around the atom faster than the snail

#

Well at this point teleport but you get the point

dense sand
#

is it normal to have session based auth when the backend and frontend is splitted(laravel, nextjs)? or i should i use jwts

nimble bone
#

who cares

#

do whatever you prefer

dense sand
#

its more of a if people do it this way

ionic lake
#

jawts are easier to scale horizontally aka don't need storing them but are complex to implement securely than cookie based sessions

dense sand
#

i would implement jwts, but i want to be able to control the user logout, generally to do this with jwt, you would need a database already, but then it seems like jwts loose its point

ionic lake
#

yeah, no need

dense sand
#

https://www.youtube.com/watch?v=3DvBGGZfH-I
java is slow and outdated 😭 but have you ever tried it?

Similar to where I was rating Linux distros and made a wacky tier-list for them, I thought I'd do the same but with programming languages, since it only makes sense... Probably the final one of these I'll make!

It's like horoscopes but for nerds... featuring C#, C++, Python, Rust lang, and others...

If you're above 18, feel free to join our on...

β–Ά Play video
spark tiger
dawn ledge
#

tl;dr me

#

aint reading allat

signal oakBOT
#

The author argues that a programmer's first language significantly shapes their future coding style and problem-solving approach, potentially limiting their ability to adapt to different paradigms later. While not insurmountable, overcoming the ingrained habits from that initial language can be challenging. Essentially, your first programming language leaves a lasting imprint on how you think about programming.

snow grail
#

the obvious solution here is to not learn a first programming language but to learn 5 at once

hushed pebble
hushed pebble
#

Java isn't slow

#

but outdated, pretty much

crimson sparrow
#

Can’t recall the formula now though

#

One sec

dense sand
hushed pebble
dense sand
#

Javas purpose it to be very explicit and verbose and object oriented

#

Kotlin is more

#

Scripting i think

hushed pebble
dense sand
#

Then dont use it??

hushed pebble
#

I could say all of those are annoying, but it's really only the way Java does it, I think

dense sand
#

Like

hushed pebble
#

I'm just wondering why people prefer Java over any other JVM language

dense sand
#

It would largely depend on what i want to make

#

If i want to make backend service, i will still choose java because i like mvc pattern and spring does it well

hushed pebble
dense sand
#

ISuckMyCock actually violates javas naming conventions for interfaces

#

Its more c# thing

dense sand
#

Now we're talking

hushed pebble
#

class Femboy implements Submissive, Breedable

dense sand
#

extends Human

#

Or partiallyhuman

winged mantle
icy needle
#

WORKS EVERY TIME

#

how to defeat any functional programmer:

  1. tell them about the stack pointer
  2. profit
hushed pebble
hushed pebble
#

I'm only familiar with its use in TS

dense sand
#

Idk

#

Factorial?

icy needle
#

atoms are mutable refcells so you use ! funcs for them

hushed pebble
icy needle
#

clojure

hushed pebble
icy needle
#

husk tu-

hushed pebble
dawn ledge
#

matter

icy needle
#

Atoms are the basic particles of the chemical elements. An atom consists of a nucleus of protons and generally neutrons, surrounded by an electromagnetically bound swarm of electrons. The chemical elements are distinguished from each other by the number of protons that are in their atoms. For example, any atom that contains 11 protons is sodium...

frail turtle
# hushed pebble what is an atom

Atoms are the basic particles of the chemical elements. An atom consists of a nucleus of protons and generally neutrons, surrounded by an electromagnetically bound swarm of electrons. The chemical elements are distinguished from each other by the number of protons that are in their atoms.

hushed pebble
#

buh

crimson sparrow
crimson sparrow
#

Or maybe just subatomic particles in general

fleet cedar
#

They don't matter

median root
#

They are made of basically nothing

celest lodge
#

they are magic

#

i do not believe in them

ornate quiver
ivory heath
ivory heath
fleet cedar
#

MOP? 🧹 πŸͺ£

ivory heath
#

That structure is stupid tho because you end up with a lot of classes that do nothing but manage messages

fleet cedar
#

I'm more of a sanity oriented programming kind of guy

#

If there's no invariants to maintain, just make that damn field public

ivory heath
#

I’m tempted to learn rust

valid jetty
#

rust is so good

ivory heath
#

Only thing it makes me happy about is the lack of β€œundefined” state

fleet cedar
#

That's one of the best parts

ivory heath
#

I hate the syntax the toolchain sucks.

fleet cedar
#

How

#

It has just about the best toolchain out there

ivory heath
#

I’m probably just mentally ill or stupid

#

Oh I remember now

winged mantle
#

i actually had an idea

#

what if you used a piano keyboard as a computer keyboard

fleet cedar
#

I think you would annoy your coworkers

winged mantle
#

assumed i have a job

#

well i do

#

my job is procrastination

#

i am a professional

valid jetty
#

my job is secretly being a ball of glitter

fleet cedar
#

You're failing then

#

How is it secret

valid jetty
#

well you havent seen me irl

#

so how would you know whether i really am secretly being a ball of glitter or not

#

i could be bluffing

formal belfry
#

rate my vs code setup :)

ivory heath
#

The gray keywords are unreadable to me and will probably cause eye strain or near sightedness

hushed pebble
hushed pebble
hushed pebble
winged mantle
#

if i have a job it will probably involve the same thing i do right now

#

which is sitting down a lot and writing code at a glacial pace

hushed pebble
#

:3

spark tiger
#

i love when i can't do my homework the other way

#

even tho this is a completely valid code that returns what is intended it just doesn't count it

spark tiger
#

why thumbsdown hunterthinking

autumn sigil
#

youre missing spaces on the imports and a newline after

#

bruh what is }catch(e){ who does that

autumn sigil
fleet cedar
#

In which case there are ways to opt into that

#

But in the common case, you do want to initialize stuff, so that's the most convenient

autumn sigil
formal belfry
formal belfry
autumn sigil
#

no never whats an error

#

my code just works

spark tiger
formal belfry
formal belfry
formal belfry
spark tiger
formal belfry
#

when i code python

#

i feel like im coding english

spark tiger
formal belfry
#

it don't give me the programming feel

#

you know

#

its too easy for a programming language

fleet cedar
#

Spice it up then, like I do

formal belfry
#

plus

spark tiger
#

if not python

formal belfry
#

my first lang is not english

spark tiger
#

anything complicated seems just like pointlessly making your life harder

formal belfry
#

i don't know how you're saying it

#

are you angry, annoyed?

#

its a argue or just simple talking?

spark tiger
formal belfry
#

even for simple tasks

#

plus

#

they are faster

spark tiger
formal belfry
#

but not easy as python

fleet cedar
#

Python is very good for aoc

formal belfry
#

what is aoc? i never heard about it and i don't want to read that document :|

fleet cedar
#

Programming puzzles of increasing difficulty pasted each day

formal belfry
#

if i got right

#

that mean simple things?

#

im sorry, im so dump T_T

fleet cedar
#

First few are simple

spark tiger
# formal belfry yeah

if you chose like c++, you'd probably have to manually write some stuff that is already present in languages like python instead of actually spending time on trying to solve the puzzle

fleet cedar
#

Just, read it

spark tiger
dense sand
#

im disgusted by availability of all backend frameworks for java, i will make my own instead

#
  • Spring is too complex for no reason, nobody needs 10 different filters for one single request
  • Ktor is too kotlin
  • Javalin is too inline, i want mvc and spring features
formal belfry
fleet cedar
#

Boilerplate is boilerplate

spark tiger
#

and not something you haven't even used before

formal belfry
#

hmm

#

you're right

#

if you want to do simple things

#

don't mind to use python

#

but

#

python is ASS for big projects

fleet cedar
#

Oh, certainly

formal belfry
#

i mean

#

its too fuching slow

#

but still peoples act like they found best programming language in the world

fleet cedar
#

It's fast to write and fast enough unless you're bruteforcing

formal belfry
fleet cedar
#

And that's a bad thing?

formal belfry
#

for someone like me

#

yes

#

i hate when everything is too easy

fleet cedar
#

Sure, write brainfuck if you want

#

I'm gonna stick with what's fun

formal belfry
fleet cedar
#

Brainfuck, yes

#

Do you not know of it?

formal belfry
#

no

#

but

#

the name is so radicles

cobalt ledge
#

reason it's "hard" is that the most basic thing takes 10 years

#

its just math

fleet cedar
#

Syntax is the least important part of any language anyway

cobalt ledge
#

+ to increment
- to decrement
< to move left
> to move right
. to output
[ ] for loops

fleet cedar
#

Python would be exactly the same language, only a tiny bit more obnoxious, if all keywords were emojis and the whole code was written backwards

cobalt ledge
#

I mean yes but a lot of people tend to be opinionated over syntax

formal belfry
cobalt ledge
#

There's people who dislike rust's syntax for example

formal belfry
fleet cedar
#

That sentence is a syntax error

spark tiger
cobalt ledge
#

Well doesn't completely replace it

spark tiger
formal belfry
formal belfry
cobalt ledge
#

Reason I say it's probably not going to replace C++ is due to like legacy codebases with bajillions of lines of code

#

And Rust itself doesn't integrate too well with C++ to my knowledge

#

(might be misinfo)

fleet cedar
#

There's still stuff legacy systems in cobol and fortran after all

formal belfry
cobalt ledge
formal belfry
spark tiger
fleet cedar
#

Yes, ffi is unsafe

spark tiger
#

at least that's what happens when you try to use a function from a DLL

cobalt ledge
#

Is it true that if you know Cobol you're guaranteed a job?

fleet cedar
#

If you're okay with hating every day, probably

cobalt ledge
#

Lmao

formal belfry
cobalt ledge
#

Sad

#

Hope you doing well

dawn ledge
autumn sigil
ivory heath
#

Rust does not have its own β€œsafe” abi and at this rate never will and even if it did literally everything talks in C not rust

ivory heath
ivory heath
#

Instead of β€œ1:1” mapping in like C because C++ supports more complex ideas like classes and interfaces, your language then has to support things like Fat pointers and integrate it c++ fat pointers as well

#

And it’s all a big cluster fuck

#

When C just works

autumn sigil
ivory heath
#

I didn’t literally quote it word for word but they have the same damn meaning

lost pawn
#

Is this a me problem or did the server list api break again?

#

Neither in nor above work

dense sand
#

if I have a function which accepts some variable array of strings, and returns a string(they are all unique), how would i go about constructing some sort of a dependency tree?

jade stone
#

@sharp frigate ?

sharp frigate
#

I've already set up Vencord dev, read the documentation about the first plugin, usersPlugins and plugin. However, it's very brief, and doesn't explain much about how Discord modules work. I noticed that Discord had modules and they were identified with numbers by reading codes on github

jade stone
#

get programming role from info

sharp frigate
inner bone
#

Please tell me how I can post my plugin? And if there are any unusual rules?

elder scaffold
inner bone
#

thank you

solar thistle
runic sundial
#

Yeah but in rust you can write yourself into a corner, and either have to box stuff or do a whole re-write to implement something that the system didn't account for

ivory heath
#

Async sodalove

fleet cedar
#

Async my beloved

ivory heath
#

My hated.

fleet cedar
#

Imagine not doing multiple things in parallel

ivory heath
#

Concurrency is good but function coloring isn’t

#

Real life example of why It’s bad even. https://youtu.be/TZxxWXVnb1E

Recorded live on twitch, GET IN

https://twitch.tv/ThePrimeagen

Reviewed article: https://corrode.dev/blog/async/
Author: Matthias Endler | https://x.com/matthiasendler?s=20

MY MAIN YT CHANNEL: Has well edited engineering videos
https://youtube.com/ThePrimeagen

Discord
https://discord.gg/ThePrimeagen

Have something for me to read or react ...

β–Ά Play video
still jolt
#

instead of watching him I just click the video, go to the description and read the actual article

ivory heath
#

Wrong video. I like him cause was an actual senior dev with experience in a fuck Ton of languages

#

It’s funny that the rusts community solution to this was effectively the same runtime golang uses

autumn sigil
#

slightly deranged

autumn sigil
ivory heath
#

To be honest idk which means which. I prefer just saying β€œmulti threaded” and concurrently