#🪅-progaming

1 messages · Page 118 of 1

royal nymph
#

like if it's an email it's somewhat believable if you somehow miss all the parts telling you it's an issue

but the moment you realise it's an issue, you should immediately know that github would never tag you in a random issue on some random repo for an announcement

#

the main point of the scam is the email

ornate quiver
tired vigil
#

How did they tag every single github user

ornate quiver
#

they didn't

#

they just tagged maybe like 10k

#

spread out over 500 issues

frosty obsidian
#

missed me

deep mulch
#

I left wing out on purpose

spark tiger
#

i’m so sad

dense sand
#

Does anyone know if there are any limits on github student copilot requests?

hoary sluice
#

i got this too

#

got another one from y combinator today

spark tiger
dense sand
#

I want to use claude with agent but idk how much i can use

jade stone
#

does anyone know what the point is of having jsx and jsxs be two different functions

fleet cedar
#

Probably 0.02% performance

jade stone
fleet cedar
#

Probably legacy stuff then

royal nymph
#

they're the same at runtime but in development they're different

#

they are used to warn you if there are missing keys

#

react has to differentiate between manually created arrays (doesn't need keys) and programmatically created arrays (.map(), etc)

#

that's what those functions are for

#

basically, whenever react creates an array (due to multiple children), it uses jsxs

<div>
    <p>1</p>
    <p>2</p>
</div>

becomes

jsxs("div", { children: [
    jsx("p", { children: 1 }),
   ...
#

because this array created by react doesn't need keys

deep mulch
#

react insane

formal belfry
jade stone
#

in dev it uses a parmaeter to warn for keys (false/true)

royal nymph
valid jetty
#

@deep mulch if i asked you to simulate the orbit of a satellite 300km above earth in low orbit how would you do it

valid jetty
valid jetty
deep mulch
#

oh my god hevc

valid jetty
#

if you wanna display it you need to also use simple harmonic motion stuff

#

this is what i did

#

is there a better way

deep mulch
#

what harmonic stuff

valid jetty
#

well, the angle

#

which i then turn into a coordinate using trig

deep mulch
#

ive doen this before and never had to use whatever harmonic motion is

#

basic vector stuff

valid jetty
tired vigil
deep mulch
valid jetty
valid jetty
#

im too stupid rn to think whether it simplifies down

deep mulch
#

youre overcomplicating it

valid jetty
deep mulch
#

are you rotating it??

valid jetty
#

??????????????/

valid jetty
deep mulch
#

you make no sense

valid jetty
#

the satellite is rotating

deep mulch
#

why does angle matter in this

valid jetty
#

its orbiting

deep mulch
#

no

#

rotating != orbiting

valid jetty
#

well

#

its orbiting a 2d celestial object

deep mulch
#

ive done this without angle stuff so i have no idea what youre doing

valid jetty
#

how did you do it

deep mulch
#

its just basic apply force in the forward direction

#

iterate through all bodies, calculate force and apply

valid jetty
#

girl im rendering an ellipse at a position x and y

#

you dont have a notion of forces in this

#

unless i go and convert everything to use forces instead

deep mulch
#

youre overcomplicating it cause i have no idea what you mean

valid jetty
#

the ellipse on the screen is drawn at some position dependent on v and time

#

there is no concept of forces in this code

deep mulch
#

i dont think its accurately simulating then

valid jetty
#

it is because i calculate the orbital velocity and then use that to calculate the angle around the circle (the planet) that the satellite is at time T

deep mulch
#

nop

#

satellite is at a fixed height

#

satellites do not do that irl

valid jetty
#

it is at a fixed height, 300km above the planet at all times

deep mulch
#

its still not a correct simulation 😭

crude star
#

rosie insane

deep mulch
#

its the same as increasing an angle by 1 every 10 milliseconds

valid jetty
#

i had to make it 1000x speed, as if i didnt it would take 90 minutes to fully orbit the planet based on my values

#

based on these values

deep mulch
#

rosie so insane

crude star
#

"I came up with my own weird maths, here's why every physicist is wrong"

valid jetty
#

thats not

#

what

#

??????

#

this is not weird maths

deep mulch
#

rosie thinks satellites stay at the same altitude for eterntiy

valid jetty
#

zoot just doesnt know

valid jetty
#

youre assuming the satellite is in a stable orbit at a point of equilibrium

deep mulch
#

you could just simplify it to

val angleIncr = calculateForce()

while (true) {
    angle += angleIncr
}
#

thats what youre doing

valid jetty
#

i mean yeah

#

basically

deep mulch
#

its not true physics though

#

now add 3 more bodies

valid jetty
#

if it was true physics i would be accounting for quantum effects

deep mulch
#

no not even quantum

#

its just classical

valid jetty
winged mantle
hexed surge
#

Has anyone seen anything similar to having a double tag server?

jade stone
# winged mantle

isn't the whole point of any to perform type checking at runtime, therefore it can't be free

nimble bone
jade stone
#

how is this invalid

deep mulch
#

no angles

#

its beuatiful

valid jetty
#

none of these are in stable orbit lol

spark tiger
valid jetty
deep mulch
#

I used the equation properly

#

I could make it place with a calculated velocity that keeps in a mostly circular orbit

#

Orbital elements are the parameters required to uniquely identify a specific orbit. In celestial mechanics these elements are considered in two-body systems using a Kepler orbit. There are many different ways to mathematically describe the same orbit, but certain schemes are commonly used in astronomy and orbital mechanics.
A real orbit and its ...

limpid mica
#

multiple two body simulations running simultaneously

#

n-body when

valid jetty
valid jetty
#

the velocity is 7700 m/s

sweet pebble
#

these are my plugin ideas

#

im gonna give it my best at some of them eventually

#

if anyone objects to even bothering at some pls lemme know

royal nymph
royal nymph
#

first good nino pin

winged mantle
lucid trail
deep mulch
formal belfry
#

Changed my life

valid jetty
# deep mulch nop

??? for a satellite in stable orbit 300km above the surface of the earth, it is

valid jetty
valid jetty
#

.. is that not what the satellite is doing in a stable orbit

#

i'm not taking into account the orbit of the planet or anything

deep mulch
#

satellites are affected by all bodies

valid jetty
#

well yeah

deep mulch
#

they don't just concisoucly decide to rotate about a body

valid jetty
#

lol obviously

deep mulch
#

they have a forward motion and gravity pulls down on it

#

Rosie makes nooo sense

#

so insane

valid jetty
#

bluhhhh

ionic lake
#

Does elle have a package manager

deep mulch
#

yes

#

@valid jetty npm support

lucid trail
#

add reflection

valid jetty
#

git clone the library and include the entrypoint file

deep mulch
#

add reflection

ionic lake
#

That's good

#

just have something like shards from crystal

#

it just resolves and git clones repos into shards/

royal nymph
#

is flutter desktop good

deep mulch
royal nymph
deep mulch
#

horror dx

#

I think I tried it just once

#

I could literally never get the development environment working

shrewd canopy
deep mulch
#

plus dart is horrendous

royal nymph
#

it just works

#

but it feels like an android app lmao

#

also it feels laggy

#

actually it doesnt look as bad in the video

ionic lake
spark tiger
#

why is the second button inactive

#

whyre they forcing you to see w*ke shit

royal nymph
#

google has never heard of .config, .cache, etc (or better yet XDG base spec) husk

#

yeeeeeees just create 10 folders in ~

spark tiger
ionic lake
#

Because Google sucks

spark tiger
#

is it kebab case or camel case or snake case

royal nymph
#

it just feels laggy

#

i think it's capped to 60fps or smth

ionic lake
#

what are you compiling to? desktop app?

#

I would say use iced

#

not cross-platform but that's just a dream literally

winged mantle
#

wouldn't gamers call that a "playable framerate"

spark tiger
#

try switching to 60fps after you’ve used a 120+hz for years

paper scroll
#

using anything below 144 immediately turns me away from whatever it is, been using 240 for years

supple whale
winged mantle
#

how...

#

isn't 60 fps just less than ideal for competitive gaming

paper scroll
#

horrible for everything

spark tiger
#

this fuckass spotify app is like 60fps (or maybe even less) for unknown to me reason and its so fucking bad

winged mantle
#

quite often i've used software where it doesn't even manage to reach 60fps because it's poorly optimised

#

gamers are strange...

#

i thought laggy meant "powerpoint slideshow"

crude star
#

my phone screen is 120hz and 60fps looks laggy in it
I can use 60hz monitors just fine though

#

if your UI doesn't match ur display framerate something's really wrong

winged mantle
#

i swear jetbrains ides and discord often don't hit 60fps

#

and gnome used to not blobcatcozy

#

it's a pretty common issue

#

are people not used to it

ornate quiver
#

120 fps is where I'd consider it smooth

#

competitive you'd want 144fps as a minimum

ornate quiver
hoary sluice
#

@valid jetty

#

i didnt think making a geneaology viewer would require an msc in data structures and algorithms and a phd in history with minor in biology

#

how do you represent the following record?: "Arjan, child of Jovo, had one son, by the name of Bernt, born summer 1654"

#

you dont know the gender of arjan

#

sure

#

set unknown gender

#

how do you link a parent with a child if you dont know the gender of the parent

#

vec of parents would solve this but that would be extremely weird and require effort for validating its not more than 2 parents and will probably cause a bug because of this in the future

#

or ```rust
pub struct Person {
pub mother: Option<PersonId>,
pub father: Option<PersonId>,
pub parent_unknown: Option<PersonId>,
// etc
}

valid jetty
#
distinct type Id = u64;

struct Person {
    Id id,
    (Id, Id) parents,
    Id[] children,
    u64 year_born
    string[] name
}
hoary sluice
#

is this elle

valid jetty
#

you don't need to include the children's' names in the person structure, i thought you learnt this in database normalization smh

valid jetty
hoary sluice
#

i forgot tuples exist

valid jetty
#

genderless too

#

so works here

hoary sluice
valid jetty
#

by their id??

hoary sluice
hoary sluice
#

i know the parents id, i dont know their childs id

valid jetty
#

you do because it's in the array of children lol

#

Id[]

hoary sluice
#

what

#

you mean i shouldnt store the name of the child in the parent not store a reference in the parent

#

like

valid jetty
#

i'm not sure what you're asking

hoary sluice
#

right now its

hoary sluice
#

pub struct Person {
pub id: PersonId,
pub gender: Gender,
pub name: Option<Name>,
pub mother: Option<PersonId>,
pub father: Option<PersonId>,
pub spouses: Vec<PersonId>,
pub children: Vec<PersonId>,
}

#

i dont have backticks on my keyboard forgive me

#

children are ids

valid jetty
valid jetty
hoary sluice
valid jetty
#

idk lol i just assumed by how you worded the original question

hoary sluice
#

cause its the 17th century and they didnt care

#

point was that you dont know the gender of Arjan

#

because it says child of Jovo not daughter/son of Jovo

#
pub enum Parents {
    None,
    One(PersonId),
    Two(PersonId, PersonId),
}

@valid jetty

valid jetty
#

sure that works

hoary sluice
#

the gedcom format needs to be wiped off the face of the planet

#

and completely redesigned

#

it was designed in the 90s with floppy disks in mind

#

the gedcom 7 standard was made by mormons so theres a bunch of mormon specific fields in the spec now

shrewd canopy
crude star
royal nymph
shrewd canopy
#

try Qt next :)

hoary sluice
#

gedcom isnt even close to as bad as windows

crude star
#

this is like racism i literally wrote rust code but i get called out for being a js dev

nimble bone
#

rust is abandonware

ionic lake
#

Nice

ionic lake
royal nymph
#

i tried qt first then I realised it meant I would have to use cmake to build the app

#

i looked up how to package qt on github actions and it was all horror

#

so I abandoned that idea

crude star
#

hop on mesonnn

#

it has qt support

pseudo sierra
#

meson my beloved

royal nymph
#

nope

#

slint is fire

ionic lake
#

Feed me that slint crack

royal nymph
pseudo sierra
#

insane

royal nymph
deep mulch
#

@royal nymph @royal nymph @royal nymph

#

hi

royal nymph
#

yeah yeah okay

worldly sigil
#

why have 1 browser when you can have 5 different ones

#

too bad its pretty much firefox or chromium though

valid jetty
#

why is your homework folder called secret

shrewd canopy
#

It's not homework

deep mulch
ornate quiver
#

state secrets

lucid trail
#

cooking in my cs assignments

gilded surge
#

blaahhhhh. was debugging these extremely strange nixos-wsl problems, where my system would randomly shut down and switching configurations would give a broken pipe error for github. this is apparently because, recently, i switched the vm memory allocation to 4MB instead of 8MB, because i was having problems starting the vm when the system was using a lot of ram, but this was apparently causing the core nix process during boot to get earlyoomkilled, eventually taking down the system after around ~1 1/2 mins, and switching configurations was failing because running out of ram while retriving data from github causes a broken pipe error (with no cause indicator!!!)

ornate quiver
#

hop off nix

strange matrix
#

finished a csharp rewrite of my python script
surprisingly they both perform as quick

ornate quiver
#

language really doesnt matter for scripts

ionic lake
spark tiger
tired vigil
shrewd canopy
#

Then switched to sharex

spark tiger
#

someone should port sharex to macos and linux

#

macos screenshot tool is nice but i wish you could make it so it shows your cursor

fleet cedar
nimble bone
nimble bone
nimble bone
deep mulch
#

faint would

royal nymph
royal nymph
shrewd canopy
gilded surge
royal nymph
#

nop it's always a nix problem

jade stone
#

?remind tsserver auto-import bug import type when both are used

delicate groveBOT
#

Invalid time provided, try e.g. "tomorrow" or "3 days".

jade stone
#

?remind 1.5d tsserver auto-import bug import type when both are used

delicate groveBOT
#

Alright @jade stone, in 1 day: tsserver auto-import bug import type when both are used

hoary sluice
shrewd canopy
#

I'm on Win

jade stone
#

i swear to god why is react docs SEO shit

#

the old site is almost always before the new one when searching

placid cape
#

lmao

gilded surge
#

at least there isn't like the billion "sponsored results" before that that aren't even related to what you searched

sage smelt
#

was i supposed to add every single message type to the enum ThinkingHmm

shrewd canopy
tired vigil
#

Some message types are deprecated or no longer in use I believe

#

Idk what happens to old messages with those types

shrewd canopy
#

They still exist regardless, similarly to how application_news embeds still exist

frosty obsidian
#

yeah they just stop getting rendered

frosty obsidian
#

block the overview when

gilded surge
gilded surge
#

it's just like why is that even a thing

#

money probably

deep mulch
#

@frosty obsidian doesn't use an ad blocker on YouTube

#

wing thinks he's supporting creators

frosty obsidian
#

literally the first thing i installed @deep mulch

deep mulch
#

you actually installed chrome first @frosty obsidian

gilded surge
#

no installing adblockers allowed

sage smelt
fleet cedar
#

Not installing an adblocker is criminal

frosty obsidian
#

i set up the adblocker in firefox first

deep mulch
#

wing has YouTube premium

frosty obsidian
#

nop

deep mulch
#

@frosty obsidian I remove all the laces from your shoes

frosty obsidian
deep mulch
#

SATAN

#

@jade stone

jade stone
deep mulch
#

@jade stone is satan

frosty obsidian
#

i don't read dev chats

jade stone
#

Nop

deep mulch
#

wing hates dev chats

frosty obsidian
#

v+ programming @sage smelt

deep mulch
#

@frosty obsidian Soon I'll begin working on Glüm

#

my Material 3 GitHub app

#

love?

frosty obsidian
#

trademark infringement

#

suing

deep mulch
#

never

sage smelt
shrewd canopy
gilded surge
#

hi everyone can we beat this guy with hammers

sage smelt
#

or
you watch ads?

shrewd canopy
#

I can tolerate ads lol

sage smelt
fleet cedar
#

I have not yet snapped and vandalized a bus stop ad, but it's been close I tell you

gilded surge
#

do it

#

pop off

jade stone
deep mulch
#

hello Satan

tired vigil
#

no more react

strange matrix
supple whale
#

i dont remember the last time i saw an ad

#

oh when i went to the cinema i showed up 10 mins too early and had to sit tru 10 mins of ads

valid jetty
nimble bone
#

auth*

#

it’s easy

granite geyser
#

Auth is the most critical part of your service

#

Leave it up to the professionals and use something like firebase, supabase, or okta auth

jade stone
granite geyser
frosty obsidian
#

i mean the principles are pretty easy to grasp

#

hash and salt

deep mulch
#

do it @frosty obsidian

nimble bone
granite geyser
nimble bone
#

just use good hash library

nimble bone
granite geyser
#

You guys dont get my point

#

If you're not a super nerd then you shouldnt do it yourself, like if you're newish to coding you shouldn't do your own auth

nimble bone
#

the only reason to use a third party auth library is convenience

you most likely can’t be assed to implement oauth for 400 services

nimble bone
#

auth is basically this

export function generateID() {
    return `${Date.now()}${Math.floor(1000 + Math.random() * 9000)}`;
}

export async function generateToken(id: number, single: boolean = false) {
    const expiresIn = 86400;
    const clearToken = randomBytes(40).toString("base64").replace(/[+/=]/g, "");
    const salt = await bcrypt.genSalt(10);
    const tid = generateID();
    const token = await bcrypt.hash(clearToken, salt);
    await db
        .insertInto("tokens")
        .values({
            id,
            token,
            expiresIn,
            tid,
            single
        })
        .execute();

    return `${id}...${tid}...${clearToken}`;
}

export async function validateToken(rawToken: string): Promise<AuthValidation> {
    try {
        const firstSep = rawToken.indexOf("...");
        const secondSep = rawToken.indexOf("...", firstSep + 3);

        let userId = rawToken.substring(0, firstSep);
        let tid = rawToken.substring(firstSep + 3, secondSep);
        let token = rawToken.substring(secondSep + 3);

        userId = userId || "-1";
        tid = tid || "-1";
        token = token || "";

        const tokenQuery = await psqlClient.query(
            "SELECT id, token, expires_in, single FROM tokens WHERE id=$1 AND tid=$2",
            [userId, tid]
        );

        const validation = await bcrypt.compare(token, tokenQuery.rows[0].token);
        if (!validation)
            return {
                result: AuthResult.Invalid
            };

        const userQuery = await psqlClient.query("SELECT * FROM users WHERE id=$1;", [
            tokenQuery.rows[0].id
        ]);

        let result: AuthResult = AuthResult.Valid;
        if (userQuery.rows[0].should_reset_password) result = AuthResult.MustChangePassword;
        if (userQuery.rows[0].locked) result = AuthResult.Locked;
        if (userQuery.rows[0].archived) result = AuthResult.Archived;
        if (tokenQuery.rows[0].single) result = AuthResult.SingleUse;
        return {
            result,
            user: {
                id: userQuery.rows[0].id,
                name: userQuery.rows[0].name,
                email: userQuery.rows[0].email,
                permissions: userQuery.rows[0].permissions,
                theme: userQuery.rows[0].theme,
                color: userQuery.rows[0].color,
                hasSeenNew: userQuery.rows[0].hasseennew
            }
        };
    } catch {
        return {
            result: AuthResult.Invalid
        };
    }
}
granite geyser
nimble bone
granite geyser
nimble bone
#

i wrote one gave it to gemini and said “is it compliant with loi 25” (quebec privacy law) it said no

granite geyser
#

Yeah I would never trust you with my data

nimble bone
#

and it fixed it

royal nymph
spark tiger
#

@granite geyser I AGREE WITH YOU don’t listen to nin0.0

royal nymph
shrewd canopy
#

Mixed with js

nimble bone
#

write in Qt @royal nymph

frosty obsidian
#

vee will love qml

shrewd canopy
royal nymph
#

I experimented with QT first but god I dont want ANYTHING to do with C(++) ecosystem

#

rust >>>>

delicate groveBOT
#

@jade stone, <t:1758899288:R>: tsserver auto-import bug import type when both are used

gilded surge
#
jade stone
gilded surge
#

no

shrewd canopy
gilded surge
#

true

pseudo sierra
gilded surge
#

lua is good sometimes

#

except when you want to do non-floating point or have sized types

fleet cedar
gilded surge
#

1-indexed arrays...

deft karma
#

@royal nymph

#

@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.

ionic lake
#

No

ionic lake
gilded surge
#

the discreet signs

deep mulch
#

@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.

valid jetty
#

@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.

ornate quiver
ornate quiver
#

@deep mulch Hello friend, a friend sent me and I would like to buy the discreet signs, please.

pseudo sierra
#

ninauth will have 2 gabazillion security problems

spark tiger
#

grok will accidentally leave a backdoor in ninauth and there will be a massive data breach first day

frosty obsidian
#

@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.

deep mulch
#

@ornate quiver
Hello friend, a friend sent me and I would like to buy the discreet signs, please.

valid jetty
#

@deep mulch how do you prove this without induction

deep mulch
#

Rosie so insane

valid jetty
#

ok then

#

how do you prove this

deep mulch
#

I don't know

#

I hated proofs

#

I actually wanted to die doing them

#

and I don't even remember how to now

valid jetty
#

how do you do this

#

you cannot prove this by exhaustion

#

i did it like this

gilded surge
valid jetty
#

but i wanna see if zoot can do it

gilded surge
#

double angle identities...

#

prove that cos2theta = 1-2sin^2theta

valid jetty
#

this thing has all the things i hate in one place

#

we weren't even tougnt this

gilded surge
#

same

valid jetty
#

we get given most of them in the formula booklet

deep mulch
#

nerd @valid jetty

valid jetty
#

though frustratingly that doesn't include cos2x = cos^2x - sin^2x so i always forget which sign it is

gilded surge
#

we had a formula sheet but they said "nah you can't use it during the test"

deep mulch
#

@valid jetty I curse you with whatever I have that makes me forget everything once I stop using

#

I am so jealous of you

valid jetty
#

then i have to remember sin^2x + cos^2x = 1 so if it was + and not -, cos2x = 1 for all x which is wrong

gilded surge
#

funny story, my math teacher got mad at me for saying that cos theta = cos^2theta/2 - sin^2theta/2

hoary sluice
#

@valid jetty is rust backend and react frontend a good idea

#

i tried dioxus but i dont like it

gilded surge
valid jetty
#

@deep mulch

gilded surge
#

same

valid jetty
#

palm am i older than you

#

im 17

deep mulch
deep mulch
valid jetty
#

well you probably turn 18 before me

#

i turn 18 in june next year

#

wiat WHAT

#

so i am older than you blobcatcozystars

#

by 14 days

#

by a fortnite

gilded surge
#

wait rosie you're in calculus?

valid jetty
#

i live in the uk

#

i dont pick particular courses

gilded surge
#

oh yh

valid jetty
#

mathematics just includes all of it

#

though i am quite ahead

gilded surge
#

yeah learning trig at the same time as some of this is kinda funny to me

valid jetty
#

currently were doing integration 2

#

which is stuff like usub, ibp

#

which is funny because i was doing this on my own 2 years ago

gilded surge
#

i would learn more math but i honestly don't want to

valid jetty
#

girl thats when it gets fun

gilded surge
#

power functions and exponential functions are the same thing (trust)

valid jetty
#

me too

#

i was doing line integrals at some point

#

tho i dont really have time for that stuff anymore

#

personal websites are like a bit of a waste of time for me.. like github is finee

#

yeah i know lol thats what i mean

#

portfolio can be shown just fine on your github pins

#

@deep mulch

gilded surge
valid jetty
deep mulch
valid jetty
#

stars, followers, pinned repos, very short overview in your about me

#

your about me can be creative

#

and the find out more

#

idk to me unless the job youre going for is a designer, a personal website doesnt matter that much

valid jetty
gilded surge
#

e is everywhere

valid jetty
#

i think the most insane time when i saw e was in hyperbolic trig

#

coshx to be specific

#

coshx = (e^x + e^-x) / 2

#

and the shape of this curve is the exact shape that chains and bridges naturally fall to

#

its kinda crazy

frosty obsidian
#

math gets crazy

deep mulch
#

Im actually convinced Rosie is an ai

valid jetty
#

if you let a chain naturally hang from 2 points, it will make a curve in this exact shape

#

i was genuinely like ???

#

it looks like x^2 but its not

deep mulch
#

you're insane

frosty obsidian
#

yeah i know it's not

deep mulch
#

Rosie talking to themself

frosty obsidian
#

im not that dumb

valid jetty
deep mulch
#

is that a parabolic curve

valid jetty
#

blue is x^2, red is coshx

deep mulch
#

rosies geniusness is unmeasurable

#

smartest person to ever live

valid jetty
#

??????

gilded surge
#

hyperbolic functions...

valid jetty
#

this is not even that difficult you just didnt pay attention in class or something

frosty obsidian
#

yeah thats correct

#

i didn't

#

math boring

valid jetty
#

math so good

gilded surge
valid jetty
#

tho i will do cs at uni

frosty obsidian
#

they should make math fun

valid jetty
#

because i can skip most of my lectures

gilded surge
#

math class boring

#

math fun

valid jetty
#

and get drunk

valid jetty
gilded surge
#

math class is not real math

valid jetty
#

as soon as calculus began being tought i instantly understood why everyone fucking hates calculus

#

when i learnt calculus on my own it was so fun

#

the way they teach it in class sucks

deep mulch
#

Rosie be like "it's easy" and then sends hard math

gilded surge
#

then look it up on the internet???

#

you have this cool thing called "huge database of online resources" available to you

deep mulch
#

that's not really the point

#

yea I can look it up and after 2 hours of reading it I might finally begin to understand

#

and then promptly forget the next day

lucid trail
#

it was really interesting

valid jetty
#

thats like how they usually do it yeah

#

though in our case they skipped limits and went straight to the power rule and then i dont think they ever came back to limits properly

lucid trail
#

yeah and it doesn't suck

valid jetty
#

lmao

valid jetty
#

because its hard to explain

lucid trail
#

haha

ornate quiver
deep mulch
#

I barely passed my calc course

#

go home and I instantly forgot what was discussed in class

#

in class I could do it

valid jetty
#

but i mean coshx is not exactly a difficult concept to grasp the basics of, even just googling its definition

deep mulch
#

I took honors math all in high school and it's not to the level you're doing

#

not even my college classes

valid jetty
#

yeah because further maths is uni year 1 maths

deep mulch
#

yeah I have no idea what that is

#

I did matrices in 12th grade and that was it

#

Rosie solves unsovled centuries old math problems for fun

#

@valid jetty

#

@valid jetty teach me about endfed half wave antennas and off center fed dipoles

#

need to improve my antenna setup

valid jetty
#

idk anything about antennas

#

the most i know is that one antenna question from aoc2024

deep mulch
#

I just had an idea @valid jetty

#

since you send me nonsense math questions I will send you radio questions

jade stone
deep mulch
#

a lot of these are rules and regulations

#

and the other half is technical questions

#

I only have my technician license but I'll resume studying for my general

jade stone
deep mulch
#

NNVM

#

HORRIBLE

#

AAAA I HATE THE SKIN PEELING

nimble bone
#

@deep mulch

jade stone
#

REMOVE

nimble bone
#

?remind 9pm unrot Satan

delicate groveBOT
#

Alright @nimble bone, in 3 hours, 10 minutes and 30 seconds: unrot Satan

deep mulch
#

@nin0.dev

#

@jade stone satan

jade stone
#

@deep mulch make omarchy but with minky and call it ominky

pseudo sierra
#

@deep mulch make wezterm but with minky and call it minkterm

deep mulch
#

guh

gilded surge
jade stone
#

@deep mulch make minky but with minky and call it minky

gilded surge
#

the technician is like 400 iirc

deep mulch
#

maybe

deep mulch
ornate quiver
#

(CORRECTIONS IN THE DESCRIPTION)

What is Nix? And how does it build software in a completely deterministic way?

Chapters:
0:00 - Intro
0:45 - How Nix came to be
3:37 - Install Nix
4:13 - Nix Language speedrun
7:23 - builtins
8:09 - Paths and the Nix store
9:52 - Derivations
17:25 - Nixpkgs
18:05 - Remote Caches & dependency trees
19:30 - stden...

▶ Play video
#

@deep mulch

#

I think I understand why people use nix now

#

too much work for me though

balmy lintel
valid jetty
#

this is like

#

uni maths

#

you wouldn't do things like this in college

limpid mica
#

uni useful to go to once

#

twice only if you do it in a completely different field

#

three times is too much

deep mulch
#

rosie crazy

#

maybe for people majoring in math

nimble bone
#

@valid jetty @deep mulch

#

Rhododendrawk Tuah

deep mulch
#

@nimble bone@nimble bone@nimble bone@nimble bone

#

HAHA TUAH

nimble bone
#

Rosie.Tuah

#

@jade stone 👺 👺 👺 👺 👺 👺

deep mulch
#

SATAN

#

@nimble bone real name ninawk tuah

nimble bone
#

JUST COME OUTSIDE

#

FOR THER NIGHT

#

TAKE YOUR TIME

royal nymph
#

zt doesnt know how to math

deep mulch
#

@royal nymph hi

pseudo sierra
#

@deep mulch what's 1+1

deep mulch
#

3

pseudo sierra
#

zooter so smart

valid jetty
#

isnt it a running joke that engineering math is not real math

deep mulch
#

youre in high school doing harder math than ive ever done 😭

pseudo sierra
#

zoot thinks e = pi = 3

deep mulch
#

yes

crimson sparrow
#

also = sqrt(g)

supple whale
#

crazy shit

placid cape
#

thats cool

supple whale
#

they fucking fixed webgl's anti-aliasing

#

and this is even multiplayer

hoary sluice
#

too many sweats in frontend

supple whale
#

there's a single div and a single canvas

#

so there's not much web dev specifics here

#

no framework no nothing

#

just a bundle to a single file output

jade stone
ornate quiver
#

like even on arch ive never had a .so conflict

nimble bone
#

if your issue is on NixOs your issue is NixOs

deep mulch
#

yop

ornate quiver
#

nino uses nix

deep mulch
#

nino uses nixos mobile

jolly lotus
jolly lotus
#

it's kind of like saying you prefer to make canvases because drawing is too hard

#

😭

#

fair enough

#

well said

hoary sluice
#

@valid jetty

shrewd canopy
#

BrowserOS 🗣

valid jetty
#

80 staaa

ionic lake
#

elle is very cute and well made :)

#

deserved the stars

nimble bone
#

@valid jetty Rewrite Elle in Elle

royal nymph
winged mantle
placid cape
#

real

hearty lintel
fleet cedar
#

Probably an order of magnitude or two

hearty lintel
#

10x?

#

wait yea i think

hoary sluice
hearty lintel
hoary sluice
lucid trail
#

BrowserOS another chrome fork with AI chat sidebar 🥀

dense sand
#

anyone knows if theres any way to show acpi calls when they occur on windows? like acpi_listen on linux

ivory heath
jade stone
ivory heath
jade stone
#

husk

ivory heath
#

If hetzners arch install script worked none of this would be a issue but oh well

ornate quiver
#

@deep mulch @neon bear

neon bear
#

huh

neon bear
ornate quiver
#

neither am I venniehehe

#

i figured you'd find it interesting too

neon bear
#

maybe

ornate quiver
#

@deep mulch

deep mulch
jade stone
#

thanks node, i love knowing what the error is

supple whale
#

u could try doing process.on('error', console.trace)

#

but that rarely helps

jade stone
#

i have an idea what it is and i'm pretty sure it isn't that

supple whale
#

sometimes but rarely

jade stone
#

i think it's close tho

supple whale
#

anyways its something that runs during initial eval

#

rather then asyncronously

jade stone
#

GUHHHHH

#

the error happens with no extra args

#

still happens with --inspect

#

but doesn't happen with --inspect-brk, even after i resume

jade stone
#

doesn't happen with inspect-wait either

ionic lake
#

try --check

jade stone
# jade stone

creating the worker from the repl gave this error isntead

jade stone
ionic lake
#

k

jade stone
#

I FOUND THE ISSUE

#

GUHHH NODE ERRORS SO BAD

#

they managed to have good errors for enums, but they didn't bother for decorators

#

so i assumed they would also have the errors for decorators

ionic lake
#

errrr decorators support bad

jade stone
#

decorators so good

ionic lake
#

true

jade stone
#

tc39 decorators will reach stage 4 in 500000 years

ionic lake
#

anything will take 500000 yearws

#

nothing new

jade stone
#

also pipe operator

ionic lake
#

look at how long pipes have taken

#

yes

#

LOL

jade stone
#

guh is rollup stupid

jade stone
#

guhhh i love when no bundler has what i want so i'm stuck with tsc

winged mantle
#

in practice c/c++ header files are imperfect but i've been opening them in a split view recently

#

pretty handy especially without lsp

jade stone
deep mulch
#

the kode Tode

winged mantle
#

header files are kind of better in c

#

because you rarely end up with private stuff in them

#

neovim so good...

#

have been using it without lsp but i still feel like a superhero

ornate quiver
#

this looks really cool

#

im gonna try it out

deep mulch
#

wrong

#

rushii turning into rosie

tired vigil
ornate quiver
#

i don't think so
the pun seems to be lost

#

im curious whether it was originally an english or jp quote

tired vigil
#

this is so lazy smh

pearl stagBOT
# frosty obsidian well https://github.com/hxpe-dev/kotofetch/blob/main/quotes%2Fproverb.toml#L91-...

quotes/proverb.toml: Lines 91-95

[[quote]]
japanese = "昨日は歴史、明日は未知、しかし今日は贈り物。だから「プレゼント」と呼ばれるのです。"
translation = "Yesterday is history, Tomorrow is a mystery, but Today is a gift. That is why it is called the present."
romaji = "Kinō wa rekishi, ashita wa michi, shikashi kyō wa okurimono. Dakara 'purezento' to yobareru no desu."
source = "Master Oogway"
frosty obsidian
#

from an american movie, so no

tired vigil
#

😭

#

setting this as my terminal welcome message
Murder is actually really frowned in Japan. It goes against the traditional concept of 生きる, which means "to live"

ornate quiver
#

oh damn

valid jetty
#

setting it to 女の子とキスするのが大好き

verbal phoenix
#

@opal vessel

#

How i'm firee month so ?

opal vessel
#

???? why ping me here

#

oh you need image perms

#

just donate $5 one time

verbal phoenix
#

not locked screen shot perms image

verbal phoenix
opal vessel
verbal phoenix
#

Look

#

l'm free?

#

not?

opal vessel
#

??????

verbal phoenix
#

payment month 5 donate buying why do playing card

#

snp?

opal vessel
verbal phoenix
#

what happened

verbal phoenix
opal vessel
#

nothing i can do about that

verbal phoenix
#

address..

opal vessel
#

you have to figure this out on your own

verbal phoenix
#

dont know di got mistakes zip codes.

verbal phoenix
opal vessel
#

i literally cannot help you with this

#

im not you

verbal phoenix
opal vessel
#

i dont know your address

verbal phoenix
#

yea

opal vessel
verbal phoenix
#

part 2 address. and email forget

opal vessel
#

your street address

#

not your email address

verbal phoenix
#

ohh

#

jk address.

opal vessel
#

can you even read

verbal phoenix
#

who?

#

state/province

#

Prostal/Zip code (9-dight zip code for US)

opal vessel
#

again i cannot help you with this so stop asking

verbal phoenix
#

IK

#

name?

#

do donate

#

did on working floor play door you find sorry beca with add. badge.

opal vessel
#

please learn basic english then come back

winged mantle
#

i tried using hjkl to move in my browser

#

turns out it actually works

#

with the site i was on

gilded surge
gilded surge
#

apparently

#

not like im gonna use it since im hopping of windows but still

#

this would've been nice to know about like a year ago

jade stone
fleet cedar
#

Tiling wm is pretty useless imo, I almost never have anything non-maximized

ornate quiver
#

i tried out a tiling wm on a laptop because i dont want to use the touchpad to manage windows

#

and tbh it's been pretty nice

#

although im thinking of switchign from hyprland to niri

shrewd canopy
#

i have ton of windows open and only single window is open (or few)

lucid trail
winged mantle
jagged spade
#

computers' processing back then is waaaaaaay different from nowadays

night sphinx
#

apollo mission was filmed using bun

deep mulch
#

truth nuke

ornate quiver
#

new data sharing is opt out by default

#

make sure to opt out

#

@deep mulch @frosty obsidian

deep mulch
#

gh

shrewd canopy
# ornate quiver new data sharing is opt out by default

For individuals on non-commercial licenses: Data sharing is enabled by default, but you can turn it off anytime in the settings.
For individuals using commercial licenses, free trials, free community licenses, or EAP builds: Nothing changes. You can still opt in via the settings if you are willing to share data with JetBrains (and your admins, if any, allow it).

ornate quiver
#

oh guh

#

that's so confusing

rough forum
#

yall got a snippet for the 5000 orb perplexity quest yet?

opal vessel
#

just use the already existing script

nimble bone
unkempt ember
#

I think I overthinked this one-

valid jetty
#

what is that

unkempt ember
#

The language ? It's Julia.

#

And if you meant what I did ? To test some stuff with the language, I coded two basic functions and I somehow remembered that a subtraction is the same thing as adding a negative number. So what did I do ? Calling add getting the opposite of the second parameter making it a subtract function.

But I could have done a - b. It would have saved a jump and a call instruction.

jade stone
#

eslint my beloved

deep mulch
ionic lake
#

Use oxlint

jade stone
ionic lake
#

use dprint

jade stone
ionic lake
#

All good then

#

use eslint

jade stone
#

yop blobcatcozy

#

also i haven't made any yet but eslint would be 10x eaiser to extend with project specific rules

#

typescript syntax highlighting so good

valid jetty
#

what the hell is that code formatting

deep mulch
#

sadan shenanigans

pearl stagBOT
hoary sluice
unkempt ember
#

would gcc optimize this

  • @hoary sluice

It would, with the constant propagation heuristic. it should save a call and a jmp instruction to rewrite the function as :

function subtract(a::CInt, b::CInt)::CInt
  return a + b * ( -1 )
end
valid jetty
#

fyi with O3 it doesnt even use those functions

#

at least for constant inputs

hoary sluice
#

@valid jetty typescript isnt actually that bad

#

i just found out i can do this Omit<PersonApi, "id"> insted of creating a whole new ass type

hoary sluice
valid jetty
hoary sluice
#

this is why i dont do compilers anymore

#

too many sweats

valid jetty
#

did you know they have an algorithm to compute sums in terms of the formula

#

like they apply these to your code

#

iirc

hoary sluice
valid jetty
#

yes

#

look at this

#

there are no jumps here

#

i actually dont know what theyre doing here

#

some "youre not supposed to understand this" type of thing

hoary sluice
#

@valid jetty which npm variant do i use

hoary sluice
valid jetty
#

tbh i just use pnpm whenever i decide to involve myself with the hell that is the js ecosystem

hoary sluice
#

i tried

#

its hard

#

react is easier

valid jetty
#

ok lecture time

#

bai bai

hoary sluice
#

oh right i have to like sign up for uni classes

winged mantle
autumn yoke
#

Hi

spark tiger
crude star
#

there's clearly a ret instruction

limpid mica
winged mantle
#

should i have bought it

ionic lake
#

Sure

#

you would've felt more inclined to read it and complete it

#

that's atleast the case for me

spark tiger
#

true

#

though for me it also depends on the quality of the book

#

if it’s literally just printed on a4 paper then id rather read it online

#

if it has some like yk good material then yeah sure

median root
#

Can anyone think of an actual use for wasm compiled plugins within a rust app? Im implementing it but I forgot to think about the use cases and im now getting sunken-cost-fallacied

#

like not wasi just plain wasm

ionic lake
#

Isolation? multi-language support?

median root
#

from my newly-done research, the only thing it seems to be able to do it take a value, do something and return something. i just have no idea how thats actually meant to work in a plugin system

ornate quiver
median root
ornate quiver
#

what's wasi

median root
#

the crate I use only builds for wasm32-unknown-unknown

ionic lake
#

What do you think you need wasm for and why

ornate quiver
#

like platform bindings?
I mean you don't need but it would be a nice to have

ionic lake
#

What's your usecase

#

Also hii rushi

median root
ornate quiver
#

hii

median root
#

so after some research i chose wasm

ionic lake
#

K sounds good but like, what do you need it for

#

What's your project

#

Wasm runtimes can be heavy to bring

median root
ionic lake
#

True true

median root
spark tiger
#

it uses wasm plugins as well code editor plugins

ionic lake
#

Wasm is probably ok, but you're going to be messing with filesystem apis I assume and idk if that fits your security model

median root