#voice-chat-text-0

1 messages · Page 361 of 1

vocal basin
#

without /

upbeat bobcat
vocal basin
#

it asks to install python3-venv

upbeat bobcat
vocal basin
upbeat bobcat
vocal basin
#

sudo apt install python3.10-venv

#

as for activation, yes

#

source .venv/bin/activate if I remember correctly

upbeat bobcat
vocal basin
upbeat bobcat
vocal basin
#

I don't know how to configure WSL-provided python in VSC

winter token
#

@worldly robin

worldly robin
winter token
#

https://youtu.be/6DxUvfTXupQ?si=KqMHNa5iFIdF1SI2

#

how did this guy fake this

#

did he replicate the whole website

worldly robin
#

You can ask here .Somebody will reply. Just ask, explain, while in voice chat.

winter token
#

ty

gentle flint
#

on the very day you have joined

winter token
#

i just want to know

#

how he fakes that

winter token
junior vigil
#

thanks

#

oh wait

#

i

#

need

#

to

#

send

#

more

#

messsages

#

hol up

#

gang

somber heath
#

@brisk acorn 👋

brisk acorn
#

i don't have voice perms yet

#

hello

somber heath
#

!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.

somber heath
#

@river geyser 👋

brisk acorn
#

i have sent less than 50 messages

#

but after that i get perms i think

#

can i see how messages i need to fulfill it

upbeat bobcat
#

!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.

brisk acorn
#

yeah i found it

#

i need like 33 more messages i think

#

i think i could reach that

#

in like an hour

#

yes

#

how long have you been programming in python for

#

whats your primary occupation

#

yeah i agree

#

thats fine

#

do you know any other languages (coding)

#

haha i get you

#

do you play any games

#

felt

#

yeah i feel like many games nowadays lack to entertain the user

#

the past few games that i've liked were indie

vocal basin
#

which game?

brisk acorn
#

looks really cool

#

ill add it to my wishlist

vocal basin
#

first time seeing this one

brisk acorn
#

cuzits about theplague

vocal basin
brisk acorn
#

looks very high quality 4k

vocal basin
#

game engine was by a different studio seems like

brisk acorn
#

its french

vocal basin
#

and that original studio got defunct

brisk acorn
#

by Asobo

quartz beacon
#

hi

#

lost my mic

brisk acorn
vocal basin
brisk acorn
#

yeah but the studio behind it

vocal basin
#

and Asobo Studio bought many things from Kalisto Entertainment

#

many being at least two

#

a game and an engine

brisk acorn
#

cool

#

@quartz beacon did you see the guy who made a rechargable battery pack from the lithium-ion batteries of disposable vapes

#

its really good tech

#

that is crazy work

vocal basin
#

this reminds me of a certain research into how type-c-charged laptops interact when they connect them together

brisk acorn
#

consult an interior design for that

brisk acorn
#

with type c chords

vocal basin
#

I accidentally found that, not through her tweeter

#

https://news.ycombinator.com/item?id=34439112

Later in the conversation someone links to a Twitter exchange which I found quite interesting:

(@ m_ou_se) I just tried to charge my phone by connecting it to my laptop (with USB-C), but instead of my phone, my laptop started getting charged, quickly draining my phone's battery. Uh, what.

(@ Gankra_) in case you aren't familiar: there was a semantic function of asymmetric usb cables that symmetric usb-C has broken. to "fix" this, each device picks a number for how subby it is, and the less subby one is the dom and charges the sub. these numbers can be surprising.

(@ m_ou_se) After some experimenting, I concluded that Dell laptops are the most powerful USB-C PD doms followed by ThinkPads, while phones and MacBooks are (equally) subby. Connecting phones and MacBooks with each other results in a switch fight.

#

the wording is peculiar

#

last sentence also

vocal basin
#

also:
four Blåhaj, including a red one
https://youtu.be/DnYQKWs_7EA

Project Update: Libs Team by Mara Bos

A story about how things get stuck, and how to get things moving again. Taking improvements to the standard library's locks as an example, we'll take a look at how large efforts often get stuck, and explore what can be done in such situations. We'll look into breaking problems apart, how to narrow the scope...

▶ Play video
brisk acorn
#

@vocal basin have you heard of nerdforge

vocal basin
#

I don't think so

brisk acorn
#

its not really centered on electronics but more like engineering overall

#

its a yt channel

#

this is my 50th message

vocal basin
#

(messages in #bot-commands don't count)

#

what a protest

#

they're clearly a postmodernist

quartz beacon
vocal basin
#

I gave up on doing anything instrumental 7 years ago

#

only vocals since then

quartz beacon
brisk acorn
vocal basin
#

the only song ever released with my voice in it is featured on album which is, quote, punk rock/nu metal/alternative rock

#

but that's quite an assumption to think we actually know what genre of music we do

empty herald
#

hello guys whats mean this in python

parser.add_argument('-ri', '--reverseip',
type=str, help='reverse ip lookup',
metavar='IP')

tepid jackal
#

Whats up @stark river

warped anvil
#

@stark river

sharp flare
#

!rank

wise cargoBOT
#
Pythonic way of iterating over ordered collections

Beginners often iterate over range(len(...)) because they look like Java or C-style loops, but this is almost always a bad practice in Python.

for i in range(len(my_list)):
    do_something(my_list[i])

It's much simpler to iterate over the list (or other sequence) directly:

for item in my_list:
    do_something(item)

Python has other solutions for cases when the index itself might be needed. To get the element at the same index from two or more lists, use zip. To get both the index and the element at that index, use enumerate.

sharp flare
#

/rank

#

@stark river how do I see how much messgaes I sent?

stark river
#

dont know

#

check #bot-commands

somber heath
#

@slender flame 👋

#

@slender remnant Twisted

somber heath
#

@mossy moon 👋

mossy moon
somber heath
#

!guilds

wise cargoBOT
#
Communities

The communities page on our website contains a number of communities we have partnered with as well as a curated list of other communities relating to programming and technology.

twin python
#

i am facing some isssues with java script in my vs code it states sh not found tried reinstally jdk and node js still didn't work

upper basin
#

Copilot being lazy.

gentle flint
oak kelp
#

good morning guys

gentle flint
somber heath
#

@thick hinge 👋

thick hinge
#

hello

#

what's your favourite pancakes toppings?

peak depot
#

everyone is robot

whole bear
#

LOL

pulsar tundra
#

lol

lavish rover
#

@edgy oasis hi

#

!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.

lavish rover
stark river
lavish rover
#

You can't do server side validation if there is no server side 🤷‍♀️

stark river
lavish rover
#

why do you need a service worker? Why not just validate the data in the normal app?

#

server-side validation is generally to make sure a malicious client doesn't send intentionally bad data to a server to corrupt the data there. If it's a client side application only then this isn't a concern...

merry cargo
#

can someone help me with coding im new where do i start help please

stark river
merry cargo
#

@stark river check dms bro

lavish rover
#

nobody is there to even trust the application

merry cargo
#

im new to coding like can someone teach me the basics or send me a link please

stark river
lavish rover
#

you can add normal validation to the code, but you can't stop a sufficiently motivated person from breaking your client side application since you're literally giving them all the code to run on their machine. that's what server-side validation aims to protect

#

in human terms:
if someone (client side) is telling you something (server side), you want to make sure what they are saying is true before you believe it.

if someone is thinking something to themself (client-side only application), there's nothing you can really do, they are free to think what they want

upper basin
vocal basin
#

for now emulated using slab and indices

#

but I'm planning to add pointer-based ones

pulsar tundra
#

Can you guys help me ?

#

I have a question

vocal basin
#

it's actually going to be 8 doubly linked lists sharing nodes

wind raptor
vocal basin
#

I'm not making a deque

pulsar tundra
#

What is a virtual environment and how to work with it

#

I am a beginner sorry

#

yes

vocal basin
pulsar tundra
#

yes

#

thank you

vocal basin
#

so you end up with holes instead

#

that you need to compact from time to time

#

I know how to do that, and that's what CCMS uses

vocal basin
#

one more thing

pulsar tundra
#

informative sounds good

vocal basin
#

I need allocation per item

#

for fixed memory location

#

see Pin for why

#

I want to remove Unpin requirement from items

#

if you look into futures crate, there's a lot of linked lists inside actually

vocal basin
#

and probably should be

#

but

#

that thing is going to be at least 16 pointers in size not counting the item

#

that's around the size of a cache line

pulsar tundra
#

@wind raptor Can you help me please with another matter?

vocal basin
#

what a funny cut-off

vocal basin
#

so at that point there is no real gain from putting many of them in a single allocation

#

each item is a stream, which is expected to go through megabytes of data per second, so having extra kb per each stream isn't that much

pulsar tundra
#

So I have experience in programming in c++ and also c#,I know the basics of programming and also a pretty good amount of information about OOP.I would like to learn more about Python .Do you have any suggestions on where I should look to make my learning experience better?

vocal basin
#

!resources

wise cargoBOT
#
Resources

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

vocal basin
#

meeting time at work woohoo

#

brb

wind raptor
pulsar tundra
#

thanks

upper basin
#

If you're just getting started, MIT OCW's 6.0001, 6.0002, and Harvard's CS50 are really good.

#

OCW is a gold mine if you put in the time.

#

Ohh, and educative is also really good. I am learning c there.

pulsar tundra
#

I know data structures , fundamental algorithms and also some oop

pulsar tundra
upper basin
#

Pleasure.

pulsar tundra
#

@wind raptor thank you also

wind raptor
#

!paste

wise cargoBOT
#
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.

lime fractal
#

e

#

.bat

upper basin
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

upper basin
#

I'd move on. A moderator has warned you now.

#

Just move on from this discussion.

vocal basin
#

I'm back

#

imo there should be two separate requirements.txt things

#

one, from pip freeze, like a lockfile

#

another manually written one

upper basin
#
pip install -r requirements.txt
upper basin
vocal basin
#

requirements.txt is for programs

#

not libraries

#

normally

#

for libraries, you need for tests

upper basin
#

Libraries can use other libraries right?

vocal basin
#

yes, but you don't write deps in requirements.txt in that case

upper basin
#

Wouldn't you need/benefit from a requirements.txt?

vocal basin
#

no

upper basin
#

How so?

vocal basin
#

it should be in pyproject.toml

upper basin
#

OHH

#

Ok, I have both, so I guess I don't know the difference.

wind lake
#

this is interesting to watch, I am a beginner but intrigued by this xd

vocal basin
#

requirements.txt isn't automatically invoked when installing the library

upper basin
#

Wait, I think I get it.

#

So, you would use a pyproject.toml for libraries (aka code you install to develop with), and requirements.txt for programs you will use as is?

#

You're right, pyproject.toml makes more practical sense for libraries.

vocal basin
#

I also sometimes split requirements.txt into parts for better Dockerfile use

wind raptor
vocal basin
#

frequently changing deps in a separate file

jovial iris
#

@heavy birch here

heavy birch
jovial iris
#

@upper basin what's your ram usage with that many tabs in edge ?

vocal basin
#

on my new server I don't even have a GPU

primal shadow
vocal basin
#

not even integrated

#

I'm confused

primal shadow
#

@lime fractal

vocal basin
#

why the fuck is this enabled by default

lime fractal
wind lake
#

what is that...

lime fractal
#

Food

peak depot
primal shadow
#

What was smoking?

upper basin
#

34 teams
902 submissions

#

How?

willow light
#

someone hit submit every time they hit ctrl+s?

#

@upper basin since we can see your dms, freecodecamp is good. especially their devdocs tool

wind lake
#

Nice ty for that

upper basin
#

I know. I haven't tried freecodecamp, didn't say it was bad.

wind lake
#

I know the pain of one monitor xD

lime fractal
#

What is that

wind lake
#

got a 360hz 1440p one on main and a 240hz 1080p sat collecting dust xd

#

oh damn nice game

upper basin
#

It's lousy I know hehe, you are too kind.

#

It's very easy to make, I made that in 30 mins. You just take images as sprites (game objects as pictures), and then define actions for them.

#

And then you define rules for collisions.

#

That's it for the basics. Then you can work on making maps, a story, something that progresses beyond a 2D map hehe.

wind lake
#

I made like a physics based game on unity back a few years ago but kind of forgot most of my knowledge for anything 😅

fair knot
#

does anybody know ursena or ursina engine??

wind raptor
wind lake
#

and a few websites for friends minecraft servers but thats abt the extent to what I did

willow light
#

enjoy my cursed layout

upper basin
#

Good that you know it's cursed.

willow light
#

but it works for my purposes

wind lake
#

that hurts my eyes haha

#

I thought it was ants eyes with mandibles lmfao

upper basin
#

I am sure, piloting a space ship is hard.

willow light
#

and my programming style

upper basin
upper basin
#

I think yall would enjoy this.
https://www.youtube.com/watch?v=6qD9XElTpCE

Hear the story of Shor's Algorithm, straight from the source, Peter Shor.

Your formal invite to weekly Qiskit videos ► https://ibm.biz/q-subscribe

Though Shor’s Algorithm is widely known, the story of how it was discovered isn’t. Speaking from MIT at the 40th Anniversary of the Physics of Computation Conference, Peter Shor recounts his journey...

▶ Play video
willow light
# upper basin Matrix style?

limited keys means I have to get creative with macros, tapping vs holding, and keys that I don't use as often.

upper basin
#

He's a celebrity at this point.

upper basin
#

Kish kish kish, summoning jutsu.

#

@primal shadow my condolences.

willow light
upper basin
#

PvP games are too stressful, I just want to pwn AIs whilst I am faster and smarter than they are.

willow light
#

Or I can just disable them entirely

upper basin
willow light
#

Nah, I'll just get blank keycaps and then ask the IT department to help me with a keyboard issue

upper basin
willow light
#

or, since I touch type, change the keycaps to use dvorak just to screw with people

upper basin
#

*Accidentally summons HR

willow light
#

specifically the people who peck type

upper basin
#

!rule 5 goddamit.

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

upper basin
#

Normal stuff.

#

Are you interested in milsim and military stuff? There's servers for those.

#

This is the python server.

#

python the programming language, not python the JTF.

#

@vocal basin should I delete my requirements.txt and just keep my pyproject.toml?

vocal basin
#

brb; call

upper basin
#

Oh my bad.

vocal basin
#

back

#

a call to just explain that "user" is a username and "manager" is another username not a password for the user

vocal basin
upper basin
vocal basin
#

then keep requirements.txt

upper basin
#

I added you to the repo, you can also have a look if you like.

vocal basin
#

and in that case requirements.txt is supposed to be from pip freeze

upper basin
#

Shouldn' it be 2 2?

upper basin
upper basin
vocal basin
primal shadow
upper basin
#

Yeah.

lime fractal
#

tinkercad

upper basin
#

Ngl, this is getting annoying.

#

Mute yourself, please.

#

I am going to just mute him.

stuck furnace
#

Hey

#

👀

#

Not bad

#

You?

#

I've come down with a cold and now have to convince myself it's worthwhile going to the gym today

#

Ah yeah

#

I'm just really trying not to pass it on to a family member who's going on vacation in a couple of days 😄

#

Other than that, it's fine

twilit comet
#

if you are using laptop , look at CPU, its either HS HX

#

i think normal U G H arent overclock able

stuck furnace
#

@lime fractal is Krisp available on your system?

#

If so, please turn it on.

twilit comet
#

are their any python libary , which auto run my code in different thread ?

stuck furnace
twilit comet
#

awww i mean you know if am doing , search on CSV like 1 million , can i auto like divide my task in thred rather then like using normal threding

#

is their software which every youtuber use , cinebench

stuck furnace
#

Is this an application where you need low latency? A 1 million row CSV doesn't seem large enough to require subdividing.

stuck furnace
#

Oh right

twilit comet
#

so any libary in mind ?

stuck furnace
#

For very large data sets (too large to fit in memory) there are special tools like Apache Spark.

#

In python a relatively simple way to split a task up is to use the concurrent.futures module in the standard library.

rugged root
#

I keep forgetting those are a thing

stuck furnace
#

But until Python removes the GIL, you won't get any practical speed up for CPU-bound tasks using a ThreadPoolExecutor, and ProcessPollExecutor probably has too much overhead to be worthwhile for most applications.

#

Thread pool executors are still worthwhile for IO-bound tasks, like making lots of web requests. IO-bound means the program spends a lot of time waiting around on input/output. CPU-bound means that the limiting factor is processing time on the CPU.

gentle flint
#

why not exercise at home for a day
save the gym members from colds and yourself from suffering

stuck furnace
#

I already skipped the gym last week. I'm withering away 😦

gentle flint
#

alas, you poor ethereal wisp

whole bear
#

@undone inlet Can you touch type?

undone inlet
latent frost
#

!resources

wise cargoBOT
#
Resources

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

south temple
#

🥔

#

that emoji does not look good

whole bear
#

hello

#

Ahh i cant talk

#

my microfone is supressed

#

XD

#

im studyind for my OO test

#

its kinda difficult

#

for me

#

Lmao

#

I'm making classes with @property method and

#

setters

#

i just do it on java but in python its so weird

#

so, in the python we dont have the private atributes

#

cuz in the java (intelj) its all automaticly

#

in python u need to do it by yourself

#

asdfgh

#

i'm gonna explode

#

i wanna study java

#

not python

#

but i need it

#

i know, but in java i can do my minecraft mod XD

#

really?

#

jaizsquark i'm a spongebob chicken

#

i'm brazilian, so sorry for my bad english

#

i cant have a normal comunication whitout missing the grammar

bleak copper
whole bear
#

holy crap

#

thx man

bleak copper
whole bear
#

i didnt know that was a library for mincraft modding in python

#

thxx

#

ill save it

bleak copper
whole bear
#

ok, i really apreciate this bro

#

THX

#

LOL

#

I used to have a bias against Python because of its syntax.

#

true

#

sometimes i get TLE when i was doing the competitions of programmation

bleak copper
#

TLE?

whole bear
#

time limit exceeded

#

like in beecrowd

#

on exercises

#

when the programm take to long to responde

#

respond*

#

yeh, but the real problem is when u run the for within other for statement

#

yep

#

Do you know how I can create a Python program that works as a controller and changes the LEDs on an RGB keyboard?

#

hi

#

the I've already tried using the SDK, but the company doesn't make it available

fossil thicket
#

say that again?

#

something about my keyboard'sdriver?

whole bear
#

I tried reverse engineering, but I have no idea where to start

#

its to complex

fossil thicket
#

oh wait nevermind my bad

#

pepino u would want something like a raspberry pi

whole bear
#

yeh, but here in brazil, thats so expansive

#

with the taxes

#

real

#

1 dollar = 5 reais

#

but here, we have so much taxes due to the government

#

i gotta go

#

C U @bleak copper

#

fighters in chat

whole bear
#

your baseball commentary is great

#

you're doing gr8

bleak copper
whole bear
#

@weary sail what's your web security question?

lapis rock
# bleak copper

This wouldn't happen to be Sheldon from the Big bang theory? 😂😂😂😂

whole bear
#

what made you come here for that

#

lol

#

i don't know shit so

#

haha

#

awesome

#

what's a django cookie cutter

#

ill just google it

#

i see

#

i like to learn about the problem i have at hand

#

so probably concept by concept

#

30 dollars

#

idk man

#

i guess it depends on the concept

#

do you have a website?

bleak copper
#

conceptual.fyi

whole bear
#

pretty cool

#

maybe derek can attack it !

#

the xss god

#

yeah im full of good ideas

#

what's the tech stack

somber heath
#

Hey hi, all.

upper basin
#

He needs to say hell yeah.

somber heath
#

Everyone squeeze the Hemlock.

#

Squeaky noises.

noble solstice
#

Hello Guys!!

somber heath
#

The echidna came by, today.

#

It's that so they can reuse the phone?

rugged root
#

Of course, gotta call the vendor

#

Haaaaate

#

The support guy sounds like he has a mouth full of marbles

#

It's so hard to make out what he's saying

somber heath
#

@frail python 👋

frail python
whole bear
#

@cedar mason which criminals have you stopped

rugged root
#

Oh god, is there an ethical hacking conversation happening?

somber heath
#

@solar swift 👋

rugged root
#

And here I am stuck on a call with support

somber heath
#

The topic has moved on.

upper basin
#

Now we're talking about dealing in arms.

rugged root
#

Noice

whole bear
#

damn i missed it

upper basin
#

Screenshot it!

rugged root
upper basin
#

Hemlock supports dealing arms.

#

Heheh

rugged root
#

Oh oh oh oh oh oh, have you folks seen Balatro?

#

They recently had their mobile release

upper basin
#

It's a card game?

rugged root
#

Deck building. You try to go through various rounds by building poker hands. You get other cards to make the hands worth more points, added effects, etc.

#

It's great

solar swift
upper basin
#

"I want something accurate, robust."

whole bear
#

PCP?

whole bear
#

what

gentle flint
whole bear
#

what the fuck am i hearing

dry jasper
whole bear
#

cute doggo

#

pew pew

upper basin
#

I'd like to be a gunsmith in a game like COD hehe.

#

Just players coming in, saying what they want, and I'd make a gun for them.

#

"Whadaya buyin stranger?"

whole bear
# dry jasper

how much did that cost to make and what'd you sell it for

rugged root
whole bear
#

lmao

#

what the fuck

#

that sounds fun

dry jasper
whole bear
#

I don't see any point to hiding who I am since I have nothing to hide.

#

carrier pigeons!

#

that's a good thing

#

i feed off my phone's IR like a plant feeds off the sun

#

@cedar mason let's talk more about your dark net contacts

#

@cedar mason Bro could you help me with touch typing?

#

my hand are super tired learning touch typing

cedar mason
#

I'll just respond in chat bc i don't wanna talk overxd

whole bear
#

Okay np

cedar mason
whole bear
#

i just wanted to hear what you had to say about them

#

im not interested in meeting them

cedar mason
whole bear
#

like who

cedar mason
whole bear
#

So I decided to learn the method to use all fingers

cedar mason
whole bear
#

lolol

whole bear
cedar mason
whole bear
#

By touch typing I mean ability to type using all finger without looking

whole bear
#

keyboard

cedar mason
#

Unrelated XD

#

i see

#

Well idk anything about theory etc.

I remember a few classes as a child but my keyboard is basically a body part extension so i just do it as second nature

whole bear
#

can anyone help me with my python calculator app

cedar mason
#

xd

whole bear
#

can i have your github

#

i need to see if you've written a calculator app

cedar mason
whole bear
#

do you self-host one?

#

git, i mean

cedar mason
cedar mason
whole bear
#

xd

cedar mason
#

Idk if u heard the talk a min ago but as i said i'm basically a ghost XD

whole bear
#

cool

cedar mason
#

idk if there is a learning curve to blind typing

#

maybe if i have a manderin keyboard

#

😄

whole bear
#

How can I improve my typing?

#

I mean I have reduced to just 25 wpm now

cedar mason
cedar mason
#

Or Azerty

whole bear
cedar mason
#

I mean i could give u some basic tips

#

the 'f" and "j" have a mini button that gives indicators of the location

whole bear
#

Yes

cedar mason
#

qwerty is always gonna be on the second highest postion and unless you use f keys you probably will be hands on the letter keys most times

#

Helps? 😄

#

Let me know

whole bear
#

Yes

cedar mason
#

idk what else to say.
I mean that's basically the only things i need to type fatt

#

fast*

whole bear
#

Got it

#

Thankyou mate

cedar mason
cursive gust
#

How to learn python without learning

midnight birch
#

``Select F.title
From inventory I
Left Join film F
On F.film_id = I.film_id
group by I.film_id
having count(F.title) =
( SELECT MIN(count_film_id) FROM
( SELECT COUNT(film_id) AS count_film_id
FROM inventory
GROUP BY film_id )
AS temp_table );

supple cove
#

<rant> the problem with good automatic moderation is that it makes it impossible to discuss moderation. If you're not allowed to say frick, you can't talk about people who said frick! </rant>

pliant fulcrum
#

can someone help me install requirements every time im trying to install it im getting an error

stark river
# pliant fulcrum can someone help me install requirements every time im trying to install it im g...
freeCodeCamp.org

By Stephen Sanwo When developing software with Python, a basic approach is to install Python on your machine, install all your required libraries via the terminal, write all your code in a single .py file or notebook, and run your Python program in t...

brazen robin
#

hello

solar jewel
#

hey

lime fractal
#

Any1 vc

naive elk
#

hi

#

hru

#

im alright how r u

#

HOW ARE YOU

#

how do you not know what "hru" means

#

it means how are you

#

english?

#

💀

#

are you okay you seem out of breath

#

living the dream

#

well,

#

its sarcasm

#

what r u doing on python

#

cold

#

thats a lot of emails

#

from who 😭

#

no

#

dont

#

hes trying to get u to download a mod

#

its a virus 💀

#

hes getting you to download a virus

earnest apex
#

momo nor

#

or nor

#

lol yes

#

LOOOl

#

my cats name momo

#

and nor like Zorro Norro

#

put em together

#

I didnt not know

#

send me link

#

lol

#

wow

molten pewter
earnest apex
#

im a walking offence

#

why are you magical girl

#

and t-isIdori

#

tis I

#

like old english

#

oh

#

i never heard the name

#

wow

#

so i am verified but still cant unmute lol

vocal basin
#

reconnect

earnest apex
#

it worked

vocal basin
#

woohoo

#

time to remove assert safety rails from the code

#

"removing code is always fun"

#

VBA

#

(the Visual something in MS Office)

#

I don't use AI for code assistance

#

for me it's still just a toy

#

even "it can give you some hints, paths to potentially follow" hasn't been the case once for me

#

!resources

wise cargoBOT
#
Resources

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

vocal basin
#

!kindling

wise cargoBOT
#
Kindling Projects

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

vocal basin
#

I'm working with Rust mostly, in the last two years

#

infrastructure and web

molten pewter
vocal basin
#

eh

#

"just get good at one language" is a very cringe suggestion

wintry osprey
vocal basin
#

I'm deeply convinced focusing on learning only a single language for several years will lead you to worse knowledge of that language

#

(you will have to interact with other languages anyway)

#

if you go 99% Python it will yield worse knowledge of Python than 95% Python

#

working with CPython => you will eventually run into C, and that experience won't be fun

earnest apex
#

in 273736 years
eventfd(0,EFD_CLOEXEC|EFD_NONBLOCK)

#

what is this?

#

Alisa

vocal basin
earnest apex
#

what you waiting for

vocal basin
#

whether it shows as "in 273736 years" or "invalid date" seems to bepend on the timezone

#

eventfd(0,EFD_CLOEXEC|EFD_NONBLOCK) is how an event file descriptor is created

#

which is used for in-process asynchronous communication

earnest apex
#

hmm i see

#

I was wondering why the random date in the future

wintry osprey
#

Information Technology sounds so cool tho...

vocal basin
#

IT in NA and non-NA has somewhat different meaning

#

IT in Eastern Europe is commonly used as a synonym to Computer Science

vocal basin
wintry osprey
#

Righttt

#

In philosophy, IT refers to computers

molten pewter
vocal basin
#

VSCode has .ipynb support

#

@molten pewter jupyterlab might be slightly better since it shows the file explorer and where files are and whatever

#

ed -- not even code itself is distracting you since you can't really see it

vocal basin
earnest apex
#

what does IDE mean?

vocal basin
# vocal basin https://hub.docker.com/r/jupyterhub/jupyterhub/

things I do to make it work:

  • install jupyterlab
  • install notebook
  • install git
  • install jupyterlab-git
  • install numpy
  • install scipy
  • install matplotlib
  • install tslab
  • install gcc
  • install rust
  • install evcxr_jupyter
  • install build-essential
  • ln -s /bin/gcc /bin/cc
  • install black[jupyter]
  • install typing-extensions
  • custom jupyterhub_config.py
  • mount /etc
  • mount /home
  • mount /srv/jupyterhub
#

with TS and Rust addons, which is where the main fun is

#

I should also add C half-interpreter-half-compiler

merry cargo
#

.

vocal basin
#

amazing

#

@molten pewter discord bots are okay, self-bots aren't

#

the questionable part is when it's through a user account

#

"there is exactly one reason to watch primeagen:
watch him react to an actual bad article and reinforce your negative opinions on the subject"

#

theo, another youtuber

#

I watch videos like that just because I prefer listening

#

I'm not really thinking I'm learning from that for a single moment

#

like there's some rare "I didn't know that, and this might be useful" stuff but that's not really something I'd call learning

#

for example, the thing about how <div/> is wrong

#

just the entertainment of watching primeagen realise that it actually is wrong in HTML

lavish rover
#

tsoding

#

andreas kling

vocal basin
pliant fulcrum
#

can you help me?

vocal basin
vocal basin
pliant fulcrum
#

still doesnt work

vocal basin
#

activate the venv

pliant fulcrum
#

i did

vocal basin
#

what does where python3 show?

vocal basin
pliant fulcrum
#

yeah

pliant fulcrum
vocal basin
#

there seems to be no (venv) prefix in there

#

doesn't look activated

pliant fulcrum
#

its an old pic

#

i had a venv prefix and it still didnt workde

vocal basin
#

what error did it show that time?

pliant fulcrum
#

same

vocal basin
#

it's going to be 8 once the Slab is gone

vocal basin
true elm
#

thanks for letting me know @molten pewter

vocal basin
#

once you activate the venv again, make sure pip3 and python3 are pointing to inside the venv

#

if only python3 is correctly overriden, then use python3 -m pip instead of pip3

pliant fulcrum
#

i wanna start with coding can you tell me where i can learn it

vocal basin
#

!resources

wise cargoBOT
#
Resources

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

vocal basin
pliant fulcrum
#

damn

vocal basin
#

for video tutorials, Corey Schafer's content is often recommended

pliant fulcrum
#

How long did it take you to learn Python coding?

vocal basin
#

(up to what level?)

#

there isn't really a point at which learning can be considered "completed", it's a very long and continuous process

pliant fulcrum
#

up to the level where the codes started to work

vocal basin
#

I started using Python in September 2017;
first project for use by other people I started in January 2018

#

so a gap of 4.5 months of only learning and experimentation

#

in parallel to that, I was using C# (started a week before Python)

pliant fulcrum
#

what type of projects are you coding?

vocal basin
#

recently, mostly networking- and system-related, and some amount of web dev

pliant fulcrum
#

what can i do with ruchei?

wise loom
# pliant fulcrum still doesnt work

after you use venv and activate the environment, pip should work out of the box no errors.
if it does give you errors, you may use --break-system-packages but again, shouldn't be necessary.

vocal basin
#

one of the things I use ruchei::multicast for is to sync state between multiple tabs in a game I made

vocal basin
#

I'd expect not

pliant fulcrum
vocal basin
#

I'm planning on writing Python wrappers for some of the things there

pliant fulcrum
#

im a beginner started 3 days ago

wise loom
vocal basin
#

twisted itself is a runtime/framework

#

ruchei is just a library to compose Streams together

wise loom
vocal basin
#

you can potentially even use twisted to embed ruchei into Python if you pick the interfaces correctly

vocal basin
#

involving some eventfds to get working

vocal basin
pliant fulcrum
#

thx for your help guys i think imma go to sleep

vocal basin
vocal basin
#

and ruchei provides two components you can combine together to achieve a similar thing in Rust:
.multicast() and .echo() combinators

#

the "send a message to everyone" logic is non-trivial when you need reliability and performance

wise loom
#

does Twisted not already do what Ruchei does?

vocal basin
vocal basin
rugged root
#

What're you nerds up to?

vocal basin
#

if you were to write something like ruchei in Python, you would use something like twisted as a dependency

vocal basin
#

or rather 16-ly

#

I've been thinking of drawing that but then I realise I'm too lazy to do it

#

I should make something that auto-generates the visualisation for me

wise loom
#

ig there is room for more clarity on the use-cases where ruchei should be used

vocal basin
#

I know very well of how often Kafka is used needlessly

#

ruchei is something that you'd use to implement Kafka, not replace it

#

in the context of, for example, being limited to using only WebSocket

wise loom
vocal basin
#

at work, we're eliminating the use of RabbitMQ, because of how terrible its operational characteristics are

wise loom
wise loom
vocal basin
#

2014

#

so version 3.3 I guess

#

and we're stuck 3.8

wise loom
# vocal basin

Well.. that doesn't sound too good. I mean, your choice of message queue, Jepsen will tell you what you need to know so you can make an informed choice

vocal basin
#

at the cost of some disk space

#

eh

#

whatever works

#

likely everything will just end up inside containers as it was always supposed to be

wise loom
#

I don't see a problem with that

vocal basin
#

on my own, I never use RabbitMQ outside Docker

wise loom
vocal basin
#

I wonder how much space RabbiqMQ takes to install onto an empty system

#

311

#

MB

wise loom
#

that's neither small nor big

vocal basin
#

docker image is 111.3 MB compressed
need to somehow find the uncompressed size

#

220MB

wise loom
#

i hope you find a better message queue, maybe kafka.. maybe something else

vocal basin
#

we have arrived at the conclusion we don't actually need a broker for what we're doing

#

we're fine with losing some messages in some conditions

#

the best option I see there would be ZeroMQ

wise loom
#

is ZMQ maintained?

#

or crossroads is the thing now?

#

or nanomsg?

vocal basin
#

libzmq is actively maintained and developed

#

any many bindings are too

#

zmq.rs might become functional at some point in distant future

#

there is another >decade old tech that should be used more often:
TIPC

#

it's been in the kernel since 2006

wise loom
#

I've watched some Rust devs get grilled aggressively by Kernel filesystems ppl

vocal basin
#

that's just typical Linux dev situation

wise loom
#

you've probably seen that notorious conference where the conflict happened

vocal basin
#

nothing special about Rust there, as far as I've heard

wise loom
wise loom
# vocal basin nothing special about Rust there, as far as I've heard

there is something special, not sure if it's about Rust, it's once again a reconfirmation that the social side trumps everything
and any technical argument takes the backseat..

but if I remember correctly, the C guys were very concerned about Rust carrying too much semantics in short amounts of code

vocal basin
wise loom
vocal basin
wise loom
#

that's cool but.. unless i was writing a game server idk if i'd use it

#

actually not even then

#

it's very hard to justify low-level libs these days i feel, when so much is available

vocal basin
#

C is still the best for universal interfaces that other languages can bind to

#

practically, the only one with a stable ABI

wise loom
vocal basin
#

for simplicity there are also Go and Zig

wise loom
# vocal basin for simplicity there are also Go and Zig

of those two only Zig is in the same area as C, from the podcasts I've listened to and very few posts I've read
they say Zig is the actual contender for a C replacement, but somehow Rust won in that area, idk how why 🤷‍♂️

vocal basin
#

C's magic is in pre-processor macros,
Go's magic is in interfaces (and I think it also does provide some level of reflection),
Zig's magic is in reflection-adjacent comptime stuff

#

and then there's Rust which does all of that, and more, but with less footguns on average

wise loom
vocal basin
#

and very easy to get catastrophically wrong

#

C++'s templates allow for specialisation and overloading

#

which is the cursed part

wise loom
vocal basin
#

I was talking about C

#

Rust's macros are way, way harder to get wrong

#

Rust's generics, while very similar to C++ templates, contain complexity instead of multiplying it

wise loom
#

I mean the easy solution is to avoid macros in the first place.

#

in fact, the NASA coding standards are just a big list of "Do not use feature [...]"

vocal basin
#

most of Rust macro invocation happens in #[derive(Something)]

wise loom
#

"Only use static memory, nothing dynamic"

vocal basin
wise loom
#

so if you restrict yourself a lot on what you're allowed to use, if something goes wrong, you can easily find what went wrong because there weren't that many possibilities

vocal basin
#

see tigerbeetle for an example of a statically allocated memory used to implement a database

vocal basin
#

one of the reasons why specialisation is still not a part of stable Rust

#

so that we don't end up with an equivalent of std::vector<bool>

wise loom
vocal basin
#

C++ and Zig currently support specialisation

#

specialisation being special cases in generics

wise loom
vocal basin
#

the important implied guideline there being that the trait, the interface, is as close to being "just data" as possible

wise loom
#

idk my opinion is not very informed and I haven't used these languages(Rust,Zig)

#

but I have used C++ and have watched as their standards are growing in size all the time

#

somehow Herb Sutter always wants to add new things and he can't be stopped

vocal basin
wise loom
vocal basin
#

lifetimes (&-&& conversion), coroutines, concepts

everything is a good thing at its core, but implemented terribly

vocal basin
wise loom
#

Qt is also said to be of high quality

#

honestly idk what Herb Sutter is doing with his time

vocal basin
#

even std::string is pain when dynamic loading is involved

#

because, as one might expect, there are many different std::strings

#

one more example of "C is best for ABI"

#

given C++ definitely isn't

whole bear
#

Yo long time no see how is everyone

#

@ivory stump Yo My ban got lifted yesterday

#

And I'm on a new account

blissful vine
#

any helper online? -_- i have an such a silly doubt

vocal basin
#

at least judging by the role, yes

#

MS Office, right?

#

you've logged in using your Microsoft account, right?

wise loom
vocal basin
#

it might be reasonable to contact the support

#

of Microsoft

#

it is theoretically possible that your account was linked to outlook not gmail,
since that's what microsoft suggest to do by default

#

yeah, then when you contact the support, specify that email as the one you use

#

help channels got reorganised at some point

#

from multi-channel system to a forum

empty herald
#

how use python for backend in website

blissful vine
vocal basin
#

I worked with discord.py quite a lot

vocal basin
# blissful vine

on the same account that you received the "thanks for purchase" email earlier?

blissful vine
vocal basin
#

then you just need to sign in with that account on your laptop's MS Office

#

yeah, that should be how it works if you have the license;
you log in and it just works as is

blissful vine
vocal basin
#

common Windows behaviour

#

it sometimes just does that

blissful vine
#

pyautogui

vocal basin
#

no experience with that

blissful vine
#

turtle?

#

requests?

vocal basin
#

I helped others do some turtle stuff

#

requests I no longer use because there's httpx

#

requests is fine

#

but httpx is a bit better

#

I have Flask experience but I no longer use that either

#

for Python HTTP servers I only use async-compatible frameworks

#

Django, FastAPI, Quart

#

Quart is just an async version of Flask

#

there's also aiohttp, but it's hard to use productively

#

Russia

#

what is the issue?

#

is it charged via usb-c?

#

video permissions are disabled normally

blissful vine
vocal basin
#

do you have usb ports on the other side? if yes, does connecting the adapter to the other side cause the same issue?

#

it is a hardware issue at some level, but it might be influenced by some software upstack, can never be sure

#

red line over the mic means no permission to talk

#

i.e. not voice-verified

#

and a fully red mic means server-muted (as a moderation action)

#

he explicitly said many times he doesn't want a role

blissful vine
#

thankyou 🌸

ivory stump
#

Hopefully you've learnt from the time off, time to start on a new leaf :)

somber heath
#

@sage quiver 👋

#

!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.

sage quiver
#

@somber heath i am muted for some reason

#

ok

#

lol

#

i could still scream

#

lol

#

i have to wait 3 days

#

send more messages and be active for more than 10 mintues 3 times

somber heath
#

@gilded sky 👋

sage quiver
#

oh ok

#

are you a programmer?

#

lol

#

so mysterious

#

true but do you write new AI, or other programs?

#

have you written AI before?

#

ok

#

what is the best free resource for learning python?

somber heath
#

!resources

wise cargoBOT
#
Resources

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

sage quiver
#

is free code camp good?

#

ok

#

do you feel python is a good first programming language to use?

#

or to learn

#

i have dabbled in javascript before

#

how did you personally learn python and how long did it take you to get proficient at the language?

#

you didnt use any free coding like boot camps online?

#

are you a full time devoloper?

#

oh ok

#

have you gotten paid for any work you have done with python?

#

ok

#

sorry for asking a personal question

#

ok

#

lol

#

i would love to be able to do programming in python for a living

#

why is that?

#

oh ok

#

so javascript would be good to learn as well?

#

and html and css

#

so what is python mainly used for?

somber heath
#

@modern axle 👋

modern axle
#

hi

somber heath
#

!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.

somber heath
#

@wraith drift 👋

sage quiver
#

good morning good morning to you!!!

wraith drift
#

hey

#

good morning

#

wyd guys

brisk bridge
#

Hi

#

Good morning

sage quiver
#

hello my friend

terse rose
#

ello

#

i lost voice perms

#

i did i had to focus on work and school man it was intense

#

left every discord server almost

#

WHATTT

#

hmmm should i bother him yet again tho?

#

yea

#

i dont like to bother mods when they arent online like lol

#

or in the server i mean

#

but guess what guys

#

I GOT MY FULL TIME JOB OFFER YESTERDAY

#

like full full time

#

ima salaried boi now