#ot2-the-original-pubsta

652 messages · Page 79 of 1

round moss
#

and once you try it on anything but JS and python it goes from pretty neat to just plain wrong

#

but if you need to quickly slap together a CRUD app because your job needs a registration system, it does seem quite nice

split mica
#
import gpt3
import typing

class AIResultContainer(gpt3.GPT3ResultContainer):
  def __init__(self) -> None:
    super().__init__()

  def get(self) -> typing.Any: ...

class AI(gpt3.GPT3):
  def __init__(self) -> None:
    super().__init__()

  def run(self, value: str) -> AIResultContainer: ...

def program_ai(ai_pool: list[AI] = [], i: int = 0, this: AI) -> None:
  ai_pool: list[AI] = ai_pool
  i: int = i

  while True:
    new_ai: AI = this.run("Program an AI.").get()
    ai_pool.append(new_ai)

    program_ai(ai_pool, i, ai_pool[i + 1])

    i += 1

if __name__ == "__main__":
  program_ai([], 0, AI())
unreal sigil
#

The better question might be did gpt3 write that 👀

split mica
stray quarry
#

is there any good wallpaper site / app for windows ?

hazy laurel
stray quarry
#

googling mostly results in bad stuff and i need to browse for ages

hazy laurel
#

¯_(ツ)_/¯

#

I don't think Windows has anything equivalent to the KDE Discover

stray quarry
#

that for mac or ?

#

oh linux

hazy laurel
#

Linux, yes

pale nova
#

any1 game jam???

ornate scroll
#

brackeys?

#

no, i aint experienced enough

hollow heart
#

@jovial island i love fiji blue :)

#

i didn't realize they released anything new

mental idol
#

Ha... went digging in metrics. Found the day I switched my keyboard to save the health of my wrist.

#

That was a brutal month

smoky shell
#

what is that

pliant trench
#

ha

mental idol
mental idol
#

That graph didn't start to bounce back up for a good two weeks

smoky shell
#

lets type race

mental idol
pliant trench
smoky shell
#

lets

hollow heart
#

oooooooo never saw one in person, or any board of that type

mental idol
#

It was a "small" learning curve

pliant trench
smoky shell
#

nvm im learning python

deep pike
#

how do you write code for the initial value in JAVA

sinful sun
#

What does that even mean

#

Just Type var_name = initial_value_for_that_type;

grim seal
#

epic greenTick

hazy laurel
#

oh yes. it's j1e

grim seal
#

in my banner? yea

proper python
#

what battery should i get for a 3W bt amp to last for a couple hours?

grim seal
#

lmfao what

#

yeah volcyy keeps claiming that my late hamster humphrey died in a drive by or by drowning

#

humphrey passed away of old age at the ripe old age of 3

#

lmfao

lucid charm
#

Hi i need help with kali linux i want to know what is the deafult user name and password

lucid charm
jade bolt
#

root root is for slackware sorry

lucid charm
jade bolt
lucid charm
hazy laurel
#

...

#

"the ultimate phishing tool"

#

yeah no

devout ingot
#

A few months ago I found this website that allowed you to extract the "best part" of any song. Basically the chorus. Anyone knows which website this was? I plan to work on a similar project.

jovial island
#

Hey guys , im trying pick a subject for college . The module is machine translation , would this mainly involve machine learning , learning about AI etc... ?

sinful sun
#

You should look at the module contents and learning outcomes

#

We have no way of helping you with this

sharp spoke
slate leaf
#

Ahhh 'Merica

sharp spoke
#

I am sick if seeing so much memes on America

slate leaf
#

We can't help that we are the best

sharp spoke
#

I wonder what would be the meme content in murica

slate leaf
#

Also America

sharp spoke
#

Ah yes

#

But specific topics like?

sinful sun
#

Geography probs

sharp spoke
#

Y'all have sick ass topography

slate leaf
#

Hey buddy, that isn't really appropriate language for the server. Would you kindly remove your message?

glacial bear
#

yeah of course man, just had a sarcastic question

#

ksp is fire tho

slate leaf
#

Moar boosters

jovial island
#

Which linrary did eivl make

#

Library*

celest field
#

🕵️‍♂️

ornate scroll
#

wth is the channel name :P

dull ridge
#

Any ideas for how I should make my cryptocurrency price go up normally, I though about adding a few USD every solved block but, that's kinda like not normal lmaoo

proven pumice
#

sus

dull ridge
#

?

pliant trench
tribal tinsel
dull ridge
tribal tinsel
dull ridge
tribal tinsel
#

Like... Cryptos have value mainly by supply and demand (which is insane when it comes to things like BTC because media coverage made it more and more popular) and usability. That's why "adding a few USD every solved block" makes it weird.
There are "cryptocurrencies" with coverage, but this usually means that there exists an entity that will always keep the minimum price. This makes it centralised and based on trust into the entity that covers it.
You're a private person, ergo no public trust. The coins probably have no real use (it's really hard to make crypto work even for bigger players, so given you don't know some stuff, I assume you didn't plan for it either). So it's just "my coins cost X, you can buy them from me but I cannot guarantee I will ever buy it back"

river belfry
dull ridge
#

Don't answer it then :)

river belfry
#

I wasn't planning to

jovial island
#

What's y'all favorite server emoji?

#

Mine is -> py_sun

jade bolt
jovial island
#

i see

slate leaf
river belfry
cedar turtle
#

who doesn't love :hemshake:

#

except for the fact that i dont have nitro :(

echo flower
jovial island
#

we need your vote, for a new community day.. one with no tyranny or order

#

make your voices heard ~

pastel nest
#

@lucid osprey ag2 ended in "oblivion," an ending achieved after 7 days of inactivity

lucid osprey
#

okk

sharp spoke
#

what is anaguild? @pastel nest

pastel nest
#

part 3 never came, although this server might just get anaguilded if enough people vote

lucid osprey
pastel nest
#

no mod day would probably never come, since this server has 240k+ members and like tons of trolls coming every day

lucid osprey
#

ngl, this server could use a polls channel (where the polls are made by admins) for server changes based on the majority opinion and preference.

lucid osprey
#

last I checked it was 205

pastel nest
#

!server

clever salmonBOT
#
Server Information

Created: <t:1483877013:R>
Voice region: europe
Roles: 90
Member status: status_online 55,313 status_offline 191,683

Members: 246,996

Helpers: 124
Moderation Team: 31
Admins: 14
Owners: 3
Contributors: 40
Leads: 14

Channels: 241

Category: 32
News: 9
Staff: 66
Stage_Voice: 1
Text: 124
Voice: 9

lucid osprey
#

damn

pastel nest
lucid osprey
#

quarter a million

#

thats impressive

pastel nest
#

yep, we're growing exponentially

lucid osprey
#

ye

sharp spoke
pastel nest
lucid osprey
#

and that would be...

#

who is that holy mod

sharp spoke
lucid osprey
#

someone force changed my nick

#

there

#

lol

pastel nest
#

decentralized

pastel nest
#

but that was the past

pastel nest
sharp spoke
lucid osprey
#

I just checked out your website, its dope

pastel nest
#

i'll restart learning web dev soon

lucid osprey
#

I really really liked the card concept and how it moves when hovered over

#

also the social logos expanding smoothly when hovered over

#

how'd you get that to work?!

pastel nest
# lucid osprey how'd you get that to work?!

lol tysm! the socials are easy, i used some transition css properties along with state change when hovered over:```css
#contact-icons img {
width: clamp(35px, 5vw, 150px);
box-sizing: border-box;
transition-property: width, opacity;
transition-duration: 200ms;
transition-timing-function: ease-in-out;
}

#contact-icons img:hover {
width: 6vw;
opacity: .7;
}
```and the sliding uses transformation transform: translateX(1vw);

#

for left slide to right and right slide to left, i just used the pseudo-class :nth-of-type(2n)

odd sphinx
#

transition-duration is epic

#

ooo i didnt know transition timing function existed

#

epicc

wide totem
#

@vague shadow I just merged that paginator into my feature branches 👀

daring jay
#

he did that one day

sharp spoke
#

@full haven 👀 hows it

#

yeah edited yday's image

#

this one i think 🤔

jade bolt
sharp spoke
#

yeah changed the background hue 👀

sharp spoke
jade bolt
#

:))))

sharp spoke
#

he is saying to have it in python logo color scheme 👀

#

blue/yellow

#

yup

#

hard work lemon_pensive

#

tbf now that aph said it i think a blue/yellow coloured one would look even better👀

#

idk ill have to think how to get yellow with overlay and maintain bg tinge (picsart is not a good tool... doesnt directly allow to change hue of a specific area)

sharp spoke
#

aahh ohkayy

vague shadow
#

!pstream @naive finch

clever salmonBOT
#

✅ Permanently granted @naive finch the permission to stream.

vague shadow
#

since he's our video helper

lofty loom
#

Blue Pyt, Yellow Hon?

#

Video helper?

vague shadow
#

lol it's from the off topic name

#

not sure on the back story

civic plank
#

280x6 and had to hold a fart in throughout the set which made it 10x harder xqcHead xqcHead

#

holy shit this is some trash quality, think my iphone camera is having an aneurysm

heady barn
#

lol very random

tribal tinsel
heady barn
#

u mean the nickname or actual discord name

#

lol

civic plank
#

XD

civic plank
tribal tinsel
jovial island
#

How i can do 1 sec between this ?

slate leaf
#

The way I know off the top of my head is to use time.sleep(1)

jovial island
#

thanks

lusty brook
#

.< totally not confusing windows

fresh reef
#

the G is looking sus

#

WAIT

#

THERES A CAPITAL V

#

this is illegal

lunar basin
#

magic

lunar basin
grim seal
#

nice one

obtuse tree
#

Does anyone have an intermediate programming ideas for me?

sinful sun
#

heres one, dont crosspost

obtuse tree
#

yes sir sorry

sharp spoke
#

u use cloudflare?

dim root
#

@grim seal DMssss 😔

jovial island
#

@jovial island here?

jovial island
#

i will read this now

#

it's just the why

#

oh actually can you link it again?

#

or politicalo motives

#

but: it can also be, to disable you to access online accounts

#

to commit identity theft

#

id like to say that i know for sure that i have no malware or viruses on my computer

#

i run ubuntu and ive heard its pretty safe compared to windows

#

i know the best saftey measure is to make sure you dont get it in the first place

#

like not going to suspicious websites make sure the domain is the correct one and not some knock off

#

I run a nonlicenced windows version that is activated, so I probably infected my machine on my behalf

#

because of games

#

because linux might be great, but for games it sucks balls, you need to many things to run stuff properly

#

yeah thats the sad ting about linux but it might be less of a problem in the future as more developers make their games cross platform

#

im not Jamaican by the way

#

I didn't assume^^

#

I am not Betageuzian by the way

#

well its just i said ting

#

and thats something they do

#

anyways

#

im going to try and make a browser rts game

#

so im learning javascript

#

i want it to be similar to starcraft 2

#

also only 2 types of resources?

#

gas and minerals

#

but i might change that

#

not entirly sure what i want to change but i might brainstorm a few ideas

#

beer and crackers

#

to set you apart

#

i was thinking i could do like space. ships and asteroids. or maybe cells and you could customise your cells by literally consuming other cells and gaining their abilities or destroying them for energy

#

im liking the potential of the cell idea and it would be nice and simple to represent visually

#

like i was inspired by this video which taught how the immune system works. It was very entertaining. Some cells had the ability to reinvigorate tired cells to fight against a infection and i want to use that concept in my game

#

yes but its a more in depth rts version of that

#

ah ok^^

#

in the mean time I search for a song I only get some words right

#

now i need it without some intro 😄

#

but I'm happy I know the title

jovial island
jovial island
#

either space with asteroids or cells inside a body

#

not really sure which one i want to do yet

#

do you intent to make a story?

#

for right now i want to focus on the gameplay of it and then a story later

grim seal
jovial island
#

ah ok

#

@jovial island will there be "races" of any sort?

#

or factions whatever

#

truth be told im terrible at making up game ideas but i tend to figure it out. Just learning js right now. But if you have any ideas ill consider them.

dim root
# grim seal huh?

had some kubernetes question, so tried to DM you but you had dms closed

#

or i am blocked 😔

jovial island
#

i think that having different races will make it more interesting.

jovial island
#

@jovial island in space I'd consider factions as valid (some that are not used by pop culture), in a body I have no idea

#

they can have their specials like in AOE(2/3) or enterily different mechanics

#

(like sc2)

dim root
#

lol

forest copper
#

rockroll

jovial island
# jovial island <@456226577798135808> in space I'd consider factions as valid (some that are not...

hows this for a race concept. A race of artificially intelligent robots designed to help propagate the human race throughout space. Eliminating any threats to the human colonies. They setup the initial infrastructure of the colony. Guiding/protecting the humans from birth. But here is the catch. The robots have a design flaw. They are overprotective and actively seek out threats which then find their way back to the human colonies. This spells trouble for the humans. Sadly some colonies will die because of this but a few survive and take refuge to the more curious alien races. In the game you can either play as the robots, humans or another race.

grim seal
jovial island
#

rock n rock rocck n troll

forest copper
#

never gonna give you rock

jovial island
#

you know the rules

#

so do i

jovial island
#

like SG-1 but reversed haha

#

and without a fourth player

#

@jovial island I had bad opinions on HOTA when it was in the babystage (homm3 fan mod). I must say I was very wrong

#

so keep in mind maybe when your product is finished an refined they are wrong as well

#

thanks maybe ill try the idea and see how it plays out

#

sc2 is just a drama with skirmish mode

bitter kite
lofty loom
bitter kite
lofty loom
#

Yeah it's just an interesting article about traffic

echo flower
bitter kite
#

MAAAAAAAA

echo flower
#

listen to it for 10 seconds

#

you will experience a feeling of euphoria

#

(you're dying)

jade bolt
#

feeling great rn

#

thats asmr

#

thanks

rotund python
#

Started to read Robert Martin's... Clean Code. Revelations go from first chapters.

#

Thankfully at least some things I knew

#

But some things I failed horribly

tribal tinsel
#

Apparently one can get a sudden physical work injury while being a programmer. My work integration trip proved this

slate leaf
#

Want to book mark this for my self

#

git update-index --assume-unchanged .gitignore

echo flower
#

and im 13

#

also the main symptom that things are bad is that the skin below the pressure point (where all the pressure is exerted in that posture) is red and numb

#

....like it is now

rotund python
#

I had real problem with hand, tunnel syndrom

#

thankfully I solved it

#

just bought a big enough mouse for my hand

tribal tinsel
rotund python
#

worked miraculously. all pains dissapeared

desert cave
#

Guys does tabnine make vsc laggy

pastel nest
#

not a rock roll, what.

sinful sun
#

Cramps my hand everyday

#

Then i come home to a yumongous corsair and it all feels better

grim seal
#

nice lol

#

what terminal?

#

hmm

#

how did you get the dropdown thingies

#

yes pls

#

o yea 1 sec

#

done

#

installing it now had to reboot

#

lol

#

it's uh

#

it's crashing my terminal

#

ah fixed it

#

lol you're good

#

@jovial island this is nice ty for sharing

jovial island
sinful sun
#

people are gonna get mouse envy and we dont want that

jovial island
#

The problem with governments ruling over large groups of people is that trust goes away and then they have to have rules about everything which is very restrictive. But if we have smaller groups of government that know the people relatively then the people are more free and in some cases more protected.

#

thats not to say that there doesnt need to be one central goverment but smaller ones should exist

sinful sun
#

What if they fight me for it

jovial island
#

lol idk bout that maybe a buy a nice one but not that fancy?

jovial island
#

The hard thing about making an browser rts game is representation. Units and structures need to be distinct enough to tell them apart at a slight glance, but id like it to be simplistic which is hard to do.

#

its not that i want it to be simple its that i myself dont have the talent to make something look good if more complex

#

a quick search and i couldnt find rts games similar to sc2

jovial island
#

i think i need to do the cell idea but instead of fully committing to realistic ideas just take what i want

#

just to be clear this is an rts and not some arena game like agario

tribal tinsel
# sinful sun people are gonna get mouse envy and we dont want that

https://www.logitech.com/en-gb/products/mice/m590-silent-wireless-mouse.910-005198.html?crid=7 I have this one at work
And keyboard with unifying receiver as well. So I configured one receiver to be mouse+keyboard for work computer and keep the other receiver as mouse-only for private computer 🙈 (even before the pandemic, I took the work laptop with me, now I mostly work remotely anyway)

Shop M590 Mouse. Features multi-computer workflow, quiet clicks, precise scrolling, 2 thumb buttons, 2 year battery, USB receiver and optical tracking

blazing iron
#

quick question how do i set my window icon

#

im tried but just cant get it to work

#

idky

#

just tiny brain

jovial island
#

that youd like to make

#

im interested in teaching people how to code so they can make thier own games and applications

blazing iron
#

but some private lessons hmmm

jovial island
#

eh nevermind im not really in a good state to do it. but if you need help with a specific problem just ask and i might know how to help

blazing iron
#

lmao kk

jovial island
#

i myself am terrible at coming up with game ideas. I enjoy coding alot. Ive made tetris, that was a lot of fun. I want to make something my own however.

jovial island
#

if your interested in making games id suggest looking at pygame or arcade

#

or try pyglet

jovial island
blazing iron
jovial island
#

but like i said just use pygame pyglet or arcade

blazing iron
#

Im planning on making a arcade style game after my current project

jovial island
#

doesnt really matter which one you choose

blazing iron
#

Well i gtg sleep

#

Ttyl

jovial island
#

alright cya

zinc hatch
#

@fickle moss But, yeah, I used to do archery. (If you're into archery, I shot an Olympic-style recurve bow.)

fickle moss
#

i always wanted to know more about archery

#

but

#

its not that popular in india

zinc hatch
#

There were a few archers from India at the Tokyo 2020 olympics

#

It's a pretty cool sport, but it takes a lot of dedication to get really good

#

I was never really good, although I was doing quite well for a period

sharp spoke
rotund python
#

if to translate from indian english to regular english

#

what means "Quote"? (context: freelancing web site)

#

if I guess right, "quote" is translated to "bid"/"proposal"

edgy nebula
#

Not really just Indian English I guess

rotund python
#

huh. all right

half timber
#

2 year battery!

echo flower
ornate pelican
#

are we living in a simulation

echo flower
#

no we are dying

#

every day of our lives

#

we get closer to our demise

#

#TechnicallyTrue

dusky cliff
#

every 60 seconds in africa a minute passes

ornate pelican
#

not fair

#

for africans

echo flower
#

you know if you stand on the poles of the earth for 1 day you'll have moved 0 meters but people at the equator will have travelled 12472 km

slate leaf
#

Well we are also hurtling through space

echo flower
# slate leaf

inertial frame of references are poop, use the (idk which frame to use)

slate leaf
#

There is no universal frame of reference

dusky cliff
#

no

#

i am the universal frame of reference

sharp spoke
echo flower
#

LMFAO

dusky cliff
#

lo

jade bolt
#

pypy or no pypy

#

nvm i just did some research

#

second plugin is dead

swift cobalt
#

Is it possible to derive the tangent of an angle without the unit circle or any of the other angles and side lengths?

#

i.e. using only constants/ratios/equalities/algebra

wide totem
#

about modmail bot

#

tldr I don't like any of the ones that exist, so I'm writing my own

jovial island
#

The modmail bot should be simple, not like the others that have many decorations or special ones.

#

@vapid maple I see it as a simple bot (I think it is understood)

wide totem
#

Its mostly simple, but with a few things

#

If you just want modmail purposes, you can use it, and it should just work

#

but, if you want additional features that it doesn't provide, it will have a way to add features to the bot without needing to write a whole new bot

#

An addon system

#

A subset of this addon system is the plugin system, which allows adding files like discord.py cogs to the bot.

#

And these cogs can be supplied from a github respository and added automatically

hollow heart
#

@loud ivy what database does your accounting system use, do you know?

loud ivy
hollow heart
#

so currently how are you getting your data in Excel?

loud ivy
#

From the build-in software by the vendor, so i export limited stuff by the menu.

hollow heart
#

is it quickbooks by any chance 😂

loud ivy
#

Nope.. just a random vendor you wouldn't know..

#

Haha

#

So, in order to get data what I want i have to make a request to IT department.

#

But sometimes they send me the wrong stuff

#

😂

hollow heart
#

ahhhh i feel your frustration lol

loud ivy
#

Hahaha.. yup, but the IT staff will let me to get these data what I want, as long as I have the knowledge about our company database and my supervisor know what I want to use these data for.

loud ivy
echo flower
#

what's the new trend of putting the heart emoji after ur name?

hollow heart
#

@loud ivy did you see? so I can delete :P

hollow heart
echo flower
#

lmfao

#

i see some people putting it in 🤣

hazy laurel
#

Usually emoji in names make me cringe

#

but these hearts actually don't look so bad

hollow heart
#

my nickname elsewhere:

echo flower
#

O.o

hollow heart
#

see I show restraint here 😂

dusky cliff
#

the one for tan(x) has weird coefficients which i dont remember but wtv
easily googled

jade bolt
#

@lost tapir is nurses/nurses2 avaliable in pypy? or do i need to download the repo

hazy laurel
#

pypi'nt

jade bolt
#

i might make a tui browser with it. selenium might have all those stuff for me.

#

what i actually want is mouse support lemon_hyperpleased

clever salmonBOT
#

tests/conftest.py line 28

"#What type of .env supports comments?",```
wide totem
#

do envs not typically support comments 👀

#

also hi heh

mental idol
#

LOL There is no "standard" that I found

wide totem
#

adding tests to what I just rewrote

mental idol
#

But two of the loaders I've used in the past had interesting sideeffects with comment-like lines so when I wrote my own I said "I want comments"

wide totem
#

yeah

#

i use comments sometimes to disable configuration variables

#

herm... i don't think using tempfile may be possible for a zip

#

or if it is, I have no idea how

#

I wonder if I could just make the test download it

mental idol
#

You could. What are the requirements of the zip file?

wide totem
#

i mean

loud ivy
wide totem
#

and its a zip file of a repository

#

from github

mental idol
#

Oh I see

#
import os
import zipfile
import tempfile


try:
    file_desc, path = tempfile.mkstemp()
    with os.fdopen(file_desc, "w", encoding="utf-8") as temp_file:
        temp_file.write("Hello there.")

    with zipfile.ZipFile("arl.zip", "w", zipfile.ZIP_DEFLATED) as ziptarget:
        ziptarget.write(path)

finally:
    os.remove(path)

was the starting framework of creating a "tempfile" zip I had 😄

#

But if it needs to be the git repo, then it would be easier to just download it for the test I suppose

wide totem
#

.gh repo onerandomusername/modmail-addons

rustic harborBOT
wide totem
wide totem
mental idol
#

all the dozens of micro files I make get named for who I'm chatting with

wide totem
#

heh

mental idol
#

if I didn't do that, I'd commit them accidentally since I usually don't leave my current project folder to tinker

clever salmonBOT
#

tests/modmail/addons/test_utils.py lines 24 to 32

@pytest.mark.parametrize(
    "source", [AddonSource.from_zip("https://github.com/discord-modmail/modmail/archive/main.zip")]
)
@pytest.mark.asyncio
async def test_download_zip_from_source(source: AddonSource, session: ClientSession):
    """Test that a zip can be successfully downloaded and everything is safe inside."""
    file = await download_zip_from_source(source, session)
    assert isinstance(file, zipfile.ZipFile)
    assert file.testzip() is None```
wide totem
#

so apparently I'm already testing downloading zips.

#

Well then

#

An aside: can't run the test suite more than 2k times in an hour, since there's no github token used yet 😄

#

The question is which repo do I test from for plugins downloading, my own personal plugin repo or something else.... hm

#

ah shit how am I gonna do this

#

wow

#

just found a bug, thanks!

wide totem
#

just found a bug, thanks!

#

(yes, 2)

dusky cliff
#

lol

wide totem
#

....

#

I uh

#

did something

echo flower
#

lmfao

wide totem
#

oh damn it

#

really bad practice here, modifying an object in place

#

ergh

dense vale
#

umm

#

can someone suggest me videos for conditional constructs of if else and nesting

#

so i can easily make progreams

#

i have exam

#

pls

#

someone

#

omg

#

thnx u so much

#

can u give one for scanner class too

#

and ty u so much

#

it has conditional constructs for scanner class?

#

oh

#

this is great tnx u so much

#

finally found scanner class

#

btw we use string for a sentence right?

#

i am kinda new to this stuff

#

sentence with multiple words

#

and if i am not annnoying can i ask one more ques when u print u assign value first then put these " in printing

#

like system.out.println( "z = " + y )

#

these are used for the assigned value

#

?

#

oh

lost tapir
lost tapir
#

it's stable, the api might change though

jade bolt
#

also which char should i use to render image

lost tapir
#

my image and video widgets render with half-blocks by default

#

to double the terminal resolution

jade bolt
#

alright, thanks for the suggestion

sharp spoke
jovial island
#

Duckduckgo web extension

#

Gotta track 'em all! Google Mon!

pliant trench
#

and this much trackers...

tribal tinsel
# jovial island Gotta track 'em all! Google Mon!

Hmmm, you gave me an idea to make an extension collocting unique trackers. And maybe comparing them to pokemon. Like google's stuff being Zubats and similar annoying common pokemon (Zubat for some general Google tracker, other annoyances for more distinct Google trackers). Then some weird trackers from sites nobody knows about would be some new get pokemon that barely anyone knows. :D

#

I'm too lazy to actually to such extension, but I like the idea

#

If that ddg extension shared some info, then it would be easier

tribal tinsel
#

._.

pliant trench
#

I still haven't done my 2 months old idea xD

jade bolt
#

@lost tapir can nurses2 grab PIL image objects as image

#

can i do

AutoGeometryImage(
            size_hint=(1, 1),
            path=PIL.Image.open("image here"),
)
lost tapir
#

it expects a path

#

pathlib Path

#

so just path=Path("image here") would work

jade bolt
#

alright thanks

lost tapir
#

the path will get converted to a string anyway, so technically you could just use path="image here"

jade bolt
#

@lost tapir btw will widget update if image updated

lost tapir
#

yes

#

well, not if the image is update on disk

#

if you change the path though the image will be reloaded automatically

jade bolt
#

thanks for that 👀

pliant trench
#

lmaooooo

#

i love this

jade bolt
#

but ok

pliant trench
#

lollll

keen burrow
#

This is so dumb I love it haha

jade bolt
#

@lost tapir how do i add ButtonBehavior to image widget

#

sorry for ping

lost tapir
jade bolt
#

ty

lost tapir
#

i had a video button example but never uploaded it

jade bolt
#

that'll be cool, like i can do something like pause the video

lost tapir
#

i used it to make this:

jade bolt
#

cool.

pliant trench
#

it's nothing

#

only 33G

#

xD

pliant trench
tranquil ridge
pliant trench
#

@echo "It takes just a afternoon to build this LLVM optimised:rocket:, memory safe:rocket:, robust:rocket:, minimal:rocket: and configurable:rocket: project, please wait for the awesomeness :rocket:"

#

xD

topaz socket
#

Elo

rotund python
#

Encrypting every aspect of my PC.
Encrypting traffic
Encrypting file system
Wiping fully usbs

#

A bit of paranoia, but so nice to scratch

solemn panther
#

Lol

frigid pollen
sinful sun
#

Bad argument

#

Do you use encryption made by other people? Still not enough

echo flower
#

bad argument

Do you not make your own hardware? Smh.

#

ikr

#

make your own energy™️

#

i dont care that u cant do it

#

just do it

#
  • the manager
jovial island
#

Can someone give me hint for the answer to "Why are standards important for protocols?" (general protocols, not specific to one topic like diplomacy or networking)

lunar basin
#

so you don't get 12831903 implementations of a protocol that are all different

jovial island
#

Mmh, so an answer could be: It's important, because if you have no standards, things or people following the protocol in "their" way, couldn't communicate with each other without mayor problems?

lunar basin
#

is this for some course or something

jovial island
#

It's just selfeducating, a question from a book, no homework

#

Computer Networking A top down approach

lunar basin
#

yeah, that's a pretty good answer

jovial island
#

Is a law in some country a protocol in a sense?

lunar basin
#

¯_(ツ)_/¯

unreal sigil
#

Not realllllly, a protocol refers to a method of communication, laws aren't really about communication they're just a set of enforced... regulations and expectations I suppose

lunar basin
#

i guess a law could be a protocol, but not all laws are protocols?

unreal sigil
#

Yeah I'd probably agree with that. Since some laws dictate communication in some sense, but don't necessarily have to

jovial island
#

unclaimed

patent jacinth
#

sms_dtm <- DocumentTermMatrix(corpus_clean)

after running above code in r studio I am getting
"Error in simple_triplet_matrix(i, j, v, nrow = length(terms), ncol = length(corpus), :
'i, j' invalid"
anyone please help me

echo flower
#

NO MULTIPOSTING

exotic hound
#

what are the characteristics of functional programming languages?

#

from wikipedia:

In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions

my thoughts:
programming languages generally work by constructing function/statements, for example golang. but some people say golang is not a functional language

hazy laurel
#

Well, GoLang would technically be of the functional programming paradigm afaik but there's also like "pure functional" programming languages like Haskell

#

I'm pretty sure just about any modern language is of the functional programming paradigm

#

Python included

tribal tinsel
#

Python has functional elements

#

"function" as in def is not functional

#

it doesn't mean those functions

#

also CC: @exotic hound

hazy laurel
#

I'm not understanding how Python is not considered functional

tribal tinsel
tribal tinsel
hazy laurel
#

math-type functions are pure functions, though

tribal tinsel
#

yes. and pure functions are a functional concept

hazy laurel
#

they're a pure functional concept

#

it's just that when most people say "functional programming", they typically mean "purely functional programming"

#

and technically just about any modern language is functional but not purely functional

tribal tinsel
#

I'd say "includes functional elements" rather than "is functional" - just as I said with python

#

because the elements exist but don't have to be used... as opposed to eg OOP paradigm

hazy laurel
#

I mean that like Python does allow for the functional style

tribal tinsel
hazy laurel
#

and I'd say that's suitable to say that it's of the functional programming paradigm

tribal tinsel
#

I'd say "includes functional elements" rather than "is functional"
because the elements exist but don't have to be used... as opposed to eg OOP paradigm [which has to be used because everything is an object]

hazy laurel
#

I don't know what I'm not understanding

tribal tinsel
#

it's about semantics. python has functional elements and I'll keep saying only that, I will never agree to the "is of functional paradigm/is functional"
because, as I said, the functional elements are not required. you can (and most people, especially beginners) write code without any functional elements. mostly with stuff that's completely opposite of functional. - that's why I won't say "it's functional" because it gives the false idea that all python code has functional elements

#

my code has a lot of functional elements. my code is partially functional. it's not "purely functional" but still can be called functional... but this doesn't make whole python functional, just my code

hazy laurel
#

A beginner will 100% be using some form of functional in their code, it's hard to grab any segment of code that doesn't have some sort of function

#

but functions are baked into just about everything that you do

#

Namely with dunders

tribal tinsel
#

that doesn't have some sort of function
again, wrong functions

hazy laurel
#

What do you mean wrong function?

tribal tinsel
#

I've been saying from the start that def/programming function doesn't make something functional

hazy laurel
#

Why not?

tribal tinsel
#

that's literally in the definition of functional

#

def functions are most often imperative, a set of steps
functional functions are basically transformative
as I said: map, filter, zip, comprehensions are functional elements
loops are not (unless they're "for all, do xyz" which are basically comprehensions). recursion is (because it's "take first, go deeper" or "go deep, return")...

#

In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that map values to other values, rather than a sequence of imperative statements which update the running state o...

#

In addition, many other programming languages support programming in a functional style or have implemented features from functional programming, such as [...] Python,

#

python includes functional elements but they aren't required, just like haskell can have side-effects monads (monads wrap such things to be functional, but what they do inside is not really functional) but they aren't required

hazy laurel
#

but then what makes Haskell a functional programming language?

tribal tinsel
hazy laurel
#

yes... pure functions

#

except you can have monads

tribal tinsel
#

tbh I never really got monads. the rest, the real purely functional thing, I could do well, but I could never wrap my head around monads and similar concepts

#

and I took haskell uni class twice

hazy laurel
#

I just mean that if you can have side effects in Haskell

#

does that mean it's really functional

#

or does that mean it just largely has functional aspects

tribal tinsel
#

monads are still functional, but not pure functions. they meet other criteria for functional 🙂

tribal tinsel
hazy laurel
#

I mean purely functional

tribal tinsel
#

https://en.wikipedia.org/wiki/Purely_functional_programming is not a strict concept + as I said, I never fully got monads, so I cannot explain

In computer science, purely functional programming usually designates a programming paradigm—a style of building the structure and elements of computer programs—that treats all computation as the evaluation of mathematical functions. Purely functional programming may also be defined by forbidding state changes and mutable data.
Purely functional...

#

I believe monads basically handle non-functional elements in a functional manner. yes, it's weird, as I said, I could never fully get it

#

I'd suggest asking Avery when she's online

#

she gets functional programming better

sinful sun
#

Monads are just monoids in the category of endofunctors and such and whatnot

odd sphinx
#

when my eigenfunction is misbehaving i like to use a monad to put it in shape

#

its so useful sometimes 😅

limber pollen
#

It's the explicit control of state that makes it functional

winter bone
#

Is it ok to ask questions here?

#

I mean not like about python

#

How long does it actually take to learn python? basics?

limber pollen
winter bone
#

I see

#

Alright thanks ill come back when the time is right

hazy laurel
#

oh no

winter bone
#

I dont even fully know the basics i just came here atleast ill learn something

#

I have a question how do you make a functional button?

sinful sun
#

For what

#

Web page? Desktop app?

winter bone
#

Nvm

sharp spoke
elfin vine
#

I feel like we've gotten this one before

limber pollen
# hazy laurel does that mean it's really functional

Functional programming languages (starting from LISP) is basically just lambda calculus. Lambda calculus itself is pure, lawful, and deterministic, but requires a human if you want to do something with it, as it just is symbols on paper. Similarly, Haskell eventually compiles into machine code, regardless whether a function is pure or not, which is ultimately a matter of how it's run

fickle moss
rugged tide
#

Hello, I joined again, my other account that joined this server was banned because it was spamming links. I apologize for that but that wasn't me. It's like someone hacked into my account to do that.

hazy laurel
rugged tide
#

ok

crude trail
#

Researching the history of MongoDB for a scientific text, the title MongoDB daddy: My baby beats Google BigTable of a 2011 blog article hits different.

fluid plank
#

i have haskull book

echo flower
#

such skullery

hoary basalt
#

any learning resources for Lua? The manual assumes that I already have prior knowledge.

steel eagle
proper python
#

oh man gotta love it when people ask something in a help channel and then dont set channel notifs on

steel eagle
#

I mean

#

I don't set channel notifs in

#

I just regularly check

sharp spoke
pastel nest
#

congrats @jovial island on becoming contributor 🥳!

halcyon barn
#

is there a js channel or can i just talk here about javascript

mental idol
#

This is offtopic. If there isn't a conversation going you're welcome to start one.

halcyon barn
#

i was wondering why when i run this application the output window always closes before the actual code is executed

#

its a nodejs app on visual studio

echo fern
#

its a nodejs app on visual studio
wait, how's Java involved then

halcyon barn
#

or atleast i think it does

echo fern
#

indeed

#

so why are you writing Java code

lunar basin
#

java is a subset of javascript

#

at least in the name

halcyon barn
#

are you wondering why im writing it on a nodejs application or why im learning javascript

lunar basin
#

well, now i'm confused about the second one

#

that's not javascript code

halcyon barn
#

the System.out.println?

lunar basin
#

all of it

halcyon barn
#

it is javascript

#

you might be thinking of HTML

lunar basin
#

ok

halcyon barn
#

both go hand-in-hand with web design and stuff

lunar basin
#

you're right, my bad

#

you might wanna check what resource you're learning from though

halcyon barn
#

its pretty easy to get mixed up between the two because they're used together so commonly

lunar basin
#

@echo fern help

echo fern
#

I'm fairly sure that this is not, in fact, valid JS 😛

#

not that Java and JS have much in common except the name

lunar basin
lunar basin
#

lmfao

halcyon barn
#

dude literally

lunar basin
#

are you paying attention in class?

halcyon barn
#

yeah

#

they referred to it as "javascript"

lunar basin
#

but how

halcyon barn
#

maybe ive just been running the wrong application type

#

thas why im asking

lunar basin
#

you've got bigger issues, you're going to the wrong school

halcyon barn
#

they have an online java engine that was running my commands just fine

#

i heard the teacher refer to it as javascript but maybe i misheard it

gilded herald
#

yes, the java engine worked because it’s java

lunar basin
halcyon barn
#

how can i get something to run java on in virtual studio

lunar basin
#

did you install a jdk?

halcyon barn
#

i dont think i did

lunar basin
#

you need that

halcyon barn
#

this is why i like python more

lunar basin
#

i mean, you need to install something to use python too

echo fern
#

visual studio for java is pretty weird

lunar basin
#

intellij is nicer

echo fern
#

it's mostly intellij or eclipse that are used for it (I'd recommend the former)

lunar basin
#

eclipse 🤮

hazy laurel
#

oh yes. that's some nice JavaScript

echo fern
halcyon barn
#

my school uses eclipse for java application projects usually

hazy laurel
#

oh. poor you

#

that's rather unfortunate

halcyon barn
#

i dont know shit bro

echo fern
#

my school('s CP course) taught me Java in eclipse too

hazy laurel
#

CP course? \🤔

lunar basin
#

i'm shocked eclipse has that big of a share

halcyon barn
hazy laurel
#

I see

halcyon barn
#

schools are amazing at picking the worst ways of doing things

lunar basin
#

eclipse probably has a better deal or something, plus it runs better on school laptops ¯_(ツ)_/¯

hazy laurel
#

My school doesn't offer anything related to that

hazy laurel
echo fern
lunar basin
#

or the other, more illegal one

#

your school had a competitive programming course?

hazy laurel
lunar basin
#

since the 1970s

echo fern
#

taught some DSA in Java and had us participate in codeforces contests, then taught us how to do the problems we failed on

#

that course taught me most of the DSA I know, actually

lunar basin
#

huh, cool

echo fern
#

up to like binary search trees

halcyon barn
#

i decided not the join the robotics club because it was too much of a commitment

#

😎

hazy laurel
#

I've become the lead programmer in our robotics group

#

except I'm the only one who ever does anything

#

nobody else really cares

halcyon barn
#

that sucks

#

does your robotics club participate in FIRST

hazy laurel
#

Yes

halcyon barn
#

has it ever gotten to the state championship

hazy laurel
#

I don't think so

halcyon barn
#

f

#

its always nice when you get with a group of people that work together well on projects like that ig

hazy laurel
#

yeah, everyone here is dumb

rotund python
jovial island
jovial island
#

well, i use pirated win10

#

windows updates break my computer
so much that i installed stopupdates10

steel eagle
#

Massive security holes, nice

#

Use a Linux distro then

#

Or just pay for your OS

tribal tinsel
jovial island
#

well s====
my tech support guy always uses that to install WHEEEEEEEEEEEEEZ

#

Even if I have a full 21H2 instdrive

he uses 1909?

hazy laurel
#

You have a personal IT guy who pirates for you? ._.

wide totem
#

/s ofc

hazy laurel
#

um

odd sphinx
#

lol

sharp spoke
fluid plank
#

im wondering why we are talking about peeracy

dusky cliff
#

Hey. In 1997 Harvard grad stud was a little mod guy

upbeat sandal
#

Ah yes. The one who called Scofflaw a little mod guy

#

There was someone who messaged ModMail after an infraction that they deserved, insisting that we "don't help people"

#

As if we have to help people to charge our ban hammers, or something.

sinful sun
#

Little mod, B.I.I.G. hammer

deft tartan
#

hello, is anyone experienced when it comes to microsoft remote desktop and error 0x204 ?

exotic hound
#

readthedocs.io takes very long to load, did you guys get the same thing?

#

my internet is good

fresh pecan
#

It's loading fine for me rn

mental idol
#

@ionic locust You've got me stumped pithink No idea why I had it in my head that the __init__.py played a role. I'm toying around now and having no issues calling modules from the cli with -m or importing nested modules. All without the __init__.py

#

Some bit of old information that got put in my head early on and has never been updated?

ionic locust
#

I was having a play around too. Seems like you don't even need them for running __main__.py

mental idol
#

Ah

It used to be a required part of a package (old, pre-3.3 "regular package", not newer 3.3+ "namespace package").

ionic locust
#

I really need to refresh my memory of the namespace package specification

#

3.3 was ages ago lol

round moss
#

@mental idol it's important to note that having and not having an init.py does make a difference, though for most things it's fine either way

mental idol
#

Can you define what difference it makes? I, honestly, thought my from module imports would fail without it.

round moss
#

If you have 2 modules named foo, if neither has an init.py, they will both be searched

mental idol
#

Hmm.. so priority is given when namespace searching?

round moss
#

Otherwise, only the first (defined by python path) will be used

#

No, it allows you to have a single package in 2 directories

ionic locust
#

I just tested, and you don't actually

round moss
#

It is useful when you are splitting your pypi package but want to keep the same namespace

#

Which is why they are called namespace packages

#

They only provide a namespace for modules, and have no attributes themselves

mental idol
#

heh. I'm on the cusp of a "aha" moment here

#

Been a bit since I dove into mechanics of namespaces in Python. I shall do that after dinner. My curiosity is lit

ionic locust
#

I guess the downside is a) more complex to package and b) you can't do things like from my_namespace import my_function directly?

round moss
#

Yeah, pretty much

#

Though I think it should be about as simple to package as anything else

ionic locust
#

Oh I know why I thought that they are more difficult

#

I was helping some person here debug their package and they were trying to do the archaic pkgutil-style namespaces when what they actually needed was a regular package.

It led to a confusing conversation jumbling PEP-420 namespace packages, pkgutil-style namespace packages, and regular packages. Worked out in the end though

round moss
#

Python packaging could do with a few less dials

ionic locust
#

Reading through the docs again now, seems like pkg_resources-style namespace packages also got jumbled in there too from what I remember...

round moss
#

It allows more freedom than is useful

ionic locust
#

That's probably why PEP 420 was proposed 🍏

fresh reef
#

can someone help me test something

mental idol
#

@sharp spoke
View the file you want to rename (click the file name)
Then find the "Edit" icon

#

Then just change the filename

#

GitHub will walk you through the rest with choice of creating the changes in a new branch or committing directly to the branch you are on.

sharp spoke
wide totem
mental idol
#

The short of my reading is that I don't understand namespace discovery as much as I thought I did. So YAY more learning

jovial island
#

'

echo magnet
#

@open wyvern loved ponyo <3

open wyvern
slate leaf
#

I watched ponyo over the weekend

echo magnet
#

her father was ugly yet hot

slate leaf
#

Looked very similar to the witches in Spirited Away

open wyvern
#

Haven't seen spirited away :x

#

The wind rises is really cool too

slate leaf
#

Studio Ghibli is just all-around awesome

echo magnet
#

yes

hollow heart
jovial island
#

i like how ghibli fans are here too💙

last isle
#

hi everyone

placid patrol
#

hello

sterile nymph
#

IaI my duderson

hollow heart
#

@tulip shore lol wait that is bizarre that it worked because I just skimmed the video you linked and in that video his script ran fine without it??

tulip shore
#

well when i added that, that problem went away and there were some other small problems

hollow heart
#

it's the same library they're both using but realpython's code looks cleaner and better explained

echo flower
#

realpython is amazing

hollow heart
#

indeed it has saved me a couple times from going insane at 2 or 3am

jovial island
jade bolt
odd sphinx
#

lol

median blade
#

wtf

fresh reef
#

I AM SO FUNNY

jade bolt
#

surebuddy

odd sphinx
#

aha

rotund python
#

Every time I think I know smth
I discover that I know nothing

fresh reef
dusky cliff
#

lmao

tranquil ridge
#

lol

wintry wolf
#

D and V will probably only get popular for making unditectible malware. Everything D and V can do are achieved by C, C++, and Go

#

I personally prefer D over c, c++, and rust but D was just too late to the game with little more to offer than the competitors

steel eagle
#

the language used has nothing to do with malware being undetecable

#

or at least, very little

#

using Python I can exploit a vulnerability in any system that has Minecraft Java Edition installed

#

0 detections on virustotal, wipes the C drive

#

And no, I'm not going to send the code before the skids ask

slate leaf
#

That poor C drive that you tested on

echo fern
tribal tinsel
#

I just realised I have my bone broken for a first time ever. Seems weird I survived so long without breaking anything... I had my hand in a partial cast before, but now when I finally have a broken bone, I don't have a cast. XD

#

Oh, I realised I might've had a broken rib before. Idk, I didn't get rtg, my father just got me excused from PE for a week then... ??? Because he said they can't put me in a cast anyway... ???
It's "funny" how now I also don't need a cast but I have meds and real medical support

steel eagle
#

I have yet to break a bone but it's inevitable tbh

#

I took skateboarding up again this year

tribal tinsel
#

My bone is not even my fault

#

We're making fun of a coworker who did this to me during a work game of football XD

wet zinc
#

bruh

languid osprey
#

?

#

suspicious link

mental idol
#

Surge.sh isn't too suspicous. That link appears to be dead though

languid osprey
#

ah ok

fossil sapphire
#

hello men

#

do you like Spinach

hollow heart
#

i do

jovial island
#

acceptable with paneer otherwise no.

sharp spoke
#

Spinach is just superior vegetable so

jovial island
fresh reef
jovial island
#

tis but a scratch

ionic flax
tribal tinsel
tribal tinsel
#

Okay, this kind of spam is actually Python-related

#

Also with eggs and/or bacon

sudden swallow
toxic wharf
#

💀

toxic wharf
rotund python
#

I am waiting already unknown amout of time for C++ compiler to finish its job.

#

huh. it is so slooooooooooooooooooooooooooooooooooooooooooooooow

tranquil ridge
#

interesting

rotund python
#

and it ended with errors%

#

great

odd sphinx
#

nice!!

pliant trench
rotund python
pliant trench
#

it always takes a lot for the first time

rotund python
#

yeah, second time was instantaneous, that's great

#
make[2]: Entering directory '/build/squid/build/tools/squidclient'
make[3]: Entering directory '/build/squid/build/tools/squidclient'
cp ../../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
make[3]: *** [Makefile:1518: tests/stub_debug.cc] Error 1
make[3]: Leaving directory '/build/squid/build/tools/squidclient'
make[2]: *** [Makefile:1049: all-recursive] Error 1
make[2]: Leaving directory '/build/squid/build/tools/squidclient'
make[1]: *** [Makefile:1192: all-recursive] Error 1
make[1]: Leaving directory '/build/squid/build/tools'
make: *** [Makefile:591: all-recursive] Error 1
#

I think I should just mkdir tests

#

nah, wrong

#

fuck yeah! i was right

jovial island
#

hey @unique dune That's me!
I made it!!

import numpy as np
a = np.array([[(0, 255, 255), (0,0,255)],[(0, 255, 255), (255,255,0)]])
# flattening image, tho, there could be better way
b = a.reshape(a.shape[0]*a.shape[1], a.shape[2])
# making mask for each pixel
res = np.all(np.equal(b, np.array([0,255,255])), axis=1)
# reshaping mask to 2d array
res = res.reshape(a.shape[0], a.shape[1])
# changing colors if mask is True
a[res == True] = np.array([0,0,0])
print(a)
unique dune
#

u sir are a legend @jovial island

jovial island
#

haha thanks :D, also if you do have time, make sure to find a way to do it without flattening. doesn't seem like necessary step to me.

unique dune
#

i will look into it! ty so much again

jovial island
#

happy to help 😄

#

!e

import numpy as np
a = np.array([[(0, 255, 255), (0,0,255)],[(0, 255, 255), (255,255,0)]])
# flattening image, tho, there could be better way
# b = a.reshape(a.shape[0]*a.shape[1], a.shape[2])
# making mask for each pixel
res = np.all(np.equal(a, np.array([0,255,255])), axis=2)
# reshaping mask to 2d array
# res = res.reshape(a.shape[0], a.shape[1])
# changing colors if mask is True
a[res == True] = np.array([0,0,0])
print(a)
clever salmonBOT
#

@jovial island :white_check_mark: Your eval job has completed with return code 0.

001 | [[[  0   0   0]
002 |   [  0   0 255]]
003 | 
004 |  [[  0   0   0]
005 |   [255 255   0]]]
jovial island
unique dune
#

omg

#

that was all thats needed?

jovial island
#

yeah so the thing was i was bit more comfy with 1d array as in chunks of rgb so i tried that way to get result. so all this reshape came in.

#

i knew it was not required. but it made stuff easier for me lol.

#

you can try on bigger image to see how things go!

fresh reef
toxic wharf
fresh reef
#

rip

sinful sun
#

Whats the -y flag for

round moss
#

answers yes to all prompts generally

plucky grotto
jovial island
#

it may break the on going conversation, and people here are not usually the kind to take a screenshot and spread.(atleast in this server)

tribal tinsel
rotund python
#

News. One of next Golang versions going to bring generics!

gaunt jacinth
#

@split seal

#

when i try to next()

split seal
#

@gaunt jacinth try server() instead of server

gaunt jacinth
#

nice that worked

unreal sigil
#

^ It returns a generator, but it's still a function

gaunt jacinth
#

my bad, i thought i had to pass in a reference

#

thanks

ionic locust
#

Anyone know why I’ve just woken up to 8 ghost pings?

#

Like where I get pinged but can’t find the message where I got mentioned

#

Did something happen in the last 7 hours?

dusky cliff
#

there was a raid

ionic locust
#

Ah ok

lofty loom
#

Lemon's gold ingots are golden lemons

hazy laurel
#

I guess this is what happens when your username starts with the letter a

ionic locust
elfin vine
#

Hmm, I am trying to do components now.. what do you guys think about this form of API? ```py
components = ComponentList(ActionRow(
Button(label="Press me!", custom_id="PRESSME")
))
await interaction.respond("Ooh, message components :3", components=components)
try:
pressed = await components(lambda interact: interact.user == interaction.user, timeout=60)
except asyncio.TimeoutErrror:
await interaction.edit("Too late :(")

pressed is now the component that was pressed

exotic hound
#

how to keep this popup showing? while writing code

toxic wharf
#

To see the info

hazy laurel
odd sphinx
#

hover over the identifier

toxic wharf
toxic wharf
#

Just Hold the code

#

I mean

#

Code

#

:(

hazy laurel
#

Ctrl + Q

exotic hound
#

👍 py_guido

gaunt jacinth
toxic wharf
#

Ohh

gaunt jacinth
#

im implementing my custom event loop in a custom http server using python with the minimum amount of modules

#

because i hate myself apparently

toxic wharf
#

Ohh

#

Nice

pliant trench
pliant trench
#

what're u working on

dusky cliff