#ot2-the-original-pubsta

652 messages · Page 109 of 1

native cobalt
rare moat
#

HAVE FUN

rare moat
#

@civic wharf

lofty loom
#

Are Americans assigned a gun a birth

#

Actually look the funny revolver

#

Both of these are the same

jovial island
#

I need to select from a table all values ​​greater than 1 and less than -1, can I do this with python?

sinful sun
#

list comprehension with the two constraints or a filter with a function with the two constraints

jovial island
#

it's in .csv format

#

this is important?

toxic dagger
sturdy flare
#

what is this channel's name LMAO

jovial island
#

ERLANG

lofty loom
sturdy flare
#

WAit

#

the channel name changed

daring jay
sturdy flare
#

ohhh

#

lol

zealous hazel
#

i love the guns part of america

native cobalt
#

that's just all of america

upbeat sandal
#

@grim seal explain erlang

#

I wanna have an advanced discussion about it.

zealous hazel
#

dont disturb him he's playing emacs

zealous hazel
grim seal
#

as much as it is a shitpost, it sums up the language well

errant stirrup
#

when was that video made

digital bane
lofty loom
#

I know a guy who works at Ericsson

#

The company where Erlang was made

jovial island
#

Yeah im china

stiff shadow
#

ot2-erlang-discussion

#

joe shilling erlang in pydis again I see

lofty loom
#

Now tell Joe to code in Elixir

abstract tapir
jovial island
lofty loom
#

They are indeed The Peoples' Republic of China

civic wharf
#

wondering why I have a ping from here

#

did somebody ping everyone? I don't see any mention of me

civic wharf
#

i didn't think to scroll back

#

might just rename them to the vim channel

lofty loom
#

The crab cult has already claimed it

civic wharf
sinful sun
#

stop

#

stop with the spamming, whats wrong with you

#

<@&831776746206265384>

daring jay
#

!mute 907622793758265385

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @jovial island until <t:1643806584:f> (59 minutes and 59 seconds).

slender cedar
#

@vague shadow how does GitHub actions block a pull request?

#

Can it block pushes too?
If the test fail

vague shadow
#

You can find this in the Branches section of a repo's settings

slender cedar
#

Oh pog

slender cedar
#

What about push? thinkmon

vague shadow
#

We disable push perms to main entirely

#

so the only way to get code into main is via a PR

slender cedar
vague shadow
#

there's another option to allow admins to overrule all the rules

#

we don't enable that on our branch rules, but it's an option

slender cedar
#

Thanks!

jovial island
#

@spark grotto did you saw the commit in akeno👀

jovial island
spark grotto
#

Give me a sec

#

I see

jovial island
#

what do you think?

spark grotto
#

Looks good

jovial island
#

lol

spark grotto
#

Only 3 functions though

jovial island
#

yeah i have to add more endpoints

spark grotto
#

Add a profile first

#

So followers, following, pfp

#

Amount of tweets

#

I don't use twitter so idk

jovial island
spark grotto
#

Alright

#

!d typing.Any

#

Oh

#

Bot dead

jovial island
#

yeah

spark grotto
#

Whats the point of type hinting to Any?

jovial island
spark grotto
#

Why not just not type hint at all then?

jovial island
#

in dict i added Any because it can take Any type of keys and value

jovial island
spark grotto
#

Also

#

t = await self.request("GET", f"https://api.twitter.com/2/tweets/{tweet_id}", headers=self.headers)

#

Variable naming is no good

jovial island
#

t just means tweet

#

lol

spark grotto
#

I know

#

But imo it should be better

#

asyncio.sleep(900)

#

Also dis

#

It's not awaited

jovial island
#

LMAOOOOO

#

let me fix it lol

spark grotto
#

When you add user profiles I'll implement it in to my bot

#

Right now I'm learning pil for a welcome card

jovial island
#

alr bet

#

not sure if the api has that endpoint tho

spark grotto
#

Seriously?

jovial island
#

its the picture url

spark grotto
#

I would try making commits but I've never done a production project before

jovial island
#

its alr lol

#

yeah it has a pfp url header

spark grotto
#

Oh cache is really simple

jovial island
#

yeah

#

its just a dict

#

ill make a user obj so i can add the pfp attr

spark grotto
#

Thought it was more complicated

jovial island
#

for simple stuff not really

#

and i should add a tweet obj as well for other attrs ill do it later

spark grotto
#

While you're adding a user object make sure to make a newline at the end of the file

#

pep8

jovial island
#

yeah

#

i do in my file

spark grotto
#

So how do you make commits?

jovial island
spark grotto
#

I mean how do you

jovial island
#

wdym by commits lol

spark grotto
#

Like update the project

#

Replace the old files with the new ones that you added on to

jovial island
#

no i just delete the whole code in the file and paste all the code in my file i have in my pc and github will check all the changes to it and not scream that i changed the whole file

spark grotto
#

Oh

jovial island
#

yeah

spark grotto
#

Thought you had to use git or smth

jovial island
#

nah lol

spark grotto
#

If I find any bugs I'll make a pull request

jovial island
#

alr thx

spark grotto
#

So fork the repo and then what?

jovial island
#

you make your changes and it will say open a pull request

spark grotto
#

Alr

jovial island
#

yeah

spark grotto
#

Cool

#

I'll check the page once and a while

jovial island
#

alr

spark grotto
#

Notify me when you got a user object implemented

jovial island
#

bet

jovial island
spark grotto
#

Lemme check it out

jovial island
last ginkgo
lofty loom
#

Sounds about right

digital bane
#

What is not right is waking up and hearing that mom needs to go to the hospital after being sick for a few days in the middle of a pandemic ...Probably not covid thou we have isolated ourselves to boredom

upbeat sandal
#
(defun fibonacci (N)
  "Compute the N'th Fibonacci number."
  (if (or (zerop N) (= N 1))
      1
    (let
    ((F1 (fibonacci (- N 1)))
     (F2 (fibonacci (- N 2))))
      (+ F1 F2))))

this is not Python

#

we can tell because it has defun in it, and the point of lisp is to de-fun the act of programming.

#

or maybe they're talking fast, and what they're trying to say is "defund"

#

defund the police lisp.

serene ingot
#

lisp bad

#

interesting but bad

digital bane
#

A page from an old MIT press AI book on LISP

digital bane
jovial island
#

@spark grotto check git

spark grotto
#

Just tell me what you added

#

Also, add getch_user

jovial island
spark grotto
#

And add documentation

jovial island
jovial island
jovial island
spark grotto
#

Is the lib in a useable state right now?

jovial island
spark grotto
#

Aight

#

I should be ready

#

Make sure to add doc strings now

#

So you don't have to go through everything

jovial island
spark grotto
#

That's not a good sign

#

I think you should add them anyway

jovial island
spark grotto
#

Good

jovial island
thick quarry
#

@vivid fjord why did you block me?

#

Is your encoder open source?

digital bane
# jovial island hope she gets better!

Im at the hospital waiting for a covid antigen test if ok i will be trapped in the hospital premises they say until mom gets discharged as companion. If positive lol another companion has to be found and Im trapped in Hospital lol
Thanks

lofty loom
#

!pip hy

clever salmonBOT
lofty loom
#

!pip hissp

clever salmonBOT
jade bolt
digital bane
lofty loom
#

There's also .NET, ignoring IronPython for a second

#

!pip Pythonnet

clever salmonBOT
lofty loom
#

!pip pyjion

clever salmonBOT
dim root
#

@lucid girderHi, which provider are you using for running xithrius.cloud server?

somber belfry
dim root
#

thanks 👍

frigid pollen
#

@sweet oyster Sorry for being a crankypants. Yeah, it's one of my older ones.

sweet oyster
#

no problem :)

jovial island
#

anyone from India?

hazy laurel
#

a ton of people

brazen jacinth
upbeat sandal
#

US + India might actually be over 50%. Can't remember.

vague shadow
#

US and India are at 19% each for members who visited in the last 28 days

#

UK is next at 5%, then Canada at 4%

jovial island
#

Where can I see those polls? 👀

slate leaf
#

Not sure about the geography insights, I think that is the grafana results for mods (?) +

lusty brook
tame sequoia
#

hello

wheat aurora
daring jay
#

Last 28 days

blissful coral
fluid plank
#

julia is a lisp though

#

🥴

digital bane
jade bolt
#

gl

woven stag
#

!otn add !otn add !otn add

hidden kernel
#

!otn s otn

#

yikes

daring jay
#

!warn @hidden kernel Leaking ot names is treasonous.

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied warning to @hidden kernel.

daring jay
#

I don't understand

#

oh wait

#

I am reformed now

lofty loom
#

Yes, you are a liquid

hidden kernel
#

that was right after Kat added otn-a

#

just a weird coincidence

daring jay
#

I just realized, I've changed both so much and so little is the past year

#

It's so weird

edgy apex
#

i finally got copilot

dusky cliff
#

nice

hollow heart
#

@shut inlet you can use the discord UI search from:yourusername

small cloak
edgy wigeon
#

@jovial island

jovial island
#

hi

edgy wigeon
#

hello

jovial island
#

what dont you understand?

edgy wigeon
#

all of it

#

anyways im uselss but rn

#

its abouto boolens

jovial island
#

bool is just True and False lol

#

!e

print(type(True))
clever salmonBOT
#

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

<class 'bool'>
jovial island
#

!e

a = ""
print(bool(a))
clever salmonBOT
#

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

False
jovial island
#

empty strings always are false btw

edgy wigeon
#

ok

jovial island
#

strings that arent empty are true

edgy wigeon
#

is it ok if i send ss and you like kinda help me with it?

jovial island
#

sure

edgy wigeon
#

ok so for this i need to do something with like needs water and everything in red i need to put into code and make the result ture

jovial island
#

of needs_to_be_repotted

edgy wigeon
#

ima behonest i dont know anythin about strings var and stuff

#

im sorry to be like really useless when your trying to help but like i have not been able to understand anything and like idk

jovial island
#

which theres more objects like int float str list complex tuple dict set and more

edgy wigeon
#

ok

#

so whats a value of a string

#

or how do i write a var ig

jovial island
#

a var can be named anything and can have anything as its value

edgy wigeon
#

soo like someting like x=10?

#

so x is anme and 10 is value?

jovial island
jovial island
edgy wigeon
#

oooooo ok ok

jovial island
#

can be named anything but not builtins

edgy wigeon
#

wait

#

so for the 1st question make needs_to_be_repotted a var how would i do that?

jovial island
#

just make a var and print the value as it says

jovial island
clever salmonBOT
#

@jovial island :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     True = 1
003 |     ^^^^
004 | SyntaxError: cannot assign to True
edgy wigeon
#

Needs_to_be_repotted= True ?

jovial island
#

You should make a variable that's named needs_to_be_repotted

#

The N is capitalized and I don't think it should be, but other than that, I think that will work

edgy wigeon
#

oh ok

#

ok

#

so how do i print it?

#

oh wia

#

im dumb

#

wait i am

#

how do i print the value of something?

jovial island
#

The same way you print needs_water

#

!e

Needs_to_be_repotted= True
print(Needs_to_be_repotted)
clever salmonBOT
#

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

True
edgy wigeon
#

what does this mean

jovial island
clever salmonBOT
#

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

string value
jovial island
jovial island
#

you forgot d

jovial island
#

Yeah

edgy wigeon
#

oh

jovial island
#

since the value of the variable is literal the variable is the value it has so printing it is like printing the value without a var

jovial island
edgy wigeon
#

oohh ok ok

#

tyty i got that one done

jovial island
#

nice

#

welp im going to sleep sorry im tired they can help you gn

edgy wigeon
#

thank yo usoo much for the help

#

i really appricate it

jovial island
#

any time

#

you can do it!

edgy wigeon
#

thhanks

zealous hazel
#

theres a different feeling of having your own stapler rather than borrowing one

odd sphinx
#

ikr

#

that feeling of owning ur stapler

dusky cliff
#

and __debug__!!

round moss
#

and __peg_parser__

#

fair enough

jovial island
jovial island
#

ic thanks

#

I am going to form a universe off your prompts.

#

give me any word, any idea.

#

and the universe can begin.

lofty loom
#

Let me make you regret that

lofty loom
#

My job here is done

jovial island
#

beginning

odd sphinx
# jovial island and the universe can begin.

anytime anyone does anything there will be a text bubble (like in comics)
eg. if i turn on the kettle there a bubble should appear ( B E E P ! )
or if fireworks blow up it should show [ BANG! ]

jovial island
#

this is entirely experimental

#

now i'm just going to say quickly

#

40 minutes = 1.23 seconds

odd sphinx
jovial island
#

hmm

#

ok

#

return in 40 minutes for next frame and next item.

odd sphinx
#

alright

#

i added a lot of things in one frame didnt i

slate leaf
#

One last big ole image for the day

jovial island
#

How long did this take?

digital bane
slate leaf
clear basin
#

bubble is my fav bfdi char, she is just TOO CUTE

ember spade
clear basin
#

im making a program rn

ember spade
#

oh ok have fun

#

me too actually

clear basin
#

oh

#

wat is urs for?

ember spade
#

I'm attempting to code a crude cooking game

clear basin
#

oh

ember spade
#

for my sis who suggested it to me

clear basin
#

im making an ax+b=cx+d solver (solve for x)

ember spade
#

oh that sounds interesting

#

well have fun see ya

clear basin
#

see ya

#

done!

regal jetty
#

@jovial island

#

why isn't Akeno a pypi package?

jovial island
regal jetty
jovial island
regal jetty
#

might as well just remove that

#

!zen

clever salmonBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

regal jetty
#

Although practicality beats purity

jovial island
jovial island
regal jetty
#

is that not what getch_tweet does?

jovial island
#

no?

jovial island
regal jetty
#

wtf is disnakes getch

#

explain the different between getch and get

jovial island
#

getch gets the obj from cache first if it fails it will fetch it

regal jetty
#

and what does get do?

#

if get is a mix of get and fetch

#

whats the point of fetch and get

vague shadow
#

get pulls from cache if available, if not, it makes an api request to fetch it

regal jetty
regal jetty
#

@jovial island i was debating contributing but your code is too fucked lol

#

clean it up and maybe ill do something

jovial island
#

waitingyert

#

😭

regal jetty
#

1) you pass the base url (``"https://api.twitter.com/2/") everytime you make a request instead of having a session **2)** the get_methods are whack - a) they dont return anything and b) you are doing a bareraisefor whatever reason **3)** the indents are inconsistent as fuck **4)** you have multiple functions that are exactly the same? https://github.com/Okimii/Akeno/blob/main/akeno/client.py#L85 and L74 **5)** you talk about pep-8, but the pep-8 is whack, you havent even ran any kind of code formatter on it - there are typehints with spaces after them, the imports are shoddy, trailing whitespace, inconsistent use of new lines, etc **6)** there are no doc-strings anywhere explaining what the hell is going on - needs to be shit about params, return types, attributes **7)** your naming conventions are whack as hell, calling everythinguandt **8)** you're blocking the code for 900 seconds? who wants that https://github.com/Okimii/Akeno/blob/main/akeno/client.py#L29 **9)** the code is inconsistent and messy in the way that there are no orderly functions its just one big glob **10)** https://github.com/Okimii/Akeno/blob/main/akeno/client.py#L62 this isnt a very robust check, and might also raiseIndexError`
11) there is no documentation about this wrapper, literally just a blob of code which a user will have no idea what to do with
12) im really not a fan of the get_tweets, like that shits a bit whack
13) the caching method is messy and should be cleaned up

clever salmonBOT
#

akeno/client.py line 85

async def fetch_user(self, user_id: int ) -> dict[Any, Any]:```
`akeno/client.py` line 29
```py
await self.lock.acquire()```
`akeno/client.py` line 62
```py
return self.cache[tweet_ids[0]]```
regal jetty
#

i grabbed a snack half way through

jovial island
#

only answer i can give rn is to wait lol

regal jetty
#

its been 13 days and theres been such little progress

#

how many days am i supposed to wait?

#

a month?

jovial island
#

nope

#

make it a year

#

im busy alrightyert

jovial island
#

someone say a thing to learn in python

mental idol
#

programming.

jovial island
#

what program

edgy apex
#

!projects

clever salmonBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

fluid plank
#

stop interrupted me!!

civic plank
#

do all schools with computer science only majors teach networking/network security stuff?

mental idol
#

I would hope at least the basics get covered. CompSci might not focus on it, but data security is a hot topic in the biz these days.

dusky cliff
#

security schmecurity
just make all your variables private!

civic plank
#

yeah for sure, it's an area where i am especially clueless about even though it's pretty important

#

lmao

rich crater
#

I would expect them to teach at the very least the basics of routing and networks

digital bane
#

Enjoy a hospital among us lol taken before we left

rich crater
digital bane
sinful sun
#

Whats with the hazmat suit

#

Oh its a covid thing?

digital bane
#

Ah yes and a covid thing

#

No me and my mom dont have covid

#

Just a blood sample taking among us with a hypo

#

I wanted to take moar photos but I had to press some cotton thingy after the among us use sharp thingy on my moms arm and fail to draw blood sample...press cotton ball to stop bleeding

#

He took 3 tries with weapon to hit something and draw blood sample...not efficient...maybe the imposter lol

odd sphinx
digital bane
odd sphinx
#

damn

#

is your mom ok

digital bane
#

We are fine she was dischaeged
Only low sodium... I had low potassium myself once

odd sphinx
#

nice

limber pollen
#

Had low potassium too

sinful sun
#

Same

odd sphinx
#

eat banan

limber pollen
#

Not sure why though, but it was before I went to school I was groggy as fuck

#

So we went to the local clinic instead and found out there

sinful sun
#

Rather have banana bag

#

Are you diabetic, pure?

limber pollen
#

Nope

radiant socket
dusky cliff
#

he lives in the uk dw

median blade
sinful sun
#

mfw

#

Banana bag takes 2 hours

#

Eating bananas would probably take a week

#

Time is money, dont have the time to pause my grindset for potassium

dusky cliff
#

!otn a potassium grindset

clever salmonBOT
#

:ok_hand: Added potassium-grindset to the names list.

jade bolt
#

!src otn

clever salmonBOT
#
Command: otname

Add or list items from the off-topic channel name rotation.

Source Code
lofty loom
#

Where's the list of off topic names again?

daring jay
#

it's a secret

#

stored in the database

civic plank
#

ot names are reused right?

daring jay
#

yes

#

but it takes them a long time

civic plank
#

ah wow

devout mango
#

rip Rayan 😢 💔

brave anchor
#

RIP Rayan

#

5 years Kid

regal jetty
#

@spark grotto

#

I think i speak for everyone when I say that I recommend using git instead of github browser

spark grotto
#

That's so out of the blue though

regal jetty
#

i was just looking at your commit

#

to Akeno

#

@jovial island the docstrings are a nice addition

#

i recommend also including return type

spark grotto
regal jetty
spark grotto
#

Oh

#

By git do you mean the command line thing?

regal jetty
#

yes

spark grotto
#

I already have it installed

#

Just no idea how to use it

regal jetty
#

its pretty hard to start off but github has some awesome documentation

#

and lots of users here can help out

#

the basics are

#

not really

spark grotto
#

I could just watch a video on it

regal jetty
#

Git in a nutshell
* = git or whatever alias you use

Note: github repo always have a .git dir and if you try to run a git command not inside a github repo it will raise .git not found error
Terminology:
  remote:
    - the pushed changes in the repository
  local:
    - your cloned repository on your local machine

* clone <url>:
  - url: github repository url
  - clones the github repository into whatever your cwd is 

* add <f>:
  - f: files/folders; often just . if you want to add everything
  - adds <f> to the commit
  - done within a github repo
* commit -m <m>:
  - m: commit message [ see screenshot ]
  - commits the local files to repository
* push:
  - pushes your commit to the repository 
[add, commit, push] -> the 3 commands used to commit changes and update code, often bundled into a singular command

* pull: 
  - pulls the latest code from the remote to local (basically just updates your code to match the code in the repository)
* stash 
  - stores the changes you've made so the pull can overwrite local changes```
#

hopefully most of this is pretty accurate

spark grotto
#

Thanks

jovial island
jovial island
#

Rest In Peace for rayan

spark grotto
#

@regal jetty Quick question for ya. To get the latest files on my computer from a github repo do I have to keep redownloading it from the repo manually or is there some command I use in git to replace all my current files with the new ones?

zealous hazel
#

any tips on how to get better at angry birds

sinful sun
#

Fetch grabs the latest commit
Pull does what fetch does but also applies it to your local copy

spark grotto
#

Alright

brazen jacinth
zealous hazel
#

thats actually good, thx

carmine herald
zealous hazel
small cloak
#

Valentine's Day sadness arrives earlier this year 😓

small cloak
jade bolt
#

why did google mark this as spam

#

😠

civic plank
#

my fav song of hers is video games

hidden kernel
#

CW: do NOT look at the date of that music video

hazy laurel
#

meh, only 8 years ago

#

or 9 now I guess

digital bane
#

Linux greybeards lol

#

Or Unix Greybeards

hazy laurel
#

isn't that the guy from that one show

#

the one about gold

zealous hazel
dusky cliff
#

matt damon

#

Yeah p sure thats him

hazy laurel
#

something here ain't right

hazy laurel
#

that guy is apparently from Duck Dynasty

median blade
#

impostor

limber pollen
#

sus

zealous hazel
#

i keep misreading this as you know what

hazy laurel
zealous hazel
#

hmm good for you

hazy laurel
#

Slu? Shu? Sho?

#

Silu? Sdu?

#

DEB? EEB?

zealous hazel
#

lol

hazy laurel
#

I'm intentionally squinting to try and misread it

zealous hazel
#

jhmm

hazy laurel
#

I don't see it

zealous hazel
#

replace trhe i with t

hazy laurel
#

I took off my glasses

zealous hazel
#

hmmm looks like im among usly cleaner than you in that case

hazy laurel
#

I literally never would've gotten that

zealous hazel
#

this is from my opera gx home screen

hazy laurel
#

my condolences

zealous hazel
#

so its just present in the background

hazy laurel
#

I didn't know people actually used Opera GX

zealous hazel
#

yeah

#

neither did i

#

two partitions of browser to hide what music im playing

hazy laurel
#

wat

zealous hazel
#

idk

visual slate
#

@naive sleet

´¸×ıſƄƍƦƧƷƼƽǀǃȜȢȣɁɑɡɣɩɪɯʋʏʔʹʻʼʽʾ˂˃˄ˆˈˊˋː˗˛˜˴˸ʹͺ;Ϳ΄ΑΒΕΖΗΙΚΜΝΟΡΤΥΧαγινορσυϒϜϨϱϲϳϹϺЅІЈАВЕЗКМНОРСТУХЬабгеорсухѕіј
```here's all the chars in the first like 1100 ascii chars that vscode thinks are misinterpretable, so maybe make a table converting these into equivalents
ionic locust
#

@warm grail #help-lollipop message

Your set_friend method is the main issue. In there you probably want to do something like this:

    def set_friend(self, nuovo_amico):
        self.amici.append(nuovo_amico)

This way, the new friend will be added onto the end of of the amici of mario. Also be aware that this doesn't return anything, so doing print(mario.set_friend(namico)) will just give None. Instead, do something like this to see the new friend list:

mario.set_friend(namico)
print(mario.get_friend())
warm grail
#

all right thank you very much @ionic locust

ionic locust
#

Np

granite nest
#

God please help me

odd sphinx
#

lol

visual slate
#

O_O

#

lets pretend i never wrote that

#

i should have had an alarm bell trip when i said first 1100 ascii chars

echo fern
#

unicode, or as I prefer to call it, Extended ASCII,

radiant socket
lofty loom
#

Ass key

digital bane
# lofty loom Ass key

That is when an unlocked smartphone in your backpocket gets something typed accidentally

fluid plank
rotund python
#

We have two versions of video scenario made by two different people
Considering me being too subjective to judge, I wish to ask third party opinion on which one is better
Version a:

The internet started as a place of freedom. But as time passed, the privileges were stripped from us one by one.
Web services started to place geo-locational restrictions.
Internet Service Providers breach our anonymity and collect information to have it handed over at any request.
In protection of users appeared proxy servers, often available as browser plugins. They are enough to bypass geo-locational restrictions.
For a complete solution, VPN is provided as a service to encrypt your internet connection fully.
But who would protect us from those new service providers? Aren't we just jumping out of the frying pan into the fire?
They also collect information and are vulnerable to exposing our data at any breach or demand.
We are offering you the solution.
{{brand_name}}. Here you can create and configure your own server, where all the data would belong to you.
Watch a video instruction on how to set it up in five minutes, and you will have a reliable VPN protecting you at any device!
If you wish to be secure, it is time to take the matter into your own hands!

#

Version b:

The age of free internet is over.
Web services began to put geolocation blocking. Any person, such as an Internet service provider, may break our anonymity and collect personal data for sale to third parties.
Some services offer proxy servers to bypass geolocation blocks.
Others recommend VPNs as providers of this service to encrypt your internet connection.
But who will protect us from these new providers? Are we jumping out from the frying pan into the fire?
They also collect information and are vulnerable to disclosure of our data in any hack or third party request.
We offer you the solution.
{{brand_name}}. Here you create and configure your own VPN server, where the data will belong ONLY to you.
You'll get the software and easy-to-follow instructions on how to set up your VPN server, and in five minutes you'll have a reliable VPN that will protect any device.
If you want to be safe, it's time to take matters into your own hands!

echo fern
#

I don't much like version b, because:

  1. "The age of free internet is over", yet your fancy product is the solution??
  2. "Any person, such as an Internet service provider, may break our anonymity" is quite a strange statement - an ISP isn't a person, nor is it just anyone - it's quite a specific kind of entity.
cold junco
#

continue country thing

cold junco
#

why is my laptop showing 10:46 pm but discord shows 10:47 pm

#

2 min diff now wtf

thorn shadow
cold junco
#

i think its late

thorn shadow
cold junco
thorn shadow
cold junco
thorn shadow
#

a chicken

#

that ate food

cold junco
#

hmm

cold junco
thorn shadow
#

"chicken that ate food"!

#

hahahaahahwhdahi218e021

cold junco
#

oh you!

thorn shadow
#

i know im so funny!!

cold junco
#

yes!!!1!1!

thorn shadow
#

agreed

cold junco
#

petition to agree

thorn shadow
#

i agree

cold junco
#

react 👍

thorn shadow
#

reacted

cold junco
#

great!

#

what do you call a

#

mexican that lost

#

his car?

cold junco
#

oh my god i can finally sleep
its like 12 am thank you gods

small cloak
#

Welcome

brazen jacinth
# granite nest

Megalovania but it's in tune with Dream speedrunning music but it's vocoded to face off but every time they swear it plays the first 19.25312 seconds of the rickroll but every kick drum plays the stickbug meme but everytime the POV changes it plays a wednesday frog clip vocoded to gangstas paradise

#

beat that

#

wait wait

#

something came up

shrewd lance
#

8 results

sharp bloom
# brazen jacinth wait wait

It's only searching this:
Megalovania but it's in tune with Dream speedrunning music but it's vocoded to face off but every time they swear it plays the first 19.25312 seconds of the rickroll but every kick drum plays the stickbug meme but everytime the POV

#

Because of the 32 word limit

#

So it's just finding megalovania and dream speedrunning music

brazen jacinth
zealous hazel
alpine bloom
#

im making a lifesteal smp for minecraft for my yt channel anyone wanna join?

sage shore
#

Hey guys was wondering if I could get some help with my Python code; whenever I bend my thumb it clicks. How can I fix this error in my code?

near canyon
#

Hi

zealous hazel
upbeat canopy
#

when you forget to close the console after testing something

#

8 windows, would be 9 if i didnt close 1

daring jay
sinful sun
#

or cleaning up of resources

upbeat canopy
#

i know windows 11 powershell has a tabbed terminal but idk how to open a .py file with that without manually puttin in the command

daring jay
#

You can download windows terminal on windows 10

#

It's from Microsoft and it's much better than the default

slate leaf
#

(Windows terminal is also present on Win 11)

upbeat canopy
#

can you link me it?

daring jay
#

Just search "wt" in the start menu

upbeat canopy
#

oh its just powershell right?

#

oh nvm

#

how do i open the .py file with this without doing python client.py?

#

just right click > open with > terminal (or wt or whatever)

slate leaf
#

So when you are in the terminal, you usually have to always run some form of the command:

py your_file.py
#

And if you want to run it again, pressing the up key will take you to the last command sent

upbeat canopy
#

ye i said without doing python client.py in the terminal

slate leaf
#

Do you want to open it or run it?

upbeat canopy
#

run sorry

slate leaf
#

Then your options are to do python client.py in the terminal or use an editor / ide that can run your code in the terminal with a button press

native cobalt
#

@jovial island So, you're looking to do some PC buildin'?

upbeat canopy
#

rip

jade bolt
#

my classmate just pronounced bonjour as "bon joe"

#

🙃

molten viper
jade bolt
#

it's not me 🙃

radiant socket
#

since when

dusky cliff
#

hm i dont think you pronounce the n

#

but idk im not from baguetteland

carmine herald
hazy laurel
#

it's me

carmine herald
#

oh they blocked the embed thanks youtube

jade bolt
#

can you send me one to my home

digital bane
#

Off to see a derma..been itching since pandemic started now my mom nagging me to see one

digital bane
#

Ok got pills for it

#

And a cream

rocky nebula
#

ah, frig

#

1 am

digital bane
dull ridge
#

aye

nimble ivy
#

hi

warm laurel
#

@dull ridge

dull ridge
#

okayy lemme explain in simple terms

nimble ivy
#

1 million year later

dull ridge
#

@jovial island here btw

dull ridge
nimble ivy
#
structs=[]
for(int i=0; i < 20; i+=1){
  structs[i] = new struct
}```
dull ridge
#

hm

#

that would get hard to manage quick lmao

warm laurel
#
vector<bad_boi> badbois;
for(int i = 0; i < 100; i++){
    badbois.emplace_back(bad_boi{});
}
dull ridge
#

well

#

bad_boy enemy[20];

#

this does the same thing

#

just not in a

#

bird diying manner

nimble ivy
warm laurel
#

so you want to make instances of bad_boi with different names right

dull ridge
#

well bad_boy enemy[20]; tbh this seems easier

#

thanks y'all <3

nimble ivy
#

k

clever salmonBOT
#

Hey @nimble ivy!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

zealous hazel
#

maybe my smp isnt that bad

brazen jacinth
gray spoke
#

Kind of removes the meaning of s from smp

dusky cliff
#

Whats smp

brazen jacinth
dusky cliff
#

hmm

tribal tinsel
# dusky cliff hmm

Tell me what's making you jump like that! S-I-M-P, squirrels in my pants! 🎶 Candance struggles to get squirrels out of her pants!

Sing along to all your favorite Disney Hits, check out the Disney Sing-Along playlist 🎤:
https://disneymusic.co/SingAlongs/vevo?iqid=dc

And check out more Phineas and Ferb content here:
https://www.youtube.com/pl...

▶ Play video
dusky cliff
#

hmm

nimble ivy
#

@hexed parrot

#

Js?

woven stag
#

@jovial island hi let's move this here

jovial island
#

im looking at nextcord, they dont appear to have a patreon/github sponsor, so atleast they're not taking peoples money for d.py's code

#

however it changes the namespace and that's a big no no for forks lmao

woven stag
#

they had no docs, a bad community, and they're taking people's money for it? not exactly fair lol
no docs -> again, relatively new, sometimes it takes a while for things to get set up in a project
community -> doesn't affect the library's functionality
taking money -> see community

#

Not saying any fork is perfect, but it's better to use one in many cases than to not

jovial island
#

the community directly affects the library's usability/functionality because there is no docs, the community is one of the only ways to learn how to use specific features inside the lib

woven stag
spiral ember
#

man that's the 2nd time this week

woven stag
#

Hah

jovial island
#

damn, WHOIS data is unavailable, i can't see who owns it lmao

woven stag
#

I believe it's a certain pydis staff member

jovial island
#

ah

spiral ember
#

how much is a .dev domain these days

woven stag
spiral ember
#

just the normal $12/year?

woven stag
#

I'm seeing about $15/yr on namecheap for first year, renewing at $17

spiral ember
#

ah

#

let me check route 53

#

don't look like they even have .dev which is unfortunate

woven stag
#

Aw neither does Cloudflare

spiral ember
#

.dev is a really good domain i'm not gonna lie

woven stag
#

Yeah for sure

#

I have .me because I got a year for free 😎

#

Could also still get .tech for a free year I think

jovial island
#

I have .games cuz I got a year for free with github student dev pack

woven stag
#

Student dev pack ftw tada

jovial island
#

however to renew it's CS$35 💀

spiral ember
#

Heh I'm doing most of my AWS on my dad's account so i'm not too worried about price 👀

woven stag
#

Well mine is $12.44 per year through CF

#

I also have an unrelated .com through them that renews for $8.57

spiral ember
#

And where's that from?

#

The registrar i mean

woven stag
#

Cloudflare

spiral ember
#

🤔 yeah their .coms go for much cheaper

woven stag
#

It's also a longer name, that could factor into it but I haven't looked into it much

spiral ember
#

They factor that in to the price?

woven stag
#

Maybe? No clue, just know the name can affect price sometimes

#

for ref, it's 19 characters before the .com

spiral ember
#

Ah for me it seems like it's more about the suffix than anything, .com, .net are are $12, and the most expensive i could find is .io for $71

woven stag
#

Yeah that's the main part

spiral ember
woven stag
#

ehhh this one probably doesn't show up in search at all, it's just a bunch of redirects to an etsy shop 😂

spiral ember
#

Lol yeah I'm learning SEO for my site and let me tell you it feels like a pain

woven stag
#

SEO is the best

jovial island
frail rapids
#

Anyone here good at server set up?

woven stag
#

Somewhat

jovial island
jovial island
#

wut do ya wahnt

dull ridge
#

lmfaooo

swift vigil
#

Can someone help solve this kms

wheat rock
# swift vigil

substitute all those coordinates in the function you will get 3 relations

#

after then you can solve for alpha beta

ionic locust
# swift vigil

You can find c from the y-intercept, and if you’ve learnt vieta’s formulas you then will immediately have the rest of the answers

zealous hazel
zealous hazel
slow valve
#

kosa is a bot

lofty loom
#

kosa is not a bot

jovial island
#

kosa is a bot

wheat rock
#

kobolt

lofty loom
#

kobold

foggy flicker
#

I'll break the chain

jade bolt
#

I'll break the chain

jovial island
#

Wear a mask

#

Break the chain

foggy flicker
#

Wear a mask
Break the chain

jovial island
#

||never gonna give you up||

#

||never gonna run around||

#

||and 🏜️ you||

#

||never gonna make you 😢||

brazen jacinth
#

||never gonna tell a 🤥 ||

jovial island
#

||and hurt you||

#

||If there's anything you need||

#

||all you have to do is say so||

#

('Together Forever', Rick Astley)

foggy flicker
#

I wanna rickroll my principal

#

itd be epic

soft quiver
#

sorry I'm late

jovial island
#

thats funny lol

lofty loom
#

Alecord

gray plover
#

@slate leaf

#

over here

slate leaf
#

Yup

#

So did you upgrade clink to the minimum version?

gray plover
#

no i just

#

install it via exe

#

and it gives me 0.4.9

slate leaf
gray plover
#

fun fact this is the worst website i ever see

slate leaf
#

yup

gray plover
#

just installed clink 1.3.5

#

but

#

it stucks

#

at 0.4.9

gray plover
#

done

#

uninstalled ez

#

ok let me try to run it

#

oo

#

this took me over 10 tabs for some reason

#

"You need to use Clink (opens new window)(v1.2.30+) with Cmd. Create a file at this path"

#

wtf is this

#

@slate leaf i dont understand

#

i already create file at that path too

slate leaf
#

You created a starship.lua file, with the line load(io.popen('starship init cmd'):read("*a"))() and saved it at %LocalAppData%\clink\

slate leaf
#

Then I do not know

#

Try using it on powershell instead

#

I gotta run

gray plover
#

powershell should be fine

#

PS C:\Users\Pete> Invoke-Expression (&starship init powershell)

~ via 🐍 v3.9.7
❯ ok

#

am i doin right

#

idk if this is rite

#

yo brad?

zealous hazel
#

o hright valentine's is coming up

#

i'm among us man so i dont need to worry 😈

foggy flicker
#

I played with 92% accuracy in bullet!!

#

1 brilliancy too

#

wow

#

this is my best ever in bullet

gray plover
slate leaf
#

¯_(ツ)_/¯

drifting venture
#

Anyone else use Sonar Cloud? It makes me feel like such a shit developer. "Here's a problem, it will take 11 minutes of effort to fix." >.> Doesn't seem like 11 minutes of effort

civic plank
#

first time driving in Manhattan kinda feels like a movie tbh

#

took 1 hour to go 14 miles 😭

#

to think 80% of those skyscraper offices are empty lmao

hollow heart
#

last time i drove thru manhattan i was trying to get to newark airport and had to take holland tunnel

#

i think it took me 1 hour to travel 2 blocks

civic plank
hollow heart
civic plank
#

u know the most fascinating part was everyone had such unique fashion taste

hollow heart
#

i had to do the home alone thing

daring jay
hollow heart
#

where i ask people at the airport if i could cut them in line bc my flight is boarding

daring jay
#

I thought the streets would be full

#

stereotypical new york and all that

hollow heart
#

5th ave and what street?

civic plank
#

57th st i think

hollow heart
#

i think areas like times square are packed packed

#

the rest of the city is not typically like that unless it's morning/evening rush hour

civic plank
#

i was stuck in traffic for a good 40-45 mins getting there

hollow heart
#

didn't want to take LIRR?

civic plank
#

around 9:50 am

civic plank
#

also had to drop off sister to college, shes goes to CCNY

hollow heart
#

brave lol

civic plank
#

what a beautiful campus

simple pecan
#

t

molten hazel
civic plank
#

so pretty much highway driving

molten hazel
#

I see

#

so you wanted to practice keeping the same speed and only moving the wheel ever so slightly, as opposed to accelerating and braking all the time and making hard maneuvers...

civic plank
#

merging and exiting seems kinda stressful

#

so i got some good practice with that aswell

molten hazel
#

🤦

#

okay then

#

just be safe, that's the main objective

#

doesn't hurt to keep others safe as well

civic plank
#

yep for sure

molten hazel
#

did you name yourself Ovicron before or after the COVID omicron variant? 🙂

jovial island
#

driving is scary as heck

#

good luck

molten hazel
#

it is not

#

I mean, maybe in the US it is because the requirements to obtain a driver's license are so low

jovial island
#

for u maybe not

molten hazel
#

I'm not in the US

civic plank
jovial island
#

nor am i?

molten hazel
#

here you have to be 17 to get a license and you have to pass a theoretical exam, then 2 levels of practice, one in a closed area to make sure you can handle the car properly, and then another in actual traffic

lofty loom
#

Who then also have the Autobahn

jovial island
#

driving be crazy.. respects to any that can o7

molten hazel
# lofty loom Who then also have the Autobahn

I mean, when the guy showed on youtube how his Bugatti went to what, 390 kph? then the german authorities issued a statement that it's fucking dangerous and nobody should do that

lofty loom
#

That was stupid, even if the Autobahn doesn't really have speed limits

molten hazel
#

parts of it have no speed limit at all, but most of it does have like 130 kph limit, like most of europe's highways

#

that's about 80 mph

jovial island
#

130 with less than an average hand size physically touching the ground shivers o.o

molten hazel
#

130 with things literally built to create good cohesion over more than a century of development

#

btw a car has 4 tires... the 4 together have much more than a hand size physically touching the ground... it's not like a train

#

also, the heavier the vehicle, the larger the area of contact with the road

#

the main question regarding speeds like what the Bugatti did is how much force can the tires take as they spin faster and faster... the tires required for 390 kph are considerably more resistant to certain forces than those used on a Suzuki Swift that can barely reach 140

#

it has been determined that most general use tires can withstand around 250 kph but not much more without breaking and causing a devastating accident... therefore some luxury brands like BMW limit the speed of their vehicles to 250 kph

jovial island
#

it was generalized statement. aspect ratio (high perf, low perf) inflation and road condition all play a factor. the contact point remains as small as possible otherwise loss of fuel econ in resistance

#

but worry not, i feel properly explained

molten hazel
#

🙂

jovial island
#

you drive i dont. ez

molten hazel
#

I don't drive, I don't have a car and my license expired years ago 🙂

#

I used to drive

#

of course the contact point should not be increased... but I would love to see a tank go 200 kph, it'd be a sight to behold

#

I wonder what'd be the speed limit of a vehicle that has caterpillar tracks

#

the fastest land vehicle reached 1227 kph (763 mph), it had wheels... the fastest caterpillar vehicle reached 130 kph (81 mph) 😄 considerable difference

#

it was a Bentley fitted with caterpillar tracks lol

#

who has the kind of money to ruin a freakin' Bentley?!

#

judging from the license plate it was some russian idiot

molten hazel
#

yes, it's stupid 😄

rocky nebula
#

understand your limit mortal human

rocky nebula
lofty loom
#

https://www.apache.org/licenses/LICENSE-2.0.html

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

From what I could tell, I may not be able to revoke any of the rights here, at least for the given version of the software I apply this license on, any forks however can revoke it under the basis that forks fall under "derivative works"

#

Revoke as in change licensing terms

#

The changing license being made explicit by the mention of "sublicense"

#

Including under proprietary

#

that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship
This being part of the derivative work definition

#

Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
With some clarification at the end

#

And since a fork modifies the source itself and isn't merely linking, it is its own derivative work

#

In that it only applies to the source, but the forks are free to change their own terms if they like

#

And why it isn't considered copyleft

#

I could be misinterpreting this but that's how I see it

#

And of course I'm only focusing on one part also so it may not be correct

slate leaf
#

Matplotlib can be a pain, but it can also be a joy:

jade bolt
lofty loom
#

spinny gradient

median blade
#

nice colors

digital bane
#

Its doing a Matrix spin lol

slate leaf
# median blade plug

The source? Currently trying to get it as a standalone thing. Right now it is connected to a discord bot command because I'm an idiot reasons

#

Thanks!

stuck epoch
#

Yo anyone does C here?

native cobalt
stuck epoch
#

I don't understand what's happening here. Worked earlier 😢

native cobalt
#

Can you post the code directly?
Something like
```c
#include <stdio.h>
int main( void ) {
puts("Hello, world!");
return 0;
}
```

#

You can copy the ```c header part and the bottom three ticks and put your code in there.

stuck epoch
#
int numOne, numTwo;
    int square;
    int rect;
    float triangle;

    printf("Jep vleren e pare:\n");
    scanf_s("%d", &numOne);
    
    printf("Jep vleren e dyte:\n");
    scanf_s("%d", &numTwo);

    square = numOne * numOne;

    printf("Siperfaqja e katrorit eshte: \n", square);

    rect = numOne * numTwo;
    printf("Siperfaqja e drejkendeshit eshte:\n ", rect);

    triangle = (numOne * numTwo) / 2;
    printf("Surface of triangle is: ", triangle);
native cobalt
#

Neat.

#

Ok, it just looks like to me that you didn't specify a tag in the format string.

#

Your %d, your %f and so on.

stuck epoch
#

omg

#

im so dumb

native cobalt
#

No, it's ok. I do that too sometimes lol

#

I'm used to f-strings, and going back to percent formatting is weird

#

even though I started with it...

#

Python spoils me >.>

stuck epoch
#

Worked lemon_happy

#

Love you!

#

@native cobalt Are you familiar with flowgorithm?

native cobalt
#

I can't say that I am, @stuck epoch.

stuck epoch
#

Aight cool.

mental idol
#

@olive igloo My code tracker seems to agree with the idea that coding sessions are short.

dusky cliff
#

im currently in a loop
step 1: write a line of code
step 2: get stuck
step 3: fall asleep thinking about it
step 4: wake up and go to step 1

mental idol
#

That's a rough loop.

#

Is it getting stuck on where the project is going or how to get there?

dusky cliff
#

how to get there

#

im currently wondering where i should put my serialization/deserialization logic

#

heh im struggling to even put my problems to words

sinful sun
#

Doodle it out

mental idol
#

I've hit that wall before. Where just getting anything onto the code canvas feels like a struggle beyond words.

#

Have you drawn the flow out? Follow one action, just one piece of data through the path you think it needs.

dusky cliff
#

and a sine wave

#

idk

dusky cliff
# mental idol Have you drawn the flow out? Follow one action, just one piece of data through t...

i think my main problem rn is that
i have to_dict and from_dict methods on my class
most of the fields are either strs/ints, or other objects that have to_dict and from_dict methods, so those arent an issue
however one of the fields is an instance of discord.Member, which is fine when serializing - i can just take its id and shove it in the dict, but reconstructing the instance from the id needs the discord bot instance
and i really wanted to keep my classes decoupled from the bot itself

#

well, i dont need the whole bot instance, just one of its methods
so i suppose i could pass just that method as a parameter to from_dict

#

thats probably what im going to end up doing

mental idol
#

where is the value of being able to go from your data structure back to a discord.Member? Wouldn't it be easier to just use your data structure instead?

dusky cliff
#

im going to dump a json string of the dict in redis

#

@rustic harbor is essentially using redis as a db lol

mental idol
#

And, somewhere downstream, a consumer is expecting to be able to reconstruct a Member object from this?

dusky cliff
#

yeah

median blade
dusky cliff
#

too much effort

mental idol
#

Hmm, I'd consider not baking the Member object into the class doing the work. Give it a utility. Keep that dependency that breaks the abstraction as far as possible.

Ideally whatever consumes the redis would expect an object you are in control of, but I get that the abstraction breaks down a lot.

round moss
#

my code recently has been: read a paper for an hour, then draw on a whiteboard for two more, than write 10 lines of code and 40 lines of tests

mental idol
#

40 lines of tests and then 10 lines of code. riiight? riiiiiiight? :3c /tease

round moss
#

code first in this case, since half the time I end up refractoring everything halfway through anyways

mental idol
#

Poor TDD :rooCry:

daring jay
#

My code recently has been: half-read some theory for a while and then write half a line of code

#

I have been in that loop for a week or two now

#

I've gotten nothing done

round moss
#

honestly, if I really cared about corectness, I would just be using Lean and write proofs for this

#

its finite automata, the proofs are pretty much copy paste from the paper

mental idol
#

My two weeks have been crazy. Completely replaced 50% of my midware services from infrastructure to code to shift away from a deprecated vendor process. 13 prod deploys in 8 days. 23 deliverables. 4 bug fixes. 1 hot-patch. and I left yesterday with two enhancements on the board, ready for Monday.

Today is a doctor enforced "off" day which I now have four a month of. Can't stop me from being in PyDis though!! lemon_clown

#

Long winded way of saying I would love to dive into some theory and new code, maybe even work on that discord bot idea I had, but .... wheh

#

hmmm.... friend's request:

a !yeet user command that puts this image in the chat but replace the cat with an upside down pfp of the user

Pillow could do this, right?

dusky cliff
#

genius

dusky cliff
mental idol
dusky cliff
#

me too

mental idol
#

I have not. pithink

slate leaf
hardy prairie
#

anyone else randomly recieve a job offer as a 13 year old?

#

and you didn't specify age on your stack overflow account, so companies start sending emails to you?

digital bane
digital bane
#

Yes