#voice-chat-text-0

1 messages ยท Page 237 of 1

rugged root
#

One thing is still only being done at a given time, but it'll hop between them

pallid verge
#

i don't know what i am doing wrong but they are like ... they will run but they kinda stop the execution of another thread ... and it's totally random ...

rugged root
#

The only way to truly have things happening at the same time is by having multiple interpreters open or by using the multiprocessing built in library

rugged root
#

So you might have stuttering depending on the task

#

What're you using threading for in this case?

pallid verge
#

ohh

rugged root
#

File locks are super important

rugged root
#

But yeah, what's the project or use case?

pallid verge
#

i created an ios application

stark river
#

As an analogy, think of a short sightseeing tour of a city, such as Copenhagen or New
York. In just a few hours, you are given a quick peek at the major attractions, told a few
background stories, and usually given some suggestions about what to see next. You do
not know the city after such a tour. You do not understand all you have seen and heard.
To really know a city, you have to live in it, often for years. However, with a bit of luck,
you will have gained a bit of an overview, a notion of what might be special about the city,
and ideas of what might be of interest to you. After the tour, the real exploration can
begin.
stroustrup makes a lot of sense

pallid verge
#

whole application has mainly 3 threads ... let's say Thread A for TTS , Thread B for STT , and Thread C for Beacon Detection

rugged root
#

Using Python to do it?

pallid verge
#

yes

rugged root
#

That's.... gonna be rough

pallid verge
#

kivy framework

rugged root
#

But yeah, you might have to integrate multiprocessing instead of threading

stark river
#

living in javascript was like living in a lawless city run by local warlords

rugged root
#

But for making iOS apps, especially things like this, it may be better to just use Swift or another multi-platform language

#

Python really really doesn't like living on mobile platforms

pallid verge
# rugged root That's.... gonna be rough

yes it's been too much for me .. i don't know what's with the client ...it can be a lot faster and optimised in react-native or swift ..but i think he is in love with python ;-;

rugged root
#

At least in my experience, Kivy is better for simple applications on mobile. Something more complex like this is likely to run into some headaches

#

Oh for sure

#

Wait, why does the client care what it's written in?

#

They just want the end product, right?

vocal basin
#

if the product explicitly includes the source code, can be possible that it matters

pallid verge
#

also no library is available for accessing TTS , STT and Bluetooth in python .... so i have to wrap those functionality (they are wriiten in swift)

rugged root
#

There are but...

#

Not sure how well those would play with iOS endpoints

#

I know one of our voice regulars was doing something with Bluetooth

#

But it's also a bear

vocal basin
#

realloc is cursed

#

(it's three functions in one function)

#

@lavish rover not always

#

sometimes it just frees

pallid verge
vocal basin
#

sometimes it just allocates

ivory flower
#

realloc can be implemented as free + alloc for bigger space

vocal basin
vocal basin
pallid verge
#

basic code structure is written by him

rugged root
#

Is there something native for that with Siri, I wonder...

#

But again, you're going to be hard pressed to find a wrapper for that with Python

#

Hmm

vocal basin
#

react native + wasm'ed python

pallid verge
#

i use swift wrapper

rugged root
#

Do you have a link to that?

#

You've got me curious now

pallid verge
#

the functionlaity are working well ..but man those threads are messed up

#

whole application is buggy and slow

#

somehow he is quite happy with the result :/

vocal basin
#

(Go/Rust and many others compile to almost no dependencies with installation being just copying one big binary)

pallid verge
#

i never really understand those pointers in c++

rugged root
rugged root
#

(if I'm thinking correctly)

#

Any time anyone says rotate

#

That's going through my head

pallid verge
rugged root
#

Yep

rugged root
#

It's frustrating, I know all these concepts, I know how to explain them, but you ask me to apply it

#

Boom, full on derp

#

Okay, if you saw one of these, how would you describe it?

eager thorn
rugged root
#

Like what would you call it

pallid verge
#

how's the job maket at your place btw... recession still hitting hard ?

wise cargoBOT
#

class queue.Queue(maxsize=0)```
Constructor for a FIFO queue. *maxsize* is an integer that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will block once this size has been reached, until queue items are consumed. If *maxsize* is less than or equal to zero, the queue size is infinite.
vocal basin
#

for thread communication

rugged root
#

Haven't really looked. Been at the same job for.. I think 8 years?

#

But I'm also not in the industry

#

I'm just a hobbyist coder

vocal basin
pallid verge
rugged root
vocal basin
#

asyncio and multiprocessing have their queues

pallid verge
#

Someday, I get so exhausted from work, and then I imagine...... wouldn't it be great if I were a cow, high up in a mountain, with cool wind breezing, and I am just sitting there, grazing grass and chilling.

vocal basin
#

and this one is for threading

vocal basin
# rugged root It's useful for more than just threading

methods that make sense outside of threading:
Queue.qsize()
Queue.empty()
Queue.full()
Queue.put_nowait()
Queue.get_nowait()
methods that don't:
Queue.put() (blocks)
Queue.get() (blocks)
Queue.task_done() (only observed through join)
Queue.join() (blocks)

#

at which point you just have a weaker deque

pallid verge
#

well thanks for the threads content @rugged root

vocal basin
#

if it supports CLI, there's not much stopping people from integrating it wherever

lavish rover
whole bear
#

Hi, why cant speak?

#

on voice chanell

versed cape
#

that's why

opal sable
#

Hey :D

Do you need something?

little pond
#

@stark river

bleak sleet
#

Learn Python programming from Harvard University. It dives more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. You will learn how to write and use APIs, create interactive UIs, a...

โ–ถ Play video
short owl
#

16 hours - wow

scarlet halo
#

using your keyboard only is purely amazing. just thought i'd let everyone know.

scarlet halo
#

dude the text is so tiny im in my bed typing on my keyboard from across the room

#

well on discord

#

and ive sized it up so mych

#

much*

brisk bridge
#

Hi

willow gate
#

@wind raptor hey , good and you?

#

Right now nothing

#

Thinking to start

#

yes

#

Personal

#

have to submit in college

#

there are 2-3 ideas not fix yet

#

finial year project

#

did you have any good ideas?

#

Be back

wind raptor
#

!stream 664596978973278218

wise cargoBOT
#

โœ… @thorny leaf can now stream until <t:1704342504:f>.

wet scroll
#

@wind raptor hai

#

yay opal is here

somber heath
#

@solid pagoda ๐Ÿ‘‹

solid pagoda
#

How is everyone doing today?

somber heath
#

@half mantle ๐Ÿ‘‹

solid pagoda
#

Any one tired?

somber heath
solid pagoda
#

Me too

somber heath
#

Australia.

indigo crag
#

public class Solution {
public bool ContainsDuplicate(int[] nums) {
Array.Sort(nums);

    for (int i = 1; i < nums.Length; i++) {
        if (nums[i] == nums[i - 1]) {
            return true; // Found a duplicate
        }
    }

    return false; // No duplicates found
}

}

warped raft
#

hello @somber heath

#

how are you doing

#

listen to me

#

i am sick of this Indian society

#

if i just talk to some of my girl classmate
this freaking society starts considering them as my girlfriend directly

#

i am just done

#

yeah literally

#

but the problem is that even my friends are also doing

#

the same with me

#

they can never fcking gonna force me in doing some shit

#

but i am mentally harrased

#

let me narrate an incident

#

last weak we went for a tour with all of our school friends
and I was carrying a camera and taking pictures of all
and then one my girl classmate(rather friend) asked me if i could click one of hers

#

i did so
and now the news headline in the class is we both are in a relationship

#

so much so that it has spread to other class

#

though she has a bf and is livingly happy

whole bear
warped raft
#

yup

#

the think is that i am sick and i might stop talking to my guy friends
and just talk to them(girl friends)
they gonna eventually stop teasingme

#

they aren't gonna fucking stop my life

#

to me also

#

the other thing is along the girls this don't happens

#

it 's only a boys thing

#

here's an another incident

brisk bridge
#

hi

frosty star
#

Hi @somber heath ๐Ÿ™‚

warped raft
#

one of my girl friend said hy to me in the corridor
i looked back but did not replay

#

cuz my friends were just by my shoulder

#

and now for her i am a selfish arrogant guy

#

now i have decided i am gonna live life

#

fuck them

whole bear
#

i genuinely feel pain for u

warped raft
#

just gonna listen to music and reply then with my work

frosty star
#

0oh thats so cool

whole bear
warped raft
#

@somber heath bye

whole bear
#

@warped raft bye

warped raft
#

@obsidian dragon hello

#

how are you doing

obsidian dragon
#

@warped raft I am doing photoshop requests, current request, remove the male character

warped raft
#

are you doing this as a job

obsidian dragon
#

for fun

#

nobody actually requests things from me

warped raft
#

yeah we all are like that only

#

we create thing for our own requests

warped raft
#

or so do I think

obsidian dragon
#

this is impossable

#

but its free and practice so the user will be accepting

whole bear
#

@obsidian dragon hello

obsidian dragon
#

@whole bear hi

whole bear
warped raft
#

@tacit fog hello

#

how are you doing

#

gorakhpur/uttar pradesh

#

what about u

clear portal
#

yes we are. and what do you gonna do about it ๐Ÿ˜‚

somber heath
clear portal
somber heath
clear portal
somber heath
#

Because they're little darlings.

clear portal
#

๐Ÿ˜‚

#

gg

somber heath
#

@near nest ๐Ÿ‘‹

near nest
#

Ahaaaaa

#

Got it

#

LOl

#

I was sooo blind

#

Was googling how to get your email

#

lolol

#

I liked the way you spoke about quantum physics.

#

What do you think about metaverse?

placid ivy
#

Guys why it's showing like this " error importing numpy : you should not try to import numpy from its source directory; please exit the numpy source tree , and relaunch your python interpreter from there "

near nest
#

I think its entirely possible to access it.

#

We are too blind to the obvious stuff like I was oblivous about the chat.

#

I am talking in general

#

Exactly

#

Timeline

#

Time travel

#

Metaverse is kinda getting us closer to the multiverse.

#

its just that people don't want to belive in it.

#

Any sufficiently advanced technology is indistinguishable from magic.

#

"Any sufficiently advanced technology is indistinguishable from magic."

#

You know about infinite loop right?

#

Exactly it won't make sense.

#

We are trying to explain things based on reality!

#

What if whatever we see is based on the strength of the people who could actually time travel?

#

Strength being synonymous to Knowledge ...
Knowledge is power.

#

Say in terms of server time

#

...

#

I guess I should talk about this in private.

#

Its too risky,

#

Yip

#

Yup

#

But nobody does it.

#

What if the source code is corrupted?

#

"Source code of the human mind..."

#

So much so that you need a reboot.

#

Who is gonna give the call?

#

Time is relative says Einstein.

#

Isn't everything relative.

#

Now scientist are trying to feed the AI with LLMs

#

Lol

#

Who implemented this server?

#

Hmmm

#

Interesting

#

It should be used as a tool.

#

What discipline did you study

#

It will tell you things that it has been trained to tell.

#

If the person using it is blind

#

Anthro what?

#

How familiar are you with data analysis?

#

What do you do?

#

Any links?

#

Can I see some?

somber heath
#

@bleak hornet ๐Ÿ‘‹

somber heath
bleak hornet
#

Heyy

near nest
#

Ola

bleak hornet
#

I'm new here

somber heath
#

@tight inlet ๐Ÿ‘‹

tight inlet
#

?

#

@somber heath

somber heath
#

@velvet pasture ๐Ÿ‘‹

whole bear
#

Yo @somber heath

#

Look

#

I finally got it after months

somber heath
#

@mystic lily

whole bear
#

brb

mystic lily
#

@somber heath where u go

tawny vapor
#

hello

whole bear
#

name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")

obsidian dragon
#
name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")
#

```lua
name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")
```

whole bear
#

```lua
name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")
```

#

`luaname = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")`

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

whole bear
#

`***name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")***`

#
``= 'laernado'

io.write("size of string ", #name, "\n")

name = 7)

io.write("my name is ", name, " \n"``
somber heath
#

~`

whole bear
#
```name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")```
eager thorn
whole bear
#
name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")```
obsidian dragon
#
name = 'laernado'
io.write("size of string ", #name, "\n")

name = 7
io.write("my name is ", name, " \n")
whole bear
#
name = 'laernado'

io.write("size of string ", #name, "\n")

name = 7

io.write("my name is ", name, " \n")```
obsidian dragon
#
name = 'laernado'
io.write("size of string ", #name, "\n")

number = 7
io.write("my name is ", name, " \n")
eager thorn
#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

eager thorn
#

@verbal zephyr

#

answer your question.

#

could've easily looked at the server, everything is in plain text.

#

๐Ÿคท๐Ÿฝโ€โ™‚๏ธ

obsidian dragon
#

@verbal zephyr4937 more messages to go

somber heath
#

@agile crest ๐Ÿ‘‹

agile crest
obsidian dragon
somber heath
#

!e py print(0xb2, 0xbe, 0xb5)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

178 190 181
obsidian dragon
eager thorn
#

@obsidian dragon

wind raptor
#

!stream 1095733970425098401

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1704373334:f>.

somber heath
#

@thorn crane ๐Ÿ‘‹

brazen gazelle
thorn crane
#

๐Ÿ‘‹๐Ÿผ

somber heath
#

"Turn everything into birds."

brazen gazelle
somber heath
#

@nocturne socket ๐Ÿ‘‹

#

@cloud shore I love your screen name. "It is I, Baphomet, Lord of Cheese!*

#

@celest pawn ๐Ÿ‘‹

#

@upbeat crow ๐Ÿ‘‹

whole bear
#
io.write("5 + 5 = ", 5+5, "\n")```
obsidian dragon
#
a = 5
b = 5
io.write(a ," + ", b, " = ", a+b, "\n")
somber heath
#

๐Ÿ‘‹

obsidian dragon
icy raven
#

what hepening

whole bear
#
io.write("5 - 3 = ", 5-3, "\n")```
brisk bridge
#

Hi

whole bear
#
io.write("5.2 % 1 = ", 5.2%1, "\n")```
#
io.write("5.2 / 1 = ", 5.2/22, "\n")```
#
io.write("51 // 99 = ", 51//35, "\n")```
#
io.write("51 // 99 = ", 51//35, "\n")```
mystic lily
whole bear
#
io.write("5.2 * 9 = ", 5.2*9, "\n")```
#
io.write("5.2 % 1 = ", 5.2%1, "\n")
io.write("5.2 * 9 = ", 5.2*9, "\n")
io.write("51 // 99 = ", 51//35, "\n")
io.write("5 - 3 = ", 5-3, "\n")
io.write("5 / 3 = ", 5/3, "\n")

io.write("floor(2.345) : ", math.floor(2.345), "\n")```
#
io.write("5.2 % 1 = ", 5.2%1, "\n")
io.write("5.2 * 9 = ", 5.2*9, "\n")
io.write("51 // 99 = ", 51//35, "\n")
io.write("5 - 3 = ", 5-3, "\n")
io.write("5 / 3 = ", 5/3, "\n")

io.write("floor(2.345) : ", math.floor(2.345), "\n")
io.write("ceil(2.345) : ", math.ceil(2.345), "\n")```
#
io.write("5.2 % 1 = ", 5.2%1, "\n")
io.write("5.2 * 9 = ", 5.2*9, "\n")
io.write("51 // 99 = ", 51//35, "\n")
io.write("5 - 3 = ", 5-3, "\n")
io.write("5 / 3 = ", 5/3, "\n")

io.write("floor(2.345) : ", math.floor(2.345), "\n")
io.write("ceil(2.345) : ", math.ceil(2.345), "\n")
io.write("max(2, 3) : ", math.max(2, 3), "\n")```
brisk bridge
#

whats io?

whole bear
#

io.write

brisk bridge
#

input/output?

whole bear
#
io.write("5.2 % 1 = ", 5.2%1, "\n")
io.write("5.2 * 9 = ", 5.2*9, "\n")
io.write("51 // 99 = ", 51//35, "\n")
io.write("5 - 3 = ", 5-3, "\n")
io.write("5 / 3 = ", 5/3, "\n")

io.write("floor(2.345) : ", math.floor(2.345), "\n")
io.write("ceil(2.345) : ", math.ceil(2.345), "\n")
io.write("max(2, 3) : ", math.max(2, 3), "\n")
io.write("min(2, 3) : ", math.min(2, 3), "\n")```
wind raptor
#

!stream 1095733970425098401

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1704378051:f>.

rugged root
#

Back in a tic

brisk bridge
#

guys how can i make such gradient bg?

vocal basin
#

the site itself probably has it not-so-obfuscated

#

Next.js's starting project has gradient example too, iirc

rugged root
#

I think Tailwind has something for it

#

Or wait, would that cover it...

#

Also, yo AF

#

How goes it

vocal basin
brisk bridge
#

oh

vocal basin
#

and that thing is background

rugged root
#

Oh right, derp

brisk bridge
#

maybe i need a fixed div aith radial gradient

vocal basin
#

I'm looking into what Next.js had

brisk bridge
#

react is bad tbh

vocal basin
#

depends

eager thorn
#

yeah just a background.

brisk bridge
#

its not good to use it now where we have svelte

brisk bridge
#

i gtg bye

vocal basin
#
--primary-glow: conic-gradient(
  from 180deg at 50% 50%,
  #16abff33 0deg,
  #0885ff33 55deg,
  #54d6ff33 120deg,
  #0071ff33 160deg,
  transparent 360deg
);
--secondary-glow: radial-gradient(
  rgba(255, 255, 255, 1),
  rgba(255, 255, 255, 0)
);
#

this is what Next.js has as background for icons in the create-next-app example

vocal basin
rugged root
warm atlas
vocal basin
rugged root
#

Lunch? @stark river

warm atlas
stark river
#

premium or fine dining pls

rugged root
#

HA

#

Love it

stark river
#

some of those could be enums

warm atlas
stark river
#

encode those

#

ig it would make processing faster

warm atlas
rugged root
#

I feel like... even if I got rich, I'd still want crappy food

#

Or sushi

#

Yeah, probably lots of sushi

pine depot
#

birria tacos

stark river
#

i only like my own cooked food

warm atlas
vocal basin
stark river
#

which race is getting which lunch thinkmon

#

๐Ÿ˜‚

warm atlas
rugged root
vocal basin
warm atlas
vocal basin
#

I can't brain

<body>
  <div class="aaaa">
    <div class="aaaaa"></div>
    <div class="aaaaaa"></div>
    <div class="aaaaaaa"></div>
    <div class="aaaaaaaa">
      SAMPLE TEXT
    </div>
  </div>
</body>
rugged root
#

Those aren't class names, that's the sound I'm making while looking at the class names

echo garden
#

heh

#

no one can brain

vocal basin
#

don't ask where the first three classes went

pine depot
vocal basin
#

tbf, this is the most cursed part, actually

brisk bridge
vocal basin
#

it might consume extra resources for rendering compared to static image

#

especially because of blur

echo garden
#

you always consume extra resources when it comes to processing @vocal basin

rugged tundra
#

@rugged root @wind raptor

May you give Newbie stream perm for Jupiter Notebooks?

echo garden
#

unless you working with a graphene semi conductor... incase anyone didn't know they invented a scaleable version as of recent

rugged root
#

Yep, figured that's why you poked your head in

brisk bridge
rugged root
#

!stream 219436041092857856

wise cargoBOT
#

โœ… @warm atlas can now stream until <t:1704382500:f>.

vocal basin
#

@rugged root I remembered some even more cursed CSS that I made
I'll try re-making it from memory now~~, it's going to hurt eyes a lot~~

brisk bridge
#

Ye that cost is higher than processing that

vocal basin
#

there was also an extension which moved any button you tried to click and re-coloured it randomly

whole bear
#

hello

vocal basin
#

Verilog

#

yeah

#

if even lower-level

#

FPGAs, ASICs, etc.

whole bear
#

can i ask what are you guys talking about?

pine depot
#

plc programming

rugged root
#

Back in a sec

pine depot
#

i just got a job

whole bear
#

ohhh

#

okay

#

man i love Samsung

#

not me

vocal basin
whole bear
#

@whole bear um u can call me x

#

huh

#

fr?

#

yeah they should

#

๐Ÿ’€

#

bruh

#

yeah

#

yeah me too

pine depot
whole bear
#

my parents were thinking to buy a Samsung tv

#

thanks for the info

#

man that is bs

#

yeah thats a point too

#

huh

#

um

#

okay

#

yes i can

#

but my micophone is shit

#

don't want yalls ear exploring

#

ye

stuck furnace
#

Heyy

whole bear
#

shit

stuck furnace
#

Happy new year!

whole bear
#

i can't fucking spell

whole bear
pine depot
#

i cant ducking type

stark river
#

how come there are microphones and megaphones but no centiphones nor deciphones thinkmon

whole bear
#

ใƒฝ(ยดโ–ฝ`)/

whole bear
#

hey i wanna ask smth

#

if we really are talking about job

#

what's the minimum that i can get paid for like

#

uh py job

pine depot
whole bear
#

also

#

dose s digital certificate matter?

#

for my

#

resume

echo garden
#

closed certificate

pine depot
whole bear
#

i will

whole bear
pine depot
whole bear
#

i mean

#

like

pine depot
#

i have a programming essentials diploma from a college and it helped me in 0% of my job applications

whole bear
#

will it like help a bit to get a job

echo garden
#

anyone interested in crypto?

rugged root
#

Won't hurt

echo garden
#

I am

whole bear
pine depot
#

feel free to do whatever you want with it

pine depot
#

its for robinhood

echo garden
#

I finally got my self some shiba, and judging by the burn rate, there's someone burning consistantly less than one, @pine depot really interesting.. does it trade and sell by its self?

echo garden
#

ah auto trader

pine depot
#

in the docs lol

echo garden
#

LOL

#

well

#

there's that

pine depot
#

you could tweak it though

whole bear
pine depot
#

me either

echo garden
#

yeah i have a logic controller in mind to be honest

#

but i don't know exactly how to make sure it interacts with the app

whole bear
#

change my mind
crypto = 89% gamble

#

oh wait

#

im stupid

#

i can tweak my voice out put

whole bear
echo garden
#

@whole bear it is a 89% gamble but worth it if you get lucky

pine depot
whole bear
#

that's like

exotic moss
#

devs get paid too much tbh

whole bear
#

for all the pain in the ass

#

debuging for hours

#

days

#

weeks

exotic moss
#

400 a month?

eager thorn
whole bear
pine depot
#

that wouldnt cover groceries lol

exotic moss
#

i wouldn't do anything for 400 a month

whole bear
#

brb

echo garden
#

@eager thorn how much you make being lucky?

pine depot
#

200$/day ish

eager thorn
#

it was a day trade, so put in $500, made i think 500-1000 in 2 hrs .

echo garden
#

nice but never again?

whole bear
eager thorn
#

haven't dabbled in stocks in a minute. still got a portfolio with a few grand sitting in a ETF but that's it. @echo garden

pine depot
#

my starting offer was above 70k

whole bear
pine depot
#

without a degree

echo garden
#

yeah im having trouble pulling my money out of Crypto.com

#

i connected my bank account

#

just don't seem to have a way to pull out my cash

#

alright guys im out

#

not out to the mental place but out in general wanna watch a movie

echo tartan
whole bear
#

@whole bear yooo

#

ye

pine depot
#

!e

import math
print(math.pi)
wise cargoBOT
#

@pine depot :white_check_mark: Your 3.12 eval job has completed with return code 0.

3.141592653589793
exotic moss
#

!e ```py
print(math!.pi)

wise cargoBOT
#

@exotic moss :x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print(math!.pi)
003 |               ^
004 | SyntaxError: invalid syntax
rugged root
#

!source snekbox

wise cargoBOT
#
Bad argument

Unable to convert 'snekbox' to valid command, tag, or Cog.

#
Command Help

!source [source_item]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

exotic moss
rugged root
whole bear
#

print(math.pi)

#
print(math.pi)```
stark river
#

print(22/7)

velvet pasture
#

is there a better way of using the break statements in a nested loop

#

??

#

print(math.pi)

rugged root
#

So there is but...

rugged root
# velvet pasture is there a better way of using the break statements in a nested loop

The best way is to just use some variables that you use as flags and track it manually. Then when you break out of the inner loop, check the flag to see if you have to break out of that level then so on and so forth. Sadly, Python doesn't have a built in way to break out of multiple layers in one go, short of returning if it's in a function

stark river
#

yeah man.. break it into smaller functions

#

mypy ๐Ÿซถ

clear portal
#

docs

gentle flint
stark river
#

what are mypy stub packages

gentle flint
#

they have type hints

#

so if a package is untyped they add type hints to each function so mypy can run on it

stark river
#

conda install matplotlib... ๐Ÿ’€
why is it installing a whole bunch of things? sqlite? mysql? alsa? it's own fonts??

whole bear
#

compiled python 3.12

rugged root
echo tartan
vocal basin
clear portal
#

my eyes

vocal basin
#

@echo garden yes, those are integrated chats

#

(which are partially disabled on this server)

stark river
#

i agree statistics should be taught (more) in high school
i learned about homoskedasticity and multicollinearity too late (in my masters)

#

and now it doesn't come as natural to me

vocal basin
#

@molten pewter switching to speaker on phone is terrible

#

near unusable

#

they had no valid reason to move it to the location which... triggers screen disabling

rugged root
#

Mentions to use the !user command in #bot-commands

vocal basin
#

they're both very broken
(versions before and after update)

#

but before the update it at least didn't have as many serious bugs like:
messages get sent to the wrong channel,
messages not getting sent at all,
messages get sent repeatedly

#

Flask is server-side

#

templates are server-side

#

SQL is very back-end

clear portal
#

very backend ๐Ÿ˜‚

vocal basin
#

if the web client is doing SQL queries, there are bigger issues to be worried about than the definition of front-end

vocal basin
viscid lagoonBOT
#

Her daughter is named Help I'm trapped in a driver's license factory.

rugged root
#

Classic

vocal basin
rugged root
#

Damn right

vocal basin
austere linden
#

Hello ||@vocal basin|| ๐Ÿ˜‚ ๐Ÿ‘‹๐Ÿพ

stark river
#

mypy has no clean way to handle vars defined with global keyword

vocal basin
#

does this misbehave/not work?

var: int

def func():
    global var
    var += 1
stark river
vocal basin
#

if it had type declared in a function, it would be less clean for basically the same reason why globals aren't clean

stark river
#

i don't know why the original author used globals ๐Ÿคท but there is not enough reason to change it in the script so i'm letting it go in my refactor

vocal basin
#

ah, if it's not your code then yeah, sad situation

#

generally

def make_stuff():
    return "stuff"
stuff = make_stuff()

over

def set_stuff():
    global stuff
    stuff = "stuff"
#

I think globals are acceptable-ish but when they're initialised outside

#

(language servers might be of similar opinion)

#

PyCharm probably doesn't care

#

Pyright I'd expect to complain

stark river
#

that reminds me i should install the python lsp before writing any further

uneven canyon
#

@gentle flint what u making?

rugged root
#

Oh my god, being on hold is agony

#

"Wait time is 6 minutes"

#

Liiiieeeessssss

uneven canyon
#

haha

#

what you on hold for?

#

if i may ask

stark river
#

6 mins the mcdonalds wait time

rugged root
#

One of our clients isn't able to access their paystubs on a portal

#

Thomson Reuters changed up how they handle accounts and it's screwed up so much

rugged root
#

Interesting is generous

uneven canyon
gentle flint
stark river
#

"our engineers are looking into it" == "the it guy is on hold with the service provider"

uneven canyon
#

hope you get it

gentle flint
#

it's basically done

uneven canyon
gentle flint
#

just finishing the last details

uneven canyon
#

Nice!

clear portal
#

wut ๐Ÿ˜‚

rugged root
#

17 min and counting

uneven canyon
#

your just stuck there

#

xd

clear portal
#

wut ๐Ÿ˜‚

stark river
#

u know what works... call on the "i want to buy a service" option

rugged root
#

I heard the laugh in my head

stark river
#

they always pick on that

rugged root
#

Sure, sales will pick up

#

But then I'll get transferred and have to wait all over again

#

Wouldn't be so bad if I didn't have to pee

stark river
#

i tried it with my isp.. they weren't picking up on the technical assistance option.. i picked the sales option and immediately picked up

#

i ripped them a new one

rugged root
#

It's different folks usually

stark river
#

it's the same folks.. downsizing in action

#

i asked for the shift manager and told him what his boys were up to

rugged root
#

Fuck it, I'll try again later

#

Back in a bit

uneven canyon
stark river
#

they won't pick up
and if it's > 10 mins then they don't have a metric to track if the cust support is picking calls or not

rugged root
#

Which is why I'm taking a food break then trying again

peak depot
gentle flint
#

this is the place I live in

peak depot
gentle flint
#

i would trip nonstop

peak depot
#

On the cats?

gentle flint
#

yes

#

right in the hallway

#

at 2 am

#

when I want a drink of water

peak depot
#

Yeah but they know how to dodge

gentle flint
#

oh that helps

peak depot
#

And I have a waterbottle in my bed

gentle flint
#

nice

peak depot
gentle flint
left leaf
#

@gentle flint

#

i have only one partition its a C drive

#

and i wanna degrade to win 10

#

without removing my stuff

clear portal
#

make a new one

left leaf
#

but what about the data

#

i did it with win 11

#

opened the setup without burning the iso

unkempt narwhal
#

xD

left leaf
#

and told me to install and keep personal files

#

this was the only way

clear portal
#

let say you have one drive
c: 20gig used. 30 gig free

#

make a new drive with the free space

left leaf
#

if i burn it i have to format the c drive

clear portal
#

move all the data to it

left leaf
#

" It's only 1 drive "

clear portal
#

ye

left leaf
#

i have 10 gigs free

clear portal
#

make a new patrition

left leaf
#

on total

#

so it's not doable

clear portal
#

it is

#

how much data you have

#

isit more then 10gig

#

?

left leaf
#

i want to save like 90

#

the ssd is 256

clear portal
#

you can do it partaliy but its gona be a pain

left leaf
#

that's why i used to launch it from the setup

#

it's only removing the system files

clear portal
#

make a new partion wit 10gig
move 10 gig to it
make an other patrion with 10gig

left leaf
#

and keep any folders outside the programs and windows files

#

it puge it all

clear portal
left leaf
#

there is a way but to the same version of windows

#

it's not working in the downgrade sadly

#

i have to completely format the C drive

clear portal
#

buy another drive

left leaf
#

wish so if it was an option wouldn't say no

clear portal
#

256 is cheap

left leaf
#

in the mean time i can't

#

i will try to get another laptop or smth and move all the 90 gigs 3 times from a 32 gigs flashdrive i got now

#

and re move them

clear portal
left leaf
#

it's full of data that i need too

#

so what your thinkin about not gonna work

clear portal
#

move 32G of the 90G to it
then you will have 40G free
make a new partition with size 40G
move the 40G of the data to it

left leaf
#

i swear volume problems is the worse

clear portal
left leaf
#

ain't no way

clear portal
#

๐Ÿ˜‚

#

get an external drive

exotic moss
#

yeah

#

or upgrade your internal storage and just move the data

clear portal
gentle flint
clear portal
#

full dark theme

#

also the "dark reader" browser extention is great

#

you can make any website dark

subtle kettle
#

only python pros has here wow

uncut ferry
#

you can use pprint to organize the printed text

vocal basin
#

json.dump has indent parameter

#

oh, no, it's py

#

you can also just run black on it

#

from cli

vocal basin
#

since some update, formatting isn't part of the Python extension pack, iirc

clear portal
#

!d pprint

wise cargoBOT
#

Source code: Lib/pprint.py

The pprint module provides a capability to โ€œpretty-printโ€ arbitrary Python data structures in a form which can be used as input to the interpreter. If the formatted structures include objects which are not fundamental Python types, the representation may not be loadable. This may be the case if objects such as files, sockets or classes are included, as well as many other objects which are not representable as Python literals.

The formatted representation keeps objects on a single line if it can, and breaks them onto multiple lines if they donโ€™t fit within the allowed width. Construct PrettyPrinter objects explicitly if you need to adjust the width constraint.

clear portal
#

i like autopep8

#

@gentle flint json.dumps(a, indent=4)

#

stdin | python -m json.tool

vocal basin
#

not so sure about formatting code with errors

wise cargoBOT
#

Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal

#

@whole bear :white_check_mark: Your 3.12 eval job has completed with return code 0.

hello world
leaden hill
#

sup nigus?

vocal basin
#

huh, black removes an extra newline
that's highly questionable

#

!e

import numpy
wise cargoBOT
#

@vocal basin :warning: Your 3.12 eval job has completed with return code 0.

[No output]
vocal basin
#

some libraries are installed there

gentle flint
#

!e
import numpy
print(numpy.version)

wise cargoBOT
#

@gentle flint :white_check_mark: Your 3.12 eval job has completed with return code 0.

1.26.2
leaden hill
#

still cant talk

#

damn$

gentle flint
vocal basin
#

!e

from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | anyio==4.0.0
002 | arrow==1.3.0
003 | attrs==23.1.0
004 | beautifulsoup4==4.12.2
005 | contourpy==1.2.0
006 | cycler==0.12.1
007 | einspect==0.5.16
008 | fishhook==0.2.9
009 | fonttools==4.45.0
010 | forbiddenfruit==0.1.4
011 | fuzzywuzzy==0.18.0
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/OXIRL4CIKT26VOTMC2JSXTXD5U

vocal basin
#

this is what it has installed

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @leaden hill until <t:1704398490:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

gentle flint
#

another one bites the dust

vocal basin
#

> โš ๏ธ DO NOT SPAM to meet these requirements, or you will be banned from verifying everything! โš ๏ธ

muted hinge
#

Mhmm

vocal basin
#

once misread it, can't unsee it now

gentle flint
#

in fact it doesn't just say DO NOT SPAM, it says DO NOT SPAM

clear portal
#

@gentle flint use httpx its better :)))

#

!pip httpx

wise cargoBOT
clear portal
#

async

#

ye but its cooler ๐Ÿ˜‚

#

is it?

#

cool

#

gn guys

leaden hill
#

damn

frozen owl
#

i think accuweather api is free?

leaden hill
#

what is up

#

guys

frozen owl
gentle flint
#

that's a really nice site

leaden hill
#

my bad wrong server

echo tartan
gentle flint
#

@boreal copper

somber heath
#

@frail cove ๐Ÿ‘‹

frail cove
#

Hello

#

I need to do some kind of verification if I want to join a voice chat, right?

somber heath
frail cove
#

Isn't it too strict? 50 messages seem to be a bit too much

somber heath
#

The sort of people to do that don't tend to be patient.

#

Have little interest in the social investment required.

#

"Fifty messages? I can do that! Spam spam spam"

#

Lack of attention to detail.

#

Ultimately, it proves to be a minor, acceptable negative which cancels out a far more impactful negative.

stable geyser
#

Yes 50 messages is a little too much.

somber heath
#

It's a speedbump, not a brick wall.

stable geyser
#

yes. I can agree with that.

#

and its also prove who is really interested.

#

I'm not eligible to talk yet !

#

blend is just comes out in my mind while I created my discord ID

#

social conduct are not matter anymore

#

no no, just saying

#

by the way, about this server maintained by python.org ?

#

ok. thank you.

#

I was looking for a server about live competitive programming, specially with python.

somber heath
#

Clash of Code, Hackerrank, Leetcode.

stable geyser
#

class of code?

#

I know that.

#

but I was looking for group or community where people talk about competitive programming

#

voice

#

Ok, no problem.

#

I will look for myself

lavish rover
warped raft
#

hello @whole bear

#

how are u doing

#

what's up

somber heath
#

@slim prism ๐Ÿ‘‹

#

@floral flicker ๐Ÿ‘‹

floral flicker
#

hi

somber heath
stuck sky
#

hi

stuck sky
#

hey opal

#

so i have a small question

#

like i've been working on databases for years
tbh i didnt know too much sql (syntaxs) i always knew datatypes fields and relations,validations (rdbms)

#

so i've been learning sql these days

#

so my question is why to even other learning sql

#

i mean for Create,Update Operation we can use any orm like django flask and most of the frameworks

eager thorn
#

@obsidian dragon

#

@obsidian dragon

opaque tusk
#

Can I get a job only python ??

#

guys

obsidian dragon
somber heath
gentle flint
#

my first job was python only

dark parcel
#

Hello, I want your help. I need to integrate Item forecasting on my Inventory system but I don't know what method should I use. I found EOQ model but that's not item forecasting. Can you help me with that?

#

can you unmute me?

eager thorn
wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

wind raptor
#

-= LEARN =-Everything in a computer can be constructed from a basic component called a NAND gate. You will be challenged through a series of puzzles, to discover the path from NAND gates to arithmetic, memory and all the way to full CPU architectures. If you complete this game, you will have a deep understanding of how assembly, CPU instruction ...

Price

$19.99

Recommendations

2155

โ–ถ Play video
peak depot
left leaf
left leaf
peak depot
#

leipรคjuusto

stark river
#

obviously i'm in the python server becoz i see a bunch of food stuff /s

gentle flint
#

want more

peak depot
#

CHEESE!!!

stark river
#

besides this looks like taken off some website

gentle flint
#

how about some tabbouleh

gentle flint
#

I've made some before though

#

albeit without lobster

#

same for the tabbouleh

#

@peak depot I keep hearing nurts

stark river
#

js devs are more interested in the shape of the pot than the ingredients /s

#

for those who didn't get it ... that's a reference to their stupidly intense interest in frameworks ๐Ÿ‘†

#

anybody know any (electron) app for chatgpt?

mystic lily
tender horizon
#

@gentle flint what happens if you invert the weights?

#

like weigh the scale

#

Yeah

#

wow

#

Lol

#

I can't use my voice :(

#

It's not verified yet

tender horizon
#

LMAO @whole bear

#

I'm laughin my arse off

whole bear
#

Lolol

tender horizon
#

I need 50 messages btw do my messages here count?

#

Oh thanks

whole bear
#

Yeh

tender horizon
#

Lol

somber heath
#

@willow garnet ๐Ÿ‘‹

tender horizon
#

You guys sound way older than me TuT

willow garnet
somber heath
#

@pliant mauve ๐Ÿ‘‹

willow garnet
#

can't hear

tender horizon
#

Check ur speakers, it's fine for me

somber heath
tender horizon
#

@gentle flint why tf is your house so clean lol

somber heath
#

There's a breakdown of age groups in the surveys they do here.

tender horizon
#

I'm 18 so it's chill i guess

#

I'll be 19 in a week :)

willow garnet
#

it's showing dtls connecting and stuck

tender horizon
#

Yeah WAIT DID YOU THINK I WAS AAA KID OR STH?!

#

I've been told I sound like a kid

#

So it's not new :(

gentle flint
tender horizon
somber heath
#

Plome leaves everywhere he goes better than he finds it.

tender horizon
#

@whole bear IS 12 YEARS OLD I PROMISE LOL

tender horizon
#

๐Ÿ’€

#

Lol

#

I'm back hola

mystic lily
tender horizon
#

AYO

#

WTF

#

EWW

willow garnet
#

why is it showing dtls connecting and stucked there???

somber heath
tender horizon
#

HEY GUYS HOW OLD DO I SOUND?

#

DOES TALKIN IN CAPS MAKE ME SOUND MORE LIKE A KID

peak depot
tender horizon
#

@whole bear YES

somber heath
tender horizon
#

LMAO

somber heath
#

@fringe holly ๐Ÿ‘‹

tender horizon
#

I SHOULDN'T HAVE

fringe holly
#

hi

tender horizon
#

TUT

fringe holly
#

are you guys profressional programmers?

somber heath
#

@high bramble @deep sierra ๐Ÿ‘‹

tender horizon
#

WHO IS SPEAKING?

#

IS IT BLU?

#

Yeah

willow garnet
tender horizon
#

LOL

#

15

willow garnet
#

do I have to restart my pc ๐Ÿ˜ข

tender horizon
#

I'M DYING

somber heath
tender horizon
#

HE SOUNDS 20ISH

#

OH CLOSE THO

fringe holly
#

how old are you 12 year old

tender horizon
fringe holly
#

yes

tender horizon
#

Wait I thought @whole bear was the girl speaking

#

Who's whe?!

#

she**

#

OH

fringe holly
#

wait I thought 0x was still in the single digits

tender horizon
#

LMAO

tender horizon
fringe holly
#

Louie sounds 22

tender horizon
#

0x sounds 20 as well

#

@peak depot Sounds 12

#

I'm short :(

#

I'm like 5'8

fringe holly
#

hes 5'2

tender horizon
#

LOL

fringe holly
#

im 5'7 Opal

tender horizon
#

ANYTHING ABOVE 6 IS GOOD

#

STOP CRYING OPAL

fringe holly
#

do you guys have any tips for being able to focus on learning code I got shit focus

tender horizon
#

WAIT WTF

#

EWW MILIEN

#

LOL

somber heath
#

@woeful relic ๐Ÿ‘‹

fringe holly
#

0x didnt you say you were 16?

tender horizon
#

0X YOU WERE 16

somber heath
#

0x10

tender horizon
#

LOL

fringe holly
whole bear
#

Well yes but Im a drunk 16 year old

tender horizon
#

@peak depot Are you 12? ๐Ÿ’€

#

WHAT

fringe holly
#

THATS INSANE

tender horizon
#

WAIT WHAT

#

SHE'S MORE THAN TWICE MY AGE

fringe holly
#

bro is 4x 0x's age

willow garnet
#

38 wooo

tender horizon
#

YEAH SHE IS

somber heath
tender horizon
#

MOMMY ๐Ÿ’€

fringe holly
#

Opal 0x is only 9

tender horizon
#

LOL

fringe holly
#

im 20