#voice-chat-text-0
1 messages Β· Page 202 of 1
wazzup
@grizzled ruin π
hello
@somber heath are you austrailian
@wind raptor hi Chris
I am Australian.
how are you
hello
you are not chris
hi my name's chris
I'm also Chris
stop
π no im not chris
Opalmist writing Poem
hello Chris lol
Hey Chris, how are you doing Chris
im just fine thank you for asking chris π
π just have som fun bro
No problem bro, I was thinking about finding more Chrises and have a final Chris off.
it will be very difficult when someone need an chris s π
hi
hey
ok, lol
π
we can call you Chris too
learning about pyoxidizer currently, working on a project to compile my code so i can distribute it to my peers
anyone really good with using pyoxidizer here
Are you running into specific issues with it?
Please be professionalism
not yet, im still in process of installing it currently
Who asked?
Anything compiled Python is generally pretty rough.
@hasty blaze
?
@rugged root hello π
do not tag me
hello noodle
163839418623459330
this is \@ parrrate
i bought a new mouse today and it comes with a unlockable scroll wheel.... i have been spinning it like a figet spinner all day...
without space
\@ pinging, IMO, is fully broken
like, it should never do that
because it must be interpreted as text
Do you know the Chris you are looking for? Hemmy may be able to help
you dont know, which Chris kows
isnt its only perpouse for embeds?
this as exact text of a message:
\@username
that should not ping
but it does
and it should not convert to <@ > form
so your saying its a bug?
\@osyra42 = @obsidian dragon
it replaces, I think, on client-side
which one?
check this out. emojis get escaped too
with \ before < in message content ( not displayed because \< -> < )
razor basilisk v3
yes, because \ must escape the next character
<\@264054779888533515>
i like the general shape and size since my hands are big and i also play cs every now and then so its nice sensor helps
but also \π¦
except for code context
interesting that it doesn't come out as : raccoon:
removing + in the following makes both things turn into emoji:
β―οΈ + β―
dont like cs2 i presume?
ποΈ π ποΈ
i love it except for the fact you can't clear decals and slight server issues
I tried to run a cs2 dedicated server
it segfaulted
you can still host cs servers cant you?
i was about to say apex too lol
i know you can still play cs but not sure about its server situation
@rugged root titanfall2 one of the best campaign
if you want like story type of game, god of war is pretty good
#brg
(β―Β°β‘Β°)β―οΈ΅ β»ββ»
β¬ββ¬γ( ΒΊ _ ΒΊγ)
No Guard (Japanese: γγΌγ¬γΌγ No Guard) is an Ability introduced in Generation IV. Prior to Generation V, it was the signature Ability of Machop's evolutionary line.
introduce blocking code
explode the runtime
or unhide #voice-verification, so those verified can still point to it
for buttons it's not exactly edit, I think
("interactions")
but edit's still needed for a regular message to change content
and/or embeds
Tatsugiri (Japanese: γ·γ£γͺγΏγ Syaritatsu) is a dual-type Dragon/Water PokΓ©mon introduced in Generation IX.
While it is not known to evolve into or from any other PokΓ©mon, it has three separate forms: Curly Form, Droopy Form, and Stretchy Form.
Tatsugiri interacts with Dondozo in Double Battles via its signature Ability, Commander, and Dondozo's sig...
fi not allowed remove
Hello, everyone! It's Osyra, starting a new YouTube channel. I value your opinions and want to make sure I'm producing content that you enjoy. So, I've put together a quick poll to help me better understand your preferences. Your input will directly influence the direction of this channel, so let's get started. Please take a moment to share your thoughts!
https://strawpoll.com/w4nWrlLxdyA
Yeah but at the same time, for bigger projects Sublime kind of falls flat
i give you that
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
Bottom of the page is our list of sponsors
S
d
Card
in
your
hand
of
cards
that
is
going
in
the
new
computer
while
your
@noble pollen If you're wondering why you can't talk, check out the #voice-verification channel
@noble pollen ^^
@noble pollen thanks for ruining it
u pinged the wrong person
ups
@noble pollen If this continues I'm going to have to block your permissions to join. Please stop spam joining and leaving
help
me
i
fell
in
a
poop
of
mighty
wolf
mom
@noble pollen What do you need help with?
Do !voicevery in the #voice-verification channel
@rugged root ππΌ how'ya doing
Decent enough. Yourself?
xD
great, quickly check doc here and there, just manage to build cpython to 3.12 from source , and new dev env poetry , do you use that ?
don't tell em what they need to like
xD
put a ripe banana right into your favorite ear
It's true
says who?
Jesus
The game or the language
funnily enough i'm learning both but language is my current concern
also django knowledgable people are cool too
i've got an annoying problem when i load routes, it only finds them and allows me to use them as file name instead of dir/template.tmpl which i would prefer since i don't want name collisions for index.tmpl
I want to load a template templates/blog/index.tmpl with "/blog/index.tmpl". This is so that in the future, if I make more directories in templates/, I won't have collisions, as right now, I'm only able to load that template with "index.tmpl" in my view.
// main.go
package main
import (
"github.com/gin-gonic/gin"
"github.com/yoonthegoon/Blog/blog"
)
func main() {
router := gin.Default()
router.LoadHTMLGlob("templates/**/*")
blog.UrlPatterns(router)
router.Run(":8080")
}
``````go
// blog/views.go
package blog
import (
"net/http"
"github.com/gin-gonic/gin"
)
func Index(c *gin.Context) {
c.HTML(http.StatusOK, "index.tmpl", gin.H{
"title": "Home",
})
}
```tree:```
.
βββ blog
βΒ Β βββ components.go
βΒ Β βββ models.go
βΒ Β βββ urls.go
βΒ Β βββ utils
βΒ Β βββ views.go
βββ go.mod
βββ go.sum
βββ main.go
βββ templates
βββ blog
βββ base.tmpl
βββ components
βββ index.tmpl
another thing i'd like to be able to do is have base.tmpl in templates/base.tmpl. if i do router.LoadHTMLGlob("templates/*"), it panics that read templates/blog: is a directory.
not exactly sure how the gin router is meant to work to allow for this
Whenever i hear about go i get reminded of its unnecessarily overcomplicated importing system that i can still not comprehend to this day
@dusk raven
We enhance auto-regressive language models by conditioning on document chunks retrieved from a large corpus, based on local similarity with preceding tokens. With a $2$ trillion token database, our Retrieval-Enhanced Transformer (Retro) obtains comparable performance to GPT-3 and Jurassic-1 on the Pile, despite using 25Γ fewer parameters. Af...
Clothed sauce.
@gentle flint Sup
Goes well with turkey dressing
ποΈ
Night bud
Okay, the hell
Why is Python 3.10 not allowing me to install for everyone on the computer
hi
How goes it
hi
I do love pea soup. Although most of them have chunks of ham, I thought
well I'm making mine without chunks of ham
Erleben Sie erfrischenden Genuss mit Fortuin Wilhelmina Pfefferminz Bonbons - 24 Rollen. QualitΓ€t aus Holland. Jetzt sichern und genieΓen! - NiederlandeShop.de
Entdecken Sie puren Schokoladengenuss: De Ruijter Vollmilchschokolade Flocken (300g). Jetzt kaufen auf NiederlandeShop.de und verwΓΆhnen Sie Ihren Gaumen!
xD
Yeah I don't know then. I'm just going to assume I'm wrong until I can find otherwise
mint chocolate?
no chocolate
||s-lang||
I've read all this and I know at least what I'm doing now? Variables and Data Types
Control Structures
Functions
Libraries and Modules
Problem Practice
Small Projects
Study the documentation
Learn How to Debug
Python Community
Advanced Language
What's the next thing I should do?
object oriented programming, i.e. classes
It was just my fan making the noise hahaha
@whole bear programming books #pedagogy message
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
What'd I do
I've read all this and I know at least what I'm doing now? Variables and Data Types
Control Structures
Functions
Libraries and Modules
Problem Practice
Small Projects
Study the documentation
Learn How to Debug
Python Community
Advanced Language
What's the next thing I should do?
object oriented programming, i.e. classes
interesting
does it like replace your eyeballs to do that
@thorny hinge
Have you done all these so far?
Yes I have been reading this
im ready )
Yes, but I don't know how to apply it
Practice problems, small projects, like the list says.
What kinds of things have you tried or worked on? What kinds of things are you interested in outside of programming?
I m no understanding
Das booting
π
hey
!stream 456056298522279946
β @hasty blaze can now stream until <t:1697475781:f>.
the authentication can be better manned by mongo
i prefer women
amongo db
i prefer traps
o
{}
The syntax is really good
my_list[2][2]
Small list of my projects. Out of those, only currently making progress on 4. Barely
Yep, right there with ya
ive never made any project which is complex enough
You work your way up
Work on projects that are 3-4 hours in length,
Project Lengths:
- 3-4
- 8-12
- 20-25
- 30-50
- 50-100
- 100-300
- 300-900
==============
ect ect
thank you but ive just stuck on (2) for a really long time
soup
There are lessons to learn from each phase to reach the next phase
2-3 is the difference between planning a project for a day vs a week
Which is a huge difference
Celeriac (Apium graveolens var. rapaceum), also called celery root, knob celery, and turnip-rooted celery (although it is not a close relative of the turnip), is a variety of celery cultivated for its edible stem or hypocotyl, and shoots. Celeriac is like a root vegetable except it has a bulbous hypocotyl with many small roots attached.
In the M...
I can help you give yourself a project idea π
I am different from most of these fine folks in so far as I am super goal / career / money oriented
Like, most people here are like, "Just work on this."
I am like
"What do you want to achieve? Doing this project will help you achieve your goal."
The stronger of an idea you want to achieve, the better you'll become on working on the project that will help you achieve it
IMHO
Programming isn't about the money for me
i mean sure ill eventually get a job doing this but i dont do it for that
Money isn't everything. Goals exist outside of money
Which is why in my list of reasons I put 'goal' first π
Β―_(γ)_/Β―
If you don't have something you want to do, then you can just do whatever you want without consiquence
And so you don't have a problem
If you want to do something for a reason, then you have a goal, then you have to be focused on achieving that.
Personally if I don't have a goal, I'll go out and find one. Once you have one, then you move on to step 2 which is achieving it
You could consider completing the project on its own a goal.
Also this is the only way on how to frame your work and your life and there are no alternatives out there because everyone thinks like me all the tim <_ < /s
This a trick people do to themselves, the goal is the thing iteself, the problem with this is that you aren't informed at all on what the project is if ther goal is the project.
In some sense, a goal should be effort bounded, time bounded, and maybe a few other things.
But if your goal is the work, then when do you put down the pencil?
10 hours? 20 hours? 100 hours?
Usually someone who works this way will only stop working when they* get exhausted / demotivated / get interested in something else
But- if you think about why you want to achieve it, what you want out of it you get 2 things.
- What you want will define the scope of the project and if you aren't achieving it, you have a clear stated purpose and descrepency (your inability to achieve the stated purpose) that you can bring to someone and get direct help with.
- You work on your meta problem solving abilities and you will be better able to achieve things with your skills that you are building.
and for completeness
3. Once you have a goal that you are trying to achieve, you'll be able to get feedback from yourself on how well you are able to achieve it. This means you can get information on yourself for how you go through the process, pin-point issues, think about them, resolve them, then mark explicitly how well you are improving in your process .
i guess then the only other goal is completing the project in time
That could be a goal.
Ther are many many goals you can have. Some of the goals that are interesting to me:
- If you had the project complete within 10 seconds, what would you do with the project next? Are you going to make friends with it? Are you going to use it for another purpose?
- What specific skills are you trying to learn through the process:
2.1 Learn how to make libraries that are 3 nested classes deep through encapsulation
2.2 Learn how to put the project on pypi
2.3 Figure out how to setup pytest and do test driven development?
- Project Management goals
3.1 Can I achieve the work under a specific time
3.2 Can I prototype the entire code stack with classes / functions with bare descriptions and then code it?
3.3 Can I accurately predict how much time I will spend doing specific parts of the coding exercise?
@rugged root
python is same as playing the piano...
With more Key words
i want a giant dictionary - fully disclosing all about python language , so many hidden features
self motivation is important - but you know that
its good to have multiple projects - to diversify interest - your pic of projects shows that
teaching - learning models towards humans --- can be related to --- how to teach AI as example
good will - good
Very good movie
watch it every odd while
@whole bear
https://comb.io/TpOL0u
Dead Poets Society has destroyed a generation of educators.
And so President Kennedy says to Khrushchev, "Well, enough jawin'.
Reach for it, pilgrim."
And the missiles are, like, "Oh, praise Jesus!
Can I hear an amen?"
Hey, Macarena!
i wanted to use , tkinter as buttons and pygame for hi-res
is there a way ( function ? ) to get a tkinter window to stick to a pygame window ? @rugged root
Doing both?
Uhhhh
I don't know actually
Because they'd have their own event loops and stuff
teasip
hmmm 2 threads , gui loop , txt_speak , need threads
tkinter( console + buttons )--> socket ---> raspi---> MCU( tiny server code )
elon musk says( as a employers perspective ) , find a problem , solve it , when you do a interview , discuss your project how you solved it , ( because they are curious how you problem solve )
old news , yes
Oooooo
If he ever lost all his money and was having to play guitar on the street for tips
Elon Busk
doooooooh , ya
@oblique ridge ASP .NET is also huge
Granted this is just for repos, not company used
yeah i looked at the actual site itself and this is what i saw
also i got hella django postings and too many recruiters reaching out to me
Yep
Yea, that's probably public repos, so that probably includes a ton of 'hello-world' flask/django sites
For sure
@gilded rivet Was the one that was talking about it
FAAFO
ohhhhh ok thanks
They use pytest to test their hardware control units to make sure they perform as expected
for their autonomous vehicle
I hate my brain. FAAFO = Fart Always And Flee Often
oooh , neato pytest
Not in situ right? Just pretesting I would assume
there is also a tkinter module ? that you can simulate mouse clicks to test gui setups ?\
could I stream?
β @whole bear can now stream until <t:1697489180:f>.
awesome , Hemmy - thanks!!!
What's a Situ
push a button to a script rather than command line hell
from pyboy import PyBoy
def start_game(num_games):
pyboy_list = []
count = 0
for pyboy_list in range(num_games):
pyboy_list[count] += count
count += 1
count = 0
for _ in range(num_games):
pyboy_list[_] = PyBoy(gamerom_file='Pokemon - Red Version (USA, Europe) (SGB Enhanced).gb')
while True:
while count != 4:
pyboy_list[count].tick()
count += 1
count = 0
if __name__ == '__main__':
start_game(1)
Traceback (most recent call last):
File "C:\Users\plunk\Desktop\codedeck\pygame-codedeck\ai\main.py", line 21, in <module>
start_game(1)
File "C:\Users\plunk\Desktop\codedeck\pygame-codedeck\ai\main.py", line 8, in start_game
pyboy_list[count] += count
~~~~~~~~~~^^^^^^^
TypeError: 'int' object is not subscriptable
??
cant you direct a mouse click event to a window ID , if its not in focus ??
why count broke
Possibly, but I don't think that's specifically through autohotkey
in a month im finishing my python course
and i already have a pygame game ready just need some finish touches
How've you been doing in it?
me?
Yeah
wdym sorry for being kinda stupid
Oh like have your grades been good
yea i succided going from not understeanding the classes at all until last month to a game
Hell yeah
i just need to add a throwing motion and devide everything into classes and then im ready to go
ohhh hardware pics
hardware is trial by fire - box has 2 chips in it - very light

Who wouldn't be scared of those cables?
PoE comes from the switch
Can
Unless you get an adapter
all things possible with parts - POE @vivid palm
Switch with PoE required*
what is a poe
Power over Ethernet
ohh
Power over Ethernet
Putting electricity inside your data cables
It lets some devices get their power directly from the network connection, so they don't require an additional power cable
power box to left - tap some power
Oh god prop no
in my house the elecrisity is devided by 3 parts so it not possible
switch takes , how many dc V and amp ? , flea power
that is why i can have black out in some parts of the house
Do we have Buttons in the bot currently?
not sure
OH
!eval print("hello world")
@sweet lodge :white_check_mark: Your 3.12 eval job has completed with return code 0.
hello world
I know we have reactio- oh yeaahhhhh
Hmm?
Look what I got showed today
!e
with open('virus','w') as f:
f.write('X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*')
Hm, it looks like that file might've been a virus. Instead of cooking up trouble, try cooking up a Chicken Tikka Masala: https://www.epicurious.com/recipes/food/views/chicken-tikka-masala-51171400
What
Free recipes!!
Ye
I am so confused
DEFINTIELY want central management
CATV ---isolation RF transformer ---DSL modem----router ---- switch 1( 7 port ) , see all tidy
no need to confuse
just chicken
Fair
or both
your ladder is your passport
thinkpad
learn the guards full name , so if they - challenge you , your frank johnson ... they may go -- ohh ya
just say your the , payroll accountant
bedbugs suck
||You have GYATT to be rizzing me! ||
!source
bot/exts/utils/snekbox/_cog.py lines 13 to 15
from pydis_core.utils import interactions, paste_service
from pydis_core.utils.paste_service import PasteFile, send_to_paste_service
from pydis_core.utils.regex import FORMATTED_CODE_REGEX, RAW_CODE_REGEX```
music + caffeine ---promotes coding ( evil socket stuff )
I've tried doing this for a relay between Discord and a chatroom in Scratch
its like C
but everything is a void ptr
Like how to make a git repository?
@sharp minnow what do you think of this series? https://www.youtube.com/watch?v=A2dxjOjWHxQ
http://handmadehero.org is a project designed to capture and teach the process of coding a complete, professional-quality game from scratch.
could be fun, I've seen similar things on youtube, for instance one person made an entire OS that just runs tetris
For anyone interested this is the game I am working on https://store.steampowered.com/app/2596940/Isometria/ written completely in python using pygame-ce
Welcome to IsometriaEmbark on an epic journey into the boundless realm of Isometria, an isometric world brimming with awe-inspiring wonders. Immerse yourself in this procedurally generated universe, where every step unveils new biomes, unique creatures, and a treasure trove of craftable items.Prepare to face a myriad of formidable foes, includin...
Coming soon
slow loris
@lavish rover hyd bro
I'm alright, wby?
same here been awhile what have u been working on lately
Not much really busy with work
@hasty blaze No. You aren't entitled to an audience. We aren't friends. Your repeated unwelcome questioning has continued after and despite my unambiguous stated discomfort and requests for it to cease.
Boundaries. They exist. Now stop bothering me.
actually im not bothering u, you have started talking me, you dont let me speak even
I said hello.
Then you started up with the previously discussed behaviour.
So now I'm done.
ok
i said the reason, i always say "how are you".
if you dont like, u can just ignore it
i cant see any problem here
apparent targeting aspect of it is an issue
hello guys
I avoided it, said why I was avoiding it, then you attempted to bully me into responding to it, I asked you to stop, you kept on with it. I tell you you're bothering me, you tell me you're not bothering me and I should ignore it and you get upset when I do.
Am I missing anything, here? @hasty blaze
obvious even to a non-participant
Hello Alisa, thank you for your tips im learning a lot
what do you need then?
> not bothering
you're not the one to decide whether you're bothering or not
It's like I haven't already made that abundantly clear.
make it, then let me know thnks
literally written in the same message you responded to
I've already had this conversation with you in voice, but for the sake of the record, I'll say it here. I am uncomfortable discussing my personal state of being with you, and your repeated questioning of it, despite my stated discomfort, is unwelcome. So, stop.
I'd have been perfectly happy hanging out otherwise, but you took my reluctance to discuss myself as some personal affront to be overcome with bullishness.
Now here we are.
is everything alright with you?
@somber heath i could hear your voice in my head as I read that
!rule 1
1. Follow the Python Discord Code of Conduct.
@spice flicker π
@quick gyro @royal mauve π
Steve should appear with the sound from McPixel 3
@tired cape π
@somber heath hi
I opened the game to record it
recorded
closed the game
realised I didn't have sound capture on
Love it
fun game but "slightly" inappropriate
Sounds familiar
@unique anvil π
bro my mic
trilogy with two parts: 1 and 3
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
The untold story of the rise and fall of McPixel 2, the cancelled prequel to McPixel 3 which is not cancelled and is in fact launching November 14 on PC, Xbox and Nintendo Switch!
0 lines of code
1 failing test
β coverage
@vocal basin
formally, undefined
bro my mic parmition
defining coverage for tests that test future code isn't very easy either
not yet three days since joining
there is a meme in TDD community about >100% coverage
@whole bear π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@manic merlin π
Help me
How might I be of assistance?
Check the #voice-verification channel
!stream 132016351794561024
β @gritty garden can now stream until <t:1697552030:f>.
How?
It's clickable.
!charinfo β―β©β―
\u272f : PINWHEEL STAR - β―
\u2729 : STRESS OUTLINED WHITE STAR - β©
\u272f : PINWHEEL STAR - β―
\u272f\u2729\u272f
@stuck siren π
@somber heath this is not work
You don't meet all the requirements
@somber heath! Voicevrify
|
π₯Ή
:=
!e py print((a := 5)) print(a)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 5
002 | 5
I'm case you want to know
Look at you using Vivaldi
you can't tell
what's best nerd browser
emacs
is that sarcastic?
Ψ§ΩΩΨ§ ΩΨ³ΩΩΨ§
@rugged root requrement ?
The requirements are listed in the #voice-verification channel.
Kind of
It's very nerd
But I wouldn't recommend it
what commad ?
i guess no context
There's voice context
its a greeting in arabic
I'm bath, no voice for me today
hight security?
was watching this with wife today https://m.imdb.com/title/tt12635162/
funny
@cobalt cloak neat
i can't read, but neat
so do you know blender python?
!voiceverify
I can not
what is it
why
They don't meet the message requirement
ohh
oh
@obsidian dragon Wait, why is there a dollar sign next to "Phone Applications via Android Studio"
You can help me ?
that's a great question, you see long screenshot like to duplicate my sticky notes.
no
all things are free
can i get like a sky blue name for like 1yr in this server?
"free" gift
I'll try again in 3 mo
Gonna be the same answer
as for Nitro Booster role
https://http.cat/status/402
but that's not sky blue
closer to bright cyan or something
(greenish)
nice one
@iron horizon π
any chris here today ?
!stream 381154715293188106
β @dry jasper can now stream until <t:1697555709:f>.
@sour geyser π
yes
π
hey chris
sup Chris
So many Chris
Mr. Hemchris indeed
@proper peak Would you mind changing your nickname to follow our nickname policy? See #rules for details on that
Country singer Trevor Moore, a founding member of the Whitest Kids U'Know, details the surprising changes that have taken place in his life since same-sex couples were allowed to wed.
#StandUp .
Comedy Central Stand-Up: Anti-Bias Statement: https://www.cc.com/info/k32ti7/ccsu-anti-bias-statement
π π This is the guy from WKUK isn't it
what did i walk into
That it is, good sir
hi
Hello
pleaase,Can you active my voice?
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
pleaase,Can you active my voice?
Everyone needs to follow the same procedures to gain voice privilages.
Pretty
Actually that's not a terrible price
It has buttons!
Actual buttons!
Oh my god I thought people forgot how to make buttons
yeah it's very nice, I want one but I have a little keyring with usb drives on it for various recovery methods. So it doesn't feel like a warranted purchase
Yeah same. See if I can find the one I have...
Combine the necessity for a convenient way to store your data with your desire for a protective, elegant device. The all-metal Ultra Luxe USB 3. 1 Gen 1 flash drive delivers fast transfer speeds up to 150MB/s. (1) Spend less time waiting by transferring a full-length movie to drive in less than 3...
That's the one I have
my issue with those is that they're so smol
s-lang
How big do you need for something like that?
i have a collection of USB flash drives somewhere in my house that I can no longer locate.
No I mean physically small.
same
Sure, so are mine. They still walk away
My Chris is here)))
I really only use my right shift, and I press it with my pinkie, so I think a lot of the stress is from that.
For sure can be
emacs pinky
I'm doing like... online schooling now, and my primary hobbies are gaming and programming and stuff, so I really never leave my computer lol
what the fck is this
The keyboard I use
new Discord mobile soon
consume
!stream 737321460435124285
β @flint hill can now stream until <t:1697563894:f>.
Meet the 8BitDo Mechanical Keyboard. Packed with programmable keys and an intuitive control panel.Compatible with Windows and Android.
Be right back
zubba zubba ...
owning words opens you to litagation - depending on the sequence you utter ... just lettin' ya know..
litigation OR ligation .. all depending
!e print("checking")
!e
print('hello ')
@toxic arch :white_check_mark: Your 3.12 eval job has completed with return code 0.
hello
@gilded rivet.give_stream_perms(time = "endless")
i do not like speaking in calls
@rugged root what discord bot you making?
ah you gonna do slash commands?
nice
!warn 717749310518722691 Do not enter a voice chat and instantly start talking. It's disruptive to any conversations already going on. I've talked to you about this before. If you do not correct your behavior your speaking privileges will be revoked.
:incoming_envelope: :ok_hand: applied warning to @whole bear.
your speaking privileges will be revoked
hi everyone
Got it sorry
can you give me advice what a keyboard is good to buy?
dont get a imac keyboard
for gaming and code
that is true, but not the imac
i`ve got terrible keyboard "Aula Fireshock V5"
honestyl @storm heath my keyboard is worst
its a mebrane fake look like gaming keyboard
the keys are rubbing off already
and it works fine
i can`t write fast with this keyboard
because of keys
like this "gh or uy" when i printing it one time
cya
Damn.... poor keyboard
I try to avoid hitting the space button in the same*place when possible. Had it break on one side years ago..idk how
you should of seen my old keyboard...
it used s-lang style?
Is there a budget for getting certifications?
@somber heath sortof like this, right?
If I had eight hours to chop down a tree, I'd spend six sharpening my axe
-- Abraham Lincoln
yeah, quote is slightly dated
π₯ Watch all the P99 CONF 2022 talks here: https://www.p99conf.io/
ools -- things used to make other things -- are at the very core of our humanity. But despite a charter to make things, engineers are too often discouraged from making their own tools: time spent on tooling is viewed as regrettable distraction rather than essential endeavor. This...
@somber heath s-lang
What about it?
best language?
everything
it does everything
remake gtav if you want in s-lang
make a OS in s-lang
operating snake
> S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software.
why is "multi-platform" mentioned twice
this reminded of Prolog for some reason
i = where (hypot(X,Y) <= 1);
X = X[i];
Y = Y[i];
though in this case it's mutable, which is wierd
so actually closer to numpy
in numpy it'd just be this, I guess
i = np.hypot(X, Y) <= 1
X = X[i]
Y = Y[i]
if X and Y are one-dimensional
s ('s+8 s+5 s+12 s+12 s+15 s+0 s+23 s+15 s+18 s+12 s+4 s+27')
my internet is shit
My headache cleared up. I think I'm going to try to get that 1 hour of sleep before I have to get ready for school. cya
goodnight
sup
@leaden garden , @turbid sandal hello
how are you doing
im learning python sets what about you?
learning express is js
yup
why are you learning js?
aha
nice
i learn python becouse im going to become a devops
basically developing programs and managing servers
nice
rn i am just a teen doing coding for fun so that is the reason for the reason if gave for learning python
hope you got it
it seem more complex than it should be
yeah but my recommendation to anybody new to coding is to learn python as a second language
it makes it more easier
and having expertise in python is very useful
and on the advantage side you got a hold of another language as well
@somber heath , @vocal basin hello
how are you doing
as expected from Lisp
meanwhile I don't get to see anything more visual than this
at least whatever I'm doing seems to work
@leaden garden π
yo
who are you?
what?
no
ye the music
are u a programmer?
ok
what languige
python language
for what?
what do u use python for
aha
im making an dog dating app
"DSA" for me still associates only with two cryptographic algorithms
actually its like a face smash you chose between two dogs which one is the cutest
"also could be about determining how dated the dog is"
it has some bugs im currently fixing
@whole scarab π
yes
swipe right or left
what should app be called?
TinDog?
Tinder + Dog = TinDog
dog 4 you
ok
I remembered Wobbledogs
funny game
they mutate from time to time
@woeful steeple π
game is called Wobbledogs
!d multiprocessing
Source code: Lib/multiprocessing/
Availability: not Emscripten, not WASI.
This module does not work or is not available on WebAssembly platforms wasm32-emscripten and wasm32-wasi. See WebAssembly platforms for more information.
class concurrent.futures.ProcessPoolExecutor(max_workers=None, mp_context=None, initializer=None, initargs=(), max_tasks_per_child=None)```
An [`Executor`](https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor) subclass that executes calls asynchronously using a pool of at most *max\_workers* processes. If *max\_workers* is `None` or not given, it will default to the number of processors on the machine. If *max\_workers* is less than or equal to `0`, then a [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) will be raised. On Windows, *max\_workers* must be less than or equal to `61`. If it is not then [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) will be raised. If *max\_workers* is `None`, then the default chosen will be at most `61`, even if more processors are available. *mp\_context* can be a [`multiprocessing`](https://docs.python.org/3/library/multiprocessing.html#module-multiprocessing) context or `None`. It will be used to launch the workers. If *mp\_context* is `None` or not given, the default [`multiprocessing`](https://docs.python.org/3/library/multiprocessing.html#module-multiprocessing) context is used. See [Contexts and start methods](https://docs.python.org/3/library/multiprocessing.html#multiprocessing-start-methods).
don't forget this:
if __name__ == '__main__':
very important for multiprocessing
so main process can differentiate itself from subprocesses, in some sense
(just to make sure main process code doesn't get executed in subprocesses)
OpenCL is pain
CUDA is pain but one that's abstracted away by torch and tensorflow
and whatever else
code
(not in an easily controlled manner)
it indeed does do fork-bomb
or at least something similar
Windows 10
not real fork
seems like it infinitely retries instead of recursing
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
memory usage seems constant, so not as bad as it could be
it just gets stuck
!e ```py
import multiprocessing
def target(arg):
return arg * 2
def main():
data = [1, 2, 3]
with multiprocessing.Pool() as pool:
result = pool.map(target, data)
print(result)
if name == 'main':
main()```
RuntimeError: can't start new thread
yeah @somber heath got it
going thru docs
I'll be back
after I have fully understood
use persistent message queues
if message loss is a concern
as for implementing those, look into how Mnesia (backend RabbitMQ) and ZFS are implemented
one of ZFS principles being that data is never in a corrupted state
that can be applied to less complex systems too
make sure any intermediate state is not considered corrupted
what does "moved incorrectly" mean?
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
is there a persistent storage that might end up in an incosistent state?
like a file or something
@karmic obsidian system sounds
coming through mic
for downloading, you can track how long a valid prefix is
(storing it as a temporary file, for example)
you can make snapshots a fundamental building block for the storage mechanism
which often implies append-only storage or something adjacent to it
simplest option: log as a database
set;key1;value1
set;key2;value2
set;key1;value3
does not handle crashes well on its own
as in, it's not guaranteed to be consistent in its entirety always
but any consistent state will be present in it forever
downsides:
- cannot delete data
- no way to figure out if a state is considered consistent
latter can be fixed:
set;key1;value1
set;key2;value2
commit
set;key1;value3
commit
set;key2;value4
in this case last line isn't used when reloading, because it's not followed by "commit"
@somber heath say somethin
Would you like a stick?
Jesus
it is a flag of
something
Rissau
These are new to me
"I'll just think your brain erased this memories as something too wrong to remember"
I don't know, I remember all the things I"VE done wrong
like peeing in the shower
Epissiency
ffi is ligatured in some fonts
python broke on archlinux lol
it seems like i cannot import any python package installed using pacman
is python's import path a environment variable?
pythonpath
pip and venv are okay
"let's end there"
why?
Donβt? Use venv or docker
because of having to reinstall everything?
or because of the need to activate?
docker is just uhh
Docker is just working
turns out esp-idf was messing with the python env
!e
1/0
@rugged root :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | 1/0
004 | ~^~
005 | ZeroDivisionError: division by zero
!e
beef = 5
ham = 0
try:
spam = beef / ham
print(spam)
except ZeroDivisionError:
print("Dude, you can't divide by zero dude.")
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
Dude, you can't divide by zero dude.
!e
int('four')
@rugged root :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | int('four')
004 | ValueError: invalid literal for int() with base 10: 'four'
input:seven
output:7
{'one': 1, ...}.get(ticket.strip().lower())
@rugged root which is better for venv the default one , pipenv , poetry ?
That depends, they're different
ye feature wise different aren't do the same thing tho?
Not really. venv is only making a separate Python environment for your project. Things like pipenv, poetry, and pdm are managing your project as a whole
It gives you a way to read the project requirements from a file and install them. It also lets you set up scripts, handle any dependency conflicts, things like that
then shouldn't pipenv better ?
All those other ones use venvs
They're not mutually exclusive per say
When you set up a project using pipenv, poetry, or pdm it'll typically create a venv for the project so you can work from it
I personally prefer pdm
But that's a matter of taste
For the pydis projects we use poetry
!stream 939196353362419722
β @whole bear can now stream until <t:1697642098:f>.
Yep yep yep
NUMBER := (THOUSAND|HUNDRED|DIGIT)*;
DIGIT := "one"|"two"|...;
HUNDRED := DIGIT "hundred";
THOUSAND := DIGIT "thousand";
is indexing a bytes faster than indexing a str?
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.12 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
Hello Hemlock
some assembly languages have a notion of functions
but there only ret is what is important
everything else basically just goto label
ahh theres no .map in python
There is a map function
!d map
map(function, iterable, *iterables)```
Return an iterator that applies *function* to every item of *iterable*, yielding the results. If additional *iterables* arguments are passed, *function* must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see [`itertools.starmap()`](https://docs.python.org/3/library/itertools.html#itertools.starmap).
And numpy I believe has map for some of its objects
no i mean
let x = Some(10);
let x = x.map(|v| v + 10);
monadic map -- no
That's not very common is it?
it is common

