#voice-chat-text-0
1 messages · Page 361 of 1
it asks to install python3-venv
I have to activate it?
sudo apt install python3.10-venv
as for activation, yes
source .venv/bin/activate if I remember correctly
Yes I did that
(it should show that upon successful creation)
Thanks
What I should select?
I don't know how to configure WSL-provided python in VSC
Okay.
@worldly robin
?
i had some questions
https://youtu.be/6DxUvfTXupQ?si=KqMHNa5iFIdF1SI2
how did this guy fake this
did he replicate the whole website
You can ask here .Somebody will reply. Just ask, explain, while in voice chat.
ty
why are you posting links to scammy videos
on the very day you have joined
#voice-chat-text-0 message ¯_(ツ)_/¯
i am not promoting
i just want to know
how he fakes that
;-;
@brisk acorn 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@river geyser 👋
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
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
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
which game?
first time seeing this one
cuzits about theplague
not publicly available
looks very high quality 4k
its french
and that original studio got defunct
by Asobo
the same studio made the new microsoft flight simulator which is pretty interesting'
(Kalisto Entertainment)
yeah but the studio behind it
and Asobo Studio bought many things from Kalisto Entertainment
many being at least two
a game and an engine
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
this reminds me of a certain research into how type-c-charged laptops interact when they connect them together
consult an interior design for that
lol in highschool people used to siphon battery from eachothers laptops
with type c chords
in tweets by @m_ou_se
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
I was looking up how usb c charging for laptops works, and then just noticed:
oh, right, that's the author of this book
https://marabos.nl/atomics/
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...
@vocal basin have you heard of nerdforge
I don't think so
its not really centered on electronics but more like engineering overall
its a yt channel
this is my 50th message
(messages in #bot-commands don't count)
what a protest
they're clearly a postmodernist
what songs
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
hello guys whats mean this in python
parser.add_argument('-ri', '--reverseip',
type=str, help='reverse ip lookup',
metavar='IP')
Whats up @stark river
@stark river
!rank
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.
@mossy moon 👋
yo
!guilds
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.
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
🫃
good morning guys
@thick hinge 👋
everyone is robot
LOL
lol
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
if you want help with something you can look at #1035199133436354600 or ask in chat here
i am trying to create an expense tracker app but instead of using a conventional db i am using the browser's db (indexedDB). i dont need help but this is just brainstorming.. there can be no "server side validation" can there? since the whole app is browser only...
You can't do server side validation if there is no server side 🤷♀️
i see. can there be workarounds like using service workers for the data validation? like i said this is just brainstorming..
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...
can someone help me with coding im new where do i start help please
i've heard devs say never trust the client
@stark river check dms bro
but it's a client side only application? what's there to trust?
nobody is there to even trust the application
im new to coding like can someone teach me the basics or send me a link please
indexedDB is a kv pair db. at the least i wouldn't want wrong data types to be stored in the fields, making for a more robust application. the app will query the db data later on, to make a few viz e.g. monthly expense on a certain product etc.
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
@wind raptor I have arrived at the conclusion that I need doubly linked lists in Rust despite how hard that might be
https://github.com/parrrate/ruchei/blob/main/src/collections/linked_slab.rs
for now emulated using slab and indices
but I'm planning to add pointer-based ones
it's actually going to be 8 doubly linked lists sharing nodes
Why do you need a doubly linked list in rust? Don't they just recommend vectors
I'm not making a deque
popping from the middle is inefficient
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
insertion-order-preserving dict like in Python
one more thing
informative sounds good
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
although it can actually be chunked
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
I should read through this
https://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based-queue
Advantages:
- Intrusive. No need for additional internal nodes.
- Wait-free and fast producers. One XCHG is maximum what one can get with multi-producer non-distributed queue.
- Extremely fast consumer. On fast-path it's atomic-free, XCHG executed per node batch, in order to grab 'last item'.
- No
@wind raptor Can you help me please with another matter?
what a funny cut-off
it might be even bigger if I decide to cache-pad everything
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
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?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
You got this
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.
I know data structures , fundamental algorithms and also some oop
thanks
Pleasure.
@wind raptor thank you also
!paste
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.
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
I'm back
imo there should be two separate requirements.txt things
one, from pip freeze, like a lockfile
another manually written one
pip install -r requirements.txt
Like a yaml?
requirements.txt is for programs
not libraries
normally
for libraries, you need for tests
Libraries can use other libraries right?
yes, but you don't write deps in requirements.txt in that case
Wouldn't you need/benefit from a requirements.txt?
no
How so?
it should be in pyproject.toml
this is interesting to watch, I am a beginner but intrigued by this xd
requirements.txt isn't automatically invoked when installing the library
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.
I also sometimes split requirements.txt into parts for better Dockerfile use
I've never thought to do this before. Thanks for the idea.
frequently changing deps in a separate file
@heavy birch here
cool
@upper basin what's your ram usage with that many tabs in edge ?
on my new server I don't even have a GPU
Intel® Processor N100 (6M Cache, up to 3.40 GHz) quick reference guide including specifications, features, pricing, compatibility, design documentation, ordering codes, spec codes and more.
@lime fractal
why the fuck is this enabled by default
what is that...
Food
What was smoking?
someone hit submit every time they hit ctrl+s?
@upper basin since we can see your dms, freecodecamp is good. especially their devdocs tool
Nice ty for that
I know. I haven't tried freecodecamp, didn't say it was bad.
I know the pain of one monitor xD
got a 360hz 1440p one on main and a 240hz 1080p sat collecting dust xd
oh damn nice game
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.
I made like a physics based game on unity back a few years ago but kind of forgot most of my knowledge for anything 😅
does anybody know ursena or ursina engine??
https://www.youtube.com/channel/UCJ0-OtVpF0wOKEqT2Z1HEtA @lime fractal
and a few websites for friends minecraft servers but thats abt the extent to what I did
Awesome.
enjoy my cursed layout
Good that you know it's cursed.
but it works for my purposes
I am sure, piloting a space ship is hard.
and my programming style
Matrix style?
Hehe
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...
limited keys means I have to get creative with macros, tapping vs holding, and keys that I don't use as often.
He's a celebrity at this point.
I see. You got to use multiple keys for short-cuts. Kinda like Naruto.
Kish kish kish, summoning jutsu.
@primal shadow my condolences.
I mean I have three keys left, one of them will probably be bound to opening lazygit
PvP games are too stressful, I just want to pwn AIs whilst I am faster and smarter than they are.
Or I can just disable them entirely
Just paint over them with Naruto hand signs, and embrace the shinobi side.
Nah, I'll just get blank keycaps and then ask the IT department to help me with a keyboard issue
I am trying to type the letter T, which hand sign is that?
or, since I touch type, change the keycaps to use dvorak just to screw with people
*Accidentally summons HR
specifically the people who peck type
!rule 5 goddamit.
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
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?
brb; call
Oh my bad.
back
a call to just explain that "user" is a username and "manager" is another username not a password for the user
do you run the project? do you have tests? do you have examples?
I have tests yes. I have examples (notebooks using the package).
I added you to the repo, you can also have a look if you like.
I'll check it out, thank you!
Oh, nevermind. Crossed bomb means wrong flagging.
left above 2 empty provably
🔥Available Now🔥
#Palworld, the latest open-world survival crafting game.
👇Palworld's Available on STEAM
https://store.steampowered.com/app/1623730/?utm_source=youtube&utm_medium=social-media&utm_campaign=20230304-default&utm_content=en
🧭Open world survival crafting game for up to 32 players!
🔫Gather your weapons and go on an adventure with ove...
Yeah.
tinkercad
Ngl, this is getting annoying.
Mute yourself, please.
I am going to just mute him.
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
if you are using laptop , look at CPU, its either HS HX
i think normal U G H arent overclock able
are their any python libary , which auto run my code in different thread ?
Can you give an example of what you mean? and the intended application?
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
Is this an application where you need low latency? A 1 million row CSV doesn't seem large enough to require subdividing.
i am try to experiment , 😄
Oh right
so any libary in mind ?
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.
I keep forgetting those are a thing
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.
so instead you're going to pass it on to gym members?
why not exercise at home for a day
save the gym members from colds and yourself from suffering
Fair, although I think I'm not very contagious (no cough/sneezing), and I'll avoid doing cardio and wipe down the machines 😄
I already skipped the gym last week. I'm withering away 😦
alas, you poor ethereal wisp
@undone inlet Can you touch type?
Why?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
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?
i'm a spongebob chicken
i'm brazilian, so sorry for my bad english
i cant have a normal comunication whitout missing the grammar
CurseForge is one of the biggest mod repositories in the world, serving communities like Minecraft, WoW, The Sims 4, and more. With over 800 million mods downloaded every month and over 11 million active monthly users, we are a growing community of avid gamers, always on the hunt for the next thing in user-generated content.
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
TLE?
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
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
@weary sail what's your web security question?
This wouldn't happen to be Sheldon from the Big bang theory? 😂😂😂😂
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?
conceptual.fyi
pretty cool
maybe derek can attack it !
the xss god
yeah im full of good ideas
what's the tech stack
Hey hi, all.
He needs to say hell yeah.
Hello Guys!!
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
@frail python 👋
@cedar mason which criminals have you stopped
Oh god, is there an ethical hacking conversation happening?
@solar swift 👋
And here I am stuck on a call with support
The topic has moved on.
Now we're talking about dealing in arms.
Noice
damn i missed it
Screenshot it!
Left or right?
Oh oh oh oh oh oh, have you folks seen Balatro?
They recently had their mobile release
It's a card game?
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
hi!
"I want something accurate, robust."
PCP?
what
that's a lot of ohs
what the fuck am i hearing
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?"
how much did that cost to make and what'd you sell it for
Because the game is that good.
Having a rifle and work on it is actually alot of fun
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
I'll just respond in chat bc i don't wanna talk overxd
Okay np
Let's go :p
Maybe
Oh
i just wanted to hear what you had to say about them
im not interested in meeting them
I don't have dark net contacts XD
Just lots of shady people irl XD
like who
Who? XD
My random method enables me to type 70 wpm but it is very in efficient
So I decided to learn the method to use all fingers
I don't know how to answer that lmao
lolol
And it made me forget my previous method and now I'm stuck at 25 wpm
And...
Touch typing? i assume you refer to some kind of linux with a touch pad LED screen?
No
By touch typing I mean ability to type using all finger without looking
Oh lol
keyboard
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
can anyone help me with my python calculator app
Don't have 😄
A github or a calculator? XD
Eh nope xd
xd
Idk if u heard the talk a min ago but as i said i'm basically a ghost XD
cool
okay
What's ur question lol
idk if there is a learning curve to blind typing
maybe if i have a manderin keyboard
😄
I don't think i can help you with that.
I mean i can type blind & fast but i never really gave it thought
QWERTY
I mean i could give u some basic tips
the 'f" and "j" have a mini button that gives indicators of the location
Yes
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
Yes
idk what else to say.
I mean that's basically the only things i need to type fatt
fast*
With pleasure
How to learn python without learning
``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 );
<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>
can someone help me install requirements every time im trying to install it im getting an error
you need to create a virtual environment venv https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/
hello
hey
Any1 vc
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
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
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
reconnect
it worked
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
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!kindling
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.
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
(I was solving these)
https://leetcode.com/problemset/?topicSlugs=doubly-linked-list
eh
"just get good at one language" is a very cringe suggestion
"I can hello world 100 languages"
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
latter often includes -L and -I
what you waiting for
first is the highest timestamp I was able to display there
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
Information Technology sounds so cool tho...
IT in NA and non-NA has somewhat different meaning
IT in Eastern Europe is commonly used as a synonym to Computer Science
in NA it's kind of IT Support rather than just IT
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
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
getting this set up is non-trivial
what does IDE mean?
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
.
Cling
amazing
@molten pewter discord bots are okay, self-bots aren't
the questionable part is when it's through a user account
ohno
"there is exactly one reason to watch primeagen:
watch him react to an actual bad article and reinforce your negative opinions on the subject"
@molten pewter t3.gg?
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
the trip to not-so-sane-land has been planned
https://github.com/parrrate/ruchei/issues/13
I'm rewriting some stuff to use more doubly linked lists
in Rust
use a venv
still doesnt work
activate the venv
i did
what does where python3 show?
in the current terminal session?
yeah
let me check
what error did it show that time?
same
presently, it's 7 doubly-linked lists sharing nodes with each other layered on top of a slab::Slab
it's going to be 8 once the Slab is gone
that exact error cannot be shown with venv properly activated
thanks for letting me know @molten pewter
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
i wanna start with coding can you tell me where i can learn it
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
this is what I started with
https://docs.python.org/3/tutorial/index.html
but it might be a bit hard to follow since it's non-interactive
damn
for video tutorials, Corey Schafer's content is often recommended
How long did it take you to learn Python coding?
(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
up to the level where the codes started to work
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)
what type of projects are you coding?
recently, mostly networking- and system-related, and some amount of web dev
one of recent useful-ish things that I published
https://github.com/parrrate/ruchei/blob/main/src/multicast/bufferless_slab.rs
what can i do with ruchei?
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.
one of the things I use ruchei::multicast for is to sync state between multiple tabs in a game I made
does @pliant fulcrum know Rust?
I'd expect not
nope
I'm planning on writing Python wrappers for some of the things there
im a beginner started 3 days ago
how close is Ruchei to Twisted?
twisted itself is a runtime/framework
ruchei is just a library to compose Streams together
what do you think of this book list? #pedagogy message
you can potentially even use twisted to embed ruchei into Python if you pick the interfaces correctly
this one I'm doing with asyncio for now
involving some eventfds to get working
seems useful
thx
or you can reimplement parts of twisted in Rust using ruchei
thx for your help guys i think imma go to sleep
here is an example of how twisted shows how to make a server that sends each message it receives to each connected client
https://twisted.org/#nav-publish
yup
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
does Twisted not already do what Ruchei does?
^ here, the set of connected clients is managed manually
they're kind of occupying very separate niches
What're you nerds up to?
if you were to write something like ruchei in Python, you would use something like twisted as a dependency
doubly linked Rust
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
but really, these days, people would just throw a Kafka in there and be done with it.
pass messages around, encrypted, fast, and in a fault-resilient way, that's what most people want.
but sure, if you want to implement protocols.. it's a different matter. although as you said ruchei is about streams.
now stream can mean many things.
ig there is room for more clarity on the use-cases where ruchei should be used
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
sure, it is what it is, there are business needs, the proverbial "it has to be finished yesterday"..
at work, we're eliminating the use of RabbitMQ, because of how terrible its operational characteristics are
it's hard to justify reimplementing something that already exists
what does Jepsen say about RabbitMQ ?
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
unless we go full uga uga docker mode
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
I don't see a problem with that
RabbitMQ was chosen before I joined the company, so I just kind of went along with it
on my own, I never use RabbitMQ outside Docker
no reason to, amirite?
that's neither small nor big
docker image is 111.3 MB compressed
need to somehow find the uncompressed size
220MB
i hope you find a better message queue, maybe kafka.. maybe something else
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
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
I've watched some Rust devs get grilled aggressively by Kernel filesystems ppl
that's just typical Linux dev situation
you've probably seen that notorious conference where the conflict happened
nothing special about Rust there, as far as I've heard
well yeah but it normally happens on mailing lists, not IRL, grilling someone on-stage.
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
nanomsg is a differently-featured alternative, not a replacement
yeah, variations on variations.
Mongoose Embedded Networking and Web Server Library User Guide and API Reference. A quick start, a 2-minutes integration guide, build options, and much more.
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
C is still the best for universal interfaces that other languages can bind to
practically, the only one with a stable ABI
sure, but that's not the reason why it's chosen. i think the reason ppl choose C is because it doesn't do syntax sugar or magic stuff.
it's blunt. and people need it to be blunt so they don't second-guess themselves when they're chasing a bug.
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 🤷♂️
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
C's macros are very very basic magic tho
it's nowhere near C++'s template metaprogramming, which is the gold standard for over-the-top magic
and very easy to get catastrophically wrong
C++'s templates allow for specialisation and overloading
which is the cursed part
so you agree if one uses Rust's advanced features, they can easily mess up
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
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 [...]"
most of Rust macro invocation happens in #[derive(Something)]
"Only use static memory, nothing dynamic"
Zig is good for that
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
see tigerbeetle for an example of a statically allocated memory used to implement a database
that's exactly what Rust does compared to C++;
the language itself fights against layering brittle assumptions about structure and behaviour
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>
but part of some future versions when the Rust hipster gang will reach critical mass
C++ and Zig currently support specialisation
specialisation being special cases in generics
C++ is disqualified from the very beginning. There are 20 C++ standards by now, and counting..
and that just makes an implementation of the trait Something for a type that was annotated, and anything outside the definition doesn't even need to know that the trait was derived not manually implemented
the important implied guideline there being that the trait, the interface, is as close to being "just data" as possible
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
by now C++ is accustomed to getting things systematically wrong
yes but Herb Sutter sounds very confident on-stage like he actually knows what he's talking about
lifetimes (&-&& conversion), coroutines, concepts
everything is a good thing at its core, but implemented terribly
stitches to hold it all together
literally all large C++ projects use Boost instead of std so yes their standard library sucks ass
Qt is also said to be of high quality
honestly idk what Herb Sutter is doing with his time
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
Yo long time no see how is everyone
@ivory stump Yo My ban got lifted yesterday
And I'm on a new account
any helper online? -_- i have an such a silly doubt
at least judging by the role, yes
MS Office, right?
you've logged in using your Microsoft account, right?
I’ve had a look at the Microsoft Excel specification, it’s only 1000 pages long
weird that the account doesn't remember product keys
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
how use python for backend in website
I worked with discord.py quite a lot
on the same account that you received the "thanks for purchase" email earlier?
depending on where you study, you might be able to use
https://www.microsoft.com/en-us/education/products/office
especially if your university has its own email domain
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
JetBrains give free licenses to their software (for example, PyCharm Professional and CLion) to students too
https://www.jetbrains.com/community/education/
pyautogui
no experience with that
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
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
thankyou 🌸
Congrats
Hopefully you've learnt from the time off, time to start on a new leaf :)
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@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
@gilded sky 👋
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?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
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?
@modern axle 👋
hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wraith drift 👋
good morning good morning to you!!!
hello my friend
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