#voice-chat-text-0
1 messages Β· Page 888 of 1
export PATH=$PATH:$HOME/.emacs.d/bin
Your config file can be a normal Python file that sets variables in its scope ... and then you can just:
import .config # assuming file is in same directory and called 'config.py'
Then access those variables like so:
config.TOKEN # for your config file's `TOKEN = ....` thing
@warm bison ^
# config.py
NAME = 'Python'
AWESOME = True
# (main python file)
import .config
print('Is {} awesome?'.format(config.NAME))
print('Yes!' if config.AWESOME else 'Nope!')
Java - Minecraft: Java Edition modding
my last line was at the VC
meaning this line was at those talking about ... like @zenith radish
just use bedrock 
... Tell that to those on Mac or Linux which must use a 3rd-party solution and Google Play Store to own the game ...
me who got into python like a week ago
proton 
still doestn understand
.... what?
I mean a launcher on Linux that wraps around the Android .apk
Why is leaf21 stuck with their mic on?
these questions are yet unanswered by science
!e
def transpose(data: list[list[str]]):
return list(map(list, zip(*data)))
matrix = [
['a', 'b', 'c'],
['A', 'B', 'C']
]
print(transpose(matrix))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
[['a', 'A'], ['b', 'B'], ['c', 'C']]
You're a bit quiet @neat acorn
Maybe try one of those meal kit delivery services @zenith radish
I find the most stressful part of cooking is decision making.
If you listen to a podcast while you do the dishes it can be quite enjoyable π
bro
what the heck
why cant i verify
i did and it said i dont have 50 messages
oh well
Β―_(γ)_/Β―
cheese is good
i like american
:)
i like subway
bruh
this stinks
subway in newyork lll ll ll lll
python is good
i kinda know how to code
im learning java
lll
llll l ll l l l l ll l l ll l
l ll l
ok ima stop
...
huh?
bruh moment


joe
lol
cough
mama
mama
mama
:ok_hand: applied mute to @grim hemlock until <t:1630199388:f> (9 minutes and 58 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
damn didn't know the owner of a programming server could sing this well
@tiny socket do you play any video games?
minecraft occasionally, but I mostly enjoy programming now
how do you not get immersed in video games? I seriously don't understand, how everyone except for me, can have a great relationship with video games, but somehow I can't play video games without being worried of getting addicted lmao
what do you mean?
which is why i refrain from playing them
you worry about getting addicted?
me earlier:
@tiny sockethow do you come up with fun things to make with python? I am currently working with data scraping, as it's something really intriguing to me, but I'm kinda running out of ideas. How do you guys constantly have ideas?
I like making discord api wrappers, when i finish making one i just kinda make another but better 
hmmm, do you know of any fun apis or things to work wiht?
I already used the openweathermap api to make a basic weather program, and I have made and worked with github's api, but I'm not sure where to go from here.
the discord api is quite interesting to look into if you like making bots, other than that stuff like openweathermap-
lmao you've done that
OWM is my goto api to give people
already made a discord bot with some commands
although I should probably look into making the bot await for input, since I've never attempted that
If you're interested in how it works at a low level, you get a much bigger project to try, so rather than using something like discord.py you connect to discord yourself with aiohttp
oh yeah, maybe expanding my own knowledge by coming up with a alternative to what someone has already done.
that might be interesting
@devout mountain help joe is drunk
@tiny sockethow would you connect to discord using a library like aiohttp? by sending a request to a api call?
why doesn't it make a sound?
@whole rover do you know of any fun apis to work with? Or any ways to expand my thinking when it comes to data scraping?
nice
asmr with joe
!otn a we're eating friend gopher
!otn a we're eating friend gopher
:ok_hand: Added weβre-eating-friend-gopher to the names list.
!otn a connected-to-the-Jake-network
Postocts 
!otn a jake uses dialup
:ok_hand: Added jake-uses-dialup to the names list.
:warning: Please confirm you want to restart deploy/postgres in default
:white_check_mark: Restarted deployment postgres in namespace default.
!otn a jack-the-repr
!otn a jack-the-repr
:ok_hand: Added jack-the-repr to the names list.
Setup a PagerDuty alert profile to just call Jake when things break.
Day or night, just call Jake
Oh they will actually call you Jake :3c
Groovy voice robot and all
ooo
YouTube: C&Ds Groovy
Joe: I will be the replacement
Remember to drink water @whole rover :D
this is how club fights happen lol
lmfaooo
@grand wyvern see ya dude!

@brave steppe, i saw your review, i forgot to enable the transpararent option, doing that now
yee
yeah
sure
@brave steppe, I just got my new computer, setting stuffs up, can you give me 20 - 30 mins ? i can resolve this by then
im in the vc btw
π
hey!
ah
haha
its so sunny here
rn in india, but im going to aus in 2 months
i came to visit my grandparents
:)
You are one of my fav members in this server :)
hehe
π
do you use vscode
awesome
i using lunarvim
its a port of neovim
grabbing a pic one min
its a better neovim
with vscode features
like intellisense etc
and autocomplete
eh, im a vim guy
@brave steppe ^
This is @wise cargo
what does that bot do?
Help channels, tags, it is pretty much the server's main bot.
sup
which formatter and linter do you use for python @brave steppe ?
im sorry for pinging you btw :(
mind putting the names here ?
tysm <3
Flake8 - general linting (max line length, amount of new lines, trailing whitespace etc.)
flake8 didnt work on my previous comp :(
Pyright - Static type checker (cannot add int and str type of errors)
hmm
I love you verboof
thank you LP

sup
sup
not much wbu
anyone tried github copilot yet?
nah
hey lp!
emac vs vim? @zenith radish
emacs obviously
o
+1 for joining an empty voice chat :/
?
alone lol
Sundays are not very popular for vc
trying to make me feel emotional?
Then we both can be π
because when i feel sad ... it is kinda difficult to get calm again
okie, sorry, was just teasing a bit, haha. Hope someone drops by VC though 
I'm also not good at picking up on jokes (high-functioning autism)
@somber heath ! >w<
You can always lurk help channels if you are feeling lonely though.
... and sorry if I just went weird on you
and ah, I am sorry then. I will try to be mindful.
I'm still serer muted ... the 72 hour requirement isn't up yet
So ... waiting it out
About 9:05 AM my time I can check to verify myself
one more hour me thinks
@somber heath I think they were possibly a troll or something ... jumped first to the AFK voice channel
But hey, that's just a theory.
A GAME Theory.
Thanks so much for watchin'.
@olive hedge ... about 5 minutes for me
You were probably off by an hour (timezone stuff)
hey look, your timezone
?
You need to be more Pacific
*giggle*
@whole bear if you are new here, check #voice-verification
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Just so you know
hello @somber heath
Minecraft: Java Edition? ... used to
Very bad now since no good mouse
@zenith peak You asked in a Python Discord server >w<
yeah always full
skids and stuff
OwO
bash or what @slate pier ?
sh / bash / ksh / etc. are shells
bash is the default shell for Ubuntu
type into the shell:
echo "$BASHPID"
if bash was ran, it will likely output a non-empty line
Sunday
USA West coast
keep the music volume down
no need for copyright issues
Can't Be Fu##ed
Can't Be Bothered
I remember it somehow
Ubuntu uses Python for some aspects of its OS
Why else is Python installed by default?
headset off my ears
w<
wait-what? .... oh ... I got my hours wrong ... @olive hedge you were right
... or my laptop was being funky
Maybe their network speeds were bad for you / etc.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@indigo nacelle
I heard "he-he!" and I expected the rest of the line from Mario (first Mario Party game)
He-he! I got it!
Unless it was Mario Kart 64
lol
MK64 is the 3rd Mario Kart title β¦
The first one (on the NES was not talked about much as it crashed a lot)
@brave steppe thanks β¦ using my phone to type atm
Jake the heretic.
!docs isinstance
isinstance(object, classinfo)```
Return `True` if the *object* argument is an instance of the *classinfo* argument, or of a (direct, indirect, or [virtual](https://docs.python.org/3.10/glossary.html#term-abstract-base-class)) subclass thereof. If *object* is not an object of the given type, the function always returns `False`. If *classinfo* is a tuple of type objects (or recursively, other such tuples) or a [Union Type](https://docs.python.org/3.10/library/stdtypes.html#types-union) of multiple types, return `True` if *object* is an instance of any of the types. If *classinfo* is not a type or tuple of types and such tuples, a [`TypeError`](https://docs.python.org/3.10/library/exceptions.html#TypeError "TypeError") exception is raised.
Changed in version 3.10: *classinfo* can be a [Union Type](https://docs.python.org/3.10/library/stdtypes.html#types-union).
OwO I know about those!
I used to use them
yes, as a kid
discord.py stopped being updated
I'm always right
will it support live "hot-plugging" of commands?
I will never understand voluntarily moving to a place that is below sea level
dynamically add & remove commands
this one
will allow the bot to unregister stuff that no "guild" is using / etc.
either
at least chat-based
So if no "guild" is using, say, <prefix>leetspeak, you can pop it off the list of commands to look for in the command mapping
Pretty much, each "command" would have an init / register and uninit / unregister thing
am i moved to AFK again?
im typing on my phone ffs
why are you wanting to trace arrays? >w<
I know what those are!
Talking about being a reely good person.
cats are very intelligent
also, if your cat does go MIA for a long while, check for places it might hang out but hidden away ... especially if you sense a foul smell ||as it may have died while "protecting" you||
yeah, grooming
with my laptop's horrible screen, your shirt kinda looked like paper
@terse needle open does not recognize $HOME
import os
with open(os.path.join(os.environ['HOME'], 'dirpart', 'dirpart2', 'tailpart')) as f:
# ...
^
import os
os.path.expanduser('~')
or
from pathlib import Path
Path.home()
I forgot about that first one
os.path.expanduser('~/path/to/whatever') iirc
This is why I dislike hardcoding / in them:
>>> import os
>>> os.path.expanduser('~/foo/bar')
'C:\\Users\\imlik/foo/bar'
Running that from within the Win10 host (IDLE)
str(Path.home()
Also have a WSL2-powered Ubuntu
omg you reminded me of my """analog""" 1-disc looper for Minecraft (Bedrock)
2 sticky pistons, 1 hopper, 1 jukebox, 1 music disc of your choice (ONLY ONE) ... and a bit of redstone + repeaters
By a site admin:
I'm sorry but I don't think that we're able to help you as there are no physical facts to work with, so no physical solution to your problem.
Electromagnetic radiation, light, radio waves, and sound are all well understood physical phenomena which we can use, measure and manipulate. Spirits and telepathy are beyond the ability of Audacity, so I think best that we close this conversation here.
it goes on on the next page
thanks
Mediums are normally paid to come up with B. S.
true
psutil ?
psutils
I recall is in Ubuntu idk if default install
vim chic ?
what did i hear?
i probably said vim shit
w<
my hearing is horrible
*giggle*
started ffmpeg conversion from mp4 to webm ...
Both are containers but both are different
MP3 is the same container as MP4
WEBM ... I recall there is the same for audio-only
so why is ffmpeg -i a.mp4 b.mp4 by far faster than ffmpeg -i a.mp4 b.webm ?
I need to make it small
-acodec copy -vcodec copy
it was over 100MB (MiB?) ... so ... I need to shrink the video for here
why i cant talk
you need at least 50 messages sent
!voice
and you need to type the command !voiceverify in #voice-verification
check this bot message@warm canyon now deleted the bot message
tar -xzvf file.tar.gz
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yes I can, but why?
btw
the @wise cargo was made using php
Because I am trying to see if it was working
but I think we just delete the embed now after awhile
<?php
include __DIR__.'/vendor/autoload.php';
use Discord\Discord;
$discord = new Discord([
'token' => 'bot-token',
]);
$discord->on('ready', function ($discord) {
echo "Bot is ready!", PHP_EOL;
// Listen for messages.
$discord->on('message', function ($message, $discord) {
echo "{$message->author->username}: {$message->content}",PHP_EOL;
});
});
$discord->run();
@whole bear Please don't randomly DM someone
where does the closing ?> go

Yeah I got the same dm
Vim is big; so big that it does some very useful things that are often overlooked. Plugins can buy us a lot of functionality, but they can add a lot of burden in the form of dependency complexity. In this talk, we'll explore some of the tradeoffs we can make between plugins and "vanilla" Vim features that achieve similar results, including:
- a...
:o
mina is girl name
nima is for boys
@primal yacht ^^^^^
@vivid palm are you indian?
hey aoeu
it won't let me connect
You mean speak or ...?
you said that the other day too, you can't figure out why?
r u voice verified?
you got voice verified?
Nope
that doesn't change whether or not i can connect
that was fast
just this hour
hey @zenith radish
@crimson copper connecting now?
fwiw to us it shows you as connected
^^
i can't hear anything
pain
lol time to reinstall, or use browser
Try restarting Discord ... and if that fails, restart your device
Thats a good idea
Pretty much the restart option next to power off
working?
no
This Restart option on Win10
i'm using the browser
Then still restart your computer
whaatever
Sometimes a port can be left "in use" and thus cannot be reclaimed to the "unused" pool ... until you restart
its $2000 here for government colleges
1 year at community and transfer to 4 year
is what i would do if i could go back
@whole bear please mute
@whole bear please mute
Even Android can do that ... I literally had to hard-kill NodeJS a few times and thus I made something in my code so I can manually specify a port (made an infinite loop somehow that ^C would not fix)
can someone help with my project?
i basically want to connect my project with an sql database
i'll try another browser π
aoeu, is that a school computer or connected to a school / company VPN?
@loud birch also maybe ask in a better channel?
idk just thought that someone here knew
wow, switching browsers worked
if your preferred browser has an ad-blocker / etc., disable it for the whole domain of Discord
good
imagine how im feeling when im asking for help π
at #help-cookie if someones interested
that's occupied by someone else
theyre all occupied what do you mean XD
#βο½how-to-get-help @loud birch
you'll also want to provide details about your problem, what you've tried
"morning" rabbit
I woke up before afternoon
kkkkkkkkk
1115
does this mean i can get a doctors note to have night shift hours
diagnosis: night owl
lolll
I feel like meetings should always be around lunch-time, then you should have like 3 hour windows in the morning and evening when you can arrive and leave (as long as you do X hours).
Probably would be good for reducing the rush-hour peak as well.
@dusky mango Deleted messages don't count towards the 50 message requirement.
if (condition) ;
something();
return
foo()
```Same as:```js
return;
foo();
https://unicode-table.com/en/037E/ Greek Question Mark
I don't know if anyone actively monitors it.
We mostly go by alerts.
Yeah, fair enough π
No, FastAPI is future of discord bots
yeah true
Totally not 0
Why is random messages going poof?
was deleted
hey guys
does it makes sense to arrest someone
like they were planing to rob a bank
Is this hypothetical, or... ? π
it is hypothetical
yes, it's conspiracy
Like anything in the law, itβs very YMMV

spirited awayyyy
Yeah, I'm bad a picking favourites.
I can name films I like, but if I tried to name my favourite I would inevitably overlook something.
very nice dude
https://en.wikipedia.org/wiki/Independence_Day_(1996_film%29
Independence Day (also promoted as ID4) is a 1996 American science fiction action disaster film directed by Roland Emmerich and written by Emmerich and Dean Devlin. It stars an ensemble cast that includes Will Smith, Bill Pullman, Jeff Goldblum, Mary McDonnell, Judd Hirsch, Margaret Colin, Randy Quaid, Robert Loggia, James Rebhorn, Harvey Fierst...
AGM-114R9X
229 ms mine
for me:
rip
ye :/
I got carried away ... sorry
I can either blame my autism for getting stuck on the topic ... or I can blame myself (which means I mentally beat myself up) ........ which the latter currently seems to be the case of what is happening
.... no wonder people hate me so much ....
I'll take a break now
is discord.py going to like don't get any more maintanance??
Yes, itβs read only
Erm
cool
π
FastAPI is replacement 
time to swtich to Dpp
Dpp?
c++ wrapper for discord api
package main
import (
"flag"
"fmt"
"os"
"os/signal"
"syscall"
"github.com/bwmarrin/discordgo"
)
var (
Token string
)
func init() {
flag.StringVar(&Token, "t", "", "Bot Token")
flag.Parse()
}
func main() {
dg, err := discordgo.New("Bot " + Token)
if err != nil {
fmt.Println("error creating Discord session,", err)
return
}
dg.AddHandler(messageCreate)
dg.Identify.Intents = discordgo.IntentsGuildMessages
err = dg.Open()
if err != nil {
fmt.Println("error opening connection,", err)
return
}
fmt.Println("Bot is now running. Press CTRL-C to exit.")
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt, os.Kill)
<-sc
dg.Close()
}
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
if m.Author.ID == s.State.User.ID {
return
}
if m.Content == "ping" {
s.ChannelMessageSend(m.ChannelID, "Pong!")
}
if m.Content == "pong" {
s.ChannelMessageSend(m.ChannelID, "Ping!")
}
}
If your bot is call and response, off the websocket
No!!!!
bruh go is good!
resp, err := http.Get("http://example.com/")```
but parsing json responses to golang structs is kinda pain
statically typed languages go brr
No, making rest api server
rust syntax hurts the eye tho
c# better java
yeah we can do everything that we can do with generics with interfaces
well almost everything
package controllers
import (
"ifcord-rest/src/services"
"log"
"net/http"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
)
type ICController struct {
*gin.Engine
icService services.IICService
}
func NewICController(icService services.IICService) *ICController {
corsConfig := cors.DefaultConfig()
corsConfig.AllowHeaders = []string{"*"}
corsConfig.AllowAllOrigins = true
router := gin.New()
router.Use(gin.Recovery())
router.Use(cors.New(corsConfig))
icc := &ICController{
Engine: router,
icService: icService,
}
group := icc.Group("/api")
group.POST("/bot" , icc.messageBot)
return icc
}
func (icc *ICController) messageBot(c *gin.Context) {
var message interface{}
err := c.BindJSON(&message)
if err != nil {
log.Println("Invalid message.")
c.Status(http.StatusBadRequest)
return
}
err = icc.icService.SendMessage(message)
if err != nil {
log.Println("Failed to send message.")
c.Status(http.StatusInternalServerError)
return
}
c.Status(http.StatusOK)
}
lol
it requires getting used to
yeah honestly most discord bots do not need a socket connection 90% of the time
yeah yeah that
I can't really speak in the voice channel, what are you guys discussing?
also what's the status of web assembly with python? haven't been able to find a lot of stuff related to it.
I would give anything to replace js with python in my web projects
its huge tho
????
YOU'RE ADDING A WHOLE ASS NEW SCRIPTING LANGUAGE TO THE BROWSER
Ofc it's huge
lol true
There's also languages that compile to the js like clojure
Typescript
A bunch of others
oh, ok havent have much experience using canvases
bruh go doesnt let you "ignore" errors, it just wants you to explicitly handle each error
@amber raptor dpp supports slash commands, does that still mean that fast API or smth like that is the replacement
verboof, how to get streaming right like you?
you join the server in 2019
what is 201?
2019
Yes
I'm a student too cs undergrad rn
learning cyber security
did you participate in dfdc by facebook? @gloomy vigil
I did, failed miserably lol
I just have one pynb in colab that starts an ssh and I just use that most of the time
with gpu?
yes
yeah you can use the gpu runtime
also theres a library that does just that, it starts an ssh or a vnc server and ngroks it
its called "remocolab" I think
Who is Brain?
hes inside our body jk ||dev of dpp||
he didnt say that prs are bad he said that he put them before into the lib itself before the other libs were doing prs
whats wrong with that pr title lol, seem perfectly fine...
dk about that
No I get that, he was quick to implement new features
also how do you scale dpy bots over nodes?
for websockets, you split the shards across processes
so you gotta make your own shard manager basically?
not really?
Well generally you dont auto scale them
because typically you double them up each time, and startups and restarts take a long time
if something breaks you'll munch through the identify limit real quick unless you go over 150k
e.g. we run 200 shards, next time we need to scale up we'll double it to 400 shards which will be at 400k servers
oh, hmm...
so typically
not much point
you might not want the system to restart everything just because you go 1 server over the limit when you have an update coming out
got it
(also for the record most bots dont need this)
also what do you mean here?
you only really need this when you start hitting 20-40k guilds+
restarts take longer?
debian
Brain is full of half truth IMO. Websocket is not going away however, it makes sense to move bots away from it.
So again, if your bot is call and response, then slash commands over HTTP is more scalable for you and discord
gtg guys, I might be actually talk to you next time if I get verified. Bye!
And I could see discord stop providing slash commands over websocket
dpp supports slash commands though
ooh
Again, over websocket
when will that happen?
They have not made any formal announcement that it will
but I've been in IT long enough to see way the winds are blowing, it makes total sense to do so
hmm lets see what discord does
problem is, with the way discord move, it might be too late for some
@gloomy vigil she picked up
alright goodnight i will see ya tmrw or someother day
yeah alr
too late for some?
cya
like switching from gateway library to HTTP will require completely different approach
i mean in that case most of the discrod api wrappers will be dis-continued and new ones will be made
Sure but it's ton of work to migrate libraries
sure like what i meant that the earlier libs will be dis-continued, and new ones would be made from like different authors, not migrating
Yeap that's what's gonna happen
The average discord bot dev doesn't want to figure out what an authorization header is.
e my bruddas
whats wrong with ur names
What's wrong with you
u want my psychiatrists notes or what?
Lmao I'll send my therapist to fight yours
mine is a 30 year old lady, I'm sure your's would win
Kanye sampled globgogabgalab, I'm sick of the 0.1% appropriating my culture
I'd be up to see the fight, in the ring. Let's do it KSI, Logan Paul style
Let's do it
Do you like gym @dense ibex or was it more like Running?
Ah shit, nice haha. Be really careful though. Because you're always targeting very specific muscles so it's pretty easy for things to go wrong when you don't do it correctly.
As opposed to other forms of workouts where you use your body itself
Alright welp I'll probably go to sleep now, gonna wake up early tomorrow for school ;(
Enjoy your evening lads @dense ibex @terse needle
π
!stream 163013595888615425 1h
β @devout mountain can now stream until <t:1630286557:f>.
thoughts on getting a pydis mask
so does the dmv have its own dmv
Do they have Credit Union holiday?
Take full advantage of those student discounts π
@whole rover did you just buy a fucking pydis mask?
I want a mask! 
yes problem
just... why
i need to intimidate golag programmers
Brb discord died
Someone said hello to me and then voice perished on me. Hello 
π
Ah, those ratings don't mean anything.
Same here. Not mobile
Laptop on hybrid system
I think it might be a US thing, because I just logged onto my pc and it's still messed up.
and I've been all chop and no voice. Ah well. 
Alright I'm gonna head off to bed cya guys π
!stream 163013595888615425 30MM
Could not convert "duration" into Duration or ISODateTime.
30MM is not a valid ISO-8601 datetime string
!stream <member> [duration]
Can also use: streaming
*Temporarily grant streaming permissions to a member for a given duration.
A unit of time should be appended to the duration.
Units (βcase-sensitive):
βy - years
βm - monthsβ
βw - weeks
βd - days
βh - hours
βM - minutesβ
βs - seconds
Alternatively, an ISO 8601 timestamp can be provided for the duration.*
!stream 163013595888615425 30M
β @devout mountain can now stream until <t:1630288991:f>.
Hey people!!
At first I thought this was in a museum and those were really old devices.
perished, no less
I really need to stop updating discord for android
it gets slower and uglier with each update
Traceback (most recent call last):
File "D:\RMIT\Python\Week 10\experimental\application(supposed to launch from here).py", line 9, in <module>
app = Application()
File "D:\RMIT\Python\Week 10\experimental\application(supposed to launch from here).py", line 7, in __init__
self.__frontend = frontend.FrontEnd(self.__backend)
TypeError: __init__() takes 1 positional argument but 2 were given
def __init__(self, backend):
self.__backend=backend
sys.stdout.write(str(self.__backend.get_password_count())+" Passwords loaded...\n\n")
sys.stdout.write("Ai em da UI\n")
...
@timber lark
self.__frontend = frontend.FrontEnd(self.__backend)
def __init__(self, back_end):
self.__backend=back_end
with open("filename.txt", "a") as f:
f.write("message to append at end of file")
Yeah I don't think they're going to be spooked by Python
As much as I love us
I'm a client in adult foster care
My care provider lives on the basement floor
(the whole basement is off-limits to clients)
"Right?"
... or ...
.write()?
I've never heard of adult foster care
Foster Care for 18+ (USA)
It would be inhuman to kick people to the street (so-to-speak) who cannot live on their own whatsoever.
int(input()) # expects ONLY /^-?[0-9]+$/
wait-what? ... ... anyways, thanks for messing me up and finding this >w<
So from what I'm reading adult foster care is similar to assisted living just on a smaller scale/less clients at a time
Assisted Living is different
Assisted Living is where the person is still paying for their own stuff, still must go shopping, etc. etc., a staff is NOT always there
A severely mentally handicapped person will be better in a place where there is always staff around
.... ...... the ears are too large
no, theyre exactly the right size 
Reminds me of Dumbo the Flying Elephant (the cartoon, by the way)
hi guys
w<


π¦π

does anyone know how can i remove an amount of element from a list in 1 lane
oh, noez!

with out typing if "..." and ''..." and "..." in inventory
I'm glad I don't drink coffee
coffee is the only thing i need to survive
Look at all()
where ?
>>> help(all)
Help on built-in function all in module builtins:
all(iterable, /)
Return True if bool(x) is True for all values x in the iterable.
If the iterable is empty, return True.
o_0 didn't get it
So you can also do:
if all(item in inventory):
do_whatever()
Like skids ... @ idiots
download malware & other stuff
Taco Bell is still fast food
w<
*giggle*
Is that ifunny.co?!
its just normal graphs
(ΰΈοΈ‘'-'οΈ )ΰΈ

Most scam links are specialized for a specific person ... to uniquely identify who clicked it.
@primal yacht if all(item in inventory):
do_whatever()
.... Pseudo code
can i do if 10("apples" in inventory)
int is not callable
!code
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.
I don't know if each is stored as a single str or not
they are stored as string yeah
@tiny socket Don't forget about the "steam community" ... forced trade stuff?
Hatred against cute killed the Cat Girls
Cat playing with a cord that can fry the cat alive
Back when power cords were not so safe
!otn a schrodinger's-printer
!otn a schrodinger's-printer
:ok_hand: Added schrodingerβs-printer to the names list.
Tech enthusiasts: My entire house is smart.
Tech workers: The only piece of technology in my house is a printer and I keep a gun next to it so I can shoot it if it makes a noise I don't recognize.
8022
25647
@rugged root modern humour, you just don't get it https://www.youtube.com/watch?v=qex4RGSPgrs
compilation of future cars predicted by 2050 (funny edition)
@primal yacht
touch test.txt vs echo>test.txt what is better?
What year is this?
touch
Use echo -n to prevent newlining
Ten years ago it was 1999
2022
zombie games in 1990 the year is 2020 and our world is filled with zombies
truncate -s0 test.txt # create / replace with empty file
touch test.txt # create / update modification times
truncate -cs0 test.txt # same as last but don't create the file if it does not exist
gotta bounce, relatives randomly showed upo
lol
Quickly, to the bunker

are you in india that happens very often in india
err no
but for future refence
relatives exist in countries other than india
and unfortunately they do sometimes appear
i thought they call before coming :/
Not always
Just like anywhere
People be people
Have to call Canon to try and figure out what's up with this printer
alright
printers ew
The power socket is loose on this one
oh
It's a portable printer
well, that's at least diagnosable
Yeah, tried a couple adapters that would fit the spec
I dislike loose ports ... especially for the power port on a phone
i have a loose power port in my laptop
on a smartphone, it is easily possible to not charge it
send code? @timber lark
I mean it's loose enough that it's just not working
rip
.
just send it again
File "D:\RMIT\Python\Week 10\experimental\application(supposed to launch from here).py", line 2, in <module>
import frontend
File "D:\RMIT\Python\Week 10\experimental\frontend.py", line 66, in <module>
personal_password_manager=FrontEnd()
TypeError: __init__() missing 1 required positional argument: 'back_end'```
frontend.FrontEnd(self.__backend)
why don't you just send the code again
i mean, if you want help you should send the updated code
otherwise, you can't really expect much
personal_password_manager=FrontEnd()
personal_password_manager
#APPLICATION.PY
import backend
import frontend
class Application:
def __init__(self):
self.__backend = backend.BackEnd("data.csv")
self.__frontend = frontend.FrontEnd(self.__backend)
app = Application()
>>> print('Spam Eggs', file=sys.stdout, flush=True, end='\n--\n')
Spam Eggs
--
>>>
def printer(text, /):
sys.stdout.write(str(text))
def __dir__(self, /):
return []
@property
def value(self, /):
return self.__value
@value.setter
def value(self, x, /):
self.__value = x
| __ge__(self, value, /)
| Return self>=value.
(10).__ge__(value=8) #error
lebanon
got to go eat
and use the restroom
bbl i hope
eating & my phone for the VC
^w^
What exactly do you mean by "console"?
as in gaming console? terminal console?
gone already? oofles
output slider only (what i hear you all at -- global setting)
\n
def _main(self):
menuText = ( "" ) # ...
menuMinValue = 1
menuMaxValue = 9
while True:
try:
chosen = int(input(menuText))
except ValueError:
continue
#...
i have more money than you you have and contact than you have
.
class Application:
def __init__(self):
self.__backend = <initializer for backend class>
self.__frontend = frontend.FrontEnd(<reference to backend>)
well that was random
that was like 2 and a half hrs ago
we in #voice-chat-text-1
@dense ibex is bad at discord bot
lol yes
Also watching this PR is fun!
Monolithic app reviews are always πΏ
@dense ibex left us
I'm abouta stream because Xith told me to lol
Stream what?
Coding
New features since you are now dpy maintainer
lol says who
Apparently since you get appointed as random developers, Iβm Voluntolding you
@dense ibex when stream
@stuck furnace karaoke with joe lol
Β―_(γ)_/Β―
got to have fun sometimes
@muted hinge hiya
special purple people
OH C'MON it's beautiful!
watches Xith traige ^^
My dual core CPU is now struggling :/
whyy
because I decided to watch the stream
lol how .. old is your machine
hmm
I'm now considering joining in the staff meetings, probably pretty chill. Obviously still muted (don't feel comfortable) but I'm curious ^^
curious too π
I have access as a partner :p
they're working on issues/PRs for repos relevant to this server
oh~
not really teaching anything per se
Good evening
Am I early?
I slept through the afternoon earlier now I can't sleep
At least my classes are in the afternoon
!stream 806676792559403019
β @slate pier can now stream until <t:1630416517:f>.
Wait really?
1st year of Uni is kinda boring aside from number theory, which I enjoyed the introduction to
We also have some fun elective courses like system administration, data science, and project management
all the fun stuff is in 3rd year
@slate pier which language is this
!rule 4
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
why do i feel like everyone is whispering
i will break
usb will die by my hand
as i wipe out each port one by one
</not a rant but idek how to explain the crap i just said>
its so we dont startle you
I knowwww, I need to change it 
bad word lmao
sus
@raw carbon you have a really nice voice.. just wanna put it out there
lmao @tiny socket do you start a project every day?


