#ot2-the-original-pubsta

652 messages · Page 130 of 1

lusty brook
#

lemme find it

pseudo creek
#

who do you think actually did the shenanigansing of the rng? shenanigans the doggo or joe the co-owner?

lusty brook
#

can't find any examples sadly

versed wigeon
lusty brook
#

we don't actually have a contract but it's a running joke

pseudo creek
versed wigeon
# lusty brook

so basically it's just "no bad practice, in code or in action"

pseudo creek
versed wigeon
#

rnachine guns

#

wait what would a rnachine gun look like

lusty brook
#

running joke, indeed

jovial island
#

@dire kindle i know who you are now😳

dire kindle
#

who am I

jovial island
dire kindle
#

who is icy

jovial island
#

youuuuu

dire kindle
#

Prove it 😼

jovial island
#

🥰

dire kindle
#

Probably I replied to the wrong message, who knows kobohehehe

jovial island
fluid plank
jovial island
#

😳

fluid plank
jovial island
#

my max is 741 functions😭

dire kindle
jovial island
dire kindle
#

kobothink, no one ever missed me

jovial island
dire kindle
#

why do you suddenly remembered me though?

jovial island
#

hehepithink

#

well....

#

sarthak said to me "something something icy"

#

and i remembered what happen to that wonderful person

#

so then i used the search button and i search messages from me that included the keyword icy

#

and so you replied to one of the messagespithink

#

hehehe im a secret fbi agentyert

dire kindle
jovial island
dire kindle
jovial island
dire kindle
#

I'm also much better than when I was named icy (I finally got some work to do, I was totally jobless before) AG_Hehe

jovial island
dire kindle
#

I build websites, full-stack developer soon :)

jovial island
dire kindle
jovial island
#

and im so proud of you, youve grown so muchhhhh🥰

dire kindle
#

I saw your repo kobomoyai

jovial island
dire kindle
jovial island
#

wow, time goes by fast😅

dire kindle
#

wait, how do you know that I'm younger than you?

jovial island
dire kindle
#

I am...

jovial island
#

how old are you

dire kindle
jovial island
#

waaaaaaa

dire kindle
#

lol

jovial island
#

i thought you were 18😭

dire kindle
#

Yeah, poeple often said I'm 16 or smth

jovial island
#

yeah well guess i am older 😅

dire kindle
#

but I'm glad I'm still young, so I still have time to learn many new things

jovial island
#

yup me and you were so ahead of everyonepithink

#

im mostly starting early because i want to be ahead of everyone and because i love what i do pithink

dire kindle
#

Me too, I want to know stuff more than anyone else in my age, so I get the effort to learn!

jovial island
#

yup its all about thinking ahead!

dire kindle
#

But as you got better, it's somehow hard to get help with our problems, google doesn't help much, and I think that's an obstacle for me to be better

jovial island
#

yeah i mostly just hangout with people who are maybe more experienced or older than me as theyre more humblepithink

#

its not always the case tho!

dire kindle
#

true

#

but anyways, I need to go, nice talk btw, cya!

jovial island
#

ah thats ok sorry for being on your back too much, anyways cya loved the conversation, take care💓

fluid plank
jovial island
fluid plank
jovial island
fluid plank
jovial island
fluid plank
jovial island
fluid plank
#

it is zig's mascot

jovial island
#

oh

jovial island
#

rust~

#

shipit and then i notice the go lang's gopher.

smoky island
fluid plank
smoky island
#

Yeah ok you won ducky_drawing

brazen jacinth
# smoky island

@slate leaf is so dedicated towards moderating that he cloned himself multiple times!

#

God bless him

remote widget
foggy flicker
#

He's my alt afterall

proud wyvern
coral rampart
#

hey

wide bane
#

Hey, do you know that WomboAI app which can animate your face and "make you sing a song"? I am just curious, how is it done programatically? For example if you submit a photo of your face where you are calm a with mouth shut, and the app makes you sing "Ho ho ho", how does it animate your mouth?

hoary fjord
hoary fjord
#

specifically most likely a type of GAN model

#

as those are typically used for image generation

digital bane
#

Hi drinking coffee rn

#

Look at this 666 commits lmao

remote widget
#

Lmao

red hazel
red hazel
digital bane
#

Yep mua hahaha

#

Make a pure python 2D 3D graphics library from scratch

brazen jacinth
#

those are a lot of py files on first sight

digital bane
#

Not yet

digital bane
#

One file thou is 12K lines and thats the main library

wraith osprey
#

i like cactus

#

it's my favorite plant

upper lance
#

in other news, @soft quiver have u made a dpy slash tutorial and if so can u link me?

onyx galleon
#

Cactii are badass. They like no one. Get closed, get pricked.

spring herald
#

Heya! Could any of you recommend the best browser in your opinion? A browser that exceeds in various factors such as security, load speed, etc.

zinc temple
#

I use firefox because of customizability and its open sourced

#

If i was to use a chromium browser, itd either be brave or opera

jovial island
#

anyone knows what the japanese characters mean? i have been using this image on my portfolio site for a long time but i still dunno what this means

wild compass
#

try google translate?

hollow heart
#

i can pick out like 30% lol

jovial island
hollow heart
#

top line: according to what _ (says), that's some adverb wrong

jovial island
#

hmm

wild compass
jovial island
#

thats a mobile thing yeah

hollow heart
#

ah maybe

top line: according to someone, that's some adverb wrong

jovial island
#

hmmmm

#

the mystery of the weird japanese text continues

wild compass
#

lul

hollow heart
#

the text is broken up horizontally, id be curious to see how well google does with it

wild compass
#

hm yeah

jovial island
#

i should try asking on some image board

#

dont got a phone rn

wild compass
#

"If anyone says it's wrong with hope,
Tell them that they are different every time" - according to google translate

jovial island
#

hmmmm

hollow heart
#

ah 希望

#

do you have the text in japanese as well?

#

or does it only give translated

wild compass
#

it only gives me translated

hollow heart
#

can you translate it to korean?

#

yeah, it's kanji

#

jp > kor translations are fairly accurate because it's almost 1:1 and then i can translate from kor > eng

#

all kanji is chinese characters

wild compass
#

ok i tried translate.yandex.com, and it says:
"If someone says it is wrong to hope,
each time they are to be loved."

hollow heart
#

in japanese there is kana (hiragana, katakana) and kanji

#

in korean there is hangeul and hanja

#

hanja is also chinese characters

wild compass
#

there are chinese characters in korean?

#

i thought that was only japanese

hollow heart
#

it's not used daily like it is in japan

wild compass
#

and isnt korean written phonetically?

hollow heart
#

but official government documents or old newspapers you will see hanja

#

it is, hangeul is phonetic

wild compass
#

hm ic

hollow heart
#

yes, though they'd sound different bc of dialects

#

but like seoul and busan and jeju speakers will also all sound different

#

some linguists even consider the language of jeju to be its own language

#

actually i watched a video of seoul in the 80s and they sounded like how north koreans sound now

wild compass
#

interesting

hollow heart
#

just goes to show languages change

#

2020s korean is a whole other beast with the internet slang

#

i kept up until around 2010 lmao

#

no they're not really a factor in how korean slang evolved

#

they're a factor in the exposure of korean to other countries though

unreal sigil
#

A lot of english words have mixed into everyday korean speech from what I've heard

hollow heart
#

that's always been the case but it's next level now

wild compass
hollow heart
#

that's one thing different btwn n and s korea. n koreans won't use loan words from other languages

#

so in s korea a cell phone is "hand phone" whereas in n korea it's literally the korean words for "hand" and "phone" put together

#

which i think is not bad at all

wild compass
hollow heart
#

yeah but with korean-ized pronunciation and syllables

#

that's the case with loan words in general, isn't it?

#

yeah i recognize 手

#

lol these emoji came up as suggestions

#

電話 is phone in japanese
you probably recognize these characters

#

is it not tradition vs simplified?

#

writing system btwn canto and mandarin is the same i thought

wild compass
#

hm

wild compass
hollow heart
#

but japanese people will 10000000% write that word in kanji, not kana

#

whereas koreans will 99.9999% write that word in hangeul

#

unless like, it's an exam and you're asked to write the hanja

wild compass
#

so... there are two ways of writing the exact same thing?

#

sounds like a lot of extra work :P

hollow heart
#

simplified was to reduce that work, presumably, no?

#

then there's pinyin

#

makes sense since spoken form is completely different btwn the two

hollow heart
#

so writing them in kanji totally helps with reading comprehension

#

reading a long chunk of text only in hiragana is gonna be painful

#

japanese has no spaces between words

#

whereas korean does

wild compass
hollow heart
#

yeah

wild compass
#

but ig some might have slightly differing meanings

hollow heart
#

kana is the phoneticization(?) of the kanji

wild compass
#

uh, i mightve mixed up terms, bc this is just a bit confusing 😅

hollow heart
#

there is a completely different reading/pronunciation if you're talking about the kanji itself << ok this was not totally accurate, read link below

#

good stuff. this is why people say learning japanese is hard lmao

#

im also not doing a perfect job explaining it

#

i never taught the language

wild compass
#

its alright

wild compass
#

interesting, but also makes japanese seem like an even harder language to learn

hollow heart
#

i think the US government has a ranking where they group hardest languages to learn for english speakers

#

pretty sure chinese, jp, kor are the hardest group, along with arabic

wild compass
#

hm

hollow heart
#

but that's from a native english speaker's viewpoint

jovial island
#

@hollow heart @wild compass found it

hollow heart
#

ahaha

#

im still interested in seeing the japanese txt though, not as an img

jovial island
#

nice

hollow heart
#

reposting

#

the bottom line is really hard to make out

jovial island
#

stare true

hollow heart
#

ohh i figured out one of the words i wasn't getting

#

毎回 (まいかい)

#

every time

jovial island
#

whats the syntax to get the text on image hover thingy in html?

#

like if i hover my arrow over an image it will show me the alt text or something

hollow heart
#

alt?

#

it's alt

jovial island
#

alt doesnt do anything if i hover over it tho

#

it just shows when the image fails to load

#

like this

hollow heart
#

oh not alt. title?

jovial island
jovial island
hollow heart
#

i googled

#

not sure

jovial island
#

yep

#

yeah works

hollow heart
#

i thought i remembered alt working on hover

jovial island
#

same

hollow heart
#

or maybe i was using old bugged IE

jovial island
wild compass
#

changed "to hope" to "with hope"

jovial island
#

also change wrong to different in second line

wild compass
#

oh yeah

brazen jacinth
#

is this channel taken?

#

doesn't look it

#

I'm gonna go have breakfast now

hollow heart
#

unless i missed it, where's the cli portion?

brazen jacinth
#

sadly

hollow heart
#

i'm into CLIs at the moment but also trying to learn to implement tests and logging and my brain became mush

daring jay
hollow heart
#

isn't that all stdlib?

brazen jacinth
#

i did it anyway

hollow heart
#

lol

daring jay
hollow heart
#

i think i've used all 5 of those, so i recognize them as stdlib

#

typing, is, obviously

hollow heart
#

i think it's probably not a good idea ..

brazen jacinth
#

yeah im fixing that right now, should've thought about that

hollow heart
#

do you know what you're gonna use for the CLI functionality?

brazen jacinth
#

no not yet

#

perhaps argparse

hollow heart
#

i've tried just plain input, argparse, and click

brazen jacinth
#

this is my first time making a cli, it would be a fun project

hollow heart
#

graduating from input() was very nice lol, i loved argparse in that it showed me A Better Way

brazen jacinth
#

i hope i can say the same

#

i go to start practice typing again

hollow heart
#

you'll love it i bet!

brazen jacinth
#

yeah

#

i'm gonna love it after breakfast, i've been up for 2 and a half hours without it

jovial island
#

Ay

#

So how will you send emails from accounts?

#

SMTP doesn't work anymore ig

brazen jacinth
#

if you send me your email over dm's rn, i could email you with it

#

(don't send me ur email)

willow plinth
#
PS E:\Computer Science\Python> py --version
Python 3.11.0b1
PS E:\Computer Science\Python> py
Python 3.11.0b1 (main, May  7 2022, 22:58:47) [MSC v.1931 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> class Foo:
...   def foo() -> Foo:
...      ...
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in Foo
NameError: name 'Foo' is not defined

why dont this work?

sinful sun
#

you need to do "Foo"

#

or you can from __future__ import annotations

willow plinth
#

aren't they supposed to be strings in 3.11?

sinful sun
#

wdym

#

the problem really is evaluation of type hints while names are still defined/in the process of being defined

#

you use strings to get past the name errors and python will resolve the types after the class is defined

#

or you import from future

willow plinth
#
annotations = _Feature((3, 7, 0, "beta", 1),
                       (3, 11, 0, "alpha", 0),
                       CO_FUTURE_ANNOTATIONS)

this should be there in alpha, thats why im askin

sinful sun
#

they were going to be default in 3.10+ but it seems they didnt want to break other things

#

i cant find anything about them being in 3.11 alpha or otherwise but my google-fu might just be weak

versed wigeon
#

not even in 3.12

willow plinth
#

oh lemon_angrysad

versed wigeon
#
Python 3.12.0a0 (main, May 16 2022, 09:15:19) [MSC v.1931 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> class A:
...     def __init__(self: A, *a, **k): pass
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    class A:
    ^^^^^^^^
  File "<stdin>", line 2, in A
    def __init__(self: A, *a, **k): pass
                       ^
NameError: name 'A' is not defined
willow plinth
#

why does future say 3.11.a then?

sinful sun
#

what kind of code would it break if this was default

#

i dont think i get it

#

but i dont really use pydantic or django

versed wigeon
remote widget
narrow onyx
#

sry wrong channle

brazen jacinth
#

i've been trying to get past phase 1 on this forever, if anyone's got any tips on bone platforms 4 it would be much appreciated. (sorry if the quality was bad, limited the recording fps to 30 on obs)

lofty loom
#

Then I noticed the music

#

Sans Rush Hour

brazen jacinth
hollow heart
#

smth is changing may 30

brazen jacinth
#

thanks btw

wraith osprey
#

WRYYYYYYYYYYY

#

someone watch jojo?

brazen jacinth
#

not me

languid osprey
full marlin
#

!resources

clever salmonBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

wraith osprey
#

i want use my gay-meter

dire sedge
hollow heart
wraith osprey
#

i can show u in % how much u gay

hollow heart
#

!ban 664050133675016202 given your earlier warning i think you had ample time to read our code of conduct. i'm not certain this community is the right one for you if you care so much about detecting LGBT when you've said before that you hate them.

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied ban to @wraith osprey permanently.

pearl sage
#

Did John Tiffany read and watched Harry Potter?

dire sedge
#

i think that that would be this image also i don't know if you wanted it in dm or here so i just assumed here

pearl sage
onyx galleon
dire sedge
onyx galleon
# dire sedge ofc how else can i improve

just making sure, some folk dont like received feedback
I dont know how far you in or how much you know, but for teh above pic I recommend cropping out unnecessary details and moving the cat from a more central point in the picture to the right quadrant(?) of the rule of thirds

#

the bottom layer of the bricks as well as the top of the house roof is distracting imo

dire sedge
#

you mean something like this

#

@onyx galleon do you mean something like that because for me that feels a bit to much cropped for some reason

onyx galleon
#

Nah mine is a little less cropped, so aspect ratio is off from the standard 16:9, but same idea

dire sedge
#

so something like this

onyx galleon
#

Yeah, little bit better, no? :P

dire sedge
#

maybe can't really tell at this point maybe over 20 min

onyx galleon
#

come back to it later a bit yeah, but to me this is instantly better than the original

dire sedge
#

the original was already cropped a little bit

#

i should've zoomed in a bit with the lens would've also caused a bit more background blur

onyx galleon
#

yeah, if you look at some of Adobe Lightroom's tutorials (at least on mobile), frequently the tutorial makers crop photos to better illustrate the subject in the photo

#

yeah, background blur massively helps with that as well

dire sedge
#

i will have to wait for another day when 1 of the 3 cats sits there again it happens quite a lot

onyx galleon
#

👍 keep it up

dire sedge
#

i will thx for the feedback and the time you took to help me

onyx galleon
#

always happy to help a fellow photographer

edgy bane
#

hi guys

#

how are you

dire sedge
#

at least right now

edgy bane
#

cool mate so i see you guys are photographers

#

that is cool

dire sedge
edgy bane
edgy bane
tepid edge
#

cool

dire sedge
edgy bane
#

maybe if you want to try it on your image you can send one

wheat ibex
#

🥔

jovial island
#

why do the offtopic channels get there name changed alot

lusty brook
#

they are changed daily automatically using names chosen by mods+

jovial island
#

@broken trout so it basically worked with a Client object ```py
import pokelance

client = pokelance.Client(cache_data=True/False)

async def main():
await client.get_pokemon('pokemon name'/id)

broken trout
#

mhm

jovial island
#

in case the pokemon wasnt found by the api, it returned a 404 error

#

so i simply raised an error in that case

broken trout
#

yeah u can use difflib here

#

!d difflib.get_close_matches

clever salmonBOT
#

difflib.get_close_matches(word, possibilities, n=3, cutoff=0.6)```
Return a list of the best “good enough” matches. *word* is a sequence for which close matches are desired (typically a string), and *possibilities* is a list of sequences against which to match *word* (typically a list of strings).

Optional argument *n* (default `3`) is the maximum number of close matches to return; *n* must be greater than `0`.

Optional argument *cutoff* (default `0.6`) is a float in the range [0, 1]. Possibilities that don’t score at least that similar to *word* are ignored.

The best (no more than *n*) matches among the possibilities are returned in a list, sorted by similarity score, most similar first.
broken trout
#

i added all Pokemon names in a list so when user requires u can get the nearest guess using difflib

jovial island
#

😔 that would be really bad bad because pokemon names are too similar,
like pichu and pikachu .. and more

broken trout
#

yeah but u can limit the number of return results

#

and it's pretty accurate

#

from what i used

jovial island
#

ill try

#

but currently i have no interest in working with the wrapper

#

im making a bot which extends the usability of another bot

#

Shoob bot to be specific

broken trout
#

oh nice

#

what's shoob bot?

jovial island
#

its basically an anime card based game

#
broken trout
#

mhm nice

jovial island
#

hey oki

broken trout
#

looks huge

jovial island
#

it is widely used

jovial island
#

its old, but rewrite😏

broken trout
#

lmao

jovial island
#

never gonna rewrite it

#

atleast for now

#

and use built in union bro

jovial island
jovial island
#

just use annotations

#

from __future__ import annotations allow thats , from 3.7

#

yes

jovial island
versed wigeon
jovial island
#

¯\_(ツ)_/¯

latent basin
#

is there a term for the full removal of something which was previously only deprecated?

jovial island
jovial island
#

what were you talking about then? 😑 the way it looks?

versed wigeon
jovial island
versed wigeon
#

to get a performance boost do py import typing Any = typing.Any del typing instead of from typing import Any

jovial island
jovial island
versed wigeon
#

i'm also wasting time when i don't

#

so what's the point here

jovial island
#

obj: "Any"pithink

versed wigeon
#

while we're on the topic of time
if we waste time to save time, do we really save time?

#

in the long run maybe

jovial island
#

what if time is just a concept and isnt real

#

😳

versed wigeon
#

it isn't real

#

it's there to help us keep track of at what moment we should be doing something

jovial island
#

time godpithink

#

i could be popping the spoilers in cereal's aboutme but i forgot to turn of the show spoiler content settings

#

*off

#

stress for youshipit

#

even discord doesnt want the stress to get away from me

#

pithink tehe

#

anyways, i have maths exams in a few days so ill go study, bai bai

jovial island
#

good luck on the exam cough cough i never took math this year🏂

jovial island
#

werent you just 15

versed wigeon
#

don't worry about them there's about 7 more

jovial island
#

agreed, oki is rweally smort

jovial island
#

i just didnt had a teacher

#

for the whole year

#

wait you werent talking about that

#

well now you know why i didnt took math but i finished already cuz yes

remote widget
jovial island
#

what do u guys think bout my portfolio vid?? (link in my about me)

brazen jacinth
#

for context, this guy is in a class server, joined once, never spoke or went online ever

remote widget
#

Lmao

jovial island
jovial island
#

Man who wanna see my dog

jovial island
jovial island
#

More?

#

🥰

#

So cute

#

She’s very lazy xD, she loves to play

#

I also have two cats If u wanna see

#

She’s cute. What’s her name?

And sure but disclaimer I’m not as fan of cats 👀

jovial island
#

Asii basically

#

Cute name

#

ty

#

Meditating cat.
Thinking cat.

#

I don’t know lol he just sleeps 24/7

#

He do be winking

remote widget
#

@jovial island u do be lucky to have pets

#

My parents are scared of them lemon_pensive

jovial island
#

wow, sorry to hear that

remote widget
#

Used to it now haha

jovial island
#

my puppy is so adorable

remote widget
#

Agreed

#

And so is yr cat holding a gun

#

Cat Police

jovial island
lofty loom
#

Mafia Cat

remote widget
#

Lmao

jovial island
#

Dude, my dog loves to play with the gray cat

#

my gray cat litterally hug him and slapped him xD

#

One of my birbs

remote widget
# jovial island Even birds?

Eh, never got birds in the house, but they basically hate pets cz the mess they make is unbelievable sometimes

lofty loom
jovial island
remote widget
jovial island
jovial island
remote widget
remote widget
jovial island
#

I wish you the best in crossing off that bucket list

#

Mine is to move out and live alone some day.

remote widget
#

Haha I got a huge number of things in my bucket list, first being, getting a job as a software dev

jovial island
#

Damn what he dreaming abt 🤣🤣

remote widget
#

Lmao

remote widget
#

Lmao imagine yr cat slapping the dog while he's sleeping

jovial island
remote widget
#

No plans to work remotely, I just wanna settle in the USA

jovial island
#

bro I don’t know why, but he loves to sit

remote widget
#

Lmao

jovial island
#

Then he died

lofty loom
#

Bipedal legs

jovial island
#

hi

#

Hey

brazen jacinth
#

!otn cute-pet-pics-only

remote widget
#

Lol

remote widget
#

@broken trout I only play Fortnite, GTA 5 Online sometimes and they don't have ranked lol

#

Tho I always die in the top 10 in fortnite for some reason

broken trout
#

lmao

remote widget
#

I almost never get mad at it

#

Since I just try to learn and have fun instead of grind like others

broken trout
#

i used to play lol fortnite a bit and supercell games few times

#

now stopped everything🥲

remote widget
#

Haha I only play those 2 games

jovial island
#

.

edgy apex
#

ssh coffee@49.572.392.18

#

$ brew

cedar leaf
#

I hate Poetry, that is all, I'm so sad this system has be wrapped around this runtime that will eat it's own

spiral ember
digital bane
#

Coffee

jovial island
#

I love walking into June the First and then searching !ban here /s

tawdry sonnet
jovial island
#

I mean, searching !ban in the Discord search will do

sinful sun
#

It works well enough

#

The only issues i've had with poetry was updating poetry itself

#

And some doc issues but they should have been updated by now

ionic canyon
#

@ashen imp

ashen imp
#

Hey bro@ionic canyon

ionic canyon
#

Ok see 74% of the worlds websites run php as a backend, which is already pretty big but you have the fact that product driven companies dont usually create non web apps to sell products because whos gonna download that?

#

Also php developers get paid a lot

ashen imp
#

Oh!! Kk

#

Understandable✌

ionic canyon
#

and rms loves php just look at his face when he sees php code

full haven
#

How do you ssh into coffee, I only accessed hot chocolate

remote widget
tawdry sonnet
full haven
tawdry sonnet
#

lotsa coffee drinkers in the am

full haven
dire kindle
#

@remote widget I hope my high school life isn't like yours, I would like a lot of "free time" to sharpen our talents

remote widget
#

Hahaha if u r gonna take science, then I don't think u gonna have enough time apart from studies

#

But then, idrk yr subjects and what chapters u study in highschool

remote widget
#

I won't have been here chilling if I had taken science lmao

jovial island
#

@jovial island i dont

lucid charm
#

Guys what is the low level hardware threats and vulnerabilities of the internet of things

like where can i find a link to read about

versed wigeon
#

chill stop hating

#

if you're religious in terms of christianity then hate is invalid

neat light
#

!cban 875120694030127105 Bigotry isn't acceptable here

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied ban to @agile kiln permanently.

edgy bane
#

hi

#

how is everyone today

slate leaf
#

Tired of people tbh

edgy bane
#

ya lol

daring jay
#

on the other hand, it's nice to be able to weed out all the people we don't want

bitter mist
#

weed o_o

edgy bane
#

made some improvements to my py app (rendering images and videos in terminal) im working on. recent changes include:

  • 50x faster 8bit color conversion using quantization
  • flawless output for gifs and videos now - used to have major flickering every 1/5 1/10 frames so that's completely reduced now
  • also did some prep for structure and docs for when im ready to release
edgy bane
#

nothing better to do

#

if anyone would like to give some feedback/suggestions or is just interested in image/video processing in python feel free to ping and i can show you some results

tall temple
#

detecting jpeg compression artifacts and cleaning them up

cosmic fiber
#

hi, can anyone help me with a simple excell problem

#

how do i make the MG box

#

calculate 0.4B + 0.6C

#

when i type =0.4B + 0.6C in the fonction box it doesn't work

#

@ me if u ever reply, thanks

tall temple
#

what is C?

#

instead of replace 3, just grab the square in the corner and drag down

#

it automatically "replaces 3"

jovial island
#

Alas, I need big bucks for that

slate leaf
#

Its just been a busy day for moderation, I tend to like people in the general sense

jovial island
#

I don’t know how y’all can do moderation in a big community long term

#

It’s darn hard

tawdry sonnet
slate leaf
#

Not quite the point I was trying to convey

cosmic fiber
#

@thorn dragon @tall temple so do i have to type that in each column? isn't there a way i can make it work for all the boxes of "MG" without having to type it manually in the columns one by one

#

nvm i found the solution

#

it's "type it in the first box only, then drag the whole column and press ctrl D

dire sedge
#

i don't even know 20% of my classmates names and i think i have between 18 and 25 classmates

#

i only know the names of like 5 of my classmates it has been more than 50% of a year (not school year) and those 5 are also the only ones that i probably have said anything to

feral meteor
#

dude try to connect with people. being uninterested in other people is not something to be proud of, it will bite you down the road

#

speaking from experience here

edgy bane
#

how do i embed one of the gifs on the bottom right of the message box? It just pastes the link

dire sedge
feral meteor
edgy bane
#

oh it worked!

feral meteor
dire sedge
hidden kernel
#

think about all the loners that would be nice to you if you connected with them

feral meteor
#

idk why you wouldn't want to at least know the names of some people in your class

edgy bane
dire sedge
edgy bane
#

thanks, finally was just able to get rid of the flickering in the output of gifs/mp4s. used to have pretty bad flickering

echo fern
#

What downscaling mode is that, by the way? NEAREST or BICUBIC?

edgy bane
#
If the image mode specifies a number of bits, such as “I;16”, then the default filter is PIL.Image.Resampling.NEAREST. Otherwise, the default filter is PIL.Image.Resampling.BICUBIC
#

so hmm

echo fern
#

try messing with it, putting it down to nearest or up to the fanciest mode the name of which I forgot (the docs have a table, the default bicubic is second fanciest)

edgy bane
#

sure, what should I expect to notice - speed or a difference in output

echo fern
#

I'm talking about output quality

#

speed-wise, profile your program first to know what takes the time

edgy bane
#

ok, I should probably mention something in regard to that then

#

there is actually some manual optimization being done before the resize

#

as in

#

I'm actually doubling the width of the image but keep the height the same when the optimization setting is enabled to account for the height/width of characters. (instead of putting 2 of the same character). I think this may play a role in how it is rendered with the resize

#

I don't have to enable the option, so first i'll test the resize modes without any optimzation

#

speed is negotiable at this point after fixing the 8bit method

#

quality is in favor

jovial island
echo fern
#

basically, all of the resampling methods are various algorithms to determine what to color the output pixels, based on what the original pixels are around the same location

jovial island
#

Is it perhaps open source?

echo fern
#

the default is bicubic, which is pretty fancy. But for discretization to a very low resolution, I've found just NEAREST works well sometimes, because all the others smoothen the image a lot. So yeah, play around with it.

edgy bane
# jovial island Is it perhaps open source?

that's the goal but i'm not to that point yet and don't want to rush it. going to share it here when i post on github. would like some time to finalize format/docs/tests/etc

echo fern
#

(Don't make any speed-based decisions without profiling your program, in general. I would expect the resizing to be fast compared to the quantization, and so useless to optimize)

edgy bane
#

bicubic (blurry) vs nearest (clear) - i think for the jet gif the bicubic honestly looked better though

#

i wonder how long it will take to decide how to implement a rule to determine which mode to use based on type/resolution

#

or maybe just allow the user to specify

echo fern
#

hmm, I bet this question was investigated by people automatically generating pixel art and stuff like that, but no idea how to google it

dire sedge
jovial island
#

2 bishops and a queen checkmate

vague shadow
# jovial island 2 bishops and a queen checkmate

Am I reading this UI correctly? From the background of the tile, it looks like you just moved Ba4 to Bd7, but that would have meant the previous turn was an invalid board state, as black would have had to move the King into check?

#

Oh wait, I'm guessing you did Bxd7 on something, which would explain that

#

Ignore me 😅

jovial island
#

regardinh the channel name, you can segfault in python?

pseudo creek
versed wigeon
#

not very easy in snekbox

#

!e ```py
from ctypes import py_object
py_object.from_address(0).value

clever salmonBOT
#

@versed wigeon :warning: Your eval job has completed with return code 139 (SIGSEGV).

[No output]
versed wigeon
#

yeah

pseudo creek
clever salmonBOT
#

@pseudo creek :warning: Your eval job has completed with return code 139 (SIGSEGV).

[No output]
versed wigeon
#

!e ```py
import sys;sys.exit(139)

clever salmonBOT
#

@versed wigeon :warning: Your eval job has completed with return code 139 (SIGSEGV).

[No output]
versed wigeon
#

@pseudo creek simulating a segfault

pseudo creek
#

the admins and mods would be hella mad, but i wonder if it's possible to crash the snekbox itself?

versed wigeon
#

🤔

#

i can go as far as crashing NsJail

#

!e ```py
import sys;sys.exit(1<<65)

clever salmonBOT
#

@versed wigeon :warning: Your eval job has failed.

A fatal NsJail error occurred
hidden kernel
versed wigeon
#

ok but how do we do it

remote widget
#

Lmao

strong topaz
#

can someone help me with some java

#

ping pls

feral meteor
strong topaz
#

ok so basically im extending this class called Rectangle in Javafx cause i want to add some custom stuff to it and im making a new contructor. i wanna be able to pass a new parameter and also pass parameters from the rectangles original constructor

#
package com.dubiner.tetrisfx;

import javafx.scene.shape.Rectangle;

public class RectangleMod extends Rectangle {
    private int flag = 0;

    public RectangleMod(int flag){
        super();
        this.flag = flag;
    }

    public int getFlag(){
        return flag;
    }

    public void setFlag(int flag){
        this.flag = flag;
    }
}
#

thats the code

#

but, later on i do this : ```java
board[i][j] = new RectangleMod(i * recPixelSize, j * recPixelSize, recPixelSize, recPixelSize);

#

i wanna also be able to pass the flag parameter along with those 4 params

#

do i use ```java
this();

#

@feral meteor

feral meteor
strong topaz
#

yah but how do i pass some of those parameters to Rectangle?

feral meteor
#

using super I believe

#

something like:

public class RectangleMod extends Rectangle {
    private int flag = 0;

    public RectangleMod(double x, double y, double width, double height, int flag){
        super(x, y, width, height);
        this.flag = flag;
    }
}
strong topaz
#
public RectangleMod(int flag, int i1, int i2, int i3, int i4){
        super(i1, i2, i3, i4);
        
        this.flag = flag;
    }
``` like this?
#

ok

#

yah thats what i thought

#

tysm it really helps talking to someone lol

feral meteor
#

ofc! glad to help

strong topaz
#

also, java > python 😏

feral meteor
#

Heh I prefer to not have to write public static void main every time I write a program but to each their own

pseudo creek
strong topaz
#

i just like the structure in java

#

also im biased cause java was my first language sooooo

pseudo creek
strong topaz
#

YES

#

IT IS

strong topaz
feral meteor
#

I prefer to turn my computer into a toaster by writing inefficient Python

strong topaz
#

lol

#

thats actually hilarious dude

feral meteor
#

ty

strong topaz
#

i was doing this leetcode problem with a friend. his solution took 40ms to run

#

(in python)

#

mine (in java) took 7ms and my code wasnt even especially clean

versed wigeon
strong topaz
#

c is for chads

#

im planning to learn in a few months

#

and then im gonna learn assembly 😈

feral meteor
#

Makes sense I think. I believe a lot of work has gone into optimizing JIT compilation in HotSpot

strong topaz
#

😂

feral meteor
#

For me the takeaway is, the compiler knows a lot about what your Haskell program is doing, so it has a lot of leeway in terms of how to optimize it

versed wigeon
strong topaz
#

indeed

feral meteor
#

GHC is another instance where the compiler has been the subject of countless grad school hours too.

strong topaz
#

what is haskell used for

versed wigeon
#

C is usually faster than handwritten assembly though

strong topaz
#

usually

feral meteor
#

It is mainly used for writing GHC, the Haskell compiler 😉

strong topaz
#

wait what

feral meteor
#

Idk it can be used for anything but I think it will never get super mainstream traction. Which is neat in its own way because it ends up with cool language features

strong topaz
#

looks like java

#

a bit

feral meteor
#

functional programming is a pretty mind-altering paradigm, would recommend it

strong topaz
#

could u suggest any tutorials about it?

#

i heard rust is a good functional programming oriented language

feral meteor
#

Haskell is purely functional, I think Rust borrows from a few different paradigms

dusky cliff
#

haskell would have the most resources available among the fp languages

feral meteor
dusky cliff
strong topaz
#

is rust more popular in the industry?

feral meteor
#

These days, probably yes

strong topaz
#

ok

dusky cliff
#

.randomcase facebook uses haskell for its filters

rustic harborBOT
#

fACEboOk uSES HAskeLL for its fiLTeRS

feral meteor
#

Is 2022 The Year of Haskell on the Desktop?

dusky cliff
#

yassss

feral meteor
# strong topaz ok

I think something that both Rust and Haskell share is a lot of emphasis on putting the type system to work

#

Types are logical propositions, programs are proofs.

strong topaz
#

what is type system

feral meteor
#

Type system like in java where you say x is an int or whatever

#

But it can be extended to be much more expressive than that

strong topaz
#

huh

#

interesting

#

unfortunate thing is i dont understand anything on that wikipedia page

feral meteor
#

no worries, I guess the takeaway is that type systems can be very powerful and let you prove basically arbitrary things

strong topaz
#

cool

#

is it like set theory in that way

feral meteor
#

Actually yes, very similar but different haha

strong topaz
#

epic

feral meteor
#

This is getting a bit to the boundaries of what I know but AFAIK modern math is built on ZFC (Zermelo-Fraenkel set theory) which is basically set theory + axiom of choice

#

Some other people have tried to use type theory as an alternate foundation for mathematics

#

Unfortunately one of the main people working on that (https://en.wikipedia.org/wiki/Vladimir_Voevodsky) died several years ago so I'm not sure if much further progress has been made

Vladimir Alexandrovich Voevodsky (, Russian: Влади́мир Алекса́ндрович Воево́дский; 4 June 1966 – 30 September 2017) was a Russian-American mathematician. His work in developing a homotopy theory for algebraic varieties and formulating motivic cohomology led to the award of a Fields Medal in 2002. He is also known for the proof of the Milnor conj...

strong topaz
#

rip

feral meteor
#

seriously, if this guy got another few decades we might have a whole new foundation for mathematics

#

meanwhile I'm just over here playing Apex Legends

strong topaz
#

lol

#

i suck at apex

feral meteor
#

same here ugh

strong topaz
#

indeed

feral meteor
#

time for bed, goodnight!

wheat rock
versed wigeon
#

ah yes fishhook

still thorn
#

sup

limber pollen
#

But it very much exists as an ML language

echo fern
#

I want to try doing some ML in Rust

#

it does have bindings to libtorch, so should have all the capabilities of pytorch if maybe in a less easy to use interface

jovial island
#

Anyone else got brain issues when #python-discussion moves too fast or is it just me? :Think:

daring jay
#

i love how you both just switched between two definitions of ML in like 2 messages

daring jay
willow plinth
jovial island
#

@jovial island

#

send

broken trout
#

👀

scarlet sierra
#

@crisp tree Why did you just close the channel?? I wanted to ask questions!!! There is no need to just close it like that in the middle of a discussion!

#

The channel will automatically close after a certain amount of time

paper rain
#

hi

#

got a qustion

#

#Write a Python program to help the paint store with their mixing by obtaining the required mixed colour
#(o=orange, g=green, or v=violet) and any tint/shade needed for that colour (t=tinted light, s=shaded dark, or
#m=medium...no black or white additives) as input and display, with appropriate labels, the colours mixed to
#generate the required colour given as input. If an invalid input option is entered, the program should display
#“unknown” for any information relevant to the invalid input. See sample input/output below for formatting.

#

#solving for orange

mxcolor = input ("Enter the mixed colour you need (o=orange, g=green, v=violet):")

st_color = input("Enter the tint/shade for the colour (t=tint light, s=shade dark, m=medium):")

p = ("unknown unknown = unknown unknown")
if mxcolor == "o" and st_color == "t":

p = ("Light Orange = 1 part Red + 1 part Yellow + ¼ part of White")
print(p)

elif mxcolor == "o" and st_color == "s":
p = ("Dark Orange = 1 part Red + 1 part Yellow + ¼ part of Black")
print(p)
elif mxcolor == "o" and st_color == "m":
print("Medium Orange = 1 part Red + 1 part Yellow")
elif mxcolor == "o":
p = ("unknown orange = 1 part Red + 1 part Yellow unknown")
print(p)

#

#solving for green
if mxcolor == "g" and st_color == "t":
p = ("Light Green = 1 part Blue + 1 part Yellow + ¼ part of White")
print(p)
elif mxcolor == "g" and st_color == "s":

p = ("dark Green = 1 part Blue + 1 part Yellow + ¼ part of Black")
print(p)

elif mxcolor == "g" and st_color == "m":
p = ("Medium Green = 1 part Blue + 1 part Yellow")
print(p)
elif mxcolor == "g":
p = ("unknown Green = 1 part Blue + 1 part Yellow unknown")
print(p)

if mxcolor == "v" and st_color == "t":
p = ("Light Violet = 1 part Red + 1 part Blue + ¼ part of White")
elif mxcolor == "v" and st_color == "s":
p = ("Dark Violet = 1 part Red + 1 part Blue + ¼ part of Black")
print(p)
elif mxcolor == "v" and st_color == "m":
p = ("Medium Violet = 1 part Red + 1 part Blue")
print(p)
elif mxcolor == "v":
p = ("unknown violet = 1 part Red + 1 part Blue unknown")
print(p)
elif mxcolor == mxcolor and st_color == st_color:
p = ("unknown unknown = unknown unknown")
print(p)

elif mxcolor == mxcolor and st_color == "t":
p = ("light unknown = unknown")
print(p)
elif mxcolor == mxcolor and st_color == "s":
p = ("dark unknown = unknown")
print(p)
elif mxcolor == mxcolor and st_color == "m":
p = ("Medium unknown = unknown")
print(p)
else:
print(p)

#

i have an issue

#

it wont be able to get an answer to this

#

Enter the mixed colour you need (o=orange, g=green, v=violet): p
Enter the tint/shade for the colour (t=tint light, s=shade dark,
m=medium): m
Medium unknown = unknown

versed wigeon
#

@jovial island this saved me

#

oh yeah and that's a VPN IP don't worry

jovial island
#

But I don't even own the servers lol

#

I have the source for it it grabs no IPs at all

versed wigeon
#

didn't say it was you

jovial island
#

It's a rick roll lol

#

Look at the url

#

I programmed it

edgy apex
#

when react 💯🔥

remote widget
#

GG

jovial island
edgy apex
#

react pullin up with that 30kb bundle 🥶

jovial island
#

💀💀

remote widget
#

rip

#

What the dog doin'

rigid echo
#

@fluid plank Is that you in the gh pfp?

jovial island
remote widget
#

Sad

short cliff
#

Okay, I'm going insane here. I remember reading or hearing an anecdote about an actor who was told to go to Hollywood hills and scream and scream and scream until his throat hurt to change his voice

#

I cannot for the life of me remember who the actor was

#

Older actor, not something recent

#

Maybe it was a singer...

#

Hnnngggg

slate leaf
#

But is probably not them

short cliff
#

It is not

#

Every time I look I just keep finding stuff about the Scream movie

#

Which no

#

Rock Hudson

#

Opal found it for me

slate leaf
#

.wiki Rock Hudson

rustic harborBOT
#
Wikipedia Search Results

Rock Hudson
Rock Hudson (born Roy Harold Scherer Jr.; November 17, 1925 – October 2, 1985) was an American actor. One of the most popular movie stars of his time

Rock Hudson (film)
Rock Hudson is a 1990 American made-for-television crime drama film directed by John Nicolella. The story is based on My Husband, Rock Hudson, a 1987

short cliff
#

But I can't find the full anecdote

wheat aurora
#

Okay, for all my JS/TS and related framework folks. I'm looking to deploy a pretty-much static NextJS thing. What is your preferred deployer?
So far I'm aware of:

  • Netlify
  • Vercel

What are the big things I should be looking for? I can pay would prefer to keep the cost low or constant

#

@winter cove you've deployed some stuff, right?

winter cove
wheat aurora
#

It's for my non-profit

winter cove
wheat aurora
#

Again, totally fine paying as long as the cost is predictable

#

I'm just a bit overwhelmed by all the choices when I try to look into it

median blade
#

vercel has production and preview deploys and also deploys PR's which makes it easy to review changes

winter cove
#

sure, you'll be paying for a domain anyway

daring jay
#

Our Hobby plan is for personal, non-commercial use. Pro is for small teams with moderate bandwidth and collaboration requirements. Enterprise is for teams seeking greater performance, collaboration, and security.
this is what they say (vercel)

winter cove
wheat aurora
#

Does vercel provide features that other deployments don't? Like I know netlify is a competitor

jovial island
winter cove
#

I haven't really used any other deployments although it's just very nice to stay in the vercel ecosystem where you can if you are using nextjs

median blade
#

i think you can only make 1 free project in netlify and then its paid

winter cove
#

Yeah, I have had a nice experience with vercel

daring jay
wheat aurora
brisk edge
#

nextjs is made by vercel

winter cove
wheat aurora
#

ooooh, it is?

winter cove
#

yep

wheat aurora
#

okay that makes it a bit more appealing

#

thanks!

jovial island
#

Hey Guys, i want a littel Help with my Code. Where can i post my Code?

#

There to many channels

jovial island
#

@opaque pewter

opaque pewter
#

Hi

jovial island
#

Ok so

edgy bane
#

what up gang

jovial island
#

Everything connected to the internet is vulnerable

#

And ill tell u why

#

The govt basically has access to everythinf

jovial island
#

Ok so

#

Lol

edgy bane
#

any linux users here

jovial island
#

First

jovial island
#

Linux is not really that private

opaque pewter
jovial island
edgy bane
jovial island
#

Tor developers tell the NSA of vulnerabilities a long time before they patch it

opaque pewter
#

What about a self hosted VPN on a VPS?

jovial island
jovial island
jovial island
opaque pewter
jovial island
#

No logging? Ha

#

Bro that sounds like chaos

jovial island
#

Also u need a ISP provider they can ask for those logs

opaque pewter
#

Hmm.

jovial island
jovial island
#

Ok so

#

Afaik ISP need to have logs of atleast the last 6 months

#

Also

jovial island
#

Yea

#

But the least is 6 months iirc

#

Ye

#

Anyways

#

Tor exit nodes are hosted by the Nsa

#

NSA and the FBI

#

Plus

jovial island
#

Streisand effect plays a huge role here

jovial island
#

And also

#

Look up

#
  • Intel ME
  • Vault 7
#

Using duckduckgo even tho its prob comprimised

#

Hardware and software has backdoors

#

Even Linux has backdoors

#

If the NSA couldnt break into a system then they're not doing their job

jovial island
#

Tor nodes are often malicious

jovial island
jovial island
#

So lets say for example

#

You use Tails OS

#

And use your phone which has MicroG as a wifi adapter

#

And you capture packets and have a firewall on it

#

And on the system

#

First of all

#

If you connect to tor directly

#

Your ISP will log your IP and probably put eyes on you

#

If you use an obfuscated bridge

#

Your ISP will also notice unusual traffic

#

Wait brb

#

Well i dont got much time

#

But my point is

#

Every system is vulnerable and is spied on

#

And if you try so hard to have privacy/anonymity

#

You wont be able to use basic services

radiant socket
clever salmonBOT
#

src/poll.rs lines 155 to 165

                                        });
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}```
daring jay
#

goddamn

radiant socket
#

this is a 😔. code works locally, does not work in development docker container

remote widget
#

@jovial island why would be that

jovial island
remote widget
#

I beg to differ

jovial island
#

well, facts

remote widget
#

why do u say so

jovial island
#

its an axiom

#

its not reasonable, yet True

remote widget
#

axiom?

jovial island
#

An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments

remote widget
#

Someone was watching JD and AH case very closely

jovial island
#

nah i just studied 9-10th standard maths properly

#

you should remember something like "Euclid's Axioms and Postulates"

remote widget
jovial island
#

yeah, that's related

jovial island
remote widget
#

I don't remember smth like "axioms and postulates" stuff tbh

#

I just remember the name Euclid

jovial island
#

Euclid is pleased for you remembering his name😂

remote widget
#

Lmao

#

I wanted to please someone else but Euclid will do

willow plinth
#

👀 what is different about a java import ?

remote widget
#

Idk

jovial island
#

we don't need to import classes like from file import Class but without the file ( if im not wrong )

#

cause its similar in Kotlin, and thats why ive been taught

willow plinth
#

👀👀👀

willow plinth
jovial island
#

me with glassespWut

willow plinth
willow plinth
jovial island
#

im a strong boi

jovial island
jovial island
#

💪

#

😼 👊

willow plinth
#

zebra watches from a far

slate leaf
jovial island
jovial island
#

what you doing lurking lurks

slate leaf
#

Oh

#

Was just showing off the new nuke ban hammer sticker

#

No reason in particular

willow plinth
#

oh, nice 👍

jovial island