#voice-chat-text-0
1 messages · Page 987 of 1
Flat
I don't like the trackballs that use the middle or index fingers
Self respect?
And I don't like the staggered keys
I did theater. I gave that up self respect YEARS ago
exactly they used to have this in my city
it is still in NY
wait you use ortholinear or something?
o-o
they also tour, and there are other non-improve everywhere groups.
@woeful salmon Dis one
Hi Noodle 🙂
ah no that makes sense as its more comfortable
this doesn't
and hello 🙂
perhaps we should talk to car companies about including air sensor in new EV sales, that send data to government repositories.
that is an interesting idea
Tesla and Rivian would probably love it
although the problem is they're incentivised to generate bad data
that exaggerates things
maybe...
Yoghurt yoga. Don't ask.
Tesla already comes with high quality air filters and plays that up
so they're definitely incentivised to say "look, the outside is going to kill you, you need a car with one of our filters"
Goat Yoga is a fitness trend that is sweeping the nation like wildfire. It involves the primary focus of yoga with the unexpected distractions of adorable goats that come up to you, nuzzle you, and even climb on you during your yoga practice. If you have never tried it, you're in for a treat!
I thought you said goat yoghurt. @rugged root
Goatgurt
Goatyard
So many cloudflare authentication error's
I have never seen that before
are you using a cookie blocker? That shouldn't be it, but technically could be
@rugged root wanna see a python weird result?
Of course
sure 😮


come to voice-1 maybe? its a weird i need to stream
rekt
yeah pygame method to get rect from surface
I'll look in a sec, dead
sure
Trying to get a program resolved
u wanna join me in?
sure
Preauxgramme.
!stream 411031233364099072
✅ @cosmic lark can now stream until <t:1646406662:f>.
@molten pewter I'm in a work meeting for an hour, then I need to do something quickly, do you want to work on datawebsite then?
yup
f(x) = mx + b, but m is -./-1
What's a datawebsite?
Imaginary number is when you times by i
a website that has data on it
4+3i is an imaginary number
B-But.. every website transmits data!
x^2+x+1 = 0
@zenith radish did you make a repo for the webrtc thing btw? 🙂
Y=b+mx where x is i
Math is weird. Maths is better!
math's complex
We didn't do much work after you left, I'm thinking I'll make a public repo once we start making the discord clone
Do you feel like doing the thing?
sure! 🙂
Real numbers: from -oo to oo
Imaginary numbers: from -oo(i) to oo(i)
Complex numbers: numbers in the form a + bi, where a and b belong to the real numbers.
Lemme brush my teeth and put some clothes on and let's do it!
Actually let's have fun and start making the discord clone 😄
@woeful salmon you'll have to help me with the python aspects of it 😄
sure 🙂
lets goooo
vc 1?
Weight loss plan: Join Team Rocket, and blast off again to the moon!
I have started to say "maths" and "sport"
I don't know how I feel about that
You can feel patriotric!
BUT! You can also write a complex number in the form a(eᵇᶥ)
where 'e' is the Euler Constant
a*(e^bi)
Pronounced as Oil-er
Happy Pi Day from Carnegie Mellon University! Professor of mathematical sciences Po-Shen Loh explains why Euler’s Equation is the most beautiful equation in math. The video was filmed as part of a pi and pie discussion with CMU alumna, baker and blogger Quelcy Kogel (A 2007). For more: https://youtu.be/2sC1-DXT9Oo
πi
e + 1 = 0
e = mc**2
Ever been to Oirope?
πi
e = -1 <=> ln(-1) = πi
e^(i🥧) + 1 = 0
logarhytme naturel
Do you require assistance?
Just pip install it
py -m pip install checkfactory
I had to get a Zebra printer driver yesterday
To download the driver, I had to create an account.
On the account form, email, phone, company, size of company, address, were all required
And copy/paste was disabled
Why
Which also broke autofill
For the joke that Chris, Shen, and I were talking about
Oh are you gonna install it
CheckFactory is for printing out MICR checks through Quickbooks
Like, I haven't memorized my new work phone number yet
Just let me autofill it dammit
pip install checkfactory as a joke
And no, it's not a Python library
Not with that attitude
There is a level between bachelor and masters?
I never knew that honestly
most PhD programs here you can leave after 2 year w a máster degree
It's still weird to me that you can skip a Master's and go straight to a PhD
master is the between bachelors and post doc imo
I mean in medical school you can move from a B.S. straight to a 4 year post graduate MD. Is there a tech equivalent degree?
Still here, just trying to wrap up some stuff that has me hiking across the office
I'm upset for not thinking of this pun earlier. Avocado's Number
I think we should change server location to USA East imo, currently in the netherlands and I think I am the only person here from europe
wonder who was here first lmao /s
Yeah, he was SAS
Edward Michael "Bear" Grylls (born 7 June 1974) is a British adventurer, writer, television presenter and businessman. Grylls first drew attention after embarking on a number of adventures, and then became widely known for his television series Man vs. Wild (2006–2011). He is also involved in a number of wilderness survival television series in...
for i in range(10):
so my i start from 0 and runto 9
Right
range(stop) # start=0, step=1
range(start, stop) # step=1
range(start, stop, step)
@tidal shard https://www.youtube.com/watch?v=XpVfNRB3ryU
All Rights belong to their respective owners.
!stream 588068033415741525
✅ @molten pewter can now stream until <t:1646413465:f>.
if step > 0:
conditional = (lambda value, stop: value < stop)
elif step < 0:
conditional = (lambda value, stop: value > stop)
else:
... # error is raised
value = start
while conditional(value, stop):
yield value
value += step # negative step still works
@wind raptor how can i check if a number is dividable by 3 in a range of 100 and then find the sum of all the numbers that are dividable ?
i can do the 1st part but not the 2nd
i tried appending them to a list but than what
it sounds easy but holy moly
So... you want the sum of all numbers between 1 and 100 that are divisible by 3?
Yep
What was your solution?
do a for loop if num % 3 == 0:
append it to a list
then use the sum on the list
i got stuck on the list part and didnt know what to do i just had a list of numbers
can i get help in Code/Help
!eval
print(sum(i for i in range(1, 101) if i % 3 == 0))
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
1683
It works!
👋
👋
reverse-shenanigans lol
Wait... that's illegal
In Soviet Russia, vincent wave you!
@ionic ferry Sorry, coworkers back here chatting
got 1683 as well
thank you for being there 😊
So when it comes to Async stuff, everything has to be a part of the broader async event loop
Any async functions have to be called and added into the loop as coroutines. So what was the part you were asking about getting information out?
We also have #async-and-concurrency @ionic ferry
👍
Yarp
Love that guy
fixerror
whats the difference between async and threading
!stream 440959117717274624
✅ @vocal coyote can now stream until <t:1646415184:f>.
Let’s take a simple analogy; you have a friend, and you decided to make dinner together.
Async is when you say to your friend, “You go to the store and buy pasta. Let me know when you get back, to make dinner together. Meanwhile, I’ll prepare sauce and drinks.”
Threading is, “You boil the water. I’ll heat the tomato sauce. While the water is boiling, ask me and I’ll put the pasta in. When the sauce is hot, you can add cheese. When both are done, I’ll sit down and you serve dinner. Then we eat.”. In the threading analogy, we can see the sequence of “When, Do” events, which represent the sequential set of instructions per each person (thread).
Async is meant for handling I/O processes
To be honest, I don't really understand it
Reading or writing to storage, website requests, etc. Things that would have a delay
I only use it because Rust and FastAPI make me
Threading is for spreading the workload across different threads in order to do more work simultaneously. Although in Python it's....
Tricky
dude why is your profile pick so aggressive
Python has what's known as a GIL, or Global Interpreter Lock. It means that Python can only run on a singular process (unless you're using multiprocess, but that's a different matter
It's all the caffeine
ok i will defo look into it more thanks for all the help
✅ @ionic ferry can now stream until <t:1646415463:f>.
gtg, thank you!
!e
def foo(*arguments):
for arg in arguments:
print(arg)
foo(1, 2, 21,2, 1, 12, 123123)
@ionic ferry
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
003 | 21
004 | 2
005 | 1
006 | 12
007 | 123123
How my day is going
I wouldn't be able to resist the urge to fix the capitalization
I saw that and now deliberately merged the PR just because I’m chaos god
Also I don’t want to run down new approval
Bicep doesn't take resource group IDs?
That's stupid
So, dictionary lookup returns a DictionaryValue<String> instead of a String?
👋
It does but you cannot look them up programmable
!warn @rugged root - talking about playing with meat in front of the children
-what did I run into?
@rugged root - [...] the IT guy that's here"
You're the IT guy that's there
Ohhh
Got it
Depends. Are you happy about it?
Hi Mr Hemlock Sir...
How are you doing...
You guys want a ps5? I can give u like 5 lol
I'm alright, you?
Good good...
I can get ps5 for retail price
2 years^*
No profit on ps5 anymore in Canada
They will not add ps5 pro till next to 2 years.
I hate the new controllers
they suck
😂
They are like xbox controlllers
Its tooo big for my hands
my hands are tiny the ps4 contreolers are so nice
lol
yes
lol
ya i have both rn
Oh yeaaaaaaaaa
soo good
lol
it was double the size
lol
look at the comparison
so stupid
lol
if len(student_number) == 6:
if student_number[0] == '6':
print('Grade 9')
elif student_number[0] == '7':
print('Grade 9 or 10')
elif student_number[0] == '8':
print('Grade 10 or 11')
elif student_number[0] == '9':
print('Grade 11 or 12')
else:
print('invalid')
elif len(student_number) == 7:
if student_number[0] == '1' and student_number[1] == '0':
print('Grade 12')
else
print('invalid')
else:
print('invalid')```
@rugged root do u know why this isnt working?
It making me go insane
im gonna loose my brain cells cause of this stupid thing
i checked everything, it looked fine....
uhh
syntax
OMG
FFS
IMMA shoot myself
😭
This is so stupid
now it works
lmao
for me not....
oh no it works now
i found it
vscode
its good i see it now
the suggestion
thanks.
I spent a stupid 2 hours
just to find that
Are you kidding...
I had to change the code like 10 times
lol
Sir Hemlock, do u have a mackbook?
You dont like macks?
jw
Yea thats obv
how about speed wise...
cause of the power
and battery?
for laptops
only
cause mackbook air is 18 hours free charge which is nuts
but the issue is the price
the air is actually not bad with the m1 chip for the air
1300 CAD for m1 air
which is nice...
yea makes sense
what laptop would you prefer for windows?
sure.
if u dont mind....
windows right?
okok
manjaro?
yea i know lol
linux right
that thing
yea yea
did u send the laptop?
how big is it?
Looking for a 14"
oh t
lol
hp?
;-;
pavillion on top
;-;
and allin one
;-;
how much u get it for?.
ram?
8gb im assumining
u can add more ram or no?
u probably can
for u
have u ever had asus?
no way
what?
i have the asus zenbook 14
for like 4 years
still 10 hours of battery
;-;
yea i have it
BUT
the issue
is they dont manufactuer it anymore
;-;
theyt completely stopped
cause i have the touchpad is a screen too
so its 2 screens
in one laptop
its really nnice for multi tasking lol
and its 4k vid
on it ill show u a link
idk if they sell it still
this is exactly what i have
no u can change it tho
to normal
lol
its normal
same thing
its nice
otherwise never would get it.
i think its 13 inch
just realized lol
i have warranty on it, so basically any issues they send it to the center then if they can fix it they willl and send it back otherwise if they cant they will pay back exact money paid on credit... so i am planning to use the warrinty to get a new laptop, but I am not sure what laptop I should get... cause I love the laptop Im using however they dont have a more powerful one, I was looking for a 30 serries laptop with i9 11th gen laptop zenbook with dual screen 13-14 inch but there is nothing on the market. So now I am deciding to move to OS cause of the M1 power and maybe get the Macbook Pro M1. So now I dont want to switch to OS cause it will take along time to transfer all skills and learn all new concepts to the MackBook Pro, so now I am thinking of getting a laptop for Windows and was deciding for the Zephryus G14 this one, https://www.bestbuy.ca/en-ca/product/asus-rog-zephyrus-g14-14-gaming-laptop-grey-amd-ryzen-9-5900hs-1tb-ssd-16gb-ram-rtx-3060-win-10/15264488. But the issue is there is no camera and I am scared of the overheating isse and battery due to how much power it will use. So now I am unsure which laptop to get and might get the Mackbook Pro 14" cause of the power and battery life, if there was a laptop that had enough power, battery life, and all those feautures, not only will I buy it, I recommend it to majority of society. Thanks for reading my essay lol. Gimme ur opinions on what laptop to get and choose. Thanks 🙂 @rugged root
I'll have to look at the options later
Got some stuff at work that's going to take me a bit
No worries, take your time! Enjoy your day 🙂.
dell bad
I have a dell laptop that's still alive after 6 years
if there_exists(["capture"]):
images = []
for image in images:
if not image in images:
numimage = len(images) + 1
print(print(image + " is not in array"))
images.append()
else: print("this image already exist")
if camlist:
cam = pygame.camera.Camera(camlist[0], (640, 480))
cam.start()
time.sleep(2)
image = cam.get_image()
pygame.image.save(image, images+".png")
else:
print("No camera")
@tidal shard :warning: Your eval job has completed with return code 0.
[No output]
if image not in images
if there_exists(["capture"]):
if camlist:
cam = pygame.camera.Camera(camlist[0], (640, 480))
cam.start()
time.sleep(2)
image = cam.get_image()
images = []
for image in images:
if image not in images:
numimage = len(images) + 1
print(print(image + " is not in array"))
images.append()
else: print("this image already exist")
pygame.image.save(image, images+".png")
else:
print("No camera")
images.append(pygame.image.save(image, numimage+".png"))
but power wise...
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
Reminds me of:
yeah
Yep
:ducky_psy: gangnam style
attempt = 3
def welcome(username):
while True:
username = input("What is your name? ").capitalize()
if username.isdigit():
print("No numbers")
continue
elif len(username) >= 14:
print("Name is too long!")
continue
else:
print(f"Welcome to Python movies, {username}. You will be proceeded to the ticket venue now")
break
"""""
This while loop confirms if the user is legal to watch movies and what movies they can see
"""""
while True:
try:
age = int(input("What is your age? "))
except ValueError:
print("Value is not valid!")
else: # If everything is valid with the value then the while loop will run
if age <= 13:
print(f"You are not old enough! You have {attempt} attempts left")
attempt -= 1
if attempt < 0:
s.exit("Too many invalid tries!")
elif age >= 13 and age <= 18:
print("Welcome to the movies!")
print("You are allowed to watch R15 movies!")
welcome(name)
break
else:
print("You can watch every available movie!")
welcome(name)
break
attempt = 3
def welcome():
while True:
username = input("What is your name? ").capitalize()
if username.isdigit():
print("No numbers")
continue
elif len(username) >= 14:
print("Name is too long!")
else:
print(f"Welcome to Python movies, {username}. You will be proceeded to the ticket venue now")
break
"""""
This while loop confirms if the user is legal to watch movies and what movies they can see
"""""
while True:
try:
age = int(input("What is your age? "))
except ValueError:
print("Value is not valid!")
else: # If everything is valid with the value then the while loop will run
if age <= 13:
print(f"You are not old enough! You have {attempt} attempts left")
attempt -= 1
if attempt < 0:
s.exit("Too many invalid tries!")
elif age >= 13 and age <= 18:
print("Welcome to the movies!")
print("You are allowed to watch R15 movies!")
welcome()
break
else:
print("You can watch every available movie!")
welcome()
break
good strings to test with
Khan Academy is always pretty good.
If you want to understand logarithms, get a slide-rule and use it to do calculations.
I've yet to have tock as a tic. If I ever do tic tock, just take me to the farm.
Oh god
"Pappa, where's Opal?"
"He went to live on a farm, sweetie."
jfc he's an idiot
vending machines
voting machines.
vending machines
That's what we do in the UK too 👀
Voting is centuries old, why can't we move with the times and use our phones, tablets and computers? Tom Scott lays out why e-voting is such a bad idea.
More from Tom Scott: http://www.youtube.com/user/enyay and https://twitter.com/tomscott
http://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edit...
if good_canditate_vount_count < bad_canditate_vount_count: implement_corrective_action()
hello @leaden comet 
is c# and python the same?
No not really.
ok tks
its called Dissension, like when a major part of your support leaves, ie a union.. fire dept, police, public workers etc
itf they dropped a nuke would that be war crime?
if not shot
Seems pretty hot tbh.
hot tubs are nice, just not very economical
no
Yeah... steak
@leaden comet Do you do coding interviews?
yep!
Coding interview's make me nervous then I mess up the interview
Oh same here
@woeful harness https://automatetheboringstuff.com/2e/chapter13/
and if you can, https://www.xlwings.org/ is even better than openpyxl
https://realpython.com/openpyxl-excel-spreadsheets-python/ is also a good source
also for "copypasting stuff onto a website", Selenium is a good tool. https://realpython.com/modern-web-automation-with-python-and-selenium/
https://www.pythondiscord.com/resources/ lots of good stuff here, by the way
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.
Causal flex
looks better than my most recent attempt at vue
took a few revisions, no SPA here either
it's all just python and plain javascript
and a little jquery
cries in TypeScript
👍
TypeScript is great
ever tried Deno?
No
Deno is basically a rewrite of Node.js, but much better. Basically, Ryan is going "Let's try that again, but get it right this time"
And it's written in Rust and has the same standard library as Go.
Yeah, I know what it is. Even watched a talk where he introduced it and described the reasons behind creating it
I just haven't found a reason to use it yet
lol
I really like just how similar Opine is to FastAPI.
import { opine } from "https://deno.land/x/opine@2.1.2/mod.ts";
const app = opine();
app.get("/", function (req, res) {
res.send("Hello World");
});
app.listen(
3000,
() => console.log("server has started on http://localhost:3000 🚀"),
);
.bm whaaaat excel stuff
The bookmark thing 😄
I will allow it
Are you allowing stoning?
lol
thou art a merciful server owner
that's true.
good night, @willow light
Really sorry about my lateness, but what book are you guys talking about?

Oooh real interesting, i think you should do it.
AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.
Thank you
What book?
Is it How to Automate the Boring Things?
Do you guys prefer books or taking courses
Automate the Boring Stuff with Python by Al Sweigart
!eval ``...
@rugged tundra :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: object of type 'type' has no len()
!e python print(2+4)
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
6
param webAppName string = uniqueString(resourceGroup().id) // Generate unique String for web app name
param sku string = 'S1' // The SKU of App Service Plan
param linuxFxVersion string = 'php|7.4' // The runtime stack of web app
param location string = resourceGroup().location // Location for all resources
var appServicePlanName = toLower('AppServicePlan-${webAppName}')
var webSiteName = toLower('wapp-${webAppName}')
resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
name: appServicePlanName
location: location
sku: {
name: sku
}
kind: 'linux'
properties: {
reserved: true
}
}
resource appService 'Microsoft.Web/sites@2020-06-01' = {
name: webSiteName
location: location
kind: 'app'
properties: {
serverFarmId: appServicePlan.id
siteConfig: {
linuxFxVersion: linuxFxVersion
}
}
}```
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.4.1272.37030",
"templateHash": "3518010280110305213"
}
},
"parameters": {
"webAppName": {
"type": "string",
"defaultValue": "[uniqueString(resourceGroup().id)]"
},
"sku": {
"type": "string",
"defaultValue": "S1"
},
"linuxFxVersion": {
"type": "string",
"defaultValue": "php|7.4"
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
}
},
"variables": {
"appServicePlanName": "[toLower(format('AppServicePlan-{0}', parameters('webAppName')))]",
"webSiteName": "[toLower(format('wapp-{0}', parameters('webAppName')))]"
},
"resources": [
{
"type": "Microsoft.Web/serverfarms",
"apiVersion": "2020-06-01",
"name": "[variables('appServicePlanName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[parameters('sku')]"
},
"kind": "linux",
"properties": {
"reserved": true
}
},
{
"type": "Microsoft.Web/sites",
"apiVersion": "2020-06-01",
"name": "[variables('webSiteName')]",
"location": "[parameters('location')]",
"kind": "app",
"properties": {
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('appServicePlanName'))]",
"siteConfig": {
"linuxFxVersion": "[parameters('linuxFxVersion')]"
}
},
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', variables('appServicePlanName'))]"
]
}
]
}```
🔥Edureka Microsoft Azure DevOps Solutions Certification (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎"): https://www.edureka.co/microsoft-azure-devops-solutions-training
This Edureka live video on "Azure DevOps Tutorial" will give you a brief introduction on how you can implement DevOps practices on Microsoft Azure.
Following topics are covered in this live session:
1....
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
feedsToUse: 'select'
vstsFeed: 'my-vsts-feed' # A series of numbers and letters
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '--configuration $(buildConfiguration)'
displayName: 'dotnet build $(buildConfiguration)'```
Have a good night 👋
Good night
@zenith radish you have to teach me gRPC
in python
How do I know to code in python
Study and repetition. Fuel this with the sense of pride and excitement at what you can create.
Get yourself situated by watching Corey Schafer's Youtube playlist for Python beginners.
I also read through the downloadable pdf version of the documentation at python.org.
Once you've built your foundational knowledge, you can build on top of it.
You'll have a halfway decent chance of being able to use things you haven't seen before, such as other modules, with less hassle, this way.
Thank you
In this piece of code the <p> and <br/> HTML tags create paragraphs and line breaks in a web page. Using these tags allows you to change the way your text displays. They areuseful ways to create sections. Don’t forget that the line break tag is a self-closing tag. Very interesting In reading
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
test
can't talk
so sad
aww
u guys sound great
oh ya thats all the 12 year old kids
haha understanable
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
so no way to speed anything up?
unlucky 😦
they should give u a coding test
I have to wait 3 days though 😦
ah ok
ah ya sweet
@sour imp https://youtu.be/NlfxOU3zTiA
Provided to YouTube by iMusician Digital AG
Deadly Aminals · Scared Weird Little Guys
Enough Already
℗ 2010 John Fleming/Russell Berther
Released on: 2011-01-06
Auto-generated by YouTube.
!voiceverify
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i cant talk lol
brb bro my mic is glitching idk
Retro looks so good
mic no worky on arch ;(
👀 to me they all look bad... i'd much rather have plain black / dark grey with white letters
I had this issue on both arch and void linux, for some reason I needed to play a youtube video then fully restart discord and it will detect my mic and headphones
you're joking right?
I think it's just initialising my hardware somehow
does it detect your mic and headphones in the settings?
you could make a python script that tries to access your mic and headphones
it detects my headphones
maybe that would also make it work
doesn't seem to be anything on it in the arch wiki
ye
I checked bout that 30 mins ago
found this
doesn't work for me tho
nvm I'll into this tommorow
gotta study for my exam
it detects the system audio tho
you'll need perms from a mod I think
insta_list = []
for follower in csv_list_instapy:
user = follower.split(' ~ ')
instapy_Followed_list.append(user[1])
print(insta_list)
@solid roost there isn't anyone to give you streaming perms rn sorry
insta_list = []
for follower in csv_list_instapy:
user = follower.split(' ~ ')
instapy_Followed_list.append(user[1])
print(insta_list)
no issue thanks for the help man!
list_name.to_csv('cities.csv', index=False, header=new_column_names)```
!docs csv
!e
followers = ['foo', 'bar', 'spam']
print('\n'.join(followers))
the raw text output would be something like:
'unique__\nmustians__\nshahidmunir83`
right?
!e
followers = ['foo', 'bar', 'spam']
print('\n'.join(followers))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
001 | foo
002 | bar
003 | spam
that's how the orignal file looks like
followers = ['foo', 'bar', 'spam']
buffer = '\n'.join(followers) # sets buffer = "foo\nbar\nspam"
with open('results.csv', 'w') as file:
file.write(buffer)
👀 i would probably just replace all, with nothing and ~ with ,
the notorious tsv ||tilda separated values||
replace ~ with ,
!stream @solid roost
✅ @solid roost can now stream until <t:1646493921:f>.
!docs open
open(file, mode='r', buffering=- 1, encoding=None, errors=None, newline=None, closefd=True, opener=None)```
Open *file* and return a corresponding [file object](https://docs.python.org/3/glossary.html#term-file-object). If the file cannot be opened, an [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError "OSError") is raised. See [Reading and Writing Files](https://docs.python.org/3/tutorial/inputoutput.html#tut-files) for more examples of how to use this function.
*file* is a [path-like object](https://docs.python.org/3/glossary.html#term-path-like-object) giving the pathname (absolute or relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed unless *closefd* is set to `False`.)
with open(r'C:\Users\Thomas\Desktop\ccv_users.csv','w') as f:
f.write(instapy_Followed_list)
@terse needle
^ there is indeed writelines but unfortunately it doesn't actually add a newline character
what is the point
you can write from a list because file.readlines doesn't remove the \n either so if you don't remove it yourself it just works out
from csv import reader
# import pandas
csv_list_instapy = []
with open(r"C:\Users\Thomas\InstaPy\logs\a_boy_from_mirpur\a_boy_from_mirpur_followedPool.csv") as f:
csv_list_instapy = f.readlines()
instapy_Followed_list = []
for follower in csv_list_instapy:
user = follower.split(' ~ ')
instapy_Followed_list.append(user[1])
print(instapy_Followed_list)
with open(r'C:\Users\Thomas\Desktop\ccv_users.csv','w') as f:
f.write(instapy_Followed_list)
from csv import reader
# import pandas
csv_list_instapy = []
with open(r"C:\Users\Thomas\InstaPy\logs\a_boy_from_mirpur\a_boy_from_mirpur_followedPool.csv") as f:
csv_list_instapy = f.readlines()
instapy_Followed_list = []
for follower in csv_list_instapy:
user = follower.split(' ~ ')
instapy_Followed_list.append(user[1])
print(instapy_Followed_list)
buffer = '\n'.join(instapy_Followed_list)
with open(r'C:\Users\Thomas\Desktop\ccv_users.csv','w') as f:
f.write(buffer)
@tidal shard 😢 feel ya there i was trying to show my friends how to simulate spring forces for fun and they said it was boring even tho its so cool
they're into game development too btw... apparently
Hi Noodle, Hi Mc, Hi Griff

hello 🙂
@tidal shard <-< i hate that what you said is right about it being \n in python
i always think of windows as \r\n and get confused
'unique__\nmustians__\nshahidmunir83`
Thanks @stuck comet @tidal shard @terse needle Thanks alot!
you're welcome!
When a metal spring is stretched or compressed, it is displaced from its equilibrium position. As a result, it experiences a restoring force that tends to retract the spring back to its original position. This force is called the spring force. It is a contact force that can be found in elastic materials
google definition cuz i suck at explaining
E = (1/2)ke^2
wot
i actually remove the 1/2 mostly because of the way i use it
@terse needle the original indian version is quite good
altho it can be very spicy
depending on where you get it
why not just call it fried potato o- o
Yeah guys there is another issue!😂😂😂😂
@tidal shard see you call fried egg fried egg then why not just use fried potato for fried potato?
..
👀 just use json
how can i change the normal list in json
a normal list is valid json
yeah so how can i print list in the .json or text
!e
import json
x = ["foo", "bar", "baz"]
print(json.dumps(x, indent = 2))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
001 | [
002 | "foo",
003 | "bar",
004 | "baz"
005 | ]
👀 you also need more math and physics if you wanna make totally useless in life but really cool looking effects be it 2d / 3d like i do
specially trig and linear algebra
my internet went out the moment i said i use a different color scheme when screensharing
xD
can we change the Voice Chat Server to automatic?
Because I am disconnecting again and again
@terse needle
should be find how it is, we have people in here all around the world right now and it's pretty central in the netherlands
can we change it to automatic?
@mortal crystal my .config files https://github.com/KJ002/dotties
not really related to void but hey
Hello
hey
Am new here and wanted to learn python programming
good luck
Idk from where to start?
either me
@primal yacht
@mild quartz
U will teach me?
wait until i teach myself

enter voice chat 0
maybe the people there can help you
Am not good at speaking English 😅
!resources -- See bot message ... Automate the Boring Stuff ... on its website, it's 100% free if you scroll down to the Table of Contents
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
help, im supressed, is that on purpose?
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thx
@tidal shard get me some johnny walker
I'd pour you some if you were within arms reach, my friend
@rugged tundra me and coffee drink irish whiskey
lmao
🤣
@tidal shard youre hilarious
you just copped out of learning their culture
i heard english and mandarin are the hardest languages to learn
but mainly english
can we make english spelling make sense
tf
The Ghazipur Opium Factory may have one more claim to fame, for a rather unusual problem it has. It is infested with monkeys, but these are too narcotic-addled to be a real problem and workers drag them out of the way by their tails.
furyo is the best person at mandarin i know
chinese is my favorite kind of food guys
duck and pancake
@molten pewter
here's another example
https://www.latimes.com/sports/nfl/la-sp-trevor-davis-packers-20180426-story.html
Key points
@molten pewter you're a very nice person. :3
Bitterbollen?
bitterballen
Bitterballen (plural of bitterbal) are a Dutch meat-based snack, made by making a very thick stew thickened with roux and beef stock and generously loaded with meat, refrigerating the stew until it firms, and then rolling the thick mixture into balls which then get breaded and fried. Seasonings in the base stew usually include onions, salt and p...
@icy axle we can hear you fine
can you now?
Kladdkaka is a popular Swedish chocolate cake. It is a rich chocolate dessert cake with a crisp exterior and a soft and gooey interior. This dense, compact chocolate cake is similar to a chocolate brownie and a molten chocolate cake.
The ingredients are flour, eggs, butter, sugar, vanilla essence and cocoa powder. The main difference between kl...
@cyan stirrup https://products.groupdocs.app/conversion/docx-to-md
DOCX to MD document converter - convert DOCX to MD online for free, no registration required. Secure and easy to use DOCX to MD conversion!
rhubarb and banana fool
A fool is an old-fashioned English dessert, but it never goes out of style because it’s simple, delicious, and beautiful. Plus, any fool can make it since it’s only a matter of folding a quickly cooked compote into whipped cream. A little rose water adds a floral sweetness, but the fool is lovely without it, too.
just buy the compote
and skip the first paragraph
Kompott (franska compote - blandning) är en söt maträtt av frukt eller bär som kokas tillsammans med socker varvid hela eller delar av frukten finns kvar efter tillagningen. Rätten har gamla anor och har periodvis varit mycket populär. Vanliga tillbehör är vispad grädde eller vaniljsås. Förutom sockret tillsätts ofta stärkelse, men även alkohol ...
Thank you 😄
Zoroastrianism or Mazdayasna is an Iranian religion and one of the world's oldest continuously-practiced organized faiths, based on the teachings of the Iranian-speaking prophet Zoroaster (also known as Zaraθuštra in Avestan or as Zartosht in Persian). It has a dualistic cosmology of good and evil within the framework of a monotheistic ontology ...
didn't mean to leave but that works too ig
i need permission to speak
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
so how do i verify?
30 messages
?
being here for 3 days
?
wr u from?
im from the US
how old ru?
im 19
u in college?
lol
how do i learn coding?
will i be able to fix my computer, coz my pc keeps lagging all day? and i wanna build games
yes python
FPS
ok
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Corey Schafer, Youtuber. Playlists. Python for Beginners.
thanks alot man
oh
so i gotta learn C++?
for how long u been programming?
impressive
Google latam dev job boards @midnight agate
@midnight agate https://github.com/HenryFBP/VirtualMachineConfigs/tree/master/docker/pingn#test-local-docker-image
Hey @noble copper!
It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
ok
hahaha
no
ohohhhhhh
yeees
hahhaha
srry
idnt have the accents clear
well any way she never listened an australian guy
hahaha
so any way say hello
ahhaha
well
i have to go
bye agin
ahha
how old are you
if i can know
Old enough to have regrets.
wow that's old
hahaha
I'm 3
i have two choices:
- offscreen rendering (cefpython) to render it on screen (i know this doesnt make sense but)
- reimplement the whole browser 😩
which 1 should i choose 😩
uhh, add a browser to dpg
!pypi dearpygui
lmao
any recommendations on which gui lib i should go for? 🥺
ooh
pyqt but better license
heard of it
:)
import PySide6 as PyQT
hm
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
lmfao
!e programmer = {'hello', 'world'}
print(programmer)
@cunning lake :white_check_mark: Your eval job has completed with return code 0.
{'world', 'hello'}

Sets.
!e programmer = {'what are you ?'} print = (programmer)
@cunning lake :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | programmer = {'what are you ?'} print = (programmer)
003 | ^^^^^
004 | SyntaxError: invalid syntax
!e programmer = {'love', 'to love'}
print(programmer)
@cunning lake :white_check_mark: Your eval job has completed with return code 0.
{'to love', 'love'}
{:} empty dict when
!e print ('hello world')
@cunning lake :white_check_mark: Your eval job has completed with return code 0.
hello world
@loud karma :white_check_mark: Your eval job has completed with return code 0.
{'1\u200b', '1'}
!e
my_dict = {"name": "Chris", "age": 33}
my_set = {"Chris", 33, 33, 33, 33}
print(my_dict)
print("---------------")
print(my_set)
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
001 | {'name': 'Chris', 'age': 33}
002 | ---------------
003 | {33, 'Chris'}
age expose
¯_(ツ)_/¯
!e programmer = ['Hii', 'i am friendly'] print(programmer)
@cunning lake :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | programmer = ['Hii', 'i am friendly'] print(programmer)
003 | ^^^^^
004 | SyntaxError: invalid syntax
need a newline ig
like shift enter
idk how to press enter on phones
!e
my_set = set()
my_dict = {}
print("my_set is", type(my_set))
print("my_dict is", type(my_dict))
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
001 | my_set is <class 'set'>
002 | my_dict is <class 'dict'>
!e #i am not push to talk
@cunning lake :warning: Your eval job has completed with return code 0.
[No output]
dict cant have repeat keys iirc?
!e # i am not voice verified
@loud karma :warning: Your eval job has completed with return code 0.
[No output]
!e sets = ['i know', 'what i can do', 'or not'] print(sets)
@cunning lake :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | sets = ['i know', 'what i can do', 'or not'] print(sets)
003 | ^^^^^
004 | SyntaxError: invalid syntax
!e py import random nums = [*range(10)] print(nums) s = random.shuffle(nums) print(s) print(nums)
pfft
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
002 | None
003 | [6, 3, 0, 9, 7, 5, 8, 2, 1, 4]
time to make some unboundlocalerror
!e
a = [1, 2, 3]
def test():
import random
random.shuffle(a)
test()
print(a)
interesting
@loud karma :white_check_mark: Your eval job has completed with return code 0.
[2, 3, 1]
!e
hii = 'hii i wont to go and run in the field'
print(hii)
uhhh, did that random.shuffle ran global a!?
i thought it'd raise unboundlocalerror
!e
hii = 'hii i want to go and run in the field'
print(hii)
@cunning lake :white_check_mark: Your eval job has completed with return code 0.
hii i want to go and run in the field
ooh
!scope
Scoping Rules
A scope defines the visibility of a name within a block, where a block is a piece of python code executed as a unit. For simplicity, this would be a module, a function body, and a class definition. A name refers to text bound to an object.
For more information about names, see !tags names
A module is the source code file itself, and encompasses all blocks defined within it. Therefore if a variable is defined at the module level (top-level code block), it is a global variable and can be accessed anywhere in the module as long as the block in which it's referenced is executed after it was defined.
Alternatively if a variable is defined within a function block for example, it is a local variable. It is not accessible at the module level, as that would be outside its scope. This is the purpose of the return statement, as it hands an object back to the scope of its caller. Conversely if a function was defined inside the previously mentioned block, it would have access to that variable, because it is within the first function's scope.
>>> def outer():
... foo = 'bar' # local variable to outer
... def inner():
... print(foo) # has access to foo from scope of outer
... return inner # brings inner to scope of caller
...
>>> inner = outer() # get inner function
>>> inner() # prints variable foo without issue
bar
Official Documentation
1. Program structure, name binding and resolution
2. global statement
3. nonlocal statement
idk why but this broke my brain
my life has been a lie
>>> a = 1
>>> def b():
... a=2
...
>>> b()
>>> a
1
i dont get how random.shuffle can assign it 🥴
ooh
👋
wonderin if anyone here made a transpiler.
idk how to transpile 1 ast to another, do i have to make a parser to the targeting lang?
woah i barely know it lmao
time to learn more about these two langs 🥴
python -> nim
weird, my speaker borken
lemme restart my comp
weird, restarting didnt fix it
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
HELLO
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
!rule 8
8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
hi everyone
hi mina~
Hey 👋
Ive been trying to they just dont want to accept the info they want the answer theyre searching for
¯_(ツ)_/¯
you're free to do what you want with your friends on each other's sites
don't share it on this server though
i know
just telling you
don't share it, don't ask for help on it, etc
so
what is everyone else up to
lol no
but
if i wave a magic wand
1984 😔
THANK YOU!!!!
the anxiety of keyboard
@whole bearif you're on windows you can just use krisp
I set my keybind for mute toggle to right-alt button
!e
play = ("suger ray")
print(play)
@cunning lake :white_check_mark: Your eval job has completed with return code 0.
suger ray
for x, y in itertools.pairwise(L):
...
smart, bc who tf uses right alt lol
Right!
enum Option<T> {
Some(T),
None
}
since Some is guaranteed to be non-null, rust can just use a null pointer to represent the None variant, and something non-null to represent the Some variant
oh i learned git stash today
this saves memory because you no longer need to some field to store what variant it is
I learnt a bit about devops today
😔
.xkcd 386
heyo
!d zip
zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.
Example:
```py
>>> for item in zip([1, 2, 3], ['sugar', 'spice', 'everything nice']):
... print(item)
...
(1, 'sugar')
(2, 'spice')
(3, 'everything nice')
```...
i learned almost nothing today
me
to do alt m
in some apps
lol
if a keyboard dont have alt its trash
I’ve actually started using it for pasting in place in InDesign
!e
def sort(L):
for i in range(len(L)):
for j in range(len(L)):
if L[j] > L[i]:
L[i], L[j] = L[j], L[i]
L = list(range(0, -10, -1))
sort(L)
print(L)
🥴
@honest pier :white_check_mark: Your eval job has completed with return code 0.
[-9, -8, -7, -6, -5, -4, -3, -2, -1, 0]
Created at Sapientia University, Tirgu Mures (Marosvásárhely), Romania.
Directed by Kátai Zoltán and Tóth László.
In cooperation with "Maros Művészegyüttes", Tirgu Mures (Marosvásárhely), Romania.
Choreographer: Füzesi Albert.
Video: Lőrinc Lajos, Körmöcki Zoltán.
Supported by "Szülőföld Alap", MITIS (NGO) and evoline company.
Click the link...
24 = 4!
oops
!e
from time import perf_counter_ns
from random import sample
def sort(L):
for i in range(len(L)):
f = True
for j in range(i, len(L)):
if L[j] < L[i]:
f = False
L[i], L[j] = L[j], L[i]
if f:break
L = sample(range(10000), k=10_000)
t = perf_counter_ns()
sort(L)
print(perf_counter_ns() - t)
@honest pier :white_check_mark: Your eval job has completed with return code 0.
4992864892
!e
from time import perf_counter_ns
from random import choices
L = choices(range(10_000), k=10000000)
t = perf_counter_ns()
L.sort()
print(perf_counter_ns() - t)
@honest pier :warning: Your eval job timed out or ran out of memory.
[No output]
!e
import psutil
print(psutil.virtual_memory())
@honest pier :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'psutil'
I too am familiar with the number 200
lmao


