#voice-chat-text-0
1 messages · Page 443 of 1
Karjakin got banned, then Karjakin complained to Putin
I'll attempt to connect on a phone but I can't guarantee success
@quartz beacon democracy
hiiii
absolutely nothing got created to "import-replace" chess.com
zero attempts
Karpov?
systematically systematic
Karjakin got "raised by" the regime
his career got paid by the ruling party
Yeh?
rub tabasco on wire @peak depot
Yes
brb
(or in two hours if not successful)
Hello
I got a free laptop , cuz doggy bit power wire
Oh?
observing the madness from the side of the road
I have no idea whether it works or not
presumably not
I don’t own this but I couldn’t find the original so haryegoe
Ayuh
@languid scaffold 👋
i cant use voice chat bc i havent sent 50 messages yet in the server
rip
hows it going
boredom
writing a flashcard program rn adding new things as i learn lol
its pretty fun
everytime i learn new things for python
i add a little multiple choice questionnaire
so far not too much just a question asking what are strings in python, what is the keyword used to define a function, stuff like that
@severe spoke 👋
I've no need to.
Hello @somber heath @wind raptor @obsidian dragon
Is is a bug or is this feature of the windows 11?
Display scale : 125%
On Display Scale : 100% it works as intended but on Display 125% it appears as in the screen
@somber heath Which OS do you use?
As you can see option is going out of the window
Here it works as intended
This is fresh windows 11
Fresh and defualt
@obsidian dragon How do I change DPI?
There are no such a option called DPI but there is an option to Scale
@visual leaf Hello !
@visual leaf 👋
The main reason, why I do not like to use Linux it has no support for my hardware, it has very limited support
And it limits the true potential of my machine
Is it pink?
This is godzilla, on the way to terrestrial life!
@calm lake 👋
heyy
@flat hornet 👋
helo
hey
yo
@waxen saffron 👋
@woeful salmon Are you from bangladesh?
🎉 👦 🏃♂️➡️
Hi)
@flat hornet Nae Nae * * * *
WHAT IS NAE NIGGA? (ORINGAL)
VIDEO (OFFICIALS) Rainbow White Pony https://youtu.be/YG4iTGjuoKw
Mämmi
Finnish Easter dessert
Mämmi is a traditional Finnish dessert, eaten around Easter. Mämmi is traditionally made of water, rye flour, ground malted rye, salt, and dried, ground Seville orange zest
Fermentation is a type of redox metabolism carried out in the absence of oxygen. During fermentation, organic molecules (e.g., glucose) are catabolized and donate electrons to other organic molecules. In the process, ATP and organic end products (e.g., lactate) are formed.
Because oxygen is not required, it is an alternative to aerobic respirati...
This is a list of fermented foods, which are foods produced or preserved by the action of microorganisms. In this context, fermentation typically refers to the fermentation of sugar to alcohol using yeast, but other fermentation processes involve the use of bacteria such as lactobacillus, including the making of foods such as yogurt and sauerkra...
Can ferment all sorts of things
@wise loom Life always find a way!
New way to screw free user to charge more money
Almost all of the company
@rugged steeple Hello bruh!
Hi
welcome
Thanks
I mean yes, some peoples are living proof that there are ways to do it.
What brings you this way? Do you have much experience with python, programming?
Not yet, am just learning
School or self led/
self led
zoomer Erlang
oh wait wrong elixir presumably
how can I speak in the voice rooms? cuz I cant
AF has library on her Mind full of every possible lanuguage and it's use case!
Say allah hu akbar
thrice
and you can speak
whaaaaaaaaaaaaaat? hahahaha
[assuming it's context-relevant ]consider posting things like that without an embed, i.e. <url>
oooh eid mubarak bro!
But I ain't muslim
eid eh mubarak to you
I should try actually using Erlang/Elixir/Gleam
the live code upgrade part is interesting
I wonder if Gleam supports it well enough
Click on it @rugged steeple
neither do I
Make sure to obey the leader of the Discord
AF
I'm not the domain lead of voice here, Hemlock is
Emlock is inactive
You are active
so you bare the responsibility
bear
You'll get there
bear is for normal users, for russian it's bare
the 72 hours is the toughest one to pass, but if you wait, it'll happen with time
@peak depot Morocco
@rugged steeple Say "I heil fuher!"
don't~~, and also you misspelled that again~~
I can speak hindi fluently
@rugged steeple To speak you need to be in server at least 3 days and have 50 message and more.
Than only you can verify for #voice-verification
ok bro.. I just joined for like 10 min ago
@peak depot I missed the context, was it sealant that smelled of vinegar?
we had some repairs happen, and that was quite a noticeable effect
meep meep
yes
Us bro, us bro!
yeah silicone caulk
where are u from?
spicy lentil soup
India
How about you?
Morocco
Great spawn point!
carrots are $1 per pound
I don't remember such level
I stopped at the space invaders level
all adjacent to it I completed
also, yes, you can "cheat" and add custom instructions
it's your computer, no one is stopping you
best way to solve everything
Thanks for watching!
Merchandise available at: https://lofestore.com
Follow my socials:
Instagram: https://www.instagram.com/itslofe/
Tiktok: https://www.tiktok.com/@itslofe
Twitter: https://twitter.com/itsLofe
Snapchat: https://www.snapchat.com/add/itslofe
Business email: lofemanagement@gmail.com
look at 5:55
seems like my total steam gaming hours + minesweeper gaming hours on record crossed over 10'000 hours
what is this?
It's a game called turing complete, you build a computer up from nand gates
interesting.
that's a big lawn mower, but $21k for it is still too much.
it's not for the lawnmower, it's for a ride on the lawnmower
ohh, that makes even less sense.
@peak depot yes
Hello everyone!
I've just realised a funny similarity;
between Trump managing to bankrupt casinos and another Russian politician managing to bankrupt a competitive poker association
both sure take some executive effort to accomplish
@vocal basin
I've seen that already
:(
time to play a broken unfinished game
why tf did it start on the second monitor
where's the hard funny difficulty
okay the first gameplay thing being a 10 second timer where I have to navigate through inventory to prevent dying is definitely not what I expected from a normal difficulty
@vocal basin How tall are you?
allegedly, 186~188cm
having been at only 54kg for that height at some point was not fun
You are 1ft taller than me!
54 is not bad weight!
I think anything between 60 to 75 would be healthy for you
54 would be skinny
Are all the russian woman as tall as you?
I mean is it average over there?
no, just the range is wide
Netherlands have high average heights
But you ain't dutch!
(and presumably fewer short people there? I don't know)
Maybe they hunt the short people xd
core mechanics are simple enough that I can almost always focus on thinking about something other than the game
I don't really compete on minesweeper.online after reaching top 500
Damn
~2 years ago I managed to keep top 7 season rank for several days
correction: one year ago
I dropped to top 87 by the end of the season
@vocal basin , do you know of a service akin to render.com where I can host a non-HTTP TCP server for free?
haven't encountered any of that sort
at least, like, any big brand thing
I might've actually heard of some that was like "you can host it yourself but it also happens to be running on this domain: ..."
ah, that looks great for my use case (wanting to run the protohackers checks)
(google query used to find that)
I was making it more complicated by looking for hosting servers where I really needed a tunnel
thank you for both lessons :)
the AGI is not yet here given it cannot figure out my clearly structured and grammatically correct question
very credible sources, especially the black circle
3 years seems like
ChatGPT allows me to search so that works considerably better
I'm trying to rephrase it for Gemini 2.0 Flash so that it can understand that I want existing solutions not how to build it
it does know what bore is but isn't volunteering it as one of the results
Rust forum, it's just very low contrast
it suggested tunneler
I asked for alternatives, it did not suggest bore then either
I'm witnessing typographical hell
keyword for what's the reason: Cloud Translation API
it translated Gemini
and everything else
it understands that it's not a nominative noun
judging by how it kept the uppercased first letter
(Twins ~= Близнецы ~= Gemini)
rarely ever
Microsoft has some hand-translated and some well-translated automatically
but I do generally prefer English documentation
until it starts transliterating command names
Wikipedia often has maths/programming articles differing a lot between English and Russian
B-Trees are better explained in Russian from what I remember
many other structures and algorithms too
for some, there just doesn't exist an English equivalent
prefix function being an example
судо апт-гет инсталл -да неовим
апт-жет if it was transliterated by Microsoft
probably with either -й or -ы
it prefers g like in general over g like in get
a factored out part of KMP algorithm used for other purposes
also the definitions of the "order" differ
iirc English uses maximal arity of the tree whereas Russian uses minimal
why I don't like it:
(the English one)
it's actually always m/2+1/2
although I think the Russian version stopped labelling it as "order"
m = 2t - 1
m is what the English version uses, t is what the Russian one does
without any label given to t anymore
just a parameter
* minimal - 1
oh wait no
just minimal
ugh it's so confusing
correction: just m/2
peak article structuring practice:
main disadvantages are listed under the "main advantages" section
English B-Tree article evolved noticeably since I last read it
life, uh, finds a way
concurrent Go is often more performant than concurrent C++
if you even believe in concurrent C++ existing
Clang is LLVM
GCC and MSVC generally aren't
if you make a great C API, it's likely you'll be able to expose that API in Python
Python and Rust are good for building stuff on top of the underlying C
I wonder if there are python bindings for Rust and Go
"Go doesn't want you calling Python from it or to be called from Python"
from what I understand, C APIs for Go code aren't a priority for the language
yeah
combining multiple GCs together is not the happiest experience
Number is a fake class
yeah
!e
print(issubclass(bool, int))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
>>> from numbers import Number
>>> isinstance(True, Number)
True
if it was int but not Number, that'd be weird
do I remember correctly that True ^ True is False not 0?
!e
print(True ^ True)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
False
hi whats up
!e
print(False << 0)
print(False << 1)
print(True >> 0)
print(True >> 1)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 0
003 | 1
004 | 0
:white_check_mark: Your 3.12 eval job has completed with return code 0.
-2
!e
print(~True == hash(~False))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
this might be getting into the esoteric territory
!e
print(~True == hash(~False))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
True
Xd
it's a bit weird that it is but for Python that does seem to make sense
if you want a really strict type system, it shouldn't be coerceable either
it's just that in languages like Rust that are close to C it makes sense to provide C-like type conversions at least in some way
I should get back to hitting postgres with hammers trying to make it work
I managed to get queries to under 1ms of the actual query processing
with a few milliseconds overhead of postgres trying to figure out what it even has to do with what I'm giving it
I don't really I think I can do much better than that
I was getting 0.05ms on simpler queries with fewer rows in the tables
so 0.5ms with a million rows might be acceptable
(million rows in the table not fetched)
sqlx giving instant feedback on query correctness is really great
presumably, the way rust-analyzer is running proc macros, it doesn't even wait for the file to be saved
postgres is not happy
even after the database restart without prior queries executed
so allegedly the performance wins aren't coming from above-the-filesystem caching
I still haven't started writing a SQL autoformatter that I planned to make
existing ones aren't good enough
so I prefer to format it manually in a style that makes it easier for me to read and write
No module named 'importlib.metadata'
importlib issues -> loading cogs in discord.py? 
what version of Python are you using?
!d importlib.metadata
Added in version 3.8.
Changed in version 3.10: importlib.metadata is no longer provisional.
Source code: Lib/importlib/metadata/__init__.py...
@vocal basin when you are bored what do you make / work on
you can always do like the author of this and reimplement the entire underlying library stack yourself
tbf I'd rather write Python than Tcl
luau
after a year or two of python imma learn html and javascript
you can just ```lua it, should cover most of the syntax
local part: Part = workspace:FindFirstChild("Part") :: Part
postgres-style casts
local potentialPart: Part? = foo.Part
for key, item in items :: {[string] : Part | Decal} do:
print(key, item)
local letter = never | 'A'
'B' | 'C'
!d typing.Union
typing.Union```
Union type; `Union[X, Y]` is equivalent to `X | Y` and means either X or Y.
To define a union, use e.g. `Union[int, str]` or the shorthand `int | str`. Using that shorthand is recommended. Details...
like in TypeScript and Python
not really a pipe operator, instead just or
type unions are easier to work with in TS than in Python
!e
from typing import Literal
print(Literal["a"] | Literal["b"])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
typing.Union[typing.Literal['a'], typing.Literal['b']]
!e
from typing import Literal
print(Literal["a", "b"])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
typing.Literal['a', 'b']
if c == 'a':
you'd be using that anyway
chr('a')
one part is for typing
the other for runtime
mypy
and pyright
pyright doesn't go into dependencies as deep
def example(x: Literal["a"] | Literal["b"]) -> int:
match x:
case "a":
return 1
case "b":
return 2
# never reaches this line when used correctly
| and typing.Union do almost the same thing
what is the difference
just returns a different thing
!e
from typing import Union
print(Union[int, str])
print(int | str)
print(Union[int, str] == int | str)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | typing.Union[int, str]
002 | int | str
003 | True
wat dat
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
make a movie website
related to Python and file sharing:
https://github.com/tahoe-lafs/tahoe-lafs
lol
@timid iris you can talk to @tall ridge about this probably
everything labelled nix/flake, just ignore for now
in case of Python, you rarely ever build a project
wheels are only involved during publishing
it is building, but that's almost exclusively a library thing to do
mostly docs
or another Scheme
using gotos probably
although
[] is just while
proper regex isn't recursive
depends
https://docs.rs/regex guarantees O(MN)
This crate provides routines for searching strings for matches of a regular expression (aka “regex”). The regex syntax supported by this crate is similar to other regex engines, but it lacks several features that are not known how to implement efficiently. This includes, but is not limited to, look-around and backreferences. In exchange, all...
I just don't have any project ideas anymore
(excluding things that I actually need, e.g. aforementioned SQL autoformatter)
for example,
it should convert
CREATE TABLE table1(column1 text PRIMARY KEY, column2 bigint NOT NULL, column3 text NULL);
into
CREATE TABLE table1
( column1 text PRIMARY KEY
, column2 bigint NOT NULL
, column3 text NULL
)
;
I'm learning SQL at the moment for a class, and I find it pretty easy, but Im having trouble with different flavors of it?
there are existing SQL parsers written in Rust
I only need SQLite and PostgreSQL support
rust 🤮
Rust feels and is way easier for me to write than Python and many other languages
extremely high productivity compared to anything I did before
I do have a job
I'm rewriting some Python and C++ stuff into Rust
or rather redesigning the whole thing, not just fixing poor choices of the implementation language
I'll gladly help you set up uv instead of anaconda
A complete guide to using uv with Jupyter notebooks for interactive computing, data analysis, and visualization, including kernel management and virtual environment integration.
@timid iris what did you want to stream? (I couldn't hear)
!stream 950555789133766698
✅ @timid iris can now stream until <t:1743364681:f>.
still reading text chat, can't listen to voice for a bit because I need to focus
what ya focusing on
just doing a little protohackers to get familiar with asyncio
and then do it again in rust or java
haven't decided yet
"I do not 'notion', I do not 'confluence', I do not 'wiki', I do not 'comment', I do not 'document'. I just read the code."
or
"I do not 'notion', I do not 'confluence', I do not 'wiki', I do not 'comment', I do not 'document'. I just remember."
or
"I do not 'notion', I do not 'confluence', I do not 'wiki', I do not 'comment', I do not 'document'. I just forget."
how did you find that resource
there are alternatives to asyncio
one of the Discord API wrappers is using a custom async runtime
custom meaning what exactly
purpose-built for that specific wrapper
No documentation found for the requested symbol.
!pypi hata
!pypi scarletio
it's not really good but it's existent
typing is, however, not existent
all the typing information there is in docstrings
in a project-specific format
yikes
uhh alisa
by chance do you ever vc?
i was gonna ask how you think I should organize my python notes 😅
ik. boring and dumb.
!d docstring
A string literal which appears as the first expression in a class, function or module. While ignored when the suite is executed, it is recognized by the compiler and put into the __doc__ attribute of the enclosing class, function or module. Since it is available via introspection, it is the canonical place for documentation of the object.
!pypi sphinx
?
alisa i am quite intimidated by the sheer amount of packages there are in python
No i meant my personal notes on google docs and such
oh are you new to Python?
no ive been using for a few months now
and its baffling how there are so many libs i fear that i may not be fully updated with which tend to make their way into modern programs
versioned using Git
is what i do
I do do that, I type the code in my google docs themselves
versioned using git?? 😭
I only learned the basics of Git and I HATE it because I don't have a good enough background with file management and operating systems
if you, for whatever reason, want to use a non-Git service, the only sensible option that I'm aware of is Notion
The "code" is just templates and such
you don't need a CLI, you can edit via the browser
like defining different functions and methods in different libraries, etc
the solution is to get better at what you mentioned, then learning how to use git
it's super worth it
I had to learn Git for a class, and I just learned the basics. If i wanted to upload a project I finished on GitHub, how would i go about that?
if you use VSCode, there's a built-in functionality for uploading the project to GitHub
Ya, I did see that.
But like does version control matter or something I need to do? if there was only ever one version, from start to finish, and I do not need previous versions?
I wanted to upload project on GitHub to have something to show for whatever skills
if you want to upload just one file instead of many, another option is to use GitHub Gist
as it doesn't involve creating a repository
you should probably just go and do it, there isn't really that much to discuss upfront
project will eventually require changes (unless it's abandoned)
having those changes reflected in the project history is quite useful
Can i ask what you mostly do? @vocal basin
with coding, python, etc. (web development, analytics, game development, etc.)
I always ask this question to people here because its always interesting how we are similar yet very different in terms of our skillsets and how we utilize python or other languages, usually in combination
I don't really think there's any particular field
basically anywhere that does serious software development uses version control
even if you don't need to collaborate with others, being able to revert changes or incrementally change stuff without having to have a separate version of your code alone is worth using VCS
networking (from configuring routers to high-level communication patterns), web (from messing HTTP itself, to APIs to HTML), infrastructure (both writing things to manage it myself and managing existing services), databases (using and writing), CLI tools (mostly for developer experience), devops (automated builds, deployment, etc.), error detection algorithms (because I have background in mathematics), data synchronisation (yes, I'm going to put this thing separately, because I worked on it for way too long), cybersecurity (because no one else bothers)
this is a non-exhaustive list of things that I had to do at one job that I've worked at for only 1.5 years so far
cybersecurity (because no one else bothers)
I strongly relate
JS lambda?
JS is easier to sandbox
obviously it shouldn't include the lambda:/()=> part or else it's nightmare to write
the main issue there is opaqueness imo
I'm assuming the policy is only editable by users who have full access anyway
otherwise, yes, obviously never do that
I think some sort of sandboxed-ish SQL thing might even be more sane there
not for security, but just not to break everything else
Zitadel uses almost that

all really cool!
opaqueness and lack of tooling support for e.g. refactors
can any one hrar me
doesn't seem so
darnit
thank you a friend was trying to help me with my headset
How is everyone doing today?
Do we all not have permission to speak ?
yes @wise loom
@fast gyro 👋
||heapq||
ah, it's even mentioned in the topics
yes
!stream 297800369554194432
✅ @fast gyro can now stream until <t:1743372148:f>.
!d heapq
Source code: Lib/heapq.py
This module provides an implementation of the heap queue algorithm, also known as the priority queue algorithm.
Heaps are binary trees for which every parent node has a value less than or equal to any of its children. We refer to this condition as the heap invariant...
it's part of the standard library
first element is its priority is what im thinking
so the first in list
would you still need to set the priority queue if already has a priority element
the heap is there so that you don't have to build that big list
pretty sure its the same thing
heap is more efficient
but more limited
@fast gyro you're supposed to store ||lists|| in a heap not elements
@fast gyro it's a linear representation of a linked list
that'd be O(N^2) complexity if you just do it one by one
I've just made such a cursed solution but it somehow works
you're sorting the lists before it gets to heap?
they're already sorted
the task is to merge already sorted linked lists
into one big sorted linked list
wouldnt it just be easier if he uses the first element of each list into a heap list ...
which can be done with O(1) extra memory
since you get a list of ListNodes, ||you can heapify in-place||, which, tbf, is a bit of a hack but does work
what would be the con of this
I'm currently rewriting it in Rust
oh boy have fun with that
okay so ur comparing which node is greater and putting that into a greater list correct ? @fast gyro
wheres the part where it sorts the greater list in order
this part,
could you show please
first check if the merge is being done correctly
print the nodes being merged, see what the output is then
okay, edit incoming
I made it shorter
btw, yes, clippy will yell at line 6
I'll go fix it
I don't remember what the rule is called exactly
@fast gyro ^ Python
equivalent in Python
https://gist.github.com/afeistel/5932eec2fc03d82829aaebfdd8547ed0
love the simplicity at the start...
the only time I had to check docs was to make sure that heapq does not indeed support key=
the merge part looks fine except for this..
and here to check no-allocation and safety guarantees
9-22..
I should merge merge and from_values into one function
(how to do this is left as an exercise for the reader)
still under construction
all three
I might move the blog there
GitHub Pages
with Astro
GitHub pages??
does it have to be a pub repo
this turned out way simpler than I was expecting
I think so
it's all client-side code anyway, just HTML
there is nothing server-side being hosted
largely relies on the fact that ListNode is in the same crate as the solution
@wind raptor I think I finally figured out the SQL things I was working on
now it performs okay
some JOINs needed to be transformed into WHERE (SELECT)s
for now only working on postgres
because better observability and query plan debugging
those where there's at most one row and only that row's (non-)existence matters
hewy guys
ugh I'm trying to fit API methods in some sort of a hierarchy and it's not working
it's too non-hierarchical
anyone know if older git versions have to be explicit. Such as a parent folder not being a git repo, but having the same name as a git repo. Ex, parentfolder SC -> repo parent folder "SC" -> repo folder "sc" . but in repo the sub folder is capitalized... even with changes
are you on Linux?
not as of now
Windows does some very weird things to filenames
repo was made within VScode
yeah it seems to be like that
even when being really explicit
have you tried doing that without /*?
had to have someone else do it on their end for changes to occur but even then issue still persists.
ive tried it all believe me
might be because the parent dir is not within the repo
where is .git?
in first parent dir thats done in repo
gives the option
should it be within the second one ?
this this the file structure?
Desktop/
StackCastle/
stackcastle/
.git/
or this?
Desktop/
StackCastle/
.git/
stackcastle/
yup like this
in either of those two cases it has nothing to do with Git
unless you're messing with worktrees
not dealing with that
just rename the directory like you would do that in Windows normally
doesnt show for changes
when wanting to push
you want it to look like this, right?
Desktop/
Stackcastle/
.git/
stackcastle/
are you hosting it on GitHub? or somewhere else?
hosting on github
this is the thing that happened when i merged.
wasnt intentional was just merged with my upper/lowercase differences
!d functools.total_ordering
@functools.total_ordering```
Given a class defining one or more rich comparison ordering methods, this class decorator supplies the rest. This simplifies the effort involved in specifying all of the possible rich comparison operations:
The class must define one of `__lt__()`, `__le__()`, `__gt__()`, or `__ge__()`. In addition, the class should supply an `__eq__()` method.
For example:
@tepid edge
can you show what you were trying to fix initially -- how it looks in GitHub?
alr
gives unneccesary complexity when wanting to import functions
you have this
.git/
stackcastle/
Stackcastle/
...
you want this
.git/
stackcastle/
...
right?
yes
wrong folder hold up
also yes
even then
how many files are in that directory?
have you considered just moving the directory normally and re-git adding everything?
just move the files manually to wherever they need to me, that's going to be easier
alr
how is manually moving everything way easier while command line causes issues...
now lets say i want to map out dictionaries from a already existing repo, instead of manually reading and writting them down is there any other way to find them without parsing through everything
import math
import time
class Passiveincome:
def __init__(self, number):
self.number = number
def passive_counter(self):
self.number += 1
time.sleep(1)
def __str__(self):
return str(self.number)
def __add__(self, other):
return Passiveincome(self.number + other)
def __iadd__(self, other):
self.number += other
return self
def __radd__(self, other):
return other + self.number
def __eq__(self, other):
return self.number == other
PASSIVEVENT = USEREVENT + 1
if event.type == PASSIVEVENT:
main_counter += input_passive_income
print(f"main counter is {main_counter}")
```ohhh god i remember making this years ago, its a class that gets passed into itself to create a passive income system for a clicker game
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
https://paste.pythondiscord.com/LVWA looking back at old projects is fun
Can also try marimo
fuck yeah, listening to the Andrew Hulshult remixes of the OG Doom scores
idkfa is now officially on Spotify and other streaming services:
https://open.spotify.com/album/2YqpDPPwqaKCoSBe36hVAe?si=4U58kroySTaP9edPy1R8uw
This song was created by Bobby Prince using MIDI software for ID software on the game "DOOM". This was my remake of this original song by Bobby Prince.
better image -
!e
a = []
if a:
print("yeh")
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
the one you're working on?
okay
@somber trail please read our #rules and #code-of-conduct regarding publicly visible profiles (including profile descriptions)
@tepid edge it's automated and not a crawler => violates Terms of Service of the platform in question
!rule
The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
it was the user offering to provide help saying that they won't help on ToS breaking stuff
iirc
yeah I realize now that that's probably from the ToS of the site in question
and I was just slow on the uptake
mb
it's not possible to change the tags on a forum/help post after submitting it right?
I've never tried it.
If you're worried, we usually just read the title, not the tags.
I haven't seen anything that would allow me to
I am only slightly hopeful anyone will have an answer given how niche my problem is
I doubt it's niche.
And the staff themselves are quite diversely skilled. If they don't respond, one of the many other community members probably will.
Give them time to read.
oh I'm not complaining by any means
I'm committing cursed networking stuff right now using mikrotik
yeah, that is a bit odd
Added detection range.
Wondering what alert should do (when they are shooting at Banjo, but then lose sight of him). Right now it's like "Oh well, out of range. Back to my patrol. Whistles heartily".
@peak depot
add assertions
actively check the state
@upper basin if I understand correctly, learning how to deal with this bs is the point
What I learned was to not create a situation where you have to carry others.
If you can avoid it, avoid it.
At work, people have to show proof they are working.
Quite literally, all of bachelor group projects was me coming up with the project, delegating imaginary tasks (because people never did anything), and then doing them myself, making a presentation, and if we HAD to do presentation with multiple people, to train them to read off the slide.
Until I made my own projects independently from uni, I never got a good team, a responsible team.
I got that in some of my hackathons, and projects.
cats are audibly asserting their priority over the meeting
Honestly, if they don't work is fine with me. What's not fine is when they start arguing, and slowing the project for no reason or not listening to presentation (my image processing group presentation got lower marks because this girl in my team refused to look at the presentation in advance, and then tried to read off her phone and basically had to say I can't do it.).
helloo👋
!stream 1297071424992841859
✅ @humble idol can now stream until <t:1743429707:f>.
Is this live action vibe coding?
Reptar:
Push to talk is also pretty goiid
good*
IDK
doesn't really make "sense" to me
seems like...a bug more than a feature
isn't it just voice state change
I can stream when muted
I can unmute myself when streaming?
but then if I remute... no stream?
discord doesn't auto-stop the stream so does the checks on state changes
So is the stream not dying when the permission runs out a bug or feature/
Sounds like a bug
I get every other friday
and my wife on the other weeks
so every week
we get a big check or a little check
Many places don't get checks anymore
so paycheck is 🤷
I don't remember the last time I got a check
Steam is great
PS5 has cost you many experiences
Experiences 🙂
a headache is an experience
remove bad gif
the bunyans
no idea what the message is
so let's ignore that part
The better bunyan
AI wouldn't be so smooth
AI would be warping all the other features
!stream 1297071424992841859
✅ @humble idol can now stream until <t:1743432179:f>.
mornin chat
colorUpLim = np.array([(hue+10)%180, (x := saturation+50) if x <= 255 else 255])
i smashed my keyboard playing cod so now i type with this until further notice
!d numpy.where
numpy.where(condition, [x, y, ]/)```
Return elements chosen from *x* or *y* depending on *condition*.
Note
When only *condition* is provided, this function is a shorthand for `np.asarray(condition).nonzero()`. Using [`nonzero`](https://numpy.org/devdocs/reference/generated/numpy.nonzero.html#numpy.nonzero) directly should be preferred, as it behaves correctly for subclasses. The rest of this documentation covers only the case where all three arguments are provided.
yes
or inversed condition
The less code you write, the less maintenance you can do
so you're saving yourself future effort
colorUpLim = np.array([(hue+10)%180, x if (x := saturation+50) <= 255 else 255])
This the appropriate syntax
!d numpy.clip
numpy.clip(a, a_min=<no value>, a_max=<no value>, out=None, *, min=<no value>, max=<no value>, **kwargs)```
Clip (limit) the values in an array.
Given an interval, values outside the interval are clipped to the interval edges. For example, if an interval of `[0, 1]` is specified, values smaller than 0 become 0, and values larger than 1 become 1.
Equivalent to but faster than `np.minimum(a_max, np.maximum(a, a_min))`...
use this
you're reimplementing np.clip
@dire pebble
You can do whatever you like, but making code "legible" is infinitely more useful than making code "look cool"
It's OK, it's inevitable to learn this concept if you keep up with programming
I used to love oneliners
Made me feel so smart
but revisiting them
often left me feeling dumb
so I don't do that anymore
Then the Fire Nation attacked
And there was much steam
Imma vtake a look
U ← /=⊞<0.2_0.7 /+×⟜ⁿ1_2
I ← >⌵/ℂ: # Circle
u ← +0.1↧¤ ⊃(I0.95|⊂:0.5⇌°√)
A ← ×⊃U(I1) # Alpha
⍜°⍉(⊂⊃u A) -1÷÷2⟜(⇡↯2) 200
A stack-based array programming language
It's so insane they don't use the browser you use
I know
MADNESS
Next you're gonna find out we don't all drive the same make/model
i use google.com
clearly legibile
note: image is the result of the code, not a part of the code
if you use duckduckgo, you use bing ¯_(ツ)_/¯
Antarctica government clearly
i need help n python
#❓|how-to-get-help is a good bit of reading
k
betting ads in CSGO are truly something
Russian company advertising to Russian users with Russian actors and Russian memes
during a European tournament using English language
tmi
can anyone of ya help me immediatly
what do you need help with?
What is your issue?
it
the issue is i wanna have some condition be trigerred but it aint working it always triggered even if it is not supposed to be
We need a bit more context than that. Do you have a code snippet? @soft osprey
@minor flame Check the #voice-verification channel. That'll tell you what you need to know about the voice gate
print("hello user")
need= input("calculator(c) or weight converter(w): ")
if need.upper() == "C"or"CALCULATOR":
first = input("first: ")
second = input("second: ")
sum = float(first) + float(second)
print("Sum:" + str(sum))
print("done")
mood= input("do you wanna know your weight (y) or (n): ")
if mood.upper() == "Y"or"YES":
weight = float(input("weight: "))
unit = input("in kg(k) or lbs(l): ")
if unit.upper() == "K":
converted = (weight // 0.45)
print("weight in pounds:" + (str(converted)))
print("done")
else:
converted = (weight * 0.45)
print("weight in kilograms:" + (str(converted)))
print("done")
else:
print("okay and you're done")
elif need.upper() == "W"or"WEIGHT"or"WEIGHT CONVERTER":
weight = float(input("weight: "))
unit = input("is it in kg(k) or lbs(l): ")
if unit.upper() == "K":
converted = (weight // 0.45)
print("weight in pounds:" + (str(converted)))
else:
converted = (weight * 0.45)
print("weight in kilograms:" + (str(converted)))
print("done")
mood2= input("do you wanna add numbers aswell yes(y) or no (n): ")
if mood2.upper() == "Y" or "YES":
first = input("first: ")
second = input("second: ")
sum = float(first) + float(second)
print("Sum:" + str(sum))
print("done")
else:
print("okay and you're done")
here you go
have a look mate
Where is it failing?
I bought 8 because 9 is way too expensive for me
at least with the resell price
iPhone has a higher risk of not working in Russia currently
well where it says do you wanna know your weight
if it isnt yes or y the else should trigger but it proceeds to ask weight
I've got the 9, I'm not hating it
But I did go from a $100 motorola
presumably all the ads xiaomi phones have are paying for their low price
Sure, not a concern for most but if you are in country that could have that happen to you
I considered getting a Motorola phone of around the same price as the Pixel
China is another place that could start happening
$530 or so for a year of service + a phone, instead of my old rate of... 396 a year for service
and next year my service will be significantly cheaper, since I won't have a phone bundled into the price
due jelp me
help us help you
answer the question instead of repeating the request
🙂
then we can do more for you
Let him do his own homework
@rugged root maybe that's Spanish
being able to replace the OS in case stuff happens was the main priority, a good phone is just a bonus to that
out of recent phones seems like Pixel are the only ones that are available here
I prefer if thing in list
isntead of if thing == one or thing == two or thing == three
uppercasing is a bit more canonical given the history of character sets
you just remove a bit
i did give you what you neeed to help me
also this
I like if "yes".startswith(mood.lower()):
though probably a tuple or a set instead of a list
isnt what i wrote also work
No
""
Which is why is doesnt
also jus lyk even if you type ''w'' for weight conversion it still pulls out a calculator
ye that happens
!or-gotcha
When checking if something is equal to one thing or another, you might think that this is possible:
# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.
So, if you want to check if something is equal to one thing or another, there are two common ways:
# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
print("That's a weird favorite fruit to have.")
# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
print("That's a weird favorite fruit to have.")
check this out @soft osprey ^^
thanks mate am trying to do that wait and i will tell results
Should I have done ''?
No problem!
Or what do you mean
as in gets triggered by that
Oh wait what?
I guess that's not terrible if you want it as your default, though
Didn't think about that
'' vs ' '
Home defense?
With an AR15?
lol
Shotgun or a pistol...
maybe an SMG but that's just... lol
pick one or the other, enforce style automatically
More like CQ Offense
i see what he did there
Why is Microsoft shitty?
bro now it wont ask me if i wanna use the calculator after i chose the weight converter it just ends after telling me the weight
The 90's called, we foudn out then
not much has gotten better since
overall they've gotten worse?
~~developers ~~devopses devopses devopses devopses devopses
github, code stealing for AI
how generous of them
Ah
good raitonaly
No, I'm saying shittiness is shittiness
🤷
github is a nice tool though.
Microsoft is one of the biggest evils
Makes a good resource.
Codeberg is a good place just not for big commercial stuff
I'm legitimately asking, I haven't kept up with that
@sour imp they do it for AI not with AI
; _ ;
I'm not
so let's not use "everyone" because as mall subset
the vast majority of internet users are not scraping the internet
the VAST majority
And just because some people do not care about the standards an expectations, does not make it ok
no matter how big these assholes are
the "lesser of two evils" is such a strange way to justify terrible behavior
how about "say no to evil"
"maybe we should unSEO our websites"
When discussing shitty business practices
ChatGPT is very highly priced
yeah it worked thanks guys
Click here to see this code in our pastebin.
$200 is so much for a consumer!
expensive and not profitable => others are very unlikely to be profitable either
Because people won't pay $500 a month if it's not beneficial
And?
Everyone has outside investors...
all these AI startups]
fighting for funding
not from magic portals, from VC
how much of Chinese AI companies' finances are government subsidies 
Why should they not be chatting with us?
Scaling can be a bitch
that's where profits fall
If they haven't scaled to infinity
then it doesn't count for rabbit
Nope, it's impossible
Ton
you're wrong, he's right
that's it
There's no profitable unicorns
If you win the argument with Rabbit, you should be at work
lol
🍉
investors not caring about profitability during initial investment is quite a common thing
Generally why they need investors
No money
Gotta spend to make
scared money dont make money
Sure but if you have profitable AI company, investors should be lining up to chuck money at you to scale to the moon since current companies are losing money at insane rate
nothing bad with being late at adopting a technology
does china have the real ai
Deepseek was trained within China, but training data for it was questionably sourced
No one has real AI
So paying several people a few hundred k a year should be easy
since they're making a profit
This is madness IMO
What is madness
Your demands
and expectations
"Scale to the moon"
means not millions?
I imagine billions if we're to the moon
Scaling as in it seems to be beyond small business
Fancy autocomplete?
Close enough for discussion
Ok.
i personally dont thinks its ''better'' prolly just more modern imo i could be wrong tho
idk much abt ai
i wanna cry so hard rn
i had to spend 4 hours debugging code. at last realised i was using wrong endpoints.
@wind raptor @rugged root I think something has has gone wrong lmao
wtf
Someone took out role check?
@vocal basin !voice :L