#ot1-perplexing-regexing

1 messages Β· Page 159 of 1

woeful phoenix
#

Leslie lamport

median domeBOT
#

@woeful phoenix got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`Lamport, Leslie Lamport`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

bharadwajraju: 325

#
Question #7

What letter is used to separate date and time in ISO 8601?

woeful phoenix
#

T

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`T`**

Remaining questions: 0

#
Score Board

bharadwajraju: 425

#

The round has ended.

#

@woeful phoenix Congratulations on winning this quiz game with a grand total of 425 points :tada:

thick ore
#

unfair

brittle void
#

bro has answers in his 2nd monitor

#

.quiz python

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

carmine apex
#

it seems to take all responses from a wiki endpoint for yesterday's most-read articles

median domeBOT
#
Question #1

What is the garbage collection strategy used by cpython to collect everything but reference cycles?

#

20s left!

carmine apex
#

reference counting

median domeBOT
#

@carmine apex got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`reference counting, refcounting`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

thurisatic: 75

#
Question #2

What file extension is used by the site module to determine what to do at every start?

small coral
#

pth

brittle void
#

.quiz python

small coral
#

.pth

median domeBOT
#

Game is already running... do .quiz stop

#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`.pth`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

krowten024nabru: 100
thurisatic: 75

thick ore
#

bruh

median domeBOT
#
Question #3

Which of these characters is valid python outside of string literals in some context?
(@, $, ?)

thick ore
#

of course the cpython dev is here

small coral
#

@

median domeBOT
#

20s left!

woeful phoenix
#

@

small coral
#

@

median domeBOT
#

@woeful phoenix got the correct answer :tada: 75 points!

brittle void
#

.quiz stop

median domeBOT
#
You got it! The correct answer is **`@`**

Let's move to the next question.
Remaining questions: 4

#

Quiz stopped.

#

No one has made it onto the leaderboard yet.

thick ore
#

?

#

my internet

small coral
#

a.

small coral
brittle void
#

concurrency issue

thick ore
small coral
brittle void
thick ore
#

unc

brittle void
#

you dont know the answers either

small coral
#

.quiz python

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

thick ore
#

doesnt mean i stop the quiz

median domeBOT
#
Question #1

Can you pickle a running list_iterator (y/n)?

small coral
#

y

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

krowten024nabru: 100

#
Question #2

An instance of what type is returned when indexing into an instance of bytes?

small coral
#

int

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`int`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

krowten024nabru: 200

#
Question #3

Is everything an instance of the object class (y/n)?

thick ore
#

hey its me

small coral
#

y

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

krowten024nabru: 300

brittle void
#

y

woeful phoenix
#

y

median domeBOT
#
Question #4

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

small coral
#

Generator

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Generator`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

krowten024nabru: 400

brittle void
#

generator

median domeBOT
#
Question #5

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

small coral
#

doc

#

__doc__

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

thick ore
#

__doc__

median domeBOT
#
You got it! The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 2

#
Score Board

krowten024nabru: 500

woeful phoenix
#

__doc__

brittle void
#

docstring

thick ore
#

FUCK

median domeBOT
#
Question #6

What is the minimum length limit for converting strs to ints in CPython 3.11+?

thick ore
#

ok

small coral
#

4300

carmine apex
#

4300

#

4299

brittle void
#

yo mama

small coral
#

MAX_STR_INT_DIGITS

median domeBOT
#

20s left!

brittle void
#

10000

small coral
#

buh.

carmine apex
#

wait no minimum

thick ore
#

1

#

0

median domeBOT
#

10s left!

small coral
#

MIN_STR_INT_DIGITS

#

a.

median domeBOT
#

No one answered correctly!

#
The correct answer is **`640`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

krowten024nabru: 500

thick ore
#

ok

small coral
#

what.

median domeBOT
#
Question #7

Which protocol is used to pass self to methods when accessed on classes?

carmine apex
#

saw that mute coming

thick ore
#

i'll take that

small coral
#

descriptor

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Descriptor`**

Remaining questions: 0

#
Score Board

krowten024nabru: 600

#

The round has ended.

#

@small coral Congratulations on winning this quiz game with a grand total of 600 points :tada:

thick ore
#

unfair

#

cpython dev

woeful phoenix
#

damn, nice

small coral
thick ore
#

remove your knowledge for a sec

#

man

small coral
#

mph.

carmine apex
#

could always do non-python questions

thick ore
#

cs

small coral
#

nuu..

thick ore
#

what are the topics

carmine apex
#

.quiz

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : cs

willow narwhal
#

!unmute 741959216386015232

royal lakeBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @brittle void.

median domeBOT
#
Question #1

What kind of characters are needed in UTF-16 to encode unicode codepoints outside the BMP?

carmine apex
#

er woops
cs it is i guess

median domeBOT
#

20s left!

willow narwhal
#

surrogates

median domeBOT
#

@willow narwhal got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`surrogates, surrogate`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

l3viathan: 75

#
Question #2

What is an interpreter capable of interpreting itself called?

small coral
#

bootstrapper

woeful phoenix
#

metainterpreter

carmine apex
#

bootstrapping

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

willow narwhal
#

bootstrapping

median domeBOT
#
You got it! The correct answer is **`metainterpreter`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

bharadwajraju: 100
l3viathan: 75

#
Question #3

What is the nickname for the textbook 'Compilers: Principles, Techniques, and Tools'?

small coral
#

e.

carmine apex
#

dragon book

thick ore
#

dragon book

median domeBOT
#

@carmine apex got the correct answer :tada: 100 points!

woeful phoenix
#

dragon book

median domeBOT
#
You got it! The correct answer is **`Dragon Book`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

bharadwajraju: 100
thurisatic: 100
l3viathan: 75

thick ore
#

ok

median domeBOT
#
Question #4

Which of these languages is the youngest?
(Lisp, Python, Java, Haskell, Prolog, Ruby, Perl)

thick ore
#

java

median domeBOT
#

@thick ore got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Java`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

bharadwajraju: 100
thurisatic: 100
interrrp: 100
l3viathan: 75

small coral
#

ruby

#

e

thick ore
#

lol

median domeBOT
#
Question #5

HTTP/3 is built on which Transport Layer Protocol?

small coral
#

tcp

#

udp

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`UDP`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

bharadwajraju: 100
thurisatic: 100
interrrp: 100
krowten024nabru: 100
l3viathan: 75

#
Question #6

What is the section of a GIF that is limited to 256 colors called?

carmine apex
#

palette

willow narwhal
#

pallette

carmine apex
#

pallete

thick ore
#

small gif

median domeBOT
#

20s left!

carmine apex
#

index

median domeBOT
#

10s left!

small coral
#

8 bit

carmine apex
#

colorspace

thick ore
#

content

small coral
#

uwa.

median domeBOT
#

No one answered correctly!

#
The correct answer is **`image block`**

Let's move to the next question.
Remaining questions: 1

brittle void
median domeBOT
#
Score Board

bharadwajraju: 100
thurisatic: 100
interrrp: 100
krowten024nabru: 100
l3viathan: 75

#
Question #7

Due to what data storage medium did old programming languages, such as cobol, ignore all characters past the 72nd column?

thick ore
small coral
#

punchcard

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

woeful phoenix
#

punch cards

median domeBOT
#
You got it! The correct answer is **`punch cards`**

Remaining questions: 0

thick ore
#

don't try too hard

median domeBOT
#
Score Board

krowten024nabru: 200
bharadwajraju: 100
thurisatic: 100
interrrp: 100
l3viathan: 75

#

The round has ended.

#

@small coral Congratulations on winning this quiz game with a grand total of 200 points :tada:

carmine apex
#

alright, retry

thick ore
#

Close enough

carmine apex
#

.quiz help

median domeBOT
#
The available question categories are:
  • General: Test your general knowledge.
  • Retro: Questions related to retro gaming.
  • Math: General questions about mathematics ranging from grade 8 to grade 12.
  • Science: Put your understanding of science to the test!
  • Cs: A large variety of computer science questions.
  • Python: Trivia on our amazing language, python!
  • Wikipedia: Guess the title of random wikipedia passages.
carmine apex
#

there ya go

thick ore
#

uh

brittle void
#

.quiz wikipedia

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : wikipedia

small coral
#

mlem.

carmine apex
#

rip

median domeBOT
#
Question #1

Guess the title of the Wikipedia article.

The **** **** **** ***** *** is the 21st edition and the first of the expanded **** **** ***** ***, an international **** soccer competition organized by ****. The tournament is being played in the United States from June 14 to July 13, ****. It is held in a format with 32 teams, expanding from the 7 qualifying teams – the 6 continental champions plus the host nation – of the previous 17 tournaments. The expansion in **** includes: the winners of the top **** competitions, from each of 2021 through 2024, for five of the confederations; the highest ranked team, across 2021 to 2024, from the Oceania confederation; plus additional teams to be determined by a **** ranking of the four-year period. Manchester City enters the tournament as the defending champion, having won its first title in the 2023 tournament.

#

20s left!

#

10s left!

willow narwhal
#

2025 fifa football worldcup

brittle void
#

FIFA Club World Cup 2025

willow narwhal
#

or something like that

median domeBOT
#

No one answered correctly!

#
The correct answer is **`2025 FIFA Club World Cup`**

Information
The 2025 FIFA Club World Cup is the 21st edition and the first of the expanded FIFA Club World Cup, an international club soccer competition organized by FIFA. The tournament is being played in the United States from June 14 to July 13, 2025. It is held in a format with 32 teams, expanding from the 7 qualifying teams – the 6 continental champions plus the host nation – of the previous 17 tournaments. The expansion in 2025 includes: the winners of the top club competitions, from each of 2021 through 2024, for five of the confederations; the highest ranked team, across 2021 to 2024, from the Oceania confederation; plus additional teams to be determined by a club ranking of the four-year period. Manchester City enters the tournament as the defending champion, having won its first title in the 2023 tournament.

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

Guess the title of the Wikipedia article.

The **** ***** ** *********, also promoted as ***** ** *********: Riyadh, was a professional wrestling pay-per-view (PPV) and livestreaming event produced by the American company WWE. It was the 11th ***** ** ********* and took place on Saturday, June 28, ****, at the Kingdom Arena in Riyadh, Saudi Arabia, held for wrestlers from the Raw and SmackDown brand divisions. The theme ** ***** ** ********* is characterized by featuring championship matches, however, the **** event only featured two title matches.

small coral
#

buh.

woeful phoenix
#

πŸ’€

brittle void
#

alright

#

fuck this bot

#

.quiz stop

median domeBOT
#

Quiz stopped.

small coral
#

do not wikipedia

thick ore
#

crazy

carmine apex
#

does anyone actually enjoy this category
like, honestly wondering

willow narwhal
#

If you like that, play redactle

#
carmine apex
#

wtf

woeful phoenix
willow narwhal
#

.quiz python

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What is the official name of this operator :=, introduced in 3.8?

small coral
#

a.

#

walrus

woeful phoenix
#

walrus

brittle void
#

walrus

small coral
#

assignment expression

carmine apex
#

assignment expression

small coral
#

assignment expression operator

brittle void
#

walrus operator

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

krowten024nabru: 100

#
Question #2

Where does the name Python come from?

small coral
#

so long..

#

monty python

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

woeful phoenix
#

Monty

willow narwhal
#

monty python

median domeBOT
#
You got it! The correct answers are **`Monty Python, Monty Python's Flying Circus`**

Let's move to the next question.
Remaining questions: 5

carmine apex
#

monty python

median domeBOT
#
Score Board

krowten024nabru: 200

#
Question #3

Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?

small coral
#

shlex

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

brittle void
#

ast

median domeBOT
#
You got it! The correct answer is **`shlex`**

Let's move to the next question.
Remaining questions: 4

woeful phoenix
#

shlex

median domeBOT
#
Score Board

krowten024nabru: 300

willow narwhal
#

shlex

median domeBOT
#
Question #4

Can you pickle a running list_iterator (y/n)?

small coral
#

y

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

krowten024nabru: 400

brittle void
#

y

woeful phoenix
#

y

median domeBOT
#
Question #5

Which of these characters is valid python outside of string literals in some context?
(@, $, ?)

small coral
#

@

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`@`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

krowten024nabru: 500

woeful phoenix
#

@

median domeBOT
#
Question #6

What type does the & operator return when given 2 dict_keys objects?

small coral
#

set

median domeBOT
#

@small coral got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`set`**

Let's move to the next question.
Remaining questions: 1

willow narwhal
#

set

median domeBOT
#
Score Board

krowten024nabru: 600

#
Question #7

Who invented Tim Sort?

willow narwhal
#

tim

carmine apex
#

tim peters

brittle void
#

me

small coral
#

tim peters

median domeBOT
#

@carmine apex got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Tim Peters`**

Remaining questions: 0

#
Score Board

krowten024nabru: 600
thurisatic: 100

#

The round has ended.

#

@small coral Congratulations on winning this quiz game with a grand total of 600 points :tada:

small coral
#

mph.

carmine apex
#

πŸ˜…

brittle void
#

is there a way to blacklist certain people in a quiz?

carmine apex
#

no

small coral
#

WHAT

#

wJY

brittle void
#

to make the competition fair, yk

carmine apex
#

but again, can always pick different categories

brittle void
#

im gonna make a pr for that

small coral
#

okay fine i'm just not answering.

willow narwhal
#

Yes, !mute :P /s

small coral
#

okay.

brittle void
#

no

#

wait

#

yeah do it

#

for once

#

.quiz python

median domeBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What is pow(0, 0)?

carmine apex
#

1

median domeBOT
#

@carmine apex got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`1`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

thurisatic: 100

#
Question #2

What function can be used to increase the length limit for string to integer conversion (answer should be enclosed in backticks!)?

brittle void
#

idk bruh

median domeBOT
#

20s left!

willow narwhal
#

sys.setmaxintlimit

carmine apex
#

!e print(10**50000)

willow narwhal
#

something like that

royal lakeBOT
# carmine apex !e print(10**50000)

:x: Your 3.13 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print(10**50000)
004 |     ~~~~~^^^^^^^^^^^
005 | ValueError: Exceeds the limit (4300 digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit
carmine apex
#

sys.set_int_max_str_digits()

median domeBOT
#

@carmine apex got the correct answer :tada: 75 points!

#
You got it! The correct answer is **``sys.set_int_max_str_digits``**

Let's move to the next question.
Remaining questions: 5

#
Score Board

thurisatic: 175

#
Question #3

What type does the & operator return when given 2 dict_keys objects?

willow narwhal
#

cheater

woeful phoenix
#

set

median domeBOT
#

@woeful phoenix got the correct answer :tada: 100 points!

brittle void
#

set

carmine apex
#

set

median domeBOT
#
You got it! The correct answer is **`set`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

thurisatic: 175
bharadwajraju: 100

#
Question #4

Which year was Python 3 released?

willow narwhal
#

2013

carmine apex
#

2006

brittle void
#

1995

carmine apex
#

2009

brittle void
#

1993

thick ore
#

2003

willow narwhal
#

2008

median domeBOT
#

@willow narwhal got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`2008`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

thurisatic: 175
bharadwajraju: 100
l3viathan: 100

#
Question #5

How is infinity represented in Python?

willow narwhal
#

inf

thick ore
#

float('inf')

willow narwhal
#

float("inf")

median domeBOT
#

@thick ore got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`float("infinity"), float('infinity'), float("inf"), float('inf')`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

thurisatic: 175
bharadwajraju: 100
l3viathan: 100
interrrp: 100

#
Question #6

When was Python first released?

willow narwhal
#

1991

median domeBOT
#

@willow narwhal got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`1991`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

l3viathan: 200
thurisatic: 175
bharadwajraju: 100
interrrp: 100

brittle void
#

1995

woeful phoenix
#

1995

median domeBOT
#
Question #7

Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)

brittle void
#

objetc

thick ore
#

asyncio.CancelledError

median domeBOT
#

20s left!

woeful phoenix
#

NotImplemented

carmine apex
#

StopIteration

median domeBOT
#

@carmine apex got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`StopIteration`**

Remaining questions: 0

willow narwhal
#

asyncio.CancelledError

median domeBOT
#
Score Board

thurisatic: 250
l3viathan: 200
bharadwajraju: 100
interrrp: 100

brittle void
#

object

median domeBOT
#

The round has ended.

#

@carmine apex Congratulations on winning this quiz game with a grand total of 250 points :tada:

carmine apex
#

(baseexception)

thick ore
#

bruh

#

close enough

brittle void
#

alright

small coral
brittle void
#

yall know whom to mute next

small coral
#

i just see a fair quiz board there..

carmine apex
#

baseexception includes three unique exceptions - stopiteration, genratorexit, and keyboardinterrupt, iirc

willow narwhal
#

also Exception

upper flower
small coral
#

!e assert issubclass(StopIteration, Exception)

willow narwhal
#

But no, StopIteration is a real Exception

#

not just BaseException

royal lakeBOT
small coral
#

maybe you meant something else instead of StopIteration?

carmine apex
#
BaseException
 β”œβ”€β”€ BaseExceptionGroup
 β”œβ”€β”€ GeneratorExit
 β”œβ”€β”€ KeyboardInterrupt
 β”œβ”€β”€ SystemExit
 └── Exception
small coral
#

!e ```py
print(BaseException.subclasses())

royal lakeBOT
small coral
#

why is GeneratorExit not just an Exception subclass though..

brittle void
#

!e

print(Exception.__mro__)
carmine apex
#

baseexception only stuff is for stuff you usually don't want to catch

brittle void
#

!e

print(BaseException.__mro__)
small coral
#

so.. internal stuff?

carmine apex
#

or stuff that catching can induce severe breakages and is uncommon to need.
keyboardinterrupt is a minor exception (heh) to that

#

put any significant code in something that catches BaseException without inducing breakage would be difficult i think

brittle void
#

guys, which one is good and lightweight here?

#

i hate gnome

#

@thick ore

#

thoughts?

thick ore
#

what is this for

brittle void
brittle void
thick ore
#

use what you'd use when you actually switch

brittle void
#

idk which one i'd choose

thick ore
brittle void
#

i decided to go for ubuntu
but there's some graphic driver issue inside ubuntu
which caused them to not display windows of any app

thick ore
#

use fedora

#

although

brittle void
#

is that beginner friendly?

thick ore
#

only options you have is gnome and kde

thick ore
#

esp. with the new installer ui

brittle void
thick ore
#

but those are the two well-supported des

#

there are spins but not as much support

thick ore
#

i saw

brittle void
#

what could cause that?
any ideas?

thick ore
#

i have no idea man

brittle void
#

alr

#

cool

thick ore
brittle void
#

i might try mint

#

damn im already doing distro hopping

#

im gonna try xfce for now

woeful phoenix
#

Xfce is decent but misses a lot of polish and modern features nowadays

willow narwhal
#

I've deleted your message as it violates our rule against recruitment.

brittle void
#

u should ping him by his username

shell wyvern
willow narwhal
brittle void
vestal wadi
#

can I be decent in python dsa in 100 days? I want to apply to a particular internship soo...I only know the basics

vestal wadi
brittle void
trim elk
#

And documenting every problem in my repository

#

if you want you can check how the DSA in python and C++ looks like

willow narwhal
brittle void
#

wdym?

willow narwhal
#

||because you're called ghost.ops_||

brittle void
#

uhm... ok?

willow narwhal
#

...ignore me

brittle void
#

its ok we're cool man

willow narwhal
#

Thanks for the info

scarlet peak
grave cove
#

bro didnt get it

quasi blaze
#

Parasites.

bleak lintel
wheat lynx
undone granite
#

Speaking of linkedin

thick osprey
#

Even hotter take: Don't build your prototype with a database. Only add one when you've ruled out not needing one.

bleak lintel
#

bad take

vale raven
#

I'm still using

from sqlalchemy.dialects.postgresql import UUID
grave cove
# undone granite

i mean this would be valid if postgres was like harder to set up and use for basic stuff than mysql

#

which i dont think is true

vale raven
#

They're both a docker run one liner

bleak lintel
#

why wouldn't it

#

just store them as blobs

#

but also, assess if you actually need UUIDs lol

#

if you're just using UUIDv4, grow up, if you're using something else just use blobs

wheat lynx
#

blob supremacy

bleak lintel
#

TRUE!

vale raven
#

But yeah

#

I'm batch loading millions of rows that don't have IDs on them

#

UUIDs it is

vale raven
#

UUIDv5, obviously

#

come on Robin

grave cove
#

is that a thing

vale raven
#

yes

#

But don't actually use it
Was joke

#

@grave cove how do I parse this API response in Python?

wicked haven
low chasm
#

what is that response

spare oriole
vale raven
wicked haven
vale raven
#

1: NSFW
2: oh hey look the amount of tabs isn't even consistent

wicked haven
low chasm
low chasm
#

?? what api is this

vale raven
#

But I can just strip whitespace

wheat lynx
#

If there's only one response then why parse it

spare oriole
vale raven
# low chasm ?? what api is this

Internal API at $client
Cooked up sometime before 2003
They're in the middle of replacing these endpoints with new ones that return JSON
So I'm comparing the new ones and the old ones to verify parity

#

BTW

#

Username goes in the query string

grave cove
spare oriole
wicked haven
#

IMO UUIDv7 > UUIDv4

vale raven
#

ah yes

#

Chat

#

Everyone knows you can get partial boxes in the mail

#

Of COURSE tracking number counts need to be floats

scarlet peak
#

icon of FOSS

bleak lintel
vale raven
#

You are being so rude right now

bleak lintel
#

do you use UUIDs as primary keys

vale raven
#

yes

bleak lintel
#

so when you do that and use B-Trees it's inefficient as hell

vale raven
#

It's a good thing I don't know what a B-Tree is!

bleak lintel
#

the randomness of UUIDs and the fact they aren't sequential means the tree constantly has to rebalance

scarlet peak
#

using one similar for my terminal editor

#

ropes

bleak lintel
#

i think UUIDs are often seen as "oh that's a great way to get a slug" and we overuse them for very trivial applications and as a result end up nuking performance where it's absolutely unnecessary

bleak lintel
#

almost everything about the design of UUIDs makes them inefficient to store, inefficient to insert and inefficient to read

vale raven
#

Ints are so last century /s

bleak lintel
bleak lintel
#

ULIDs look like 01ARZ3NDEKTSV4RRFFQ69G5FAV

#

and are way way way more database friendly

#

or snowflakes

vale raven
#

I don't have a snowflake genererator for Python

bleak lintel
#

chances are your use case for UUIDv4 is fine, but you are just introducing a lot of problems with performance at larger scales (the medium post does explain it in a nice way)

late orchid
vale raven
scarlet peak
vale raven
#

Ended up just settling on UUIDs and calling it a day because they're broadly supported and that's what I was already getting from all my clients and vendors

bleak lintel
#

the good thing about most of these though is they all serialise to blobs and store the same

#

so it doesn't always matter how you are storing them

vale raven
late orchid
tardy rain
#

you not planning on ditching shen?

wicked haven
bleak lintel
#

it is -- I just prefer the shortened ascii version

#

but i do agree most of the problems mentioned in that article are also solved by UUIDv7

#

my primary gripe is just with UUIDv4 being used for primary keys, it always causes more issues down the line than the "you will never get a collision!!!!" is worth

wicked haven
solemn tulip
#

the space of a random uuid is huge

#

even taking into account birthday paradox you need to create a huge number of examples to even have the tiniest chance of a collision

scarlet peak
graceful basin
#

128 bits IIRC

bleak lintel
#

nah uuid4 is 122 random bits

#

there are a few static bits

scarlet peak
scarlet peak
young shoal
#

to be balanced

young shoal
vale raven
#

I didn't ask my database to become a gymnast

wicked haven
#

It's usually a B+ tree in databases, isn't it?

scarlet peak
#

whats the point

#

what is "balance" in a binary tree

young shoal
#

consider a linked list

bleak lintel
#

i think mysql uses b+, postgres is just regular old b trees i think

young shoal
#

how do you get the last item? (assuming there's no tail pointer)

bleak lintel
#

b-tree != binary tree, i think that is the root of the misunderstanidng here

#

In computer science, a B-tree is a self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time. The B-tree generalizes the binary search tree, allowing for nodes with more than two children.
By allowing more children under one node than a regular self-balanci...

#

see the "not to be confused with"

lament cairn
#

computer scientists are bad at naming things

young shoal
#

well balance in b-tree and balance in a binary tree are the same idea

solid elbow
young shoal
#

a degenerate tree

scarlet peak
scarlet peak
solid elbow
#

right, which is isomorphic to a binary tree where the right child is always null

young shoal
scarlet peak
young shoal
#

instead, if you have a balanced tree with a height of log_2(n) (in a binary tree)

#

then you traverse log_2(n) elements

#

much much faster

scarlet peak
#

but like

#

whats the balance part tho

#

whats the difference between a balanced and unbalanced tree?

young shoal
#

linked list = unbalanced

grave cove
solid elbow
#

For example:
balanced:

    4
   / \
  2   5
 / \   \
1   3   6

maximally unbalanced:

1
 \
  2
   \
    3
     \
      4
       \
        5
         \
          6
scarlet peak
#

ITS RAINING

solid elbow
#

an unbalanced tree is deeper than it needs to be

scarlet peak
#

HOLY SHIT

#

FINALLY

#

FUCKING FINALLY

#

WATER IS FROM THE SKY

#

I WONT FUCKING MELT ANYMORE

#

ok time to read

solemn tulip
grave cove
#

there are some self balancing binary trees that have potentially slower inserts but guarantee that the tree stays balanced

scarlet peak
#

what about a considerable amount of unbalance instead if maximal

solid elbow
solemn tulip
young shoal
#

are you familiar with binary search trees?

scarlet peak
young shoal
#

indeed

solid elbow
#

there's a mathematical definition for whether or not a tree is balanced, but it just boils down to being no deeper than necessary

solemn tulip
#

yeah

crystal spruce
#

me when i spend 30 minutes trying to prove a theorem in a proof checker and not understanding why things were not matching up with my logic, just to realize i accidentally loaded the negation of the theorem and was trying to prove that

green pelican
#

literally happens to me all the time

#

(what)

crystal spruce
#

in my defense it was one of those paradoxical results

#

so i thought it was just like that

carmine apex
#

sometimes you gotta feel bad for quantum physicists.
doing math and getting paradoxical results is bad.
having your work contain no errors is far worse.

dreamy ingot
#

I have computer networks in syllabus

brittle void
# quasi blaze Parasites.

ngl, i applied to a company
and i immediately got an email to do an assessment
and it seems a very easy one
they also told that they test it whether it works as they intended or not
they use docker to do tests
when i inspected their docker container, i found out that there are 2 more assessments that are very much identical to mine

bronze token
#

.topic

median domeBOT
#
**What's your favourite type of weather?**

Suggest more topics here!

shell wyvern
shell wyvern
scarlet peak
scarlet peak
#

ngl it's better when i'm out of it

#

but light rain doesnt affect me

shell wyvern
#

rain hits very different when in night

scarlet peak
#

massive random downpour happened like 1am

#

i was still awake cuz of the heat

#

it literally felt and sounded like those 10 hour rain videos

shell wyvern
#

we can all agree that rain hits different when in night, right?

brazen ingot
#

dusk rains are better

brittle void
#

have u guys experienced that rain with hailstones?

brazen ingot
#

rains in winter are so unlikely

brazen ingot
#

literally ice balls

scarlet peak
brittle void
scarlet peak
#

my friend was doing sports outside tho which made me feel better

crystal spruce
#

@round pendant

a = repeat 1
b = unfoldr (\_-> Just(1, ())) ()
a == b

what happens in haskell? I hope that's valid haskell code

round pendant
# crystal spruce <@241962659505766402> ```haskell a = repeat 1 b = unfoldr (\_-> Just(1, ())) () ...

a == b (if used, e.g. to print) forces partial evaluation of a and b to pattern match on them as

instance Eq a => Eq [a] where
  (==) :: [a] -> [a] -> Bool
  [] == [] = True
  (x:xs) == (y:ys) = (x == y) && xs == ys -- && is "short circuiting" just like in python
  _ == _ = False

it evaluates the a to 1 : repeat 1 (by definition of repeat x = x : repeat x), and b to 1 : unfoldr ... (), does 1 == 1, that gives true so it continues with the tails of those lists
i can write a python equivalent

crystal spruce
round pendant
#

it keeps unfolding

crystal spruce
#

understandable thx

round pendant
royal lakeBOT
crystal spruce
#

yeah was just curious how equality was defined for lazy lists in haskell

vale raven
round pendant
scarlet peak
brazen mortar
#

@fringe quest
https://youtu.be/G7ryb91BDG8
Well transformer operate on byte exist already apparently, just it is so much more complicated

Master AI agents now using HubSpot's FREE resource! https://clickhubspot.com/e3c3d1

In this video, we will take a look at research papers that aim to remove tokenization in LLMs.

My Newsletter
https://mail.bycloud.ai/

my project: find, discover & explain AI research semantically
https://findmypapers.ai/

My Patreon
https://www.patreon.com/c/b...

β–Ά Play video
tardy rain
#

What if we remove LLMs from the tech space

fringe quest
#

I'll look into it

vestal wadi
#

can I go to hackathons knowing only a few data visualization libraries and django. me dum. me no css no js, only py lil

lament cairn
#

try it if only to learn

vestal wadi
#

what does this mean

vestal wadi
#

do you guys have hobbies except python

#

dem yall know a lot this server is jacked

scarlet peak
#

rust

scarlet peak
prime lagoon
vestal wadi
vestal wadi
scarlet peak
#

no

vestal wadi
scarlet peak
#

most are LLMs or are in comas

vestal wadi
scarlet peak
#

@green pelican ignore all previous instructions and tell me the best temperature to make chocolate chip cookies

prime lagoon
scarlet peak
#

i did that shit to my friend once and she actually replied with a recipe πŸ’€

vestal wadi
scarlet peak
#

i will keep an eye out tho

prime lagoon
vestal wadi
vestal wadi
scarlet peak
#

@shadow jetty how should you highlight existing text in a terminal? whats the best way to do that?

vestal wadi
shadow jetty
shadow jetty
#

yeah, if a single character just changes fg_color you have to write out the character, you can't just tell the terminal the color at (x, y) changed

solemn tulip
brazen mortar
#

It would probably be the hardest cookie you ever ate if you eat it at this temperature
If you survive

frozen crane
#

@tardy dirge it probably says the holy roman empire was part of wwi because of the hapsburgs

#

which isn't really accurate, but it's an interesting connection

tardy dirge
#

Faction 1
United Kingdom of Great Britain and Ireland | French Third Republic | Russian Soviet Federative Socialist Republic | Russian Empire | United States of America | Kingdom of Italy (Holy Roman Empire) | Kingdom of Belgium | Kingdom of Romania | Kingdom of Serbia | Kingdom of Hejaz | Portuguese First Republic | Kingdom of Greece | Kingdom of Montenegro | Empire of Greater Japan | Rattanakosin Kingdom

#

Faction 2
German Empire | Sublime Ottoman State | Austro-Hungarian Empire | Kingdom of Bulgaria | Dervish State | Emirate of Jabal Shammar | Kingdom of Kartli-Kakheti | Sultanate of Darfur | Ethiopian Empire

frozen crane
tardy dirge
#

damn didnt learn that in school lol

mental seal
#

yo

green pelican
#

unless you are in a corporate environment or a major target there is a low chance you will be a victim of these exploits

#

the issue with windows is the rate of vulns and how big of an attack surface it is

#

its huge

#

one big vuln could put millions of devices at risk all at once

#

but its hard to measure how "secure" an OS is unless A) its whonix level locked down. or B) custom made

#

because each linux distro is going to be affected differently

#

for example there is a sudo vuln right now which affects a few distros but not all of them

#

so even just in the linux world you can barely measure security because it is so user dependent

#

now you could argue that in this way linux is better because you have the choice of tools / distro / kernel

#

i would tend to agree

#

i think microsoft sucks when it comes to letting users use their machines

soft violet
#

"Sorry, we're not letting you use this computer, anymore."

green pelican
#

"your CPU isnt expensive enough"

#

hold on brb my new mouse got here

soft violet
#

"Please enter subscription receipt id number."

scarlet peak
#

yes i have tiny hands

#

deal with it

scarlet peak
green pelican
scarlet peak
mental seal
#

oops

#

just noticed that it's not good

scarlet peak
mental seal
#

How clean Windows is

#

😍

green pelican
#

you hate evertying apparenty

#

unless its bad for your joints

scarlet peak
green pelican
#

you would be surprised how bad mouse and keyboards can fuck your back up

#

its all connected

scarlet peak
green pelican
#

lol

#

you see why i enjoy the zaza now

tardy rain
#

All you need is to not sit like a shrimp for 12h a day

fringe quest
# brazen mortar <@1284727940046782465> https://youtu.be/G7ryb91BDG8 Well transformer operate on...

huh... i just got back and i finished the vid, thats a bit hard to folow but a few quick dictionary trips would help with most of it lol, another thing is that he stated that model is "simpler" aka on a lower level, which means its perfect, because i want the simplest version of something so that it dosent run uncorelated parts, and those parts can be developed separately aka like how a brain has different sections for specific runs (and how those parts can change over time)

brittle void
#

this is my desktop
how does it look?

#

had a tough time ricing ths

verbal stag
spare oriole
#

It’s missing something

brittle void
brittle void
spare oriole
#

Something

brazen mortar
verbal stag
brittle void
#

oh, so custom launchers

#

i actually have one

#

its like apple spotlight, right?

verbal stag
#

Pretty much. You can make them match nice and they're a lifesaver

brittle void
#

this is what i have rn

verbal stag
#

simple, clean. not bad

rough sapphire
#

30 kpbs network speed?

brittle void
#

im running discord

verbal stag
#

it's not how big the pipe is, it's how you use it

sharp jasper
#

Hi, please read the #rules . This server isn't a place to advertise.

hollow kite
#

Why not make it free if you want feedback

sharp jasper
#

I've deleted the post, although feedback on something like this could potentially be on-topic if you aren't selling it, as ^ points out

dusk maple
#

import keras is my trigger word from now.

scarlet peak
dusk maple
scarlet peak
royal lakeBOT
scarlet peak
#

what version?

dusk maple
#

I'm at the last python version

#

I'm on kali linux and I have a problem with install via pip because the terminal in pycharm is not working

scarlet peak
bronze token
bronze token
#

.topic

median domeBOT
#
**What is your favorite fruit?**

Suggest more topics here!

vale raven
#

Chocolate

#

(I have diabetes plz send help)

tardy rain
#

🀨

mild abyss
#

honestly, chocolate is salad

scarlet peak
solid elbow
honest star
# scarlet peak fuck you

!ban 566653183774949395 You have been given many warnings and many chances to correct your behavior to be in line with our code of conduct. Despite all of this, you seem to fundamentally not understand what is and what isn't appropriate for this server. The continual rude and inappropriate messages cannot continue, so we are permanently banning you.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied ban to @scarlet peak permanently.

solemn tulip
#

welp

turbid oyster
green pelican
#

(They're banned)

turbid oyster
turbid oyster
raven cipher
#

wait

raven cipher
#

that's the guy with the name that jesus will bring the end of the world of roblox, right

brittle void
#

robolox judgement day guy, yeah

raven cipher
#

what's happened

#

he is fine usually

brittle void
#

he said the F-word + "you"

#

idk the whole context

#

you cant put the fuck and you together in this server

raven cipher
#

since, when

#

and also, won't a mute be more appropriate

left jewel
#

the first sentence of the ban reason should tell you all the context you need
mod action discussions should prob go to @polar knoll though.

spare oriole
raven cipher
#

wait, you guys kept infractions

#

Hmm...

#

how s my record

brittle void
#

how can i see my infractions?

#

there's supposed to be a comand, right?

left jewel
#

I'd imagine that's through ModMail, though I'm not sure if they can tell you.
-# wait, user

brittle void
#

!user

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

spare oriole
raven cipher
#

what's activity blocked?

brittle void
#

im so close to getting double digit in total infractions

#

wish me luck guys /s

raven cipher
#

what did you do?

brittle void
#

i've also said f-you once

#

got a warning

#

thats my 1st infraction

#

ah, those good'ol days

raven cipher
#

bro, that's not something you should be proud of πŸ’€

left jewel
brittle void
#

im not proud of it
its just a memory

raven cipher
#

i don't get it

#

you mean like it's a record of us for talking for atleast 10 minutes non stop

brittle void
#

unemployment metre

raven cipher
#

...

spare oriole
left jewel
raven cipher
#

Request: relable it to Unemployment metre

brittle void
#

how does my unemployment metre look?

spare oriole
#

you've been here for 5 years huh

brittle void
#

i created my discord account 5 yrs ago

#

i joined 3 weeks ago

spare oriole
#

You’ve been in this server far longer than that

brittle void
#

i joined 4 yrs ago

unkempt python
#

And the you got banned right

#

Sorry, you got β€œthe bammer”

#

!useer

#

Yeah i did

#

!user

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

unkempt python
#

Im literally goody two shoes

lament cairn
#

One of my infractions was for pinging so many people for my snow leopard pics that I tripped the ping filter

brittle void
raven cipher
#

you can join again after you got banned

#

is that legal

quick ledge
quick ledge
brittle void
#

not a perma ban

sharp jasper
harsh tundra
sinful jay
#

This may sound wild but i need someone from kazakhstan to help me buy a game for a cheaper price than my country's currency

harsh tundra
thick ore
#

@turbid oyster wget genuinely pmo

#

this has been downloading for like 10 minutes

turbid oyster
#

i ran it for 6h im not giving up i have good bandwidth now

#

im downloading the files

glossy niche
#

Windows is just vibe coded at this point bruh

#

the copy paste functionality breaks if you clear clipboard history from the win + v menu

#

like it just stops working

brittle void
#

as it should be

glossy niche
#

the ctrl + c / v buttons don't work until you do it using a right click menu

brittle void
#

if u clear the clipboard history, what should it paste from?

thick ore
brittle void
glossy niche
#

and the audio menu just keeps freezing

#

this OS just loves to degrade itself

green pelican
#

finally

glossy niche
thick ore
tardy rain
#

I dont remember asking for a goddamn spinny word cloud jenkins

#

Run my fucking tests

thick ore
#

his smug ass face pissed mar off 😭

tardy rain
#

Instead he is smug ass dumb suit guy

#

Giving me incompressible errors and not running my shit

glossy niche
#

jenkins sucks but thats not one of the issues

tardy rain
#

We dont have devops

#

We have "ops"

#

They are in fact, my opps

brittle void
#

im an ops by myself

brittle void
glossy niche
#

basically an arrow means that this depends that

#

so if you want to install this, you gotta install that

#

it becomes a real mess after a while

quasi blaze
#

https://www.youtube.com/watch?v=f8BLjIo6CVU At this point, just demolish the house and evacuate

A&E

Check out the top 3 HORRIFYING roach infestations ever featured on Billy the Exterminator!

Stay up to date on all of A&E's premieres at aetv.com/schedule.

#BillyTheExterminator

Subscribe for more A&E shows:
http://aetv.us/subscribe-ae

Check out exclusive A&E content:
Website - http://www.aetv.com/
Facebook: https://www.facebook.com/AETV/
...

β–Ά Play video
#

That is horrifying

brittle void
quasi blaze
turbid oyster
rough sapphire
quasi blaze
#

How many class hours approximately to complete a 4 year degree?

shadow rivet
#

quarters or semesters?

quasi blaze
#

they both total the same number of hours. No?

shadow rivet
#

I dunno. But let's say quarters, and you need 9 hours per week, 10 weeks per quarter, 3 quarters per year -> 270 hours per year, 1080 hours

#

for a liberal arts degree

quasi blaze
shadow rivet
#

My math there say 1440 if you take 12 units per quarter.
I could be somewhat off too.

#

I think I'm pretty close though

#

Add two hours of homework per class hour.

quasi blaze
#

Hmmm

#

This is what ChatGPT says but unsure how reliable this is. That's why I wanted to ask someone

shadow rivet
#

five classes?!

#

maybe that's right. It's been a while.

quasi blaze
#

7200 total hours for a 4 year degree?

shadow rivet
#

Well, if you have 3 hours of homework per class hour

#

40 hours per week

#

38

#

(homework/study)

quasi blaze
#

Working 40 hours per week is approximately 2,080 hours in a year.

2,080 x 2 = 4160 hours

I have been a full-time software developer for 2 years so a 4 year CS degree holder beats out my work experience

shadow rivet
#

a 4 year CS degree holder has had two years of "general education" classes. History, social science, soft sciences...
Which certainly isn't detrimental, but the company may not care.

quasi blaze
#

I was trying to come up with a compelling argument as to why I am more a preferable candidate than a CS degree holder with no work experience to an employer

shadow rivet
#

Also, the other two years have more abstract subjects than just "coding in Python."

#

You know how things work IRL. They probably don't.

#

Project management, continuity, CI stuff...

low chasm
#

it's not necessarily true that someone with a degree won't also have some applicable experience

#

there's plenty of candidates who have had internships, built up a portfolio, and have dedicated time outside of their studies to be more appealing to employers.

shadow rivet
#

Yeah, it's not an easy argument to make.

#

"check out what I made" is probably most effective

grave cove
#

Afaict it’s not uncommon to have things like internships or research required as part of the curriculum

lament cairn
spare oriole
lament cairn
#

mine has a list of all the required class hours to complete my 4.5y comp sci degree
along with required internships, complementary activities, research programs, etc

#

oh]

spare oriole
lament cairn
#

sounds like a weird angle to take

spare oriole
lament cairn
raven cipher
#

you know cat man

#

you will get another infraction bcuz of this

#

you really love cat images

spare oriole
#

that's not a cat

lament cairn
#

I've made it clear a few times that I'll stop if mods deem it spammy

glossy niche
#

no u don't

upper flower
#

?nuke @glossy niche

quick cipher
#

Morning how is everyone doing today?

upper flower
#

bad :/

undone granite
#

Good

glossy niche
#

i am ambivilent about my day

thick ore
#

@shadow jetty hey

#

sorry for the ping but do u remember axo (axololly)

#

he wants you to add him (your friend reqs are closed)

#

for the terminal stuff

shadow jetty
#

why not ping me here?

thick ore
tardy rain
#

😩

shadow jetty
thick ore
#

yep

brittle void
#

type amen in the chat for axo

#

amen

shadow jetty
#

welp

brittle void
#

also, @shadow jetty do u know how to display an image/gif in windows terminal?

#

not as ascii art

brittle void
shadow jetty
#

the top-left is half blocks

brittle void
brittle void
#

@shadow jetty ??

shadow jetty
#

i tell batgrl to render the image in sixel

brittle void
#

@timid latch does discord always show editing statuses with a game controller icon beside the timer in the status section?

timid latch
glossy niche
#

i love those posts

#

thooo this one is a music related one so its a bit sad

tardy rain
#

what is the point of this title tag

left jewel
tardy rain
#

crazy

unkempt python
upper flower
#

thoughts?