#ot1-perplexing-regexing

1 messages · Page 60 of 1

crystal spruce
#

yeah u can

#

just beat them 10 times in a row in chess

tulip falcon
#

Did u google it

young shoal
#

you probably don't need a persistent connection though, so just http is sufficient

quasi blaze
#

This was pure organic..and it doesn’t get added smh

eternal depot
#

If you get them declared mentally incapable of taking care of themselves

honest star
tulip falcon
young shoal
honest star
#

it would be a conservatorship

reef geyser
#

yep

eternal depot
glossy niche
#

#otn-dysfunctional-programming

tulip falcon
#

Marriage could be like adopting someone if they don't take care of themselves lemon_holding_back_tears

young shoal
honest star
#

only some states allow adult adoptions (getting adopted when you're an adult) but I believe most have age limits

glossy niche
#

#otn-blobject-oriented-programming

tulip falcon
#

printer-support-channel

honest star
#

Actually, a maybe-legal-case that's just emerged is a case where someone thought they were adopted but it turns out they were in a conservatorship. Quite a few crucial differences between adoption and a conservatorship

glossy niche
#

#otn-im-here-to-chew-gum-and-kick-ass

glossy niche
#

#otn-and-im-all-out-of-ass

honest star
young shoal
#

I saw the legal eagle video

eternal depot
#

#freebrittney

honest star
#

I consume a borderline unhealthy amount of legal analysis as background noise

tulip falcon
#

Asynchronous law degree

reef geyser
#

better to consume legal analysis than...
what, 24 hours of subway surfer content?

#

¯_(ツ)_/¯

crystal spruce
#

i mean you could do both at the same time surely

reef geyser
young shoal
glossy niche
#

my bg noise is to just let yotube auto play find me random crap

reef geyser
tulip falcon
ruby fox
#

Does asynchronous mean things happening at the same time?

honest star
glossy niche
reef geyser
young shoal
ruby fox
tulip falcon
reef geyser
#

not the public infrastructure!!! waah

honest star
ruby fox
glossy niche
#

i watched a lot of vids dunking on US public transit, fun stuff

reef geyser
young shoal
reef geyser
#

that's the funny part

#

if it isn't, you crashed your car in a different country because you didn't watch legal analysis for 2 minutes

#

you were that devestated

crystal spruce
#

imagine being divisible by 167

reef geyser
#

actually, funny you mention that

#

I was wikidiving on primes the other day because of another conversation going on

young shoal
reef geyser
#

9686 was the exact number I landed on when picking a prime to look at lol

crystal spruce
#

that's really weird

young shoal
#

9686 isn't prime pithink

glossy niche
eternal depot
reef geyser
#

not prime, sorry

crystal spruce
#

nah i prefer superior highly composite numbers over primes

reef geyser
#

a number with a prime factor

ruby fox
#

Semi primes 😮

reef geyser
#

be patient, I'm stupid @young shoal derp

eternal depot
#

All numbers have prime factors though

reef geyser
#

if you say it's 1, I'm going to merc you jah

eternal depot
reef geyser
#

1 ISN'T A PRIME NUMBER REEEE

quasi blaze
#

It’s a term in psychology

naive igloo
#

why is it not tho

#

it is divisble by itself

#

and is divisible by 1

glossy niche
#

a prime has 2 factors

#

1 has 1

#

thats the definition we use for prime

ruby fox
glossy niche
#

A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways of writing it as a product, 1 × 5 or 5 × 1, involve 5 itself. However, 4 is composite because it is a pr...

naive igloo
glossy niche
#

smh my head

reef geyser
young shoal
#

when are the quarter primes going to show up

ruby fox
#

😮

reef geyser
#

le GASP

#

DIME PRIMES

eternal depot
ruby fox
#

Crime times 😔

reef geyser
#

lime prime

#

there you go

glossy niche
#

cope rhymes

#

🥁

tulip falcon
young shoal
#

prime time crime 🤔

ruby fox
#

Orange 😏

glossy niche
eternal depot
#

Dime primetime

glossy niche
#

its funny it deserves to be pinned

crystal spruce
#

i prefer just defining primes in terms of commutative rings instead of the "only 2 numbers divide it" definition
feels more rooted in math

ruby fox
tulip falcon
#

What's so cool about primes

reef geyser
#

why do you think they show news at 11,
11 is prime
it's PRIME TIME

glossy niche
crystal spruce
#

and then the answer to "is 1 a prime" is just "no, it's a unit"

glossy niche
#

you can do a lotof meth with it

ruby fox
#

*math

glossy niche
eternal depot
reef geyser
#

No i don't

tardy rain
#

Proof?

ruby fox
#

Without primes there is no RSA encryption ¯_(ツ)_/¯

crystal spruce
quasi blaze
reef geyser
#

3.1415926
I'm no more precise than that

glossy niche
quasi blaze
uneven pine
#

0118999881999119725

#

|| 3 ||

eternal depot
glossy niche
young shoal
#

laugh track plays

eternal depot
ruby fox
#

Any want to eat some pi? 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679

reef geyser
#

aww, you put it in nice little slices too

eternal depot
#

A wall of pi

quasi blaze
crystal spruce
#

wanna eat some pi? 10

young shoal
#

only a byte

ruby fox
glossy niche
#

🥁

reef geyser
young shoal
glossy niche
#

nibble?

ruby fox
reef geyser
#

a mol of bits

#

that's a lot of bits

young shoal
#

a nibble is only half a byte though

ruby fox
#

Haha, how much is a bite 😏

glossy niche
tulip falcon
#

bite@latest

glossy niche
#

this video probably smells really good

tulip falcon
#

Ow

#

My tow

reef geyser
#

the tow

glossy niche
#

toww ow

quasi blaze
ruby fox
# glossy niche <:pithink:652247559909277706>

#TheCaretaker #Ambient #forgor
Support the artist, buy it here: https://thecaretaker.bandcamp.com/album/everywhere-at-the-end-of-time

If you have any problem, or question about this upload please write to me in this email: panagiotisbo@gmail.com

from "Everywhere at the end of time" album.
released September 22, 2016

▶ Play video
reef geyser
#

@tropic lichen come from the shadows

#

I know you're here

#

you gremlin

glossy niche
tropic lichen
#

nuh uh

glossy niche
#

good time

reef geyser
#

FYM NUH UH

glossy niche
#

yuh uh my friemd

reef geyser
reef geyser
#

why I oughta-

ruby fox
#

Nuhuhunuh

quasi blaze
young shoal
#

well yeah

quasi blaze
#

It’s like he wants me to get infracted

reef geyser
#

Are we seriously on this still?

ruby fox
#

Well they can only set them as the title

quasi blaze
#

I can’t respect that

ruby fox
reef geyser
#

Then don't. But stop bringing it up.

#

It happened, and it's not unhappening. Please talk about anything else.

glossy niche
tropic lichen
#

i mean, just cause we got pinged doesn't meant we're gonna actually do anything

glossy niche
#

ill get banned fr this time

eternal depot
#

Who put the joke in bjokey?

reef geyser
#

b did

young shoal
#

by

ruby fox
reef geyser
#

by

tropic lichen
#

the etymology of my username is a mystery

reef geyser
#

to you, even?

tropic lichen
#

even i don't know it

#

mhm

young shoal
#

a bjokery

reef geyser
#

a bjmystery

crystal spruce
#

did you wake up one day and your username was bjokey

glossy niche
#

bjoker

tropic lichen
#

apparently so

ruby fox
#

Batman joker 😳

crystal spruce
#

maybe your account got hacked

#

by bjokey

reef geyser
#

turns out bjokey is a cicada 3301 type mystery, and your nickname is the first clue

eternal depot
#

How do we even know bjokey is the real bjokey?

reef geyser
#

dude's been waiting for years for you to figure it out

glossy niche
#

got my name by losing a genshin impact bet and having ppl clown on my ass for 6 months

crystal spruce
#

imagine playing genshin

tropic lichen
#

if it is then its a damn good ARG, not even i can solve it 😔

glossy niche
#

i shower now i swear

ruby fox
#

Imagine

reef geyser
#

yeehawnt not my proudest years

glossy niche
#

i havent touched it in a yr

tropic lichen
#

the earliest usage of bjokey is a diddy kong racing DS save from circa 2008

reef geyser
#

The solution is simple

#

bjokey, do you happen to have a Delorean DMC-12 lying around

glossy niche
reef geyser
#

WAIT A MINUTE

glossy niche
crystal spruce
young shoal
#

bjokey is actually his shadow's name

#

it's just fully integrated now

crystal spruce
#

damn he's got the 100% shadow

ruby fox
reef geyser
#

bjokey is the name of a greater demon confirmed

rough sapphire
#

daily reminder to

solemn tulip
#

whodunnit

reef geyser
crystal spruce
reef geyser
#

I can live with this

young shoal
#

source?

reef geyser
#

sorry, I only got sauce left

glossy niche
#

xingqiu my beloevd

crystal spruce
#

who's xingqiu

reef geyser
#

my sauce is strong, thank you very much

#

isn't xingqiu that one water guy in liyue

tropic lichen
#

a saucy sauce

ruby fox
#

Saurcy sauce

glossy niche
glossy niche
naive igloo
#

why are you all sending images

glossy niche
#

i just poisted a picture of him

naive igloo
#

they dont load for me 😭

crystal spruce
#

that like

reef geyser
#

yeah, just had to check if the genshin lore was still in my head or not
since it is, it seems the electroshock therapy did not work

crystal spruce
#

barely looks like xingqiu

glossy niche
#

its him wdym

crystal spruce
#

i would've guessed ryo from bocchi first if u gave me that pic

naive igloo
glossy niche
#

youre imagining things

reef geyser
#

delusional

rough sapphire
ruby fox
crystal spruce
glossy niche
#

its the same person

rough sapphire
#

assembly is too easy, i want a challenge, like fighting the borrow checker

#

because i forgot a singular <'_>

glossy niche
#

stop destroying my attempts to gaslight ppl smh

naive igloo
ruby fox
#

Maybe it's easy

ruby fox
naive igloo
ruby fox
#

0

rough sapphire
#

represent your programming language using group theory

ruby fox
glossy niche
#

.uwuify represent your programming language using group theory

median domeBOT
#

wepwesent youw p-pwogwamming wanguage u-using g-gwoup theowy

ruby fox
#

.catify .uwuify represent your programming language using group theory

median domeBOT
#

.uwuify represent your programming language ᓚᘏᗢ using group theory

rough sapphire
ruby fox
naive igloo
ruby fox
naive igloo
#

||bin_ = lambda s: ''.join([*map(lambda c: bin(ord(c))[2:], s)])||

rough sapphire
#

what does that do

#
''.join(map(lambda c: bin(ord(c))[2:], s))

also this should work

naive igloo
naive igloo
rough sapphire
#

it does

#
>>> bin_ = lambda s: ''.join(map(lambda c: bin(ord(c))[2:], s))
>>> bin_("ok")
'11011111101011'
>>> 
kindred orbit
#

i wish i can read bin n dec

rough sapphire
#

fr

naive igloo
#

oh

kindred orbit
#

i wish i learned by heart ascii table

ruby fox
#

!e

import numpy as np
print("".join(np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8))))
rough sapphire
#

nice

#

beautiful and idiomatic numpy

royal lakeBOT
#

@ruby fox :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     print("".join(np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8))))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: sequence item 0: expected str instance, numpy.uint8 found
ruby fox
#

!e

import numpy as np
print((np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8))))
royal lakeBOT
#

@ruby fox :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | [0 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1
002 |  1 1 1]
ruby fox
#

Ig i need to learn more lol

rough sapphire
#
''.join(map(str, np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8))))
quasi blaze
#

I can’t wait to reunite with my elementary school classmates again. We’re doing a bigger reunion.

kindred orbit
#

whats elementary school

ruby fox
rough sapphire
#

idk if there's a numpy function that converts everything to another type but let's do some research

#
>>> k = lambda b:np.array_str(np.unpackbits(np.frombuffer(b,dtype=np.uint8)))
>>> k(b"hi")
'[0 1 1 0 1 0 0 0 0 1 1 0 1 0 0 1]'
>>> 
#

and then ????

ruby fox
#

🤔

#

!e

import numpy as np
print(str(np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8))))
royal lakeBOT
#

@ruby fox :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | [0 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1
002 |  1 1 1]
rough sapphire
#

i think np.array_str is in C

ruby fox
#

Oh then it's the fastest ig

#

!e

import numpy as np
print(str(np.unpackbits(np.frombuffer(b'Hello',dtype=np.uint8)))[1:-1:2])
royal lakeBOT
#

@ruby fox :white_check_mark: Your 3.11 eval job has completed with return code 0.

0100100001100101011011000110110001101   
ruby fox
#

Got it

rough sapphire
royal lakeBOT
#

numpy/core/arrayprint.py line 524

def _array2string(a, options, separator=' ', prefix=""):```
rough sapphire
#

it should be

ruby fox
#

??

low chasm
#

I need to convince my mom that msg isn't evil 😔 I've been managing by sticking instant dashi powder into stuff

quasi blaze
#

My humour is far more open minded than a lot of people here because I don’t get offended easily

young shoal
#

that doesn't make it better 💀

tulip falcon
#

I feel weird

#

Dunno how to describe

quasi blaze
low chasm
#

humor is pretty subjective, what's the original point here pithink

tulip falcon
#

Feel disillusioned again

young shoal
quasi blaze
#

You believe stand up comedy shows will be as funny if comedians worried about if they’re jokes are “inappropriate” and “offensive”?

young shoal
#

not this again 💀

tulip falcon
#

Like I feel like I don't even care about what's being discussed anywhere

#

But just for now, while I feel weird

solemn tulip
#

inappropriate can often be the point of jokes, straddling the edges of what's acceptable pithink

quasi blaze
young shoal
#

not this again again 😩

solemn tulip
#

again

tulip falcon
#

Bleh

quasi blaze
#

But anyway

#

I pray the easily offended don’t ever walk into a stand up comedy show

tulip falcon
#

Yup

#

They hang out in coffee shops in uptown or some shit

quasi blaze
tulip falcon
#

Just worrying about yourself is hard enough

quasi blaze
#

I remember listening to a SIRIUS XM radio station and they were talking about a lady who emailed their company about them feeling offended listening to their radio station

young shoal
quasi blaze
#

People heckle stand up comedy shows because they felt offended

tulip falcon
#

Fuck that conversation a minute ago that made me feel bad sort of sitting sorely on my tongue

tulip falcon
young shoal
quasi blaze
tulip falcon
#

Heckling or uh just having some sort of a fit?

#

Everything in life is a balance, push too hard and fall back

#

Give and take

#

Be too offensive and say okay let's tone it down

#

Be offensive right on that line if u wanna be relevant

#

Or not, not necessarily needed

#

I hope these many talks in here are getting through to you in bits and pieces

young shoal
#

I doubt it

tardy rain
#

And the people have spoken

young shoal
#

so true

grave cove
#

wise man mar

young shoal
#

old man mar

tardy rain
#

With age comes wisdom

meager sphinx
young shoal
#

with age comes age bro

solemn tulip
#

mar man 🧜‍♂️

tardy rain
#

Thats why im so old at such young age

grave cove
#

also hardness of hearing apparently

solemn tulip
tardy rain
#

👂❌🤷

quasi blaze
meager sphinx
quasi blaze
#

We have to read the crowd

young shoal
#

why don't you read the crowd then

quasi blaze
#

And from the looks of it…

quasi blaze
grave cove
#

source?

meager sphinx
#

if they are open minded, they wouldnt get offended

young shoal
quasi blaze
meager sphinx
young shoal
tardy rain
#

I guess I'll leave it 🤷

young shoal
#

aww hell nah they bubbled all the buttons on bitwarden's website

quasi blaze
young shoal
#

how can that count as reading the crowd

#

the crowd wants answers

tardy rain
#

I think its pretty self evident you dont read the crowd keezy

#

You could say its...

#

Axiomatic

quasi blaze
young shoal
quasi blaze
young shoal
quasi blaze
meager sphinx
quasi blaze
#

I think you have a misunderstanding of what an ad hominem attack is

meager sphinx
young shoal
#

disrespect can totally be construed as an attack

tardy rain
#

We are part of the crowd

#

The crowd demands an explanation for the bad jokes

#

If you could call them jokes i guess

young shoal
#

alleged jokes

meager sphinx
#

like, it was a blatant comment (which is disrespcting, sure), but they did not attack you is what i saw

young shoal
#

to insult

meager sphinx
young shoal
#

an insult is a direct attack on the mental psyche of the target

vale raven
#

Think that definition should be updated

#

What does that even mean here?

glossy niche
#

i should do this

meager sphinx
#

i mean yeah
but like, in this case , it didnt feel like they meant to attack you lol

like
you made bad jokes, give me an explanation -> i didnt -> proof says otherwise -> idc

yeah ,idk if that qualifies as attack

young shoal
meager sphinx
tardy rain
#

If you were a bug type you'd be strong against dark damage

glossy niche
#

me or the old keezer

tardy rain
#

psv

#

Lmaoooo

glossy niche
#

whats a psv

tardy rain
#

iykyk

glossy niche
#

OH

#

psv is pisstatic void

#

took me a short amount of time to figure it out

young shoal
#

:riase

#

i don't get it

solemn tulip
#

||pisstake|| void

young shoal
#

😭

#

also my C code i segfaulting 😔 what else is new

solemn tulip
#

why did you pick C?

glossy niche
#

they are coming

#

i can hear their legs

#

mr krabs clacking against the floor

young shoal
glossy niche
#

ure still in uni? pithink

#

i assumed you were like

#

old

#

||i need to stop being rude to ppl pithink ||

young shoal
#

why does everyone think i'm old :despair:

solemn tulip
#

C++ 😔

glossy niche
#

you have white hair

#

c;ear;y

#

old

young shoal
#

😔

#

i've been trying to learn C++ but there's so much stuff to learn

#

not just C++ but in general 😔

glossy niche
grave cove
#

my ears

quasi blaze
#

I had a dream one time where I was in a 100 vs 100 paintball match and the map were underground tunnels that led to a mansion. Both teams on either side.

#

It was really cool. The team that was in the tunnels had to rush up to the mansion

glossy niche
#

ik that feeling

#

you wake up and ur first thought is:

#

"i should make a game about that"

spice storm
#

can sm1 please solve question 1?

#

oh hi yonik

glossy niche
#

classic tiktok plaigirising an entire BBC documentary

glossy niche
spice storm
#

the first part

glossy niche
#

¯_(ツ)_/¯

#

idk

#

maybe cause its comparing length

#

its unclear

#

and i cant help you further cause i have a personal policy against helping people with homework cause i had way too many people asking me to do so in uni

#

oh, your from KSA? pithink

spice storm
#

its not hw lol

glossy niche
#

oh

#

study material?

spice storm
glossy niche
#

ohhhh i see

spice storm
#

i wrote the code to the 2nd part

#

but the first one dosent make sense

spice storm
#

if 7 and 6 are there:
so:
v1:7
v2:6
if v1 < v2 = 7 < 6 so this is false, so it should output that the first val is larger

#

either program is wrong or question

#

or

#

im sleepy

glossy niche
#

maybe its reading left to right

#

so its comparing 60 to 700

spice storm
#

u mean right to left*

#

english is already read left to right

spice storm
#

anyway

#

even if it were the number of digits

#

its 007

#

and 06

glossy niche
#

L2R

#
0 0 7
0 6
spice storm
#

yep

glossy niche
#

read from left to right

spice storm
#

and r2l gets 700 and 60

#

i am

glossy niche
#

that might be it

spice storm
#

thats 7 and 6 isnt it

#

0 0 7

#

left > right

glossy niche
#

oh wait nvm

#

am stupid

spice storm
#

bro

#

so

#

how do i figure this out

glossy niche
#

maybe its lexicographical comparison

spice storm
#

whts that

glossy niche
#

!e

'007' < '06'
#

whoops

spice storm
#

what if

glossy niche
#

!e

print('007' < '06')
royal lakeBOT
#

@glossy niche :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
spice storm
#

hmmmmmmmmmmmmmm

glossy niche
#

its comparing them as strings and not numbers

spice storm
#

sumn sus here

#

sure got it

#

now,

#

how does this work

#

length of string or like what

#

or i mean how is "007" smaller

glossy niche
#

like this

#

first one with a larger value is considered larger

#

in here, we sort strings lexicographically

#

the larger string has I in it

spice storm
#

Q3.1)

The program does not specify if the inputs are integers, so the variables Value1 and Value2 here are strings instead. Now when the strings are compared, they are compared using the lexicographical sequence. And so lexicographically, '007' is smaller than '06'

Q3.2)

OUTPUT "Enter value 1: "
INPUT Value1
OUTPUT "Enter value 2: "
INPUT Value2
IF Value1 < Value2 THEN
  OUTPUT "Value 2 is larger"
ELSE
  IF Value2 < Value1 THEN
    OUTPUT "Value 1 is larger"
  ELSE
    OUTPUT "Both numbers are equal"
  ENDIF
ENDIF
quasi blaze
#

Hmm. I should study dictionaries.

glossy niche
#

the python one or the book thing

quasi blaze
grave cove
tulip falcon
#

Like if you say background-color:red in css

quasi blaze
grave cove
#

Working with raw dicts just aint it

quasi blaze
grave cove
#

Why not add some abstractions yourself?

#

Unless it's just a quick and dirty script. i don't bother with those

quasi blaze
grave cove
#

fair enough. Though it's too easy to end up writing spaghetti code with that mindset

rough sapphire
#

bruh

#

you can swap elements in a list?

#

nvm i got clickbaited

tardy rain
#

Was mildly curious, i shouldnt have looked

#

Why do people do this

rough sapphire
#

what is this sir

tardy rain
#

Its the DeepDiff class from the module above

#

And its many many many kwargs

young shoal
#

🗿

#

bro why is a logger a param 😭

rough sapphire
#

:(

azure widget
#

someone help 💀

rough sapphire
azure widget
#

nope

rough sapphire
#

do you actually need help? im sorry the skull emoji is throwing me off lol

azure widget
#

yes i do, I have been stuck on this for 15 minutes

#

😄

rough sapphire
#

so this is to check if the candidate is NOT from the US or canada

#

but needs the score 75

azure widget
#

yesss

rough sapphire
#

if location not in ("US", "Canada")

azure widget
#

like this>?

rough sapphire
#

yes

azure widget
rough sapphire
#

wtf

#

it is adjusted

azure widget
#

I think we have to add an operator?

rough sapphire
#

😭

#

im so dumb

azure widget
#

:>

rough sapphire
#

if (location == "US" or location == "Canada")

azure widget
#

correct

#

:d

#

is it possible to be more simpler?

rough sapphire
#

if location in ("US", "Canada")

azure widget
low chasm
#

can't hide from us :p

rough sapphire
azure widget
#

I have to practice more

#

forsure

rough sapphire
#

yes

azure widget
#

im still a beginner

rough sapphire
#

same :(

#

im hungry as rn

azure widget
#

bro same

rough sapphire
#

i kinda want eggs and green onions

azure widget
#

I dont care what I eat, I just want to eat.

rough sapphire
#

lol

azure widget
#

how do I do this : The assessment_score should at least be 75.

azure widget
#

shouldnt that work?

rough sapphire
#

(assessment_score >= 75)

#

try to put it in ()

azure widget
#

nope

rough sapphire
#

wtf

#

bruh

#

you added

#

and extra )

#

in the first if statement

azure widget
#

it still works 😄

rough sapphire
#

you have ("US", "Canada"))

azure widget
#

i just deleted it

#

but it worked for the last exercise

rough sapphire
#

wym??

azure widget
#

this is like homework

#

and this is an exam, it has different parts

rough sapphire
#

;-;

quasi blaze
#

I’m really not sure about this idea of going on some work retreat (i think that’s what they call it)

warped sentinel
quasi blaze
warped sentinel
quasi blaze
#

So this means I need to maintain a certain etiquette that I wouldn’t have if I was with my elementary school friends for example

solid elbow
#

sure, of course

warped sentinel
#

You should maintain a certain etiquette regardless of the levels

young shoal
#

this is why you can't be segregating the lunch tables 😔

solid elbow
#

you're also cultivating different kinds of relationships. You don't need your boss's boss to be someone you want to invite over for barbecues, you just want them to be someone who thinks you're smart, capable, and trustworthy

warped sentinel
#

and not a 12years old kid who communicates like on a discord server

solemn tulip
young shoal
#

ridiculous

solemn tulip
#

something something testability

#

I had to rewrite a decent chunk of code to do that recently

#

of course not to that degree, but still

#

just so I could sensibly mock the things

warped sentinel
#

are you testing your logger?

young shoal
#

different logging config ?

solemn tulip
#

ok, I did not do it with a logger

solemn tulip
#

or if you actually care about log statements some kind of mock

warped sentinel
solemn tulip
#

how is it a compiler problem?

warped sentinel
#

I have other languages in mind, but I would assume that a compiler could see a noop implementation and optimize that away

#

There are already some tricky parts at play like making sure you don't allocate unnecessary strings when calling a logger.trace in the case the log level is configured higher than that

#

but as usual, the devil is in the details

solemn tulip
#

the point is to be able to abstract some component away

#

if component C uses some other component X that has logic/side effects I really don't want to exercise in the test, the ability of swapping out component X out is invaluable

warped sentinel
#

yeah DI is great in general

tulip falcon
#

I played Djangos today

#

Goodnight pydis

solemn tulip
#

for my thing what I really wanted to abstract away was quite expensive calls to backends

#

because expensive and making the tests non-hermetic

warped sentinel
#

A good DI framework can be invaluable

solemn tulip
#

(and I suspect our testing stuff wouldn't allow such calls regardless)

warped sentinel
#

like injecting a list of components that match an interface or some other cool things

solemn tulip
#

it's a blessing and a curse

#

on one hand, convenient

#

on the other hand, figuring out where a component comes from can be hell

warped sentinel
#

some folks prefer static DI. I do prefer runtime DI though

solemn tulip
#

I have nightmares about dagger and the like

warped sentinel
#

spring ftw

solemn tulip
#

though at least dagger doesn't do reflection nonsense

#

and then we have C++ where some code I have to deal with does purely manual DI

young shoal
#

asp net DI is goated

solemn tulip
young shoal
#

manual DI sounds....interesting

#

though i guess i have written code that does that in rust 🤔

solemn tulip
#

manual DI is just...plumbing arguments

#

dealing with merge conflicts from people adding arguments which causes the huge argument list to be reformatted is extra fun

#

especially when there are a lot of people touching that code at any given time

young shoal
#

MVCC when?

solemn tulip
#

(at least the one >1k line function we had got broken up to be a tad more sane, but still very not sane)

young shoal
#

bruh

solemn tulip
#

the function was basically "business logic goes here" 😅

young shoal
#

😭

solemn tulip
#

it was from before my time, I just arrived early enough to observe it

young shoal
#

at least it's all in one place 🤔

solemn tulip
#

except the stuff that wasn't

#

there was still a bunch of calling out to other code, so reading that function wasn't really enough to know exactly what was going on

young shoal
#

was it like a main loop type of situation

solemn tulip
#

the main flow of something

#

though not a loop

#

the flow of one request

young shoal
#

every path?

warped sentinel
solemn tulip
#

oh some of it is bundled together

#

like one huge config

warped sentinel
#

if there is a huge list of orthogonal arguments can also be a sign that this class is doing too much

solemn tulip
#

things get ugly very quickly

warped sentinel
#

It shouldn't

#

that would be a sign it's doing too much

#

SRP ftw

solemn tulip
#

the responsibility is "respond to this request" 🥴

warped sentinel
#

like any other controller

solemn tulip
#

I think the current state of things is a few hundred lines of flow control (if this flag is set, do this processing step)

warped sentinel
#

That's why there are service classes

#

the controller coordinate the interaction with the endpoint while the service deals with the business concerns

#

That promotes reusability and testability

solemn tulip
#

the interaction with the endpoint meaning what?

#

io?

warped sentinel
#

basically

solemn tulip
#

that's already separate

warped sentinel
#

the model for the endpoint

solemn tulip
#

this is one big function that transforms a request into a response

warped sentinel
#

that's my point: it shouldn't. there should be service classes to help encapsulate the business logic

solemn tulip
#

and in the process calls out to a lot of stuff that can do processing, depending on configs

solemn tulip
#

if it was this function would probably be 10s of thousands of lines

#

just the flow handling itself makes up most of the mess of that function

warped sentinel
#

to that end, the controller's methods should be rather small

solemn tulip
#

so as said, this thing itself doesn't do io at all

#

that's further out

#

this is (I guess) a big blob of service logic

#

I guess it's actually split into stages, like some preprocess stage, doing a heavy call to something else, and then postprocessing

#

but even just the postprocessing is this kind of long mess

#

(and at some point all these stages were in the same function, that was the even more terrible initial state I mentioned)

#

the sad part is that I actually have memorized the rough shapes of that monster of code 🥴

#

"oh you want this piece of filtering going on in the postprocessing? yeah just deep dive into these branches"

young shoal
#

😔

warped sentinel
#

sooooo still a sign it should be broken apart

#

kill that thing with fire

solemn tulip
#

which is not likely going to happen with 100s of engineers poking at the code 😭

warped sentinel
#

That has never been a problem for me

#

or other folks in my network ¯_(ツ)_/¯

open fern
#

sometimes writing a helper function goes a long way in cleaning up code 🌺

quasi blaze
#

These new otn’s aren’t even funny…

grave cove
low chasm
vale raven
grave cove
vale raven
#

It changes week-to-week

#

You of all people should know how that is

#

I don’t

grave cove
#

based

vale raven
#

I apparently had my name changing privileges revoked

rough sapphire
#

haha

low chasm
#

discord moment

#

just updated

grave cove
#

what

quasi blaze
# vale raven Yours went away?

Apparently, otn’s are created “organically” not sure why the hell it would matter how otn’s are created, A good otn is a good otn. The end product should matter and I thought that would be obvious. Otn’s are chosen by nepotism it seems.

low chasm
grave cove
#

ah

#

Couldn't agree more

low chasm
#

it's also like, not that deep

grave cove
low chasm
#

that's also sort of the appeal of starboards and similar things

grave cove
#

also the names don't mean much to most people and they won't find it funny. IMO it's more for the people that were involved in that convo

quasi blaze
low chasm
#

in this context, is what robin means.

grave cove
young shoal
low chasm
#

right whatever, close enough

low chasm
young shoal
#

but there's always context for things

low chasm
#

the point here is, there's no rule we use for adding otn's, nor is there some objective measure of "funny" that we go by to decide on them.

eternal depot
#

All of my otns have happened orgasmically

quasi blaze
grave cove
#

I'm not sure what you're saying

quasi blaze
grave cove
eternal depot
grave cove
#

We usually do it when there's a conversation happening and someone says something absurd or funny, and we take it out of context and put it in an OTN

low chasm
grave cove
#

also like aboo said it's not that deep

#

we see something funny we make it an otn. Pretty much it

eternal depot
#

That's why Robin's code is in so many OTNs

grave cove
#

so true

young shoal
#

jah the one PR you made was completely broken and didn't even try to accomplish the goal

grave cove
#

you did not have to do him like that 😭

quasi blaze
eternal depot
#

My brain must have been on vacation too

young shoal
#

bro it had syntax errors 😭

low chasm
#

tfw linting before you push

eternal depot
#

Blame Tennessee

#

They don't have decent internet

low chasm
#

in this case it was more of a "actually running the code before you push"

eternal depot
#

Also, we didn't have a testing infra then... (And still don't?)

low chasm
#

for mainframe? we do now, I suppose

quasi blaze
young shoal
#

🤔

#

i feel like you're trying too hard

quasi blaze
#

Who cares

young shoal
#

it makes it not a good otn

quasi blaze
#

The outcome should matter

#

No music listener cares about how a song is made. The end product is the goal.

young shoal
#

the analogy doesn't work

eternal depot
young shoal
#

or only the chorus

quasi blaze
young shoal
#

i know what the point is, your analogy was just not great

quasi blaze
#

They don’t care if the producer used FL Studio, Logic Pro, Pro Tools, what studio microphone they used and etc

young shoal
#

of course not, all otns are made on discord, so why would that matter

quasi blaze
#

Doesn’t matter if I’m trying hard

#

Or not

young shoal
#

yeah but you kinda miss the point of otns in general

quasi blaze
young shoal
#

pithink who said it doesn't

quasi blaze
young shoal
#

more things matter than the end product 😌

eternal depot
quasi blaze
eternal depot
#

I.e. cause and effect.

grave cove
young shoal
#

or, another way of looking at it is, the context is part of the end product

#

the otn must summarize something funny that happened

quasi blaze
#

If one orders well done meat, they want the end product to be well done meat.

low chasm
#

@crystal spruce hi I require a formal definition of that which is the "otn"

grave cove
#

what if it's not halal

eternal depot
young shoal
quasi blaze
low chasm
grave cove
quasi blaze
#

End products should matter the most for everything in life

grave cove
#

It always does

young shoal
#

i've got a great way to solve world hunger for you 😛

eternal depot
quasi blaze
grave cove
#

It being "organic" is part of the end product

young shoal
#

i mean come on, organic is better for you

eternal depot
#

All OTNs must be carbon based.

You heard it here first.

grave cove
#

carbon based or just based?

soft violet
#

Silicon, please.

young shoal
#

based? on carbon

soft violet
low chasm
#

no GMO's in my otn's 😤

solid elbow
#

we don't usually want OTNs that are someone trying to come up with a funny OTN - we want OTNs where someone said something that someone else found funny enough to be worth immortalizing as an OTN

young shoal
eternal depot
#

Soylent OTNs are people too

grave cove
#

The history of his a certain OTN came to be is important. It's part of the OTN, the end product

low chasm
young shoal
#

GMOs are based

#

most of the time

low chasm
#

fine then, I want organic and non GMO but only the bad ones otn's

young shoal
#

only the good ones

low chasm
#

yeah that's what it means

#

all GMO's save from the bad ones

#

or well, non GMO but only the bad ones is non GMOing the bad ones

grave cove
#

non gmo otn

eternal depot
#

Also Aboo you probably would prefer free range over organic. Organic has too many loopholes. It's mostly just a label to justify higher prices

quasi blaze
#

There I thought this was funny

young shoal
#

that probably already is one

quasi blaze
#

Please create that as an otn

young shoal
#

free range is interesting but also kinda expensive

solid elbow
grave cove
#

what about paid range

solid elbow
#

the joke was that you could solve world hunger by killing all people

eternal depot
low chasm
#

free, but you need to pay taxes on it-range

young shoal
#

literally 💀

grave cove
#

sad

young shoal
grave cove
#

me when the free range is not free

#

false advertising

eternal depot
grave cove
#

Why is it less ethical farther away?

#

Not a clean kill?

young shoal
#

harder, yeah

eternal depot
quasi blaze
#

…are you kidding me?

#

Where has the name of ot1 been referenced on this server?

young shoal
#

it could be in a channel you can't see

grave cove
#

It's in a staff channel

young shoal
#

source?

undone thorn
#

mods naming the channels after a bunch of inside jokes lol

quasi blaze
grave cove
#

it is pretty funny though

#

i mean, if your goal is to cram hotdogs into a stomach and not to make moralistic judgements about hotdog eating, then the blender assistant funnel system sounds pretty effective

quasi blaze
#

No point of trying to come up with otn names anymore

undone thorn
#

wha- how did you come to that conclusion

undone thorn
#

nepotism?

grave cove
eternal depot
#

Can we rename ot1 ke1?

grave cove
#

didn't catch who it was

undone thorn
#

keezys-free-speech-zone

solid elbow
#

Scofflaw: i mean, if your goal is to cram hotdogs into a stomach and not to make moralistic judgements about hotdog eating, then the blender assistant funnel system sounds pretty effective

#

apparently that was where this OTN came from - it was in a staff channel 🙂

young shoal
#

ah, scofflaw, of course

grave cove
#

of course

low chasm
#

scofflaw vibes

young shoal
#

one must imagine scofflaw a hotdog consumer

eternal depot
grave cove
#

🤨

young shoal
#

what's a beer bong 🤔

eternal depot
quasi blaze
#

Humour is too subjective

young shoal
#

is bong a generic term

quasi blaze
#

Nobody should be gatekeeping what’s funny and what’s not like I have seen people do

low chasm
quasi blaze
#

My humour can be different from everybody elses

#

I like dark humour

young shoal
#

pithink it's inherently being gatekept thoughpithink. mods control the otn system

quasi blaze
#

But people are too sensitive for dark jokes

solid elbow
young shoal
#

i too am a dark humor enjoyer

#

there's a time and place 😌

eternal depot
grave cove
quasi blaze
young shoal
#

you should make a funny persona that also happens to adhere to the code of conduct

grave cove
solid elbow
grave cove
#

Stickie on his way to write a mathematical theorem for defining funny objectively

crystal spruce
#

can't be bothered

#

just write a regex for it

quasi blaze
crystal spruce
#

keezy i think you're trying too hard

grave cove
grave cove
#

😔

young shoal
#

huh i thought you did aoc

grave cove
#

never stuck with it

young shoal
#
crystal spruce
#

just read the re docs

#

that's how i learnt regex

young shoal
#

cringe

young shoal
#

i think if you really wanted to make that into an otn, you would do funny-theorem

grave cove
#

even that's not that funny

young shoal
#

because the double meaning

quasi blaze
#

I’ve given up

#

Nepotism is undefeated

grave cove
#

I don't think that's really nepotism

honest star
#

Just be funnier

young shoal
#

always with the blaming others 😔

grave cove
#

truly some advice

young shoal
#

first with the job apps, now this

quasi blaze
young shoal
#

i did not, i said the otn system was

quasi blaze
young shoal
#

yeah, it's not based on nepotism though

#

i mean, it probably is to some degree, but not really

quasi blaze
#

Maybe I should stop seeking approval of others

rugged owl
grave cove
#

Be funny for the sake of being funny, to make people laugh

young shoal
#

so true

#

the goal is not the otn

#

omg it's like that law where if you start measuring metrics everything breaks or osmething

rugged owl
#

otn?

grave cove
#

quantum superposition i think

young shoal
#

off topic name

quasi blaze
rugged owl
#

oh

young shoal
grave cove
#

Where a particle can be in multiple states, but collapses into one state if you try to measure it. is that what you meant?

rugged owl
young shoal
#

that sounds about right

honest star
grave cove
#

nvm then

honest star
#

Ah, Goodhart's law

quasi blaze
green pelican
#

I'm way to high for this

crystal spruce
#

lmao

honest star
#

"when a measure becomes a target, it ceases to be a good measure"

quasi blaze
young shoal
#

you might even call it...an axiom

#

i mean, not in the mathematical definition, but

crystal spruce
#

there's a definition for axiom outside of the mathematical one?

young shoal
#

whatever one keezy was using

quasi blaze
#

I think I will look more into The Dark Triad

grave cove
#

what's that

quasi blaze
green pelican
#

Joe

grave cove
crystal spruce
#

i mean just studying them is fine i think

young shoal
#

but why

#

get a hobby

green pelican
#

Says a programmer

#

Haha

grave cove
#

I hear fresh air is good for your health