#ot2-the-original-pubsta
652 messages ยท Page 76 of 1
Now I really want to setup my own nameserver, well done
joe's already done that i think
Ye
yeah it's more a decentralised resolution system, it's just "keep trying until you get to the right result", you could infinitely return nameservers and add on a subdomains each time (up to 128 iirc)
Ask the roots, roots ask the TLDs (your registrar pushes that to the TLD), ask your root NS, if it knows it'll tell you otherwise it'll delegate to another NS and so on
not a bad idea
yeah you can walk anything you desire
hm
So if I want to make my DNS server I just query the root server and let it do its thing?
afk, working on documenting current features of modmail bot :)
tldr: currently loads plugins, very well
@grim seal since you're here... what do you want for your bd? ๐
DNS is "I have the answer, or I know who does"
so, Joe wants DNS.
Joe has DNS already :c
mobile signal exploding
Oh so you walk up the domain chain yourself?
joe wants all the DNS
yeah you can do, you can also download the root zone and skip asking the root nameservers

wellll
if you are implementing a recursive resolver, yeah
I need to find a flowchart somewhere
you presumably use something like 1.1.1.1 or 8.8.8.8 or 9.9.9.9 which does that recursion for you
What if I am 1.1.1.1 though
I think I need to bug joe on priv, because he's now focused on dns that he didn't even notice my question
Once Joe started on networking you can't stop him
yeah
it does that recursion for you
Who is doing it?
and most domain registiars run their own DNS servers I think*
crikey, no idea, I've got a thinkpad from parents so just keeping it fairly small this year
hahah sorry Nicky my mobile signal is just awful
you do the root zone recursion, so you either serve from your cache or revalidate by asking the root NS (or your own copy of the root zone) and trailing down
so from a recursive resolver you'll never get a NS record (or... shouldn't hahaha)
generally resolvers use QNAME minimisation nowadays which means that instead of asking the root for PythonDiscord.com. you ask just for com. because privacy!!!
the recursive resolver does it, so the Cloudflare server does the recursion
yep, a TLD operator (registry! not registrar) runs an NS
So like if I want to access net.akarys.me I would like ask the root servers for the me ns, which will give me the akarys.me ns, which will give me net.akarys.me?
Assuming akarys.me is a custom ns and can't be served directly by me or some shit like that
yeah
That's cool
sometimes companies run their own NSs like ns1.company.tld which uses glue which is so cool! but even more wild
LOL
LOLOL
tomorrow: sunset
today: github actions fails to work
I think its related.
why does python discord not do this yet smh
Pay for my Cloudflare enterprise
lmfao
and even offer "if you ever want access to our source code, let us know"
ooh
ian just fixed the other bug ๐
how to host python bot from repl it 24/7
skip to the last part https://www.youtube.com/watch?v=SPTfmiYiuok
Learn how to code a Discord bot using Python and host it for free in the cloud using Repl.it. Along the way, you will learn to use Repl.it's built-in database and create a Discord bot that uses webhooks to connect with GitHub.
Need help with this tutorial? You can ask questions here: https://forum.freecodecamp.org/
This course was developed by...
this is a great feature
cuz you're too weak xD
jk
it's not available in this server/channel
probably not. i think you can switch to ipv6
there's no such thing as "machine ip address". machines don't have ip on their own, they have mac addresses (or rather their network cards have them), also called physical address.
IP is a property of a device in network, one device can have many ip addresses or none.
ipv4 is IP version 4
where did you learn such stuff? I would like to know too but idk where to start
Cisco CCNA materials but at times it's boring/old stuff...
@languid osprey How can I save a init.vim file?
run the code overnight ๐
could probably go NaN
why? everything's bounded right?
yeah theres no damping, but its possible that angular acceleration goes out of control
the ke is going to be converted into potential energy
ye
@jovial island Please don't post random memes here. This isn't the server for that.
what is this
a double pendulum
did you make it ?
yes
code? lol
I don't really understand that formula lol
the drawing is in raylib c++
oh not python?
nop
How did you import that formula in code
double p1Acc = -g * (2.0 * m1 + m2) * sin(t1);
p1Acc = p1Acc - g * m2 * sin(t1 - 2.0 * t2);
p1Acc = p1Acc - 2.0 * m2 * v2 * v2 * l2 * sin(t1 - t2);
p1Acc = p1Acc - m2 * v1 * v1 * l1 * sin(2.0 * (t1 - t2));
p1Acc = p1Acc / (l1 * (2.0 * m1 + m2 - m2 * cos(2.0 * (t1 - t2))));
double p2Acc = (m1 + m2) * l1 * v1 * v1;
p2Acc = p2Acc + g * (m1 + m2) * cos(t1);
p2Acc = p2Acc + v2 * v2 * l2 * m2 * cos(t1 - t2);
p2Acc = p2Acc * 2.0 * sin(t1 - t2);
p2Acc = p2Acc / (l2 * (2.0 * m1 + m2 - m2 * cos(2.0 * (t1 - t2))));```
calculates angular acceleration
you add that to angular velocity
which is added to the angle
and then that is converted into coordinates
and that would be the position of both the pendulums in the next frame
damn
oh
now spawn 100 with slightly different initial conditions
lol
no
ok
ok
:p
Out of context, this would sound really weird
in?
neovim
bruh
lol, classic
I think this is the first time I have seen "how to exit vim" in the wild
what is the purpose of swapping two variables?
sometimes you have to
sorting a list in place
holy shit
i love this version of paparazzi
same lol. definitely great for a heavy lift
the one i linked is the looped tiktok version, there is this full version
this one does contain a heavy metal part
its like a mix of heavy metal and pop
I love the misspell in the channel name lmao
now that's how you spell vivek's name
e
what
there isnt a prefix!!!!!
dark magic asf
Cool.
I love overengineering things
I turned
print(00000)
print(00000)
into
twodPrint = []
y = 0
xLen = 5
yLen = 2
printLine = ''
for i in range(yLen):
twodPrint.append([])
for x in range(xLen):
twodPrint[i].append(0)
for x in twodPrint:
for i in x:
printLine += str(i)
print(printLine)
printLine = ''
yall ever feel like if you had a topic to make something on it is easy... but if you are made to decide the topic it is harder
in 90% cases i have a plot
i am talking about cbse project ๐
so i just begin the process of how are we going to do this rather than what are we gonna do
for cs
i have no clue what to make
using python right
if just choosing topic was easy
yeah
imports are allowed?
most of the things i have made already are rule 5 grey area.. so not allowed ๐
yeah something using sql connectivity
as a fall out plan i might make library management system
exactly
make something which makes you different
but the constraint is sql
lol
i mean anything with data storage
i would love to cancel vivek
using csv is allowed too
@somber belfry
i am not in mood to learn GUI just for some project :/
end key + V I V E K
tis fun trust me
start with tkinter
what is the maximum marks
10
zee, dhz what class are you?
zee is 11
15
dhz is 12 ++
yes
ah same as you ?
were you cbse... (assuming you are indian ๐)
yes
100% sure
what did you do for stupid shank projects.. ๐

what that
what is the dealine
Thank you for the report! We will take appropriate actions against the user.
Indeed!
Make a banGER prOJeCT , ThIS is thE tIMe To show yoUR PyDiS eXperIencE SkIlLS
oct mid i think.. would prefer to finish by sept end tho
anyways i dont think it will take more than a week or 2 tho
wow thats too much
you passed 12th right?
wot they are asking for science as well

so i would also be asked to do these in 12th fuck
yes
they ask for everything... ๐
i had no sci reports or whatever
yall didnt have projects? the investigatory ones?
whoa how long ago did you pass em
this year
Is C the basis for all programming languages
well similar.. they are making us do the phy one too (even if it is cancelled)
heh
uncomfy agrees
any guidance tho sire? on comp and chem?
well comp is easy
/shrug
#CancekVivek 
chem i did some food adulteration bs
choosing a good topic is not.. my only problem ๐
lol
huh that seems good enough topic.. environmental right?
i would go for a database handler with kivy
um for comp i did hospital database management or some shit heh
i was a total noob in py back then
learning py via school
uhh what do you mean by environmental
weird days
i am yet so wont be much of a problem
environmental chem chapter?
i honestly dont remember half the stuff they teachin us
last chapter of 11th chem lol
they cancelled projects for our senior batch.. and the only elder school mates i know are from that batch :luck:
why do those chapters exist
to waste our productive
my batch 
i have a question of why does chem as a whole exist... but okay
cool
uh just in case if you have some prev yr projects.. could you send to refer?
all projects are in school
i did a study on chili, pepper, sugar, turmeric, oil adulteration
#ot2-the-original-pubsta yes!!!
vivekinverse
vivekin sounds like a badass anakin copy from a poorly funded indian starwars
lmao
lmao
vivek-kun \๐ฉ
vivek-chan ๐ณ
okay, what the fuck is going on
yes
this teach lead guy lmaooo
I wish he was just playing a character. Feels like it is a real guy
vivek-kek
(i don't have the kek emoji :()
you know
i want to test the invite protection
to see if it is idiot proof
anybody wanna be my guinea pig?
sure ask modmail for advertisment ๐
i have 0 infractions im squeeky clean
thats bad
mods pls infract me
everyone knows more infractions are better
ye
haha what a nerd
ask akarys how many infractions he had
*he
wait.. akarys is female??
no
no
no
no
akarys is male
unless he has been lying to us ๐ค
its super keyboard super auto correction sorry about that
*she
fascinating
akarysi ๐ค
Moderators, I am humbly requesting you to provide me with an infraction such that I no longer have 0 infractions and thus escaping the liability of being called a nerd by Lord HSP
tell modmail
to see if it's idiot proof
sorry hsp sama
LMAO
bruh
it's not idiot proof ๐คฃ
dont try it
you can put your advertisment in modmail. i think mods will be advertised
fixed it
good
you know.. I put the invite as "e" after the slash
It deletes all server invites, besides those that are whitelisted server ids
what about the python bot printing those invites
wdym?
like if an user used the eval command to
that wouldn't look too beautfiul
or used sirlance bot randomcase
now I have one infraction ๐คฃ
you can just put it in ``` ``` bruh
yay
how
.randomize discord.gg/python
!user @echo flower
You may not use this command on users other than yourself.
bruh
it would still alert us that someone tried to post an unintended invite and then we would mute or possibly ban for someone continually try to bypass out filters
hmmmm lmao
.randomcase discord.gg/python
@jade bolt you do realize our own server is whitelisted and that we escape it, right?
this might be useful
i know
i wont use other server links to
.randomcase python is such a slow language
pYtHoN IS such A SLOw LAngUaGE
because thats risky
it would be funney if it wasnt
no
But like I said, intentionally trying to bypass our filters will result in an infraction.
yesn't
๐
and he's intentionally trying to get a infraction lol
can i bypass it privately and post it in issues if i find anything?
With your own instance of the bot? Sure
no infraction yet ยฏ_(ใ)_/ยฏ
cmon infract me
i need atleast one
then ill be a good boi
lmao
if bad jokes cost infractions you'd have more infractions
i do have infractions
you'd have more
you know, like lim -> infinity
no i have enough
O.o
@cedar turtle :white_check_mark: Your eval job has completed with return code 0.
True
mods pls no ban jus joke
that was a bad joke
yes
yeah
wait. how
like
wtf is object
i dont make bad jokes then
its just not laughable at
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
common base class for all objects
everything in python is object
literally everything
i know but is it some builtin function/class/whatever
ow my eyes
true m8
idk that thing is in python
!e ```py
print(type(int))
print(type(type(int)))
@cedar turtle :white_check_mark: Your eval job has completed with return code 0.
001 | <class 'type'>
002 | <class 'type'>
bro cringe
no
?
no
in this code. wtf is object
type is object
int is object
range is object
no
Did you hear about Oxygen's and Potassium's date? It went O-K
no
modules are object
when u do class Something: its actually class Something(object):
wtf is "object" in that code
just a class
lmao
its a builtin
@jade bolt :warning: Your eval job has completed with return code 0.
[No output]
:( i know too few
wow helpful answer thanls
np bro
EVERY SINGLE GODDAMN THING
actually no.
yes
!e print(isinstance(all, object)) \๐
@dusky cliff :white_check_mark: Your eval job has completed with return code 0.
True
like i dont think if is object
if is not a thing
its a keyword
not a thing
thing is something you can do stuff with
i cant set keyword to object
that..... is not an infraction
for is not a thing
realized 
imagine having no infractions
I had no infractions
now I have 28
O.o
i was once the youngest person on this planet
i had more
than that
and all automutes are invalid
so uh
i only have 3 that are valid
automutes are infractions
;(
there are a few ways to go back to that state
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
No infractions for me (this is not a request for one btw)
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Any tips what error to raise if neither of two optional are passed?
generally, ValueError
Yeah I feel like that's the closest match, but still doesn't feel quite perfect
Python raises a TypeError if you don't pass a required positional argument though
!e ```py
def test(arg1, arg2):
return None
test(1)
@elfin vine :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 4, in <module>
003 | TypeError: test() missing 1 required positional argument: 'arg2'
Just wanted to hear if anyone had any better ideas, otherwise I'd do that
Positional args arent optional tho?
you could do function missing required optional argument: arg1 or arg2
My function has two optional kwargs, but one of them needs to be passed.
Positional arguments can be optional though, just give it a default
IG typeerror could also work
the function's type is a union of the two signatures and all that
@round moss new meme then
I think my python habits will travel to another language though
I wonder how would they look like in golang
https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride go is not exactly poised to take over
but it is definitely a good language to know
yeah, it is not all that significant for backend work
Go doesn't have generics, simplicity is a lie, and error handling is crappy.
That makes me a bit worried
I mean, python with its nice try catch system... makes code essentially in a convinient way written...
...that makes logic really simple
we can just... jump straight to what we need, without making addiotional checks in advance. Better be sorry than over protecting
go can do that too
really? cool.
just well, slightly verbose while doing it
and instead of getting an error, you get attempt to access nil
I can catch different types of self made exceptions in golang too?
there are no exceptions
you return value, error tuples
if the error is non-null, sth went wrong
well, I guess I'll try and see how it will go
innuendos ๐
I hate go syntax so much lol
that's the part I kind of like
it might get better, yeah
well, we shall see
I do not bet on go, but it also here to stay
docker and kubernetes are in go
and those technologies have an infinite lifetime
(unless podman decides to stop simping for systemd and makes kubernetes 2)
Well it would be an entirely new language if they changed enough to make me like it
I feel like one of nim Dlang V Julia ponylang will end up really important in the future
but well, which one, who knows
maybe haxe will get outside of gamedev
the real question is will we have JS singularity at some point
TS is really really good, and well, can you really improve on sharing code between frontend and backend
is it possible to jump to TS without having a hand of JS?
yes
xD JS becoming like assembler for front
not the best looking assemble language.
but well, nothing stops it from being impossible
except for it being a bit bloating and slow
in its minimized state it takes not a lot of place I guess
or still a lot? hmm
@round moss I think I might not use the Flex... seems like it will be difficult to get.
If over the next few days I can't get it I'll just go for the 1OCPU AMD one 
fair enough
I think it's a 'real' availability problem btw
(as in I don't think they are just somehow magically making life hard for always-free use)
I can't even use the maxed out 80OCPU version which isn't free, since I have trial credits
yes, but also no
because ts is essentially js
if you know ts, you know js
@jovial island i haven't cooled yet
Kid raps Elephant/Elevate at talent show and everyone goes crazy
bro hes wildin ๐ฅถ ๐ฅถ ๐ฅถ
i need friends like that
i remember when we were in 9th grade
and during talents day they were dancing to an epic song (epic at the time)
and the whole auditorium started shaking because we jumped in our seats in harmony
damn
fun times
I wish my school was as enthusiastic
the only 'fun' we have is during the picnic
resonance โ๏ธโผ๏ธ
this year it was supposed to be an interstate travel but because of covid...
:"(
3 picnics gone
bruh i found the song we were vibing to
Presenting the much awaited Lyrical Video of the viral hit #Kudukku song from the Malayalam Movie 'Love Action Drama' starring Nivin Pauly and Nayanthara along with Vineeth Sreenivasan, Aju Varghese, Basil Joseph among others. Directed by Dhyan Sreenivasan, Music by Shaan Rahman, Cinematography by Jomon T. John and Roby Varghese Raj, Edited by V...
lol
damn
why does this feel like it was 2 years ago
missed opportunity for rickroll
oh wait it was
na
ok
too nostalgic rn bro 
yooo
@frosty shore but thats blue-
whats blue-
the box thingy around the python logo 
did oyu sample it fromt he discord logo
whats the hex code of it?
heres the color palette i used
bruh can you tell me the hex ๐ญ
yeah one sec
sex lol funny
#4c69f6
typo ๐
WAIT GIVE ME THE PALLETE LINK
epic branding @lilac vale
^
thank you ๐
INDEPENDENCE DAY AFTER 2 DAYS
if you have to announce it, you are not free
hmm
For what country?
india
Ah
.so create stack
Here are the top 5 results:
ty
this server image is best
are you from tn?
no
what is tamilnadu?
its a state in india
ohhh
it's a state
guys!! 4 more days until my vacation starts
wish you have a good trip i guess
ez
seems kinda like saturated xenogender flag, lol. thought darker blue would need to go into purplish and orange would need to be more reddish
but the banner uses the vibrant blue and the soft red
I just mean this palette vs xenogender flag, nothing more :3
<- here's a small xenogender flag emote I have
@civic lion https://en.pronouns.page/xe :3
Oh so it's like they/them
@grim seal happy burrrday!
@grim seal happy bruhday!
tyty
hmm
@grim seal happy birthday ๐ฅณ 
tyty
it's @grim seal's birthday? HAPPY BIRTHDAY JOE 

!!
ty ty
@grim seal happy birthday!
happy birthday joe
happy birthday @grim seal
tyty
@grim seal happy birthday ping parade!
Happy B'day Joe ๐ฅณ
he is replying "ty ty " everytime - definitely a bot ๐ ๐คฃ
yeah, he should be banned for botting
except banned tomorrow cuz todays his birthday XD
lol
#bot-commands
@grim seal may i interest you in a damn cheap api i found

IP Geolocation API
14 bucks a month for unlimited requests
lmfao
tbf thats actually quite a good deal
Seems like m late, happy birthday joe
45 requests per min seems like a good deal tho
tried to speedrun a game with a program.
at first i thought it uses mouse stuff to make movements
and the moment i log my mouse.
it's not.
๐ฆ
two possibility,
- the game doesn't use mouse at all
- the game prevents user from logging mouse
most likely it's 1
btw the game is getting over it
@hazy laurel i now have to confess that i have switched to popOS
poor you
eugh
i gotta say, gnome has been smoother than KDE for me
uh... GNOME is the slowest of DEs
you can do bulk requests as well
im probably gonna use the free tier at first
you guys use DEs?
Desktop Environments? Yes
cringe.
I only know of very few simps that only use WMs
and I'm glad I know nobody who uses TTY
DEs are resource intensive and heavy
um
Not really
KDE and Xfce are both pretty good in terms of resource usage
GNOME is where people start to complain
and what about none?
None what?
no de
while I would love to use a tty, there are no good tty implementations I have seen
idk, I think I've actually heard of people who just slap on tmux and call it a day
agree
yeah, tmux helps
but isnt enough (for me atleast)
but still, you need proper fonts, resolutions etc
idk, the desktop is what I like about Linux
I do generally use a WM with dmenu, since all I need is "open application fullscreen and switch between them"
speaking of which... I switched to Wayland incredibly painlessly
I mainly wanted to verify the scroll speed thing
Well, honestly... These past couple of years I've noticed a lot more hype when it comes to Linux
Things like Proton are kicking off, as well
yeah, problems are actually getting solved
which is wonderful
at this point I would be willing to have a non tech savvy person use ubuntu and wouldn't expect them to struggle too much (except maybe with libre)
Yeah, I had my 12-year-old brother using Xubuntu
the only problem was some software he wanted would be annoying to install
so I put him on openSUSE Leap and taught him how to use the OBS
i just love these marketing names
I said this in #ot1-this-regex-is-impossible lol
deathadder
It's been a good $15 mouse though ยฏ_(ใ)_/ยฏ
Check out byobu
It may or may not do what you need
Can use screen or tmux as a backend
I refuse to run a server without it
๐
2021 stack overflow dev survey results are out
Poland in top 10 of respondents, lol
Whoa, Linux is more used for devs than macOS is now
damn 92% respondents were men
by like the tiniest hair but yuh
devs that responded to the survey*
Okay but like
nvm idk how to counter that
last year it was this close as well
Yet another year is Rust #1 on most loved haha
Now that I have played with Rust, I can see why
Yay
ugh
lol I find it so funny to see Eclipse all the way at the bottom of the editor section
๐ข
did you participate? (i'm not a dev :P)
Yes.
i don't remember this thing
Not fun to be reminded just how much of a sausage fest tech still is.
whoops
Yeah that's an oof
it's just what people are interested in lolz
Nice!
wait, Clojure is loved more than TS??
Unsurprising
hmm
Hello @rotund python, please don't send random memes here
how to make <div> auto resizes to the browser's size set right now
isn't it off-topic channel ๐
Off-topic channels
There are three off-topic channels:
โข #ot0-fear-of-python
โข #ot1-this-regex-is-impossible
โข #ot2-the-original-pubsta
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
read the last part.
you can only post meme that are related to the topic of the offtopic channel rn iirc
anybody able help me setup jar file as classpath ?
what's jar and what does it have to do about python? ๐
java file ig
whoooooops involuntary reaction xD
hm
You should be using a build tool to help you manage dependencies in java
Instead of having to mess with classpath
afghan has fallen
yeah
Jython
What's a good pure FP language to try that paradigm out?
Scala?
Scala combines OOP and FP iirc
isn't it supposed to be a mix of oop and fp
Jabbascript
yes
according to their website, yes
Huh, I have a couple of friends in another server who are very FP who use it.
it does have fp features
I guess Elixir is as good as you can get with a new language?
Why not just use haskell
Otherwise go with Haskell?
i mean a pure pure fp lang wouldn't even be able to print/take input right
how does haskell do IO then?
In pure fp, a function can only take input data, do stuff with it, and return data
monad?
dont say the m word
monoid in the category of endofunctors
monad monad monad
you've done it
It essentially has a function that returns "Hey runtime: print hello" and then you define main whose type is this "command"
doesn't that have side effects?
And you can merge commands together
Hmm, I might try PureScript.
The fact that it can be used in frontend sounds interesting
'Izumo will be happy :)
PureFunctor? Yeah, he like PureScript
ye
Purescript is great
Better than haskell in some ways
@cedar turtle no, returning a command is not a side effect, you are just returning some value
The side effect is in the runtime itself which is not part of the code you write
The function itself can't execute that code, but it can tell another something to execute it, correct?
But keep in mind a monadic function is pure in name only, and has almost none of the advantages of pure functions
@daring jay yes
Ok, that makes more sense
I was wondering how you'd do repeated tasks without constantly writing the same code
(it's a bit more elaborate to facilitate 2 way communication, but that's the essence)
wept
I think I have one blocked user
Me? ๐ฅบ
Sigh, why this blocked user keeps appearing
Sori akari ๐ฅบ๐ฅบ
Okay, now you deserve an actual block
bruh
Me sori. Me guna gib u kaindnes

@twilit crescent good luck moving!
am i missing something
for this conditional expression (functions inc, increments its argument by 1, and dec, decrements its argument by 1)
//first function
function plus(a, b) {
return a === 0 ? b : inc(plus(dec(a), b));
}
plus(4, 5); ```
does this equate to
```js
//second function
function plus(a,b) {
if (a === 0) {
return b;
}
else {
return a - 1 + b + 1;
}
}```
i think it's different? because the first function follows a recursive process like
```js
(+ 4 5)
(inc (+ 3 5))
(inc (inc (+ 2 5)))
(inc (inc (inc (+ 1 5))))
(inc (inc (inc (inc (+ 0 5)))))
(inc (inc (inc (inc 5))))
(inc (inc (inc 6)))
(inc (inc 7))
(inc 8)
9```
while the second function is
```js
(+ 4 5)
(+ 3 5)
(+ 8 1)
9```
is that correct?
You have unbalanced parenthesis in the second function
But yes, it is different
Since the second function doesn't have the logic for plus()
ohhhh i see so the reason why we subtract a till it's a ===0 is because the alternative expression contains a plus()
Yeah
yeah cuz i was wondering how do we know whether to just stop once or until a === 0 but yup got it thanks
am i finally out?
im trying create a class path and in the document it says Batch files (in directory in system PATH) antlr4.bat and grun.bat. I added it to where I presume is the path location and its runs on the cmd now , but its not functioning when I type commands in . Any suggestions ?
lo
Tonight I'm going to do some work towards moving my shell automation/build system out of prototyping and into a pre alpha
you are never in there lol
@jovial island In my experience, learning Python, my first programming language, was far far easier than learning a human language.
I think it being specific helps, there's less variety, less things to learn etc etc. The slang and whatnot of human languages makes that harder
But even then, that's just vocab, learning the structure and pronunciation of a human language is not easy
Comparatively I found it much easier in programming
Because I can visually see the structure and syntax of the language
Pronunciation and listening is the big one really, learning to read another human language isn't necessarily super hard, but learning to speak it well and listen well is another matter
I suppose it would depend on the language, but I still think that learning pronunciation and learning to listen to it are comparatively hard to just reading it
I think the same could be said for programming languages in a way, like I've learnt a lot in this server just by reading other peoples code and observing conversations. But I do agree that you can pick up on words in other languages just through listening to the way in which they're used
When I say learning a language, I mean at a point other than as a young child, because the same thing applies to human languages past a certain age. You won't have a clue what's going on
Well, won't often, depends on the language
Since some languages share root words
I could of course be biased, I'm very new to learning human languages, started learning Korean a few weeks ago, and it's wildly different from say the jump from English to Spanish
Like it's been extremely easy to learn how to read, though my vocabulary isn't large yet, the actual writing system is very elegant. But pronunciation and listening is another matter
just so I'm on the same page, are you comparing learning natural languages to programming languages?
Yeah
there are some similarities, but the overall processes are not comparable.
I think my conclusion was that programming languages are comparatively easy to learn, but harder to use. While natural languages are comparatively harder to learn, but easier to use.
I'm not sure I agree with that assessment.
the goal posts for complete mastery over a programming language and a natural language are different. True mastery of a natural language requires an extensive vocabulary--should a master Python developer have the API for the top 100 PyPI packages memorized?
Programming languages are also required to be free of ambiguity, whereas natural languages have tons of ambiguity, and the listener applies their knowledge about the world to disambiguate.
That's fair, I guess at the end of the day they're just different things
Ye
There are some similarities, of course. Both have syntax and semantics
You can diagram the syntax of both natural and programming languages
And then as for the semantics... 
The Korean writing system is one of the most beloved among linguists, though I haven't learned it.
Yay
The fact that the letter forms are not arbitrary is called "featural" and I have no idea what to do with that information
But I've been holding onto it for years.
Featural, JIT-compiled, statically typed writing system
Hangul is in fact a wonderful writing system
Definitely one of my favorites
Up there with hiragana and Cyrillic
My conlang is loosely based off of it
same
What app do you guys use to setup sound on linux
i used to use pulseeffects (now easyeffects) to set up sound but it was very inefficient, and now i have a synthesizer, so idk what to use now
the synthesizer uses midi
have you checked with lsusb?
why would I ?
lsusb lists all current usb connections
it will tell you if your mic is working
or being detected
oh? try pavucontrol to see if there is any options
Currently, I booted into windows to check if it works at all, it works
is that the gui thing?
yeah
:/
yea so weird xd
if you don't have any luck, whatever distro your using, you should file a bug report
np
omg I noticed the same thing
does anyone know about ciacdo 3301 - libra primus?
ye ive heard about circada
we are solving the book from 3rd puzzle wanna come?
sent
!e
import numpy as np
some_ = np.array([
Fraction(1, 3),
Fraction(1, 3),
Fraction(1, 3),
])
print(np.linalg.norm(some_-some_))
@jovial island :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | NameError: name 'Fraction' is not defined
why in the world we don't have Fraction in snekbox
!e
import numpy as np
from fractions import Fraction
some_ = np.array([
Fraction(1, 3),
Fraction(1, 3),
Fraction(1, 3),
])
print(np.linalg.norm(some_-some_))
@jade bolt :x: Your eval job has completed with return code 1.
001 | AttributeError: 'Fraction' object has no attribute 'sqrt'
002 |
003 | The above exception was the direct cause of the following exception:
004 |
005 | Traceback (most recent call last):
006 | File "<string>", line 8, in <module>
007 | File "<__array_function__ internals>", line 5, in norm
008 | File "/snekbox/user_base/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 2530, in norm
009 | ret = sqrt(sqnorm)
010 | TypeError: loop of ufunc does not support argument 0 of type Fraction which has no callable sqrt method
wtf
because you didn't import it
!e
from fractions import Fraction
@jade bolt :warning: Your eval job has completed with return code 0.
[No output]
works



2
23
1
java, concurrency, jvm