#voice-chat-text-0
1 messages Β· Page 890 of 1
i can stream rust ig?
@whole bear Actually give me a bit, I need to finish this mileage sheet
Rust-the-language
no problem
i would but i dont have perms
oof :(
can i stream rust π₯Ί
Yeah sorry, I try to keep an eye on folks when they're streaming but I can't at the moment
!stream @honest pier
β @honest pier can now stream until <t:1630595058:f>.
I'll be right back
Hey @leaden comet
hiya
Hello!
Experience the beauty and detail of mowing the Great British countryside in Lawn Mowing Simulator, the only simulator that allows you to ride an authentic and expansive roster of real-world licensed lawn mowers from prestigious manufacturers; Toro, SCAG and STIGA as you manage your mowing business.PHYSICALLY AUTHENTIC LAWN MOWING EXPERIENCEExecu...
$29.99
588
Plan for your ideal outdoor space using deck design software from Trex, the #1 high-performance decking brand.
Alright I'm back
I'm in a bit of a dilemma
The json file I'm supposed to deserialize only has serialization routines in the library that implements it
So like, in Haskell, there's this library called aeson where the general idea is basically:
- You define some data type
- You define serialization from data type -> textual json
- You define deserialization from text json -> data type
Said data type skips the third
.... seriously?
Meaning I have to implement it myself
It's internal use by the PureScript compiler, so I can't really see it happening
Maybe if I ask nicely
Said data type is used for documentation generation
HEY LEMONN
I'll be back soon
The Second Battle of Copenhagen (or the Bombardment of Copenhagen) (16 August β 5 September 1807) was a British bombardment of the Danish capital, Copenhagen, in order to capture or destroy the Dano-Norwegian fleet during the Napoleonic Wars. The incident led to the outbreak of the Anglo-Russian War of 1807, which ended with the Treaty of Γrebro...
here's the relevant battle, by the way
See ya
hewwo again
Yo
Hewwo kitty, nice profile picture btw
Okay, this is strange to me. Why is there more compliance with ES7 than ES6
That just feels bizarre
Thanks! its photoshopped nelly
lol
I wanted do some docker hands on as a beginner what can i do ?
Do you have docker installed mate ?
its like when you do bad job for q1 and decide to do better in q2
im a beginner too but i love helping :D
I guess
I think the only thing they're missing is the tail call recursion optimization
Good or bad
good
wait it got him
one sec
like- no offence
its ben awad
a ytber
look wise
your pfp atleast
well,
I can kinda see it
from 50m maybe
I have no idea. #tools-and-devops might know.
okey dokey
Sleep well
Good night
Neat
special byes to : Mr. Hemlock & @primal yacht & bluenix
could i share my screen now? I don't need help
!stream 844265279219302492
β @whole bear can now stream until <t:1630598473:f>.
thanks
Is it only me, or I can't join VCs?
Windows primarily
oh, cool
@fiery juniper Try now
It just shows RTC connecting
No not that
cya people!
I join, and it shows RTC connecting
@whole bear you're running it successfully, it just does not invoke your function
If you are unaware
brb ... Discord is glitchy
As is its way
how do i fix?
You're not calling your red function
etc.
if ans.strip().lower() in ('y', 'yes'):
# ....
```@whole bear
str.lower is a method, not a getter
You probably killed the window and THEN accepted it :/
You just killed the window again
Man really full today
just comment out your input and conditional stuff ...
red()
```Will invoke it and should auto-close when the window is done
gonna eat me' pizza :3
nice
enjoy π
ngrok secure introspectable tunnels to localhost webhook development tool and debugging tool
Ooooooooooooooooooooooooooooooooooooooooo something just made sense to me
do i need to put in a while loop
I now understand why arrays give strings for in in JS
They're all just objects, and that's how it handles key/value
So it's just treating it as such
You only need one Turtle AFAIK
Arrays are objects.
Properties are either identified by a string (name) or by a symbol.
Check RAM usage of it
how?
... Task Manager?
You only need 1 turtle
Gtg, see ya..
bi bi
back
welcome.back()
print("thanks")
Watch Python's after you start it up ... VSCode is the wrong one
@amber raptor is that the url?
Memory is going up and up @whole bear
https:// link is
14 MB already
is that bad
Yes, eventually you'll be out of memory
oh
import os
from typing import Optional
from fastapi import FastAPI, Request, HTTPException, Header, Body, BackgroundTasks
from pydantic import main
app = FastAPI()
@app.post("/")
async def discord_main(
request: Request,
bg_task: BackgroundTasks,
X_Signature_Ed25519:Optional[str] = Header(None),
X_Signature_Timestamp:Optional[str] = Header(None),
):
auth = Auth(os.getenv("app_public_key"))
body = await request.json()
body_str = await request.body()
if auth.verify(
body=body_str,
signature=X_Signature_Ed25519,
timestamp=X_Signature_Timestamp
) is False: #Meaning it's invalid
raise HTTPException(
status_code=401,
detail="Invalid Token"
)
elif body['type'] == 1:
return {'type': 1}
elif body['type'] == 2:
if body['data']['name'] == 'clanwars':
bg_task.add_task(ClanWars().Get_Clan_Battles, body)
elif body['data']['name'] == 'update':
bg_task.add_task(Update().update_user,body)
return {'type': 5}
```
discord is very high should i be worried?
@whole bear lets move to #751592231726481530
!stream 844265279219302492
β @whole bear can now stream until <t:1630599677:f>.
I am involved in vcokltfre's library a bit, not sure if we'll support HTTP interactions
so far I was just extremely pissed off by the API documentation
If a bot uses call-and-response, you could make a proxy that accepts HTTP calls and propagates them as new message events
but that's a huge hack
@honest pier
what you doinnnggg
aoc 2019 day 18
@gentle flint Electrical substation?
my mic is not working π¦
Weird
in what language
I would think it does in all
no
Same way a function woul- wait really?
Declaring a class definitely occupies memory in your editor
in python or java or c
in C there are no classes
Only Zuul
i mean we write text right while declaring class
AFAIK C++ doesn't store metadata about classes, so they have 0 size
(well, their methods are of course stored in memory)
Wait, then how does it know that there's a class you can make objects from
The methods exist, but the class itself (like, it's name an stuff) doesn't exist as a first-class thing
other examples are water treatment centres, they smell a lot man
that variable and methods?
in python, they do
where they will store in stack or heap
Right but how would the compiled code know that it needs to link all those things that are tied to the class onto a new instance
True dat
i'm confused
when i create object it will take memory in heap right
in python, yes
then where does class take memory if i don't declare object
well, depending on your definition of object
wdym, what language are you talking about
python,c,c+= and java
you can't talk about all of those languages at the same time, they're quite different
is python and C++ similar?
no
..
Patience
In Python all methods are virtual -- you can override every method, and when you call a method it's dynamically looked up on the instance.
In C++ methods by default are not virtual -- when you call foo.bar(), if bar is not virtual, it's just an ordinary function call.
virtual methods will be different for each subclass
If a class has virtual methods, each of its instances has a "vtable" -- it's a tuple of pointers to functions. For example, if your class Quack has non-virtual methods foo and bar and virtual methods fizz and buzz, then each object will store the pointers to the particular fizz and buzz methods. Something like
function Quack.foo(this: Quack, x: int64) { ... }
function Quack.bar(this: Quack, a: int32, b: int64) { ... }
QuackVtable {
fizz: (Quack, n: int32) -> int32
buzz: (Quack, n: int8, m: int8) -> *char
}
Quack {
attribute1: int32
attribute2: int32[4]
...
vtable: *QuackVtable
}
``` (pseudocode)
then, if you want to call a virtual method, you do
function call_fizz_and_buzz(quack: Quacj) {
quack.vtable.fizz(quack, 1)
quack.vtable.fizz(quack, 2, 3)
}
the vtable will be shared by all instances of a class
you could say that the vtable _is_ the class, but it doesn't store all the metadata Python or Java stores
something like this
wdym by "interpreted method"?
@rugged root I'm not a C++ programmer so don't trust me
π
in cpp, a virtual method means its impl can be overwritten by derived classes
yep
@rugged root define 'metadata'
Attributes like x.foo are just aliases to (x + (some fixed offset in memory))
like C structs if you're familiar in C
so that's known at compile time
π₯² i'm not understanding
@green bone thank u so much for putting efforts to make me understand , i really appreciate ur help
@normal hinge What was your original question?
I was mainly answering Mr.Hemlock's question
sir, my question will class occupy memory
In Python - yes
if we don't instance or create object for it
In other languages - it depends
yeah, JS names works like Python names
you can't know if a class has been used
so for dynamic languages and static languages
it is different
@rugged root u mean dunder methods
Java and C# do store some metadata about classes. For example, you can look up the class of an object and its methods at runtime.
they are built functions right
@rugged root perms pls
Is there a particular reason you're asking?
!stream 844265279219302492
β @whole bear can now stream until <t:1630602046:f>.
π
Indra
curosity and for interview
Yesterday I was trying to find out what the "without K" option does in the Agda compiler. I didn't understand anything but now I know what a homotopy is...
If someone is asking you about C++ classes on a Python interview, they're doing something fundamentally wrong
Does your position require Java, C++, C and Python?
System engineer role
python and java and sql
i know python but i hardly remember anything about java
just tell me one question @green bone
where does the our code saves
in stack or heap
on disk π
I wouldn't want github to store my code on the heap
Stack and heap only exist in RAM
wrong chat sorry
I'm not very motivated for AoC because it's not timezone-friendly for me π
I"m a competitive person but I suck
oops I closed the discord tab
no u
I use discord in browser like the giga brain I am
print("hello spidraner, i write this")
I do agree that Advent of Code should move start time around
like make it +1 hour every time
or just move it so it's friendly for different part of the world
Ok Bye
You may have heard that everything in Python is an object, even types such as int and str. Well, itβs true on an implementation level in CPython. There is a struct called a PyObject, which every other object in CPython uses.
Note: A struct, or structure, in C is a custom data type that groups together different data types. To compare to object-oriented languages, itβs like a class with attributes and no methods.
Get ready for a deep dive into the internals of Python to understand how it handles memory management. By the end of this article, youβll know more about low-level computing, understand how Python abstracts lower-level operations, and find out about Pythonβs internal memory management algorithms.
I will host my own competition exclusively in GMT+3 
in fact I'll refer to GMT as MSK-3
"MSK"?
Gooootcha
MSK+24
or is it +7
sorry I mean MSK-24
yes that was the joke
MSK+NaN
I am now at MSK-350640000
If Thanos snap worked, would all JavaScript programs have a 50% chance of becoming Java's programs?
I prefer composition over inheritance
Yeah, there is no absolute position in the universe
π³
!e print(import('random').random() > .5)
@honest pier :white_check_mark: Your eval job has completed with return code 0.
False
i live!
Okay, now I'm imagining that Joe has a deadman's switch for rickrolls
Like in the event of his death, we just get flooded with them
!e print(import('random').random() > .5)
@rugged root :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(import('random').random() > .5)
003 | ^
004 | SyntaxError: invalid syntax
!e print(import('random').random() > .5)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
False
Two Swedes in the VC π
Xith, so am I just scouring the entire repo looking for hits that got missed?
Stinky
No
What's Bluenix working on?
π
Introspection π
Like how FastAPI does it
Ah, I've not tried FastAPI.
Tl;Dr I am planning on this kind of API ```py
import os
from wumpy import interactions
app = interactions.InteractionApp(os.environ['TOKEN'])
@app.command()
async def permissions(interaction: interactions.CommandInteraction) -> None:
"""Get or edit permissions for a user or a role."""
# This should be called for each command, even though you cannot invoke a
# "parent" command directly.
pass
@permissions.group(name='user')
async def user_command(interaction: interactions.CommandInteraction) -> None:
"""Get or edit permissions for a user."""
# Potentially you may want to run code each time the user subcommand-group
# is used, there may be shortcuts made so that all of these functions
# won't be necessary if not used.
pass
@permissions.subcommand(name='get')
async def user_get(
interaction: interactions.CommandInteraction,
user: interactions.User = interactions.Option(description='The user to get', required=True),
) -> None:
"""Get permissions for a user."""
await interaction.respond('Just use the client for this :p', ephemeral=True)
This style of commands may be supported (or used instead).
@interactions.option('user', description='The user to edit', required=True)
@permissions.subcommand(name='edit')
async def user_edit(
interaction: interactions.CommandInteraction,
target: interactions.User
) -> None:
"""Edit permissions for a user."""
await interaction.respond('Pretty useless tbh', ephemeral=True)
if name = 'main':
import uvicorn
uvicorn.run(app)
rip
π
Python datetimes made easy
@normal hinge Yes I am from Hyderabad
Aero
Oooh
Fancy
And I thought arrow was cool
Right?
I'm genuinely surprised you guys hadn't heard of it
I know I've sung its praises multiple times
Good night guys , have a nice day or night
now = arrow.now()
start_of_week = now.floor('week').date()
end_of_week = now.ceil('week').date()
This is what I use arrow for.
Does pendulum have similar floor / ceil functions?
I would assume so, but I'll have to look
Ah. Was hoping you'd know. I'll take a look
Yeah sorry
>>> dt.start_of('day')
'2012-01-31 00:00:00'
>>> dt.end_of('day')
'2012-01-31 23:59:59'
Found it
Neat
We've all done it at least once
w<
from django.http import HttpResponse
from django.shortcuts import redirect
def unauthorized_user(view_func):
def wrapper_func(request,*args,**kwargs):
if request.user.is_authenticated:
return redirect('home')
else:
return view_func(request,*args,**kwargs)
return wrapper_func
def allowed_users(allowed_roles=[]):
def decorator(view_func):
def wrapper_func(request,*args,**kwargs):
group=None
if request.user.groups.exists():
group=request.user.groups.all()[0].name
if group in allowed_roles:
return view_func(request,*args,**kwargs)
else:
return HttpResponse("<h1>You are not allowed to access this page</h1>")
return wrapper_func
return decorator
def admin_only(view_func):
def wrapper_func(request,*args,**kwargs):
group= None
if request.user.groups.exists():
group=request.user.groups.all()[0].name
if group=='user':
return redirect('userPage')
if group=='admin':
return view_func(request,*args,**kwargs)
return wrapper_func
decent yeah
[0]
@raw carbon We can hear you but you're kind of muffled
groups = [ i.name for i in request.user.groups.all() ]
if 'admin' in group:
return ADMIN_STUFF
if 'user' in group:
return USER_STUFF
return FAILED_STUFF
if not there 0 while send u error
So ... is this an okay mouse?
yes
as SRE, this triggers me so much
@raw carbon @vivid palm π₯³
how lancebot PRs are going:
:O my heart is stolen
there is some big PRs π
Trend setter
The gurkult i hope lol
my cult
@raw carbon if you make a heat seeking cucumber, i'll personally send you a few kilos of cucumbers. No joke
And a sticker
And a magnet
@brave steppe hmm one of my first times seeing someone use ipynb on pydis
Really?
yes
I see it somewhat often in #internals-and-peps
it's good for fast testing
are you using it for like a temp space?
Yeah, I need to test code and so I want to run test smaller cells themselves
cool cool
So is heat seeking missle sentient for few glorious seconds before it explodes?
Yes.
So, it checks if it can reach the internet, and if it can't, it says it can't reach the internet?
The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently,Β a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return 503.Β This error is a reference to Hyper Text Coffee Pot Control Protocol defined inΒ April Fools' jokes in 1998 and 2014.
LX!
Hello π
@bot.command()
async def afk(ctx, reason=None):
current_nick = ctx.author.nick
await ctx.send(f"{ctx.author.mention} is afk: {reason} ")
await ctx.author.edit(nick=f"[AFK] {ctx.author.name}")
counter = 0
while counter <= int(mins):
counter += 1
await asyncio.sleep(60)
if counter == int(mins):
await ctx.author.edit(nick=current_nick)
await ctx.send(f"{ctx.author.mention} is no longer AFK")
break
Ugh, do I have to Mina? π
lololololol
π
cute!

@frigid panther which one
take this @olive hedge
review this
@frigid panther I don't know site unfortunately
fisher got this 
people i have a question...
@stuck furnace Was that you who commented on the uwu issue?
And yet no one uses assertions 
Because if so, that's absolutely magical
Indeed π§
I, for one, am glad that we can remain on the cutting-edge in this vitally important area. All too often, the most advanced uwugorithms are locked up in the ivory towers of academia, where they are unable to fulfil the enormous potential they have to enrich the lives of ordinary people. Thank you, @gitautas, humbly.
fine probs
Couple critical bugs but Β―_(γ)_/Β―
Provided to YouTube by The Orchard Enterprises
Kansas City Β· Wilbert Harrison
An Introduction to Wilbert Harrison
β 1959 Β© Fury Recordsβ’ a division of 43 North Broadway, LLC. WARNING: All Rights Reserved. Unauthorized duplication is a violation of applicable laws.
Released on: 2006-08-18
Music Publisher: Arvee Music
Auto-generated by YouT...
@rugged root Can you let everyone to turn down my volume as I'm on my phone
And it was me who posted the link
@primal yacht
M*A*S*H
I watched this as a kid β¦ https://en.wikipedia.org/wiki/M*A*S*H_(TV_series)
MASH (an acronym for Mobile Army Surgical Hospital) is an American war comedy-drama television series that aired on CBS from 1972 to 1983. It was developed by Larry Gelbart as the first original spin-off series adapted from the 1970 feature film MASH, which, in turn, was based on Richard Hooker's 1968 novel MASH: A Novel About Three Army D...
bnuuy

How did you get this picture from my mail π³
@honest pier
π
noisy students earlier this evening
cat meowing through the middle
π©
def foo(count: int, min_: int. max_: int, step: int, /) -> list[int]:
# ...
chris stole my picture hehe
as in, my screenshot of his stream lmao
@brave steppe you need to use https://www.gitkraken.com/
no
min and max are built-ins
You're not supposed to overwrite built-ins
github desktop D:
fixed?
π
?
Shit happens
gn m8
Sleep well
Robot voice: You are being rescued, stop resisting
@olive hedge fires and such
Could be Linux disguised as Macintosh
I remember old Macintosh
Also side note: My mom has brought up on several occasions questions about me speaking English and to who- and I don't know what to feel about that.
Did my whole family hear me having a mental breakdown over experiencing NoneType (not None) for the first time?
even as old as B&W Macintosh
1440*900
Egg 
type annotations are supposed to be as specific as possible right?
Eh, I dont like doing them this way, I find it gets convoluted quickly
hmm, a specific scenario then, https://github.com/python-discord/sir-lancebot/pull/802/files#diff-17300cf104ff067af3b2f17a284408e111c40e0468b888ac210229c08523aeafR174
should this be dict over Mapping?
I approach them as generally as possible.
def funct(arg: Optional[dict[Union[str, int, bool], Optional[str]]]):
...
dict[any, any] | None 
π¦
chris!
You're supposed to accept as wide of a typing as possible, and "output" as narrow as possible. At least that's how I see it
Generelly though, your function isn't used anywhere else so using Dict over Mapping is fine as long as you're always passing a dict.
happened after
hi schoolman :)
well i am gonna go sleep bye
@raw carbon crazy thing about columbia was that they could've saved the crew had they known about the hole in the shuttle wing.
they couldn't rendezvous with the ISS to prepare for another launch?
I must go now, good conversation about spaceships.
how can I find how many more lines I need to type to be able to voice chat?
I'll take a quick look
They say that some asteroids are rich in platinum group metals
But typically you can use the search bar and just from:<your_user_name_here>
Cunning
Or should I say thank you
Don't spam your way to it
ok
Spamming your way to it will make it so that it takes longer for you to get verified
It's mentioned in #voice-verification
I have a Dyson vacuum cleaner but it isn't spherical
does a bot decide whether a message is spam? If so, has said bot been tested to be free from unfair discrimination against the neurodivergent?
On our server?
yes
We generally do not auto-moderate unless it is something very obvious. Most incidents are reviewed and actioned by a human
/is extremely human but fully camouflaged against bot determination
25 Helium Uses and Properties in Everyday Life - Medical - Industry - Technology helium (He) in welding, magnet production, and more industry applications.
Apparently the world population growth rate peaked in 1962
Oh yeah, it's relative rate.
@restive geyser Nuuuuu
@pastel plover What's up?
Easier to ask in here in text since there's already a convo going on
i'm fixing my mic lol h/o
no u
To live is to suffer, to survive is to find some meaning in the suffering.
I know 1 but I haven't got onto learning 0 yet.
kkkkkk
Yeah 0 is pretty tough
[001][011][11.0][111]
I believe the key problem is that the international system of states is an anarchy. Each country is acting in its own self-interest.
@rugged root
Right, can you ask your question again in here
move
from right to left
the 1nd one from the right
11.0 do i take it as 11 so it can give me a 3 in octal or do i take it as 110 so it gives me a 6 in octal
What's the context here @pastel plover ?
converting binary to octal
Alright, and why are you interested in this particular sequence of binary numbers? Just random examples?
yes a random example
@olive hedge I agree with you, eat at Arbyβs
LOLOL
i agree with Mr Hemlock
I agree with Hemlock as well, letβs just order Arbyβs.
@pastel plover Well here are the eight octal digits in binary: 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 If you have a ., then that, I would assume represents a fractional number. The number 101.011 is just the fraction 101011 / 1000.
I'm still not sure what you're asking though sorry π
ik them
Ohh right.
So you want to convert 00101111.0111 to octal, and you're wondering about the grouping of the bits?
I heard octal and care just left my body
Hmm, well 00101111.0111 represents the binary fraction 001011110111 / 10000
So, you could convert the numerator and denominator to octal.
still thats not my question

yaaaaassss

Note that when converting from one base to another, you can't always represent a fractional number representable with a finite number of digits in one base with a finite number of digits in the other base.
maths
s
meth
For example, 0.1 in base 10 cannot be represented with a finite number of digits in binary.

bye @raw carbon
!otn a hemlock is a naughty chair
what does this do?
!otn a what does this command do
:ok_hand: Added what-does-this-command-do to the names list.
!ot
Off-topic channels
There are three off-topic channels:
β’ #ot0-psvmβs-eternal-disapproval
β’ #ot1-perplexing-regexing
β’ #ot2-never-nesterβs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
I want to hear the gossip π
Can't do it to my text
i am confused
LX you are 1000000000000% not a "nobody" in my eyes OK HFDU
well i also inadvertently called a bunch of people here "nobodies" sooooooooo 
SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO CUTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
go to sleep
much talking
What's the film where he sells guns?
much guns
It was 'Lord of War'.
engineering and sleep deprivation is a terrible combination. sleep is fucking magical. you'll learn faster, be more productive, be a better engineer in every way - but also I like being alive and sleep keeps you alive. dramatically reduces your chance of alzheimers, heart disease, increases your ability to stave off cancer. You want cancer and alzheimers and be dead by 60, keep sleeping 5 hours per night. Otherwise, maybe aim for 8.
read some Matthew Walker
hemlock....................
my worst fear
that dude knows what's up
π
then you're fiiine
sleep is a god damn superpower
learn to wield it and you'll be happier and more successful.
you guys should both sleep
How about you both get a room
lol
and sleep together
much sleep talk
in a large bed
*pillow talk
it's my duty to educate.
- don't shave
- repeat step 1
much husky
much shaving
LMAO
brb
it was ella but she's gone
now its the sofa/couch
silence
yellow eyes π
Really smooth Fisher π
Cya π
Where did that KIX guy go? I finally understood his question and have a good explanation π
Erm, I'll re-paste it.
@pastel plover 00101111.0111 (base 2) = 000 101 111 . 011 100 (base 2) = 000 101 111 011 100 / 001 000 000 (base 2) = 0 5 7 3 4 / 1 0 0 (base 8) = 57.34 (base 8)So actually, you can convert fractional binary numbers to octal by grouping like this: [000][101][111].[011][100] 0 5 7 . 3 4 You need to add 0s on to the left and right ends so that you have groups of three going outwards from the 'decimal' point.
No need to spam-ping them π
Hey Jake
They probably have do-not-disturb on.
Let's study the literature π
Distribution of video gamers in the United States from 2006 to 2021, by gender
Alright, I feel like we're over-scrutinising what Jake said π
I like the term "no life it".
brb
With Roblox Corporation now being valued at more than $45 billion, we ask whether the kids making the vast majority of its content are being taken advantage of?
Support us on Patreon: https://www.patreon.com/PeopleMakeGames
Written and presented by Quintin Smith:
https://twitter.com/Quinns108
Design and art direction by Anni Sayers:
https://t...
@molten pewter https://heatonist.com/
omg yaaas
Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling sorry for yourself\nWell, don't get lonely now\nAnd dry your whining eyes\nI'm just roamin' for the moment, sleazin' my backyard, so don't get\nSo uptight, you've been thinking about ditching me\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nOh, I heard it all before\nSo don't knock down my door\nI'm a loser and a user, so I don't need no accuser\nTo try and slag me down because I know you're right\nSo go do what you like\nMake sure you do it wise\nYou may find out that your self-doubt means nothing was ever there\nYou can't go forcing something if it's just not right\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\n\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nWhen I come around\nWhen I come around\nWhen I come around
\n
remove
These sauces are sooo good... but they average like 12$ per bottle.
!e
text = "Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling sorry for yourself\nWell, don't get lonely now\nAnd dry your whining eyes\nI'm just roamin' for the moment, sleazin' my backyard, so don't get\nSo uptight, you've been thinking about ditching me\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nOh, I heard it all before\nSo don't knock down my door\nI'm a loser and a user, so I don't need no accuser\nTo try and slag me down because I know you're right\nSo go do what you like\nMake sure you do it wise\nYou may find out that your self-doubt means nothing was ever there\nYou can't go forcing something if it's just not right\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\n\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nWhen I come around\nWhen I come around\nWhen I come around"
print(text.replace('\n', '. '))
@vivid palm :white_check_mark: Your eval job has completed with return code 0.
Well, I heard you crying loud. All the way across town. You've been searching for that someone and it's me out on the prowl. As you sit around feeling sorry for yourself. Well, don't get lonely now. And dry your whining eyes. I'm just roamin' for the moment, sleazin' my backyard, so don't get. So uptight, you've been thinking about ditching me. No time to search the world around. 'Cause you know where I'll be found. When I come around. Oh, I heard it all before. So don't knock down my door. I'm a loser and a user, so I don't need no accuser. To try and slag me down because I know you're right. So go do what you like. Make sure you do it wise. You may find out that your self-doubt means nothing was ever there. You can't go forcing something if it's just not right. No time to search the world around. 'Cause you know where I'll be found. When I come around. . No time to search the world around. 'Cause you know where I'll be found. When I come around. When I come around. When I come around
... (truncated - too long)
Full output: https://paste.pythondiscord.com/ruguyigedi.txt?noredirect
meanwhile Trader Joe's sauces are like 5$
the heatonist prices would probably be worth it though. Use it on occasions?
yeah, they are definitely good. But it is hard to beat Trader Joe's prices: https://www.traderjoes.com/home/products/pdp/059417
print(str(result.text)[page1+12:page2])
guess it depends on how into hot sauces you are
Their habanero sauce is my go-to. Yeah, if you like spicey stuff, it can get expensive.
!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.
url = "https://some-random-api.ml/lyrics?title=%7B%7D%22.format(songn)
result = requests.get(url)
page = str(result.text).replace("\n", "AAAAAAAAAAAAAAAAAAAAAAAAAAAA")
page1 = page.find('","lyrics":"')
page2 = page.find('","thumbnail":')
page3 = str(result.text)[page1+12:page2].replace("\n", " ")
print(page3)
What problem are you working on?
"Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling
@calm cypress
@calm cypress
uh oh lol
i thought it was just a twitch thing
no, its like after a live stream is finished, you can "route" the audience to another stream channel
or direct them...aka raid another stream. It helps the channel get subscribers
Oh yeah raiding on Twitch isn't a bad thing.
You just send your viewers to another person's stream.
Yeah exactly
yup
But on Discord, it is not a good thing π
idk what the nature of raiding is on discord, im guessing malicious
It's a bunch of either people or automated accounts spamming.
In this case, a not particularly pleasant message.
But we've got pretty good tools to deal with it on this server.
Ah right. Like a million browser help bars π
Or whatever they were called.
trojan horses
@molten pewter you mean those boobytrap links that turned your volume +100% and played a scream with an obscene image
worse
!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.
import youtube_dl
ydl_opts = {'format': 'bestaudio'}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
info = ydl.extract_info("https://www.youtube.com/watch?v=Soa3gO7tL-c&list=PLTGrQlR0KR2KSW4RtSr4ePF4z_vsMdt_V&index=?", download=False)
print(info)
i want some pizza rolls
@classmethod
async def from_url(cls, url, *, loop=None, stream=False):
loop = loop or asyncio.get_event_loop()
data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download= not stream))
URL = info['formats'][0]['url']
voice = get(self.bot.voice_clients, guild=ctx.guild)
voice.play(discord.FFmpegPCMAudio(URL))
l8r
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@tulip plover https://www.codecademy.com/learn/learn-python
ok thx
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
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.
hi @somber heath
cant speak rn cuz sus
bg noise basically
im gonna play minecraft with my new 5$ mouse
@whole bear A lot of clattering and clashing and crunching noise going on, there.
Not sure if you're aware.
If you are, then whatever.
If you weren't, now you know.
!e py text = "Apples and oranges." my_list = text.split(" ") print(f"Words: Probably {len(my_list)} or so.")
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Words: Probably 3 or so.
@whole bear :white_check_mark: Your eval job has completed with return code 0.
Words: Probably 16 or so.
NLTK
Hey @whole bear!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
β’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
β’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
i am back from playing minecraft
with my 5$ mouse
its a neat one tho
i love math ngl
cuz im in 8th grade
wait
really?
damn
im pretty sure its not allowed on discord
how is that relevant
turning what
directions?
oh ok
lol
youre not wrong actually
fingers crossed π€
Don't insult other members. Please read our #code-of-conduct .
its not insult if its fact lol
i am in fact an idiot
I'd still like if name calling is not a norm in this server
yes
not necessarily
whats up peeps
yoo mf doom
whar
https://en.wikipedia.org/wiki/File:Dito_della_mano_destra_di_galileo,_in_teca_del_1737.JPG dont know why did they preserved his middle finger
Poetic, if nothing else.
It's like "I was right and you were wrong. π¦ "
for?
i am installing this
@somber heath should i start learning python
i am new to programming
ok
yeah i get it
COBAL was the lowest level language right?
noice
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
i aslo love python
pyautoit
what are those things
You guys should chat in #voice-chat-text-1 because that is what preferred!
VC1 --> #voice-chat-text-1
why
beautifulsoup
Quite right! I got confused as to which vc I was in.
Hah no problem!
is it just me or things get wholesome 100x more when people use exclamation marks!
Hello
hello
Usually 1 badge was command at every profile
now 3 badge are there at most of the profile π
damn
it took me a minute to figure out what the teeth were
it feels so satisfying now that my scroll wheel works again
yes
whats even worse is each "tooth" is from a different foot
apparently i clicked some buttons and this happened shouldn't have skipped the tutorial :(
@rugged root
This might be good for your morning Sandwich π
"REAL" Mayonnaise... are their fake mayonnaise?
I never tried it π
Hello @rugged root
Not home yet, just on the buss
That's one barrier I will never break, and that's speaking on the phone on the buss
Yet alone English lol
mfw getting sued by a Mayonnaise company
@somber heath there's no way to be quiet on a buss where no one is saying a word
Like it's dead quiet in here, me whispering some English talking about Mayonnaise would be embarrassing beyond the abyss of embarrassments
Underwater bar. Pub sub.
Wake up surrounded by feathers. Sheets torn. Slippers embedded in the ceiling.
e
Finnish band called Steve'n'Seagulls plays AC/DC's awesome song called Thunderstruck. Recorded by Jaakko Manninen Photography.
STEVEΒ΄NΒ΄SEAGULLS PATREON is open now! Join us here: https://www.patreon.com/stevenseagulls
Our monthly Patreon tier will include music tutorials, behind the scenes footage, rig rundowns, tech talk, music and videos and...
Rainy evenin' folks
Yo
To purchase this CD, visit http://ironhorsebluegrass.com/products-page/
For more info on Iron Horse music and booking, visit www.ironhorsebluegrass.com.
Video by 1504 Pictures.
I'm gonna be an FP nerd for a short bit; I really like how JSON deserialization is handled in Haskell/PureScript
Yep
Nope, just serialization to JSON
Not really, since again, this is internal use
They just happen to generate a JSON file along the way
*sigh*
Yeah, it does pattern matching internally
Yep
Knitting pattern matching.
So like, <|> is basically ordered choice, if the LHS fails, then it tries RHS, if that fails, then just use the error message RHS emits
let binds some name to a value, do is syntax sugar for monads
(Obligatory) Monads are containers that also happen to be able to model computation
Monads can be composed, like functions
It's an acquired thing
hello
uh guys the dev guy is msging me from his aly
k
hes cursing at me cuz i "reported" him
i didnt even report him LOL
hes in this server rn
Take it up with ModMail
Take it up with @rapid crown
ok
LOL
so i just dm modmail dude?
Yeah
I'm 12 year old
anyone keen on reporting me to trust and safety?
go waste the valuable 5 minutes of your life
Bold of you to assume my time is valuable
and waste mine too, by ELIMINATING my discord privileges
I value your time.
well i can blame that dickhead who got my main terminated
If you say so
yes
And I have the sussy boys
but idk who the imposter is
the reporter
OpalMist and Andeemen are the main culprits
Go fish.
haha
too worried about the safety of a few kids eh?
HAHAHAHAHA
I know he did it
!mute 883321240788557874 Do not insult members of our server
Andeemen
:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1630684652:f> (59 minutes and 58 seconds).
See, problem self resolved
uyooooo
yes
should i troll him
or leave him
?
neither did i
Can we file this all under π₯± and move on?
No
yeah ig
That shouldn't even be a question. We don't want users harassing other users. Period.
oh ok
im dumb then
good i asked
Might want to review our #code-of-conduct
"I stopped to get gas."
Earlier...
"I'll have the beans, thanks."
is python like a way to code or is it like an app?
It's a language.
Python is a programming language, you then need a compiler or interpreter to understand it and run it
is that for receipts?
And for you to write Python, you need an editor
im entirely new to the python thing so i dont know quite a bit
hii?
ssup
Though if I was SRE, hell would freeze over before Friday long weekend deployment
does unity use python?
hi back
I'm people
π
import face_recognition
import cv2
import numpy as np
video_capture = cv2.VideoCapture(0)
beans_image = face_recognition.load_image_file("beans.jpeg")
beans_face_encoding = face_recognition.face_encodings(beans_image)[0]
known_face_encodings = [
beans_face_encoding,
]
known_face_names = [
"Beans",
]
face_locations = []
face_encodings = []
face_names = []
process_this_frame = True
while True:
ret, frame = video_capture.read()
small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)
rgb_small_frame = small_frame[:, :, ::-1]
if process_this_frame:
face_locations = face_recognition.face_locations(rgb_small_frame)
face_encodings = face_recognition.face_encodings(rgb_small_frame, face_locations)
face_names = []
for face_encoding in face_encodings:
matches = face_recognition.compare_faces(known_face_encodings, face_encoding)
name = "Unknown"
face_distances = face_recognition.face_distance(known_face_encodings, face_encoding)
best_match_index = np.argmin(face_distances)
if matches[best_match_index]:
name = known_face_names[best_match_index]
face_names.append(name)
process_this_frame = not process_this_frame
for (top, right, bottom, left), name in zip(face_locations, face_names):
top *= 4
right *= 4
bottom *= 4
left *= 4
cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)
cv2.rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), cv2.FILLED)
font = cv2.FONT_HERSHEY_DUPLEX
cv2.putText(frame, name, (left + 6, bottom - 6), font, 1.0, (255, 255, 255), 1)
cv2.imshow('Video', frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
video_capture.release()
cv2.destroyAllWindows()
im doing beans recognition
@gentle flint do you work at discorddd ?
nobody in this voice chat
we're discussing hypothetical actions they may have taken
No
