#🪅-progaming
1 messages · Page 55 of 1
first time?
not a lot

i dont have separate playlists
this was me until I switched
HUSK
same i just listen to liked songs
now that is a sin
had a shit ton of songs
i just throw it all in liked and let spotify dictate whether im gonna cry or dance
my songs are MAINLY sad
lmao yeah same 😭 idk whats up with my english tastes
i don't think this is programming
im training my ai on their convo dont worry
this is mostly enka
this?
@valid jetty do you use win or linux
she uses mac
linux and macos
oh and linux apparently xd
arch?
which distro
fedora
missing out
(on the pains of nixos)
what is figlet
figlet
Name : figlet
Version : 2.2.5-6
Description : A program for making large letters out of ordinary text
Architecture : x86_64
URL : http://www.figlet.org/
Licenses : BSD
Groups : None
Provides : None
Depends On : glibc sh
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 641.58 KiB
Packager : T.J. Townsend <blakkheim@archlinux.org>
Build Date : Fri 12 Jul 2024 05:40:19 PM EEST
Install Date : Mon 31 Mar 2025 01:18:18 AM EEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
rosie did i show you the last mac os setup i had for windows lmfao
why do i need this lol
actually guh i dont have any screenshots i think
so cute
show lol
IF i find a screnshot
!!!!
cannot be bothered actually 
lmaoo ok
rosie pro ricer

actually this is my first rice
ive never riced linux before
was fun tho
i made the ff from scratch it took a while
my rice isnt even worth calling a rice its all just badly taped together
dont even have an app launcher or status bar
which i cant really find rn...,,.,.,.,.
演歌 & 歌謡曲
enka and pop songss??
what programs are you using to nuke the taskbar?
I used MyDockFinder, actually; its the dock and statusbar at the same time; you can disable the status bar to only keep the dock
i don't know any other app to nuke taskbar, unfortunately
this is why you use kde plasma like a sane person
i would never touch kde
or i guess, not nixos
even more so gnome
i have tried kde in the past, i just dont really like it
although i hate gnome unconditionally cause of gtk
@placid cape i hate having to do this
phub ahem
this goes against my morals
in an ideal world i would make my own DE
i have never seen you in progaming before
@crisp kestrel
Write an essay of at least 400 words in which you present the distinctive features of a psychological novel or a studied experience. In developing the essay, you should consider the following guidelines:
– Highlight two characteristics that enable the classification of the studied novel within a specific period, a cultural/literary movement, or a thematic orientation;
– Comment on two episodes or sequences that are significant for the theme of the studied novel;
– Analyze two elements of structure, composition, and/or language that are relevant to the studied novel (for example: plot, conflict, temporal and spatial relationships, incipit, ending, narrative techniques, narrative voices, narrative perspective, stylistic registers, language, etc.).
you use kde?
yes !!
@leaden crater
fren :3
mzki
mizuki is my kinnie
real
are you talking about ultima noapte again
you're an AI

I'll also have to do it so yeah heh
1930 psihological roman c. petrescu

good
now, what was made in 1916 and 1919
also 1920
and 1921, 1923 and 1927
1920x1080
oh and when was Alexandru Lapusneanu made
this is all your fault
1840, Costache Negruzzi, Romantism, Nuvela istorica romantica
stupid doofus
listen to ozlem teresa ten
i am going to go insane i hate windows
running lldb from the command line does nothing
but running it from explorer tells me a DLL wasn't found
why
ai companies going "all code will be ai generated in X time", "humans will not be neede in Y time" is so funny
i almost forgot to make an alarm for 6:45 and its all your fault
AI could NEVER write the code im writing
the last song you sent is peak
のだ by 大漠波新
good
のだが大好き!!
choose one
i will not pay attention to the haters... 
bあn
you dont understand in just 12 million months AI will be capable of even working on the most obscure FFMpeg code, writing cocmpilers is nothing!
by the time ai figures out how to do that ill have redefined proramming approximately 4.2 times
@hoary sluice whats an abbr/smaller synonym for monomorphization
i cant exactly call the folder that does that "monomorphization" its way too long
how can you ignore this
monomorph :^)
@valid jetty you are 1 hour behind me the shops are still open can you get me a red bull
no redbull is bad for you
yes you can
ill go to the little alleyway near your house and get you hard drugs instead
what!
not finishing diploma thesis and delaying graduation by 3 months is arguably worse
also red bull is healthy
red bull tastes like chemicals
(4th today)
i LOVE monster
jump what?
jump too
i aleady have spacebar
off a location that is offset from the ground by at least a deadly amout
monarch by far best tho
wait im a trampoline
"the white one" 😭
IDK WHAT ITS CALLED
dont judge us monster drinkers we dont know what our own drinks are called
its called ultra i think
yea that sounds about right
hate aside ellie u stinky
i think ive tried monster once when i was like 12, hated it, never drank it again
😱
void displayMenu() {
system("cls"); // Clear screen
cout << "SYSTEM COMMANDS:\n";
cout << "COMMAND DESCRIPTION\n";
cout << "CRASH Force crash the game\n";
cout << "SAVE Force save game state\n";
cout << "LOAD Force load game state\n";
cout << "RESET Reset all game variables\n";
cout << "EXIT Return to previous menu\n";
cout << " > ";
}
okai puhbu
i love drinking cheap energy drinks because they taste like chemical piss
irn bru and lucozade original also tastes like chemicals
puhbu u drink only literature
no that is literally devilspawn
cheap energy drinks give me a massive headache
runs on linux
doesnt clear screen
mfw
what do we think
https://www.forbes.com/sites/daveywinder/2025/03/31/hacker-claims-to-have-leaked-200-million-x-user-data-records-for-free/
i maintain a very healthy lifestyle
no energy drinks
we dont talk about my sleep schedule
blue pink white green and pink 2
ultra strawberry dreams??
this is for windows
yesss
wheres the torrent
true!
i couldnt bring myself to finish the can i dumped it in the sink
i drink monster when i actually need a good energy drink
i have like a stack of 40 cans in my room
👎
horror
clean your room
its clean
i think they mean full cans
how are y'all still alive after all that
empty, tied for pfand
not sure
i chugged 2 monsters in 1 day and my reaction was amazing lmao
me writing the "plan" we made "in september" knowing full well i completely freestyled this, rewrote the backend in rust midway through and am about to run out of time
embrace the rust
once i had 2 latte 2 double espresso 1 monster and 3 normal coffees in 1 day
use #[no_std]
once i had 5 red bulls in 1 day and it was one of the best days of my life
the heart.stop() isnt implemented in my system so i cant die
#![no_std] is fire
thats so me
20 espressos in one beeg mug.
yummy.
im gonna finish ichigo and then completely wing the documentation as if i planned this
sigterm
once i had 4L of beer in 1 day and then some vodka
im gonna make the 地雷系 dress for the other project and then completely wing my diary and sources/research as if ive been doing this all year
ive never gotten drunk and its staying that way
i wasnt drunk xd
ive been drunk before but i should stop i have too many secrets
sigterm/exit so bad we php'ers do die();
and i make horrible typos when im drunk
i can tolerate up to 500ml 52%
1 billion coding warnings
All at once?
Just chug it
ya
its not that bad
ngl
i've had 68% palinka before and its cool
it was 6am after 3h of sleep
@hoary sluice have you ever been this drunk
yoi gptee is broken
how and why
wdym how
how did you get alcohol
with cash?
ive only ever tasted alcohol
my parents are romanian they have a mini bar at my house
100% true here too but i ated it all
rosie thinks she mysterious
nope !!
(shes gonna lore dump in vencord one day shes drunk)
@valid jetty do you wanna see very very very very very very awful rust code
i read through my whole convo of this night to make sure i didnt say anything bad lol
i was fine and then within 5 mins i slowly had worse and worse typos
i love dioxus
yessss
cant be worse than my rust code
oh god i hope not
unsafe {}
so much for hotreload
whole thing
one day you'll typo and speak englishjapaneseromanian colloq.
dioxus has a lot of unsafe
its in the next release + this is just firewall
rosie always talking about compilers no matter what
rosie why qbe over llvm /gen
you sent the same link
i mentioned quite a few times i think xd
unsafe isnt inherently and i dont have any problems with it
like uhhh
its just windows doing windows things
it was easier when i first started working on elle because qbe is simpler
im not saying its bad, im just tsaying they use it extensively
i see
but now that elle is complex i regret it and llvm is probably a better choice at this point
its made by ai, so you can see the future of "obfuscation"
use bevy::{math::bounding::{Aabb2d as _0xA,BoundingCircle as _0xB,BoundingVolume as _0xC,IntersectsVolume as _0xD},prelude::*,sprite::MaterialMesh2dBundle as _0xE};
mod _0xF;
const _0xG: Vec3 = Vec3::new(0.,200.,1.); const _0xH: Vec3 = Vec3::new(0.,0.,1.); const _0xI: f32 = 30.; const _0xJ: Vec2 = Vec2::new(.5,0.); const _0xK: f32 = 40.; const _0xL: Val = Val::Px(5.); const _0xM: Color = Color::srgb(.9,.9,.9); const _0xN: Color = Color::srgb(.9,0.,0.); const _0xO: Color = Color::srgb(.5,.5,1.); const _0xP: Color = Color::srgb(1.,.5,.5);
fn _0xQ() { App::new().add_plugins(DefaultPlugins).add_plugins(_0xF::_0xR::default().add_schedule(Update).add_schedule(FixedUpdate).at(Val::Percent(35.),Val::Percent(50.))).insert_resource(ClearColor(_0xM)).add_systems(Startup,_0xS).add_systems(FixedUpdate,(_0xT,).chain()).add_systems(FixedUpdate,(_0xU,).chain()).run(); }
#[derive(Component)] struct _0xV; #[derive(Component,Deref,DerefMut)] struct _0xW(Vec2); #[derive(Component,Deref,DerefMut)] struct _0xX(f32);
fn _0xS(mut _0xY: Commands, mut _0xZ: ResMut<Assets<Mesh>>, mut _0xAA: ResMut<Assets<ColorMaterial>>, _0xAB: Res<AssetServer>) { _0xY.spawn(Camera2dBundle::default()); let _0xAC = |pos: Vec3, scale: f32, vel: Vec2, mass: f32| _0xY.spawn((_0xE{mesh:_0xZ.add(Circle::default()).into(),material:_0xAA.add(_0xN),transform:Transform::from_translation(pos).with_scale(Vec2::splat(scale).extend(1.)),
that macro you sent is some nightmare fuel
i mean potato tomato both have similar codegen technically but llvm has more strict types and more instructions and more optimization
!!!!! (its fully chatgpt)
not that bad honestly, it can get worse with ai "obfuscation"
the thing i sent?
yeah
lmaooo
the entire file is tbh :^)
do you love
macros in elle!
macros are just very extreme cases of inlining so its very possible
i need some opinions about "goto" and " ternary op ? : "
elle async 
goto is great, ternary is great if the nesting of ternaries <= 2
YES GOTO IS GREAT
FINNALY SOMEONE
i will say tho
goto is only great for breaking out of nested loops
or a switch case in a loop
like
for (;;) {
switch (x) {
case "foo": goto out;
default: break;
}
}
out:
printf("hi im out\n");
do you guys think turning off the firewall completely is an option
for?
or why
Goto is shit, competent languages don't need it
Ternary op is a decent workaround for if your language makes an unnecessary distinction between expressions and statements
@dawn ledge give me your divine rust knowledge is there a neater way to write this code
use crate::{
compiler::{
compiler::{Codegen, CodegenContext, Compiler},
enums::{Instruction, Type, Value},
},
parser::enums::Return,
};
impl Codegen<'_> for Return {
fn compile(self, gen: &mut Compiler, ctx: &CodegenContext<'_>) -> Option<(Type, Value)> {
let res = gen.generate_statement(
ctx.func,
ctx.module,
*self.value,
ctx.ty.clone(),
None,
true,
);
if !ctx.func.borrow_mut().manual {
ctx.func.borrow_mut().add_instruction(Instruction::Return(
res.map(|(ty, val)| (ty, val, self.location)),
))
}
None
}
}
this is already neat enough
hmm idk
faye only writes python code and vibe codes
yeah
Function with six parameters is a bit too much
its fiiiiiiiineeeeeeeeeeeeeeeeeeeeeeeeee
it takes ctx.func, ctx.module, ctx.ty, ctx.value, ctx.is_return
im gonna move all of those into 1 struct and pass that through
at some point
its already in a struct but i meant like, getting rid of the multiple params
there are a lot of things that call that function
it would be a lot of refactoring
'de
i mean for a file this small, this is very readable
int main() {
int choice;
main_menu:
cout << "\nMain Menu:\n";
cout << "1. Option 1\n";
cout << "2. Option 2\n";
cout << "3. Option 3\n";
cout << "4. Option 4\n";
cout << "5. Option 5\n";
cout << "6. Exit\n";
cout << "Enter choice (1-6): ";
cin >> choice;
if (choice == 1) goto menu1;
if (choice == 2) goto menu2;
if (choice == 3) goto menu3;
if (choice == 4) goto menu4;
if (choice == 5) goto menu5;
if (choice == 6) return 0;
goto main_menu;
menu1:
cout << "\nMenu 1 Selected\n";
cout << "1. Sub-option 1\n";
cout << "2. Sub-option 2\n";
cout << "3. Back to Main Menu\n";
menu2:
cout << "\nMenu 2 Selected\n";
cout << "1. Sub-option 1\n";
cout << "2. Sub-option 2\n";
cout << "3. Back to Main Menu\n";
menu3:
cout << "\nMenu 3 Selected\n";
cout << "1. Sub-option 1\n";
cout << "2. Sub-option 2\n";
cout << "3. Back to Main Menu\n";
cin >> choice;
menu4:
cout << "\nMenu 4 Selected\n";
cout << "1. Sub-option 1\n";
cout << "2. Sub-option 2\n";
cout << "3. Back to Main Menu\n";
cin >> choice;
menu5:
cout << "\nMenu 5 Selected\n";
cout << "1. Sub-option 1\n";
cout << "2. Sub-option 2\n";
cout << "3. Back to Main Menu\n";
cin >> choice;
return 0;
}
Why do you have a compiler::compiler module
functions:
compiler::compiler used to contain the entire compiler
well except enums and structures
but all the codegen happened in 1 file
@valid jetty what do you think abt this
the neferious function
its not that bad
"Enums" module is so funny
its a convention for me lmao
the lexer and parser parts both have an enums.rs
plus no one will check source code
the type of stuff they teach you to do during week 1 of learning programming in a class and then tell you to not do it in week 2
so mean wth!!
oh ya r u feeling better ellie
hello rosi
absolute trash
why would you teach me something i shouldnt do
one day we were being taught some html and we were told we can put <head> in body, i argued you shouldnt and he went "but you can!", what a bitch
Feature goto Normal Functions
Raw Speed ✓ ✗
Absolute Control ✓ ✗
No Stack Overhead ✓ ✗
Instant Jump Power ✓ ✗
Chad Energy ✓ ✗
"Structured" Prison ✗ ✓
Parameter-Passing Hassle ✗ ✓
Boring Readability ✗ ✓
look at all the imports that arent needed anymore !!!!!!!
tables be damned
not rlly
using goto extensively is just bad
There's a reason why no language designed this millennium has goto
(That reason being, it sucks)
i mean modern languages have labelled blocks which is essentially a goto
labelled loops and stuff
which is the main usecase for goto anyway
death
Rust's control flow for example consists of match, loop, and labeled break
Plus various syntax sugars (if, while, return, etc)
yea but for my eyes goto is more readable
rust loops being expressions is fun
who is gonna read my source code anyways
i mean i said that before too but a lot of people have read my source code by now lol
for various things i made
i wont post it , no more github, ill code inside an airtight machine
that being said i should start working again on my vamp survivors knockoff
been procrastinating since mid march
code inside an airtight machine and it'll die of no airflow
@valid jetty do you wanna see my vamp survivors knockoff later this year when it's better built
how they code in space
they dont :^)
ya sure
wow what a nice file
OMG MY HAIR KEEPS GOING IN MY MOUTH I HATE THE WIND
kyuuhachi
no im just memeing
walk at a speed constant with wind so it doesnt affect you
chore
and trip on a rock
do you not do commits
ha and that's where the treasure is
I do commits, yes
idk you seem like the kind of person to do semantic commits lol
Iama
ty
i am SURE you wrote blade
is there genuinely a single reason to use goto at all
cuz ure stupid
No
goto: chloe and hug
Unless you're in a language that sucks
:3
hope ure well sis
i just looked at youtube tutorial

in a language without labelled loops, goto can make the code slightly easier to read
i am!! hru!!
otherwise no
im oki, pirating cp2077 again
smh...
what does pirating entail
bad
download the game, get a refund, keep the game data?
i stopped pirating once i started earning money
puhbu goes to odob. and never comes back
steam is just so much better than piracy ☹️
why does this seem like cap
using steamtools
lol yeah
oh husk
nuh uh
you can do this btw
if its weak drm like steam, there's tools like steamless to remove them out
i accidentally found this
puhbu go study to earn money and unpirate
why is cyberpunk saying "from your steam library" when i literally bought it
https://github.com/conventional-commits/conventionalcommits.org/issues/22 actually neither a chore or fix
lets form a steam family

cant
on my macbook i can buy a game, refund it, go to steam data, take the .app file and move it elsewhere and the game just launches as normal
im already in one with irl family
i then get a refund and the game still works to this day
either has to be an insanely simple program or a lie
(i did this accidentally)
what game is it
is oki i was jokingg
might just be a mac thing
it was a stardew valley x pokemon game i forgot the name
i bought it, it performed badly, got a refund
stardew valley has no drm
and then it turned out i still had the .app
palworld?
thats pokemon slavery
WTF share some
moonstone island
i like that
well if 5dolalrs ir 5000 steam points
it runs badly on my macbook so i refunded it
128k would be 128$? i think
and then i still had the game files after it was funny
bro im stupid
1278 dollars and 58 cents
yeah its a gog game
WHAR
1 cent = 1 point iirc
what is gog
yea because brexit steam doesnt care about games in uk
Download the best classic and new games on Windows, Mac & Linux. A vast selection of titles, DRM-free, with free goodies and 30-day money-back guarantee.
a game platform where you download the exes from the site so they cant have drm
yep..
hm
im boutta be banned from youtube again </3
digital storefront by cdpr for keeping archives of old games and drm free ones
isnt that really easy to get a virus from
drm sucks
no
cant even pirate
no
you still have to pay for the games
its an official marketplace not a piracy site
@valid jetty play inzoi and recode it
inzoi is so peak
they basically just give you the full installer and you can copy it anywhere you want
i need to update it from steam soon
inzoi is peak i agree
inzoi is good but still very early access
I BROKE THE CAR
(my character is still so cute tho)
ellie do u love
😭
give me 1 trillion dollard
my migration file is called married molten man
@nimble bone
at least 13 hours in character editor/build menu its insane this game is a prison
acutie spotted
i'll take the pib and pour it all in my account
sea orm makes a whole new rust project just for migrations its so stupid </3
is sea orm like prisma or drizzle
this is so husk
orms are overrated
write queries manually (i unironically do this)
@crisp kestrel Direct message
i hate working with sql
genuinely
why is rust so verbose??????????????????
yeah i know that, i kind of want it just because it keeps me sane
you can just use sqlx and it checks at compile time
r in rust stands for verbose
its kinda a pain when you are doing fullstack rust tho
#[cfg(feature = "server")]
rust is nice until its not
Why are those different structs
Model and Serializable?
They seem to be exactly the same
its to keep sea_orm out of the client
you can derive based on cfg
cfg_attr?
yeah
its just cfg but you can use attrs with it
#[derive(Clone, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "server", derive(DeriveEntityModel))]
#[cfg_attr(feature = "server", sea_orm(table_name = "theme"))]
works fine! tysm!
funnily enough my cpu instantly went from 40°C to 60°C after i made that change (rust analyzer moment)
soon you'll need a chiller
i try to keep my cpu below 60°C at all times
thats why my fan curves are kinda fucked up
why not change the curve
cuz it works fine!
they just look fucked up
not like i care about that too much anyway i keep a plushie on top of my pc where the aio exhaust is (i love suffocating my cpu)
nothing bad happens
explodes
not yet
rewrite in rust 


cobol is still used because companies insist on it
its not trying to rewrite they plan on using ibm ai to convert from cobol to java 😭 its insane
waiting for bank software to give everyone a trillion dollars cause cobol to java vibe coded migration messed up
can they mistakenly give me a couple trillion dollars, not tax it and not retrieve it
negative
well then make it positive
sure drop your cashapp
I'll pigeon carrier
sure
$puhburealreal
it'll come in a bottle and the pigeon will be called Moshi‐ so please be kind to Moshi
moshi moshi?
i prefer transactions in the form of rare metals and art pieces and sent directly to my trust fund
watch them migrate away from spring boot
and thats where all the perf came from
oki
wtf
avg rust experience
error: Custom { kind: Other, error: "proc-macro server's api version (5) is newer than rust-analyzer's (4)"
SO LET ME UPDATE IT
too much cargo
rm -r ~/.cargo
rustup self uninstall
mega explosion
are you serious or joking i will actually do this
it will uninstall everything, rustc, rustup, cargo, binaries installed via cargo
i just did
$ rustup toolchain uninstall nightly-aarch64-apple-darwin
$ rustup toolchain install
``` seems to have fixed it
maybe next time code on arch!
nah arch is worse
do we have any css GODS here?
i'm looking to implement these in CSS
mainly glitch, and build on
are the 2 i'm struggling with
rest is for the most part easy
time to rewrite it in elle
???
elle is such a bad name you couldve called it 'Big And Long Lethargic Script (BALLS)'
elle is good name it's almost me
idk why it all exploded as soon as i try to make a proc macro
rewrite elle in just a proc macro
wouldnt that actually be smart tho cause u can basically just use rust as IR
lmao true
ok well it works
use proc_macro::TokenStream;
use quote::quote;
use syn::{parse_macro_input, Data, DeriveInput, Fields};
#[proc_macro_derive(Codegen)]
pub fn codegen_enum(input: TokenStream) -> TokenStream {
let input = parse_macro_input!(input as DeriveInput);
let name = input.ident;
let Data::Enum(data_enum) = input.data else {
panic!("cannot use the Codegen derive macro on non-enum inputs");
};
let variants = data_enum.variants.iter().filter_map(|variant| {
if let Fields::Unnamed(_) = variant.fields {
let ident = &variant.ident;
Some(quote! { Self::#ident(this) => this.compile(gen, ctx) })
} else {
None
}
});
let expanded = quote! {
impl #name {
pub fn compile(self, gen: &mut Compiler, ctx: &CodegenContext) -> Option<(Type, Value)> {
match self {
#(#variants,)*
_ => panic!("statement: {:?}", self),
}
}
}
};
TokenStream::from(expanded)
}
now i can just derive(Codegen) on my AstNode enum and i can shrimply
pub fn generate_statement(
&mut self,
func: &RefCell<Function>,
module: &RefCell<Module>,
stmt: AstNode,
ty: Option<Type>,
value: Option<Value>,
is_return: bool,
) -> Option<(Type, Value)> {
// TODO: Unclone these when the whole codegen is moved to the Codegen trait
let ctx = CodegenContext {
func,
module,
stmt: stmt.clone(),
ty: ty.clone(),
value: value.clone(),
is_return,
};
stmt.compile(self, &ctx)
}
compiler.rs is under 2k lines now !!!!!!!!
but i can do better
pretty productive march i guess
sparxmath?
how do you stay motivated
yeah thats something else
with 1 minute of sleep
compilers are really fun
I can't even stay motivated to write a lexer
the lexer is the most boring part
and anything else
get through the boilerplate and make a basic language that can compile very basic things (like something that can compile hello world) and then build on it
thats what i did
its not like these all came at once
@valid jetty rosinga
why are they all in one folder
not when it crashes
i had an idea to make a language a few months ago but gave up on it
@leaden crater are you real
People were saying it's too "bad"
I'm ln(-1)/pi
these are all the different nodes
oh
better many files in 1 folder than many functions in 1 file
the entire app in 1 file
idk
can i tag it or will i explode
holy shit @dawn ledge this abstraction means i dont even need the match at all because i can get rid of generate_statment and just do AstNode.compile(Compiler, CodegenContext)
this is gonna take a while but should be cool
let (left_ty, left_val) = self
.generate_statement(func, module, *left, ty.clone(), None, is_return)
turns into
let (left_ty, left_val) = (*left)
.compile(
self,
&CodegenContext {
func,
module,
ty: ty.clone(),
value: None,
is_return,
},
)
thats so nice
le cat
im not this is just clearer
rosie has motivation days
KLMAO
not really, the difference is that ive learnt to make smaller commits instead of 1 huge commit
me when i do nothing
cooool
idk if i should publish my project on github
u should
put everything an github as long as it wont directly reduce the profit you make from the project
zero minus zero is zero
let (ty, val) = (*self.value)
.compile(
gen,
&CodegenContext {
value: None,
is_return: false,
..ctx.clone()
},
)
.expect(&self.location.error(
"Unexpected error when trying to compile the value of an address statement",
));
i can do this as a substitute for
let (ty, val) = (*self.value)
.compile(
gen,
&CodegenContext {
value: None,
is_return: false,
func: ctx.func.clone(),
module: ctx.module.clone(),
ty: ctx.ty.clone()
},
)
.expect(&self.location.error(
"Unexpected error when trying to compile the value of an address statement",
));
``` right
just wanna confirm before i go do this everywhere and break stuff
Yes, but that will clone the value as well, possibly unnecessarily
Wait, two is_return?
If you do specifically the value: None, is_return: false thing often, consider a method
oop ignore that
nope i do varying things
give up on clone, embrace writing lifetimes everywhere
scrobbles are such a flawed metric
cause people who only listen to 1:30 tiktok songs will have much more than people like me who listen to music that averages like 7-10 minutes length
doesnt last.fm count a scrobble as at least 2 minutes of the song or 50% or more if the song is shorter than 2 mins???
im pretty sure they dont count a scrobble as listening to the entire song
i will do that at some point
i think it counts from 5s up? fm bot always showed me even after 5s
itll show as currently scrobbling but it wont count as a scrobble idt
idk
so what? i always listen to the whole song
idk abt other apps but on spotify its at the end of the song
i just checked
can someone tell me why regex isn't just functions instead of cursed cryptic characters?
it is, but they are so cursed they look like it

Writing a function to validate all that would be utterly painful though
And probably slower than regex in most cases
@dawn ledge improved
use crate::{
compiler::{
compiler::{Codegen, CodegenContext, Compiler},
enums::{Instruction, Type, Value},
},
parser::enums::Return,
};
impl Codegen<'_> for Return {
fn compile(self, gen: &mut Compiler, ctx: &CodegenContext<'_>) -> Option<(Type, Value)> {
let res = self.value.compile(gen, ctx);
if !ctx.func.borrow_mut().manual {
ctx.func.borrow_mut().add_instruction(Instruction::Return(
res.map(|(ty, val)| (ty, val, self.location)),
))
}
None
}
}
wtf i just launched jetbrains rider 
you love indexing
honestly this is good
i love commits like this
Max out cpu to load as fast as possible
yeah ig
it's just the kitty starts running too damn fast 
would you not play overwatch while waiting
i find games laggy when code compiling

wouldnt this be like a feat or something :doithink:
meanwhile mine
am i crazy or is char * the same as char[]
char[] = fixed-length array
char* = could be dynamic size, unknown length, points at the first character


whats the fixed length of this
we'll find out through science
does science involve segfaults 
yeah
Implicit length, it's still stored in the stack iirc
yeah it's kinda stupid
if that even compiles btw
its defined in sys/inotify.h

im trying to make my own file watching api because i need one
char c[65537]
lobotomizing whatever c++ dev thought overloading the / operator was a good idea for path concatenation
lobotomized
@wheat kernel loves this feature in python
i was reading some python code a few hours ago and i could have sword i saw the mod operator used as a format string operator
this shit
who came up with that
thats normal for like pre python 3
now they use f strings
what hapened to fprintf or smth like that
i was reading python3 😭
it's so smart lol
u can do this, u can .format(1, 2, 3), .format(key=x), or f-strings
ig 2 and 3 are like the same thing
says 4
proceeds to list format twice
well one is like
smh
isnt it positional vs named?
yeah
u can have named formats like "limit: {limit}" or "limit: {0}"
nix censorship
"SELECT {query} FROM users;".format(query=query) 🙏
i made that plugin while it was still automodded
it also does the this content ...
no 😭
f"SELECT reply FROM replies WHERE message=='{query}'" 
FFmpeg is pleased to announce we are joining the @DOGE team!
We will be rewriting America's Social Security system in assembly language, for the highest performance possible.
do i add template literals to elle
currently you do string::format("foo {} !", 1) or "foo {} !".format(1)
i love electron
ok compiler is fully refactored technically
ill eventually move away from Option<T> into Result<T, E> for the node codegen
this all came from 2 files lmao
now i have to basically repeat that for the parser
although the parser shouldnt take as long
what’s the feature
it’s a refactor, no implementation has changed
will elle be self-hosted in the future?
@valid jetty
yeah that is a plan for the future
once i add tagged enums and else-if statements its probably very doable
but i would rather have a safe compiler in rust first that i can be confident about before i go try and do it in elle
its easy to shoot your foot off
if i have a backup compiler to fall back on i can yeah
thats nice
do you have any specific plans in mind?
your language dev is very interesting
in python, would using dictionaries with data in the value slot be more efficient than making objects with a bunch of properties?
i've been told that objects are "horribly inefficient" by multiple ppl
i'm expecting 1mil-5mil objects during normal runtime, and the expected data types are sets of coordinates and multiple strings.
multiple pieces of information would be stored per key
would it be more efficient to store data per key as big strings and then parse them when the data is being used?
too complex/need more information to make this decision?
would some other format be better?
Python is inherently "horribly inefficient"
i've considered NP arrays but i'm working with strings and i dont remember them supporting strings(?)
Using dicts vs objects makes no difference
does it matter at large scale
No
1mil-5mil objects?? what are you doing
Because you don't use python for performance critical things
simulating a galaxy (without physics)
i'm going for the largest scale possible for an average machine
i think too
are you creating online game?
not online, singleplayer
the problem is that i expect the objects to become. like. 10x more complex. and take up a lot more space per object
- are you sure python is the right tool for this?
- have you considered just not storing 1-5mil objects in memory?
i did consider a chunking system a la minecraft
oh..
When you said coordinates, do you mean the coordinates of the stars?
yeah
That would be a LOT better
i intend to make star density higher toward center and sparser toward outer fringes
i'm working with pygame as an "engine" (💀)
it comes down to this.
if you're dealing with big data, you shouldn't use an interpreter.
@nimble quail
dw Python is getting JIT since 3.13
you have to simulate from the fabric of reality itself
there's also numpy/pandas if you deal with ton of data in python
but python is not really good for something like this imo
i never expect to reach beyond 5mil stars, especially with generating planets, stations and their behaviors
which is sad because the milky way has immensely more stars
really?
what happened to memory usage and cpu utilization?
i can still simulate the average distance between individual stars and the challenges that come with that
i dont need many stars at all to do that
.
the intended effect is for the player to look at the map, understand that every star is a potential system which may rarely have life of its own, and then come to the realization that they as an entity Do Not Matter at this scale
it is, in spirit and hopefully by design, a psychological horror game
so. the more scale i can feasibly squeeze out of this, the better
we are in 3.13.2 and its still slow </3
dont forget its an experimental feature
hence the question of "how do i squeeze in more things"
why can't you create a system like the seed value in minecraft that generates stars where the player visits?
@nimble quail
yes
its still always gonna be worse than a compiled language of course
i feel like this is the perfect project to learn said compiled language!
the problem is that the gameplay expects there to be stations and stuff in places the player has not visited, and station behavior depends on the stuff around them
a minecraft village has no real behavior besides dying to mobs
a Starsector colony has like. an economy
i don't expect to simulate a galactic economy, just the basics; availability of some goods would depend on proximity to other stations and some types of bodies/planets
.
it's worth mentioning this is in 2D (3D is to many for brian)
i could get lazy and go "ooh all the civilization is dead (and conveniently requires no simulation)" which might be interesting but
there's also the value of "this is a currently living system that is many times larger than myself"
the logical progression for development might be adding ruins and mineable shit first (which shouldnt need any sim at all) and then toy with stations and shit
you should use an actual game engine instead of pygame
this is very much out of scope for pygame
considered godot but im seeing a similar problem
similar problem?
more information to handle
the big difference is that
i wanna add macros for conditional compilation and stuff at some point
peak
and i want to write a wasm backend
what's the practical difference? /genq
gdscript is a LOT more performant than python
and of course actually made for games so youll have an easier time doing.. anything
its also based on python, so if you already do know python youll have an easy time switching
what's the diff between compiled and uncompiled language?
okay so basically
i guess this is what google is for
you have python which is interpreted. You have your python code and you tell the python interpreter to run it. It will go over the code, translate your code into machine code that your pc can actually run, then runs that
and then you have gdscript which is compiled. You have your gdscript code and you tell the compiler to compile it. This turns your code into machine code. You then run that machine code
you skip that whole compilation step at runtime
godot can do so much its insane
(or well in gdscripts case its compiled into byte code, which is then run in a vm)
thats great
i cheer you
i wish you good luck
is it worth dumping the shitty working thing and porting/starting over in godot
or do i fuck it and ball
start over in brainfuck
yes
probably
better start over now than later
big thing i do nof like about godot is that the documentation has been almost more harm than good
the benefits of this are:
- you skip the compilation step at runtime which makes your program (or in this case your game) run faster
- the compiler throws compilation errors which can show you problems with your code before you even run said code
the drawbacks are:
- compilation times, you have to wait for your program to compile
- compilers are usually very strict, especially with types and its a bit more complicated (i doubt this applies too much in gdscript though)
this is a good point
brainfuck is hard, so let's do jsfuck first lol
do it in malbolge
i watched the video on jsfuck that was so interesting lmao
To offset some of the banana-based JavaScript "weirdness" that's making the rounds, I'm bring you a 40 line JSFuck compiler that turns innocent looking JS into a mess of obfuscated symbols.
=[ 🔗 Links 🔗 ]=
- ⭐️ Patreon: https://www.patreon.com/lowleveljavascript
- 💌 Updates to your inbox: https://tinyletter.com/lowleveljavascript
...
are we allowed to talk about local installs of vencord here?
oh
as long as you are not asking for help with it
understandable
programming in straight python has been (or at least felt) a lot easier than learning and using what feels like (to the untrained eye) a big library
ig it would be better to ask about it in abstract then? its not really a vencord specific thing tbf
ugh. sunken cost fallacy has hit me i think
well you have large libraries in every language
so wait.
if i build an .exe from the python, isn't that "compiled"
Not really
If you build an exe from the python, you basically have a funny zip file with .py files
fuck
If you are looking at Python to exe it basically just puts your Python code and the interpreter into the exe
Maybe .pyc, not sure
It’s just not worth making an actual Python compiler
Python works in ways where it can’t be optimised that much so there is no point in going for performance
You’ll always get „just use an actual compiled language!“
yeehaw
i'm on the fence of "fuck it we ball" and "do the smarter option"
devil and angel
the stupider option feels funnier, and i do like a good comedy
ough im scared to commit
Well you see after a while it will just become so unbearable to you that you will quit
fuck it im gambling
UUUUUUUUGH.
FINE.
time to "port" (rewrite) my entire project in goodt
goodt??
new language dropped......
time to go speedrun my cs1 quiz
► Check out Zenva's free Godot course: https://academy.zenva.com/product/godot-101-game-engine-foundations/?utm_source=youtube&utm_medium=partner&utm_campaign=partner-youtube-brackeys-2024&utm_content=partner-youtube-brackeys-202401
► Get 20% off your first year (on top of any existing site-wide discounts!) with this link (first 50 people): ...
fuck yeah
brackeys the goat
still crazy that godot was so good it got brackeys to come back from the dead
nah 😭
unity ceo messed up so hard that brackeys had to come back
it was when they announced that licensing thing
a girl can dream
personally havent tried godot yet
honestly i encourage everyone to use godot sm but i dont think ive actually made any finished games in it
doesnt change the fact that its peak
all the other stuff aside, godot was the first game engine that i coudl actually understand cause unity was just not getting to me
i forgot what goto was so i read it as "got o" and not "go to"
c++ (the best programming langauge) has goto tho
interesting
That is not a point in its favor
whats wrong with goto
Completely unstructured
whos gonna be the first
nothing
I am learning x86_64 assembly
i use it all the time in my c++ code
I think it might be hard
asm seems like it would be easy but just really tedious
if all you are doing is checking for messages containing certain text that should be ez!

byte FUN_140001620(void)
{
longlong in_RAX;
return *(byte *)(in_RAX + 0x17) & 0x1f;
}
that such a function
i say rust lambda syntax is bad, but c++ is arguably worse
C++ lambda syntax deserves four millennia in jail
yeah
Rust's is a bit unorthodox, but fine
the only languages with sane syntax for lambdas is c#, js, and python
(dynamically typed languages in general)
like how is this valid
auto lambda = [] {do_thing();};
auto lambda2 = [] -> void {do_thing();};
auto lambda3 = [] () {do_thing();};
auto lambda4 = []() -> void {do_thing();};
so insane
it makes sense if you really think about it
c++ wouldnt just be incomprehensible like that
yea, i love them
lambda calculus
elle has
lambda := fn() do_thing();
lambda2 := fn() -> void do_thing();
lambda3 := fn() { do_thing(); };
lambda4 := fn() -> void { do_thing(); };
Here is your php(8.2.3) output @lavish frigate
asdf```
tbf php callables fucking suck and elles probably dont
/run ```php
<?php
class Test {
public function foo() {
echo "bar";
}
}
$obj = new Test();
$obj, "foo";
Here is your php(8.2.3) output @lavish frigate
bar```
love?
why
calling arrays 😊
you can also call strings if you wanna
/run ```php
<?php
class Test {
public static function foo() {
echo "bar";
}
}
"Test::foo"();
Here is your php(8.2.3) output @lavish frigate
bar```
that reminds me a bit of js
doesnt that make sense?
insane
also why strings and arrays are technically part of the "Callable" interface :3


