#ot1-perplexing-regexing
1 messages ยท Page 152 of 1
The round has ended.
@unkempt python @wary barn @carmine apex Congratulations on winning this quiz game with a grand total of 100 points :tada:
don't think i've seen a three-way tie before 
.quiz python
0
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What function can be used to increase the length limit for string to integer conversion (answer should be enclosed in backticks!)?
20s left!
.stop
10s left!
.quiz
Game is already running... do .quiz stop
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
.quiz stop
Quiz stopped.
.quiz general
Washington dc
20s left!
DC
the hague
New york
@wary barn got the correct answer :tada: 75 points!
Information
The United Nations is headquartered in New York City in a complex designed by a board of architects led by Wallace Harrison and built by the architectural firm Harrison & Abramovitz. The complex has served as the official headquarters of the United Nations since its completion in 1951.
Let's move to the next question.
Remaining questions: 6
Who gifted the Statue Of Liberty?
France
@wary barn got the correct answer :tada: 100 points!
Information
The Statue of Liberty was a gift from the French people commemorating the alliance of France and the United States during the American Revolution. Yet, it represented much more to those individuals who proposed the gift.
Let's move to the next question.
Remaining questions: 5

Where is the "International Court Of Justice" located at?
the hague
@carmine apex got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What country is called "Land of White Elephants"?
Africa
20s left!
India
10s left!
china
No one answered correctly!
Information
White elephants were regarded to be holy creatures in ancient Thailand and some other countries. Today, white elephants are still used as a symbol of divine and royal power in the country. Ownership of a white elephant symbolizes wealth, success, royalty, political power, wisdom, and prosperity.
Let's move to the next question.
Remaining questions: 3
What does the acronym GPRS stand for?
I was about to guess
20s left!
10s left!
Better luck next time...
Information
General Packet Radio Service (GPRS) is a packet-based mobile data service on the global system for mobile communications (GSM) of 3G and 2G cellular communication systems. It is a non-voice, high-speed and useful packet-switching technology intended for GSM networks.
Let's move to the next question.
Remaining questions: 2
When did the First World War start?
bro this is absolute shenanigans
#ot1-perplexing-regexing message
1932
Sebria
1914
@carmine apex got the correct answer :tada: 100 points!
Information
The first world war began in August 1914. It was directly triggered by the assassination of the Austrian archduke, Franz Ferdinand and his wife, on 28th June 1914 by Bosnian revolutionary, Gavrilo Princip. This event was, however, simply the trigger that set off declarations of war.
Let's move to the next question.
Remaining questions: 1
What's the name of the tallest waterfall in the world.
20s left!
angel falls
@carmine apex got the correct answer :tada: 75 points!
Information
Angel Falls (Salto รngel) in Venezuela is the highest waterfall in the world. The falls are 3230 feet in height, with an uninterrupted drop of 2647 feet. Angel Falls is located on a tributary of the Rio Caroni.
Remaining questions: 0
The round has ended.
@carmine apex Congratulations on winning this quiz game with a grand total of 275 points :tada:
This is fun
.trivia python
What type is the attribute of a frame object that contains the current local variables?
dict
@carmine apex got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
dict
How does one call a class who defines the behavior of their instance classes?
bruh
thx for hint aboo
@low chasm got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
Fstrings, str.format, and % style formatting are different methods of performing what operation?
string concatenation
20s left!
format
10s left!
what is this question
oh
Better luck next time...
Let's move to the next question.
Remaining questions: 4
bruh
Can you pickle a running list_iterator (y/n)?
@low chasm got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
What is the minimum length limit for converting strs to ints in CPython 3.11+?
20s left!
10s left!
4299
1000
3
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
1
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
IndexError
@low chasm got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)
Generator
@carmine apex got the correct answer :tada: 100 points!
Remaining questions: 0
Generator
bruh
The round has ended.
@low chasm Congratulations on winning this quiz game with a grand total of 300 points :tada:
hah

.quiz general
Sahara
@low chasm got the correct answer :tada: 100 points!
Information
The Sahara Desert covers 3.6 million square miles. It is almost the same size as the United States or China. There are sand dunes in the Sahara as tall as 590 feet.
Let's move to the next question.
Remaining questions: 6
When did the Second World War end?
1932
1945
@carmine apex got the correct answer :tada: 100 points!
Information
World War 2 ended with the unconditional surrender of the Axis powers. On 8 May 1945, the Allies accepted Germany's surrender, about a week after Adolf Hitler had committed suicide. VE Day โ Victory in Europe celebrates the end of the Second World War on 8 May 1945.
Let's move to the next question.
Remaining questions: 5
Which country is the largest producer of tea in the world?
India
china
@carmine apex got the correct answer :tada: 100 points!
Information
Tea is mainly grown in Asia, Africa, South America, and around the Black and Caspian Seas. The four biggest tea-producing countries today are China, India, Sri Lanka and Kenya. Together they represent 75% of world production.
Let's move to the next question.
Remaining questions: 4
China
When did the First World War start?
1914
@carmine apex got the correct answer :tada: 100 points!
Information
The first world war began in August 1914. It was directly triggered by the assassination of the Austrian archduke, Franz Ferdinand and his wife, on 28th June 1914 by Bosnian revolutionary, Gavrilo Princip. This event was, however, simply the trigger that set off declarations of war.
Let's move to the next question.
Remaining questions: 3
1914
19184
How many planets are there in the Solar system?
7
8
@carmine apex got the correct answer :tada: 100 points!
Information
In the Solar system, there are 8 planets: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus and Neptune. Pluto isn't considered a planet in the Solar System anymore.
Let's move to the next question.
Remaining questions: 2
Which country is the largest producer of coffee?
brazil
@carmine apex got the correct answer :tada: 100 points!
Brazil
Information
Brazil is the world's largest coffee producer. In 2016, Brazil produced a staggering 2,595,000 metric tons of coffee beans. It is not a new development, as Brazil has been the highest global producer of coffee beans for over 150 years.
Let's move to the next question.
Remaining questions: 1
Which city is in two continents?
Istanbul
@low chasm got the correct answer :tada: 100 points!
Information
Istanbul embraces two continents, one arm reaching out to Asia, the other to Europe.
Remaining questions: 0
istanbul
The round has ended.
@carmine apex Congratulations on winning this quiz game with a grand total of 500 points :tada:
.quiz cs
What are the components of digital devices that make up logic gates called?
transistors
@carmine apex got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
Why is a DDoS attack different from a DoS attack?
(A. because the victim's server was indefinitely disrupted from the amount of traffic, B. because it also attacks the victim's confidentiality, C. because the attack had political purposes behind it, D. because the traffic flooding the victim originated from many different sources)
d
@carmine apex got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
C
How many possible public IPv6 addresses are there (answer in 2^n)?
2^32
20s left!
2^32 - 1
@low chasm got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 4
What does the "a" represent in a HSLA color value?
alpha
@low chasm got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
How many bits are in a TCP checksum header?
2
32
16
@low chasm got the correct answer :tada: 100 points!
16
Let's move to the next question.
Remaining questions: 2
What kind of characters are needed in UTF-16 to encode unicode codepoints outside the BMP?
20s left!
10s left!
BOM
mob
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
What is computing capable of performing exaFLOPS called?
exascale
@carmine apex got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@carmine apex Congratulations on winning this quiz game with a grand total of 300 points :tada:

.quiz Python
heap
graphlib
@low chasm got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
heaplib
What common operation does this function implement?
import math
def mystery(x: float) -> float:
return math.copysign(abs(x) + 2**52 - 2**52, x)
20s left!
round
@carmine apex got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
Fstrings, str.format, and % style formatting are different methods of performing what operation?
interpolation
@carmine apex got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
string interpolation
Can you pickle a running list_iterator (y/n)?
n
Y
@low chasm got the correct answer :tada: 100 points!
y
Let's move to the next question.
Remaining questions: 3
Which file contains all special site builtins, such as help or credits?
site
20s left!
site.builtins
@low chasm got the correct answer :tada: 75 points!
site.py
Let's move to the next question.
Remaining questions: 2
What function can be used to increase the length limit for string to integer conversion (answer should be enclosed in backticks!)?
lmfao
20s left!
sys.set_int_str_max_limit
!e import sys; print(dir(sys))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
['__breakpointhook__', '__displayhook__', '__doc__', '__excepthook__', '__interactivehook__', '__loader__', '__name__', '__package__', '__spec__', '__stderr__', '__stdin__', '__stdout__', '__unraisablehook__', '_base_executable', '_baserepl', '_clear_internal_caches', '_clear_type_cache', '_current_exceptions', '_current_frames', '_debugmallocstats', '_framework', '_get_cpu_count_config', '_getframe', '_getframemodulename', '_git', '_home', '_is_gil_enabled', '_is_interned', '_setprofileallthreads', '_settraceallthreads', '_stdlib_dir', '_xoptions', 'abiflags', 'activate_stack_trampoline', 'addaudithook', 'api_version', 'argv', 'audit', 'base_exec_prefix', 'base_prefix', 'breakpointhook', 'builtin_module_names', 'byteorder', 'call_tracing', 'copyright', 'deactivate_stack_trampoline', 'displayhook', 'dont_write_bytecode', 'exc_info', 'excepthook', 'exception', 'exec_prefix', 'executable', 'exit', 'flags', 'float_info', 'float_repr_style', 'get_asyncgen_hooks', 'get_coroutine_origin_trac
... (truncated - too long)
Full output: https://paste.pythondiscord.com/KI3TXF5SBXNAQRYGY72R5D6LA4
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
Who invented Tim Sort?
tim peters
@carmine apex got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@low chasm @carmine apex Congratulations on winning this quiz game with a grand total of 275 points :tada:
L

.quiz help
- 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.
.quiz python
20s left!
10s left!
python
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What name does a lambda function have?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
What is the minimum number of comparison methods a class must implement to support total ordering?
20s left!
Isnt it like 3
10s left!
No that doesnt make sense oml
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
What cache replacement policy is used by the re module for up to 256 compiled patterns?
Im great at programming guys
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.
Which file contains all special site builtins, such as help or credits?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
No one has made it onto the leaderboard yet.
Is the __aiter__ method async (y/n)?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
No one has made it onto the leaderboard yet.
An instance of what type is returned when indexing into an instance of bytes?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.quiz science
What is the process by which green plants and certain other organisms transform light energy into chemical energy?
photosynthesis
@shadow rivet got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
20s left!
10s left!
`kg/m^2
Better luck next time...
Let's move to the next question.
Remaining questions: 5
The three main components of a normal atom are: protons, neutrons, and...
electrons
@shadow rivet got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
Is the Richter scale (common earthquake scale) linear or logarithmic?
logarithmic
@shadow rivet got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
How does one describe a chemical reaction wherein heat is released?
exothermic
@shadow rivet got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What do you call an organism composed of only one cell?
eukaryote
20s left!
10s left!
๐คทโโ๏ธ
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
How does one call the branch of physics that deals with the study of mechanical waves in gases, liquids, and solids including topics such as vibration, sound, ultrasound and infrasound
yeah, that's what I said
iono
Better luck next time...
Remaining questions: 0
The round has ended.
@shadow rivet Congratulations on winning this quiz game with a grand total of 400 points :tada:
software as a service
software as secret service
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
How many bits are in a TCP checksum header?
1
20s left!
64
10s left!
32
16
@small coral got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 5
16
On Linux systems, the fork system call returns what value in the parent process?
pid
@timid latch got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
The name server with the original zone records for a domain is called the ________ name server.
domain
Root
20s left!
root
bgs
Top level
10s left!
TLD
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
primary
3
Tcp
20s left!
TCP
10s left!
o-something
UDP
@timid latch got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 2
In neural networks, _______________ is an algorithm for supervised learning using gradient descent.
20s left!
Magic
least-squares
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
levenberg-marquardt
What does one call the optimization technique used in CPU design that attempts to guess the outcome of a conditional operation and prepare for the most likely result?
what
branch prediction
@small coral got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@small coral @timid latch Congratulations on winning this quiz game with a grand total of 150 points :tada:
Does http3 have any advtnages
It's more than http2, I think.
every version has only gotten faster
but the problem is adoption
even http2 has gotten minimal adoption
except for the giants and they mainly use it internally afaik
my windows freezes and lags when i close the lid and open it after some time
it's an x1 carbon
so basically when it goes to sleep mode
and i take it out again
I was really confused because I thought you meant Bambu Lab X1 Carbon (I was about to send you to a 3d printing server)
it starts to freeze like hell
thinkpad x1 carbon
it's a premium brand
and i kinda bought it from an official lenovo store
idk
i never had such an issue before
How long since you did a proper restart of it?
i never leave it on for more than a day
uptime
i can replicate the same thing with even just 10 minutes of uptime
Are you on the latest windows update?
Is it laggy for a while after opening the lid, or just right afterwards?
Yes
And does this happen where you can basically move the mouse but can't interact with windows ?
Exactly
Okay. Windows bug
It's pretty much like that
This just started happening to me on my desktop
Computer is running fine... But I can't interact with windows
Happens after sleep mode
Afterwards unless i reatart the whole thing
Yeah
I opened task manager and checked resource usage.. Fine
Ctrl+alt+del and restarted using keyboard input
And it's fine
Sounds like windows isn't restoring something correctly after sleep then
You can even log out and login it works too sometimes
Ryzen 5800x3d , 48GB RAM, RTX 4070 Ti super
I'm having ptsd from this issue at this point
Cause i end up restarting and losing unsaved work
Well
Classic
Save your work
But yes this started happening to me very recently. I assume it's a new update issue
You might try rolling back updates
I wouldn't imagine the day would come when ubuntu wouldn't have such a critical bug compared to windows
What a horrible idea for someone who wants a working computer
I dunno, my X1 Carbon with Qubes was a workhorse.
Linux can work perfectly fine depending on what they use their computer for
Kept me happy for several years.
Honestly Mac is the way to go for laptops tbh
Oh hell no, never touching apple
eh, some ml and latex nothing really
Linux on the desktop is still a long way away from Windows and Mac
Is it tho? I find Linux wms a million times better than the hell of window management on Windows
I charge my laptop once a week, it's nearly as powerful as my main workstation, and the UX is unmatchable. There's nothing available for neither windows nor Linux that comes close to Stage Manager for example
viv
judgement time
do you use a tiling wm
window managers are amazing, but to be honest if I had a laptop I wouldn't want Linux either
Yes
i knew it
get judged
Niri specifically
but linux eats less resources
Jeeze, mine has to be charged like every two days.
I'm considering getting a MacBook, since I need a laptop for college
I still have 40-50% battery left egg I charge it too
i have 9gb of ram usage while doing nothing lol
I've got al dente to keep mine below 80%
they're probably one of the nicest laptop experiences that exist right now
@uneven pine have you found a source or some issue thread for this ?
that's supposed to happen. This is how Windows handles memory allocation, the more RAM you have, the more will be used, even at idle.
Nope, but it started happening very recently, and you're the second person I've seen with it
and I assume we're on some wildly different hardware
f
I thought it was a me problem
I mean UI is very much extremely subjective
Oh wow, that's kind of old, no?
it's a gen8
I mean, it's a couple of years old
I can't live without a good tilling wm these days
not horribly outdated
i bought it recently
I need hybrid/dynamic
i just wanted something lightweight
I actually just implemented a small thing today that auto resizes my editor based on what else I focused last
MacOS window management with Stage Manager is just :chefs_kiss:
there's ways to have a tiling experience on macOS that's pretty similar to most Linux tiling WMs
Hyprland looks very reasonable in terms of how it CAN look and behave, with its floating more
like, yabai
i use arch bytw
good
tiling wm
i don't get it
but the fact that you have to basically configure it from the ground out makes it useless for me
looks cool
I'm not spending a month writing my configs for a wm, I want something that works good and looks good out of the box
(and what makes it's amazing for other people)
both macos and windows do this well
Yeah, I get it, when I was a teenager I loved tweaking things like that
but I don't have the time or patience to do that anymore
๐ค I guess mine was gen 5. I thought 15.
same same
I want things to work, and until Linux has something comperable to MacOS or Windows OOB, I will not consider it desktop ready.
Niri works pretty well out of the box
Does it have floating mode?
It does
i had a carbon x1 on my last job i really liked it, that's why i bought one for myself
Tho it's main selling point is the unique scrolling tiling
How do you use it? I just command-tab through everything.
it's also a window manager, so you don't get the conveniences of a full fledged desktop environment
the build quality is amazing
Stage manager seemed weird and took up real estate
lmfaooooo
i have a gaming laptop the screen is falling off literally
ayla got converted into an apple shill
i saw that comming during M4 box opening reviews tbh
and the hinges are not holding anymore
to be honest apple silicon is pretty nice
You can make window groups which get added to another "Dock" on the sidebar, tile them how you want, and swap between your groups with single CMD+TAB
It's true
I can see why a scrolling window manager would be nice for laptops
I hated apple for so long
but I saw the changes coming with apple silicon
I just didn't expect it to be so goddamn GOOD
MacBooks are probably the best laptops for most people
Hell, if I need to run windows softwar.e... I run it on parralels
and it feels like a native experience
@uneven pine do you remember which update introduced this problem
oh huh parallels has a student discount
same, for me it became an actual quality of life thing, no windows / linux OS supports streaming into my hearing aid directly (at least without some stupid annoying dongles)
I love making a lot of fun little tiny QoL improvements to my setup, which is easier to do on Linux.
Not saying it's impossible on windows, just easier on Linux, because worst comes to worse I can literally just fork the wm
@timid latch can you show me a demonstration of the floating windows? preferably with snapping zones as well
their page doesn't show it
also what is the taskbar/app menu like?
Work paid for my Macbook Pro and Windows was going down the drain, so the choice was easy enough.
It doesn't have one built-in, use whatever you like
eek
Which is pretty standard for Linux wms
Okay, I want somethiong that's installed and works out of the box
I don't want to install 10 things
I want to install 1 thing
homebrew
I don't think niri has snapping zones.
It's not really designed to be hybrid, if you aren't gonna be using the scrolling tiling you shouldn't be using niri
Yeah, then it is not an option
so far COSMIC is showing progress in their alpha. if they can polish it, it might actually be very good
cosmic will hopefully be nice, once it's stable
jinx
lmao
but it needs a LOT of polishing to be ready
it's missing animations on basically everything and it's very sparse
at that point I'll probably ditch WMs for good
It's a shame that pantheon never updated their design language to be more modern
I meant more so relative to other Wayland composters it has more built-in, like screen shooting, a window overview/zoom out, etc
Pantheon is a genuinely great desktop experience but it feels like I'm looking at windows XP
macOS does have various auto tiling solutions
which will probably be good enough for me if I ever go MacBook
But yhe its all different target audiences, I love that I can fully customize my top bar to be just what I use (a list of workspaces, window tile, volume slider and the time)
hyprpanel is actually really nice for hyprland, gives you a bunch of DE esque stuff all built in
notifications, WiFi/network settings, etc
And I don't need a big speaker symbol to know what said slider is for, so the bar can look cleaner
I don't touch the bar anymore. It's all trackpad gestures or keyboard shortcuts.
The built in tiling on MacOS works fine for me
Works basically the same as Windows does
just has less layout options
which I actually have to admit, the layout defaults in Windows 11 are quite nice.
ehh....I'd say Windows tiling is still better.
I use them a ton at work
I mainly just use it to look at what workspace I'm on or the time.
Or to adjust the volume, which isn't something I do too often
PowerToys Fancy Zones
There's that but I've never found a reason to use it
even on the weird ass ultrawide I use for work lol
I guess I use it for WiFi network selection...
I use Ethernet so
I really like niri because it's tiling, but in a way where opening a new window doesn't mess with the sizes of existing ones
yeah I still haven't gotten used to that
so many times I'm like "Why can't I open the damn file menu? WHERE IS IT?"
"oo.....ooh.."
It's one of those things that I'm sure if I started on MacOS I'd probably hate windows DIDN'T have
the menus all being in the same place just makes sense.
I use a top taskbar in Windows anyway
But yhe I generally like a minimalistic setup that just knows what I want most of the time
And Linux gives me the power to build that
No, like "File," "Edit," "Tools," "Help" menus
Your window can be floating in the bottom right corner, those menus are all the way up at the top left of the monitor
example?
these menus
Mine's like this
I have mine in the toolbar on vscode so it's not a good example but I actually can't find an appl that has them right now
oh tahts... quite something
yes bit we
what's the complaint again?
there's no complaint
oh
we're tlaking about how apple has the menus for applications up there on the toolbar
instead of attached to the application like on windows
and most linux DEs
(meanwhile I dont have a top bar on any windows, what are they useful for anyway)
that's where I put my taskbar.
for finding the settings
This sounds like something a gnome user would say.
my top bar is just this (additonal images are just closeups)
we have T | None now
I thought the point of Optional[T] was to be explicit rather than using T | None
Apparently I had it backwards
Optional[T] just feels and looks better to me
Kinda, it was originally to avoid having to type Union[T, None]
Also I don't know how I've been working on this project for weeks and it only NOW shows as deprecated
.latex hello guys
thats not deprecated afaik
discouraged sure, but not deprecated
I suppose it was confusing when a field was optional, but didnt accept None (i.e arg: int = 0, you shouldnt use Optional there even tho it is optional)
Well it's definitely in type checkers
it is a deprecation warning for me
oh well at least it's an easy macro to replace
What is the context for this conversation? Is this Rust?
python
oh type hints
Yeah pylance is wrong, it's not deprecated
good to know
I suppose its deprecated in the sense of "there are now better ways", but not in the sense of "this will stop working"
what's that new type checker that came out recently
the one that accidentally named themsevles dog dick
yw
and had to rebrand
pyrefly?
whichever one was originally named Red Knot
ty
I'm gonna try it out
https://github.com/astral-sh/ty
ty is in preview and is not ready for production use.
We're working hard to make ty stable and feature-complete, but until then, expect to encounter bugs, missing features, and fatal errors.
Idon't write production python code, it's all personal stuff
i haven't been taking programming seriously for a long time so i am totally unaware of what's going on in python ecosystem, is there any good python environment manager with python versions?, or do we still use miniconda
Can we just have one thing for a few years, please
What's wrong with mypy?
it isnt written in rust /j
I need rigor.
Pylance mostly stays out of the way and tells me when there's a real issue
I only had to # type: ignore once
you can make pylance stricter as well
oh yeah for sure
I'm looking for something that doesn't get in the way of normal python code but wiill actively warn me if something's funky
pylance has been good about that, but I don't like that it's restricted to VSC.
for a more stable alternative to pylance is basedpyright
I'm more interested in ty since it's from the astral folks
(which works outside of VsCode)
Society for Creative Anachronism?
gives you warnings/errors of potential problems in your code before compile/runtime
static code analysis
okay
@uneven pine are you on the may 28 update
they have rolled out a new update which fixes something related to sleep-awake
26100.4061
the USB devices one wouldn't affect me because I have all USB power management completely disabled due to my flight sim setup
Maybe they fixed a bug or two with those changes
Which aren't listed
Also sometimes windows recognized the gpu and some other critical parts as removable drives
๐คฃ
Idk if that's just some high level problem or it's a serious bug
I also have PCI ASPM disabled so that might also affect that
Like it thinks that my dedicated gpu is a removable device
I can't imagine how fucky it'd get if one of my GPUs disconnected
mypy has been around for a few years
I think my problem is when googling for things...I wasted several hours with some stackoverflow answers talking about how to use setuptools...which was stupid, because who uses setuptools. The internet needs a way to deprecate tutorials and stuff.
If a .toml file is the recommended way of doing things, the links I see when searching for advice should be structured around that, and not setuptools.
(also, I don't know if "a .toml file" is the alternative to setuptools, but that seems like the case as far as I can tell at this moment in my learning)
There's a great way to check deprecated tutorials
Is it from within the last year? If yes, it's higher likely to be relevant
If no it's probably out of date
Google also gives awful results these days. It's all AI and ad filled
.> I use setuptools
I mean setuptools has its place
pyproject.toml lines 1 to 3
[build-system]
requires = [ "setuptools>=64" ]
build-backend = "setuptools.build_meta"```
ugh
touchportal not connecting to OBS
why everything gotta be shitty
and the streaming PC has an update -.-
I would love to see someone use a flight sim setup for regular tasks
don't know why, but damn tiktok gave me furry content just because I searched chinese furry.
you know what's interesting, chinese furry's costume is kind of different
small nose, quite sparkly, big eyes/pupils
how much do you make from streaming?
and is the PC worth it for the returns you get?
Basically nothing and yes
It makes it possible to stream games like GZW as a vtuber.
if you make basically nothing, how is it worth the expensive PC? 
People can find purpose in more than money
i mean thats fair, but how do you fund something like that?
or is this just like, a modern day equivalent of a coin collection or a wall of lego sets
I mean it is literally a usable thing they regularly use and play on
It's my hobby, I enjoy doing it
it's a fun way to meet and interact with people.
And the streaming Pc was technically free, it's been built with spare parts that were not in use
Ryzen 3600, 16GB of RAM, GTX 1070
the motherboard, case, and PSU were from the living room HTPC that is currently out of comission due tot here being no living room (home renovations)
They're technically my roommates buuuut I'm (maybe) trading them the 5800x for it since they want to rebuild that system anyway, or if that doesn't work out I'll just pay 'em for the parts
Also I don't know what I did but I somehow now have 165hz available again on my main monitor
despite the capture monitor only going at 144hz
hopefully that doesn't cause weirdness and I can keep my 165hz
hi
why are you sending hi in every channel?
just three ot channels
And one other but idr which
What is Astral's business plan?
Most companies working primarily on open source survive mainly by providing services, so maybe that.
Like I dunno, uv pro could become a thing someday.
"you've reached your package install limit of the day, subscribe to uv pro for unlimited package installs"
(but yeah realistically it'll be some sort of service)
This is what I'm afraid of--although I pay for Pycharm Pro, so...
i hope they could survive on consulting or something, but i dunno. we'll have to see :(
it is pretty nice that people are being funded to maintain these tools, at least.
consistent maintainence and effort being poured into improvements (and they're happening pretty damn fast) is always nice to see.
I talked to astral people at pycon and they were pretty hopeful of their job security
Okay, but why? Who is funding them right now, and what will they eventually want in return?
venture capital
most likely growth so they can justify a bigger valuation and round of funding. And hoping to find a way to monetize it
https://jobs.ashbyhq.com/astral/a357ab40-9da5-4474-acc7-5888804c69ac should also give you some clue into what they are cooking
Two of my friends, with better hardware than me, couldn't play star birds (the kurgzesat, however u spell it, game)
And I, a linux user, playing through proton
Could play the game smoothly
Is that sufficient to conclude that linux is better to play windows games than windows itself?
Or am i missing something crucial?
Dualboot ppl, lmk if you find proton better, worse or equal
I use arch btw
i doubt it's an OS issue
Says the guy who has never used linux ๐
Btw im not disagreeing
But yk, windows has so many unnecessary processes running and eating the cpu and ram
That's why i think it is a windows issue
On windows or linux or both?
"unnecessary processes"
explain
LMAO
Open task manager
DoNotShip
what next?
v2 comes out with DaveIToldYouDoNotShip
How many of these processes did you select to run?
dude
those are regular operating system processes
you did not manually select like 90% of them to run
same goes for mac and linux
honestly this is the arch mindset
I know almost all the processes running on my arch (btw)
i wouldnt be surprised if you had to manually install display drivers to be able to even use your monitor
Production efficiency smh
hell no
Sometimes i only need to do something with the terminal
Those times, i dont even run my monitor
I just use the tty
the what
Production efficiency smh
Btw, i know a lot of ppl who do that
Pretty sure there's a cult for it too
No DE/WM/GUI cult or smthn
A screen which is just terminal
Anyways there's no reason for me to use anything for that
Do i really need to use hyprland to run a script on my server?
Nah, I'll just ssh from the tty
And then go play pokemon or smthn
It reminds me of Windows 7 with the colour scheme of Windows XP
TODAY i learned.
bananas don't grow on trees.
-# they grow on plants that aren't trees
Is that because most Banana 'trees' are all clones? What're the (biological) criteria for being a tree? (no unique root node, so it's a banana graph?)
๐ ->๐ ->๐ ->๐ -> โ
banana list
wtf is that last banana
null banana
notr an OS problem, its a game-side problem
It is the best
The only reason i installed riverwm on my arch btw install is for zen browser and ricing
(Im not about to use some term browser)
Whats this?
linked list of bananas
I have a banana tree plant
you smoke bananas?
I have banana plant plants in my banana plant
that is, plants bearing spy-bananas in my banana factory
https://youtu.be/jXvy0f4iQRI this is just supposed to be the ending theme for death note but imo its one of the hardest jp pnu metal songs ever
Video Clip Original
(they removed the og video
)
What do you use
7
8
1
Python 3.x
U tried the game on both os?
all of them
Vote
my choice isn't on the list
In what aspect
Linux for server
MacOS for laptop
Windows for everything else
What is your choice
Linux for server
MacOS for laptop
Windows for everything else
Then vote for windows
Then vote for windows
That's a disingenuous answer
No ChromeOS? smh
Mac hardware is rlly awesome tho
That battery life
Up to two weeks of usage at work on a single charge
I feel like an advertisement but it's actually true
you must use it lightly
Normally I charge once a week
It's open/screen on on my desk for about 8 hours a day
Mostly just web and terminal stuff.
End of a 3.5 day work week I generally have 30-60% battery left
Guys vote guys
Depending on what I do over my lunch breaks
No
Vote before the voting ends
No one cares
.latex vote guys
Stop
Didn't ask you
You literally did.
Ok
Right here
Your note is leave me alone
So iam gonna leave you alone
Great choice
Anyway yeah @spare oriole the two things that make my battery disappear are games and AI models
Reminds you real fast how small the battery actually is
that explains it
They're just so insanely efficient at low power
What games can/do you play on mac
HSR through an iOS shim layer primarily, games like frost punk and wildermyth are good too
Surprising number of games from my steam library are apple compatible
That's nice
I can confidently and 100% honestly say that gaming on Mac is a better experience than gaming on Linux lol
This kid learning about polls
Okkk but like chill
No bro idk what am i doing
sup nerd
here
what's the difference between a parameter and an argument
a parameter is the functions action, an argument is the choices the function makes?
helleeww?
bro...
nope
a parameter is in the function's body, an argument is supplied to the function when it's called
def function(parameter):
...
function(argument)
oh. oh yeah
what does a function return if it doesn't finish its executon on a return statement?
a parameter is a variable that doesn't need to be called in a function right?
no
an error message (or "false")
it's a variable that outlines an argument the function takes
aah...
what is a decorator?
i know and i can tell
