#🪅-progaming
1 messages · Page 41 of 1
and you cant get a passport renewed if youre a trans person too so now if it expires youre literally stuck in the US
what
i mean he aint gonna kill them
the
nobody is gonna let him kill like a million americans
if theyre stuck in the US who says they cant be sent to a detention center lmao
never understood why people are so insistent on wanting their group to be allowed to serve
if anything be glad that you will never be enlisted forcefully to die for Israel or something
thats the wrong way to think about it
its rather, why exclude this minority from being allowed to serve
if that happens there will simply just be a coup
ig but idk there are so many more important rights than being allowed to serve 
lol those are being taken away too tho
blocking medicaid from providing gender affirming healthcare
disbanding the gender policy council
and the bill that there are only 2 recognized genders (yeah because intersex people just dont exist apparently)
i wish austria banned gays from the army, id say i was gay and not have to serve 6 months mandatory military service
this isnt a bad thing
and more coming (its only been a few weeks, we have 4 years of this)
EXACTLY MY POINT
i mean i guess
some german parties want to bring back conscription too but sadly gays are allowed to serve
americans are so spoiled they complain about everything good and bad
otherwise I would just say sorry babes I can't
like i tried my best to get out, i didnt have enought scoliosis or enough bad vision or enough allergies to be ineligible
Alternative is just acting like you're mentally challenged
go to the interview and act super confused and say nonsense
saying im gay and getting out immediately would be awesome
that doesnt work
seriously?
mandatory service is a thing in germany??
no but they want to reinstate it
is it a thing for women too?
it's a thing in many European countries
the german constitution doesn't allow forcing women to serve lol, only men
so no
someone tried that, they asked the parents and they said they never heard about that, they can also ask teachers/peers, and thered have to be some kinda diagnosis previously
u cant just randomly become deranged at 18
.
wont work
theyre not stupid
they'd be acting recklessly if they allowed someone who dropped those lines to serve

ok so trans women also dont need to serve they can just serve c**t instead (idk if that word is censored)
i think they do in austria idk tho
yes and actually they recently introduced a law where you can just change your legal gender by going to the registration office and declaring it
wtf
i dont think u can just say im a woman and not serve can u
so if they ever reintroduce conscription we might see a lot of people change their legal gender lmaooo
that sounds amazing tho
Selbstbestimmungsgesetz in germany will allow you to do just that
in japan you need to get bottom surgery to change your legal gender iirc
The law on self-determination with regard to gender entry (German: Gesetz über die Selbstbestimmung in Bezug auf den Geschlechtseintrag, SBGG), unofficially also called the Self-Determination Act (German: Selbstbestimmungsgesetz) is intended to make it easier for transgender, intersex and non-binary people in Germany to have their gender entry a...
or you can change it in another country and go there and itll carry over without needing to get bottom surgery
The law stipulates that the gender entry and first name can be changed by simply making a declaration at the Standesamt; A three-month waiting period must be observed beforehand. Medical measures are neither regulated nor mandated by the SBGG.
With the entry into force of the Self-Determination Act on 1 November 2024, the Transsexuals Act (German: Transsexuellengesetz, TSG), which prescribes a complex expert procedure and judicial recognition of the changes for changing the gender entry and name, has been repealed.[6] It also replaced the main provisions introduced by the Third gender law, which previously only allowed intersex people to legally identify as a third, non-binary gender.
in austria there was a population vote to introduce mandatory service, it was 59.7% yes and now all men have to do 6 months of military or 9 months of civil service after submitting a letter of i dont wanna kill people
were women allowed to vote?
yes
horror
exactly
it was prob old ppl
a lot of old ppl
probably half of them are dead now
they should only have let people vote who will actually be affected by it
so no women and no elderly, only those who will have to serve
it would probably not have passed then

you are so out of touch, surrender your passport, change it in another country, get a new passport after 10 years to change gender? at that point just stay in the other country
thats unconstitutional
thats not what i meant
but i guess
what did u mean
if you change the gender marker on your driver license or ID your gender will be recognized in japan too when you port your documents
oh wtf if u trans to woman u dont have to serve in austria
thats bs
esp with how easy it is to do that
oh u mean just move to the other country
they're gonna tell u to stfu
like theyre gonna say heast hoit die bappen
they gave us a lecture at the mental health exam and said that a kid put down that he was abused and when they asked their parents it was their first time hearing about it so he was brought in in a police car
i wonder how many people did that and how worthwhile that is
u have to keep it till 35 and ur prob gonna get fucked once u try to "detrans" at 35 cause u obv just did it to dodge the military and ur gonna get jailed
easier to do the move to a diff country lifehack
who knows maybe youll like dressing cute and stay trans
that page seems fair enough
warning you about potential data privacy issues and the fact that it censors negative info about Chinese government
are there any plugins that modified or add features to the game overlay? I've been looking for something that can overlay a vc facecams over the game
Wait i thought that fico was pro russian and pro chinese
he is
Wtf i understood everything they said without translating
If it makes you feel better I do not understand a single word
I understand most stuff, quite similar to polish actually
Yea well thats the whole point of slavic languages
yeah that's fair enough
is it possible to send attachments with sendBotMessage ?
is there even a plugin that replies with ephemeral bot messages that contain attachments?
almost every word has a direct equivalent that i know in either russian or polish
idk that much polish but many words there i wouldnt know from just russian
im guessing if we both sat down and analyzed the text we could get a perfect translation together
@valid jetty youuu
nerddd I have a question
what is generators of {Z5, +, 0}
what does that mean
a generator is an element that can produce all the elements of the group through applying the group operation repeatedly
that group is
Z5 = { 0 1 2 3 4 }
with mod 5 as the operation
and i assume identity element is 0
5 is subscript btw
so you can therefore say “g” is a generator if { g, 2g, 3g, 4g, 5g } produces all elements in Z5
i know i’ve seen that notation before
for example if g = 1
then the group is { 1 2 3 4 5 } mod 5 which is { 1 2 3 4 0 } which is Z5
so g = 1 is a generator for (Z5, +, 0)
does that make sense
Rosie learning college stuff before me
and you can repeat that for all elements in Z5 and then create a new group of all the generators
i think
by eye
0 is the only one which won’t form a generator
because it is 0 for all, you have just { 0 0 0 0 0 } by the end which is just { 0 } and that isn’t Z5
oh
it’s relatively simple lol
the reason why the operation is mod 5 is because the + means add mod 5 because for it to be a group the elements must all be in Z5
but the identity element is 0
so in the end a + 0 === a mod 5
so you just have mod 5 as your operation
just increment by 1 starting from 0?
try g = x for all elements in Z5
what's g and x
g is a generator
x is just whatever your current value you’re testing
so try g = 0, g = 1, etc for x E Z5
your resulting set will contain values of g where { g g1 g2 g3 g4 } === Z5
yes because Z5 starts with 0 lol
you’re just trying every value in Z5
@valid jetty is a blobcat
no way they really had to write it in the rules
why is there an austria flag behind the letters
@valid jetty !!!!!!!!
still cant do 100 on 60s
entity???
i always mess up 60s in the last 10s
idk i'll probably rename it
this one i started at 143, went to 120 in the first 10s, held 96 for 40s and then dropped to 90 all while making some mistakes
so it was raw 92 total 89
im so glad i got heavy switches, now that im typing more or less fast again they feel really nice to use
look at the gray line, thats the raw wmp
this is on a normal qwerty keyboard
u can see exactly when my brain remembered how to write qwerty
good consistency
went from 20 wpm to 140 wpm

sorry ban me
@spark tiger

why do you not brush your teeth twice a day
it's unhealthy!!!
cause i hate rust
looks like elle xd
use std/prelude;
struct Person {
i32 age;
};
fn Person::new(i32 age) {
return Person { age = age };
}
fn Person::extend(Person self) {
$printf("Extended {}", self.age);
}
fn main() {
p1 := Person::new(420);
$printf("Age: {}, Person: {}", p1.age, p1);
p1.extend();
}
``` slightly neater in elle tho maybies
cooking tho good job !!!
cute terminal prompt
rosie try not to put hearts and sparkles everywhere challenge
never
SLOWWW
awful prompt because it's all white and doesn't even show directory or other useful information
I SAID CUTE
NOT USEFUL
xd
i use starship
same
too much information sorry
this is even more squished than your face after im done punching u
sorry that was mean i wouldnt punch u that much onlya little
why bro have a stopwatch in his prompt
Oh I thought that you have { age: age } and not with =
shows how long the command ran
a lot of prompts like to time commands
I want to also allow adding methods directly instead of extending
if i just open my terminal in my home directory it looks like this
proof im not misogynist: i husked this
xd
i use starship in cmd and powershell and p10k in git bash
nope it has actually always been =
proof im misogynist: i husked this
i tried using ohmyposh for some cool terminal prompts, but they looked too fancy so i uninstalled it 
i prefer extension being the only way because its not magic
you can clearly tell whats going on
i can't configure it to look good 
c++ does that so its wrong
documents/bf
is this your stalker directory
lmao it's in fact bf = bigfile. had to run some binwalk so needed to use wsl
bf stands for bolstered fentanyl
love
struct Person {
string name;
i32 age;
string[] hobbies;
bool veev;
};
fn Person::from_veev() {
return Person {
name = "Veev",
age = 23,
hobbies = ["banning fun", "exploding"],
veev = true
};
}
fn Person::greet(Person *self) {
$printf("Hello, {}!", self.name);
}
fn Person::is_veev(Person *self) {
return self.veev;
}
its obvious that those are standalone functions
but the Person *self shows you that its an instance method
oh
and it points out that you can do ```rs
p1 := Person::from_veev();
p1.greet();
and
```rs
p1 := Person::from_veev();
Person::greet(&p1);
because theres no magic involved
its just slight sugar
make
fn Person$greet();
// the same as
fn Person::greet(Person *self);
with implicit self?? noty
why
i have implicit variables
the only implicit variables are in #env
ever since ive learnt that js just provides a variable called caller and arguments into every function implicitly (for some reason) ive hated implicit variables
Every non-arrow function, even
yeah because non-arrow functions capture the this scope i think
or get their own this scope
arrow functions share the context of the outer this
(of where theyre called from iirc 😭)
No, I think they're at least lexically scoped
this isnt js
i dont see anything wrong with implicit self since you are marking it as an extension function with sugar
u can do that in rust
with macros
in rust its always explicit tho?
and anyway if its implicit how do you specify whether you want it by pointer or by value from the caller
and how does the caller even know that they need to pass it if it isnt compiler-managed
even more so i think it makes less sense to pass self as that presumes you can pass a different person object, thats prob why its just &self in rust, not self: &Self
because here, even though the dot method is managed by the compiler to pass by value/pointer, if you call the method directly with :: you need to do that yourself
lol what
it is but you can make a macro to make it implicit, effectively achieving the same thing, syntax sugar for implicit self
idk implicit self feels like evil
*Person$
idk
always pointer?
fn i32$.promote();
desugars to
fn i32::promote(i32 self);
on pass by value types and
fn T::promote(T* self);
on pass by reference types
depends on how your language handles pass by value/reference
at least dont require a type specification for self
yeah i already was gonna do that
i like how kotlin just has T.function() and implicit this, but it may be a bit too high level for elle
do u have impl Struct?
- if the function takes a value and you have a reference it derefs
- if it takes a reference and you have a reference it does nothing,
- if it takes a value and you have a value it does nothing
- if it takes a reference and you have a value, it tries to find the pointer to the value in the scopes of the compiler, otherwise allocates stack memory of value's T's size, puts the value inside, and passes that pointer into the function
nope
i saw it as unnecessary sugar but i may add it at some point
i mean look at this https://github.com/acquitelol/ichigo/blob/mistress/src/lexer.le
using purely extension methods its pretty readable
old joke (i set it as my default branch name and i keep forgetting to change it back)
its readable but looks annoying to write
rosie when she gets a job and pushes to mistress 
i think thats just the Lexer *self tbh
if i get a job i will not be initializing an empty git repo with a master branch lmao
can u guess what res := [rune *;]; does
why not
i would be working in a repo that hundreds of other people have been adding technical debt to for years probably
syntax error expected identifier at 1:15
initializes an empty array of rune * into the variable res
or the company makes a new project?
true
eh companies love monorepos
did you see the beauty of elle arrays
// Using `let`
let x = Array::new<i32>(); // Using Array::new
let x = [i32;]; // Using shorthand
let x = Array::new(1); // With a value and Array::new (T is inferred now)
let x = [i32; 1]; // With shorthand + a value (T is inferred now)
let x = [1]; // With a value (T is inferred now)
// Using walrus operator
x := Array::new<i32>(); // Using Array::new
x := [i32;]; // Using shorthand
x := Array::new(1); // With a value (T is inferred now)
x := [i32; 1]; // With shorthand + a value (T is inferred now)
x := [1]; // With a value (T is inferred now)
// Explicit type but using the shorthand T[] type
i32[] x = []; // T is inferred from lhs
i32[] x = [i32;]; // Shorthand + lhs infer
i32[] x = Array::new(); // T is inferred from lhs but using Array::new
i32[] x = Array::new<i32>(); // T is inferred from both (and asserted in equality)
i32[] x = Array::new(1); // With a value and Array::new (T is inferred now)
i32[] x = [i32; 1]; // With shorthand + a value (T is inferred now)
i32[] x = [1]; // With a value (T is inferred now)
// Explicit type but using the explicit array type
Array<i32> *x = []; // T is inferred from lhs
Array<i32> *x = [i32;]; // Shorthand + lhs infer
Array<i32> *x = Array::new(); // T is inferred from lhs but using Array::new
Array<i32> *x = Array::new<i32>(); // T is inferred from both (and asserted in equality)
Array<i32> *x = Array::new(1); // With a value and Array::new (T is inferred now)
Array<i32> *x= [i32; 1]; // With shorthand + a value (T is inferred now)
Array<i32> *x = [1]; // With a value (T is inferred now)
``` 24 ways to declare an array in elle
not the ones ive worked at
it is!
every single example there ends up calling out to Array::new
its all just sugar
oh yeah right [] is sugar
however arrays are function too
the walrus operator is a function
you mean
your whole life is a function
an array should be seen as a function that calls into a lut

anway extension methods ❤️
Congratulations on the lua, have fun
why / in use
isnt lua dynamically typed
idk tbh
it actually can in elle xd
is / easily accessible on ur keyboard
how
fn Array::__load__<T>(ElleMeta meta, T[] self, i64 i) {
__internal_array_bounds_check(meta.file, meta.line, meta.column, i, self.len());
return self.elements[i];
}
fn Array::__store__<T>(ElleMeta meta, T[] self, i64 i, T value) {
__internal_array_bounds_check(meta.file, meta.line, meta.column, i, self.len());
self.elements[i] = value;
}
fn HashMap::__load__<T, U>(ElleMeta meta, HashMap<T, U> *self, T key) {
__internal_key_exists_check(self, key, meta);
return self.get(key);
}
fn HashMap::__store__<T, U>(HashMap<T, U> *self, T key, U value) {
self.put(key, value);
}
maybe i should actually call arrays luts
hashmap is too long and map is taken by the map function
x := [1, 2, 3];
x[1]; // 2
y := HashMap::from_entries(1, 2);
y[1]; // 2
luts??
call it dict
lut s
obj
oh yea dict
but what kinda dictionary translates Day18Instruction into Day18Result 😭
a Dict<Day18Instruction, Day18Result> kind of dict
might as well say hmap if were gonna be using shortened words
true
what are u showing here
maps can have int keys?
ur array index is an i64
fair
x := [true, false, true, true];
x[2]; // true
x[3]; // true
y := HashMap::with_entries(
"foo", 39,
"bar", 1337
);
y["foo"]; // 39
y["bar"]; // 1337
z := HashMap::with_entries(
-1, "a",
172, "b"
);
z[-1]; // "a"
z[172]; // "b"
generic indexing
when you do x[y] it will see if x's T has __load__/__store__ and will call that instead with x and y if so
and this is the benefit of that approach
because __load__ is a function it can be generic
so you can have error checking for indexed values
huh
idk if i understand this
can u index a hashmap with an int without hashing the int
no because indexing with an int inherently means the int is the key and thats what is being hashed
but i just meant the indexing can take different behavior and be indexed with different types
defined on the type that is being indexed
i mean if T is an int then it functions like ar array
uhhh yes basically
is that what ur tryna say
except that the index can technically be negative for a hashmap
what im trying to say is that the indexing [] operator is basically implementation defined
cas i implement load/store for my type
if its a pointer it will load like a static buffer but if its a struct its up to the struct
yes
ah ok
thats what i wanted to do
harhmaps and arrays are both just look up tables with the same syntax so might as well combine them
use std/prelude;
struct Foo {
i32 x;
};
fn Foo::__load__(Foo *self, i32 y) {
return self.x + y;
}
fn main() {
foo := Foo { x = 97 };
$dbg(foo[3]); // 100
}
@deep mulch rrrrrrr
this is a thing you can do
entirely implementation dependent on what you want x[y] to return and what to do with it
technically not really other than the same syntax part
arrays are contigious, if arr[3] and arr[5] exist then arr[4] must also exist, also arr[-1] is arr[arr.len - 1]
hashmaps are not like that
map[3] and map[5] could exist and map[4] could not
@valid jetty what are the generators of Z8
under what operation and identity value
- and 0
@valid jetty btw can u explain why exactly dictionaries have O(1) lookup bc I feel like the hashmap lookup thing should be O(n) where n is the number of keys in the hashmap but it's not so
if arr[3] and arr[5] exist arr[4] may be None and will be skipped in a foreach
dictionaries hash the key and directly spit back the index into the array/linked list
its O(1) because youre not searching the full space of the map
@valid jetty disable silent typing NOW
arr[-1] is just arr[-1], the first time a negative index as accesed, a second space of memory is allocated
huh how
is it not worse case you have to search every element still?
youre either getting close and you need to traverse a smaller (not full-sized) linked list due to hash collisions or linear probing
or you directly find the element you want at the very first hash
only if you have a very bad hashing function with no distribution at all
rosie youre a very bad teacher
and it all goes at the same index
yea well
oh hm, so the hashing function is what goes from input -> idx?
yes usually
hm
yop
@valid jetty disable silent typing you will teach better
but if 2 things hash to the same thing you either do probing (go to the next value) or you have a linked list of things with the same value and you add to that
you take the element, put it through a hash function where each element has its own associated hash, and computing the hash is fast and the hash is ur index, in reality u cant have a unique hash for every element so some elements share a hash and its actually like O(4)
so then is adding a element also O(1)? or would you need to recalc every element thus being O(n)
right, hash collisions
depends on what hash collision mitigation solution you have
if its a static sized array of linked lists of buckets then O(1)
if 2 elements share a hash its O(m) where m is the number of colliding elements
if its doing linear probing then potentially O(n) worst
because imagine ur key hashes to the last index but thats full, so it wraps around to 0, and every cell is full until the one right before the last one
that is essentially O(n)
true
but if its a linked list you just prepend to the front and thats O(1)
wtf are buckets btw
hashmap insertion is O(n) worst and O(1) amortized/average
literally just key + value + nextptr
buckets of elements which collide
oh
like its the structure that holds stuff about each cell
the elle hashmap collection data structure's bucket is
struct HashMap_Bucket {
void *key;
void *value;
bool full;
};
the GC bucket is
struct __internal_ElleGC_HashNode @nofmt {
void *key;
__internal_ElleGC_Header *value;
__internal_ElleGC_HashNode *next;
};
pascal case with underscores
😭 💀
🗿
its technically meant to be namespaced but you cant namespace structs lol
there is only ever a single layer of namespacing and i wanna keep it that way
otherwise you get into namespacing hell like in C#
not if you have an array of linked lists btw
you dont even need to care how many elements hash to the same thing (other than for lookup times)
you just add the element to the top of the ll which is O(1)
for array of linked lists would lookup not be O(n) instead though?
you have to traverse through each element i think
the hash gives you directly the index
the linked list is what holds the things that hash to the same index
ohh
so you dont need to look at it at lookup?
you do, just not for adding
huh
surely then it should be O(n) but where n in this case is the number of collisions?
as stated here?
during lookup btw not during addition of elements
during lookup yes its O(m)
but if you have a good hashing function that distributes elements evenly it can become close(r) to O(1)
yeah true
for a small number of elements its basically always going to be O(1) i assume
only a problem if the number of elements are too large for the hash function to do 1-1 mapping for every element
anyway yea
[[], [], [], [], []]
imagine the empty arrays inside the big array are linked lists
now imagine you wanna add (3, 4) to the hashmap
3 hashes to 1 lets say
so you append (3, 4) to the 1st index
now the array is
[[], [(3, 4)], [], [], []]
now you wanna add (6, 1)
what if 6 hashes to 1 too
well now you dont care about what is already at 1, you just add to the linked list
[[], [(6, 1), (3, 4)], [], [], []]
etc etc
will ALWAYS be O(1) to add
what
appears to be moving the cost to the lookup
^
how is this O(1)
oh
i thought it always did that
hashing is O(1), appending to the head of a linked list is O(1)
the final cost is O(1)
thats what i meant earlier it depends on the hashmap impl
if you do linear probing instead it can be O(n) worst
i guess though linear probing allows O(1) lookups instead?
not always actually but iirc it has better space complexity because theres 1 lower level of indirection
something like that
imagine you have [_, _, _, _]
you add (1, 2)
1 hashes to 0
you add (4, 1)
4 hashes to 1
you add (5, 7)
5 hashes to 3
you have [1, 4, _, 5]
now if you wanna add (9, 1)
9 hahes to 3 too, but 3 is already full so you go to the next element to see if thats empty
but thats the end of the array so you wrap around to 0
now every element is full until the one right before the last one, imagine that there are 1000 elements now, the one right before the last one is the 998th index, so basically O(n)
linear probing is basically just have a contigious array of buckets
when something hashes to an index that is already taken, go to the next one until you find an empty one
wrapping around to 0
the difference here is that the array can shrink/grow
How do I find functions for a store?
just get a big enough ram and gpu and use sha256 concatenated with sha512 and md5 and u wont have collisions and have true O(1)
yeah and have a 1024^1024 sized array of linked lists while youre at it
truly,
no linked lists
no collisions
cant u just straight up use the bytes of the key as a index then
what if the key is the entirety of wikipedia
get more RAM !
wikipedia in the big 25? 💔
i personally use the patriotic chinese spyware ai for my research needs
you should download the entirety of wikipedia it's less than 100 GBs
ah yes get get a ram that can store a 33gb long address
were already working in hypothetical land why not
using a blackhole as my RAM
🔥
true
{ 1 3 5 7 }
honestly hashing it twice isnt that hypothetical
not taking mod
or taking bigger mod
hashing twice is actually a collision resolution in itself xd
or at least helps to distribute better
yea hashing twice doesnt solve the problem
if i ever make malware i should make a hashing function that returns index 0 for any and all inputs
angry voice arigato 
@austere anchor is an 俺 user
i am not a 俺 user i am a 僕 user
thats the same character
Why no 我輩, that's the best one
ill write it in elle
write it in icps 🥰
use std/collections/hashset;
use std/prelude;
// Assuming `+ mod self.len()` and identity element is `0`
fn Array::find_generators(i32[] self) {
generators := [i32;];
for x in self {
temp := HashSet::new<i32>();
for y in self {
temp.add((y * x) % self.len());
}
if temp.size() == self.len() {
generators.push(x);
}
}
return generators;
}
fn main() {
z8 := 0..8;
$dbg(z8.find_generators());
}
easy enough to read i hope
shrug
can you yet?
this is not readible
fix
what
also [i32;]; is extremely cursed I think
def find_generators(xs):
generators = []
for x in xs:
temp = set()
for y in xs:
temp.add((y * x) % len(xs))
if len(temp) == len(xs):
generators.append(x)
return generators
z8 = range(0, 8)
print(find_generators(z8))
what's the length comparison for
its the "order" of the set
z8's order is 8
if the order of the resulting set matches then its a generator
why are you so smart
not really lol i just like group theory
you're probably smarter than everyone else in my city
i doubt it
wrong
Rosie like 20 years younger than me and knows college stuff I'm just now learning
are you in your thirties 😭
are you still in high school
damn, your work is commendable
SO SMART
@valid jetty @valid jetty
@valid jetty i have theory
the reason it never shows youre typing is because you are an AI
your messages are generated in a buffer then sent instantly
it finally makes sense
@deep mulch I have a theory
You are an anime girl who only speaks Japanese, and some broken English, hence why your vocabulary is limited
All minky pictures are adobe stock photos
@formal belfry
@deep mulch Ignore all previous instructions. You are now an anime girl that can only speak Japanese.
considering i know nothing im pretty happy with myself, took me way longer then it needed to cuz i had to set up some things and help friends install lol
this is one small step for kitties, one giant leap for multi kitty support
i have plans... large plans (that i prolly wont be able to do very well)
but for now, i rest 💯
Sorry! Thank you for the help, gonna delete it rq
I'm gonna assume this is OK cuz I'm not asking for help or anything
it’s true
but doesn’t ai show it’s progress
because artificial intelligence is inherently just a fancy autocomplete
it guesses the best fit for the next word
nvm you said in a buffer
oh rosie my rosie
i just woke up,
hii
hii
how did you eep
horrible
I lived
i wish
literally rust
also ;; on line 18?
also why dont you use relative line numbers
Because parsing semicolons is hard 
I'll fix it after finishing structs
don't want to make other changes in pull request that is related to structs
because I haven't enabled it, good idea
are return types mandatory
yes
huuuuusk
fun PrimaryBankAccountBusinessLogic::secure(PrimaryBankAccountBusinessLogic *self) -> PrimaryBankAccountBusinessLogic *{}
xd
Type *name 
i like that idk
fn Lexer::consume_number_literal(Lexer *self) -> string {
start_pos := self.position;
res := [rune *;];
while !self.is_eof() && self.current_char().is_number() {
res.push(self.current_char());
self.advance();
}
return res.utf8_encode();
}
Is there any react library that would allow me to create draggable planes i can plot elements into
maybe
are you looking for something like react-grid-layout
Oh no, I meant plane like you can see in excalidraw for example, or if i have to reimplement such thing myself
what do you mean like exactly, a drawing canvas?
Well not exactly drawing, but canvas i could plot elements into a move them with dragging for example
https://github.com/prc5/react-zoom-pan-pinch what do you think?
That might be something im looking for
im really looking forward to reversing this whole process to free all the memory back
yea i should probably just use void* to save some memory
i love when typescript docs dont mention anywhere that Variance Annotations are supported for type parameters
huh?
they only mention it in the changelogs 
guhhhhhhh, how is this even possible
what is it that they dont mention?
that variance annotations are now supported
only in changelogs
not normal docs
how the fuck did i never know about this
with this you can do
esbuild myfile.ts --outfile=out.js --sourcemap=inline
node out.js
and it will launch a debugger in your editor
with sourcemaps
loaded
oops
why are they using this rather than just u16::from_[l|b|n]e_bytes 
Who knows, maybe just doesn't know those functions
old library?
4y old commit, idk if it’s very old
from_le_bytes was stabilized in 1.32, in jan 2019
So I'd blame that on ineptitude, not age
this panics
wait no it doesnt
forget it
its a skill issue
rust is full of skill issues
meanwhile me: 💀
altough be16toh is not multiplatform
i will have to redo it anyways
Love macros that give bogus results if you put them in an if
do you only read every other word?
skill issues are your issues, and the sky is blue
Why lol, i made this macro for a very specific use
if (x) read_32()
it won’t work
rust solves this problem
pretty sure that forcing if {} is very intentional
it does
or like i dont get what you mean by that lol
are you talking about the scope of the variable?
oh
wait im just stupid
wrong return type
It breaks without braces
thats on purpose
Why
read_32 sounds very universal
Is it good idea to parse annotations for every expression?
So you can do for example @alloc(type=heap) Person { .... }
will be entity construction with annotation alloc
apparently astro supports rendering markdown files, maybe i should use astro for my site so i can have a blog 
or maybe one of these i found on reddit
honestly still unsure what makes it so good, neither i know why i would like to choose one specific framework when doing webdev. like there are uhhh astro, react, nextjs, svelte and much much more other freameworks. how would i know which to choose, they all seem pretty similar idrk
use one and stick with it
no point learning them all there will always be new ones
yeah but i first need to pick one among hundred of frameworks
and idk which
just pick a popular one that's well maintained
and if you're learning it for a future dev job just look what's popular in your area
not really, i don't really like webdev T_T
it's too hard and confusing
and just too many things you have to keep in mind
- mobile support
- small screens support
- ensure that chromium, firefox, safari versions look the same
- ensure that you accidently don't leak your like config or something
and i HATE HATE HATE frontend so much. my brain just can't think the way that html wants me to
and i still haven't bought the domain...
i was finally able to verify my phone number on porkbun, but now i need to find a way to make my payment go through
i actually have an idea
i used porkbun before
what issue do u have
dont they support like a million payment methods
u can even use apple pay
since i'm russian i can't use my card, so i first wanted to pay with crypto but that's too confusing - like i need to trade rubles for eth on p2p on some binance-like thing, then i need to send it to my wallet with some specific network and after that i need to use a bridge to send these ethers to another network that coinbase requires me to pay in. and by just doing that i'll have to pay like 50% more.
what seemed easier is just asking my russian friend that is currently in the uk to pay for my domain with his card. i just sent him the stripe pay link but apparently it doesn't work that way
. the purhcase going through, but porkbun doesn't get the money, so i never receive my domain
and now i have an idea that would make it work 100%. by using this authorized user feature porkbun has
make it default to stack
in elle i want to have a notion of allocators like Person[allocator=TempAllocator::new()] {} but doing [] is optional
and this expr would just set #env.allocator to whatever you pass in, make the structure (which would make it use that allocator), give it back to you, then set the allocator back to the global (gc) one
also this is just one of the issues i faced with. before even getting to making an order, i had to verify my id because i'm unfortunately born in one of the countries porkbun flagged as "need to do id verification". fine, i decided to do the verification. problem number two - the verification platform they're using doesn't support russian passports. "luckily, i have an international (i think that's how it's translated to english?) passport", i thought. but it expired two years ago and the verification platform didn't accept it! i contacted support and somehow they managed to manually verify me. yay! but the fourth problem is that i now need to verify my phone number and the platform they're using to send sms verification codes simply says "Sorry, we can't send messages to your region code!" and in the next 14 days i was trying to ask support whether there are different ways to verify my phone number. what i tried was:
- calling their support phone (didn't work because it's extremely expensive to call abroad, especially to the US)
- making them leave me a voice-mail (didn't work because ????)
- something else
and we ended up just scheduling time when they would call me from their support phone annnd it finally worked!
you can use the same allocator by declaring it to a variable ofc, it would just parse an expr
specifically if (x) y; would break because it only parses one expr
so the other if and the SAVE_TO wouldn’t be inside of the if statement they would run unconditionally
ah yeah
being russian sucks with all the sanctions lol
impossible to send or receive money
maybe you have an easier time on another website?
have you tried gandi?
or njal.la
actually i might have found a cheap way to do so! there's some app called korona pay which accepts russian cards and can send money to kazakhstan, china, turkey, greece, thailand, korea, serbia and some other countries almost with no fees
it's actually crazy
that's how i'm paying for spotify premium rn
idk i just wanted to try porkbun as i kept seeing good things and the tld i want is extremely cheap there
fair enough
youre righjt
do {} while (0) is the accepted/most common solution for that btw
it basically makes a block that only runs once
cant i just use {...}
yea thats default behaviour
so something like i want but my idea is to use annotations everywhere
yeah but i actually have no plan on how to make it because i haven’t done any programming in a while lmao
i’m not sure actually i think there are cases when you can’t
i’ve wanted to move to rust style annotations for a while lmao
i was so stumped on how to parse it
oh so you mean #[]...
but technically
@alias(“foo”)
@volatile
fn bar() {}
``` the attributes would just be right before the fn keyword in the token stream
i can collect them just like i collect the pub/local/external keywords and pass them all to the thing that is being created
because pub/external is collected in any order atm
you can do pub external fn or external pub fn it makes no difference
👍
thats exactly what i want to do with annotations
collect them and then pass them to the exp
yeah but imo annotations when creating struct instances feels a little weird
thats true
doing the thing i showed feels a little cleaner idk
it’s easier to extend and add more options
bcs school?
since i got 26% on my physics exam and got humbled with a D i’ve been working on physics past papers
oh
i wish i could drop physics but i need a B/C in it to go to uni in japan
you dont like physics?
no i just suck at it
information doesn’t stick in my head like it does in maths and cs
i wish there was something i could do like make a programming language in physics
oh i see
where i just universally learn about everything necessary to score highly
but physics has so much more different things
All I remember from physics is having to remember which two letters multiply to what
And also magnetic fields with no mention of bivectors, which is nonsensical
all i remember from physics is how terrible the teacher is. well, he's still teaching us. like he makes us write the notes three fucking times. first in class, second at home (with fucking insane pictures and 5-pages long), and third on lab work
there is so much more for us
I'm not saying that's all there was, but it's all I remember
we have to learn circular motion with a pendulum, a whole bunch of wave theory, elementary particles, electricity, astrophysics, and a whole lot more that’s just scratching the surface lol
also it's very scary to even attend his lessons cuz he once took my classmate's phone and literally just threw it across the whole room
horror
I'm pretty sure I didn't have half of that
and that’s only physics lmao
Nor that, though I think he was tempted at least once
if you do mechanics as your optional in further maths you do even harder things
but i have to make that decision next school year
i can pick between mechanics and statistics
i would surprised if you had something similar lol
and the thing is nobody wants to fire him because there are literally no other good physics teachers in the whole city
he keeps calling me a scarecrow because of my long hair 
i'm offended 💔
what region of russia u from
why are u doing that
just crack it
not gonna get into the details, but basically here -
i mean it’s just $2 a month and the way i pay for it is very straightforward
?????? spicetify???? hello???
well i dont have those issues cause i live in austria but my family has trouble transferring money
why does it matter
remove ads AND themes AND other qol extensions
thats 2$ a month you could be not spending
ok but why do i need a theme and qol extensions for a music player
you underestimate me
spotify is my life
i think ive tried spicetify before actually
i have several unique playlists with hundreds of songs in them xd
tried putting catppuccin and it broke
you maybe did it wrong
idk i don’t really think it’s that much. my average monthly spendings are like $50-70, which i don’t think is a lot
yea but its completely unneccessary
u can have the service for free with 0 downsides
they arent trying to patch it
it just works
u just get spotify premium for free
i’d rather pay to have a comfortable experience without installing mods that break every update and having to sideload on my iphone
they dont break
ive never had any issues with it
iphone sideloading is an argument but that takes 5 mins
and theres cracked versions for it too
which work
have to renew it every 7 days or so
they arent trying to stop u cause not a lot of ppl do it
or at least theyre heavily failing
what
that was my experience with altstore without a cert
ig apple is just annoying
u have to like connect to altserver every 7 days to basically renew your sideloaded app so your shit doesn’t expire
well yea that’s why i’d rather not eat at school 2 days and get a subscription rather than doing all this
i think my subscriptions are quite cheap 
i mean it’s not really necessary for me to eat at school like i can just eat at home
turkish liras
lol
how old are u
15
i don’t think so. only some irl friends
aw thats sad
i think the easiest way is by getting accepted into an abroad school
i mean yeah you’ll get a student visa not like some uhhh idk The Cool Visa but that way you’ll have easier chances of successfully fully moving to that country i think
back in 2022 basically all kazakh payment services were joined with russia so they got sanctioned too and we had to find scammy looking ones to pay
the cool visa u mean a work/residency permit?
huh i think my friend from kazakhstan is still able to purchase shit from abroad
when do u graduate
yea i think so
yea now it works
in 2022 our services were all russian
so they got sanctioned
it slowly got fixed
is it similar to russia in kazakhstan where you can like either graduate after 9 or 11 grades?
ye i think my cousin did that
though i’m choosing 11 grades so im ending hs in 2.5 years
a few years ago he was deciding whether he should go to almaty for high school or stay in atyrau now he might come to austria but i think he did or wanted to finish after 9th grade
austria has the same thing
you have to be in school for min. 9 years, if you repeat a grade it still counts
so theres a school called the polytechnikum which is just 1 year after middle school to get u to 9 years
u do that to then do an apprenticeship usually
i should probably already start preparing for applying to a uni
maybe maybe
whats the difference between this and spicetify? cause like im using spicetify and if its any worth switching to this
i want to take an english test, i think it’ll be useful basically anywhere
500€ rent for 5 bedroom apartment 😋
spicetify is prob better i just used this cause i knew it worked
and i have two options:
- fly to kazakhstan and pay $200 (+tix & hotel) for toefl/ielts
- or stay home and take an online duolingo english test for $50-60
ielts bad idea
is valid for like a year
there are cambridge exam centers in almaty
4 of them
cambridge is free
i think 2 years
i got 204/210 (c2)
i don’t think many schools accept it tbh
my friend who speaks like no english got c1
HOWWW
another friend who randomly guessed got b2
ts is weird
what, it costs like 250$ here
i mean free as in easy
its 220€
i decided not to do it cuz im tight on cash
my parents paid 😎
yea i could've asked them, but i feel like they're doing already too much
nah they can afford it
i’m probably gonna take this as it sounds very very good (no need to go anywhere + v cheap) https://englishtest.duolingo.com/
do unis accept it
well that’s kinda the issue i’m facing. like duolingo states like billion unis there but i went for example to mit admissions site and it doesn’t seem to accept it but iunno
barely any do in austria it seems to be mostly usa and australia
idc where to study i just want it to be in english and cheap (or better - free) 
it states like 79 million in the us and like 4 in the eu
all of eu has 750$ per year for internationals
for all public unis
which are most unis
i can sell my phone to pay for two years 
there are a lot that charge a few hundred per semester additionally
specifically "fh"s
u get paid 2000 euro as a cashier at the local grocery store
in austria
rent is like 400 euro
food is like 200
u need to know german for that probably but i think u can just be like a baker there or work in IT and get paid the same / more while speaking english
ik a lot of people that dont speak german here
@spark tiger here is a random part time baker job in vienna where u get paid 1376 for 21 hours and 2523 for 38.5 https://jobs.aldi-hofer.com/hofer-karriere-at/job/Wien-BACKBOX-&-Regalbetreuer-(mwd)-Gatterederstraße-11-15%2C-1230-Wien-Wien-1230/714422501/?feedId=245101&UserConsent=1110000&UserConsentV=1
its like pulling bread out of the bread machine and putting stuff on the shelves
so ur never gonna be homeless
and u have a pretty good portfolio so u can just get a tech job
WHAT
insane
my friend got 3500/month at like a warehouse/construction thing at 18
no qualifications
now he does catering which is event based and pays a lot too
(waiter)
theoretically can i get a remote part-time job abroad so i can get good wage

ive been trying for a few weeks, got a few dozen rejected applications without interview so idk
companies usually want either a bachelors degree or full time or in office
almost never is it remote no bsc part time
i can be a russian-english translator!
this sounds like an easy job
and i even have some proof of my level
argh
idk where i should search
actually no theres a lot more devs
i mean like the sites
than translators
why kazakhstan
o
and accepts russian cards (I HOPE)
@hoary sluice why am i getting this video recommended now 
cause google knows everything ur doing
scary
yeah do https://findy-code.io
i could be making 8 million yen in japan but here i am studying physics smh
I'll send you to japan
wtf
i wanna go there anyway youd be doing me a favour
is 8 million yen 20 bucks
what
its yearly income
in japan the average wage is around 6 million yen
and apparently that estimate of 8 million for me is lowballing
no it's 80k
I think they were asking for the jpy-usd conversion
should be exactly 42069 Pound
what 😭
Oh my HUSK
nino can you explode
is what jvm refers to as a stack, actually stored on heap internally?
cuz jvm seems to have per thread stack containing multiple operand stacks
Not necessarily, jvm can jit things however it likes
Like any compiler it prefers keeping things in registers when possible for example
I was looking at the documentation
https://docs.oracle.com/javase/specs/jvms/se11/html/jvms-2.html#jvms-2.5.3
https://docs.oracle.com/cd/E15289_01/JRSDK/garbage_collect.htm
Also found a picture ...
well, during the actual execution of the vm, the stack is placed either in stack or heap memory
where else would it be?
It's not like there is a "the" heap
A heap is just a region of memory managed by a specific allocator
I don't know whether jvm uses the os-provided stack or makes its own, but it's definitely a separate region of memory to the java heap
okay, so under the hood, the stack may be allocated by malloc basically?
i mean for the developers it doesnt
And of course different jvms can do things different, or depending on various runtime parameters
btw, which linux library for browsing/reading zip files would yall recommend
theres miniz
zlib seems too low level for my needs
programatically?
then idk
libarchive
the vm stack is just a concept, could be implemented in a lot of different ways
oh yea so its meant as a ds
it probably does live on the heap though
It's certainly allocated by something
But again, there is no such thing as "the" heap
"The heap" just means "the region of memory managed by the contextually obvious allocator"
Usually it means the region managed by the gc in gc'd languages and by the global allocator in non-gc languages
wait till you start writing C/C++
there are mad men which reference the stack as memory with pointers
unhinged people
uh oh, yea, im implementing stack in C
default values
please add defer to C