#ot1-perplexing-regexing
1 messages · Page 464 of 1
11?
yep
schools are terrible, we learn shit
but we learn important things too
and then we forget it
Only if you let yourself
noice
k ima go learn more tkinter now
And i should probably get back to research
and tbh i think
the youtube beginner tuts should have sequels
cuz i am confused what to do next after completeing them
wow my wish got fulfilled
how
hooray
yaya
its perfect i looked through the topics
free code camp is a life saver
mostly
Im gonna watch the whole video
lol
it explains about generators decorators JSON and etc etc
@compact jetty im not even joking lol
it explains about generators decorators JSON and etc etc
@edgy crest json is intermmediate????
i guess
gn
knowing json is knowing two functions and knowing how dicts work
yea thats why lists tuples and dicts are the first topics in the vid
Yeah i'd love to do computer science but my school doesn't have it
@tranquil orchid Bruh samee
javascript is not fine tho
who wanna try their luck
play the rock paper scissors game
the code is as follows:
https://paste.pythondiscord.com/yafeniyolu.py
Huh, this is actually pretty cool https://nedbatchelder.com/blog/202009/scriv.html
wowow
I'm way too deep into generating test data with Hypothesis
I mean sure, I get to have data chucked into my tests but I could've just wrote them myself
Meh, I'll find a use-case for it
@solid pollen , @high verge
ye so how does or dosen't OS affect to learn basics CS
wdym by the differences
If you're planning to move on to security then having access to Linux can be useful
differences between the OS?
Well there are certain differences but they don't really matter, just good to be aware of them
ohh, so OS dose't matter
Things like how file paths work, how some networking features work
Yeah don't worry about it to start with
However
If your windows pc isn't running well
Maybe try Linux so it runs better
whatd woul you consider as "Well"
If your windows pc isn't running well
@high verge what would you consider as"Well"
Sounds like it's unpleasant to use your computer for much
javascript is fine. so fine :3
3:
hey @edgy crest are you already loving linux so far?
¯_(ツ*(*)_/¯
(╯°□°)╯︵ ┻━┻
┬─┬ノ(ಠ_ಠノ)
keep it a bit tidy in here
all those flipped tables
where am I to eat my lunch now?
you can make digital table somewhere else xD
lool
man table flipping feels good when you realize your teacher is dumb (╯°□°)╯︵ ┻━┻
you can make digital table somewhere else xD
@mild abyss lmaooo
DROP TABLE ves_table;```
ooof
┬─┬ノ( º _ ºノ) (┛◉Д◉)┛No tables broken on my watch
that looks weird
ikr
ヽ(ຈل͜ຈ)ノ︵ ┻━┻
lmao
d=====( ̄▽ ̄*)b one punch
(╯°Д°)╯︵/(.□ . ) but throwing people is good
nani
how did u do that?
neovim?
python + lolcat
hmmm, code?
( •_•)>⌐■-■
what is lolcat?
(⌐■_■)
Make sure you have lolcat installed on Linux
$ python -c "for _ in range(50): print('┬─┬ノ( º _ ºノ) (┛◉Д◉)┛No tables broken on my watch')" | lolcat
┏━┓┏━┓┏━┓ ︵ /(^.^/) i am returning the tables it is okay now
🪑 🪑 🪑 we need chairs too
hmmm sad
my net is so slow that it for one epsode of anime it takes me min 40 mins
one day it took 1 hour 20 min something to finish one episode lmao
which do you watch?
@edgy crest i dont think it is possible
i am trying...
from tkinter import *
root = Tk()
root.title("Animation")
root.geometry('400x400')
num = 0
num += 1
ani_lbl = Label(root, text='weeee')
ani_lbl.place(x=num, y=200)
while True:
ani_lbl.place(x=num, y=200)
root.mainloop()```
it hanged my pc and t isnt getting executed lol
did you mean to put num += 1 inside the while loop
yes
i copied incorrectly sorry
well it hangs
i tried using for loop in range 10000000 but then it just doesnt appear on the screen, or disappears too fast
The issue is it never gets to actually making the window
The loop happens before the window is even created
can u ssh from windows?
lol
i used a for loop
still doesnt work
but if i increment it by 0.0001 instead of 1, it just changes position but doesnt move
@edgy crest because of the while True
yea ik
:((
well i googled and it seems it isnt that easy
i am trying to do it like i did in pygame lmao
i want to make somethingg
D:
can u ssh from windows?
@compact jetty iirc Most windows comes with ssh installed, or you can always manually install it. Try running ssh in a command prompt.
well a ssh file, u mean?
i get it, i will try making the snake game in pygame
gl
You want to ssh from windows?
ye, i want to try if i can
Use putty
ok thx
i get it, i will try making the snake game in pygame
@edgy crest try making a turtle race
Win10 comes with OpenSSH iirc, if not you should be able to enable it as an optional feature
what?
well i am in win8.1 pure
whats a turtle race
well ther are 5 turtles and they race from one point to another
If you don't have ssh by default on windows then I suggest just install putty
hmm
ok, let me check if i do or not
send me the end result ok, i would like to look at it @edgy crest
but
but?
i wanted to ask how does it work, i mean is it an animation or the player controls it
animation
yep
@edgy crest tlike this
ye
i just realized i have forgotten pygame a lot
i dont think u need pygame
huh
u kinda have to
ok
What are some good resources to learn C++?
there any other good coding discord servers?
this one
i mean for other languages
there is a general programming discord
this one??
There's uh, The Programmer's Hangout
ok because i am trying to learn java
this one??
I dont think it's that
ok
that one appears on the browse servers
just wondering if there is any examples of a coding language that isn't object oriented programming
haskell
Assembly ?
ok because nott using object oriented seems kinda wack
that's usually how it is
ah
C?
i thought c was object oriented
yeah
Brainfuck++ when
Brolog
bro
I only just realized that's a bit of a double meaning
noooooooo
you don't need to, tbh
Normally I'm all over a joke like that
Oh good, looks like the lock picking stuff is coming today
It got delayed
break into the regional thing and get them
Nah, no need
I mean it's already out for delivery
Seems silly to do that
This time
and you'd need lockpicking tools
what is lock picking
When you open a lock using something other than the key but without breaking it
oh i thought it CS related, lol
javascript really is a fine woman
She's quirky, I'll give her that
But she's really improve herself over the past few years
i love those curly braces sweeet
@compact jetty i know how to lock pick but i cant show you it is confidential 🤫
This is the kit I got
Pricey, but I've been curious about the hobby for a long long time
hey give me a question that i can ask someone with 4 years of xp in python
hmm any reactions to this?
Could do with some arrows indicating direction
where is the one that xx hates
@compact jetty most questions youve got i guess, you know the answer already but theyre really hard to do. for example “practice practice practice”
oh at the corner
@compact jetty most questions youve got i guess, you know the answer already but theyre really hard to do. for example “practice practice practice”
@mild abyss what??????
This is 4 years old. I wonder if Manjaro would come up more often now
that pic was tweeted by the manjaro team
where is the one that
xxhates
@compact jetty Kali
@compact jetty Kali
@topaz aurora ye it was in the corner
@compact jetty “what do you do to keep improving in python?” answer is “practice practice practice “
when did I ever ask that question??
Try new things, get stuck, ask questions
wait but i never asked that question though!
Destroy the competition
where did that come from?
you asked me what questions to ask for a person that has 4 years experience in python
i asked in general ye
What kinds of questions are you talking about?
Like.. advice they might have or how they got started or...
hey give me a question that i can ask someone with 4 years of xp in python
i meant as a test knida but not theory
it probably wouldn't be a python question but rather a general algorithmic question
go ahead
where is the one that
xxhates
@compact jetty bottom right corner
See previous gif
iconic moment
🤔 i was kinda wondering why almost all the distros i come across use systemd
how can i make a typin test kinda thing using .py
Kali Ma Shakti de
- Invoking the spiritual power of Kali, the Hindu goddess of creation, preservation, destruction, fear and death. It is referred to a quote in the movie "Indiana Jones and the Temple of Doom".
alright
What's the alternative?
to systemD?
u talking to me?
openRC
sys6 runit
@compact jetty Typing test as in like... how fast can you type?
@plucky ridge yep
then there is sysv something
sysv-rc
like a typing test, have u never took a typing test before hem
sysvinit
sysv-rc
then there is sysv something
idk what those are
Yes I have, I'm typing out an idea for how you could do it now
ty
Does Manjaro use systemd?
Well you could do something with tkinter and start a countdown timer, and once the timer hits 0, you lock the text box, count the number of words they typed out, figure out how accurate they were by comparing letter to letter or something, then give their words per minute
Or something
ye, so tkninter is the way to go
For something simple yeah
ok, and if i want to save that in their records then
yes manjaro does use systemd. though they have an openrc version which theyve dissolved a few years ago
The main benefit is that it has a built in event loop that you can track
Does Manjaro use systemd?
yes
ohh i see thx
And a records thing is easy, just write it to a JSON or text file or something
systemD does have quite the hate
ohh ok, json
as it violates the linux principle of "Do one thing"
Or if you want it to be more secure, ie you don't want them to cheat, you can always pickle the data instead
idk what pickle is
systemd is a jack of all trades 🤔
It's a way of serializing data that Python uses
It's like JSON but specific to Python
(more complex than that, but that's the gist of it)
i see, thx
Yep!
pickle is a module, tacos
i see
Yep, it's a built in thingy
@mild abyss I'm confused, is there a problem with systemd?
I've heard people gripe about it but I'm never sure why
@mild abyss I'm confused, is there a problem with systemd?
@plucky ridge there is this linux principle which says that each tool should do one thing and one thing only
And as Ren said, systemD is kinda like a jack of all trades
pure explained to me. Akarys told me it is fine. so i guess many have differing opinions about it.
I mean it seems to do the job it needs to
many ppl also hate on systemd because they hate its creator hehe
That would be.... Lennart Poettering?
yes
Neat name, though
also there is the issue of binary format
what issue
I thnk @mild abyss is referring to the logging
yeah. sorry waiting for artix to finish downloading
if only i had 25Mbps internet
😩
do those people poop everywhere?
@mild abyss lmao
so we use pigeons
ah to send and receive information
ye
oooooh weeebs :3
Javascript is not fine
hmmmm is this a crossover?
Nah, OSS often does that
It's so they can be quirky and relatable
petition for Vue 4 to either be Bleach or JoJo
oh
huh
Vue?
Yeah
I should not be allowed to write commits on midnight
Personal project
Ah gotcha gotcha
I'm holding off pushing for now since I don't want to lose my power to time travel
what..?
@edgy crest git stuff
oh
mmmm butternut squash ravioli, some nice tea, sweaters. It's officially fall and I am SO excited
Fall is my favorite time of the year
too bad, it's invalid
You make commits which says that "I did these changes to these files" and it lets you give a reason or title for that commit. "Removed bacon() function and added its functionality to spam()"
When when you have all of your commits done and written, you push them to your repo, which means that you're making them become a part of that branch you're pushing to.
Then when your entire project or issue you're working on is complete, you make a PR or pull request to ask the person maintaining the main repo to pull your changes into the main code.
At least I think I explained that right
I get to convert my garden over to fall planting items, I get to go apple and pumpkin picking and make my favorite type of desserts. The weather is perfect especially for hiking
and I can make fires everynight without it being unreasonably warm
winter >>
winter can go die in a hole and never return. It's cold and miserable and the only good thing about it is holidays and snow.
I just want it to be hoodie weather so I can wear my PyDis hoodie
at least where i am, winter is literally the perfect temperature
RIP to the children and teenager now though, they'll never experience a snow day now
you're on the east coast, right?
The only region on the east coast where winter isn't terrible is like south carolina and lower
¯_(ツ)_/¯
actually i used to like fall until i met a person who had allergies
while really funny it's kinda sad
allergies can definitely be a pain
the best part is when it's like, 50ish degrees
but I grew up in north jersey, toooo cold in the winter
oh
50ish degrees is definitely classes as fall weather
winter to me is anything under like 45F
... that sounds entirely too pleasant. I am jealous
snow?
snow?
are you asking me?
yeah
it snows only in the mountains
lol yeah
experiencing snow is in my bucket list
the grass is always greener on the other side though
whiter in this case
haha
Feels like one of those that would be ignored
I like how every people are like "heh, nerd", but they don't realize how much things build by nerds they use everyday, and how sad their life would be without nerds
sounds like something a nerd would say
You filthy traitor
i've been lucky to never really encounter people who are like 'heh nerd'
and i mean
the nerds who built those things are doing pretty well
financially
ikr
I feel like the nerd lame sport cool stereotype is dying
not fast enough
well, old people tend to be the last to switch
I'm in high school, and everyone uses nerd as an insult
huh, which country?
United States
fuckin nerds
I have heard that as an insult once, and it wasn't even malicious
You don't see that beyond the school yard
@plucky ridge I disagree
but I guess elsewhere it is different
I'm just speaking from personal experience at the ripe age of 30
Obviously any experience you have isn't invalidated by my lack of seeing it, I'm just stating that I haven't really observed any huge "you nerd" stuff that wasn't in jest outside of middle school/high school settings
js indeed fine 😎
regular people: you don't need a 500 petabyte disk
node js: You see, that's where you are wrong
It's not that bad
do you even believe yourself?
I mean
Yeah
But that's because I put the node modules folder in the parent directory of whatever JS files I have so I don't have to copy all of them
Is there some sort of cache in this folder? Because it looks like it
oh damn, Akarys is a code dev for PyDis, congrats~
Oh damnnn
Yeah, that's apparently a thing, thanks!
Thanks!
Wait what?? Congrats @solid pollen😄🎉
With this pace, you’ll be an owner in a few weeks😉
We won’t have roles left for you soon tbh, no kidding ahahh
oh shiny role akarys
wait what
core dev?
nice
congrats
thought you became a patron at first
Might be wrong but I think that it's someone who works on developing the Python Bot
Uh yeah, right, open source..
oh ok
but CoreDevs can use primary repo instead of having to fork, pull request across the repos
And Core Devs manage the projects in some sense as well
@narrow pecan how are the emojis coming?
It’s going quite well. The SeasonalBot command should arrive this or next week, depending on how long the review process takes (and when I actually finish it)
NICE!!
Hahah yep! I’m sooo excited
@deft tree i've never tried making automatic chinese character recognition myself but i feel like you might be able to use some "tricks" to make it a bit less absolutely impractical
like maybe make something that's really good at recognizing common radicals and other parts that appear a lot, and then something else that uses that information to guess the character boundaries and what the actual characters are
so maybe you could then narrow it down to a couple thousand distinct shapes
then have a database of characters that are composed of characters
yep
it would still be a big feat
come to think of it, doesn't Google Translate have something
even though it's not that accurate at all
i don't know about google translate but on my phone i have chinese handwriting-based input installed
as in you draw characters with your finger and it guesses what you're writing, combine that with manual choosing from a list of options when it doesn't guess right first try and it actually seems to work kind of well? although i haven't used it very much
Hihi, I'm in danger
if you are in danger, please call 911 or the equivalent in your country.
who doesn't live in the united states though
5 billion people
911 still works in the eu iirc
Even though the official number is 0118 999 881 99 9119 7253
Ho
i've had a bit of a tumble :(
Nice beard gdude
I need help identifying a font if anyone up for it lol
there is one like that
oh geodude
thats it
😎
@halcyon mantle have you tried fontidentifier etc
they're pretty good
yep
I tried several websites
@floral viper i know that number off by heart
even with the pause at the end.... 3
Hat's off to you
I have not memorized it
:/
The gif doenst seem to be full length to me 😦
it's a brilliant show though
I hate it when fonts have 1's that look like l's
Is the bell part of the font?
Where did you see this font btw, that might help with the search.
Could you link to the post?
how exciting, finally digging into some JS
Doing the JetBrains webdev thing because I've always wanted to learn webdev
#ot1-perplexing-regexing <-- I learned the hard way that it's true 🙂
Ah yes, our favourite book, learn javascript the hard way.
what about "JavaScript: the good parts"?
a very thin book compared to "JavaScript: the definitive guide", and JSTGP actually has a section called "JavaScript: the bad parts" or something along those lines 😄
I think I've read that one, it's the popular free book isn't it?
isn't the classic image like, a 10 page pamphlet "the good parts of js" and a giant 10000 page book "the other parts of js"
ooh new names
yeah, this picture
i love oreilly
When my friend was first learning rust, he didnt really understand ownership and he really hated it
so he made this cover
👍
ah yes, linear types
I've been experimenting with a small language that would run on backend and the frontend (for validation logic reuse and such); I implemented it in JS first, and honestly, the problem fits the language pretty well
please use a chat where no one is having an active convo, thanks
i think i'd like rust because it's different from what i'm used to
why chemical reactions are alive
not_a if you want answers for those questions. Look into sociology
please take this to a philosophy discord server
misread as 'scientology', got worried
well obviously he doesn't want answers, he just wants to fight people
LOL @shell raptor
why
we have rules because then the world would be i guess corrupted
no
because bad does not exist
technically
really?
so if someone stabbed you in the stomach, would that be ok?
b a n, k i c k, m u t e
chemical reaction would do in a way that I will not like it so my specie survives
'bad' does not exist in the same way Python doesn't exist, it's a human construct. Not sure what you're talking about
so if you don't like something, would you say it is bad?
you kill bacteria even that ones that you say does "good" to you
If you're talking about chemical reactions... Even chemistry has to follow laws or rules... so basically within nature... there is rules.
no
breh
you kill bacteria even that ones that you say does "good" to you
@rough sapphire ok? that's not very relevant
why is rust fun? do you have more control?
@rough sapphire Rust is fun because it's very different
but chemical reactions are nature therefor humans are nature
also in wars you legally kill people
BorRoWcHeCkeR
why is that acceptable
not_a, If you want answers like that... look into sociology. It will answer a majority to your odd questions
err, i kinda wanna talk to him more, what he has to say seems interesting
anyway "odd" is your conception
if rules are universal then dont they also apply to us
humans aren't universal
!tempmute 739902521455149140 1d If you don't feel like contributing to the conversation, then don't say anything. If people are having a constructive conversation, then the last thing you should do is interject with random nonsense.
:incoming_envelope: :ok_hand: applied mute to @rough sapphire until 2020-09-23 00:20 (23 hours and 59 minutes).
Sure, but there was an active conversation going and people rudely interupt, I have a problem with that
and he was doing it in a civilized manner as well
eh, it wasn't gonna turn into a debate, probably more of a shouting match
not cussing out people
i guess your right
now then...anyone wanna talk about exotic typing systems?
@tidal flax Exotic?
now then...anyone wanna talk about exotic typing systems?
x: I work in a language with first-class types
y: is it Idris?
x: J a v a S c r i p t
no, humans are notoriously not random (predictable?)
@still sky Sure, just run random.randint(1, 100) and say the result out loud
TS's seems almost intrusive at times
what's crazy about it?
that isn't random to me
also, Scala 3 is going to have type lambdas
I'm talking about random RANDOM
and all sorts of other sick stuff
@still sky random.org ?
like ACTUAL randomness
so like, a TRNG?
what's crazy about it?
@shell raptor for gradual typing? is it not impressive?
they're algorithm based
@still sky Perhaps... don't interject in an already ongoing conversation?
like compared to Python
wdym
yeah that's a good idea, let's go to #ot2-never-nester’s-nightmare
ok
TS has like, sum types, intersection types, I don't even know what the keyof thing is called
but it's cool
Pythons system has gradual typing
I think I missed intersection types a few times in Python.
Pythons system has gradual typing
@stark prawn yes, I mean as compared to TS
and in particular I just like the syntax more (it kind of makes up for the other sucky parts of JS's syntax)
UnionType = TypeA | TypeB
the function type syntax is nice too
instead of Callable[[A, B], C]
yeah, ew
and generics are much nicer in TS
Python generics are HELL
especially imposing upper bounds
Well, typescript can be more flexible because it compiles into JS, i.e. it can actually change some parts of the code
I mean it helps that TS is a superset
So it can afford to make those changes
As opposed to Python which just isn't built for all the typing
TS was built from the ground up with that in mind, where as in Python it was more of an after thought
@plucky ridge is now level 2
@tidal flax is now level 2
what
are you mimicking a bot?
@shell raptor is now level 2
Is this a selfbot?
yes
In which case that'd make my job easier
hah, you're not cool enough for level 2
=[
😦
Heh
oh he's gone already that's why
!ban 394516169970679809 Self-botting violates Discord's ToS.
:incoming_envelope: :ok_hand: applied ban to @turbid kettle permanently.
oh he wasn't
maybe they were just joking 😦
yeah he has a #0001
It was 9 messages across multiple channels
I wonder if it was a scramble to turn it off
Moot point now
wouldn't wanna ban someone innocent accidentally amirite 🙂
That's why we have an appeals system
I am completely blown away by Haskell's type system, and I've only scratched the surface
the reference compiler (GHC) has so many extensions
how does it work?
what exactly?
well, it's kind of a broad question...
isnt it like `int i = 0' or something like htat
are you familiar with any statically typed languages?
does Java have type inference?
it does now, I think...?
anyway, type systems are basically frameworks in which you can make certain statements about the correctness of a program.
You have var in java
for example, in real life we have m (length) vs kg (mass).
and we know it doesn't make sense to have 5 m - 20 kg
because they represent different quantities, though they are both numbers.
this concept applies also to computer systems - values may have different "types", which represent both their meaning and what operations you can perform on them.
certain langauges have more powerful type systems, which mean that you can express more complex types. in that way, you can also make more precise statements about whether a program is correct or not, when it is being compiled.
@shell raptor I am waiting eagerly for your message btw
😄
One difference between Java (or C#/C++)'s type system and haskell's type system is the use of type classes in Haskell.
So in C# (or in Python with Protocol) you do something like this (don't punch me if I get the syntax wrong):
interface Show {
public string ToString();
}
class Thing : Show {
public string ToString(){
// make a string somehow
}
}
so the implementation of all the interfaces is the job of the class owner.
In Haskell, however, you do this:
class Show a where
show :: a -> String
-- here we define a new type
data Thing = Thing Integer Integer | Stuff String
-- here we define how `Thing` "implements Show"
instance Show Thing where
show (Thing a b) = "Thing " ++ show a ++ " " ++ show b
show (Stuff x) = "Stuff " ++ show x
So the implementation of an interface is decoupled from the definition of a type
ah, typeclasses 😂
this would be a perfect spot for that meme
"mom, can I have classes"
"no, we have classes at home"
classes at home:
class Eq a where
(==): a -> a -> Bool
Yeah, you can also have default implementations in type classes
class Eq a where
(==): a -> a -> Bool
a /= b = not (a == b)
I think this meme is appropriate here
maybe I could make a toy language with typeclasses
but why
is "it sounds fun" not a valid reason?
no
hm
$t.Eq.vtable["Int"] = () => ({
"equals": (a, b) => (a == b),
});
$t.Eq.vtable["List[a]"] = (aTable) => ({
"equals": (xs, ys) => {
if (xs.length) !== ys.length)
return false;
for (let i=0; i<xs.length; i++)
if (aTable.notEquals(xs[i], ys[i]))
return false;
return true;
},
});
const parsed = parse(`
allThreeEqual x y z = (x == y) && (y == z);
`);
/// output:
[
{
name: "allThreeEqual",
forall: [{name: "a", constraints: ["Eq"]}],
params: [{name: "x", type: "a"},
{name: "y", type: "a"},
{name: "z", type: "a"}]},
body: [[{g:"Bool.(&&)"}, [[{g:"Eq.(==)"}, {l:"x"}], {l:"y"}]],[[{g:"Eq.(==)"}, {l:"y"}], {l:"z"}]],
},
]
i think i should go back to game dev. do you suggest? or should i try to advance in python
why not both
I'm currently doing both game dev and machine learning
Training the computer to play the games i've made
Almost done making the environment for snake
And then i'll have to do a bit more research before starting to make the model
cool
@tranquil orchid i love how it's called snek
love the color scheme
hmmmm this is the third time i saw this otn
what is otn
well you shouldn't see it anymore, until like.. next year
is otn a bug
off-topic name
yeah
btw im check out a sql tutorial and it is VERY interesting
lol someone has youtube rich presence on
i didnt know you can do that
You can make rich presence for just about anything
what is a rich presence
And details etc
i made rich presence for Plex!
How do you do that?
Also: GUYS: I JUST PASSED ALL MY EXAMS. I have my instrument pilot rating xD I can finally rest for a bit, haha
And ty very much, I can look through them as well.
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
Ty!
the except: argument only get's triggered if the try :fails right?
Yes
ye was just making sure
and whatever is in the except is met
Otherwise it will raise the original exception (if it was not caught in the try except)
this only be triggered if the file not found error is triggered right?
except FileNotFoundError:
username = input("What is your name:")
with open(filename, 'w') as file_object:
json.dump(username, file_object)
print("We will remeber you when you come back")
I'm on mobile, so the indentation is a little whack.
But yeah, that code should only run if that exception was raised, otherwise it will raise the original exception
wdym by the original exception
i think like the try: section
Like, if it raised ValueError then your try except will not catch it and a value error will be raised instead of your except:
ye
Also: GUYS: I JUST PASSED ALL MY EXAMS. I have my instrument pilot rating xD I can finally rest for a bit, haha
@eternal wing that is awesome take your well deserved rest
@tranquil orchid by which module did you make that snake game
arcade
oh
and how did you make it so that only when his head hits the wall or his body he dies
Haven't actually added the collisions for the head yet but that will only be like an extra five lines of code
hmmm
One sec i'll do that rn
idk arcade
its so much better than pygame
i heard arcade is better than the other usual game dev libs
is pandas used for game dev
Theres some graphs somewhere on their site lemme see
i think its time i learn arcade
I tried pygame a long time ago
because tbh i hate pygame, i should have learned arcade instead of t
yeeee
I don't think Python is a good language for game dev
yeah it kind of sucks for game dev
yea but this is not
cpp and c# are better langs
high quality game dev
oof
that is speed
yea
Can you make 3d graphics in arcade?
is pandas used for 3d game dev
i cant believe my class is singing the happy birthday song for some guy
Uh its not really meant for 3d but you technically could
what is meant for 3d then
x y z
Does anyone use googe colab
@edgy crest listen to class, mate
Its nice
did you use it for tensorflow
Can just leave an AI or whatever to train and forget about it
i am paying attention and chatting here at the same tiem
I haven't used any libs for machine learning as of yet
no way seriously?
I'll try tensorflow out at some point
what is tensorflow
machine learning
nice
And very powerful
i want to learn ml
very very popular
ml?
Yeah its an interesting field
oh nvm
machine learning
hmm whats in it ?
yeah it takes a long time to train them tho right?
like making drones is an example?
bruh
what
Making a drone fly itself perhaps
Making a drone fly itself would take SO MUCH TIME
so much time and brain power
gotta add ultra sensors i guess
and a HUGE budget
but ai drone
Machine learning isn't as simple as you think
that is different
yea
A drone would be tricky
yeah its like a human trying to learn
hmm nothing is simple
Cause you can't use like a standard supervised learning
You would probably do something like
Make a simulation of a drone flying in an environment
if you do then budget == bill gates
And use reinforcement learning
oh so virtualization
And train it virtually before trying it for real
and not very useful
pretty useful
ahh my net so slow nothing is visible in class
how
to teach a drone to fly itself?
it's really not simple
if it was simple, imagine the world right now with that
yes you can
I mean drones like that already exist I'm fairly sure
Theres those drones you can get that can just follow you
i mean that would use maybe face recongnization or maybe you have micro chip in pocket or something like that
how would that work exactly
wait what was the ml dude that doesnt speak in vids but speak s in narration
like jybrilass
what
idk
@tranquil orchid where did you learn arcade?
Not as a beginner yeah
so is rl done by gens
yeah I'd want to create a smart AI one day
*reinforced learning
generation after generation
yeah is that rl or ml
I'm not too sure
what I do know is that depending on what you're trying to get the AI to learn
AI kneeds nowledge
it could take millions of generations until it's considered a bit better
usually how much time do gens take
idk
lol it looks like someone's spamming cuz you guys have same pfp
you should watch OpenAI's Hide'n'seek AI training
imagine if lukas was here
it's cool
they trained 4 AIs to play hide n seek
really? thats amazing
you should def watch it
i will
at some point, the seekers discovered that since they can't jump over walls, they can use other tactics
like
box jumping
they figured out of they jump onto a box and lift it
they can fly
wow
and land on the hiders
are these ai mechanical beings?
