#ot1-perplexing-regexing

1 messages · Page 523 of 1

carmine niche
#

avery (me) is defined as itself, which is permitted since haskell is lazily evaluated. the "value" of such a token is "bottom", which is a word to describe the value of something which never returns / can never be fully evaluated. so the joke is that avery is bottom.

mild abyss
#

:((

carmine niche
#

why sad face

mild abyss
#

:)) because she is a bottom

carmine niche
#

lmao

#

indeed

#

in any case

graceful basin
#

You can even use operators as argument names

(*.*) |>=>| c = c *.* c
carmine niche
#

well

#

haskell has first class functions

#

which more or less means functions are values

#

operators are functions, functions are values, and functions can take in values

mild abyss
#

u can even redefine operators right since theyre functions as well?

carmine niche
#

ergo

#

operators can be used as arguments

mild abyss
#

julia also has that feature as well

honest pawn
#

Great
Everything can be redefined

carmine niche
mild abyss
#

though not as full as haskell's

carmine niche
#

just the same way that you can shadow variables in python

mild abyss
#

since haskell is pure fp

graceful basin
#

Quite a few languages have haskell like operators, some are even more powerful (though I can't think of anything else that can name arg as an operator, though I expect raku can do it)

carmine niche
#

lol

#

the only limitation in haskell is that identifiers must either be all textual or all nontextual

graceful basin
#

And all operators must be binary infix

carmine niche
#

so add and $$<><><>+,.., are both fine as identifiers but <hsa> is not

carmine niche
#

there isn't really such thing as an operator

#

there's just functions and infix functions

#

and all infix functions are necessarily binary because well.. they're infix

#

i could just as easily do something like

graceful basin
#

Still can't make circumfix operators

carmine niche
#
+ 2 2 = 5
#

i suppose that's true

graceful basin
#

That's not valid haskell though, it would be (+) 2 2

carmine niche
#

no

#

what i did is fine

#

you need the () if you want to use an infix function as prefix

#

but remember in the example

#

i am shadowing the (+) function

#

so i can define it however i like

#

well

#

i guess i would have to unimport prelude first

#

since prelude specifies + as infix

#

but with just the base language it would work

graceful basin
#

Non textual identifiers cannot exist as prefix

carmine niche
#

oh?

#

ah

#

true

graceful basin
#

Try compiling ++++++++++++++ 2 2 = 7

carmine niche
#

i forgot this

carmine niche
#

lmao

graceful basin
#

(+++++++++++) 2 2 = 7 is fine though

mild abyss
#

so much too much so many very much plus plusses

carmine niche
#

lol

#

one two three four five

#

textual identifiers must be prefix as well

#

i think

#

anyway as for do notation it is just sugar for the bind (>>=) and bind-drop (>>) operators

#

example:

#
-- this
main = do
    name <- getLine
    putStrLn $ "Hello, " ++ name
-- is the same as this
main = getLine >>= (\name -> putStrLn $ "Hello, " ++ name)
#

in the same vein

#
-- this
main = do
    putStrLn "1"
    putStrLn "2"
    putStrLn "3"
-- is the same as this
main = putStrLn "1" >> putStrLn "2" >> putStrLn "3"
#

monads go brr

#

question

#

what does infix do if it is chained

mild abyss
#

dead 💀 chat dot e x e

carmine niche
#

lmfao

uneven pine
#

"putStrLn" Has to be the worst series of letters to print something ever

carmine niche
#

¯_(ツ)_/¯

#

print was taken

#
print = putStrLn . show
#

or rather

#
print :: Show a => a -> IO ()
print = putStrLn . show
uneven pine
#

Man I hate haskell so much

carmine niche
#

whyyyy

#

it is such a lovely language

uneven pine
#

I can't stand pure functional programming in general

carmine niche
#

why not qwq

uneven pine
#

it doesn't work with my brain

carmine niche
#

ah

#

:(

rich moon
#

imagine not being able to mutate variables

uneven pine
#

I tried sitting down and earning haskell for about a week recently

#

I couldn't really get past the very very basics

carmine niche
#

imagine not having to worry about the problems state causes

#

hmm

#

i could try to help qwq

#

i think the biggest problem anyone has is just lack of resources

uneven pine
#

Purely functional programming is basically an antipattern to the way I process information in my head.

rich moon
#

imagine being iq and never creating a race condition

carmine niche
#

being iq?

#

imagine being a metric

uneven pine
#

I like things like python and rust that balance styles of programming

carmine niche
#

i think js balances better than python

uneven pine
#

Yes but Js is also the worst programming language ever created

carmine niche
#

but that's just my opinion

carmine niche
#

js is pretty fine

uneven pine
#

I will force myself to write haskell before I touch JS

#

I hate JS with the most passion out of any programming langauges

#

Hell, I've had to write Fortran 77 recently

twilit shore
#

Why?

uneven pine
#

and I prefer that over JS

carmine niche
#

C++ and PHP definitely deserve that hate more than js does

twilit shore
#

JS is pog

uneven pine
#

Js is plastic disc?

carmine niche
#

js is not the best but it is not the worst by far

#

like i said it is pretty fine

#

imo

rich moon
#

lambdas using () => is ugly

uneven pine
#

It tries to do too much at once, it's stretched too thin, the communities are too fragmented, and the syntax rarely makes actual sense

carmine niche
uneven pine
#

I actually like those style of lambdas, my language uses a similar system

carmine niche
#

i like js lambda a lot

rich moon
#

and the entire thing looks like one big callback

uneven pine
#

python's lambdas are one of the worst implementations of anonymous functions if you ask me

graceful basin
#

JS has to do all that, since well, there is no alternative to JS

uneven pine
#

which is the biggest problem

graceful basin
#

Python lambdas are intentionally bad

carmine niche
#

lmao

graceful basin
#

Since FP is really not a good fit for python

uneven pine
#

yeah lambdas are not pythonic

carmine niche
#

yes

#

which is why i don't like python that much

#

i am a very fp person

#

also why i don't think it is that balanced

graceful basin
#

I only like fp if it's pure and such

carmine niche
#

procedural <-> oop isn't really a balance

#

it is just

uneven pine
#
# However, anonymous functions (Lambdas) are first class objects!
var x:lambda = <arg1, arg2> -> { return arg1 + arg2 }
carmine niche
#

two different sculptures made of the same rock

graceful basin
#

The weird half mix a lot languages try to just ends up as worse closure or worse haskell most of the time

uneven pine
#

it's important to note, in this situation lambda is a TYPE HINT

#

not a syntax requirement

graceful basin
#

I like the 6 different raku lambda syntaxes

carmine niche
uneven pine
#

that can also be written as

var x = <arg1, arg2> -> {return arg1 + arg2}
graceful basin
#

I don't

carmine niche
#

for either of them??

uneven pine
#

It's like this due to an interesting fact about my language

#

being that functions are NOT first class objects themselves

graceful basin
#

Ye, JS you either end full on FP which would be better in a different language, or procedural which is fine in JS

carmine niche
#

oh no

uneven pine
#

they are optimized down a bit, but lambdas ARE objects, therefore slower, but more versatile

carmine niche
#

hmm

#

interesting

graceful basin
#

Rust I haven't really tried, but the only marginally fp thing I saw were closures and lazy linear linked lists=iterators

#

Which are also features of python

uneven pine
#

Closures and pattern matching

#

also immutability by default

graceful basin
#

I have not seen any rust example doing functional stuff like recursion over mutation

#

I don't doubt you can do it

#

But rust programmers don't

carmine niche
#

and the preference of piping values through functions (a.b().c().e().f().g()) over just mutating a bunch of stuff

uneven pine
#

I don't write a lot of Rust, I use it in places where I would normally use C or C++

#

except wherenot possible

rich moon
#

when u use recursion to do some version of the loop

#

ive done racket

#

and its different...

uneven pine
#

It's time for me to rip my workstation apart

#

and redo all the cable management

graceful basin
#

Rust feels like "procedural code with some functional stuff here and there", whereas clojure is more FP with procedural here and there

uneven pine
#

the basement flooded so I took an extra day of work lmao

carmine niche
#

rust is extremely functional for what it is imo

uneven pine
#

It's about as functional as you can get for a systems language.

carmine niche
#

anywho

graceful basin
#

Yeah, which is not very functional

uneven pine
#

Functional programming and systems programming don't really go hand in hand

graceful basin
#

If I am writing functional code, I want it to actually be functional. Which is why I very rarely use monads in haskell and such

#

Scheme, shen, clojure, elm can all do that with varying degrees of success

#

Rust can't from what I've tried

#

I find it much more ergonomic to just write regular old procedural code

#

Same in JS

uneven pine
#

again, different purpose for languages

carmine niche
#

how are monads not functional lmao

graceful basin
#

They literally are a way to represent imperative programming in functional terms

carmine niche
#

no

graceful basin
#

So they are imperative programming

carmine niche
#

they are just a concept from category theory

graceful basin
#

Ye, that is more how they are used in code

carmine niche
#

which happen to be used, sometimes, to allow for easier handling of concepts like persistence

#

no Maybe for you then

#

no lists either

graceful basin
#

I use Maybe, just not it's monad instance (unless I actually have a sequence of actions each of which may possibly fail and it is in fact the best way to express it)

carmine niche
#

although

#

hmm

graceful basin
#

Though I find that once I start having sequences of actions is when the weird bugs show up

carmine niche
#

no strings

#

lmao

#

no strings for you

#

wlel

graceful basin
#

You can use a type without using its monad instance

carmine niche
#

you still have Text and such

#

but

#

i mean

#

yeah

#

but

#

it is still a monad

#

anywho

#

now i am curious what the bind implementation is for lists

graceful basin
#

I think it's just map the function and concat

high zealot
#

Ol

graceful basin
#

And honestly, not using String is a good idea anyway

shell raptor
#

it's like -- if you have a non-pure language, is this function pure?

def apply_twice(f, x):
    return f(f(x))

well, it doesn't do any side-effects on its own, maybe yes?
But then, you can pass a side-effectful function here:

apply_twice(launch_missiles, 42)

and all the reasoning valid for pure functions is now potentially invalid.

#

so if you write logic in an arbitrary monad, you're potentially writing impure code that launches missiles

topaz aurora
#

Composability and purity are vastly different things

tribal aurora
#

is it fedora rolling release ?

uneven pine
#

Fedora is not rolling release no

carmine niche
#

well

#

io actions aren't really good for that

#

~<

#

i mean you could do it like that i guess but

#

io actions are magic

#

magic should be avoided

arctic zodiac
#

wanna know whjats crazy

carmine niche
#

what

arctic zodiac
#

my main discord acc got hacked

carmine niche
#

D:

#

oh no

arctic zodiac
#

that i made 4 years ago 😢

#

and this is discords reponse

#

Hi again Bella,

Thank you so much for your cooperation regarding this matter.

I just wanted to let you know that I'll be escalating this ticket to a team member to look into further your compromised account. I genuinely apologize for the inconvenience in the meantime and will keep you updated here as soon as I hear back.

Let me know if you have any other questions at any time.

Best,
Jonathan A

carmine niche
#

:((

arctic zodiac
#

this is my acc

#

#bot-commands message

#

it goes to the message

#

of the userinfo i did

#

wen i joined

carmine niche
rich moon
#

discord is real dog sht when it comes to customer service and security

carmine niche
#

tbh

topaz aurora
carmine niche
#

i mean that io actions aren't good for having the entire logic of the program

#

imo as much as possible should be outside the io action

#

since io actions are magic

topaz aurora
#

Yeah, that's the common pattern outside of monad transformers

carmine niche
#

hmm

#

how should i implement fmap for the result type

#

y'see the problem is

#

no not fmap

#

<*>

#

the problem is that with two ok's it makes sense, with one ok and one error it still makes sense, i just pass the error along

#

but

#

i don't know what to do when it is two errors

#

it seems to me i have to pick one of them

topaz aurora
#

My vague intuition on applicatives tell me you should pick the left

carmine niche
#

oh?

topaz aurora
#

e.g. there's no need to evaluate the right side if you're already erroring out at the left

carmine niche
#

i suppose that makes some sense

#

but i don't like that

#

evaluation order is supposed to be fake

#

🙃

topaz aurora
#

Since <*> is ultimately the same as

ap lhs rhs= do
  f <- lhs   -- This fails immediately
  x <- rhs
  pure $ f x
carmine niche
#

i suppose

topaz aurora
carmine niche
#

in a pure functional language evaluation order is irrelevant

topaz aurora
#

In some cases, yes, because you're essentially doing declarative programming

carmine niche
#

haskell is die hard declarative lmao

#

at leat

#

least

#

when you come at it from the category theory point of view

topaz aurora
#

But in monadic contexts where it imitates imperative programming, it is relevant, and in the case of applicatives where it's a declarative facade over and inherently imperative pattern, evaluation order does matter, what doesn't is how you group them

carmine niche
#

what do you mean by a declarative facade over an inherently imperative pattern

carmine niche
#

assuming that haskell is 100% pure functional

#

evaluation order should not matter

topaz aurora
#

That implies that ordering in do-notation doesn't

carmine niche
#

theoretically, it doesn't

#

well

#

no

#

the order does matter

#

but it doesn't matter in what order you evaluate

topaz aurora
#

It doesn't at the syntactical-level (at least in modules), unlike how you write terms in languages like C or Python; it also doesn't at the runtime-level because of laziness. But do-notation is different, it's syntactic sugar after all.

carmine niche
#

and for some things the order does not matter

#

if we pretend for the moment that nothing magical exists

#

in haskell

#

the order of evaluation, even within do notation, does not matter one bit

topaz aurora
#

Sure

carmine niche
#

well

#

hmm

#

bottom throws a wrench into things

#

idk

#

whatever

#

lmao

#

does bottom throw a wrench into things

#

idk

#

lazy evaluation makes me unsure whether bottom is significant

topaz aurora
#

Monads aren't commutative :V

carmine niche
topaz aurora
#

Well, they don't guarantee to be

carmine niche
#

i mean

pallid ether
#

haskell is comfusing

carmine niche
#

what do you mean by guarantee

#

the monad laws cannot be checked

#

methinks

#

you know what really interests me

#

the idea of a quantum functional paradigm

#

a super abstract functional paradigm rooted in quantum computing

#

absolutely fascinates me

topaz aurora
#

Trivial example, but bear with me

x = do
  env <- getEnv  -- May fail
  insert $ r1    -- May fail
  delete $ r2    -- May fail

y = do
  env <- getEnv
  delete $ r2
  insert $ r1
```While these two actions essentially do the same thing, the side effects make it so that evaluation order matters to developers
carmine niche
#

side effects aren't pure

#

hehe

#

that's why my emphasis was on theoretical

topaz aurora
#

I was trying to emphasize on academic/practical terms

carmine niche
#

hmm

#

it would be interesting to try to make a haskell equivalent but rooted in quantum

#

or some sort of pure fp thing at least

topaz aurora
#

There's always a LISP for everything

carmine niche
#

i am not sure how much brainpower it would take to square quantum with category theory

topaz aurora
#

They won't go hand-in-hand, unless you mean porting Haskell/GHC to a quantum computer and using the applications of category theory that it does

carmine niche
#

no i mean having it be fundamentally rooted in quantum

#

reversibility and all that shit

tribal aurora
#

I use fedora btw!

carmine niche
#

that if anything is one of the most fascinating things about quantum to me

tribal aurora
#

hi

carmine niche
#

how it enforces certain laws

carmine niche
tribal aurora
#

how you doing

carmine niche
#

information simply cannot be destroyed

tribal aurora
#

had a great installation

carmine niche
#

it isn't possible

#

that's good uwu

tribal aurora
#

pretty fast

carmine niche
#

i dual boot windows and arch

tribal aurora
#

I like arch-based distros

#

but

#

you should try fedora

spice flame
#

rust is technically pretty good for quantum

carmine niche
#

i have tried fedora

#

i didn't like it

tribal aurora
#

hah,

spice flame
#

being that it implements a version of affine types

tribal aurora
#

personal preference

#

ig

#

but dnf is dam cool

#

i don't know how you didn't like it

#

...

topaz aurora
carmine niche
#

oneShot

#

lmao

topaz aurora
#

The proposal states that it won't be used for any compiler optimizations but at least we're getting Dependent Types™

carmine niche
#

ooo

spice flame
#

also the entire functional/imperative split is kinda stupid if people don't really define what either means

carmine niche
#

dependent types are nice

#

dependent types are one of the things idris has had the upper hand on

spice flame
#

monads are a way to reify typed computational effects-- nothing more or less

carmine niche
carmine niche
spice flame
#

if you think that sequential computation is not functional, then, well, i don't know what to tell you

carmine niche
#

it isn't

#

fundamentally

#

sequential computation and pure functional are incompatible

#

well

#

not necessarily incompatible

spice flame
#

how are monads not that

topaz aurora
#

CPS is sequential

carmine niche
#

just that in a pure functional program the sequence doesn't matter

topaz aurora
#

CPS is pure

spice flame
#

that's literally what a kleisli map is

#

?

carmine niche
spice flame
#

you're conflating declarative and functional

carmine niche
#

pure functionality is inherently declarative imo

#

functionality in general is not necessarily so

topaz aurora
carmine niche
#

ok

#

so

#

i am delirious

#

because it is like midnight

#

i am gonna sleep

#

and in the morning i will read up on this shit

#

since my brain is not absorbing it now

#

and then we can talk

topaz aurora
#

One last thing as well, Free is implemented as a list of functors, of which both concepts are inherently pure

spice flame
#

well

#

i guess that's a way to say the free monad is the coproduct over all self-compositions of a functor

#

but anyway, inversion of control (cps) is a functional concept

#

so i don't see how control flow ISN'T functional

topaz aurora
#

Purity is ultimately up for the runtime to decide, but by all means, IO itself is pure, the effects introduced by the runtime aren't; but maybe I'm just being pedantic

spice flame
#

no, you're fine

#

which is why i said monads were a way to encapsulate computational effects in a typed way

carmine niche
#

io is not a great example because it is magic

topaz aurora
#

More like well-written wizardry within GHC that abides laws, making it pure

carmine niche
#

it is magic

topaz aurora
#

STM is as well

carmine niche
#

a term i have given a precise definition in other conversation

#

though i cannot retrieve it atm

#

assuming stm is the state monad, it is not magic

topaz aurora
#

Ah, I meant ST

carmine niche
#

ST being..

#

ah

carmine niche
#

looking briefly at it

#

it appears to be magic

#

but i am not familiar with it

topaz aurora
carmine niche
#

yeah it looks magic

#

i will try to find the precise definition tomorrow but

#

suffice it to say that i am using magic to mean "pure but meaningless unless given special meaning by the compiler"

#

error is also magical

#

i really like thinking about haskell in terms of category theory

#

it gives me joy

#

ndaskjdnsaj

#

infinite types when

prisma agate
#

can someone help me with a captcha

eternal wing
prisma agate
#

@eternal wing this captcha breaks my brain

eternal wing
#

I hate this, is this really a captcha?!

#

this is worse than crosswalks

prisma agate
#

its almost like if the website doesnt want me too register

eternal wing
#

haha, yeah that one is torture. You should be able to reroll it

prisma agate
#

@viral parrot

viral parrot
#

yeah... i figured you hade to have something like that

edgy crest
#

3 z a I 1 F 2 ?

viral parrot
#

i see 3zI12

edgy crest
#

dunno though its really weird

eternal wing
#

we need to keep the machines out by asking them their emotional response to images now....

We will keep away the bots and the sociopaths

prisma agate
#
You have exceeded the maximum number of registration attempts for this session. Please try again later.```
eternal wing
#

maybe this one is only supposed to keep out humans

prisma agate
#

lol

long topaz
#

PHP!! Yay!!

last mantle
#

no

tranquil orchid
eternal wing
tranquil orchid
#

ah

#

of course

inland wolf
#

yes

tribal aurora
#

lol, where do you guys get these names lol

#

lel

inland wolf
#

lol

brazen ingot
long topaz
tribal aurora
#

hey

#

I've got some problem when i log in

#

about themes

#

i think that's because the env variable that i set for Qt5ct

tribal aurora
inland wolf
#

since when did medium do this

acoustic moss
#

can you remove the overlay in inspect element

mellow spire
inland wolf
brazen ingot
#

But when I open with incognito and then medium be like 😭

inland wolf
#

i have just discovered how useful symlinks are

#

spotify was taking 5gb on my C drive (which was low on space) so i used a symlink to make it think it was still in the C drive

#

ha

#

B)

inland wolf
#

wait is it bad if i make a lot of symlinks?

rough sapphire
#

until u mess it up

#

lol

inland wolf
#

lol

rough sapphire
#

c in d d in c and u are in e finding it

#

🤣

inland wolf
#

lol

royal lakeBOT
#

@solid pollen @narrow pecan

It has arrived!

Here's your reminder: how is 2021 so far?.
[Jump back to when you created the reminder](#ot1-perplexing-regexing message)

inland wolf
#

oh interesting

solid pollen
#

Fairly good

narrow pecan
#

Could be better

#

Could be worse

rough sapphire
rough sapphire
#

my brain nerver just folfed hands

#

and begged for mercy

rough sapphire
rough sapphire
worldly grail
inland wolf
#

ic

last mantle
#

idc

sacred sorrel
#

heyy

wooden sapphire
#

WHY IS THIS CHANNEL NAMMED PHP WINS AGAIN?

scenic blaze
#

It's random

proven furnace
#

Yo

#

Anyone know or wanna answer my question on physiology?

mellow spire
#

looking for someone who is familiar with ubuntu and arch packaging for piston-cli.

mild abyss
#

fire eat f1re

edgy crest
#

f1re eat fire *

mellow spire
#

w1ter eat f1re

golden walrus
#

w0ter*

clear acorn
#

Blackholes eat everything

quick ledge
#

for ubuntu, look into something like Launchpad

#

I don't have much knowledge in this respect though

mellow spire
#

ok thanks!

cosmic lake
#

milk

tribal aurora
#

f1re eat w0ter

#

@quick ledge yo still on manjaro ?

quick ledge
#

yeah

#

what's up?

tribal aurora
#

switch to Fedora lemon_fingerguns_shades

edgy crest
#

no

tribal aurora
#

yes

#

Fedora is way better than Manjaro

edgy crest
#

i wouldnt be surprised if you come back some time later saying x is better than fedora

tribal aurora
#

I won't

edgy crest
#

¯_(ツ)_/¯

quick ledge
#

¯_(ツ)_/¯

tribal aurora
#

lol ok

#

but i've got some problem about fedora

#

😕

quick ledge
#

what is it?

edgy crest
#

see jerry, it was just a few seconds

tribal aurora
#

wha?

edgy crest
#

nothin

drifting sage
#

Just boosted the server, supporting the server as much as I can :)

edgy crest
#

nice

quick ledge
#

hey, thank you

edgy crest
#

i only did it for the blue color

tribal aurora
#

@edgy crest having problems about a distro doesn't mean i want to switch

#

lol

#

@quick ledge I've got a black screen after upgrading

quick ledge
#

oh lol

edgy crest
#

just saying everyone has their opinions, and switching distros and operating system's is a pain

quick ledge
#

did you get it fixed?

tribal aurora
#

Nope

edgy crest
#

welp good luck monkaS

tribal aurora
#

I tried updating nvidia

#

but nothing changed

quick ledge
#

see if you can find a fedora linux server

tribal aurora
#

why

#

oh

#

i did

#

already

quick ledge
#

others would probably have the same issue

edgy crest
tribal aurora
#

yep

#

nah

edgy crest
#

not a big fan of its logo tbh

tribal aurora
#

no that

#

one

edgy crest
#

still its logo is better than manjaro kek

tribal aurora
#

I like that tbh

#

lol

edgy crest
#

manjaro has like that worst logo ever

tribal aurora
#

YES

#

AGREED

edgy crest
#

yeah

#

Artix has the most cool looking logo for me so far

tribal aurora
#

the owner came and split a square to smol things and called it a logo

#

do you agree amd > nvidia?

edgy crest
#

yeha

#

amd did not give me any driver problems

tribal aurora
#

ah, i think this black screen is caused by nvidia drivers...

#

fuk

last mantle
tribal aurora
#

yes haha

solemn leaf
#

Can we use Rufus to flash Android x86

fringe creek
acoustic moss
#

My last commit message was

"Final commit before I screw things up"

#

im going for, like, huge changes

fringe creek
#

just look at the last commit

acoustic moss
#

what the fuck

spring kraken
#

Dose anyone want to check out my discord bot?

fringe creek
#

super high tech

#

goes all the way up to 50

acoustic moss
#

20k+ lines

#

what the fuck

#

it's genius

fringe creek
#

its 753 KB

#

20822 lines

acoustic moss
#

madlad

fringe creek
#
if 3/2 == 1:  # Because Python 2 does not know maths
``` ![Kekkles](https://cdn.discordapp.com/emojis/732478896515317811.webp?size=128 "Kekkles")
twin charm
#

where do you find this

fringe creek
#

# TODO: Make it work for all floating point numbers too

acoustic moss
#

ahahhha

fringe creek
#

its the first thing that shows up

twin charm
#

wait this is your repo

fringe creek
#

no lol

twin charm
#

its kinda like my ticc tacc toe

#

if statements for everything 😎

last mantle
#

😔

#

oh wait

#

ahahhah i thought you were zee

#

oops sorry

twin charm
#

hha

carmine niche
#

python 2 does know maths

#

honestly i think the python 2 thing was better??

#

like what happened to "explicit is better than implicit" hmm????

#

you could like

#

make an effort to follow your guiding principles

carmine niche
#

cuz

#

the problem is

#

they kept the mechanic that / performs integer division when used on two ints

#

but they made it so that int literals are implicitly converted to floats

#

which i dislike

#

i would also be ok with it if they made / just do float division in all cases

#

but the thing with implicitly converting to float (unless you explicitly said it was an int), idk that just seems kinda wishy washy to me

#

and also breaks the zen of python

#

just my two cents

#

i'm not necessarily saying the python 2 system was good

#

just that it was more consistent with the guiding principles of the lang

#

and less implicit

#

the best system imo would just to have / always do float division

#

wait

#

:O

#

i am testing it and it is doing always float division

#

i could have sworn they kept the int division mechanic

#

wack

#

i guess they didn't

acoustic moss
#

are you thinking of //

carmine niche
#

in that case i like the python 3 system better

acoustic moss
#

lol

carmine niche
#

no i am thinking of /

#

i am just misremembering

acoustic moss
#
>>> 6.0//4.0
1.0
carmine niche
#

i am aware qwq

inland wolf
#

ok

acoustic moss
#

ok

carmine niche
#

ok

#
x = x
inland wolf
#
print(x)
carmine niche
#

well

#
print x
#

but yes

inland wolf
#

no

acoustic moss
#

no

carmine niche
#

yes

acoustic moss
#

print(x) will work in 2 too

inland wolf
#

yes

acoustic moss
#

ok

inland wolf
#

agreed

twin charm
#

wot

acoustic moss
#

I see we are in mutual consensus

carmine niche
#
x = x
print x
twin charm
#

python2!

carmine niche
#

python 666

#

python 4 droppin when

rough sapphire
acoustic moss
#

not soon prolly

#

there's 3.10 first

carmine niche
#

minecraft 2 droppin when

rough sapphire
#

x = "my name" print x

rough sapphire
carmine niche
rough sapphire
#

how did you do that?

#

||a||

carmine niche
#
print('magic')
rough sapphire
#

plz tell

carmine niche
#

```
code here
```

for syntax highlighting put the file extension or lang name after the first ```
so for python it would be
```py
some python code here
```

#

```py
x = 'Avery'
print(x)
```
gets you

x = 'Avery'
print(x)
last mantle
#

or you could have used

#

!code

royal lakeBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

last mantle
#

haha

rough sapphire
#

Need some help buying or making a computer/pc. Not sure what to look for in specification, for general web programming, running emulators etc. Or you Dm me if you can help

last mantle
#

What's the budget

#

@rough sapphire

rough sapphire
proven furnace
carmine niche
#

bible is part 2

#

torah is part 1

#

bible 2 is tautological

strange musk
harsh tundra
carmine niche
#

yes

harsh tundra
#

today's one of many Cat Days. idk if it's local or international. but I'm far away from my overlor-... I mean, my cats

rough sapphire
#

squireel eat squiel

harsh tundra
#

your discord id after your name suggests you're indeed an overlord... 😮

honest pawn
#

What is the purpose of LOLCat?

harsh tundra
#

that's the language of our overlords, the cats

high zealot
#

Ok

wicked barn
#

i need that bible

#

how mutch is it

#

i want it

sacred sorrel
#

heyy

#

can someone please suggest me some good books for java

#

no

#

thanks bro

carmine niche
#

if the admins are salmons they better watch out

#

for i am the catboy

#

and nothing gets in the way of me and my salmon

clear plume
#

furries smh

carmine niche
#

furrys smh my head

edgy crest
#

furrys?

carmine niche
#

furries

rich moon
#

ew furries

dim tapir
#

lol im not one tho

#

they are weird ngl

rich moon
#

thats some fuked sht

#

right there

vapid nymph
dim tapir
vapid nymph
#

dim tapir
#

👀

vapid nymph
#

put that character at the beginning

dim tapir
#

um ARU

#

jw

#

im doing a school code project and

clear plume
#

** **

#

See?

dim tapir
#

we have to make rock paper scissors with python

#

now i am being told think up something that is like rock paper scissors

#

and just replace the-

#

also, do emojis work in a '(insert emoji here)' kinda way

dim tapir
#

i can't be bothered to make a new .txt and right-click to get a ZWJ lol

vapid nymph
#

Anyone here use LastPass?

#

Any salmon admins use it?

mild abyss
#

@clear plume hmm imma look at the sources i have collected in sending a real empty space

vapid nymph
#

It's a

#

#

@mild abyss

mild abyss
vapid nymph
#

Wdym

#

What are you trying to send

mild abyss
#

u added "\n" lol

vapid nymph
#

No

#

I sent as a seperate message

inland wolf
#

no its defintely possible

#

i am not gon do it here tho cuz its considered spamming

vapid nymph
#

inland wolf
#

yes

vapid nymph
#

That

#

It's also great for pretending to execute commands

inland wolf
#

yes

vapid nymph
#

Especially around a cheeky dev I know which added support for \ prefix escapes. They fake run the command and edit after to say you got gnomed.

mild abyss
#

#

i see

edgy crest
#

**
**

vapid nymph
#

Aur?

edgy crest
#

arch user repository

vapid nymph
#

What package

#

What is wand

edgy crest
mild abyss
#

@edgy crest ooh nice lemme try

#

i commented hehe

edgy crest
#

btw you get a warning at the end, i dont know what it means, it doesnt do anything though

mild abyss
#

hmm i kinda wonder why u allow read and execute. i guess it is fine and safe lol

edgy crest
#

i see

#

now try running it by wand ...

mild abyss
#

i am the owner

vapid nymph
#

Hey, anyone here use LastPiss?

#

Listoass

mild abyss
edgy crest
#

btw i added inline inputs if you dont provide args in the latest version, though not in the AUR version, i will update it soon

mellow spire
#

the piston-cli is on NixOs

#

even you can try that

#

vinam ^

vapid nymph
#

Right, but has anyone used it?

vapid nymph
mellow spire
vapid nymph
#

Anyone, listpass

#

Lastpass

#

Oh finally

mellow spire
#

yeah, i know 3 people who use that

#

i think pure has it, not sure.

vapid nymph
#

What are they gonna do, now?

mellow spire
#

run code on it

vapid nymph
#

No i mean do with lastpass

edgy crest
mild abyss
edgy crest
#

change what to?

vapid nymph
#

@remote socket lmao what did you do?

remote socket
#

?

vapid nymph
#

Can you go invisible for 10 seconds?

remote socket
#

why

vapid nymph
#

Because the member list is broken for me and you're the only non borked member

remote socket
#

oh yeah that happens to me as well sometimes

#

restart your discord

#

should be fine afterwards

vapid nymph
#

4, 1, 8

mellow spire
#

that list is corect

vapid nymph
#

Sounds about right.

remote socket
#

lol

vapid nymph
remote socket
vapid nymph
#

Oh, the other mention oops

mellow spire
#

lol

trail juniper
#

Oh so you saw the cryo chambers

mellow spire
#

i didn't see that 4

vapid nymph
mellow spire
#

there are 5 rn

vapid nymph
#

Also I just counted

#

There's only 29977 members online

#

It says 31671

#

Which is clearly wrong

#

OK this one is total bullshit

remote socket
#

!server

royal lakeBOT
#
Server Information

Created: 4 years, 1 month and 9 days ago
Voice region: us-east
Roles: 82
Member status: status_online 29173 status_offline 120840

Members: 150013

Helpers: 90
Moderators: 28
Admins: 14
Owners: 3
Contributors: 36

Channels: 207

Category: 26
News: 8
Staff: 55
Text: 108
Voice: 10

edgy crest
#

restart discord

#

prob cache

vapid nymph
#

Also says there's 1 lead

edgy crest
vapid nymph
#

But we know there's zero

vapid nymph
#

Aka all channels where everyone has read messages turned off I guess

#

Probably

#

That's an assumption

edgy crest
#

oh its in the channels category didnt see that

vapid nymph
#

What is the eighth news channel

#

I'm gonna take a stab and say it's either an internal channel or a different channel, not sure

vapid nymph
#

And I regret not moving sooner

#

The entire UI is just better.

inland wolf
#

what the fuck

edgy crest
#

uwu

inland wolf
#

n o

#

i was gon install

#

now im not

edgy crest
#

:(

#

i will remove it

brazen ingot
#

why so?

#

what is tht?

edgy crest
#

ill add a thumbsup instead ig

inland wolf
#

thats better.

#

or

#

u could make that part of ur config as well

edgy crest
inland wolf
#

uwuify text - yes/no

edgy crest
#

good point

inland wolf
#

B)

edgy crest
#

i have ;( for an error is that ok 👀

inland wolf
#

wait doesnt that mean ur winking while being sad?

edgy crest
#

i dont know

#

i just typed ; instead : so i kept it that way

brazen ingot
#

LOL akarys moderating on IPAD!

edgy crest
#

why are you so shocked about that SataniaWeird

solid pollen
#

Where did you even find that?

edgy crest
#

i think you must have said you use an ipad someday and when he saw the online icon as a mobile he guessed ¯_(ツ)_/¯

#

unless they are using some modded discord monkaS

solid pollen
#

I am not shown as being on mobile right now, am I?

brazen ingot
solid pollen
#

Because I do be on my iPad haha

#

But I’m using the web portal and Discord is really confused by that

brazen ingot
#

Ok do you wanna know where did I found that you're on ipad?

solid pollen
#

Yes

#

I am curious

brazen ingot
#

and I know 😄

#

@solid pollen

solid pollen
#

Haha, fair

brazen ingot
#

LOL Ik

solid pollen
#

Is @trail juniper a salmond lizard?

trail juniper
#

Do you think the channel names would lie

solid pollen
#

I do not

#

otns are always true

brazen ingot
#

aha I think the same

#

How did this server grow this much?

#

!server

royal lakeBOT
#
Server Information

Created: 4 years, 1 month and 9 days ago
Voice region: us-east
Roles: 82
Member status: status_online 31574 status_offline 118480

Members: 150054

Helpers: 90
Moderators: 28
Admins: 14
Owners: 3
Contributors: 36

Channels: 204

Category: 26
News: 8
Staff: 52
Text: 108
Voice: 10

brazen ingot
#

damn

solid pollen
#

Great outreach lately

#

Oooohhh we have 150k!

brazen ingot
#

lol yes you should update the web now saying we have 150k developers!

drifting sage
#

yayyy 150k !!!!!!!! Tada

solid pollen
#

Our staff of over 50 dedicated expert Helpers

solid pollen
#

!role Helpers

royal lakeBOT
#
Helpers info
ID

267630620367257601

Colour (RGB)

#eecd36

Colour (HSV)

0.14 0.77 238

Member count

90

Position

27

Permission code

104189504

solid pollen
#

Bot?

#

90 lol

drifting sage
#

lol, big delay

solid pollen
brazen ingot
#

How did owners give helper roles? like if someone is helping from a long time will thy get?

solid pollen
#

A staff member can nominate users, and after some time we put the user into a vote, and we need at least 12 mods voting up and no one voting down

brazen ingot
#

https://pythondiscord.com/ see the first look of this web

mellow spire
#

you can't really right click

solid pollen
#

Oh the 100k banner

solid pollen
#

Well, that’s a special event that we hosted

solid pollen
brazen ingot
#

Oh cool 😄

mellow spire
#

even i voted at every vote

brazen ingot
mellow spire
#

secret channels

brazen ingot
#

oh cool how can you vote then?

mellow spire
#

🤷

brazen ingot
mellow spire
#

||every vote differs from person to person||

brazen ingot
#

Oh lol

solid pollen
#

Hello @grim stirrup, please don’t send random memes on the server

hidden pebble
#

New server icon.

brazen ingot
tiny raven
#

admins

#

more like salmon

#

am i right

viral parrot
#

sorry what?

mellow spire
viral parrot
#

ahh.. 😄

#

thats funny

mellow spire
#

thats the truth

#

stop hiding it, one of your other salmons broke it out

sand inlet
#

fun fact: in javascript, NaN ("not a number") actually isn't a number

#

but it also isn't not a number

#

and actually it is a number

graceful basin
#

the first one is weird, but the latter two also hold in python

twin charm
#

whaa?

sand inlet
#

if you do this instead then it is not a number

#

and it's a number

#

but actually it isn't not a number

#

and actually it's an object

edgy crest
graceful basin
#

yes

#

that is how JS works

#

you would probably see something similar with javas Float, though its type would be Float

sand inlet
#

also equality isn't transitive

edgy crest
sand inlet
#

javascript is weird

karmic atlas
#

I used to think java and javascript were related to one another

mellow spire
last mantle
#

Too many bees

edgy crest
#

they are cute

mild abyss
regal condor
#

if the admins are salmons, what are the mods?

topaz aurora
#

There's another off-topic name for that actually

twin charm
#

what are the helpers then

topaz aurora
#

I forgot

regal condor
mild abyss
edgy crest
#

seaweed

vapid nymph
#

@topaz aurora do you use lastpass?

topaz aurora
#

I got locked out immediately after registering so no

#

I do use Bitwarden though

#

Plus, I don't like LastPass's aggressive advertising campaigns

vapid nymph
#

you haven't heard the news then

topaz aurora
#

Much like I don't like NordVPN

topaz aurora
sand inlet
#

idk about the other helpers

vapid nymph
topaz aurora
#

Looks like I made the good choice ¯_(ツ)_/¯

mild abyss
#

lastpass is desperate lol

vapid nymph
#

thankfully bitwarden makes it easy to switch

mild abyss
#

be like bitwarden

#

so affordable

#

so free

vapid nymph
#

I'm on bitwarden now lmao

topaz aurora
#

I'm actually considering self-hosting my own Bitwarden instance once I get a powerful-enough server computer

#

or a VPS I can use

wanton nexus
#

I am forced into the desire to eat the admins now.

vapid nymph
#

and just from being on mobile for a little bit, its nicer than lastpass already

wanton nexus
#

There's nothing I like more than raw salmon.

topaz aurora
#

I could, yeah

wanton nexus
#

I am, after all, a cat.

sand inlet
topaz aurora
#

I've had this hypothesis before that most staff members likes cats

topaz aurora
#

I've yet to be proven wrong

twin charm
mild abyss
#

i like cats

#

so much i am willing to disown my mom

twin charm
#

wtf

mild abyss
#

cause she does not like cats

twin charm
edgy crest
#

i liked cats until i smelled their pee

quick ledge
sand inlet
#

i said "honey", not "Honey"

quick ledge
#

fair enough

#

use code PYDIS tho

brazen ingot
#

vivek it seems you're Indian?

quick ledge
#

yes I am :D

brazen ingot
#

Oh 😄

twin charm
#

obvi

brazen ingot
quick ledge
#

my username lmao

twin charm
#

it was vivek gurkan and now its just 'vivek'

twin charm
# brazen ingot how can you say?

idk it was my gut feeling, I got visited by god in my dreams and he told me the location of @quick ledge in my dreams and now I know