#🪅-progaming
1 messages · Page 118 of 1
I suppose
but things like this are supposed to get you to act quickly and accidentally overlook stuff
que the huge npm maintainer awhile ago that fell for a npm 2fa phishing scam
How did they tag every single github user
missed me
I left wing out on purpose
Does anyone know if there are any limits on github student copilot requests?
i think they want to sponsor you
yes
But how much
I want to use claude with agent but idk how much i can use
does anyone know what the point is of having jsx and jsxs be two different functions
Probably 0.02% performance
nop
Probably legacy stuff then
there's a react blog about this
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
react insane
that doesn't make sense tho because in dev react uses jsxDEV for everything
in dev it uses a parmaeter to warn for keys (false/true)
@deep mulch if i asked you to simulate the orbit of a satellite 300km above earth in low orbit how would you do it
this is how i did it
well yes but its a little more than just that
oh my god hevc
if you wanna display it you need to also use simple harmonic motion stuff
this is what i did
is there a better way
what harmonic stuff
turning a centripetal velocity into an actual coordinate
well, the angle
which i then turn into a coordinate using trig
ive doen this before and never had to use whatever harmonic motion is
basic vector stuff
have you ever actually displayed the orbit
idk anything abt this physics stuff but couldn't omega simply be orbital_speed/orbit_radius if u simplify the expressions
predicting the path?
you dont need to predict anything, i meant just actually displaying where the satellite would be at some time t
uhhhh probably yes
yea
thats like
really easy
im too stupid rn to think whether it simplifies down
youre overcomplicating it
how do you turn a velocity into an angle if not by simple harmonic motion
are you rotating it??
??????????????/
look at the video
you make no sense
the satellite is rotating
why does angle matter in this
its orbiting
ive done this without angle stuff so i have no idea what youre doing
how did you do it
its just basic apply force in the forward direction
iterate through all bodies, calculate force and apply
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
youre overcomplicating it cause i have no idea what you mean
the ellipse on the screen is drawn at some position dependent on v and time
there is no concept of forces in this code
i dont think its accurately simulating then
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
it is at a fixed height, 300km above the planet at all times
its still not a correct simulation 😭
rosie insane
its the same as increasing an angle by 1 every 10 milliseconds
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
rosie so insane
"I came up with my own weird maths, here's why every physicist is wrong"
rosie thinks satellites stay at the same altitude for eterntiy
zoot just doesnt know
this is a very simple model lol
youre assuming the satellite is in a stable orbit at a point of equilibrium
you could just simplify it to
val angleIncr = calculateForce()
while (true) {
angle += angleIncr
}
thats what youre doing
if it was true physics i would be accounting for quantum effects
also yeah obviously
Has anyone seen anything similar to having a double tag server?
isn't the whole point of any to perform type checking at runtime, therefore it can't be free
how is this invalid
none of these are in stable orbit lol
nginx is russian???? https://github.com/collections/made-in-russia
these are just massive objects in orbit, i needed to make a satellite in low stable orbit
was that a requirement
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 ...
yes lol
that is.. exactly what i was doing
the velocity is 7700 m/s
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

didn't know you're polish
yeah i just looked it up without thinking much
whats that 💀
oh this is that phishy url generator i saw it on hn the other day
nop
It's worth clicking this link
Changed my life
??? for a satellite in stable orbit 300km above the surface of the earth, it is
youre just rotating
.. 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
satellites are affected by all bodies
well yeah
they don't just concisoucly decide to rotate about a body
lol obviously
they have a forward motion and gravity pulls down on it
Rosie makes nooo sense
so insane
bluhhhh
Does elle have a package manager
add reflection
no
git clone the library and include the entrypoint file
add reflection
That's good
just have something like shards from crystal
it just resolves and git clones repos into shards/
is flutter desktop good
no
why
horror dx
I think I tried it just once
I could literally never get the development environment working
It worked for me fine
plus dart is horrendous
it just works
but it feels like an android app lmao
also it feels laggy
this is release build
actually it doesnt look as bad in the video
Dart is good but flutter is yeah..
google has never heard of .config, .cache, etc (or better yet XDG base spec) 
yeeeeeees just create 10 folders in ~
why do they all use different cases 😭
Because Google sucks
is it kebab case or camel case or snake case
the answer is no

it just feels laggy
i think it's capped to 60fps or smth
what are you compiling to? desktop app?
I would say use iced
not cross-platform but that's just a dream literally
60 fps is not laggy 😭
wouldn't gamers call that a "playable framerate"
❓
try switching to 60fps after you’ve used a 120+hz for years
using anything below 144 immediately turns me away from whatever it is, been using 240 for years
wdym for UI it's horrific
horrible for everything
this fuckass spotify app is like 60fps (or maybe even less) for unknown to me reason and its so fucking bad
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"
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
i swear jetbrains ides and discord often don't hit 60fps
and gnome used to not 
it's a pretty common issue
are people not used to it
competitive? maybe for just casual gaming 60fps is just barely acceptable
120 fps is where I'd consider it smooth
competitive you'd want 144fps as a minimum
except for rhythm games, 60 fps is borderline unplayable
@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
}
distinct type Id = u64;
struct Person {
Id id,
(Id, Id) parents,
Id[] children,
u64 year_born
string[] name
}
is this elle
you don't need to include the children's' names in the person structure, i thought you learnt this in database normalization smh
yes
i forgot tuples exist
if i dont include the childrens names in the person how do i navigate from parent to child without searching the entire tree
by their id??
or i make it an enum of (Id, Id) and Single(Id)
what
you mean i shouldnt store the name of the child in the parent not store a reference in the parent
like
i'm not sure what you're asking
right now its
im not sure what this is about
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
no i mean, Person doesn't need to know the names of the children in that array just store their id and lookup like that
ok yeah good
where did you assume that it did
idk lol i just assumed by how you worded the original question
this would be some record you find in a church book where they forgot to include the gender
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
sure that works
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
Can say same about windows 🐟
It was made for floppies initially and has decades of backwards compat
const DATA: &str = "Arjan, child of Jovo, had one son, by the name of Bernt, born summer 1654";
i went with slint, it's fire
try Qt next :)
dont compare it to windows
gedcom isnt even close to as bad as windows
average js dev
this is like racism i literally wrote rust code but i get called out for being a js dev
rust is abandonware
Nice
Nice :D
terror
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
meson my beloved
Feed me that slint crack
you can use qmake too
LOL THEY IMPLEMENTED THE SWITCH FROM THE MEME https://github.com/slint-ui/slint/tree/master/examples/fancy-switches
insane
yeah yeah okay
why have 1 browser when you can have 5 different ones
too bad its pretty much firefox or chromium though
real
why is your homework folder called secret
It's not homework
secret
state secrets
cooking in my cs assignments
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!!!)
hop off nix
finished a csharp rewrite of my python script
surprisingly they both perform as quick
language really doesnt matter for scripts
most creative ass desktop dude
why do u need both flameshot & sharex
He needs one to take a screenshot of the other duh
I used to use flameshot
Then switched to sharex
GOOD
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
1/10 no perspective correction
if you have an issue with NixOs the issue is NixOs
iShare
i'm not paying to take a screenshot
faint would
there's a good chance most of the time spent is spent on I/O (networking, disk read/write, etc)
this is gonna be about the same speed in any language
faster languages will mainly speed up cpu things like computations, long loops, etc
nixos in WSL is something new
this is mainly a wsl problem, in that it uses earlyoomkiller by default and is also stupid
nop it's always a nix problem
?remind tsserver auto-import bug import type when both are used
Invalid time provided, try e.g. "tomorrow" or "3 days".
?remind 1.5d tsserver auto-import bug import type when both are used
Alright @jade stone, in 1 day: tsserver auto-import bug import type when both are used
i thought sharex was windows only
i swear to god why is react docs SEO shit
the old site is almost always before the new one when searching
lmao
at least there isn't like the billion "sponsored results" before that that aren't even related to what you searched
was i supposed to add every single message type to the enum 
This isn't full list of message types
Some message types are deprecated or no longer in use I believe
Idk what happens to old messages with those types
its all the types in https://discord.com/developers/docs/resources/message#message-object-message-types
just added types from https://docs.discord.food/resources/message#message-type too
Nothing
They still exist regardless, similarly to how application_news embeds still exist
yeah they just stop getting rendered
Adblocker
block the overview when
yeah i do
Go to #📩-modmail and ask for programming role to use #👾-core-development and #🧩-plugin-development
hmm ok
@frosty obsidian doesn't use an ad blocker on YouTube
wing thinks he's supporting creators
literally the first thing i installed @deep mulch
nop
you actually installed chrome first @frosty obsidian
lie
no installing adblockers allowed
nop
don't know how to explain why i want access 
Not installing an adblocker is criminal
i set up the adblocker in firefox first
wing has YouTube premium
nop
@frosty obsidian I remove all the laces from your shoes
do you want to create a plugin or contribute to core or something
They have an open pr
Hi
@jade stone is satan
i don't read dev chats
Nop
wing hates dev chats
v+ programming @sage smelt
never
thanks 
I usually don't install adblocker 🐟
hi everyone can we beat this guy with hammers
I can tolerate ads lol
insane
I have not yet snapped and vandalized a bus stop ad, but it's been close I tell you

hello Satan
Did they accidentally remove the entire project
no more react
Yeah, i guess i won't see a different in languages for scraping a website to get music...
mental insanity
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
PRO TIP: Store all passwords in one table and use foreign keys to reference them. Most users reuse passwords anyway. We went from 100GB to 3GB.
good
just write your own with
auth*
it’s easy
Please don't do this if you're not like a super nerd with coding
Auth is the most critical part of your service
Leave it up to the professionals and use something like firebase, supabase, or okta auth
Koda so dumb can't even roll her own auth
i can, but why would i do that when there's already professional tested ones
do it @frosty obsidian
koda you’re stupid
Nop
just use good hash library
they're the most targeted
also ^
exactly. that’s the part where i shouldn’t rely on a third party service
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
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
if you can get the concepts yk you can
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
};
}
}
Don't forget that you have to comply with GDPR and othe privacy laws on how to handle data
Scalability is a big concern and also you can accidentally add vulnerabilities without knowing. No new programmer should do auth themselves
i vibe coded my privacy policy and i’m compliant
"vibe coded" "privacy policy" dude you can't code a privacy policy 😭
i wrote one gave it to gemini and said “is it compliant with loi 25” (quebec privacy law) it said no
Yeah I would never trust you with my data
and it fixed it
@granite geyser I AGREE WITH YOU don’t listen to nin0.0
vee will love qml
I use qt widgets and theyre very good 🐟
I experimented with QT first but god I dont want ANYTHING to do with C(++) ecosystem
rust >>>>
@jade stone, <t:1758899288:R>: tsserver auto-import bug import type when both are used
A web ecosystem with the gurt:// protocol, custom browser Flumi, DNS system, and modern HTML/CSS/Lua standards.
Vee insane
no
Better than js
true
lua my beloved
lua is good sometimes
except when you want to do non-floating point or have sized types
Or want sensible arrays or a stdlib worth shit
1-indexed arrays...
@royal nymph
@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.
No
ragebait
the discreet signs
@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.
@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.
no not really
correctness is important too
least insane #🪅-progaming message
@deep mulch Hello friend, a friend sent me and I would like to buy the discreet signs, please.
ninauth will have 2 gabazillion security problems
grok will accidentally leave a backdoor in ninauth and there will be a massive data breach first day
@royal nymph
Hello friend, a friend sent me and I would like to buy the discreet signs, please.
@ornate quiver
Hello friend, a friend sent me and I would like to buy the discreet signs, please.
@deep mulch how do you prove this without induction
I don't even know what induction is
Rosie so insane
I don't know
I hated proofs
I actually wanted to die doing them
and I don't even remember how to now
very easy
same
we get given most of them in the formula booklet
nerd @valid jetty
though frustratingly that doesn't include cos2x = cos^2x - sin^2x so i always forget which sign it is
we had a formula sheet but they said "nah you can't use it during the test"
@valid jetty I curse you with whatever I have that makes me forget everything once I stop using
I am so jealous of you
then i have to remember sin^2x + cos^2x = 1 so if it was + and not -, cos2x = 1 for all x which is wrong
funny story, my math teacher got mad at me for saying that cos theta = cos^2theta/2 - sin^2theta/2
@valid jetty is rust backend and react frontend a good idea
i tried dioxus but i dont like it
he was like "nooo you have to replace theta with 2u and say that u = theta/2 before doing that!!!!"
@deep mulch
same
I don't remember how
you are 12
well you probably turn 18 before me
i turn 18 in june next year
wiat WHAT
so i am older than you 
by 14 days
by a fortnite
wait rosie you're in calculus?
oh yh
yeah learning trig at the same time as some of this is kinda funny to me
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

i would learn more math but i honestly don't want to
girl thats when it gets fun
power functions and exponential functions are the same thing (trust)
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
ok if zoot cannot do this i will be very disappointed
I don't understand
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
i guess you are very dissapointed
e is everywhere
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
math gets crazy
Im actually convinced Rosie is an ai
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
you're insane
yeah i know it's not
Rosie talking to themself
im not that dumb
is that a parabolic curve
blue is x^2, red is coshx
??????
hyperbolic functions...
this is not even that difficult you just didnt pay attention in class or something
math so good
explod
tho i will do cs at uni
they should make math fun
because i can skip most of my lectures
and get drunk
true!!
math class is not real math
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
I literally cannot remember
Rosie be like "it's easy" and then sends hard math
then look it up on the internet???
you have this cool thing called "huge database of online resources" available to you
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
my calc course started with limits of sequences and then introduced limits of functions with sequential characterization
it was really interesting
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
yeah and it doesn't suck
lmao
it sucks when they bring minimization into it
because its hard to explain
haha
we never learned hyperbolic functions
I barely passed my calc course
go home and I instantly forgot what was discussed in class
in class I could do it
i do further maths
but i mean coshx is not exactly a difficult concept to grasp the basics of, even just googling its definition
I took honors math all in high school and it's not to the level you're doing
not even my college classes
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
idk anything about antennas
the most i know is that one antenna question from aoc2024
I just had an idea @valid jetty
since you send me nonsense math questions I will send you radio questions

Pretty sure the second one is a
yes
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
@deep mulch https://www.kkinstagram.com/reel/DMh6eFFN7K4
love
NNVM
HORRIBLE
AAAA I HATE THE SKIN PEELING
v+ rot
@deep mulch
?remind 9pm unrot Satan
Alright @nimble bone, in 3 hours, 10 minutes and 30 seconds: unrot Satan
Hai
@deep mulch make omarchy but with minky and call it ominky
@deep mulch make wezterm but with minky and call it minkterm
guh
i forgot how big is the general question pool
@deep mulch make minky but with minky and call it minky
the technician is like 400 iirc
maybe
i hate you
he is Satan after all
(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...
@deep mulch
I think I understand why people use nix now
too much work for me though
i'm so glad i didnt choose to go to college
uni useful to go to once
twice only if you do it in a completely different field
three times is too much
(its not in my experience)
rosie crazy
maybe for people majoring in math
zt doesnt know how to math
@royal nymph hi
@deep mulch what's 1+1
3
zooter so smart
you do engineering
isnt it a running joke that engineering math is not real math
computer science
youre in high school doing harder math than ive ever done 😭
zoot thinks e = pi = 3
yes
for all intents and purposes this is true 👀
also = sqrt(g)
thats cool
cool doesnt cut it
they fucking fixed webgl's anti-aliasing
and this is even multiplayer
this is why a do backend
too many sweats in frontend
i mean this is just pure three.js
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
tbh that first sentence sums one of the two main reasons why i love nix. It easily allows me to pin older versions of packages, without worrying about .so version mismatches
yeah but like those are so rare anyways
like even on arch ive never had a .so conflict
if your issue is on NixOs your issue is NixOs
yop
nino uses nix
nino uses nixos mobile
woah this is pretty cool
you should also experiment with stuff, to do front-end you don't have to be a designer nessesarily :3
it's kind of like saying you prefer to make canvases because drawing is too hard
😭
fair enough
well said
@valid jetty
BrowserOS 🗣
@valid jetty Rewrite Elle in Elle
30$-60$ is crazy
starstruck
real
how much should it be
Probably an order of magnitude or two
how much is an order of magnitude
10x?
wait yea i think
i would do it for 1000
how long would it take u
i didnt even understand the task
BrowserOS another chrome fork with AI chat sidebar 🥀
anyone knows if theres any way to show acpi calls when they occur on windows? like acpi_listen on linux
this is so useful to me
hop on ssh keys
This is like the 3rd time I had to nuke this install because of ROCm issues on Ubuntu
husk
If hetzners arch install script worked none of this would be a issue but oh well
@deep mulch @neon bear
huh
im not a db admin
@deep mulch
scary
invalid syntax during eval
u could try doing process.on('error', console.trace)
but that rarely helps
i have an idea what it is and i'm pretty sure it isn't that
sometimes but rarely
i think it's close tho
GUHHHHH
the error happens with no extra args
still happens with --inspect
but doesn't happen with --inspect-brk, even after i resume
i don't actually have enough time to attach
doesn't happen with inspect-wait either
try --check
this is an issue with some transitive import
k
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
errrr decorators support bad
true
tc39 decorators will reach stage 4 in 500000 years
also pipe operator
guhhh i love when no bundler has what i want so i'm stuck with tsc
Parsing, performance, and low-level programming.
in practice c/c++ header files are imperfect but i've been opening them in a split view recently
pretty handy especially without lsp
tbh i feel like typescript's .d.ts should be in the honorable mentions
the kode Tode
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
@valid jetty loooook https://github.com/hxpe-dev/kotofetch
this looks really cool
im gonna try it out
does that pun (in the thumbnail) actually make sense in japanese 😭
i don't think so
the pun seems to be lost
im curious whether it was originally an english or jp quote
this is so lazy smh
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"
from an american movie, so no
😭
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"
oh damn
setting it to 女の子とキスするのが大好き
not locked screen shot perms image
wym 5 ?

??????
please use a translator because i do not understand what youre saying
what happened
card don't payment
nothing i can do about that
you have to figure this out on your own
dont know di got mistakes zip codes.
nuh
i dont know your address
yea
part 2 address. and email forget
can you even read
again i cannot help you with this so stop asking
IK
name?
do donate
did on working floor play door you find sorry beca with add. badge.
please learn basic english then come back
good eng fr
i tried using hjkl to move in my browser
turns out it actually works
with the site i was on
since when was there tiling WMs in win10??? https://lgug2z.github.io/komorebi/
The Tiling Window Manager for Windows
since forever vro
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
iirc google drive had that until like last year or smth
Tiling wm is pretty useless imo, I almost never have anything non-maximized
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
real
i have ton of windows open and only single window is open (or few)
Yeah pretty much the same
yeah i just stopped using one recently
they used bun for moon landing? https://github.com/chrislgarry/Apollo-11/blob/master/bun.lockb
im pretty sure thats just for "running" (simulating) it LMFAO
computers' processing back then is waaaaaaay different from nowadays
apollo mission was filmed using bun
truth nuke
new data sharing is opt out by default
make sure to opt out
@deep mulch @frosty obsidian
gh
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).
yall got a snippet for the 5000 orb perplexity quest yet?
just use the already existing script
use aamia’s quest script
I think I overthinked this one-
what is that
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.
eslint my beloved
fix
Use oxlint
insane
half of why i use eslint is for https://eslint.style
use dprint
docs suck + doesn't have what i want
yop 
also i haven't made any yet but eslint would be 10x eaiser to extend with project specific rules
typescript syntax highlighting so good
what the hell is that code formatting
sadan shenanigans
server.ts: Lines 77-81
public static async initialize(
connection: LSP.Connection,
{ rootPath, rootUri, capabilities }: LSP.InitializeParams,
): // TODO: use workspaceFolders instead of rootPath
Promise<BashServer> {
@valid jetty would gcc optimize this
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
what do you think
fyi with O3 it doesnt even use those functions
at least for constant inputs
@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
how did they manage to do that
constant folding, constant evaluation, simplification detection algorithms
magic
this is why i dont do compilers anymore
too many sweats
did you know they have an algorithm to compute sums in terms of the formula
like they apply these to your code
iirc
i write a formula with functions and loops and stuff and they compile time optimize it?
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
@valid jetty which npm variant do i use
i wouldnt be surprised if you did know
tbh i just use pnpm whenever i decide to involve myself with the hell that is the js ecosystem
js ecosystem better than using dioxus
i tried
its hard
react is easier
oh right i have to like sign up for uni classes
Hi
hi
i see a jump though ?
there's clearly a ret instruction
who up arm64ing rn
i saw a book at a shop which is just https://doc.rust-lang.org/book/ but printed
should i have bought it
Sure
you would've felt more inclined to read it and complete it
that's atleast the case for me
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
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
Isolation? multi-language support?
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
platform independent plugins that interact with your provided apis
can that be done in base wasm? do you not need wasi for that?
what's wasi
its like a web assembly that can interact with the system
the crate I use only builds for wasm32-unknown-unknown
What do you think you need wasm for and why
like platform bindings?
I mean you don't need but it would be a nice to have
well my first thought was build into a shared object but i didnt like the idea of architecture dependent plugins since i myself hate it when other things arent compiled for my arch
hii
so after some research i chose wasm
K sounds good but like, what do you need it for
What's your project
Wasm runtimes can be heavy to bring
yeah its like 150-200 extra deps
True true
been building a music player but i figured theres some features i dont want myself like CD support and I dont wanna keep having to recompile for different things so my thought was make a plugin system
zed?
it uses wasm plugins as well code editor plugins
Wasm is probably ok, but you're going to be messing with filesystem apis I assume and idk if that fits your security model
ill have a look into how it does it then

