#ot1-perplexing-regexing
1 messages · Page 572 of 1
and by the time it did find good solutions 10 frames in or so, it was too late - there wasn't a landing solution any more
and here's the starting random sequences, by the way
that's the ones from which the learning process starts
did you try to change probabilities?
what probabilities?
I did play with parameters a lot
let dur_other = Duration::from_millis(145);
let dur_first = Duration::from_millis(995); // Measured, -5ms for safety.
let first_turn_pool_size = 100;
let pool_size = 100;
let best_percent = 10.0; // percent best retained - supposedly 10-20 is best
let mutation_percent_starting = 50.0; // percent child genes randomized - supposedly about 1.0
let mutation_percent_end = 5.0;
let mut_end_at = 5;
let other_percent = 50.0; // percent of non-best retained
let max_steps = 100; // Only used for generating the first, random pool.
that's the parameters I have, basically
codingame, see link above
agent is coded from scratch though
1138 lines of Rust code in a single file 
not counting visualization code which is separate
the one with the colored lines is mine, yes
the video I posted before with the GUI is just the site's interface
emacs

I need to get a ripgrep plugin to go with Emacs
use
or
smh
true
rust
no
honestly just let the rust hype die similarly how the manjaro hype died
oh boy
prob give it a couple months
@low chasm
OK
Now I have a shit ton of things I want to say about this
First of all
What the fuck
Why
Second of all
get to your point big boi
So many people are adopting it
Fuck manjaro
exactly
its just a hive mentally as i still remember when ppl in this server was hyped about manjaro
Rust however is good
Interesting
It's fun to code in
Your points so far:
* Rust is great
* Rust is amazing
* Rust is good
Hold on, I'm getting a paragraph I have saved somewhere
also rust is cool
ima bet in a couple months the hive mind is gonna be hyped about sth else
and rust is
lol
yep because we all will know rust by then

Rust has no GC, so its memory safe, with its borrow checker, so unlike in languages like C, you can write maintainable memory safe code. Rust also has a very strict compiler, which can lead to you writing efficient code. Rust has a very strong type system, so errors are more likely to occur during compile times, and it also results in great code maintainability. Rust also has a great macro system, one of the best I've seen. Rust has great thread safety, so that you won't occur many data races. With Rust, I don't get too many runtime errors. Rust package management is great, and allows you to get a project up and running in seconds. Rust has a great and very fastly growing community, and you can use it almost anywhere.
Got it
What the fuck
bc hive mind is gonna find sth else to be hyped about
!otn a rust copy pasta
Never
"Rust has a very strong type system, so errors are more likely to occur during compile times", "With Rust, I don't get too many runtime errors"
same points
I wrote
and when i say hyped about i dont mean its not gonna be used
Hm, yeah
but rather that the server is gonna find another topic
Wait what the fuck
tbh you are overdoing with the rust hype.. you dont need to freak out that much
to talk about consistantly
I like rust
It's not just this server :P
Guys it's a language let's all chill
guys
like i saw through the manjaro phase
i think rust is a subpar language
im quite sure rust is just a phase where ppl constantly say its good
ye..
If it makes anyone feel better I've never used rust
im not saying is bad but its rather that i think in a while, the frequency of convos pertaining to it will decrease
me either, never.
well yeah
rn its actually going up
several people have just started rust
As most things will.
Alright, fair, the intense at the moment hype of it it may die down a bit, but I do believe it will be a widely used and growing language,
i nnever said it wasnt
hence y i said its kinda a phase that the server goes through
but you just typed one line in 5 minutes
Wait, I meant to reply to what oui oui said lol

Here
Just image it replies to this
i gotta go do my bio class
Cya, have fun
Oh
honestly im just saying this for now because i still remember when ppl where super intrested in manjaro and now i just heard ppl say its shit
Have a bad time then /s
didnt even complete my homework which makes it worse
hi
Oof
Are you online or in school
My school ends on Tuesday
What the fuck is this

soon
indian school*
Oop
but how are there indian schools in dubai?
well why not
How the fuck does that work
what
Wait
how is that hard to understand
because its indian school
i never knew cbse went abroad
the indian curriculum is taught there
Isn't it Dubai school then
What's the Indian curriculum?
there are many schools here
Hm OK
india's big daddy of education
Lmao
there are many curriculums here
american, british, IB, indian
but my school is in india
lol
im just here
Lol
Now everyone hates it, right? :]]]]
who knows whats gonna be next
opensuse?
dunno
but cyperiel has been promoting it
who knows how successful that will be
Hey, some people have started trying it
and openSUSE is actually kind of a great distribution

love openSUSE
this paragraph reads like someone ran a bunch of rust simps' messages through an r/decreasinglyverbose algorithm and then fed it to gpt3
bye mate
lol



yes ill have a triple deluxe bossy burger with light axle grease
hm
hm
Hello @rough sapphire. Please don't post random gifs in the off-topic channels. We don't intend for this server to become a meme dump.
ok
orange justice 😔
but this is a real qr code that is scanned which was made through a Python file
whoa, that's pretty cool
I'm terribly sorry if the translator translated poorly
can characters that are allowed in domain names be not allowed in text file names in windows os
yes, /:? etc
can a domain name have these?
oh domain names not urls, sorry i missunderstood
i just learnt some c++ and now i'm like 🫂 
damn
Anyone knows how to subscribe to an API from RapidAPI?
emacs
@leaden shoal https://discord.gg/6MJPn2Eh
Ah it's that modmail, Ik of it
?about
"ModMail is typing..." and then stopped... you broke it!
?about
?about
This is an open source Discord bot that serves as a means for members to easily communicate with server administrators in an organised manner.
0h 2m 14s
28195.77 ms
3.9.4
kyb3r, Taki, fourjr
DOCKER
Follow the installation guide on GitHub and join our Discord server!
This bot is completely free for everyone. We rely on kind individuals like you to support us on Patreon (perks included) to keep this bot free forever!
We gave them some coffee
makes sense that Modmail broke a bit, lol
@bleak lintel is like Frankenstein, killing and resurrecting bots
I was wondering if it would go through. 🙂 but since you wrote nothing for a few minutes, I still tried to see if the bot resurrected
lol
so what did you break change in the bot?

oh wait, that was the first redeploy
hmmm
nope there's nothing in there lol
it just decided to stop working
2021-06-14 22:52:01 06/14/21 21:52:01 __main__[233] - CRITICAL: Fatal exception
...
06/14/21
wtf is this American date pseudo-format doing there? next to a normal iso format?
I'd make an issue and pr to change it to iso
lol i have no idea why this bot is crashing today
but I'm not really familiar with prs to do it ._. I'm worried I'd make a fool out of myself
it's just sad that pixels ended and they didn't get the role
lol
I went like "what role???" and then checked my profile :oooo
I love it ❤️
OI:
Mind sending me the logs
?yshjsjsjs
Ah
no
bots sends requests to the discord server, right
it sends it to an endpoint yes, afaik
its the entry point of an API
so i decided ima try opensuse cuz perf doesnt seem to work well on wsl. dunno y the checksum of the iso doesnt match. it really do be openSUS
so it seems chrome was the real imposter
chrome downloaded a weird checksum file
wack
all my homies use edge now
love Edge
edge no sus
Just finished binge-watching this show called "Alice in Borderland" and it's absolutely incredible...
same
@latent scaffold sorry
np
#include <stdlib.h>
#include <string.h>
int main(void)
{
int N;
scanf("%i", &N);
char *s[N];
for (int i = 0; i < N; i++)
{
s[i] = malloc(strlen(s[i]) + 1);
scanf("%s", s[i]);
}
}```
how should i change this to scanf N number of times to get N number of strings and store them in an array s?
currently, there's an error
s[i] = malloc(strlen(s[i]) + 1);```
u can only make arrays with constant legnth
so scanfing the legnth wont work
you could use malloc
to allocate an array
so malloc in line 3 instead?
yes
{
int N;
scanf("%i", &N);
char *s = malloc(N * sizeof(char));
for (int i = 0; i < N; i++)
{
char *s[i];
scanf("%s", s[i]);
}
printf("%s", s);
}```
will this work? do i need to add strlen?
there's still this error what does it mean?
hmm
you need to cast the return value of malloc in c++, but this looks like a perfectly valid C program, so try compiling it with gcc instead of g++ (i'm guessing that's the issue)
right i changed it to C but it still has a runtime error
hmmm
char *s[i] creates an i-element variable-length array of char pointers, but shouldn't it hit a compile-error since the name s is already used?
i was creating n number of strings s[0], s[1]... s[n-1] in the array s
right now, s is only enough memory for N chars, not N strings (or char pointers)
if you want an array of strings, you will need
char **string_arr = malloc(N * sizeof(char *));
``` and additional allocations to actually get the storage space for the strings themselves
plus, i think scanf("%s") is just as bad as gets, meaning it will happily overwrite memory it shouldn't if the entered string is too large
oh i'm stuck, the original problem i had is
i just want to get an input N in the first line, and subsequently get N strings. the problem i have is i'm trying to scanf a dynamic number of times
5
Peanut
Potato
Catfood
Awesome
Catfoodisfreakindeliciousyumyum```
so i thought creating an array and storing the individual strings in the array would work since i can make them s[i] in scanf in a for loop
well, char *s[i] creates an array of i char pointers on the stack and then tries to read a string directly after the end of that stack-allocated array which is no good
problems like these tend to just give you a guaranteed max length for strings, did you see char str[64] or something like that in example code?
basically you will need to do this
read N
reserve memory for N strings (char pointers) via VLA or malloc
for i = 0; i < N; i++:
reserve an arbitrary amount of chars - say 64. (needs to be done via malloc since a VLA would be torn down after a loop iteration (i think))
read the string into the newly allocated 64-char memory (preferrably via fgets)
place pointer to the newly allocated memory in the char ** array from before the loop
// that should be it
you may need to deal with newlines or something like that at the end of the read strings, that's always fun
ok i'll try with this pseudocode thks
erm, sorry, but i am not interesting in helping you with your bot.
still not really interested.
sorry.
lol
Ok
why is it the case online i see strings sometimes initialised as char* strings. it should be char *strings?
same thing, the spaces make no difference
some especially insane extravagant people also use char * str;
oh i thought the * without a space printf("%i\n", *&n); means go to
and with a space, it's to define a pointer
i wouldn't call it go to, i think the official name is dereferencing operator
the compiler should be able to figure out when an asterisk means what but yeah, it's weird having it be declaring a pointer, "tearing away" a layer of pointer-ness and multiplication at the same time
oh ok
.
?
@inland wolf
ok
Orz*
ok
anyone know any good python jokes uwu?
yes
https://www.python.org/doc/humor/ has some good stuff on it lol
of course that exists
what is pixelator
role given to people who drew pixels on the pixel canvas in the pixel event which ended a few pixels ago
oh I forgot about that makes sense
wot
oh.
Win 11 is basically confirmed
I thought it was confirmed to not exist
A build of Microsoft's upcoming next version of Windows, now confirmed to be Windows 11, has leaked onto the web just days before the company is expected to unveil the next generation of Windows at a dedicated event. The leak has confirmed that the "Windows 11" branding is accurate, and has revealed Microsoft's brand new desktop UI along with ot...
same
God that looks absolutely awful
oh God. it's real
it doesn't look that bad cmon
IS THE FUCKING START MENU
why cant they just put it where it is rn
they should make that part editable
ez
lmfao nobody would use that
tbh
they are competing with chrome os
More people switching to Linux \😩
linuxism
linuxist
that's me
😬
lol
that design is straight out of windows 10X
the os that they scrapped

wtf
tjats the logo?
for win10x?
that server sucks
ugh I hate Skype emoji
i use outlook lol
the mobile app is pretty good
only been using it for a few days as of now tho
mobile outlook is good
i'm currently picking between desktop outlook and mail
desktop outlook
is interesting
i feel like its for ppl who get 100 emails an hour
the mail app is actual shit
its a space hog
i uninstalled it
i just use online outlook now
lmao
So how does libraries that make executables from Python scripts like PyInstaller actually work behind the scenes?
Yeah that makes sense
I thought they do something like transforming the Python scripts into C code or Assembly code lol
You mean in browser outlook?
@bleak lintel
It is editable
Check out windows 11 dark mode
Looks so good
whatever happened to windows 10 rolling updates as a service
why
of people who barely need computation power
I don't wanna
wow
Settings is a bit different
But the new installer is cool
Store also has a lot of changes but I did not see any leaks of thst
That
yes
hot damn
but the start menu is always on the bottom left for me
Yes it's supposedly editable @inland wolf
Windows 11 looks underwhelming if I'm honest
Its just a ui refresh
even then, I really don't like how that looks
I told ya
They're trying to be mac
they are digging into mac
:(
- Me, who personally hates how mac looks
i want them to fix all the ui inconsistencies
Then again, ms might change stuff at the last moment
like some settings have the windows 98 ui
some have the uwp ui
just make it all into one
jesus
Windows 10 needs more actual operation changes tbh
Namely like their crappy file system and stuff
Fuck that, I need what Zee wants
when's the launch?
same
they'll say during the event
most likely
or it just gets leaked too
so whens the event lol
no
da fuq
ye
np
murica moment
ikr
mm/dd/yyyy cringe
ikr
sorry but it is currently 9:07 PM on 06/15/21
ddnt know there was a 15th month
settings looks about the same
as do most apps
yup
for now
there can still be some changes
explorer doesnt seem to have changed much apart from the new icons
and the icons looks nice
yeh
look at the installer
pogger
huh
wait
it does look good
the maximize button thing
that is cool
this thing
where u can choose to place ur window somewhere
@inland wolf
damn boi
im liking this more and more
● Liked this video? Subscribe for more: http://mjd.yt/subscribe
Huge news on the Windows scene today! 21996.1, a build of Windows 11, has leaked. Today we're going to explore what's new!
● Gear I use to make these videos: https://www.kit.co/mjd
Camera: https://amzn.to/3ipyKc5
Tripod (mine is discontinued): https://amzn.to/2IcI6YM
Smaller Trip...
lol
the sleek animations are real good now
control panel still exists ;-;
ikr
yes
new sounds are nice
ikr
honestly, i this update looks more positive than negative for me
same
gotta wait for release
ye
font change
but i mean keyboard shortcuts are good enough for that
yes but for touch screens
and less techy ppl
its like a powertoys fancyzones integration
yes
okay that makes sense.
4 i think. im on latest.
that would be 
you have w11?
nah
yeah w11 has more
21h1
nah
wat
is it?
slick
bruh
hmmmmmmmmmmmmmmmmm
Leaked windows 11
there's a chance that it may be a rickroll build though
microsoft indirectly acknowledged the leaks in a tweet
and a rickroll did happen for windows 95
or vista, can't remember which
lol
wait what
Back when 95 or XP (I don't remember) was gonna come out, a build was leaked
However when it actually came it out, it had an entirely different look
ngl, you might be correct
they mostly did as i said
and get people distracted by it
8 more days 😩
my grandpa took out an old Fujitsu-Siemens laptop running Windows Vista yesterday and to make it usable again, I'm installing Ubuntu.
ikr
yes
🥖
You will need yeast and flour
and water as well
pour water into your flour and mix with yeast, then mold into desired shape
put it into the oven until your bread has risen
enjoy
That'll be the yeast of your worries
Yeast that out of here
this is why
@honest star Touche
when we r defining strings/arrays in c, is it interchangeable to initialise the memory in static or dynamic way where we either use
int arr[n]
or
int* arr = malloc(N * sizeof(int));
free(arr);```
ya but is there any time where only malloc works
and allocating it in a static way doesnt work
all?
Arch or openSUSE tumbleweed
no
ubuntu if you want, but i did not like apt
your choice
openSUSE leap has py 3.6 btw
so
not a good idea
yes
use arch so that you can proudly say i use arch btw
i can just install another version tho right
double ping gang 😎
i don't really like ubuntu either
opensuse it is
no
pyenv too has till 3.7 or something
for some reason
idk, i tried
wait what
what wait
there's no way to get python 3.9 on openSUSE?
as per i tried, no
@acoustic moss send gif
there might be a way
Isn't that what this is? https://software.opensuse.org/package/python39
indeed great sussy
yed
O
pyenv in leap doesn have 3.9
brugh
zee was the one to have the problem
there is no other opensus there
get toombleweed
where are u
from the site
yes
not wsl github
ms docs for wsl
jesus christ
lol
ok
lmaooo
still not perfect but accepted
the file that u will need is a appx file
ok follow the link
downloading this
be a dumbass like me and try to rename the appx
go to the link
lool
oo so
2nd last?
tumble
press download
ye
huh
then send sc
lmaoo
tunbleweed
aight
is your autocorrect drunk?
wsl?
ye
aight
good
lol
no
aight
ok thicc boi is getting downloaded
openSUSe all the way
yes its big
si chosoe ur d drive
so choose*
lol
176 MB
yeah i did that
Do you need to do the manual installation if you want it on the D drive?
yes
after installing and shit do
restart wsl by doing - (wsl --shutdown) in cmd/powershell
restart wsl
sudo zypper in pyenv
then check pyenv docs for further prerequisites
Okie
thats why i did that shiz
i had ti reinstall open sussy 3 times
because i kept fuckin it up
dw @acoustic moss u wont fuck it up
👍👍👍👍😉😉
hm
man that guy has fucked up gifs
oh that
and extract wherever u want
sorry
just make sure it has perms
like
dont choose prograk files
this where ur os will be
so extract it to a directory u wint forget
D drive is fine ri
yes
use it to
i use it*
too*
btw guys
just get a slow phone
and shit typing skills
and u easily get high message counts
now
open cmd
go to the extracted folde
and run the exe
shouod be called opensuse.exe or something
that will install it
ok wait
this
Installing, this may take a few minutes...
*** Starting YaST2 ***
Installation successful!
me@LAPTOP-04GJNCT8:~>
@acoustic moss Which .appx did you download?
starting from here
Ya, but which one from here
click on download in the top left
i described it clearly*
Pain
Windows defender smartscreen is being annoying
It won't let me run the exe
Pain Pain Pain
And idk how to turn it off
idk if I should be happy or scared that my windows defender did nothing
there is a generally a more information small link which lets you run anyway
run the exe in cmd
not as a double click
that probably wont do anything different but
try it
Uh, how
I didn't even see that, ty
Ya, but what's the command
just the filename
I use double click to run exes
.\exe.exe
bruh
its the same
thing
u can use it to run anything
.\filename
as it is in linux
except /
@acoustic moss is ur update done
im single handedly carrying this channel
i should get the admin role at this point
w8
lol text wall moment
wsl --shutdown
will kill all distros running
the thing is
these distros are sorta like vms running in the bg
so after u stop using them
they stay around for a while
so that u can quickly hop back in
windows terminal makes your life easier
thats why we use wsl --shutdown
ikr
Nope
Opened on windows terminal fine
How do I make a Linux filesystem on D Drive and make WSL use that though?
uh wsl can mount linux filesystem drives
Also, what package manager comes with openSUSE
zypper
sudo zypper in package
I have no idea what that means
one sec
lemme getch the dos
this might have what ur looking for
tho it cannot mount partitions
only whole drives
oof
Is there something on openSUSE like base-devel and --needed on Arch?
It's cypheriel
thanks
yes, how do i start it back again
just run wsl
ok did that
and it will put u in ur default distro
ha
which is opensussy
now u want python right
ye
sudo zypper in pyenv
uh
LAPTOP-04GJNCT8:/mnt/host/d/WSL/openSUSE-Tumbleweed-x64-Snapshot20210515.7.81# sudo zypper in pyenv
-sh: sudo: not found
bruh..
also
how in the holy fuck did it not find sudo
this wasn't the prompt i was seeing before the restart
What are good terminal emulators for openSUSE
uh
D:\WSL\openSUSE-Tumbleweed-x64-Snapshot20210515.7.81>wsl -l -v
NAME STATE VERSION
* docker-desktop Running 2
openSUSE-Tumbleweed Stopped 2
docker-desktop-data Stopped 2
i use windows terminal and zsh, idk if thats an answer
ok so u see the issue rn ri
docker
Okie
hmph
yeah






