#voice-chat-text-0
1 messages · Page 675 of 1
Are you based in the us?> i got paid 4 dollars an hour at my first office job lmao
@whole bear
nah uk
i just said dollars since most people understand the value of a dollar
than a british
wow so many voice users
But that's even lesser in pounds! Don't you have a minimum wage?
nah was a trainee
But you still get paid minimum wage right? Else it's illegal
me, sitting here, reading chat, wondering if im spoiled cuz i made 10€/h on my first job......
any old office will
do
accountancy etc
just go in and start automating stuff lmao
that is sick bro
i will be rich
its not that simple lol
nothing is simple
it was never about money for me
i put my heart into it
but it came in time i guess lol
@whole bear i can get in a cybersecuirty part of the office?
i will be rich
@whole bear lol, famous last words
Is a dev job even worth doing anymore?😓😪
probably ye
Ohh i had friends in amazon. They are having hiring surges for the sake of having more employees for the future at a bit lower salaries. And they don't even have to work sometimes.
One of my friend coded 5 lines in the span of a week when he was there.
depending on the lines thats either really boring or quite impressive
@bright rain tis no help channel
depending on the lines thats either really boring or quite impressive
@faint ermine It was boring as they are American immigrants on their OPT and they can't work with any other company while you are associated with a company. Else you would be deported.
@amber raptor i got interested in programming because my brother told me it's cool to make robot using python
Startups vs Big companies, which would you choose?
@coral frigate You might have more exposure to different technologies working at a startup, but a big company will more likely be more stable employment.
At a startup you will wear more hats @coral frigate . At a big company, you will be more specialized and "siloed".
good old oil monopoly 😏
they are not independant anymore, since the brexit vote…
they are owned by softbank.
I hope EU will invest in risc-V 🙏 (yeah, I know, EU countries are very unlikely to take any good decision in the tech field 🙁 )
x86 has a huge number of instuctions, ARM has just a handful.
Apparently Apple was one of ARMs first customers.
I also read that RISC is coming now because we are better at automating compilation optimisations
but they do (manufacturing)
Probably Taiwan
Nope 😄
:(
Sorry I'm shy 😄
« oh no 🐙 , we accepted to give all our knowledge and expertice to a dictatorial country without any counterpart because it was cheaper and now it's firing back »
The bot : « you have sent less than 50 messages »
Well, I disagree 😅
Well, resultats clearly aren't messages.
Maybe start sending messages and not resultats /s
It's the number of entries when I search for my messages
Yeah, there are a couple of other requirements @whole bear
You have to have joined 3 days ago and sent messages in three separate 10-minute blocks.
As the bot states that I sent less than 50 message I suppose it only counts from a certain date.
No, I joined long ago.
(but didn't participate a lot)
Hmm, I'm not sure then. It might only count since the feature was introduced.
There are like 40 message that I sent 1 year ago. I suppose that they are ignored
What language do you speak @whole bear ?
Which was about a month ago.
What language do you speak @whole bear ?
French
Ah, pre-university in the UK we get to choose three subjects to study
I studied just maths, physics, and further maths 😄
As a result, my history knowledge is appalling.
Google used to do it @amber raptor
Only hired from Ivy League. Their idea was that they could take advantage of those universities stringent admissions processes.
Yeah, a lot of elite companies are like that. I guess it all just comes down to supply and demand.
so anybody can call you doctor 😎
@whole bear i am back
tehe
dont try and lie to get me muted that isnt nice
If I ever make the terrible decision to get a PhD it'll be solely for the reason for people to be like Mr. Boyfriend and Dr. <my name>
and in gmail the answer is also "none" 🙃
cus why u use gmail when u got the work ong
sorry can only send this one more bc there gonna mute me again for trying to bypass 50 messages like before
how
how is this harassment?
Tracing your wife using the corporate tracing system… Isn't it the police work ?
Wouldn't have they done the same but keeped privacy ?
if they r married it is allowed
it isnt against the rules
do u not understand what marriage gives u rights too?
it could be. we don't know about the couple
(i hate being scrolled up and responding to what looks like the latest message but it isnt)
mine
Yeah, of course. But it could also have been « I want to kill my wife, where is she ? ». And she went to a friend for protection. So… it's complicated
u just did like 10 editss
Yeah, I look forward to the discord “editing history” feature…
that doesnt need to exist
u do realize that we can see u edited a message right?
and i was looking at chat
lol
Yeah, of course, but you can't see the history. And I would like this feature
how is seeing editing history against privacy?
why?
So people can follow the history of a message editing and see if it changed a lot. Like you said, I edit my messages too much (and like to do so to precise my thoughts), especially when they are long.
(Why would I risk a tos ban ?)
So people can follow the history of a message editing and see if it changed a lot. Like you said, I edit my messages too much (and like to do so to precise my thoughts), especially when they are long.
(Why would I risk a tos ban ?)
@whole bear bc a messsage logger is against tos
for users its against TOS, servers can and do often log edited messages
If you edit something it means it was publicly posted at some point.
same with deleting
I fail to see how public message history is private.
and thats against privacy also
it doesnt matter what you see or dont see
if its against the TOS, its against the TOS
thats just like alot of these disscord servers that promote dating those are also aaginst tos if they have minors in the server
if its against the TOS, its against the TOS
Yeah I know. But what I look forward is this as a discord feature.
Yeah I know. But what I look forward is a discord feature.
@whole bear why
I rarely don't go back and edit my messages.
Just to fix spelling and punctuation.
Pretty sure I have OCD 😄
yh but if they do that they would have to do deletes also
and they dont want to most likely
They have it on StackOverflow
And I use that feature fairly often.
I remember a reddit thread where everyone had to edit their comment to make the replies look as dodgy as possible 😄
@hidden cove if they did it for normal users on servers it would most likely do dms alsso
@amber raptor some schools use discord for servers
that alr happens
so
no difference
its just online now
im boyfriend and girlfriend
?
waht
lol
dude imagine if they
tf k12
@amber raptor how do u even use that sit
and ur teacher sees it
what?
lol
!mute 403717636183293952 1d Saying the r-word and joking about sexual topics is not appropriate.
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-11-20 22:45 (23 hours and 59 minutes).
they did, but I deleted it.
what he said wasnt a joke on a sexual topic
It was.
it rlly wasnt bruh
If they want to make that case, they can DM modmail.
like u a cool mod but that fr wasnt a joke about a sexual topic
I'm not trying to be cool.
I feel like school is the one time that you get to see a true cross-section of society 😄
yh i use google meets its horrible
After school you can just avoid people you don't like.
google sweet ?
suite
suite*
Oh, ok. Thank you 😅
then you have to download more ram.
Is someone going to post it...
yh idk why they did that
ive never rlly used nore than 1 google thing at a time other than classroom and meet so
Yeah, I saw the same picture with something lik « when UI is favored over UX ».
Another design choice I dislike: grey text on grey background.
This may be used in UX courses 😅
I feel like I'm losing my eyesight whenever I go on some websites.
u mute me for claiming i was tryna send incoherent but thats literally what hes doing
what have I inspired you to do?
your pfp
your pfp inspired me to watch mr robot now i'm only talking to my mind @tidal salmon which made want multiple personality
old (top) vs new (bottom)
@whole bear fascinating...?
why did they make calander not a calender
I think the new icon set is fine except the docs one
not when you have Mail, Calendar and Chat open in the bottom to start since it's your work office suite
I wouldn't be able to guess what the docs icon is for. or drive, frankly, but I already knew what the drive symbol is.
@hidden cove do you know google drive automatically back up your files and images without your permission
idek how to spell it and every way to spell gets the red line for misspelling
they do for both
also it isnt against ur permission when u start it tells u
it mean that it is good to use cloud computing service for your organization
See ya Rabbit
whats up
@small sedge if its steam u can most likely do it
i need help with selenium and geckodriver bc i legit dont understand this at all
and yh i do
bet
its for instagram so it should be easy
but i dont under the xpath
I think that may be against the terms of service @pine iron
how
@small sedge he is right for rocket league it is very easy
oh
my b
how about twitter
i know they allow it
twitter allows it
i have 1
If you do it sneakily enough anything is legal.
best quote from that thread
i dont think they do
tbhh
i just wanted to make a thing that changed my username to my follower count if it wasnt taken
like each time i get a follower
he was alr loud
i
lol
@hidden cove it was from the reddit u sent
it issnt illegal
or morally wrong
they dont
there tools are for liking and following and commenting
not changing name
its alr easy to get past lol
when u r doing the things u must do it in a spam of a 10-15 minute frame and take a 30 min break
is it in the user agent ?
me?
@whole bear i
will not help u
u most likely will need to pay also itss a discord bot its eassy
bc he has none
@hidden cove
plus discord bots r extremely easy
there are some
just not many
bc he most likely isnt
he mic spammed and couldnt figure out input sensitivity so
ok thx
is twitter name change automating against tos or no
It's time to sleep for me, good bye 👋😴
u dont speak fast enough @hidden cove
to be a native got to speak fast ong
german words translated to english make no sense
at all
like half dont
i would speak german but its only english chat
no it isnt
lol
look at german pronunciation it is horrible
like german is my first language and its horrid
it iss alot better
english is a tier 5 language
Learn more about Aaron Alon's music, writing, and films at aaronalon.com.
@pine iron Stil dont have 50 mesages?
@pine iron Stil dont have 50 mesages?
@bright rain wym i have alot over 50 sped
go back to fanboying
dont even know u and u trying to come at me for no reason
lol
just question... or?
also how r u gonna say im trying to get 50 when u have 29 messages
@pine iron Stil dont have 50 mesages?
@bright rain oh my b i thought u were gonna tell mods i wass trying to bypass the messages like they did yesterday
cab0008 how's it going
sup
I am just working on a collator/organizer pacakge for automatically creating a database
how about you
😦
I'm not asking, just chatting
cool cool
bleeeehh
yeah js gets laggy easily. I hate webdev lol
I don't know much of the terrain though, so perhaps some of the new langs for webdev make it cleaner
Everytime I do webdev it seems like just hacky solutions and throwing things together by the seat of your pants
webgl has some tools for interacting with cuda right? I could be pulling that out of nowhere
that sounds awesome
np
yeah this is awesome
I'm looking through their GPU-Fluid-Experiemnts github to see if they have Navier Stokes in there somethwere
neat
I looked around a while ago at d3.js, as I am mostly in bioinformatics/chemical engineering development and like figures and such, but these are quite nice for gaming platforms and such
The gpu gems website reference has some neat comments from nvidia about navier stokes
I thikn alot of the computational concerns are rolled up in the assumptions
incompressibility is a nice aassumption to make
YOu mean if there aren't pistons and such?
yea
many moons ago
chemical engineering for my Bachelor/Masters, now I'm doing neuroscience/bioinformatics for my PhD
I just meant you can compress air with a piston at standard temperature/pressure
I have a son who was born with autism
so I got interested in neuroscience
Yeah, he had a significant amount of brain matter damaged by cytomegalovirus (CMV - a fairly common virus for which ~80% of the population of many developing nations have) during development, so it affected language abilities. So I am studying language and idea formation within the brain
Zika and CMV are viruses, but they don't necessarily have a lot of sequence similarity. I don't know a ton about that however
yea zika also causes neurological problems
@jaunty elbow How do you use topology for that case? That sounds so cool...
I've never seen applied advanced maths
Only read textbooks
Do you have any papers I can read?
Oh yeah it's great @jaunty elbow
I went to a lecture on immunology and that was a huge topic
Anyone having issues with RTC connection @frigid shard @scarlet cloak ?
I can't hear anything....
@hidden cove Linus Pauling
nope
Hmm maybe cause I live so far away
trying leaving and joining again if that doesn't work check whether you muted the site
Neither of those work, it just says I have RTC issues
Probably just internet connection issues
yh, maybe
codecademy
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Ah you'll meet the requirements for voice verification in no time @flint pagoda 🙂
yeaah thaank yaa
You can still listen in on the voice channels in the meantime.
yes I will
Or ask/answer questions in the help channels, and chat in the off-topic and topical channels.
People will still talk to you if you talk to them in voice chat text channel.
thank yall I guess I might help with what I can
Hey, so what's everyone up to?
m devlopping a mobile app with kivy its really hard 😦
Yep I remember that
designing with python is a little bit hard
Oh, he also talked about chirality in one of his chemistry lessons.
I remember learning about the thalidomide tragedy at school.
Yep
Chemistry just baffles me 😄
Well, now a staff member knows...
Jk it's fine 😄
@jaunty elbow Oh yeah Blevins has a BSc in maths
Erm, I feel like this might be straying into conversation that's inappropriate for this server... @hidden cove
Sorry 😄
Are you guys gonna be here in 15 mins? I gtg but I'll be back
Nice
A couple of the helpers on this server are amateur pilots I think.
What is the running cost for a small prop plane like?
I think Amazon have been trialing delivery by drone?
Pilot licenses cost too much
And it's annoying scheduling for each session
I could do a 50% discounted license but you need 20 hrs minimum here and it's too much
But you can get a pilot license before driver's license here
https://www.businessinsider.com/cityairbus-makes-first-public-flight-airbus-flying-taxi-evtol-2020-7
Hey wsup guys
ye
Taiyo Inoue has a twitch feed that is nice to see a breadth of math problems being solved. He's a professor at Berkley that just answers any math question on the spot
online courses and stuff. After I got proficient in Python I started DS and Algos. Practiced them for like 2 months and after that started doing projects
noice
num-py (py as like python)
I have never understood how a machine learning model knows that now it has trained lol
Andrew's course is apparently 60 hrs long over 11 weeks but on YT the videos of the course are 12 hrs long
Can I do it in 12 hrs cause I really will never get 60hrs to work on this
and would predict the next thing without having a reference (or does it have a reference?)
heyy i have a questionn
no u don't
@scarlet drift Regression and gradient descent
wait lol
(Sorry to whoever I pinged)
xD
I accidentally pressed tab too quick
^The only good-looking thing I've made in Fusion
^Not mine but I made a look-alike
^^^ cards model above ^^
def card_list(author_id):
cards = Card.query.filter(Card.user_id == author_id,
Card.known==False).all()
finish = []
while(len(finish) < len(cards)):
k = random.randint(0,(len(cards)-1))
check = False
for i in finish:
if i == cards[k]:
check = True
break
if check:
continue
finish.append(cards[k])
return finish
# leveraging custom json encoder, iterate through cards to append to list
def jsonify_cards(cards):
res = []
for i in cards:
tempcard = i.__dict__
tempcard.pop("_sa_instance_state")
card = JSONEncoder().encode(tempcard)
res.append(card)
return res
# extend json encoder class
class JSONEncoder(json.JSONEncoder):
# overload default method
def default(self, obj):
# match all the types you want to handle in conversion
if isinstance(obj, datetime):
return obj.strftime("%m/%d/%Y, %H:%M:%S")
return json.JSONEncoder.default(self, obj)
Guys I gtg, it was fun
hi
ay
what y'all upto
Harvey wants to see you in his office @whole bear
hey guys, what's the best approach to parsing json if I don't know the same keys will appear again?
should I go with dict.get or put a try except keyError?
!e ```py
class A:
class_var = "this is attached to the class not the instance"
def init(self):
self.blah = "this is attached to the instance, not the class"
print(A.class_var)
print(A.blah)
@faint ermine :x: Your eval job has completed with return code 1.
001 | this is attached to the class not the instance
002 | Traceback (most recent call last):
003 | File "<string>", line 7, in <module>
004 | AttributeError: type object 'A' has no attribute 'blah'
self.__blah -> _A__blah
!e ```py
class A:
def init(self):
self._the_number = 5
@property
def number(self):
print("got number using getter")
return self._the_number
@number.setter
def number(self, new):
self._the_number = new
print("set number using setter")
a = A()
print(a.number)
a.number = 14
print(a.number)
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
001 | got number using getter
002 | 5
003 | set number using setter
004 | got number using getter
005 | 14
7:49
Hi hemlock
hemlock_to_sherlock = 'hemlock'.replace('hem','sher')
print(hemlock_to_sherlock)
'Ello
Hi pure
I gotta get my Neovim setup going, my current extension doesn't play well with my Haskell tooling
The completions and IDE-like features
no
You got cut off for a bit there Hem
Not recently, I haven't set up .NET and all that jazz on my machine yet
Ah fair enough
hi guys
How goes it
Speaking of music, I love this album
half an hour into it, super confused.
Half hour into what?
the little schemer:
What is (cons s l)
where
s is ((help) this)
and
l is (is very ((hard) to learn))
(((help) this) is very ((hard) to learn))
!f-string
In Python, there are several ways to do string interpolation, including using %s's and by using the + operator to concatenate strings together. However, because some of these methods offer poor readability and require typecasting to prevent errors, you should for the most part be using a feature called format strings.
In Python 3.6 or later, we can use f-strings like this:
snake = "Pythons"
print(f"{snake} are some of the largest snakes in the world")
In earlier versions of Python or in projects where backwards compatibility is very important, use str.format() like this:
snake = "Pythons"
# With str.format() you can either use indexes
print("{0} are some of the largest snakes in the world".format(snake))
# Or keyword arguments
print("{family} are some of the largest snakes in the world".format(family=snake))
My internet's going potato today
ctx.send(f"{ctx.author.mention} Other string stuff here")
I'll just share this track while I go fix my internet, it's melds two genres pretty neatly
https://open.spotify.com/track/1KuGwsmFqXugHKkwniSdn5
Just noticed, the preview does it some justice by using the climax at least
I'm slowly but surely being convinced to switch to Emacs all because of the tooling
np hemmy u rock
Hi @ALL
how are u ?
sad happy its nature
bad angry ? to what ?
it is human-matter related
scatter and gather
for print(f'strıng here {func or obj. in here }and the other things ')
def printall(*args):
print(args)
printall(1, 2.0, '3')
(1, 2.0, '3')
this one is gather
@whole bear did u get that idea
!codeblock
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
@whole bear
objet = 95
print(f'I am {object} years old')
proper example
change add1
😄
Present @rugged root to past Mr. Hemlock. https://imgur.com/7etZP6a
I really wish Microsoft allowed pyright to be run as a standalone language server
this is one of my favorite comics by False Knees: https://falseknees.tumblr.com/post/190953855166/a-day-beautifully-squandered
!e
class Student:
def __init__(self, name, age):
self.name = name
self.age = age
def introduce(self):
print(f"Hi! I'm {self.name}! I am {self.age} years old.")
class SpecialStudent(Student):
def __init__(self, favorite_subject, *args):
super().__init__(*args)
self.favorite_subject = favorite_subject
def fave(self):
print(f"My favorite subject is {self.favorite_subject}.")
sally = SpecialStudent("Math", "Sally", 5)
billy = Student("Billy", 6)
sally.introduce()
billy.introduce()
sally.fave()
billy.fave()
@rugged root :x: Your eval job has completed with return code 1.
001 | Hi! I'm Sally! I am 5 years old.
002 | Hi! I'm Billy! I am 6 years old.
003 | My favorite subject is Math.
004 | Traceback (most recent call last):
005 | File "<string>", line 24, in <module>
006 | AttributeError: 'Student' object has no attribute 'fave'
is their android emulator online ?
i don't have enough ram for android studio
any idea ?
BlueStacks is local
!e
class Student:
def __init__(self, name="Steve", age=9):
self.name = name
self.age = age
def introduce(self):
print(f"Hi! I'm {self.name}! I am {self.age} years old.")
class SpecialStudent(Student):
def __init__(self, favorite_subject="science", **kwargs):
super().__init__(**kwargs)
self.favorite_subject = favorite_subject
def fave(self):
print(f"My favorite subject is {self.favorite_subject}.")
sally = SpecialStudent(name="Sally", favorite_subject="math", age=5)
billy = Student(age=6, name="Billy")
sally.introduce()
billy.introduce()
sally.fave()
billy.fave()
@rugged root :x: Your eval job has completed with return code 1.
001 | Hi! I'm Sally! I am 5 years old.
002 | Hi! I'm Billy! I am 6 years old.
003 | My favorite subject is math.
004 | Traceback (most recent call last):
005 | File "<string>", line 25, in <module>
006 | AttributeError: 'Student' object has no attribute 'fave'
F-string format specifiers are lovely
Bots can join non community servers
when i see code like this I dunno i feel sad and I think i might not be able to code so complex like you guys do
😔
You shouldn't worry about it too much, we were all beginners once
sometimes when i see complex code it doesn't even look like python
a hack for fstring template....
template = "{foo} {bar} {baz}"
foo, bar, baz = "abc", "def", "ghi"
eval(f"f'{template}'")
Dude, Mark Zuckerberg stood trial for infringing copyrights
It's not about he is from Iran specifically
ooh, that hack seems pretty cool
My evil, bad-practice code.
port tkinter as tk
from PIL import Image, ImageTk
root = tk.Tk()
image = Image.open('image.png')
imagetk = ImageTk.PhotoImage(image)
img = tk.Label(root, image=imagetk)
img.place(x=0,y=0)
root.geometry(f'{image.width}x{image.height}')```
!e
template = "{foo} {bar} {baz}"
foo, bar, baz = "abc", "def", "ghi"
eval(f"f'{template}'")
@neon sleet :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | foo, bar, baz = "abc", "def", "ghi"
003 | ^
004 | SyntaxError: invalid non-printable character U+FEFF
hmm...
Isn't this thing working
from PIL import Image
#read the image
im = Image.open("sample-image.png")
#show image
im.show()
@neon sleet Other data gets displayed alongside, hence tkinter.
huh, how is it to expensive?
what do you mean by other data?
@fierce summit It was you with the horse thing?
I use perl sometimes for regex one-liners - e.g. echo string... | perl -pe 's|(foo\d+).*|\1|'
it has a rich regex unlike sed which i never remember the cli arg to use the powerful version 🙂
@mystic marlin so i guess u must be using something like Selenium??
I think just opening the image and printing to console would be the way to go in pre-bot alpha development. Messing around with tkinter would be a complication.
Ohhh there are a lot of ways to get that working
What software you use for recording screen ?
@mystic marlin sounds pretty interesting
yes
@lethal ingot - I am on linux and for basic screencasting simplescreenrecorder worked ok - its not fancy but gets the job done
Dependencies mostly
huh
matplotlib depends on the following packages
install_requires=[
"cycler>=0.10",
"kiwisolver>=1.0.1",
"numpy>=1.16",
"pillow>=6.2.0",
"pyparsing>=2.2.1",
"python-dateutil>=2.7",
],
In terms of simply displaying an image, that's already a lot
how do i do an on key press? for example im writing a code where when u click the enter key, it shows the punchline for a joke that i printed before
I saw 2.7 and thought "...huh?" Then my brain caught up.
hmm.... yeah, forget about matplotlib
python-dateutil
but what is the purpose to view the image?
@stiff granite Using what framework?
Python discord has most active voice chat in my experience comparing to other community servers
what do u mean by that @somber heath
Voice channels are hard. We did not really start seeing a lot of activity until quite recently.
But, having people in the voice channel attracts others who join, so I guess there's a threshold that makes it snowball
U could shorten it w/ pgrep
@stiff granite You can probably just use input if you're using the terminal/console/text window.
It also comes with some major moderation challenges
well im coding in vsc
I lost so many hours of my life to CS in the 2010's - awesome game :-)'
yeah it was super cool
I went full linux to make sure I would not be tempted back - I guess they finally ported it years ago to linux but I am not investigating 🙂
hmm
@somber heath im coding in vsc (does that help?)
@stiff granite Have you covered input yet?
well yah we did that for one of my other codes u helped me with
@stiff granite You can use input() as a "pause here until enter is pressed" technique.
ok but how would i do that?
print('Why did the chicken cross the road?')
input()
print('To get to the other side.')```
@neon sleet You were the one insisting you needed to use matplot lib for the image, right?
>>> import os
>>> os.startfile(".\image001.png")
No no no, you're good
I just was stoked that I found a way to open it without tkinter
people saying that matplotlib is sooo heavy
That'll just open the file as you normally would using the OS' default program
ok, so then what is the input though @somber heath
Well not even heavy, just not needed for this usecase
, bruh i didnt know there was a way to open them without tkinter, nice
Hell yes
yeah
I knew there was SOMETHING, I just couldn't remember the how
@somber heath cause we didnt set anything in the input
Interestingly, it's not blocking either
@mystic marlin use tkinter its lightweight and easy to use
@stiff granite input accepts user-provided text and returns it. Since we're not doing something like var = input(), that return value isn't being assigned to var. So input() is just serving as a way to pause the execution of the script until enter is pressed.
>>> import os
>>> os.startfile('corona.png')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'startfile'
``` wut, is this a 3.9 feature ?
but technically u could press anything and it will work @somber heath
eh?
Whelp, didn't realize it was Windows only
D:
@mystic marlin no actually it's somewhat difficult to pronounce😂
works in windows tho
@stiff granite No. Any text you type will appear, per standard input behaviour.
Yeah, just kind of bummed that it's Windows only
Have to find a way for the Unix likes
yeah
@rugged root xdg-open
xdg?
Shell command.
@mystic marlin yeahh english is my second language too
nice
yeah ik that, but it isnt python right
@somber heath ooo cause its looking for input so whenever u click enter it executes the input and then shows whatever is next aaaaa ok i got it (that works but my teacher said use something with on key press)
bash time delay?
i didnt know about that
, at least idk if it is possible with the script itself
@stiff granite On any key would be a different arrangement.
yess it is
theres something like task scheduler on windows right
windows must have a bash alternative
@somber heath cause most places im looking (openstack, nitratine) its saying use pynput and idk how to get that in vsc
@stiff granite Do any of those talk about pip installing it?
and task scheduler as well
powershell should work same as bash so time delay for running scripts should work
@rugged root can we use threading and datetime together to make a python script run at a specific time of a day?? i guess we can't bcz after all we have to run that script
yess that's another option
@somber heath
You can but if it's something- yeah, task scheduling is going to be much more reliable
But you totally can do what you suggested
Ohhh 😮
@stiff granite I've not used that before, and it might be outside of the scope of the exercise you've been given.
if that task has to run at a particular time everyday tho, thats alot of faith on garbage collector to free memory up while the script is running between iterations, using bash, script ends ensuring memory release every iteration
@stiff granite If it's just on enter, input will do fine.
is this even possible, a terminal shouldnt take more than 20 mb right 
217 mb ram from terminal
are you writing output to file?
@somber heath ok thank you for helping
i guess it depends on what u r doing in that terminal 🤔
then its weird 😂
yip, depends on what you doing with it
just opened htop nothing else
umm can be bcz of thatt
cuz something like vscode uses 200 approx mb when we open it and its heavier than the terminal
and i am viewing the ram usage from htop
well now thatsss a lott
I want to send Whatsapp message in specific time everyday using python
there are according to me 2 ways to do that
@somber heath how r u ?
it happens when you train a neural network on your terminal
can anyone tell why i'm unable to speak in voice chat.
if this question seems stupid i apologize (i'm new in here)
1 is complicated and takes a lot of setup
@royal sphinx get voice verified
@royal sphinx Check the verification channel
yeah that
@royal sphinx check out the #voice-verification channel
ok guys thanks
u can used the Twilio API to do that and use heroku with that to run that script at a particular day
another is using a module called pywhatkit
@somber heath wonderful things like ?
@lethal ingot You could set a script to run at boot and have that handle the timing...which sounds like a bad idea to me. If you're on linux, there's cron.
have anyone used react or node.js?
Nope
@sick cloud Secret things.
very interesting
@somber heath haha im back quick q how do you make the input string all caps?
@lethal ingot You'd want whatever the Windows equivalent to cron is, ideally, probably, if you're Windowsing it.
If it exists.
I found one dude on Youtube
Showing one handy method
with the actual code
This Video lets you send messages to a large number of contacts either saved or not saved in your Whastapp.
Script to Locate coordinates:(Python3)
import pyautogui
while True:
print(pyautogui.position())
**************...
I don't know why his video is age-restricted thou
@stiff granite As you're typing? You don't, really. Not with input. You can uppercase the return value, however.
maybe cuz its sending bulk messages so that may be regarded as spam i guess
If you're working with a framework like tkinter or kivy or something else, you can manipulate text in fields as you go, or restrict capitalisation.
But that's not where you're at.
For now.
@somber heath yah sry wasnt clear enoght this is a new project (we have 6 tasks that we are doing) so in this one i need to wish a person happy birthday and i wanted to make there name all caps from whatever they input
str.upper
right ok thanks i knew there was a way but i didnt remember how to do that
'Hello, world.'.upper() == 'HELLO, WORLD.'```
hello dosto
Happy new year aap sbhi ko
aapka ye year bhut accha ho
is video me ham whatsaap sms send kr rhe hai bulk me/ single sms
isk lia 3 libraries use krege
Webbrowser
time
pyautogui
install krne k lia
pip install module name
run in cmd
now ab hame code likhna ha ojo mene bhut hi ache se is video me smjhaya hai
or i hop...
@crystal fox Hiiiiiii
can someone help me with some math?
Hello
hello hemlock
@whole bear Are you feeling lucky?
You're not bisk. But hello!
Since when did Opal turn into Dirty Harry?
@somber heath like this?
print("HAPPY BIRTHDAY")
name= input("what is your name >> ").upper
print("HAPPY BIRTHDAY " + name )
guys what is this voice verification thing
and how do i do it
im typing the command its just not working
@stiff granite Right now, name will point to str.upper once you press enter.
u need to have the basic requirements for that @digital jackal
@digital jackal you need to have been on the server for a bit and engaged in conversations to be able to voice activate
@crystal fox yeah that was😶
i am
i'm also getting this shit
im always here asking for help in the help channels
- im always in the voice channels
well if you've got +50 lines typed, you can go to the voice verification channel and verify
3 days too
its been like 2-3 weeks
@stiff granite upper needs to have () after it, otherwise you're not calling the method, upper, you're just pointing to it.
@digital jackal u must be getting a dm from the bot
and it states what u need to do
so just follow that and u will be good to go
@whole bear how tho, i got a message from the owner joe telling me to do the voice verification in the chanel voice verification
@crystal fox yeah he is
@digital jackal might be
yea...
@crystal fox yeah actually now i got that😂😂😂
@stiff granite Also, I'll show you another thing.
name = input('Name: ')
print(f'Hello, {name}.')```
@stiff granite you can also add \n to insert your answer on another line
like name = input('name : \n')
@stiff granite Doing something like 'Hello, ' + name is what's known as concatenation. String concatenation, in this case. Where you use + to join strings together. Not to be confused for numerical addition.
I don't feel comfortable that Android, ios, Linux, windows, MacOs are all from one country
There is no international market competition
in the Operating systems field
@lethal ingot what do you mean by that?
@faint ermine random stuff!!
python2 is still relevant in 2020?
no
Just an economic opinion that USA is dominating the operating systems market and I wonder that China, Japan or Europe have not made an OS
@stiff granite Using string formatting is generally going to be a better way to insert text into specific points than concatenation. So the example where a string was prepended with an f, f'Hello, {name}.', is what's known as an f-string, a format string. It's generally going to be a hell of a lot cleaner than using concatenation.
I have voice ban infraction
i think there is much more than linux
Something not American dominated
40% of the ceos in microsoft are from another country/origins
and other hq and managments
@crystal fox not really
its just that there economy it self is way more advanced than other countries
There's Atlassian

I just finished eating Hummus
Italy is the founder of Pizza and Piano
Anything starts with P is Italian
Amerish
"Pre-chewed for your protection."
"pre digested"
lol
nobody runs an olive oil cooled pc
@rigid nest Italians.
Years after a seemingly normal stream, Drew found himself at the mercy of the internet as he accidentally became one of the biggest memes of the year.
Make sure to check out Drew's YouTube channel here: https://www.youtube.com/clothmap
Do you know the man who became the meme “Hide The Pain Harold”? Hear his story here!
https://youtu.be/a3WnvD...
A stock photo shoot led to one of the biggest memes on the internet and changed one man's life forever.
Click to subscribe to BuzzFeed’s newest channel, Cocoa Butter!: https://www.youtube.com/CocoaButter/
Be sure to follow along with Hide The Pain Harold at:
Facebook: https://www.facebook.com/painharold
Instagram: https://www.instagram.com...
bello
Not that austere
As long as the memes are not offensive
It's psychologically good to make people laugh
emergency line in Australia is insurance-based
Facts machine - A machine that spits out random facts.
Bisk, I mean docx files are not text based
no, they are not.
Fax machine. Fax as in facsimile.
what is your point rabbit?
Will textract handle that?
yup!
textract uses antiword as a backend
antiword can handle almost any word format
Hi all
o/
hello
hi
............
Its nice to be here, I actually joined a few weeks ago but I was inactive
Also, OneDrive should be able to search these files
AI
When you smash humans and dogs together: #voice-chat-text-0 message
carykh
AI DUET
Its a slow process
also ||what she said||,
😄
Ur funny m8
that had me laughing
!spoiler
||<stuff>||
||<stuff>||
||shhhhhh||
||<sheph||
||complex||
Sheffer stroke
||bye bruh||
a moment of silence
understandable
actually the voice chat is quiet now
cuz it does it job quite bad
when you write in chat while others talk
they dont read it actualy
I would kick for the troll 😄
sometimes 😦
In reality you are the guy who listens other talk and write to nobody .p
litrealy you write nobody 😄
this guy
vol_of_elevator = 210*90*130
print(f"elevator volume = " , vol_of_elevator)
(vol_of_fridge) = 178.1175*74.6125*90.4875
print(f"fridge volume = " , vol_of_fridge)
float(empty_vol) = vol_of_elevator - vol_of_fridge
print("remaining volume is" + empty_vol)
im getting an error in the floar
You can't do a function on the assignment side (left of the equals). If you want it to be a float, do:
empty_vol = float(vol_of_elevator - vol_of_fridge)
Although from the looks of it, it'll be a float anyway
print("remaining volume is" + empty_vol)
TypeError: can only concatenate str (not "float") to str
this is the error im getting
thats without the float in the code at all
you would want to convert empty_vol to a string first
print("remaining volume is" + str(empty_vol))
alternatively, i recommend you look into f-strings which make string formatting way nicer
ok thank you it works
Dist-REST. Like an API, but it's been used and abused and now it's breaking down.
hi
array = [1, 2, 3, 4, 5]
print(sum(map(lambda x: x * x, filter(lambda x: x % 2, array))))```
print(
iter(array)
.filter(lambda x: x % 2)
.map(lambda x: x * x)
.sum()
)```
https://github.com/nekitdev/iters.py wrote this
@whole bear Not sure if that was intentional, but your mic is loud and garbled.
I'm going to unmute you, but I ask that you either fix it or mute
nums = 1, 2, 3, 4, 5
print([v*v for v in nums if not v%2])```
Something like that? Kielbasa is what we typically call it
It annoys me when people bend sausage like that.
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
On something that isn't a proper twisty division bit.
literally abusing decorators
Fast API?
@scarlet drift aiohttp + my stuff
Ah
OpenAPI (Swagger) for docs
Nice
Not really sure how much I consume in a day but I eat a lot of rice, that's for sure
what are we allowed to stream @rugged root , other than code
games?
ahh okay
I was thinking minecraft
-_-
I'm a redstone noob
I am a builder
Can I stream minecraft?
Nah, not right now
There are a couple of python specific mods for MC. A Raspberry pi-originating API mod for MC was the best I've come across. The others had little in-game robots that were a little buggy.
Interesting
But yes. OpenComputers would be your best lua choice. Computercraft for a second choice.
I did a Menger Sponge using the RPi one. (It doesn't need an RPi).
Flying around inside was fun.
"Good morning, children. Today, we're going to play a game called Simulated Mains Power Outage."
- YANK *
def parceRealPower(payload):
return payload["DeviceInformation"][0]["sunnyboy_inverter.calc_ac_power_kw"]
def byteStrToDict(message):
payload_str = message.payload.decode("UTF-8")
return ast.literal_eval(payload_str)
payload_str = message.payload.decode("UTF-8")
return ast.literal_eval(payload_str)```
🆔
@sharp warren

