#ot1-perplexing-regexing
1 messages · Page 461 of 1
`__ . __’
_ _ on the first line
to make it drop down a level
I do that when I'm trying to line stuff up
_ _
Like this:
_ _ ^
==
Means compact + cozy display it the same
There
_ _
i . i i . i i . i i . i ~~ . ~~ ~~ . . . ~~ i . i ~~ ~~==++\
========================================
Ot you could use the space emojis in the lemoji tilesets 😉
See the pins. They use spaces hahah. A big block of emptiness
It's a train
It’s a locomotive lakmatiol
Forgot to _ _ the first line
_ _ ##### #####\
i . i i . i i . i i . i ~~ . . . ~~ ~~ . . . ~~ i . i ~~ ~~==++||\
========================================
train
too bad there's no superscript crossout
_ _ ##### #####\
i . i i . i i . i i . i ~~ . . . ~~ ~~ . . . ~~ i . i ~~ ~~==++||\
========================================
wow
Sadly, it doesn’t look too good On mobile
_ __ ___ | | _____ _ __ ___ ___ _ __
| '_ \ / _ \| |/ / _ \ '_ ` _ \ / _ \| '_ \
| |_) | (_) | < __/ | | | | | (_) | | | |
| .__/ \___/|_|\_\___|_| |_| |_|\___/|_| |_|
|_|
tada
That breaks weirdly on mobile
choo choo
For sure
which one
@rough sapphire 👏🏻👏🏻👏🏻👏🏻
Mobile likes to mess things up
I am an artist
Strike through is weirdly low
----_
can't chain _ cause discord messes them up
•-•
you'll need a single space in places
||_ ____ ____ ____
(o))}}}___}}
'U'0 0 0 0 0 0 0 0
_ _
_ _ _||__ ____ ____ ____
(o)___)}___}}___}}
'U'0 0 0 0 0 0 0 0
Do you wanna give the lemoji and pydis snake tilesets a try? I have a testing server just for them, until we’re done with merging and implementing everything
Check the pins for some examples of the one with lemojis
@coral void how’s that supposed to look? I don’t quite understand, on mobile
I guess it was just a problem with me not understanding it hahah
A
It's a train going left
#@#
###@#
@##
[]
[]
/[]\
\🍁
@coral void what do you think of my tree?

It’s an Apple tree
☀️ 🍁🍎🍁 🌥🌥
🍁🍁🍎🍁 🌥🌥🌥
🍎🍁🍁
||
||
||
/||\
/\\//\ . 🌻 . o\
=========================
that’s art right there
\🍎
🍎
🧤🥑🧤
\🌻
\
\🌻
Try doing that with emojis. It’ll just result in using your system emojis instead of twemojis
🥳\🥳
🥳\🥳
Ah, wait. Maybe they’s what you’re doing and I’m just being deceived by mobile
\🌥
kinda looks like a virus
\⬜

\☀️
-> /
/
| |
| |
/
| |
A rocket?
yep
Btw, you can use code blacks if you wanna preview the spaces and have everything make sense
ooh
Hello
What
Ok
ok
Everything looks weird on mobile though
Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
To do this, use the following method:
```python
print('Hello world!')
```
Note:
• These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them
This will result in the following:
print('Hello world!')
!f-string
In Python, there are several ways to do string interpolation, including using %s's and by using the + operator to concatenate strings together. However, because some of these methods offer poor readability and require typecasting to prevent errors, you should for the most part be using a feature called format strings.
In Python 3.6 or later, we can use f-strings like this:
snake = "Pythons"
print(f"{snake} are some of the largest snakes in the world")
In earlier versions of Python or in projects where backwards compatibility is very important, use str.format() like this:
snake = "Pythons"
# With str.format() you can either use indexes
print("{0} are some of the largest snakes in the world".format(snake))
# Or keyword arguments
print("{family} are some of the largest snakes in the world".format(family=snake))
But syntax highlighting would be odd for this
test
Imagine using 2 cpus in a single computer
if you're on ios
you have to press and hold on the ' character
its the quote all the way on the left of the options
PITA
Computers could be really fast if you could use more than one cpu/graphics cards
^
@narrow pecan dude you just made me realize this mobile function
I have a shortcut for doing triple backticks though. cbt will get changed to them
—
now that is a good idea
Really handy in help channels when needing to write some code
/
/

| |
| |
_ _
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
its all pop
_ _
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||||pop||
It's digital bubble wrap
@coral void you’ve been defeated by chainmailificatuon
lol
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
That's the downside of having spoilers turned off: You don't get to pop bubbles.
F
्र्र्र्र्र्र्र्र्र्र्र्र्र्र्र
it doesn’t make sense :-:
Struck-through ~ chain
्र्र्र्र्र्र्र्र्र्र्र्र्र्र्र
\u094d : DEVANAGARI SIGN VIRAMA - ्
\u0930 : DEVANAGARI LETTER RA - र
\u094d\u0930
ल
Not sure why that one had so many nested
ख़ ख़ ख़
ख़ ख़ ख़
@late quest u know what this is?
@compact jetty I have no idea
||THIS IS A SPOILER||
@compact jetty I have no idea
@late quest then how did u write it
I just copy and paste it from the link you sent
actually not you
The python bot
L
Lol
i see, are u using windows
i see, are u using windows
@compact jetty who me?
no meme guy
oh ok
@compact jetty I’m on mobile
i see
Guys what are the advantages of using TypeScript instead of JavaScript?
It is better. That is one advantage
@lunar shore It adds typechecking to JS. Which makes it easier to catch bugs earlier.
Idk, I do not use typescript, it looks cleaner to me when I see it though.
But that may be because eif the programmer
With no typechecking, if you have a type-related error, it will crash at runtime.
Oh I see
But if you have typechecking, it will crash when you build the code.
I see
So it works even for JS libraries?
Like Express even?
Oh forgot it compiles to JS
Pretty sure it only works if the library was written in TS.
I mean, you can call JS libraries from TS code.
Oh so I can use them
But the library code won't be typechecked.
Why?
I mean, you might need the functionality in the JS library.
But still want your own code to be typechecked.
No problem
You can add type stubs to existing js libs
rader water kamui
@hexed tusk Yes, it doesn't make runtime type errors impossible, but it helps prevent them.
I mean, you can add manual type validation at entry points to your code.
It's me or discord search is broken again?
it's always broken
Is it haha
What about it?
I get the “we broken the len” message
Classic
campfire underwater
Lovely
This is truly scary
What's truly scary, light mode?
It's not that bad
And for folks who have vision troubles, it's actually a blessing
Since in dark themes, the letters may blend together
something something light mode gives you vision troubles if you didn't have them beforehand
Yes ahah
Try switching to dark mode for some a few minutes
Yes, that's a challenge
something something i can't work at night with the power of the sun blasting me into the next dimension
Ahhah yes
See that's fair
But that's the reason that things like Google Maps will swap to a dark background when it's nighttime
Or something
I have it set up so the phone and computer light mode and dark mode follows the sun. It's quite neat
Discord, though? No, no, no
yeah but there are good bright themes like solarized
That's the like.... Sepia one, right?
eh?
Kind of like an rusty orangey color?
a little brighter
That looks a bit outdated to me
I ditched f.lux for Iris when it started having flickering issues
Iris is like a superpowered f.lux anyway
I ditched it since Windows has it built in
I ditched it because I switched to manjaro kde plasma, which has it built in
And I haven't even tried it
These are the different options Iris has, it's cool. I usually just leave it on Health though
Where do you have such settings?
Oh that looks cool, I struggle to see how much all those presets could differ though haha
"biohacker"
I want to say biohacker is dark theme plus blue light filter
programming is just dark theme?
Yeah, I was right
it's just really neat. like movie mode increases the brightness to about 120% (so it's beyond the normal max)
@narrow pecan third party software called Iris that adds filters to your monitor
Oo, alright. Haven't heard of that before
nice
This is truly scary
@narrow pecan One question: Who th uses light mode?
Um... IDK
If they wish to go blind
Guys what Kyu (codewars.com difficulty level) is Codeforces easy (800) difficulty?
idk, 8 and 7 are pretty easy, 6 starts to get tough for me, 5 is pretty difficult, 4 takes me like an hour plus to solve usually, idk if ive ever completed a 3
I never used it, but I would compare 7-6 to leetcode's easiest.
They are not super consistent though. Newer challenges tend to be harder than older ones.
I see
So codewars has pretty good questions?
I'm not getting ready for an interview tho , just like algorithms
so 7 can range from beginner to intermediate.
They also span multiple languages so python may have a module where you can one line a problem, but in, say Javascript it would take some knowledge of the math involved
I see
yeah, codewars is my favorite, I am very active on there.
I have completed one 3 kyu on codewars, it was a sudoku solver one, but had to be sort of optimised iirc, I had one that I had made already which just worked though lol
wow
make sure you pay attention to the satisfaction rating, anything under a 90% may not be worth your time
I love codewars too tho! It's like great
yeah
ohhhh, I think I tried that one then gave up
Lately I have mostly been trying to flex my points, so I have been doing level 7s and writing my own LOL
not a good way to learn
I am not good at algorithms. I was stuck on the prime number problem in codewars, and I haven't passed it yet because of me running out of time.
lol one of kyu 3 js questions is reversing an array in less than some bytes usage , and just by removing the spaces you can EASILY pass it
you just need to use an optimized method
I usually use the sqrt method (idk if it has a real name), but that is one of the slowest of the methods
I am also not that good at algorithms tbh, and any maths ones
WHAT
Lol me neither
LINK
@eternal wing Lemme find it in my solved probs
I want an easy 3
https://www.codewars.com/users/Xithrius are yall able to see this?
yes
https://www.codewars.com/kata/59b81886460387d8fc000043/train/javascript is the eaaaasiest problem on the whole site , just remove spaces , submit
JS 😢
if I only knew js
LOL
lol
https://www.codewars.com/users/wookie184 while we're sharing
I think I know enough
xith flexing his profile
lmao
XDDD
I don't even know what that means
I think I'm at 5 but I don't use it that often so I might be able to get higher now
his authored kata has 1% better rating than either of mine, LOL
oof
I've been doing this for a week only , but https://www.codewars.com/users/RaderH2O
Nothing near you guys
👀
XD
This is one of my favourite kata https://www.codewars.com/kata/5f24315eff32c4002efcfc6a
I think I was there when you started
Took me ages to get
Yeah
Very interesting
Hmm
:ok_hand: applied ban to @sonic crystal permanently.
dang, so fast I didnt even see it
XD
welp, I do not even understand this JS syntax, so rip me
No one does
oh I thought someone was actually doing that
const reverse = a => a.reverse(); I mean I literally do not really understand what to do with this
that's a lambda no?
that is a pretty stupid function tbqh
I keep my js simpler than this
it is reverse = lambda a: a.reverse()
Yeah
well, how do I change the value of a when this is called?
it is a function
pass it arguments
reverse('ab')
hmm, I mean, how do I define what the function does?
that is a pretty stupid function tbqh
Seems fine if you want to use it as a callback for something involving strings no?
or is there a nicer way to do that in JS?
I thought const reverse = a => a.reverse(){} but this gives an error
oh
that's roughly the same as
function reverse(a) {
return a.reverse()
}```
also - apparently reverse is an array method not a string method
yeah, and arrays have no class
so I guess if you really do not want to do e => e.reverse() inline, it makes sense
ty, this is just the example in the challenge, I was not sure how to interpret it
I do not understand that kata, the example code is too long xD
I cannot think of a way to shorten it any more haha
oh jk, im a doof. Do not need to define the return value as a function
also update: wow, I ran it again, they do not even check if you used .reverse despite it being against the rules for this problem LOL
I love the satisfaction of finishing a problem
And seeing you went the right way
the optimal/shortest way*
yeah, it makes me feel super validated when that happens
Yeaa
ping wonder if it works everywhere?
pong!
hahhahahahahh
ive done so many nowadays I will usually quit ones that seem like they take too much time though, lol
WHAT
what am I seeing
he's self botting
ping foreal
pong!
ping?
pong!
ping
pong!
someone else do it
pong!
ping
pong!
!ban 645448334965735457 selfbot
:incoming_envelope: :ok_hand: applied ban to @river kraken permanently.
haha
nice
I don't think he was a bot
he just has super human reaction times
lmao
they were doing it in different channels
and the ability to know when someone "pings"
that would suck ass as a "spidey sense"
Yesss
and btw
https://www.codewars.com/kata/52597aa56021e91c93000cb0/train/python why doesn't :
def move_zeros(array):
ans = []
zeros = []
while True:
try:
array.pop(array.index(0))
zeros.append(0)
except ValueError:
break
ans = array + zeros
return ans
work
I can't get it
I tried doing it with for loops at first
Nothing
Then I tried this
Nothing
Maybe cause it is 12 AM
And my brain
acts dumb
But that should actually work
how long are the lists?
wdym @young shoal
can't you just sort with a custom key?
oh, false evaluates as 0
LOL
XDDDDDD
such a useful feature, but it is a double edged sword xD
I think so
no
There's a site I haven't visited in a while...
it's falsy yeah
@shell vapor joiiin ussss
Don't tell me 0 evaluates as False too..
Tomorrow
oh no
I never finished kee.py
it seems it does
0 == false: True
Then lemme just convert them to string
why no literal evaluation in python xD
lol
literal evaluation?
I thought using is should bypass this
like, we need to check if a value is ONLY 0, not False or none
lemme try
I tried if each is 0 and it evaluates to True on each == False
oh I see
there are also "0"
I do not see any string zero yet, but Im sure they are in there
yay solved it
there is probably a one line for this with typing
no, specifically the literal bool False
each is 0 works, but this breaks float zero, string zero, etc
Either with isinstance
you can use is False
Hmmmm
Or with ^
Lemme just convert each to string , then check
Yeah I am trying to fix that
if str(num) == "0" or str(num) == "0.0":
Still doesn't work
Hmm
An Idea
I could evaluate each 0
Then check for it
but why
Cause that would be the easiest way?
sure...but you'd use eval
I mean
It isn't unsafe since it's not an application or something
omg still floats don't work
Ok I'll check for number type , if it's int or string or float , i'll convert to int and check
done
Or no wait
not string
idk why I am failing some. Some zeroes evaluate as zero correctly, but then are not pop()
oh wait
Then we need a counter
I think I realized something
I was pop(), but using enumerate, so the index changes LOL
Oh lol
hmm that just broke it worse jk
Oof
why are some zeroes not poping despite being evaluated properly xD
[9, 0, 9, 1, 2, 1, 1, 3, 1, 9, 0, 0, 9, 0, 0.0, 0, 0.0, 0, 0, 0] HOW
(no pun intended)
haha
XD]
||z=0 for i,v in enumerate (a): if v==0 and v is not False: z+=1 else: a[i-z]=v if z: a[-z:]=[0]*z return a || is how I did it iirc
wow that's smart
Yeah maybe
Are you popping all the zeroes?
this is not spoiler because this does not work, but where does my logic break here?
def move_zeros(array):
for index, each in enumerate(array):
if each == 0 and each is not False:
array.append(array.pop(index))
return array
[9, 0, 9, 1, 2, 1, 1, 3, 1, 9, 0, 0, 9, 0.0, 0, 0, 0.0, 0, 0, 0]
this
is
annoying me
And yes we are popping zeros
same
Because removing an element from an array while iterating skips the next one
this gets like 80% correct
Try [1,0,0,1]
me
ohhh duh, I thought that was an error actually, if you modified an array while iterating through it haha
for dictionaries yeah, but lists will let you
Oh then we should go one key down after each pop
Lists will skip elems though
lol ty all
How can we move one key down in a for loop lol
use a different method lol
Oh lol
Seems like a great usecase for #python-discussion message
I think you would need a while loop and move the index back one when you pop/not move it forward
Hmmm
But
In a for loop I can decrease the key each time I pop
If it's used in range
You can't
for num in range(100) e.g , I can't decrease num?
You could keep a counter like I do with z, but range doesn't add 1, it just sets the variable to the next value in the range
Oh...
counter then
Thanks for info tho!
Shouldn't
def move_zeros(array):
ans = []
zeros = []
counter = 0
for num in array:
if array[counter] == 0 and array[counter] is not False:
counter -= 1
array.pop(counter)
zeros.append(0)
counter += 1
ans = array + zeros
return ans
work?
or should I do while?
I tried a while loop too, but the logic I could think of made it silly to use a while loop
I ended up going with basically @lakmatiol#8020 solution LOL, but with less finesse
dammit, these one liners always make me mad
heh
||```py
sorted(array, key=lambda x: x == 0 and x is not False)
Oh, you can't spoiler codeblocks apparently
that's clever
@round rose that code block is in a spoiler
It's wrapped in || on both sides, and they disappeared from the output, but the block isn't hidden
so like
It is. At least on iOS
oh, not on desktop
I can click on it once, but it's revealed from the start
so the click does nothing for me
discord being doodoo again smh
Strange
I think consistency between clients is something they’ll have to work on tbh
tbf, codeblocks on mobile are different from codeblocks on desktop, they don't have the syntax highlighting and all that
so maybe that kind of explains it
true, it should
Fun fact: we have a new set of emojis

:terning3:
oh
oh

Urgh. Looks like the names haven’t been updated to work in @median dome
I’ll open an issue for it
please do
So I was talking to someone yesterday and they said Kelowna, bc was kinda of a tech hub
Can someone confirm/deny that
How do you get EAPOL packets?
@round rose issue opened. I’ll be fixing it and opening a PR right now
👍
Anyone know how to make google sheets not turn a number like 24.0 into 24?
It's getting really annoying >.>
nvm figured it out
probs gotta tweak the formatting on the cell
But it was annoying to figure out >..

@undone berry Is your pfp a cup made in blender? I've wondered for literally weeks
no - it's literally just a cup of tea
Like, an actual cup?
A propper cuppa
Hahah
It just looks so animated
not my reddit account
rate my tea lol
hmmmm, cup of coffee is still up there with my pfp considerations
Oh no
Your current one is good
Everyone can't be tea
Also @eternal wing, did you see the new dice? 😉

I saw that, very nice
😄
unfortunately they don't work yet
We just need one more approval on the PR to get it merged
@rough sapphire These new ones are blurple, like PyDis, use a flat design and are just much sleeker

Yes, exactly
Like PyDis
.roll
:terning3:
The updated roll command that'll use the new dice
F1re has already approved of it, but we'll need a second approval. I hope we'll have it ready by tomorrow
f1re is a really nice guy
For sure
ty
thank you for understanding my joke
Hmm
it's more like, if no one understood then it really reflects badly on his audience
its been days
and just now i have been prompted to intsall toolbox
it has been days
f1re is a really nice guy
thank you
so he is not such a menace after all
hahahah, nice one
omg
intellij finally download
ITS BEEN DAYS
not really actually bc i downloaded from toolbox
but still

@round rose
Well, I guess modernisation was gonna hit eventually :>
I do like them, haha
We also have logically categorized emojis now
All logos, python + pydis, lemojis, duckies, "joemojis", jam and dice are together
all you ever need in life. com down here at pydis and enjoy your stay.
unfortunately they're blurple
Blurple is amazing
For sure, i (this is the same as sqrt(-1) in maths, which is the same as __import__('cmath').sqrt(-1), I suppose)
people call me this too much times. idont need an explanation
That was for everyone else
"hey @rough sapphire your IMAGINARY" what a comic genius
a kneeslapper if i dont say so myself
HAhha that's a quite complex joke
you dont understand my sarcasm
i laughed so hard that I almost rotated 90° and fell on myself
I do understand your sarcasm. Maybe you didn't get mine hahah
hey can u guys suggest any good programming u tube channels? i wanna learn more stuff bout python
oh thats quite complex
I'd recommend Corey Schafer's channel
not sure if i can say
ok thanks
!resources here are a few more resources to check out
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
hehehahha
Hahah
1 may wonder the complexity of this java channel
jinkies 1 didn't realize
The number you have dialed is imaginary. Please rotate your device 90° and try again.
This is my actual "not available" message
I should really change it tbh, but I still have it
ahhah yeahh
So many of my friends have been confused by it
And I'm like: "It's a maths joke"
i unserstand how they might not get it
they must think the 90 degrees part if hte only math part of the joke
It's a bit of a strange joke,
It's funny but it does add in the anxiety of phone calls
Aahah yeah, for sure
@stark prawn if yo uget admin are you going to change your pfp to red fluff
Never
I'm just worried what my employer or teachers will call me and wonder what's up
teachers?
Teachers and head master/principals. What else?
parents
should have said 'why not'. would have left them speechless
ahhah
what about grand parents
They are probably very confused by now
@stark prawn Do you wanna try it out as well? At least for a week
And you as well, sqrt(-1)
Try out what?
no one calls me
Changing your no-response thing to that
The number you have dialed is imaginary. Please rotate your device 90° and try again.
I've never used voice mail in my life.
Same, kind of. I just set up this one
but i might
Not sure if it's even left today 
and i haven't used my phone for 8 months
Welp
ios 14 is out, Im updating right now
Hhaah yeah
what
I’ve recently picked up an iPad Air gen3
I've used the beta for a few months
i feel like a boomer
@uneven pine is it the new ipad?
I’m not an Apple fan,I generally dislike apple
"These kids and their air gen3 ipads"
The new iPad Air is gen 4
But I have quite enjoyed get utility that it gives me, and I got it for a really good price
iPhones are supposedly quite the hot item in US highschools
i like samsung
I'm planning on getting one. It looks really good so far
i just want to switch to an andriod phone
3rd Gen is the currently available newest one
There’s a new one coming out next month
I like samsung more tbh
but I m not a samsung fan or apple fan, so I dont care wich brand I get, both are great
I’m not an Apple fan but there’s nothing that can compare to this
I’ve actually replaced my laptop with it
your ipad?
wow
this ipad is really powerful, it has the latest chip, A14 bionic
oh, but still powerful
I’ve got this simulator setup in the middle of the room, displaced from the rest of my pc
Makes it really nice just to use discord in the tablet
cool, I hope I can have one of these, one day
@uneven pine ay i got one of those as well!
i use it to play forza horizon 4 on my pc
So what's this name about?
u can just git rid of that wheel to my address if u dont like it
flexing too much.. kid...
someone good at golang?
probably. You might have better luck on a general programming server like The Coding Den: https://discord.gg/code
hey thanks bud
thanks bud 😉
adding python methods to kotlin
People write fan fictions about lemon?
I low-key hate languages that use the keyword "fun"
fn for a compromise
I like pythons def, I'm a fan of rusts fn, I'm even done with writing out the whole word function
I'm even okay mostly with C++'s return-type-is-function-declaration style
Func is also acceptable.
But maybe that's too similar to another word for some people
Really I just hate fun.
What about defun?
What about defunc
And then every time someone does an xy problem question, I can be like defunc?
defun sounds not fun
It removes the fun
and yet, you are still functor
What about (define (lambda () (+ 2 2)))
lemon fan fictions 😳
lemon fan fictions sounds 😏
@marsh hatch language correctness is defined entirely by what ways language is actually used. Before writing or even governmental institutions existed, people didn't worry that the way they used language couldn't possibly be correct without some institution existing to tell them how to use it.
The Académie isn't so different from PEP8 really is it?
well, Python is a formal language
It's setting out standards that people can choose to use
Allowing for unambiguous understanding
human language is entirely organic
It is, and the Académie rules shouldn't be taken as being more correct than organic usage
But they have a use
My understanding is that Academie rules are treated as being definitively correct, even if they deviate from the way language is actually used.
Human language is regularly used in formal situations where the meaning is important
Correct by whom?
but even if the rules they give represent a subset of the rules French speakers implicitly follow, it's the fact that French speakers implicitly follow them that legitimizes them, and not the Académie.
Consider the law for example. As language evolves the meaning of a law might change. But if the you have something like the Académie setting down strict usage then you can avoid issues in cases like that
I don't know enough about how language is used in different legal systems to comment on that, but it's not the same as colloquial language use.
Well precisely
But people fall back to more formal definitions when talking cross culturally even within the same language
I don't think the Académie attempts to focus on legal definitions.
Because it reduces the chance of misunderstanding
Their definitions aren't binding in any way
But the point is that law is an example where the strict definition of terms is useful
And having a body like the Académie to point to might be helpful
I think when it's important that a word have a specific definition in a legal context, a given legal system will define that word internally
but I'll have to look into that
Typically they would yeah
Although again that is going to differ between common law and civil law systems
well, my point is that purporting to have authority over language use is very different from attempting to describe language use
And the French have a pretty old Civil Law system, so maybe it's no surprise they have codified language standards too
and organizations that purport to have authority over a language in general should not be taken seriously.
admittedly I have a sample size of one, but the one French speaker I asked said that whether a word is a legitimate word in French is defined exactly by whether or not the Académie says it is.
Legitimate for what purpose though?
any
that is, in the mind of this person, any sentence that could be construed as being a sentence in French is not a sentence in French if it contains a single word that is not considered to be a French word by the Académie, regardless of any other factor.
I don't know how widely held that view is, or how many French speakers implicitly believe that, or if they would still believe it if it were conveyed in that way.
I mean the Académie word for computer is l'ordinateur
But I'm fairly certain that many French people just say le computer
It might not be legitimate written formal French, but French people don't not have slang/colloquialism
well, what is legitimate written formal French?
Like what the Academie defines I meant
I'm sure there are style guides for that, and following them is probably the way to go if you want your work to be received by your intended audience
but that doesn't legitimize it in some fundamental way
They are effectively the official style guide though right?
what makes it "official"?
it can't be whatever style guide comes from the Académie because French existed before them
I mean it did yes, but 400 years is a pretty long time
Language is organic. But there is absolutely value in providing structure.
I agree. My point is that describing existing structure and declaring what definitively is correct structure are different things, and the latter is baseless.
If someone takes a long look at how language is being used and describes different approaches within the same language, I wouldn't mind if they gave their opinion about why they think one is preferable in some way
And then every time someone does an xy problem question, I can be like
defunc?
@frozen crane I didn't get that until now
I hope I'm not coming off as confrontational but this is something I've been passionate about for many years, and prescriptivism often fuels elitism.
Maybe I'm a bit of an elitist. But the meaning we give to language is important. I'm all for it changing organically, but I also find things like 'literally' becoming acceptably useable to mean it's original opposite rather stupid
to be clear, I'm not accusing you of elitism. I'm thinking mainly about language discrimination in the US and I assume that you are in fact Welsh and living in the UK.
I'm British living overseas
It's an interesting point you bring up though. I agree that "literally" could be a useful tool for disambiguation, but there's actually a precedent for words meaning "not figuratively" being used as an intensifier.
"very" used to mean "literally"
I'm terrible at languages but good at things like maths. Perhaps that's why I like rules
in formal contexts (and by formal I mean "following an official pattern" rather than "fancy") it's important that words have specific definitions for that context. like in math
I think one of my favourites is "oversight"
If there "is oversight" it could mean two opposite things
I saw a linguistics meme pointing out the distinction between "poisonous" and "venomous" and for most people the distinction doesn't matter, but I assume that it does in research papers about whatever branch of biology deals with that.
I'm also a pedant so shit like venomous/poisonous is my lifeblood
I see
Arguably I think strict definitions might be almost more important in the internet age where there is very little in the way of outside cues/context to inform the reader
I work at a coffee shop decreasingly often as time goes by (I'm down to eight hours a week or less and I expect they may one day tell me that it's not worth keeping me on the payroll) and it gets frustrating when customers use the word "coffee" to refer to anything that contains a non-zero amount of dissolved coffee solids.
Coffee is black. Anything else is milk
I would only use the word "coffee" to refer to "regular coffee" (which lacks a more specific term in my dialect) regardless of what else is added, and everything else requires some kind of specifier.
"cold brew" is coffee but can't be referred to as "coffee" because then "coffee" can't be guaranteed to refer to, well, coffee
Not an Italian then...
In my use, espresso follows the same rule
espresso belongs to a subset of coffee, but you have to call it espresso
Yeah definitely not Italian haha
I like espresso
"expresso" shudder
yeah people who call it expresso are not it.
but "espresso" and "express" are etymologically related so it's relatively low on the list of things I lose sleep over.
asking for "coffee" and getting mad that you didn't get a latte, though
I can't deal with that.
depends on the espresso to milk ratio
And I will not apologise
but I know most of my customers who get lattes do so because they hate coffee and don't want to accept it
they typically order them with high milk-to-espresso ratios
I also ask people unexpected questions while I serve them for their amusement and one of them is "what do you like most about x" where x is whatever they ordered
or something related to what they ordered
so if they order a pumpkin spice latte, I'll ask them what they like most about pumpkins, and they will always say "the taste". They may or may not ask me what I like about pumpkins, but in their case I'll tell them that I like to throw pumpkins at people I don't like.
Lol
the question I usually ask is "What do you wanna talk about?"
"What do you like about Nitro Cold Brew?" It looks like I'm drinking Guinness
oh that's another thing I'll say
they'll ask "what is nitro cold brew?" and I'll just say "beer"
though that stems from a conversation I had with my supervisor many years ago
I knew even less about wine then than I do now (and that's not much) but he said he had some Shiraz, and I knew from the context that it's wine. But I wanted to know if it was white or red, so I asked "what is shiraz?"
and he said "beer"
nitro cold brew is overrated though
coffee isn't substantial enough to maintain the foam
but that's the whole point
so you better chug that thing if you want to get the nitro experience
You're drinking too slowly
so you better chug that thing if you want to get the nitro experience
@frozen crane haha was about to say
I'm mainlining that shit
I have to forcibly stop myself getting a second coffee at home too quickly else I'd be onto a third before 10am
what do you use to make it?
Eh where I am now is just a cheap pod machine
I used to use a french press or moka at home
is that pod machine on a high floor of the building that it's in?
and is there a window nearby?
Ha
I've had coffee from a pod machine a few times and I don't understand why people buy them
but I feel like manufacturing them is immoral
It's incredibly convenient I think
You can get little reusable pods now that you fill with your own grounds
At least for some systems
if pod machines were the only way to make coffee, I'd give all the people involved in coffee cultivation and production a break and just stop drinking it
it's like you're drinking their cries
Something like this https://podstar.com.au/
lol verismo machine
those are discontinued
(because they're so bad)
I have a french press but I don't like the taste of the oils
though I do have a siphon that I use occasionally for the lulz
My issue with a french press is I leave it wayyyyy longer than you should
Which I don't really mind
...how long?
But others are less happy with black sludge
oh dear
My record is probably like 12-15 mins
I mean that's better than... overnight
Ha
I guess I should go to sleep so that I can wake up and have coffee
@shell raptor hehe there is only 1 person to fix errors and, 9999999999999999999999999999 people to make errors 🙂

that's pretty good
fan


