Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-10-11 00:00 and 2024-10-12 00:00
Avatar
Блядь 2 месяца дождя не была и сука я как поколол все дрова в доме и забыл занести дождь ручием лить начал бог ты пидорас
💀 1
03:04
Avatar
RussiNs
Avatar
Avatar
zhn
крита
крита не альтернатива фотошопу
Avatar
Avatar
gizem
RussiNs
Sin shlyhians (edited)
05:03
Когда уже амирикосы возьмут в рот ?
bluekitty 3
Avatar
I need a good anime advice (short) after that i will start bleach
Avatar
Avatar
gizem
I need a good anime advice (short) after that i will start bleach
what genre are you interested in (edited)
Avatar
Avatar
meloƞ
what genre are you interested in (edited)
I enjoyed watching naruto/ aot
09:01
Rest was just to be keep up with my friends (edited)
09:02
I also loved tokyo revengwrs but im afraid to type it here
Avatar
Tower of god it's style is pretty unique so not everyone likes/ it - but the manga was banger and i like the story. Frieren is a feel good anime, it's just a cozy story. Wind Breaker is one that i personally liked, it's basically Baki in not so overpowered but fun (edited)
Avatar
Seems like tower of god is not finished yet (i want to start an anime and finish it ) so i don’t wanna give it a chance rn
09:07
Maybe when its finished
09:07
But i can start its manga ig
09:09
Wind breaker seems like what im seeking the watch
Avatar
Avatar
meloƞ
Tower of god it's style is pretty unique so not everyone likes/ it - but the manga was banger and i like the story. Frieren is a feel good anime, it's just a cozy story. Wind Breaker is one that i personally liked, it's basically Baki in not so overpowered but fun (edited)
Actually it seems like tokyo revengers not baki but idk
Avatar
i havent seen tokyo revengers :(
Avatar
Youshould
Avatar
Death Parade is short and finished, but not action. Frieren is great but also very chill. Cyberpunk Edgerunners was pretty good if you are into the cyberpunk genre
09:36
Black Lagoon also comes to mind for a short actiony anime that's finished
Avatar
Devilman Crybaby - awesome style, perfect OP
Avatar
MilkeeyCat 2024-10-11 09:42
it's time to watch "Uzumaki"
Avatar
Avatar
Learath2
Death Parade is short and finished, but not action. Frieren is great but also very chill. Cyberpunk Edgerunners was pretty good if you are into the cyberpunk genre
Does death parade and death note has connections?
09:46
(Haven’t watched death note yet )
Avatar
Avatar
MilkeeyCat
it's time to watch "Uzumaki"
😳
Avatar
Avatar
gizem
Does death parade and death note has connections?
No, Death Parade is a standalone anime, quite an interesting premise, very nice art style and themes
Avatar
Avatar
BratOK
Devilman Crybaby - awesome style, perfect OP
It looks cool i will also give it a chance
Avatar
Avatar
Learath2
No, Death Parade is a standalone anime, quite an interesting premise, very nice art style and themes
I saw some article abt yagami light appearing in it so i asked
Avatar
DoubleDipp 2024-10-11 09:49
Death Note is the best Anime. Thats the biggest difference
Avatar
Avatar
BratOK
Devilman Crybaby - awesome style, perfect OP
Nevermind i won’t watch it , just checked some clips
Avatar
I actually did not watch Death Note yet. Am I a fake weeb?
Avatar
..i didnt like death note all that much..
Avatar
Do I go to weeb jail?
Avatar
i hate OP's that are mentally insane
Avatar
My frend gave me all the possible spoilers so i don’t think i will watch death note
Avatar
Avatar
Learath2
Do I go to weeb jail?
MilkeeyCat 2024-10-11 09:51
Yep, and there you will be forced to watch the most dogwater anime
Avatar
Avatar
Learath2
Do I go to weeb jail?
DoubleDipp 2024-10-11 09:52
First into Hell with melon than straight into weeb jail yes 🙂
Avatar
Avatar
MilkeeyCat
Yep, and there you will be forced to watch the most dogwater anime
Noooooooooo, I don't want to watch Tsuujou Kougeki ga Zentai Kougeki de Ni-kai Kougeki no Okaasan wa Suki desu ka?
Avatar
So wind breaker and death parade are in my list
Avatar
Avatar
gizem
Nevermind i won’t watch it , just checked some clips
:(
Avatar
Avatar
BratOK
:(
It's extremely excessive in its violence, in its depiction of sex and its nihilistic themes
10:00
Thats enough to not watch xD
Avatar
I mean, isn't aot also violent title? nouis
Avatar
Avatar
BratOK
I mean, isn't aot also violent title? nouis
Netflix produced titles go a little beyond what the Japanese are willing to do on their own
10:02
I should really watch this one tho, I was curious about it
Avatar
There is also another one from Netflix: Dan da dan
10:03
They recently started, but first episod is awesome to watch
Avatar
Im afraid to see nightmares but if learath approved it i will also give a chance
Avatar
At least I enjoyed it
Avatar
Bleach could wait ig
Avatar
Avatar
BratOK
There is also another one from Netflix: Dan da dan
this one also has a banger on it's OP
Avatar
Btw whats op
Avatar
Opening
Avatar
“One piece”
Avatar
ED - ending
10:05
This is the MV that plays before and after episode itself
10:05
😇
Avatar
Avatar
BratOK
There is also another one from Netflix: Dan da dan
I heard the OP, Creepy Nuts crushed it again
Avatar
Avatar
Learath2
I heard the OP, Creepy Nuts crushed it again
Yep!
Avatar
Avatar
gizem
Im afraid to see nightmares but if learath approved it i will also give a chance
Hey if you don't like that kind of stuff, just don't watch it 😄
10:07
I should also continue one piece sometime, I kinda got bored around episode 100
Avatar
Avatar
Learath2
Hey if you don't like that kind of stuff, just don't watch it 😄
I mean i have watched blood-c
Avatar
Avatar
MilkeeyCat
it's time to watch "Uzumaki"
Is it good?
10:18
Haven't looked into it yet
Avatar
MilkeeyCat 2024-10-11 10:19
I watched only 1 episode so far, I liked it even tho I don't usually watch stuff like dat xd
Avatar
MilkeeyCat 2024-10-11 11:04
@Learath2 I started reading the dinosaur book, there's a lot of stuff I didn't know and there're practice exercises to write a simple linux kernel module, time to find out what happens when you dereference null pointer in the kernel santatrollet
Avatar
Avatar
MilkeeyCat
@Learath2 I started reading the dinosaur book, there's a lot of stuff I didn't know and there're practice exercises to write a simple linux kernel module, time to find out what happens when you dereference null pointer in the kernel santatrollet
Are you moving on from compiler development to become an OS developer?
Avatar
Avatar
Learath2
Are you moving on from compiler development to become an OS developer?
MilkeeyCat 2024-10-11 11:12
no
Avatar
че за фигня мою карту не проверяют хотя поставили галочку синюю
12:05
why my map dont verify? i wait many time and my map dont verifying
Avatar
Avatar
Squ1zyyy
че за фигня мою карту не проверяют хотя поставили галочку синюю
тебе канал сделали для карты, обновленную версию карты туда кидай #❌🏁blackwhite_run
Avatar
Avatar
MilkeeyCat
@Learath2 I started reading the dinosaur book, there's a lot of stuff I didn't know and there're practice exercises to write a simple linux kernel module, time to find out what happens when you dereference null pointer in the kernel santatrollet
MilkeeyCat 2024-10-11 12:42
it took me only 2 hours hours to install linux on virtual machine pepeW
Avatar
Avatar
Squ1zyyy
че за фигня мою карту не проверяют хотя поставили галочку синюю
тайм кпс это вроде чекпониты по которым тебе будет писать насколько быстрее ты прошел парт, я карты не делал так что хз как их добавлять
Avatar
@meloƞ windbreaker is fire
🥵 1
12:58
Its literally a copy of tokyo revengers
Avatar
@Welf well go here then
Avatar
its by discords design, we can't do anything about it, it's designed that way to not bloat up the discord that much, imagine joining a discord server and having 500 channels visible, it's horrible.
Avatar
Wanted to say there must be a better way tho
12:59
Bots with webhooks can do a lot
Avatar
not without ruining UX on our discord channel
Avatar
it's a common thing on discord servers that some channels are hidden, maybe there should be some thing like they ask you when you join which channels you want to see
Avatar
Maybe a forum channel for all the new maps? Can a bot interact with forum rooms?
13:00
I think each forum room is programmed as a thread
Avatar
you mean something like #town-hall ?
Avatar
Yes, it has two UI designs
13:01
the other one is perfect for review and such, you can also lock threads whenever the map's judgement is decided (edited)
13:01
You can also tag it, search it way better.
13:01
It would be way more convenient imo
Avatar
you know what a great place to discuss this would be?
13:02
#town-hall
Avatar
Mmmm, not #developer?
Avatar
nah #developer is for game development, not for a design choice on our discord
Avatar
since the ddnet bot is related in terms of map review, thats why I ask (edited)
Avatar
i like the order of the map testing section, it's a good overview on the maps we also have different sections "map testing" "waiting" "evaluated maps" which give all the information you need on the forum the order of the stuff switches around alot, which makes stuff really messy
Avatar
its better to make a thread about it and ping murpi/snail, since they're the once handling this
Avatar
I always thought cellegen was cendren
justatest 1
13:03
Idk why
13:03
Are you?
KEKW 1
Avatar
arne is arne, cellegen is cellegen
Avatar
Avatar
Welf
i like the order of the map testing section, it's a good overview on the maps we also have different sections "map testing" "waiting" "evaluated maps" which give all the information you need on the forum the order of the stuff switches around alot, which makes stuff really messy
Yes, locking a thread will make it not appear at the front, and new ones are somewhat organized based on activity and not creation time
Avatar
Avatar
gizem
I always thought cellegen was cendren
FFS NOT AGAIN
Avatar
i wonder if you can sort threads based on tags
Avatar
@Arne mf
kek 1
13:04
even if you change your name
13:04
your name haunts me
Avatar
because having 3 threads for evaulated, waiting mapper, map testing sounds annoying
Avatar
Avatar
meloƞ
because having 3 threads for evaulated, waiting mapper, map testing sounds annoying
ain't it annoying on those channels still?
Avatar
looks pretty clear to me
Avatar
All I see is a bunch of rooms which would take 1/3 of my horizontal screen
Avatar
you can immediatly see if a new message popped up, if the state changed
Avatar
Avatar
Cellegen
All I see is a bunch of rooms which would take 1/3 of my horizontal screen
its called mousewheel and its awesome
Avatar
Avatar
meloƞ
its called mousewheel and its awesome
MilkeeyCat 2024-10-11 13:06
I don't use that.. thing
Avatar
do you have any idea how many threads i ahve for reports/ban appeals etc ? kekw
Avatar
well, I see more benefits that come from forum channels, than bunch of rooms organized under a bot
13:06
first, you may not need ddnet's bot system anymore to upload / review / judge maps, which is a plus, less development for more benefit
Avatar
we need the bot tho
Avatar
so clean :o - i mean i see where you're coming from, tags would be nice - but i still feel like this could make it harder to keep track of certain things
Avatar
second, instead of using emotes which many people wouldn't get for the first time and it's still annoying to keep track for each and every emote you all use, you can use tags with their appropriate names to search for them.
13:08
leaves me to my third point: easy search for whatever map you have uploaded to the forum room. I cannot express an easier way to search for any map (be it old or new), rather than in whatever room you all store your old maps... if it's still accessible even
Avatar
Avatar
meloƞ
so clean :o - i mean i see where you're coming from, tags would be nice - but i still feel like this could make it harder to keep track of certain things
you don't have access to the secret area muhaha
Avatar
that example would go to any oldschool map which had such debates, that now months later, tester team decided to judge
Avatar
Avatar
Welf
you don't have access to the secret area muhaha
where trial tester - did you even see my feedback on #❌⚡kocmoc ??????? oh wait you did...
13:09
cat_hehe
Avatar
fourth, instead of having a preview image always inserted after you joined the map discussion room, why not have the forum room immediately present the preview on how it looks?
Avatar
Avatar
meloƞ
where trial tester - did you even see my feedback on #❌⚡kocmoc ??????? oh wait you did...
you don't get that section by becoming a trial tester
feelsbadman 1
Avatar
Avatar
Cellegen
fourth, instead of having a preview image always inserted after you joined the map discussion room, why not have the forum room immediately present the preview on how it looks?
#town-hall
Avatar
fifth, instead of having #📌info in the map testing section, why not insert those rules inside that forum room, since it's now possible to do that?
13:11
(even if it's on a thread, you can pin the thread, always appearing on the top.)
Avatar
Avatar
meloƞ
#town-hall
Also, idk about you reading the rules on that room, but check it.
13:12
I have no real idea about that "one topic / thread" rule, since a thread contains one topic
13:13
meaning am I allowed to make more thread on different discussions, or am I just not allow to open more, than 1 active thread?
Avatar
one thread per topic and one topic per thread is the same thing no?
13:15
you can open 300 threads, as long as each are individual, different topics releated to DDNet
13:15
i dont see why you're overcomplicating this
Avatar
Avatar
Cellegen
Also, idk about you reading the rules on that room, but check it.
which rule am i not taking in account by telling you that this discussion and your suggestions will be lost in time and space if you dont open a thread about it
13:16
which is in your opinion a QoL change for discord, testing and user experience
Avatar
I wanted you to check it in order to understand if I was reading it correctly or not
13:17
which by the looks of it, I wasn't
13:17
I'll make one for sure, however not today
13:17
today's Tee Galaxy time
14:50
guys its booting up for like 15min lol
14:50
i mean discord
14:50
why did i buy ssd at this point
14:50
😄
14:51
its just says updating then error 5 times then connectivity problem in russia/turkey
14:51
how tf did they even "ban" it (edited)
Avatar
Avatar
むぎ
how tf did they even "ban" it (edited)
they forced ISP's to disallow connection to discord (edited)
Avatar
Avatar
meloƞ
they forced ISP's to disallow connection to discord (edited)
yee?? ik
15:23
but im somehow connected
15:23
after 15min boot up
Avatar
magic
Avatar
@meloƞ elp, can't view maps in #📬submit-maps
Avatar
you can download them?
Avatar
I don't specifically want to, I might wanna see the reactions of it
16:20
Ain't the first thing of mine or anybody's even, to download the map first
Avatar
you can react to the message on #📌info to get the testing role and see all channels, but the bot is down rn (edited)
Avatar
I did, however
16:35
I didn't get any roles.
16:35
Avatar
MilkeeyCat 2024-10-11 16:36
Why is everything related to type-checking is written in OCaml, this is unreadable pepeW let rec occurs : tv ref -> typ -> unit = fun tvr -> function | TVar tvr' when tvr == tvr' -> failwith "occurs check" | TVar ({contents = Unbound (name,l')} as tv) -> let min_level = (match !tvr with Unbound (_,l) -> min l l' | _ -> l') in tv := Unbound (name,min_level) | TVar {contents = Link ty} -> occurs tvr ty | TArrow (t1,t2) -> occurs tvr t1; occurs tvr t2 | _ -> ()
Avatar
Not in here as well @Welf
16:37
Very cool 👍
Avatar
Avatar
MilkeeyCat
@Learath2 I started reading the dinosaur book, there's a lot of stuff I didn't know and there're practice exercises to write a simple linux kernel module, time to find out what happens when you dereference null pointer in the kernel santatrollet
MilkeeyCat 2024-10-11 17:01
It's actually impossible to use, ig ill rawdawg it on my system :\
Avatar
Avatar
MilkeeyCat
It's actually impossible to use, ig ill rawdawg it on my system :\
Why impossible?
Avatar
Avatar
MilkeeyCat
Why is everything related to type-checking is written in OCaml, this is unreadable pepeW let rec occurs : tv ref -> typ -> unit = fun tvr -> function | TVar tvr' when tvr == tvr' -> failwith "occurs check" | TVar ({contents = Unbound (name,l')} as tv) -> let min_level = (match !tvr with Unbound (_,l) -> min l l' | _ -> l') in tv := Unbound (name,min_level) | TVar {contents = Link ty} -> occurs tvr ty | TArrow (t1,t2) -> occurs tvr t1; occurs tvr t2 | _ -> ()
because writing a compiler in ocaml is WAY WAY easier than in any other language
17:19
and OCAML has llvm bindings btw
Avatar
Avatar
Learath2
Why impossible?
MilkeeyCat 2024-10-11 17:19
it's very laggy xd
Avatar
ocaml is the goto compiler language
Avatar
Avatar
Ryozuki
and OCAML has llvm bindings btw
It's very hard to debug a live kernel btw
Avatar
rust was originally written in ocaml too
17:19
i need to learn ocaml
Avatar
Avatar
Learath2
It's very hard to debug a live kernel btw
but im not talking about kernels here xd
17:20
he is talking about typ echecking
17:20
i didnt see any other convo
Avatar
Avatar
Ryozuki
he is talking about typ echecking
This is another convo, he is writing a simple kernel module following the dinosaur book
17:21
but well i was talking about type checking and compiler dev
17:21
in that space, ocaml is nearly the lingua franca
17:21
llvm has official bindings
17:21
i think ill do advent of code in ocaml
Avatar
@MilkeeyCat you basically need an extra computer with gdb on it and some annoying kgdboe setup
Avatar
i guessu need qemu
17:22
@Learath2 cant u use qemu?
17:22
xd
17:22
Avatar
Avatar
Ryozuki
@Learath2 cant u use qemu?
He said it's too laggy to use a vm
Avatar
skill issue
17:23
did u configure ur vm to use kvm
Avatar
then he said he'll rawdog it, which makes me think he wants to try it on bare metal directly, which is notfun
Avatar
make kvm_guest.config
17:23
the kernel itself has a make command for it
17:24
# Coverage collection. CONFIG_KCOV=y # Debug info for symbolization. CONFIG_DEBUG_INFO=y # Memory bug detector CONFIG_KASAN=y CONFIG_KASAN_INLINE=y # Required for Debian Stretch CONFIG_CONFIGFS_FS=y CONFIG_SECURITYFS=y
17:24
seems like qemu is win win for devs
17:24
u get coverage, memory bug detection, etc
Avatar
Avatar
むぎ
pepeW
no talking weeb
Avatar
Avatar
むぎ
pepeW
if u want to lvl up ur weeb u need to learn a programming language
Avatar
guys why would not u create #dev-off-topic channel
Avatar
C or Rust
Avatar
Only issue with qemu is that it is a little annoying to debug device driver issues
Avatar
why
17:25
its mostly the same ppl in offtopic always
17:25
xd
Avatar
i wanna read any real conversation not fuckin CODE
17:26
Avatar
i don't think rust is a weeb language
Avatar
Avatar
むぎ
guys why would not u create #dev-off-topic channel
it's #off-topic not #dweeb
Avatar
???
17:26
rust is used by the most degens
Avatar
Jupstar ✪ 2024-10-11 17:27
it's nice to sometimes see no pedo content here (edited)
Avatar
rust ppl tend to know C too
17:27
but C ppl not
Avatar
Avatar
louis
i don't think rust is a weeb language
The weebest language is by far JS. Javascript developers own programming socks
Avatar
why are u guys so obsessed with "pedo" thing, when its just anime girls?
17:27
who hurt u
Avatar
Avatar
むぎ
why are u guys so obsessed with "pedo" thing, when its just anime girls?
copium
Avatar
Avatar
むぎ
why are u guys so obsessed with "pedo" thing, when its just anime girls?
no one even said anything about "pedo", you have a problem
Avatar
MilkeeyCat 2024-10-11 17:28
@Learath2 if you were theoretically using a new programming language and in that language pointer arithmetic was only allowed with variables of type usize would you think the creator of the language is an idiot or is it ok? xd
Avatar
Avatar
Learath2
no one even said anything about "pedo", you have a problem
Avatar
IT's not too late for therapy
Avatar
also skeith was bullying me for harmless jokes
17:28
about cute and funny anime girls
Avatar
its true ur a bit creepy
this 1
17:28
but its the internet so
17:29
we might as well be talking to convicts
Avatar
Avatar
むぎ
about cute and funny anime girls
your own definition of "cunny" was cute and funny iirc? - based
Avatar
Avatar
むぎ
why are u guys so obsessed with "pedo" thing, when its just anime girls?
Jupstar ✪ 2024-10-11 17:29
enjoying drawing of kids talking about "varginas" is not pedo for you?
Avatar
ngl I would ban you just in case if this was just my discord, to be on the safe side
Avatar
targetted towards anime girls drawn like 12 y/o
Avatar
i didnt know the word cunny
Avatar
Avatar
meloƞ
your own definition of "cunny" was cute and funny iirc? - based
eww
17:29
what
Avatar
i can see why people get biased
Avatar
Avatar
Jupstar ✪
enjoying drawing of kids talking about "varginas" is not pedo for you?
what is pedo even for you
17:30
do u think i am like 30+ yo?
17:30
???
Avatar
Avatar
むぎ
what is pedo even for you
Jupstar ✪ 2024-10-11 17:30
feeling sexually attracted to kids
Avatar
Avatar
むぎ
do u think i am like 30+ yo?
Jupstar ✪ 2024-10-11 17:30
no but 18+ (edited)
Avatar
Avatar
MilkeeyCat
@Learath2 if you were theoretically using a new programming language and in that language pointer arithmetic was only allowed with variables of type usize would you think the creator of the language is an idiot or is it ok? xd
Do you mean T* + usize? (edited)
Avatar
Avatar
Jupstar ✪
feeling sexually attracted to kids
ye but no one was talking about any sexual desired for kids
17:31
i just like cute girls
Avatar
Avatar
meloƞ
your own definition of "cunny" was cute and funny iirc? - based
Jupstar ✪ 2024-10-11 17:31
friendly remainder
Avatar
This is getting more and more jailable by the second
Avatar
its not about having sexual desire, it's the core thought of you sexualizing or making sexual jokes about girls drawn like they're 12 years old
Avatar
ye nothing like that was ever said by me
Avatar
its the same thing with people sexuallizing an anime character which looks 10 y/o and they hit you with the "but she's actually a 2000 year old vampire, its canon!!"
Avatar
i don't care what u like, it's weird to have ur images pop up when i just want to read what's been going on in ddnet discord
Avatar
Avatar
むぎ
ye nothing like that was ever said by me
Jupstar ✪ 2024-10-11 17:32
I also never mentioned you directly xd
Avatar
Avatar
meloƞ
its the same thing with people sexuallizing an anime character which looks 10 y/o and they hit you with the "but she's actually a 2000 year old vampire, its canon!!"
alarm 1
Avatar
Jupstar ✪ 2024-10-11 17:32
but apparently you felt talken to
Avatar
i cant open off topic in public places anymore cuz of ppl like u bruh
Avatar
Avatar
むぎ
guys why would not u create #dev-off-topic channel
it would only be ryo talking then
Avatar
Avatar
louis
i cant open off topic in public places anymore cuz of ppl like u bruh
because of what exactly?
17:33
anime?
Avatar
You are the reason I don't really tell people irl I watch anime
kek 1
Avatar
@meloƞ most weird guys that do this never fully graps whats wrong and always go to legnth to defend it, its a lost cause
Avatar
cuz i don't want people to see underage anime girls dancing gifs on my laptop xd
17:33
it's weird
Avatar
i seen this in ffxiv
Avatar
do u feel embarrassed to be seen with anime on ur phone?
Avatar
the lalafel is a kid like character u can play
17:33
kid like race
17:34
but they claim its not a kid
Avatar
Avatar
louis
cuz i don't want people to see underage anime girls dancing gifs on my laptop xd
Ackshully, she is 500
Avatar
its wild
Avatar
can u stop spamming
17:35
i wonder why this guy aint banned yet
Avatar
Avatar
Ryozuki
@meloƞ most weird guys that do this never fully graps whats wrong and always go to legnth to defend it, its a lost cause
insane
Avatar
im not the one whos spamming here
17:35
ur DEVS with ur CODE
Avatar
Avatar
Ryozuki
i wonder why this guy aint banned yet
Because being creepy isn't technically against the rules
Avatar
spamming is
17:35
gifs
Avatar
Jupstar ✪ 2024-10-11 17:35
apt purge myself
Avatar
reactions
Avatar
@louis block him
Avatar
I like anime as much as any other person But I don't like to meme with it
Avatar
ill block him too
17:36
done
Avatar
Maybe we should add a "vibe-check" rule, if you fail, banned, no discussion
Avatar
@louis this way u can open offtopic and see my glourious rust code
Avatar
Avatar
Learath2
Maybe we should add a "vibe-check" rule, if you fail, banned, no discussion
🐴
17:36
horse gang vibe
Avatar
Avatar
Learath2
Do you mean T* + usize? (edited)
MilkeeyCat 2024-10-11 17:36
ptr + foo, where foo is usize
Avatar
Avatar
MilkeeyCat
ptr + foo, where foo is usize
It's sensible, but only if you don't have some sort of integer promotion rule
Avatar
u do ptr[4], i do 4[ptr], we are not the same BASEDHALT
Avatar
Avatar
Learath2
Maybe we should add a "vibe-check" rule, if you fail, banned, no discussion
please dont purge me
17:38
i'm vibing
Avatar
itrs friday
17:38
nekospin
Avatar
Avatar
MilkeeyCat
ptr + foo, where foo is usize
Also did you inherit the ptr + x == (T *)((char *)ptr + x * sizeof ptr) from C?
Avatar
guys, why do we use 4 spaces to indent code? that wastes 4 whole bytes for nothing. my suggestion is to create a new character that is 4 spaces long and use it instead to save 3 bytes per indentation
Avatar
Avatar
Learath2
Also did you inherit the ptr + x == (T *)((char *)ptr + x * sizeof ptr) from C?
You never really want to allow accidentally unaligned pointers
Avatar
Avatar
pilonpl
guys, why do we use 4 spaces to indent code? that wastes 4 whole bytes for nothing. my suggestion is to create a new character that is 4 spaces long and use it instead to save 3 bytes per indentation
i use 1 space indenting
Avatar
Avatar
pilonpl
guys, why do we use 4 spaces to indent code? that wastes 4 whole bytes for nothing. my suggestion is to create a new character that is 4 spaces long and use it instead to save 3 bytes per indentation
Compiler: "Am I a joke to you?"
Avatar
Avatar
pilonpl
guys, why do we use 4 spaces to indent code? that wastes 4 whole bytes for nothing. my suggestion is to create a new character that is 4 spaces long and use it instead to save 3 bytes per indentation
just use 1 space for indents, then got sniped nvm .-. (edited)
Avatar
Avatar
meloƞ
i use 1 space indenting
Straight to jail, with the creepy dude
Avatar
Avatar
Learath2
Also did you inherit the ptr + x == (T *)((char *)ptr + x * sizeof ptr) from C?
Avatar
1 space for indent is an instant vibe check failure
Avatar
GEP in llvm is the heart of lvm
17:40
llvm
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
You are joking right? There is no way
Avatar
struct munger_struct { int f1; int f2; }; void munge(struct munger_struct *P) { P[0].f1 = P[1].f1 + P[2].f2; } ... struct munger_struct Array[3]; ... munge(Array); define void @munge(ptr %P) { entry: %tmp = getelementptr %struct.munger_struct, ptr %P, i32 1, i32 0 %tmp1 = load i32, ptr %tmp %tmp2 = getelementptr %struct.munger_struct, ptr %P, i32 2, i32 1 %tmp3 = load i32, ptr %tmp2 %tmp4 = add i32 %tmp3, %tmp1 %tmp5 = getelementptr %struct.munger_struct, ptr %P, i32 0, i32 0 store i32 %tmp4, ptr %tmp5 ret void }
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
pepeW
Avatar
Avatar
Learath2
You are joking right? There is no way
i'll wrap this to allow float's so i can indent 0.5
Avatar
but seriously why use spaces when we have tabs
Avatar
🍈 removed from mod
Avatar
hah lmao
Avatar
yes i'm joking, i use = to format which automatically indents 4 spaces ig
17:41
or alejandra which does even worse stuff to my code
17:41
17:41
rip me
Avatar
Jupstar ✪ 2024-10-11 17:42
LMAO
Avatar
sometimes vscode does weird things to my typescript files so i have a mix of 2 spaces and 4 spaces in the same files (edited)
Avatar
i was promoted to dev for like 2 seconds only
Avatar
Jupstar ✪ 2024-10-11 17:42
i dont want more ppl with purple names
Avatar
Jupstar ✪ 2024-10-11 17:42
you can all be mods
Avatar
Summary We propose -fbounds-safety, a C extension to enforce bounds safety to prevent out-of-bounds (OOB) memory accesses, which remain a major source of security vulnerabilities in C. -fbounds-safety aims to eliminate this class of bugs by turning OOB accesses into deterministic traps. The -fbounds-safety extension offers bounds annotations th...
Avatar
do you guys do i++ or ++i?
Avatar
Jupstar ✪ 2024-10-11 17:45
i+=1
Avatar
i = i+1 (edited)
Avatar
Avatar
pilonpl
do you guys do i++ or ++i?
i++ unless I need a precrement specifically
17:46
thats actually an interesting detail
Avatar
Jupstar ✪ 2024-10-11 17:46
in cpp i use ++i because it's more hipster
Avatar
Avatar
pilonpl
do you guys do i++ or ++i?
cant do ++i at all
Avatar
i wonder if ++i++ would work
Avatar
Jupstar ✪ 2024-10-11 17:46
u triggered ryo
Avatar
@Learath2 wasnt ++i more efficient in loops
17:46
avoids a move or smth
Avatar
No sane compiler would emit it in the first place
Avatar
milkey compiler will
Avatar
Well actually they might at O0
Avatar
btw are maybe == faster then idk >=?
17:49
or is all this stuff basically free anyways
Avatar
Jupstar ✪ 2024-10-11 17:49
don't optimize for such stuff
Avatar
yeah dont
Avatar
It's free
Avatar
the compiler can maybe optimize branches
17:49
if it knows some ranges match
17:49
and other stuff
17:49
if u can avoid a branch its the best tho
Avatar
It's all a cmp + jump
Avatar
altho some branches like x = if a > 0 { b } {c} can be optimized easily dpeending
17:50
into a cmov
17:50
maybe
17:51
Avatar
Avatar
Learath2
Also did you inherit the ptr + x == (T *)((char *)ptr + x * sizeof ptr) from C?
MilkeeyCat 2024-10-11 17:52
Yup
Avatar
i am doing advent of code 2023
17:52
parsing text is kinda hard
Avatar
Avatar
Ryozuki
into a cmov
Well there is all kinds of cmov, the comparison type doesn't matter in that case
Avatar
Avatar
Learath2
It's sensible, but only if you don't have some sort of integer promotion rule
MilkeeyCat 2024-10-11 17:53
Integer literals are also allowed
Avatar
ye it was just an example
17:53
@MilkeeyCat do u emit cmovs
Avatar
MilkeeyCat 2024-10-11 17:53
I just don't know if it's ok to allow any integer type
Avatar
@MilkeeyCat but what type is the result of ptr - ptr?
Avatar
it should be isize, or ptrdiff_t
Avatar
Yeah, that's how other languages do it. A separate signed ptrdiff type
Avatar
Avatar
Learath2
@MilkeeyCat but what type is the result of ptr - ptr?
MilkeeyCat 2024-10-11 17:55
ptr type santatrollet
17:55
if you need a number value just cast to it (edited)
Avatar
Avatar
MilkeeyCat
ptr type santatrollet
Now that is criminal 😄
Avatar
@MilkeeyCat so you are writing a compiler?
17:56
why
17:56
i mean what is the idea
Avatar
MilkeeyCat 2024-10-11 17:56
why not
17:56
make a dogshit language
Avatar
milkeey will become the new Terry A. Davis
Avatar
nice
Avatar
just without the mental illness, i hope
Avatar
can we see the source code?
Avatar
Avatar
pilonpl
can we see the source code?
MilkeeyCat 2024-10-11 17:57
Here can be your ad. Contribute to MilkeeyCat/meraki development by creating an account on GitHub.
Avatar
MilkeeyCat 2024-10-11 17:58
lol
Avatar
Man I can't take that seriously with Tom like that
Avatar
this language looks kinda nice tbh
Avatar
MilkeeyCat 2024-10-11 18:00
I was thinking between tom and this
Avatar
and you're writing your own backend?
Avatar
MilkeeyCat 2024-10-11 18:04
idk what backend we're talking about but im pretty sure yes
Avatar
compiler backend ig
Avatar
MilkeeyCat 2024-10-11 18:05
i made everything from scratch so it spits out assembly
Avatar
Avatar
Learath2
It's sensible, but only if you don't have some sort of integer promotion rule
MilkeeyCat 2024-10-11 18:06
should it be allowed to use variables of other types than usize? thonk
Avatar
the lexer is basically a switch statement
Avatar
MilkeeyCat 2024-10-11 18:09
does it have to be harder?
Avatar
i was doing advent of code and i wanted to do something like that i guess (edited)
18:10
so it starts a new iteration after interpreting each character
18:11
because the way i ended up doing it is hard to follow
18:12
idk
Avatar
here is what i came up with lol
2.65 KB
18:20
for day 4 part 2
Avatar
day 5 seems complicated
Avatar
MilkeeyCat 2024-10-11 18:31
are you doing 2023 aoc to warm up before this year's one? xd
Avatar
i am doing it just 4fun
18:33
C is such a fun language
Avatar
The issue is always with allocating enough memory
18:41
I guess i can just look at the input manually and hardcode the number
Avatar
When I'm working with C, I first allocate as I go
18:42
Only after solving my problem I look to optimize allocation count
Avatar
Avatar
pilonpl
I guess i can just look at the input manually and hardcode the number
But i guess the solution should also work for different inputs
18:43
So idk how many assumptions to make
Avatar
MilkeeyCat 2024-10-11 18:50
match ((left, left_type), (right, right_type)) { ((_, Type::Ptr(lhs)), (_, Type::Ptr(rhs))) if lhs == rhs => (), ((_, Type::Ptr(_)), (expr, offset)) | ((expr, offset), (_, Type::Ptr(_))) if Expr::int_lit_only(expr) || offset == Type::UInt(UintType::Usize) => { () } ((lhs, _), (rhs, _)) if Expr::int_lit_only(lhs) && Expr::int_lit_only(rhs) => (), ((_, left_type), (_, right_type)) => { panic!("Can't add {left_type} to {right_type}") } } Look at dis unholy pattern matching
Avatar
Koll Potato 2024-10-11 19:08
looks better than ecmascript5
Avatar
Avatar
Learath2
I actually did not watch Death Note yet. Am I a fake weeb?
nah I wouldn't say that. tbh 'Death Note' is feels more like an anime you would recommend to someone who doesn't/hasn't watched anime (classic decective/criminal mastermind theme). Although it's a pretty good anime because 'L' and 'Yagami Light' are interesting characters (and others)
19:34
'Death Note' doesn't have many of "anime" things that make ppl weeb.
Avatar
MilkeeyCat 2024-10-11 19:35
Oh also Hellsing anime is cool(imo) (edited)
Avatar
Mission: Appear in ddnet community once a month and ppl think you are a ghost 👻 🎩 .
Accomplished
Avatar
wassup
19:42
@Learath2 the cointreau is nearly empty
19:42
Sadge
Avatar
Avatar
Ryozuki
wassup
did some Project Euler in rust 🦀 but pretty much stopped programming. Maybe I'll get on it some time
19:47
probably burn out
19:48
After touching some grass I'll probably start engaging with programming and programming communities (#developer best) more
Avatar
nice
Avatar
Avatar
Mr.Gh0s7
probably burn out
do u program for a living?
Avatar
nah
Avatar
i do
Avatar
I mean I lived and only was programming (edited)
Avatar
i hope i get vacations soon
19:53
but we are at the end of the project
19:53
so they told me to hold on a bit
Avatar
nice
19:53
:)
Avatar
but i wouldnt be lying if i said i wasnt a bit urnt out
19:54
i wanna finish this
19:54
xd
Avatar
tbh until now (just now) that it probably was burn out
Avatar
maybe my next project in the company is android kernel dev or smth
Avatar
:O
Avatar
something to do with https://grapheneos.org/
GrapheneOS is a security and privacy focused mobile OS with Android app compatibility.
Avatar
make postmarketOS better
19:55
ah android not linux with embeded
Avatar
android is linux tho
Avatar
yeah but not mainline
Avatar
actually idk if this grapheneos is linux
Avatar
it probably is
19:56
19:58
kinda funny story I reached out to the mainter of my device https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_7_(xiaomi-lavender) but at the time he had stuff going on, but after 1~3 months after that he started being active again
19:58
I have resintalled android on it again (custom rom) and I am conformtable for now
19:59
Maybe if I get a new one I'll give it a shot again (with the current one)
Avatar
Avatar
Ryozuki
but i wouldnt be lying if i said i wasnt a bit urnt out
#off-topic gives happy
20:00
don't sad
Avatar
its not sad
20:00
just a remark lmao
20:00
im happy rn
20:00
with my cointrau
Avatar
Avatar
Ryozuki
i do
I was there when you got the job ;) (ghost mode maybe)
Avatar
and playing some games
20:00
enjoying friday night
Avatar
Avatar
Mr.Gh0s7
I was there when you got the job ;) (ghost mode maybe)
already close to 2 years
Avatar
time flies eh xD
20:01
feels like 1 year
20:01
blank years probably (for me)
20:01
what did u do
Avatar
nothing prob thus blank
Avatar
no motivation?
20:04
how old are u btw
20:04
i recommend hitting the gym eating good
20:04
u will feel good
20:05
nothing like feeling u are getting better
20:05
it just takes true effort
Avatar
Well I started 'instrument making' (violin) and things are better since. Also the meds got less so I can actually function now (they were too much)
Avatar
Avatar
Ryozuki
how old are u btw
21
Avatar
go hit the gym bro
20:05
it will change ur life
20:05
also violin is pog
Avatar
why that face
Avatar
for the gym
20:06
well tbh hitting the road (as in walking) is very good already
Avatar
i guess
Avatar
which I don't do
Avatar
but idk something about strength workout feels different
20:06
its a weird feeling
20:06
u only get it after some time
Avatar
yeah I can agree with that
Avatar
its addictive too
20:06
u also gotta ignore others in gym
20:07
who would make fun of someone working out? only dumbass ppl
Avatar
ye
Avatar
it may be cringe but i like listening to motivaitonal shit
20:08
xd
20:08
when im down
Avatar
tbh motivational speeches depress/unmotivate me
20:08
xD
20:09
to each their own
Avatar
yeah
Avatar
i just find this voice soothing too
Avatar
yeah
Avatar
i just feel many phrases on this vid to feel true
20:10
20:10
poggers2
Avatar
I kinda stopped going out of home around 3 years ago (18 -> to uni) because the uni I got in is in another state/region, so I just haven't gone to uni yet. And since I didn't need to go to uni (go out of home) I stopped going out of home
Avatar
u know, i left uni after 1 year, but i think it was mostly due to me being a bit depressive, it was definitly my lowest in life, though it didnt stop me from continuing programming, the thing i love most to do
Avatar
Jupstar ✪ 2024-10-11 20:12
how do you survive
Avatar
i actually was totally alone at uni
20:12
xD
20:13
i went to class, didnt talk to anyone, and just let time go
Avatar
Jupstar ✪ 2024-10-11 20:13
ghosts don't need food
20:13
right
Avatar
Avatar
Jupstar ✪
how do you survive
I eat food and sleep ;)
20:13
oops busted
Avatar
and to fix it i left uni, and i started going to gym a lot
20:13
xd
Avatar
Jupstar ✪ 2024-10-11 20:13
but how do you buy food xd
Avatar
I don't it just comes to me
Avatar
Avatar
Ryozuki
i actually was totally alone at uni
Jupstar ✪ 2024-10-11 20:13
:c
Avatar
(big family)
Avatar
Avatar
Jupstar ✪
:c
yeah its rly sad
20:13
but its like i couldnt socialize
Avatar
Avatar
Ryozuki
yeah its rly sad
Jupstar ✪ 2024-10-11 20:13
r u shy or why were u alone
Avatar
i always been a shy person
Avatar
Jupstar ✪ 2024-10-11 20:13
oh i see
20:14
& now u have gf
Avatar
now im way more confident
Avatar
Jupstar ✪ 2024-10-11 20:14
more socialized than 99% of this chat
20:14
😬
Avatar
and im sure gym helped me xd
Avatar
Jupstar ✪ 2024-10-11 20:14
yeah
Avatar
yeah
Avatar
also i was failing some subjects
20:14
and i had to pay them
20:14
and my parents couldnt
20:14
they were also going through rough moments
20:14
they are separated now
20:14
shit happens
20:15
so i learned most of the important stuff by myself
20:15
i found a job
20:15
and i got myself independnt
20:15
out of the stressful environment
20:15
and here i am now
20:15
happy
Avatar
chad
Avatar
yeah
20:15
altho i learnt most of what i know while i was 15-20
20:15
so i didnt have lot of social life
20:15
the trade off is i know a lot of shit about coding
20:15
i didnt study for the 2 year course i did
20:16
and i got a 9.5/10 general mark
20:16
10 is the best
20:16
i know germans do it reverse
Avatar
Avatar
Ryozuki
so i didnt have lot of social life
yeah most self taught programming goes kinda that way
Avatar
(i did the course just so companies look at my profile)
20:16
i didnt learn shit
Avatar
Jupstar ✪ 2024-10-11 20:16
i played teeworlds while i was in uni
20:16
bcs i was addicted
20:16
and still am
Avatar
yeah
20:16
i was playing tw
20:16
and learning c++
20:16
then rust
Avatar
me 2
Avatar
also dont make what u know small
20:17
its actually most than 99% ppl wil lever know
20:17
of coding or computers
20:17
its eye opening meeting normies
Avatar
insert old lay "And why are they spying on me? What do I have that's so important" (edited)
Avatar
and by normies i mean ppl who code too, if u have ajob its easy to spot
Avatar
ye
Avatar
actually most ppl dont code in their free time
20:18
we are the weirdos
Avatar
here i am doing a riscv emulator
20:18
nerd
Avatar
:O
Avatar
A RISCV (RV64G) emulator. Contribute to edg-l/rysk development by creating an account on GitHub.
20:19
@Jupstar ✪ but u finished uni right
20:19
tbh if i were to take a uni course, i wouldnt take CS because i feel i wouldnt know anything that helps me, i would actually pursue a pure math course
20:19
i always wanted to beat the barrier of math i have
20:19
i feel like im ignorant of math
Avatar
Avatar
Ryozuki
here i am doing a riscv emulator
Avatar
Avatar
Ryozuki
@Jupstar ✪ but u finished uni right
Jupstar ✪ 2024-10-11 20:20
no, i finished all courses and was too lazy for bachelor xdd
Avatar
ye, i can run a fibonacci compiled with gcc for riscv
Avatar
:O
20:25
gigachad
Avatar
Avatar
Ryozuki
also dont make what u know small
tbh I don't know much. For example this is how far I got with LearnOpenGL https://github.com/Inateblig/LearnOpenGL/blob/master/screenshots/7.0_HelloCamera.png (a little further but haven't pushed it)
learning opengl -- https://learnopengl.com/. Contribute to Inateblig/LearnOpenGL development by creating an account on GitHub.
Avatar
thats pog
20:27
i didnt do much with opengl i stoped at the triangle
20:27
poggers2
Avatar
I think what I have is knowledge of how to get knowledge
Avatar
for me the best way to learn is to do things that use that
Avatar
yeah
Avatar
for example, for opengl maybe i would draw a 3d fractal
20:27
and thenadd some shaders
20:28
for my riscv emulator, i want to run a tiny os https://github.com/mit-pdos/xv6-riscv
Xv6 for RISC-V. Contribute to mit-pdos/xv6-riscv development by creating an account on GitHub.
20:28
as my goal
Avatar
nice
Avatar
Avatar
Ryozuki
i didnt do much with opengl i stoped at the triangle
I had cheats (asked zogtib what I didn't know/how to do things with C)
Avatar
thats ok
20:29
i look lot of doscs (edited)
20:29
docs
Avatar
tbh what I am/was proud of is the shell scripts/my build system
Avatar
TIL aloneless exists
20:32
the word
Avatar
you just run ./build.sh 7 0 run and it would compile and run the 7.0_HelloCamera dir
Avatar
pog
20:32
bash wizard
20:32
@Mr.Gh0s7 do u know what lc3 is?
Avatar
nope
Avatar
learn it
20:33
implement a vm
20:33
u learn a lot
Avatar
LC3 (Low Complexity Communication Codec) is an audio codec specified by the Bluetooth Special Interest Group (SIG) for the LE Audio audio protocol introduced in Bluetooth 5.2. It's developed by Fraunhofer IIS and Ericsson as the successor of the SBC codec. LC3 provides higher audio quality and better Packet loss concealment than SBC, G.722 and O...
Avatar
nein
Avatar
Little Computer 3, or LC-3, is a type of computer educational programming language, an assembly language, which is a type of low-level programming language. It features a relatively simple instruction set, but can be used to write moderately complex assembly programs, and is a viable target for a C compiler. The language is less complex than x86...
Avatar
Avatar
Ryozuki
i feel like im ignorant of math
A CS course might just have the most useful bunch of math courses that'd you'd want as a computerperson though
Avatar
Little Computer 3, or LC-3, is a type of computer educational programming language, an assembly language, which is a type of low-level programming language. It features a relatively simple instruction set, but can be used to write moderately complex assembly programs, and is a viable target for a C compiler. The language is less complex than x86...
👍 1
20:34
@Mr.Gh0s7 at my company u do 1 month of learning, and implementing a vm of LC3 is a requisite
Avatar
:O
20:34
added to the things I'll do when I start programming again ;)
Avatar
Avatar
Ryozuki
@Mr.Gh0s7 at my company u do 1 month of learning, and implementing a vm of LC3 is a requisite
What a nice way to train people
Avatar
Avatar
Learath2
What a nice way to train people
not irony right?
20:35
you also need to do a conway game of life with macroquad in rust
Avatar
Avatar
Ryozuki
not irony right?
No like actual great training
owo 1
20:36
this is the blog post for lc3
20:36
the document refers to
Avatar
cool
Avatar
(but in rust)
Avatar
@Mr.Gh0s7 nothing feels better than implementing a program that can run infinite combination of programs, made byrandom ppl
20:37
its like a superpower
Avatar
well it'll be a good exercise to translate C/C++ to rust
Avatar
thats what it feels to make a compiler
20:37
and why i have this quote saved
20:37
The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures.... Yet the program construct, unlike the poet's words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. —Fred Brooks, The Mythical Man-Month
(edited)
Avatar
cool, I look forward to when I start programming again now :)
Avatar
nothing gives u more freedom in this modern age than being able to code
20:47
gigachad
Avatar
Avatar
Ryozuki
bash wizard
I liked shell scripting because it's very empowering
20:48
Like I created this script #!/bin/sh if [ $# -eq 0 ] then dir="$HOME/Documents/Shared/Others/Diakoun/Motiv" cd "$dir" echo "Running in Diakoun/Motiv directory." fi if [ "$1" = "shigoto" ] then shift 1 dir="$HOME/Documents/Shared/Others/Diakoun/ShigotoSuru" cd "$dir" echo "Running in "$dir" directory." elif [ "$1" = "sutattsu" ] then shift 1 dir="$HOME/Documents/Shared/Others/Diakoun/Sutattsu" cd "$dir" echo "Running in "$dir" directory." elif [ "$1" = "." ] then shift 1 dir="$PWD" cd "$dir" echo "Running in current ("$dir") directory." fi file="$(date +"%m%d_%b%a")" if [ -f "$file" ] then echo "File already exists!" echo "Opening file for editting." hx "$file" else line1="$(date +"%Y-%m-%d %H:%M:%S")" line2="$(date +"%A %d %B %Y")" echo "Making file and opening file..." echo "$line1" > "$file" echo "$line2" >> "$file" hx "$file" fi
Avatar
its script sharing day
20:48
i made this
Avatar
for note-taking/diary
Avatar
#!/bin/env/bash skin_api_url="https://teedata.net/api/skin/read?limit=400000" mapres_api_url="https://teedata.net/api/mapres/read?limit=400000" emoticon_api_url="https://teedata.net/api/gameskin/read?limit=400000" emoticon_api_url="https://teedata.net/api/emoticon/read?limit=400000" cursor_api_url="https://teedata.net/api/cursor/read?limit=400000" particles_api_url="https://teedata.net/api/particle/read?limit=400000" entity_api_url="https://teedata.net/api/entity/read?limit=400000" font_api_url="https://teedata.net/api/font/read?limit=400000" template_api_url="https://teedata.net/api/template/read?limit=400000" database="https://teedata.net/databasev2" skins=$(curl "$skin_api_url" | jq -r .result.items[].file_path) mapres=$(curl "$mapres_api_url" | jq -r .result.items[].file_path) emoticons=$(curl "$emoticon_api_url" | jq -r .result.items[].file_path) cursors=$(curl "$cursor_api_url" | jq -r .result.items[].file_path) particles=$(curl "$particles_api_url" | jq -r .result.items[].file_path) entitys=$(curl "$entity_api_url" | jq -r .result.items[].file_path) fonts=$(curl "$font_api_url" | jq -r .result.items[].file_path) templates=$(curl "$template_api_url" | jq -r .result.items[].file_path) mkdir -p skins/ mapres/ emoticon/ cursor/ particles/ entity/ font/ template/ for x in $skins; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o skins/$filename || true done for x in $mapres; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o mapres/$filename || true done for x in $emoticons; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o emoticon/$filename || true done for x in $cursors; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o cursor/$filename || true done for x in $particles; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o particles/$filename || true done for x in $entitys; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o entity/$filename || true done for x in $fonts; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o font/$filename || true done for x in $templates; do filename=$(echo "$x" | cut -d'/' -f4) curl "$database$x" -o template/$filename || true done
20:49
it scrapes teedata
Avatar
:O
Avatar
u need jq installed and curl
Avatar
yeah nice and very readable
20:51
this scares me though for x in $mapres
20:51
I would write it like this for x in "$mapres"
20:52
(with the quotes)
20:52
I got this fear because my variable in scripts are mostly path names which usually/maybe contain spaces
Avatar
true xd
21:03
tbh i did this in 10 mins
Avatar
also for the loops maybe something like this folders="skins|mapres|emoticons|cursors|particles|entitys|fonts|templates" echo "$folders" | tr '|' '\n' | while read -r folder do echo "$folder" done or with IFS='|' but don't know how that works with read
Avatar
WMWMWMWWMWMWMWMWMWMWMWMWMWMWMWWM 2024-10-11 21:06
Wut
Avatar
I am going to sleep :)
21:13
Goodnight
Exported 680 message(s)
Timezone: UTC+0