#voice-chat-text-1

1 messages Β· Page 27 of 1

thin lintel
nimble ibex
#

it works !

fair heron
#

the matric

proper ridge
wicked flicker
#

Hello

#

How are you doing?

stuck bluff
nimble ibex
#

it is awsome ! ( compare to old Atmel uctrl)

willow girder
nimble ibex
#

spomething like this ... from _xCst import *

willow girder
#

no the problem is on the module it self

nimble ibex
willow girder
#

C:\Users\asus\Desktop\ITrans

willow girder
golden tendon
#

He's trying to treat it as a module I think with like the init.py

nimble ibex
#

so from drive import driver

willow girder
#

and that's why I create init.py

willow girder
nimble ibex
#

u have that reverse

golden tendon
#

Show us the init file

willow girder
#

I try it but it doesnt work

#

it's empty file

nimble ibex
#

try form drive import *

golden tendon
#

No you have to do like def init I'm pretty sure because that's how it's worked in my project for a while

#

Depending on which file he's running he might need to change the path that he's importing from That's the only way I can think of to fix this if it's not a file issue

nimble ibex
#

from copy import copy, deepcopy

#

from _xCst import *

#

def test():
return True

if name == 'main':
assert test() == True
else:
pass

willow girder
#

it doesnt work

mild flume
#

!stream 425552190283972608

coarse hearthBOT
#

βœ… @thin lintel can now stream until <t:1718633132:f>.

nimble ibex
#

how can I have streaming acces ?

stuck bluff
#

@cinder dirge πŸ‘‹

mild flume
#

What're you working on?

nimble ibex
mild flume
#

I mean you just have to ask but I'm wondering what you're working on first

nimble ibex
#

mmm now I need to ride myt bicycle !

nimble ibex
#

I though stream right was permanant

mild flume
#

So initially, it's on request temporarily. As I (and other voice mods) get more comfortable with people and they show they're responsible with the perms, we'll grant them a 3 week probationary period where they have the perms for that period of time. If they've shown to be responsible after that point, they'll get perma

#

But right now, I'll be right back.

raven orbit
#

hi

#

can't speak cuz in the train

stuck bluff
#

A pika ( PEYE-kΙ™) is a small, mountain-dwelling mammal native to Asia and North America. With short limbs, a very round body, an even coat of fur, and no external tail, they resemble their close relative, the rabbit, but with short, rounded ears. The large-eared pika of the Himalayas and nearby mountains lives at elevations of more than 6,000 m ...

nimble ibex
#

im not...

stuck bluff
#

Syringa josikaea, the Hungarian lilac, or Lady Josika's lilac is a species of lilac in the olive family Oleaceae, native to central and eastern Europe, in the Carpathian Mountains in Romania and western Ukraine. A large shrub, it has a very restricted range, although fossils assigned to the species suggest a much wider prehistoric distribution i...

hearty heath
#

Hello

stuck bluff
#

@compact wagon πŸ‘‹

nimble ibex
#

im missing my old 8087 ...

stuck bluff
#

@sharp thunder πŸ‘‹

#

@clear shell πŸ‘‹

#

@late quarry πŸ‘‹

sharp thunder
hearty heath
#

Were they fished out of a canal? πŸ€”

mild flume
#

Probs

stuck bluff
#

Does the existence of ear canals imply the existence of ear gondoliers?

nimble ibex
#

well there is some Babel Fish for your ears ...

mild flume
#

Honestly, that'd be so useful

true valley
#

US 69. Nice
Ukraine 101.

tame leaf
true valley
tame leaf
#

TW: Dementia

||I forgor πŸ’€||

terse sierra
#

Stalin brand pork products....

#

when you look at simpsons or futurama or ... always tons of stuff in the back ground

#

there was a royal who ran up and down the halls on all fours and howled - he should be king

#

its Hammer Time .........

tame leaf
#

Fembuoy

mild flume
#

@frosty pine

terse sierra
#

did you wish your life to become , Mystery Science Theatere 3000 , or .... @mild flume

tame leaf
terse sierra
#

wires into jello - wont work

proper ridge
#

There was a time we talked about python stuff. Good times.

terse sierra
#

wazz long ago

proper ridge
#

Please don't fight. I have enough of that at home.

proper ridge
terse sierra
#

Hollyweird is disapearing , AI is doing a lot .... very curious

mild flume
#

@bright reef Yo

bright reef
#

Hey

proper ridge
#

Animmo please.

#

For A.C.E.

terse sierra
#

Mr Inbetween is a good Aus Tv show @thin lintel

proper ridge
#

@tulip grail

#

Thank you Animmo for stopping. Appreciate it.

true valley
proper ridge
#

He was knot curious.

terse sierra
#

squirrels will do that - to make a nest - disassemble something

proper ridge
terse sierra
#

reminds me of Robert Crumb drawings , all black ink @tame leaf

elder wraith
#

Most python talk was ultra boring, it's existing solved issues.

tame leaf
terse sierra
#

theres a book on using GIT

warm pelican
#

get to it

terse sierra
#

asparagus and beets need to be on that chart somehow @tame leaf

frosty pine
bright reef
#

🀣🀣🀣🀣

terse sierra
#

Hem - I just came for the free pizza , the rest of you are mad @mild flume

mild flume
#

That tracks

tame leaf
frosty pine
tame leaf
frosty pine
terse sierra
wicked flicker
#

What is Stack overflow then?

terse sierra
#

Robert Crumb has a creative style worth looking at @tame leaf

#

there must be a book by now on , Pythons hidden features

mild flume
#

Fluent Python has a bunch of stuff like that

terse sierra
#

mmmm lemmee go lookee....

wicked flicker
#

If I want to make a random password generator, where should I start? GitHub, Stack Overflow? Do I need to go to the GitHub repositories?

frosty pine
#

Byeee I have to go

terse sierra
#

use , aftershave on canker sore , its designed for cuts and skin everything @mild flume

mild flume
#

I'm not putting that on my tongue

terse sierra
#

try a drop - you will be suprised when its gone

mild flume
#

You can always put things on GitHub at a later time

terse sierra
#

Fluent Python , 751 pages , hmmmmmm

mild flume
#

Fluent is really really good

raven orbit
buoyant dagger
mild flume
#

That is a way to do it, ye

raven orbit
#

and string.printable is a concatenation of ascii_letters, digits and punctuation

mild flume
#

But if you're wanting to make one slightly more secure, you wouldn't use random

raven orbit
#

and whitespace

mild flume
ivory estuary
#
import secrets
password = secrets.token_urlsafe(32)
raven orbit
wicked flicker
#

This all information just flies over my head

raven orbit
#

didn't know that library

raven orbit
terse sierra
#

do most of you actually have a a dedicated room at home , for office space - study space for all your programming / computer stuff ??

raven orbit
#

no i use my living room

terse sierra
#

Im doing that , dining table full of gear now , maybe 50 wires

raven orbit
#

we had a visitor this afternoon

terse sierra
#

a pidgeon maybe very wiggly and flappy

#

there was a documentary on cat abuse , the internet community banded together to find him

#

Dont F... with Cats , is name

proper ridge
#

Allows different signatures.

#

Does the same operation depending on different inputs.

#

Yes.

mild flume
#

@lethal wadi Suuuuup

lethal wadi
#

oi

#

you can technically implement true overloading in python but it just slows down the shit out of your code

#

just do ifs in the method lol

#

god bless america

verbal solar
#

bless you

raven orbit
verbal solar
#

secrets library just uses whatever is the best provided by ur OS

lethal wadi
#

what's the difficulty you're having with password generator? it can be done pretty simply with random lib

verbal solar
#

if u dont wanna import anything u gotta make random number generator urself

warm pelican
#

python doesn't have one built in? maybe i'm spoiled by node.js

wicked flicker
#

I didn't go trough import and module lesson yet πŸ˜„

warm pelican
#

Crypto in node

verbal solar
mild flume
proper ridge
#

Who wanted the password generator?

#

!e

import random

def generate_password(num_characters: int) -> str:
    """ Generate a random string representing the password.

    Parameters
    ----------
    `num_characters` : int
          The number of characters in the password.

    Returns
    -------
    `password` : str
          The password generated.

    Raises
    ------
    ValueError
        If the `num_characters` is less than 1.
    """
    # Define the list of possible characters
    chars = ["a", "b", "c", "1", "2", "3"]

    # Initialize the password string
    password = ""

    for character in range(num_characters):
        password += random.choice(chars)

    return password

for _ in range(5):
    print(generate_password(5))
coarse hearthBOT
lethal wadi
#

there is a bee lib

proper ridge
#

He wanted to make it from scratch.

#

It's a good practice for him.

#

Well, true, but depends on what he wants to import.

#

You could just use numpy, and do it at a lower level.

#

Quantum Computing.

#

Look at qoin.

#

@tame leaf

#

Truly random.

mild flume
#

!pypi qoin

coarse hearthBOT
#

Quantum Random Number Generator.

Released on <t:1713438701:D>.

proper ridge
#

coin

verbal solar
#

pseudorandom number generators u set the seed and it's the smae every time

#

but secrets librar is different depending on ur computer

#

it just uses whatever i the best provided by ur OS

mild flume
verbal solar
#

generally its still pseudorandom so theres still a seed

#

but still more secure than the regular random library

mild flume
#

So it mentions that the .seed() method does not work on the SystemRandom class, however it does take a seed argument

verbal solar
#

u can get practically truly random stuff by observing radioactive decay or atmospheric noise, etc,

rotund bough
#

Cloudflare uses lava lamps as seed gens

verbal solar
#

only pseudorandom number generator use seeds, random.org does not

lethal wadi
#

literally every single random number generator uses a seed. it's how it works. maybe the input could be based off of some real life input that's difficult to predict like a video stream of lava lamps or atmospheric noise which are random

verbal solar
#

from a practical perspective, using atmospheric noise for rng is prety much truly random, no way for us to crack that

lethal wadi
#

but if you manage to get that same exact input, you get the same random number

mild flume
#

Gotcha

lethal wadi
#

as a concept, most rng is some sorta hashing if some input that is the seed. the only truly random algorithms are not really algorithms at all and simply real life inputs that are impossible to reproduce and predict

#

@mild flume there is only so much possible precision that's limited by the laws of physics

#

like how light microscope can only work up to a certain size. not cause the tools we're using are not good enough, but that visible light itself only works up to a point

#

there at the super duper tiny level is some amount of uncertainty between position and momentum. you cannot have an exact position

#

yes, we use electrons

#

electrons have a much smaller wavelength than visible light

#

so so use them as our light at smaller levels

#

yeah, that's actually kinda true

#

but there's the uncertainty principle

#

there is a limit to precision

#

i like radioactive decay as my random input source

#

chaotic is unpredictable
lol hemlock

#

every browser's got plugins 😩

#

unless you made it yourself off of your own engine or whatever

lethal wadi
elder wraith
lethal wadi
#

also this goes back to like before. most rng is some sorta hash based off an input. the only way to get a good random input is use real life chaotic sources

#

radioactive decay is fun

raven orbit
#

HotBits are generated by timing successive pairs of radioactive decays detected by a Geiger-MΓΌller tube interfaced to a computer.

lethal wadi
#

cosmic background radiation is fun

#

but like you can use lowlight image noise on a camera. there are so many things that work

verbal solar
lethal wadi
#

i dont wanna use the internet tho

elder wraith
lethal wadi
#

with you @mild flume

verbal solar
#

buy casino dice and rolll them, thats what u generally do for seed generation to generate ur private keys for crypto wallets

proper ridge
#

!e

list1 = ['a', 'b', 'c']
list2 = [1, 2, 3]

for i, (item1, item2) in enumerate(zip(list1, list2)):
    print(f"Index: {i}, List1 Item: {item1}, List2 Item: {item2}")
coarse hearthBOT
lethal wadi
#

yeah and ordering them if it's just index ordered random wouldn't work either since ideally you cant find that either

#

my password is ******** so that when it gets leaked, people will think it's censored

mild flume
#

If only

verbal solar
#

if theres like 10 ppl talking that all sound similar we might forget who is who

lethal wadi
#

lol jikky pedanticly wrong

#

guys

#

pls

#

not reesees

#

reese

#

posessive

#

like reese is

verbal solar
#

who is reese

#

is he here

mild flume
#

A soccer match between the Yale Bulldogs and the North Carolina Tar Heels comes down to Scott Sterling and the most epic penalty kick shootout you'll ever see.

Subscribe to Studio C: https://bit.ly/SubStudioC

Studio C. Stream full episodes now on BYUtv: https://www.byutv.org/studioc

Buy a Scott Sterling's Jersey here: https://teespring.com/sh...

β–Ά Play video
verbal solar
#

or dune kind of

tulip grail
proper ridge
#

Animmo, you into horror stuff?

warm pelican
#

horror <3

verbal solar
#

watch the babadook

warm pelican
#

that horror film was adoable

proper ridge
#

[REC] 1 and 2.

#

Birdbox

warm pelican
#

never watched [REC], you recommend it?

mild flume
#

Never even heard of it

verbal solar
#

idk

#

the list was created 11 year ago

#

so its all old movies

lethal wadi
#

users suck

tulip grail
verbal solar
#

last modified 3 months ago, but maybe someone just edited smth

#

yes u have our permission to sleep

lethal wadi
#

i love kvass

#

usa

#

no

#

had it in russia

#

sorry one sec

#

went like 2018 or 19 can't recall

#

had it in in like the caucusus mountains area

#

yes kafkaz. i've been to maykop, nalchik, etc

#

i'm chechen/kabardian

#

descent

#

born in the US of A

#

nah, but i do speak kabardian

#

ye

#

a lot of fun stuff from there

#

that whole area is occupied lol

#

it's a totally different culture

#

The Circassian genocide, or Tsitsekun, was the Russian Empire's systematic mass murder, ethnic cleansing, and expulsion of 95–97% of the Circassian population, resulting in 1 to 1.5 million deaths during the final stages of the Russo-Circassian War. The peoples planned for extermination were mainly the Muslim Circassians, but other Muslim people...

#

russia did a whole lot to that whole area by the mountains lol

#

but current day, it is russia ig

#

ah i haven't been closer to the mountains, just the land north of it. also did visit georgia but that was a good many years before kafkaz

#

sochi i imagine is coming up?

#

ah mma

#

ye that's my daghestan dude. i have hella daghestani friends

#

imagine if people domesticated bears instead of wolves

#

i'd like to get better at my grappling

#

rn im pretty damn decent at striking

#

wolves are still way smaller than larger bears

#

like im not talking american black bear

#

i can probably kick a black bear's ass 50:50

#

definitely not by grappling tho

#

they are just objectively way stronger than me lmao

#

but like if you're a bear and you take a damn good elbow or a kick, shit is gonna hurt

#

ye i love lezginka
i used to dance it along with other dances around that region

#

brb

#

back

proper ridge
#

!e

a = ["a", "b", "c"]
b = [1, 2, 3]
for _, i in enumerate(zip(a, b)):
    print(f"{i[0]}, {i[1]}")
coarse hearthBOT
lethal wadi
#

oh fun thing. ended up coming across someone who knew kabarday when i went to turkey

#

think i was in antalia at the time

#

every day

mild flume
proper ridge
#
# Set the measurement as applied
        map(self.measured_qubits.__setitem__, qubit_indices, [True]*len(qubit_indices))
        map(self.measured_clbits.__setitem__, clbit_indices, [True]*len(clbit_indices))
hearty heath
#

Yo

mild flume
#

Oh oh oh oh oh

#

My favorite part?

#

Built in lorem ipsum

delicate wren
#

I've finally put "editor.rulers" into per-user settings.json file instead of per-workspace one

#
{
    "[python]": {
        "editor.rulers": [79, 80, 120]
    },
    "[markdown]": {
        "editor.rulers": [86, 99, 100]
    },
    "[typescriptreact]": {
        "editor.rulers": [80]
    },
    "[rust]": {
        "editor.rulers": [100]
    }
}
mild flume
#

Ooo niiiiice

hearty heath
#

Exciting πŸ˜„

#

They're free in London Β―_(ツ)_/Β―

#

Like, second-hand shop?

delicate wren
#

I can buy $50 worth of museum tickets for free

#

each year

hearty heath
#

We call those charity shops

#

Oh πŸ€”

#

Ah right

delicate wren
#

wasm it

#

make it worse for everyone

#

idk how good startup times for python on wasm are

#

regular cpython start/import time is painfully slow

wary fable
mild flume
#

I am a bit too

delicate wren
wary fable
#

nope no sign

random minnow
delicate wren
#

I should rethink my practice of opening up another browser window when I lookup something

#

12 windows is a bit too much

hearty heath
#

I use Vimium for that

#

yeah

#

It's pretty nifty

delicate wren
#

I've started writing an extension to organise the bookmarks

#

because I'd rather do that than select a folder each time

#

@primal quarry I might've missed, but did you ssh-copy-id?

#

hmm

#

do you have any access to ssh config on the machine?

hearty heath
#

I pretty much buy all my clothes at Uniqlo and M&S lol

wary fable
#

For looking up stuff I use a combination of cheat.sh, tldr, and apropos

delicate wren
#

FTP is harder to set up

wary fable
#

avoid leaving the terminal at all costs lol

delicate wren
#

so it specifically refuses with an ssh error, not TCP error, right?

#

yes, that's normal

#

what have you done so far to add the certificate?

#

.pub thing

hearty heath
#

My London recommendation would be to go see a play at the NT

delicate wren
#

@primal quarry did you edit ~/.ssh/authorized_keys?

hearty heath
delicate wren
#

you copied ~/.ssh/id_rsa.pub contents from client to server's ~/.ssh/authorized_keys, right?

#

specifically .pub

hearty heath
#

There are some really good plays, but it's also a bit hit and miss πŸ˜„

patent laurel
#

use live usbs

random minnow
random minnow
#

statford-upon-avon to be clear

#

not the london stratford

hearty heath
#

Yeah πŸ˜„

patent laurel
#

can't you just type enter when it asks you for the password

random minnow
#

the national theatre is a really beautiful building

delicate wren
#

does -v show anything related to the key?

#

ssh -v ...

hearty heath
#

The Barbican Centre's pretty cool too if you do

delicate wren
#

there should be a Offering public key line

random minnow
#

The Barbican too, I love that building

delicate wren
#

so right after Offering public key no Server accepts key
(server might not be accepting key auth at all?)

primal quarry
#
debug1: Offering public key: C:\\Users\\pyes/.ssh/id_ed25519 RSA SHA256:Mla8KMhYvbCwAQOEbqfdL0PMcB1tJRjgG9littQrxc0
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: C:\\Users\\pyes/.ssh/id_xmss
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such file or directory
delicate wren
#

find ssh config file on the server

rotund bough
#

/etc/ssh/sshd_config (linux)

delicate wren
#

add this to %programdata%\ssh\sshd_config

RSAAuthentication yes
PubkeyAuthentication yes
#

on where you connect to

#

then restart the sshd service

delicate wren
rotund bough
#

sudo service ssh restart

delicate wren
#

@primal quarry open the editor as an admin

#

then open the file from there

rotund bough
#

Start-Service sshd from ps

delicate wren
#

restart not start

delicate wren
primal quarry
#

Restart-Service sshd

hearty heath
#

Congrats πŸ˜„

raw wren
#

tyty

delicate wren
#

you edited the config on both, restarted the service on both and edited authorized_keys on both?

hearty heath
#

Want me to give you screen share permissions @primal quarry?

#

Thanks Jake

delicate wren
#

ssh-keygen, default parameters

#

you can, for a test, just try connecting a computer to itself

#

easier to make working so you don't need to worry about IPs and stuff

proper ridge
#

Jake did you graduate recently you said?

#

Oh he left.

raw wren
#

yeah, just last week

proper ridge
#

Nice.

#

May I ask what degree?

random minnow
proper ridge
#

Greetings @stoic geode

delicate wren
#

known_hosts really needs deleting only if a specific error appears

#

yes

#

@primal quarry yes

#

try on the same PC, that's going to be easier

#

what was the name of the latest key created?

#

id_ed25519?

#

or id_rsa?

#

@lethal wadi locally it auto-picks the same one

#

are .ssh/authorized_keys and .ssh/id_rsa.pub files identical?

#

try ssh 127.0.0.1 again

delicate wren
#

try restarting SshdBroker service also

#

okay

buoyant dagger
#

So how would you do it?

hearty heath
delicate wren
#

%programdata%\ssh\administrators_authorized_keys

#

does it exist?

#

okay then create it

#

yes

#

(Microsoft docs mention that file so it might be the one taking precedence over normal file)

#

hmm

#

don't delete known_hosts

#

are there AuthorizedKeysFile lines in the sshd_config file?

#

there should be two, iirc

#

AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys

#

you can remove it if you want to simplify logging in (at a slight security risk)

#

so I tried doing the same thing and it worked for me

#

try restarting the service from task manager instead of powershell

#

there is a tab for services

#

I think

rotund bough
delicate wren
mild flume
#

!stream 545124905214017536

coarse hearthBOT
#

βœ… @primal quarry can now stream until <t:1718651479:f>.

delicate wren
#

@primal quarry wrong file name

#

authorized_keys

#

okay now I need to go

#

another reason why ssh-copy-id won't work is that it calls exec or whatever

stuck bluff
#

@nocturne hearth πŸ‘‹

#

@jovial spade πŸ‘‹

jovial spade
stuck bluff
#

@tired quiver πŸ‘‹

tired quiver
#

@stuck bluff
Nice to meet you !!!
I'm foopa.
Can I ask you question?

#

thank you!

stuck bluff
#

@sleek solstice πŸ‘‹

tame leaf
stuck bluff
#

@misty sinew πŸ‘‹

lethal edge
#

@umbral rose papa

stuck bluff
#

@misty sinew πŸ‘‹

thin lintel
stuck bluff
#

@misty sinew πŸ‘‹

pseudo raven
#

idk if i got this frrom here but its funny πŸ˜„

ocean zodiac
#

anyone here familiar with tensorflow

#

i need help

pseudo raven
#

πŸ˜„

stuck bluff
#

@gaunt cipher πŸ‘‹

#

@obsidian ferry πŸ‘‹

stuck bluff
#

@deft copper πŸ‘‹

#

@fresh panther πŸ‘‹

#

@mystic perch πŸ‘‹

pseudo raven
#

too late lol

stuck bluff
#

But with a red bulb.

#

Maybe.

#

@misty sinew πŸ‘‹

sleek solstice
stuck bluff
#

@barren pebble πŸ‘‹

elder wraith
#

Ban @mild flume

tame leaf
#

Gadsby is a 1939 novel by Ernest Vincent Wright, written without words that contain the letter E, the most common letter in English. A work that deliberately avoids certain letters is known as a lipogram. The plot revolves around the dying fictional city of Branton Hills, which is revitalized as a result of the efforts of protagonist John Gadsby...

mild flume
stuck bluff
fair heron
#

β€βŠ±β”„β”„β”„β”„βŠ°β€ Β°β€’ β™” β€’Β° β€βŠ±β”„β”„β”„β”„βŠ°β€

The Idol Prince of E-Sekai, Rin Penrose.
Not a princess! How darest thee?!

Rin Penrose's Channel: https://www.youtube.com/@rinpenrose

Original Stream: https://www.youtube.com/live/vp8Tbh_fVH4?feature=share
Credit: @Saaalipilled

β€βŠ±β”„β”„β”„β”„βŠ°β€ Β°β€’ β™” β€’Β° β€βŠ±β”„β”„β”„β”„βŠ°β€

Tags:
For GENERAL: #RinPenrose
For FANART: #inkpaintrose
For...

β–Ά Play video
tame leaf
stuck bluff
mild flume
#

Bois D'Arc

fair heron
mild flume
#

@mental crag Yo

thin lintel
mental crag
thin lintel
pseudo raven
#

right bbl zzzzzzzzzz

wicked flicker
#

Modules Coding Challenge
Take a look at the exchange.py file which contains two functions:

convert(amount, currency): Converts amount (USD value) to the given currency (three letter currency code, eg: GBP) and returns the converted amount. For example, to convert 100 United States Dollars to Indian Rupees, you can use the function as follows: convert(100, 'INR')

symbol(currency) : Accepts a 3 letter currency code (eg: GBP) and returns a symbol (eg: Β£). For example, to get the symbol for Indian Rupee you can call symbol('INR').

Your task is to do the following inside exercise.py:

Import the convert and symbol functions.

Add a new function called local_price which the parameters amount and currency.

Inside local_price, use the convert() and symbol() functions to return a user friendly local currency.

For example, if you call local_price(50, 'EUR') the returned value should be: €42.

fair heron
#

MODS

mild flume
#

./ham.py

def add(num1, num2):
  return num1 + num2

./pork.py

import ham

beef = ham.add(1, 2)
#

!stream 755535449447071856

coarse hearthBOT
#

βœ… @wicked flicker can now stream until <t:1718726396:f>.

unborn marlin
#

Hola

#

Doing well, and yourself?

terse sierra
#

quiet room plenty of space to yack

thin lintel
terse sierra
#

did you know most of Frank Sinatras hit songs were written by a woman

#

young frank sang better , then he chain smoked and ruined his voice

#

china DHL phones me all the time - block

#

can you put python on most cheap tablets ? so it can run python as a portable control panel

#

sleepy rooooom

delicate wren
#

finally 50K subs on the C# project that I collaborated on

#

did you just use "normal" and "javascript" in the same sentence

terse sierra
#

Demolition Derby

#

I heard London super expensive

mild flume
#

Like any big city

fallen delta
#

what is how big is a big city

terse sierra
#

Salt Lake City , cleanest place I have ever seen - spotless , long ago

#

2024 ? no idea

#

Boomers like the office , and wearing fashionable hats

raw wren
#
import asyncio
import concurrent.futures

def blocking_task():
    # Simulate a blocking task
    import time
    time.sleep(2)
    return "Blocking task complete"

async def main():
    loop = asyncio.get_running_loop()
    with concurrent.futures.ThreadPoolExecutor() as pool:
        result = await loop.run_in_executor(pool, blocking_task)
        print(result)

asyncio.run(main())
#

@elder wraith

delicate wren
#

!d asyncio.to_thread

coarse hearthBOT
#

coroutine asyncio.to_thread(func, /, *args, **kwargs)```
Asynchronously run function *func* in a separate thread.

Any \*args and \*\*kwargs supplied for this function are directly passed to *func*. Also, the current [`contextvars.Context`](https://docs.python.org/3/library/contextvars.html#contextvars.Context) is propagated, allowing context variables from the event loop thread to be accessed in the separate thread.

Return a coroutine that can be awaited to get the eventual result of *func*.

This coroutine function is primarily intended to be used for executing IO-bound functions/methods that would otherwise block the event loop if they were run in the main thread. For example:
raw wren
#

ah yes that one too

delicate wren
#

it also sets contextvars, as said there

#

@spring bloom you mean functional not useful

#

(the one that was mentioned isn't useful)

#

UML is kind of too advanced for that

#

map out logic not classes

proper ridge
#

He keeps giving examples of game cheats.

#

I don't know what to say.

delicate wren
#

there is no general advice for that

#

there is no recipe for inventions

spring bloom
delicate wren
#

@proper ridge the point here is to rewrite existing non-AI tool

#

Cod checks each command you run in the shell. When cod detects usage of --help flag it asks if you want it to learn this command. If you choose to allow cod to learn this command cod will run command itself parse the output and generate completions based on the --help output.

#

cod has generic parser that works with most help pages and recognizes flags (starting with -), while not recognizing subcommands.

#

learn as in absorb information to be able to recognise later

#

in some sense

proper ridge
fallen delta
#

like add to dictionary in word ig?

delicate wren
#

websockets in Rust are relatively simple

delicate wren
#

you misstructured the project it seems

proper ridge
proper ridge
#

I don't understand what it does at a first glance.

delicate wren
#

and missing workspace key in the root Cargo.toml

#

nowadays cargo new will automatically add stuff to workspace

#

a long time ago

#

MSVC is the main one

coarse hearthBOT
#

Cargo.toml lines 1 to 7

[workspace]
members = [
    "internal/ruchei-sample",
    "ruchei-callback",
    "ruchei-extra",
    "ruchei-route",
]```
delicate wren
#

do you have vs build tools installed?

#

you might need to activate the shell

stuck bluff
#

@torn pelican πŸ‘‹

#

@viral stirrup πŸ‘‹

#

@gloomy topaz πŸ‘‹

#

@quaint mesa πŸ‘‹

quaint mesa
#

🫰

tame leaf
#

X

ornate knot
#

xaxaxaxaxax

tame leaf
#

jajajajaja

#

gagaga

ornate knot
#

jajajajajja

#

hahahahahah

gloomy topaz
#

Hey everybody
How may I talk in voice chat?

ornate knot
#

Just join in voice chat 1

tame leaf
ornate knot
tame leaf
gloomy topaz
#

So I should send here more than 50 messages? Am I right?

ornate knot
#

Yes but I suggest you to join into the voice chat and share with us avoiding spamming ^ ^

stuck bluff
gloomy topaz
ornate knot
#

Just stay here, and writting here try to share with us ^^

#

Just join in the conversation

stuck bluff
#

@sterile orchid πŸ‘‹

sterile orchid
#

hello

#

should i stick to android studio

#

or perhaps just learn kivy

#

and suck it up

#

ooooh are we doing nlp governance talks @stuck bluff

stuck bluff
#

@foggy yarrow πŸ‘‹

sterile orchid
#

true you can train it on an emotion based csv

#

then build a response lol

gloomy topaz
#

What's your opinion about Python Crash Course book?

sterile orchid
#

true under hugging faces there are only 1k answer bots lol

#

vs 65k models that have been made

#

he was

#

also there was 4 jesuses @tame leaf

gloomy topaz
#

But I just don't see any sense
Why I should send 50 messages?

stuck bluff
sterile orchid
#

in general agreed

#

yeah i could see that being a problem

gloomy topaz
sterile orchid
#

i feel like you can do a whisper ai bot

#

to do how many bits are sent to everyone

#

then ban people based upon those statistics

#

i want to pass through the gate again

#

but eh i did leave the server

#

so thats on me

gloomy topaz
#

AI is developed so faster

sterile orchid
#

its slower than you would think

gloomy topaz
#

I don't what it would become in the future

sterile orchid
#

in 2013

#

gpt 2 was out

#

it just wasnt as known

#

like zoom

#

nlp has been there since 1970s

gloomy topaz
#

So GPT had existed in 2013?

sterile orchid
#

agreed

#

so @tame leaf i should use kivy instead of android studio by that quote

#

πŸ€”

#

yeah gpt was small

#

bert was made by google

#

parsec trees have been there for so many years @gloomy topaz

#

ahhhh i dont know a good swift application tool

#

or ios

#

OOOOOOOOH

#

yes kotlin

#

YOU GENIUS

#

ty ty

gloomy topaz
#

And which is your favourite AI tool?

#

ChatGPT

sterile orchid
#

myself

gloomy topaz
#

Gemini

sterile orchid
#

but chatgpt

gloomy topaz
#

Or Microsoft?

sterile orchid
#

is my personal favorite

#

you?

gloomy topaz
#

Microsoft Copilot

sterile orchid
#

i mean theres a lot of chatbots its thrown in your face left right center lol

gloomy topaz
sterile orchid
#

^^^^^

#

true i like the computer vision on gpt

#

and the implimentation with whisper ai

gloomy topaz
#

I just wonder

#

Today we have way powerful phones and tablets

#

But

sterile orchid
#

there was a wolf spider in my room

#

lmao

gloomy topaz
#

Vs Code

#

Or Sublime text

sterile orchid
#

thank god they cant jump

gloomy topaz
#

Still aren't available

#

On these devices

sterile orchid
#

and are basically useless

#

i dont like the spyder coding env

#

R is decent

#

the pirate of what

#

oooooooh

#

i was lost

gloomy topaz
#

Do you do tasks in Codewars?

#

I just registered there

#

But

#

As I see

sterile orchid
#

i havent done codewars since leetcode

gloomy topaz
#

It's still not for beginners

sterile orchid
#

i just got my 1600 rank and left

gloomy topaz
#

The tasks are for more advanced level

sterile orchid
#

its not but when you see 6 year olds writing better code than you when you get stuck

#

it changes you

#

lol

gloomy topaz
#

Well

#

I need

#

Another 20 messages

sterile orchid
#

practice practice

#

codewars will become easier

#

theres lots of good competetive programmers that are cracked

gloomy topaz
#

How about

#

Leetcode?

sterile orchid
#

leetcode is easier

#

codewars is also easy

#

just learn grind it out

gloomy topaz
#

For me

#

Learning of Python

sterile orchid
#

and boom you will master and memories data structures

gloomy topaz
#

Is not for getting job

#

Just for fun

sterile orchid
#

ah so just a hobbies?

gloomy topaz
#

As hobby

sterile orchid
#

thats a good hobby

gloomy topaz
#

Then I will try to programm on Linux

sterile orchid
#

basically minecraft but apps games

gloomy topaz
#

But

sterile orchid
#

things you can make a job if you get really good at it

gloomy topaz
#

I don't know which Linux distribution is better

#

Debian

#

Ubuntu

#

Manjaro

#

Arch

#

Fedora

sterile orchid
#

debian has lots more you can add to it

gloomy topaz
#

But

sterile orchid
#

i use it for vms

gloomy topaz
#

Arch installation is harder

sterile orchid
#

like kali

#

redhat

#

ect

#

ubuntu has more freedom

gloomy topaz
#

Have you ever tried to install Kali

#

On Android?

sterile orchid
#

opencv like openais

#

import framework

#

i did a computer vision model with cv2

#

yesterday

gloomy topaz
#

How long have you been programming?

sterile orchid
#

basically tells you if your room is clean ect

#

7 years

#

and i still dont know everything

#

i took a 1 year break

gloomy topaz
#

That's long

sterile orchid
#

and use it or loose it is true lol

gloomy topaz
#

I have been learning Python

#

A few months

sterile orchid
#

have you tried hackerrank

gloomy topaz
#

But the last mont I haven't been doing anything

#

Procrastination

sterile orchid
#

that might be a better start than codewares

gloomy topaz
#

I hate that

#

I'm not lazy

#

But I have issues with concentration

#

And memory

sterile orchid
#

im lazy to make a mobile app

#

just make python apps to help you focus

gloomy topaz
#

I haven't tried

#

What's that?

sterile orchid
#

like blocking tictok

#

oh hackerrank is easier than codewars

#

they are

sterile orchid
#

i have the language tree somewhere on my pc

#

same with croatia

tame leaf
gloomy topaz
#

Finally I could talk in chat

sterile orchid
#

that looks like russian

gloomy topaz
#

Nope, I was wrong

sterile orchid
#

πŸ€”

tame leaf
gloomy topaz
#

But why

tame leaf
#

(that's ukrainian)

sterile orchid
#

nvm

#

lol

gloomy topaz
#

I wrote 50 messages

thin lintel
sterile orchid
#

get more words in lol

gloomy topaz
#

And passed voice verification

thin lintel
#

then push the button

sterile orchid
#

i have to be on the server for 3 days

#

wish me lucj

#

long wait

#

unfortunate

gloomy topaz
gloomy topaz
sterile orchid
#

lol no

stuck bluff
#

Exit voice chat and rejoin.

sterile orchid
#

^^^

#

i have to be here for 3 days to get my perms

#

is what i menat

thin lintel
sterile orchid
#

is cloudflare associated with firebase

tame leaf
sterile orchid
#

2

#

my lord

odd talon
#

2nd

sterile orchid
#

i finally got 128gb of ramm

#

my life is changed

#

no

#

unless you have passthroug

tame leaf
#

πŸ˜‚

sterile orchid
#

LMAO

#

i use both

#

just have a virtial machine

odd talon
#

Me soon

sterile orchid
#

passthrough

#

boom

sterile orchid
#

where do i get those socks

#

linux queen

#

is amazing

#

ghome isnt bad

#

id use queen

#

phishing

#

lmao

tame leaf
#

🐟

sterile orchid
#

oh

#

lol

#

i was like dns spoofing

#

bad

#

LMAO

#

spear fishing should be also more accepted

#

so true

#

me no yes

#

maybe yes

#

just me

#

πŸ€”

#

americans represent

#

6am

#

:c

#

3 hours

ornate knot
#

ce ya!

sterile orchid
#

bai

#

πŸ‘‹

tame leaf
sterile orchid
#

ooooooh

#

if you want my simple data science for all of spanish i can send it

ornate knot
#

@tame leaf im back, tell me

sterile orchid
#

yeah french does do that

#

spanish the g i scilent

ornate knot
#

emm

#

no

sterile orchid
#

j

#

i forget the 2

#

allo

#

pivet

#

yes

#

spanish will be easier for english

#

russian

#

you learn english easier

#

true

#

hes a fed

sterile orchid
#

very true

#

korean language makes 0 sense

#

lol

#

LMAO

odd talon
sterile orchid
#

bai

#

he was friendly

#

sometimes

#

πŸ€·β€β™€οΈ

ornate knot
sterile orchid
#

neitzche sucks

#

i would too

#

sees atoms

#

crazy

#

i want the drugs he was taking

#

hegmony

#

very true

#

detained

#

by a creator

#

unfortuneate

#

but then where does logic and ethics go

#

i love this quote

#

best movie

#

we are just mear observers

#

life is minecraft

#

we have hand and we build and detroy things

#

go to bed

#

new project

#

very true

#

time to watch mr robot

#

bai

#

πŸ‘‹

odd talon
tame leaf
stuck bluff
misty sinew
#

@dense stag

odd talon
ivory kettle
#

@stuck bluff I have a bad joke to share

tame leaf
stuck bluff
#

Class-based abuse.

#

πŸ‡«πŸ‡·πŸ±πŸ‡πŸ«›πŸ΅

tame leaf
misty sinew
stuck bluff
#

@rigid lintel πŸ‘‹

stuck bluff
tame leaf
#

papal

subtle girder
#

olΓ‘

tame leaf
#

LIV

subtle girder
#

angola. i speack portuguese

#

i

#

helo

tame leaf
ornate knot
tame leaf
#

@mild flume can you give me stream?

stuck bluff
#

"Hairy rabbit as Immortan Joe."

#

@modest forge πŸ‘‹

tame leaf
#

@misty sinew sorry

misty sinew
#

Np 🀝

tame leaf
ornate knot
#

had to got guys

#

srry, ce ya!

proper ridge
#

!e

a = True
b = None
print(a and b is None)
a = False
print(a and b is None)
coarse hearthBOT
wicked flicker
#

Hello

#

Is it possible to have Windows 11 together with Linux on the same computer?

proper ridge
#

You can use WSL : Ubuntu.

wicked flicker
#

Ace, can you help me with my code?

proper ridge
#

You can then launch your vs code in WSL remote window instead of windows.

wicked flicker
#

I can't seem to find the problem

proper ridge
#

What code problem are you having?

wicked flicker
#

But I get an error

proper ridge
#

Paste the Admin class' __init__ method.

wicked flicker
#

Lemme show you the code

proper ridge
#

Yep.

wicked flicker
#
class User:
    """A user of the store."""

    def __init__(self, name, password):
        """Initialise data for user."""
        self._name = name
        self._password = password
        self._logged_in = False

    def login(self, password):
        """Check password and log user in."""
        if password == self._password:
            self._logged_in = True
        else:
            print('Incorrect password.')

    def show_status(self):
        """Print the status of the user."""
        if self._logged_in:
            print(f'{self._name} is logged in.')
        else:
            print(f'{self._name} is NOT logged in.')


customer = User(
    name='Bruce',
    password='SuperSecretPassword123'
)
customer.login('IncorrectPassword')
customer.show_status()
customer.login('SuperSecretPassword123')
customer.show_status()


class Admin(User):
    """Administrator of the store."""

    def __init__(self, mname, password, staff_id):
        """Initialise data for a store admin."""
        super().__init__(name, password)
        self._staff_id = staff_id

    def add_product(self, name):
        """Add a new product to the inventory."""
        if self._logged_in:
            print(f'{self._name} ({self._staff_id}) added product: {name}.')
        else:
            print('Login to add product.')


staff = Admin(
    name='Mark',
    password='Puppies123',
    staff_id=1234,
)
staff.add_product('Coffee')
staff.login('Puppies123')
staff.add_product('Coffee')
proper ridge
#

Watch the stream.

#

Good to go?

wicked flicker
#

I didn't see it

#

The stream is not good quality

#

OK

#

Good to go

#

I misspelled πŸ˜„

#

nmame πŸ˜„

proper ridge
#

Just change mname to name. You likely accidentally misspelled it.

#

Yeah.

wicked flicker
#

Regarding the stream, I suppose it's something on my part

#

Not yours

#

Thanks for your help

proper ridge
#

!paste

coarse hearthBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

wicked flicker
proper ridge
#

SHIFT + TAB

delicate wren
#

Firefox has always been very customisable as far as I remember

stuck bluff
#

@sage plank πŸ‘‹

tame leaf
tame leaf
dire depot
sterile orchid
#

what is comfy?

#

oooooh

#

yeah ram heavy!

#

but his boobs are definetly bigger

#

can confirm

#

oooh its does svd

#

but its just a ui

#

comfy makes life easier

thin lintel
#

@fair heron having a coffee with a friend

#

you know, REAL people πŸ˜„

tame leaf
fair heron
thin lintel
#

someone report this one

stuck bluff
#

Yeah, sorry, that's a rule 9. πŸ™‚

#

!rule 9