#voice-chat-text-1
1 messages Β· Page 41 of 1
@mild flume can i get streaming perms so i can show you my thing
i need help properly zipping my project for university
im getting errors i have not yet seen
same way i always do that never gave me problems in the past
right click the project file, going into repos, then compressing the folder to a zip
i wish i could share my screen this would be a lot easier to explain
Best!
!stream 958057865032106045
β @ashen willow can now stream until <t:1725898109:f>.
Say "Hello World" using a diffusion model, then fed into a combinatorial optimization to get rid of unnecessary pixels, and then plot it to txt.
gecs
I have a problem.
Sup
Can I stream so I can show you?
fn main() {
println!("{}", 42_000_usize);
}```
@hazy garden https://github.com/pyenv/pyenv
@vapid river Yo
Yoo π
Guys, I just wanna say that I'm really happy today
For no reason
Glad to hear it, winter!
yep thats it
!stream 451730408636416000
β @hazy garden can now stream until <t:1725901805:f>.
!stream 779371565501513759 2h
β @feral path can now stream until <t:1725908722:f>.
You can try this https://excalidraw.com/
instead of
paint
or
python3 -m pip install pygame-ce
python -m pip install pygame-ce
py -m pip uninstall pygame
py -m pip uninstall pygame-ce
py -m pip install pygame-ce
@feral path can you do a speedtest?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
brb, eating dinner..
@mild flume the thing I said I'd send
https://docs.rs/metatrait
API documentation for the Rust metatrait crate.
@feral path can i get the name of the software before the vs code ..thats on the taskbar
@ornate cobalt since we're on topic of questionable let bindings
https://parrrate.github.io/exercises/exercises/get_functions.html
seems like a text or image viewer..
@granite nymph Rust is written in Rust
C is written in C
you can just use C from Rust
and the other way around
as for replacing C with Rust, that's mostly about correctness
better performance is just a bonus you get for free
C build system is questionable
in Rust, getting better performance is way easier
C: spend a year on rewriting a b-tree just because you need it to work with your data
Rust: just use an implementation provided by the standard library
@feral path if I understand them correctly, to the left of the VSC icon on the taskbar
seems more image based
you know the name?
yea thats called paint.net
@ornate cobalt it was working before
1 1 3
@ornate cobalt are tail call optimisations in yet
just increment until error
or binary search
I've unlearned pygame
this one
@feral path
fn _get(&self, key: &str) -> Option<Value> {
self.variables.get(key).cloned().or_else(|| {
self.parent
.as_ref()
.and_then(|p| p.read().unwrap()._get(key))
.or_else(|| {
self.fallback
.as_ref()
.and_then(|fallback| fallback.upgrade()?.read().unwrap()._get(key))
})
})
}
why is the method named _get with _
pub fn get(&self, key: &str, span: Span) -> Result<Value> {
match self._get(key) {
Some(value) => Ok(value),
None => Err(VariableNotFound(key.to_string()).make(span).into()),
}
}
as in why _
it's for unused
you already have module-private by default
try_get
languages beyond the fence
why yellow
line 6 and 13 use different names
also missing a newline at the end
def setup(bot):
bot.add_cog(ChatCommands(bot))
is in the command
I think this needs to be on the new command
which package are you using?
discord.py or disnake?
if you're using AI for help on dscord.py code, stop;
its suggestions are too outdated
.add_cog requires an await
I am, but its api based, I forgot to feed it the init file so it was hallucinating a bot.config file.
I learned what a function was last night π
Next is whatever a class
this code is 2-3 years out of date
!tutorial
it was doing that because i didnt give the details.
ChatGPT 3 does not have discord.py 2 in its training data
ChatGPT 4 and Claude just don't know that it's the correct version
r
Naive Bayes
Hello All!
import csv
map = {}
def read_chunk(map, path, cords = None):
"""Reads a chunk of a tile map from a CSV file.
Args:
map (dict): The map dictionary to store the chunk.
path (str or tuple): The path to the CSV file or a tuple containing the base path and file extension.
cords (tuple, optional): The coordinates of the chunk. Defaults to None.
Returns:
dict: The updated map dictionary.
"""
if isinstance(path, str):
file_path = path
else:
file_path = f"{path[0]}{cords[0]},{cords[1]}{path[1]}"
with open(file_path, 'r') as csvfile:
reader = csv.reader(csvfile)
chunk = [row for row in reader]
map[f"{cords[0]},{cords[1]}"] = chunk
return map
def write_chunk(map, chunk, path, cords = None):
"""Writes a chunk of a tile map to a CSV file.
Args:
map (dict): The map dictionary.
chunk (list): The chunk of tiles to write.
path (str or tuple): The path to the CSV file or a tuple containing the base path and file extension.
cords (tuple, optional): The coordinates of the chunk. Defaults to None.
Returns:
dict: The updated map dictionary.
"""
if isinstance(path, str):
file_path = path
else:
file_path = f"{path[0]}{cords[0]},{cords[1]}{path[1]}"
with open(file_path, 'w', newline='') as csvfile:
writer = csv.writer(csvfile)
writer.writerows(chunk)
map[f"{cords[0]},{cords[1]}"] = file_path
return map
Whats dis?
what can i do in this channel?
???
@ornate cobalt
@oak pewter π
hello
@stuck bluff
50 messages to earn to speak in vc? is some old irc coder setting up the rules?
holding breathe
I came here to talk to someone and learn python- attempt number 130th.
I have beeen in this server for a very long---- long time...
!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.
!code
ok, i calmed down. so no rage fixing the issue" you were talking about with the hugh traffic.
@stuck bluff
@calm tusk Hi
!
@calm tusk make a sub-engine for niche purpose for just detection of bais. More code, but making a useful bias packet for python package manger is maybe nice thing?
sub engines can help. and it separates the code to a single niche purpose.
and it separates the code to a single niche purpose. @stuck bluff
can you spare a binoic eyeball so I can see what you are talking about guys?
!dustin
!@oak pewter
@oak pewter maybe I should do some choas enggineering to "help " with "trolls"
@floral glade realllllyy????!!
do you know how to break code?
@floral glade choas engineering...
I told them the formula.... netflex was a nice flex in choas engineering.
its point that i told them was to intentionally to get wretcket and learn from it at scale.
! chaos monkey
@floral glade I want to use you as my HR and PR guy and as the driver to my car.... haha. and I want to use your voice in an app.
@floral glade sorry , i meant to tag @stuck bluff
But if I want a more southerner American voice, can I get your voice too? @floral glade
@stuck bluff yes, @stuck bluff I am talking to you and @floral glade.
can you be a voice actor @stuck bluff π for me?
looping problems... spin around....
Chaos engineering is the discipline of experimenting on a system in order to build confidence in the system's capability to withstand turbulent conditions in production.
how do I check my messages count?
you are breaaking up.
how-copy?
how do i do as you suggest?
@floral glade You're breathing hot in the mic....
None
@odd cliff please post your recommendation
@proper ridge Are you interested in cryptography bro?
ΠΏΠ°
@little goblet Msg here
sorry
this is a threading function no?
and i guess it logs something like wasd key counter stifes
hi guys
I have 40 messages
just 9 more you know
I think php sucks
I mean you are using
question marks
as plain syntax
and it look like you are can code backend and frontend to same file
thats not make any sense
just 4 more
messeges
1more
now I'm done
@fast dirge π
Hii
some interesting project ideas using programming which me and 2-3 people work and learn and upgrade our knowledge python is preferable language
@stuck bluff this is the prompt
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
- PEP 8 document
- Our PEP 8 song! :notes:
@willow girder ππ
hello
Hellooo
yes
@raven orbit
is open cv for like picture/video?
Cutest
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
@mild flume I added the compiler over the weekend, could I show it to you sir?
Oooo yes
Would you like to come to live coding?
I can also wait if it's not feasible at the moment.
Yeah not an option at the moment, it seems
Have to do my time sheets first
10
:incoming_envelope: :ok_hand: applied timeout to @warm barn until <t:1726512369:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
@mild flume
@pale pivot you commit rate was quite high too
of course not
tbf those commits were actually somewhat meaningful in a meme way
update license
you need to exponentially increase commit count so it outshines the previous mess
0th year is 1st year b.c. because calendar is written in Lua and Matlab
(1..).into_iter().last()
> I only use real PLs
fine I'll find a Haskell version
@true coral How goes it
uh
why are their URLs containing GUID
https://www.microfocus.com/documentation/visual-cobol/vc70/EclWin/GUID-FFC2F800-AB92-4E3A-89BF-7078E064C3B3.html
speaking of GUID
do you know how to program
@mild flume are you ready for a bad joke
Always
you know why Microsoft hired Guido van Rossum?
because Uuido van Rossum wasn't in their preferred terminology
More or less
more to more or more to less
less?
I needed a program to create accounts on an automatic website
or a more or less macro to do an "autoclick" type
IF YOU CAN WRITE, I DON'T UNDERSTAND WHAT YOU'RE SAYING, JUST A TRANSLATOR
That is not something we will assist with
WHY
!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.
It's a program I have to do for a job
epic games e rockstar game
Yeah that's not happening
,
Any other questions?
something for the good
the only two reactions I ever got for that joke were "π" and "I hate this"
if you want examples of bad interview practices we here probably know who to ask
im currently watching a video.
Event management
whoops
No no I didn't realize either
could i shoot you a dm also?
https://github.com/GeorgiKeranov/facebook-marketplace-bot
this is the one
yes yes but the market place brings more leads than my paid ads lol
yes so like i see these car dealerships posting cars over and over
ahh solenium is bad?
its good for business but other than that i dont use it
ahh i see i have no idea of this stuff just trying to make it easier
theres sites that autopost they want $200 a month for their program
no i do the ads myself on fb
yes
and google and another
one sec fixing mic now
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
One sec, I have to change the voice server location
Something's weird
I have to change it in the voice channel settings
# Start receiving the notifications
def receive():
greenAPI.webhooks.startReceivingNotifications(handler)
receive()```
def handler(type_webhook: str, body: dict) -> None:
# Get the message and contact Number from the body
contact_number = body.get('senderData', {}).get('sender', '')
# Check if the webhook is an incoming message
if type_webhook == "incomingMessageReceived":
raw_contact_number = contact_number.split("@")[0]
# Check if the contact number is allowed [For Beta Testing]
if raw_contact_number in BETA_PHONE or raw_contact_number == PHONE:
# send body into the txt file
try:
# with open("msg.txt", "a") as file:
# print(json.dumps(body), file=file)
try:
loop = asyncio.get_running_loop()
except RuntimeError:
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
coro = fetch_data(body)
asyncio.run_coroutine_threadsafe(coro, loop)
except Exception as e:
print(e)
else:
return None```
a: dict[str, int] = {"a": 1, "b": 2}
def foo(x: 'x') -> 'y':
pass
print(foo.__annotations__)
!e
def foo(a):
return 1
def bar(a: int) -> int:
return 1
print(foo.__annotations__)
print(bar.__annotations__)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | {}
002 | {'a': <class 'int'>, 'return': <class 'int'>}
!e
a:int = 123
print(__annotations__)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'a': <class 'int'>}
def foo(x: 'x') -> 'y':
return __annotations__```
Except in 1990s and 2000, they were adding new features
outside of that, most new languages are styling exercises that are useless
Hiya Rabbit.
JS
I'm gonna go sleep. It's getting close to 4 am, tomorrow's A.C.E can deal with the rest of the stuff.
Hell yeah
I wonder if Spectre Divide have fixed the crash yet
finally something that doesn't show emojis coloured so I can see my logs monochrome as they should be
hi @proper ridge i cannot talk in voice chat
ok then @proper ridge
uhhhh i need to talk about python
i think i need help with my homework, you don't need to work on my homework, just asking about how it works tho
and how to set up visual studio code using python
ok wait
lemme screenshot my homework
Is there something wrong with the python programming here?
@proper ridge
I'm tryna make a biodata out of this thing
class what i'm sorry can u type it here @proper ridge ?
python class?
no
i'm a beginner so
yes that's my assigment i just show
oh ok wait
ok wait lemme put the questionnare of the assignment here
Using python in Maya, create a short code that able to
Ask information from user of their personal detail such as Name, age, address, and other stuff (be creative)
Demonstrate that you can process that information using python operator (+, -, /, *, etc) such as finding the user birth year, slice and combine string, etc.
Be creative, you can ask silly stuff and combine the string to make a funny paragraph using print command in python.
Yes that's the question from the elearning
@proper ridge this is it
so basically my professor told me make a biodata out of a python programming language
in Maya instead
um but they expect me to give the output like producing a biodata out of a python
hi @gritty tiger
nice to meet you!
so this is only the results of the assignment?
ok thanks
ok maybe that's all the question's already answered
oh yeah forgot the question
holy moly
the question is: is the formatting of the string wrong?
cause i use ' ' and " "
@proper ridge
No, what I said was it's better to use string formatting.
Like so
!e
name = "March"
print(f"Hello there, {name}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello there, March
How does it look now? is the string correct @proper ridge @gritty tiger ?
No the strings
I changed it to " " in the line 13 and 14
and from line 2 to 8 i changed the strings from ' ' to " "
@proper ridge
the f thing?
so the strings i used are already correct?
in the screenshot
okay
but i'm afraid it's gonna be invalid syntax error
in Maya
oh okay
i'll run it
# This code is part of Qiskit.
#
# (C) Copyright IBM 2017.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.
@proper ridge
there it is, there's an error
did i do something wrong with the code
company chat?
!resources @uneven geode
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@sly lintel π
Hi there, I am not yet verified π or something like that
do projects and dont fall in tutorial hell
100% agree. I did tutorials and didn't retain anything.
started a small project and learned as I went.
I can recall all sorts of code from projects but couldn't tell you one single thing I remember from a tutorial.
Don't spam
okii \
thats newww
but why ??
Saw 2 shadow pings
:incoming_envelope: :ok_hand: applied timeout to @misty sinew until <t:1726834572:f> (9 minutes and 57 seconds) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
you really had nothing to do so you just started harassing me π
(not pybot, the user who got muted)
he got johned π
xD
#voice-chat-text-0 message
I don't have much stuff I work on that'd be interesting as a collaboration
I have a project that you might be interested in collaborating on (i.e. the python project I've been semi-showcasing)
but you seem to have your hands full atm
we have react knowledge in common
my projects are mainly on react native
probably the only contributions I may ever accept to a project, to which I'm a sole maintainer, are just those which use an existing more popular solution to replace what I wrote or to implement features
i.e. no large amounts of new code
I check formatting in CI as much as I can
including checking formatting of the .yaml of the CI job itself
if someone forks and writes a big feature, then I just know I'll end up rewriting it myself using their code as reference, I won't take it as is
pragmatic snobbism
S3
"why are you not using manta?
you should be using manta;
with manta you could've been able to just run code against the data on the same machine as the data;
use manta"
(manta is dead)
what type ?
IDK what you mean. If you work as a Carpenter, how many hours does this type of work typically require
I mean, it depends - trim work is easy, putting in stairs is harder, farming an entire house takes more time
a day:
13 hours of work-work
13 hours of self-training work
-2 hours of learning arithmetic
does this include people showing up at your desk interrupting your concentration to ask inane question?
I'm fairly certain I can (and maybe do) average >=39 hours of work-work a week
25 hours per day then
I've had the joys of having to do an emergency fix for a sev2 during christmas dinner
if you click "start tracking time" on enough buttons at the same time, the "time" will go quite fast
I was, now I am a professional job application submitter
Because I got laid off from Fidelity Investments in March because "we want to cut costs"
None
At this point I'm willing to start pushing grocery carts if it means I can make rent
I would hope for >$100k/yr, but at this point I just want to make rent next month
I was being underpaid, the industry average for SRE is $130k/yr
So I'm already asking for far less than the norm.
Of course, if my rent didn't go up every year, I'd be wiling to settle for $80k/yr, but then at my current rent I'll be living on cup noodles for every meal.
I'm currently paying $2.3k/month for a single bedroom.
The price I pay for not needing a car.
If I go for a cheaper location, it'll actually be more expensive in the long run because I'll then be completely dependent on my car just for getting across the street.
I am currently trying to save for a down payment on a condo in Lowell MA so I can get rid of my car completely, since the transit there was designed for more than "okay we got a bus now stop complaining about the lack of transit options".
At this point I'm focusing entirely on certifications and open-source contributions in Python and Go, so I can get experience without needing to already be employed.
Trying to figure out if I can selfhost datadog, or if I should just demonstrate my observability chops with Prometheus and Grafana.
I'm working on six right now, one of them will probably be done this weekend.
Automating docker build for freeCodeCamp
Currently none.
Which is why I am going to be moving my coffee maker to my desk for the weekend.
@Clari - I am a senior acoustics analyst, I make ~$130k (CAD), 11 years experience in a fairly niche field of expertise
I work 37.5 hours per week
I already know I won't do well, my sre knowledge is nowhere near as good as my devops knowledge, mostly because my former employer decided that the two roles are actually the same role, and also the main documentation person too
So I'm also pivoting more towards devops engineer in the short term.
Of course my long term goal remains unchanged: go back into earth sciences
as an academic
I'll take you up on the offer later on, I do not feel ready to even attempt a mock interview for SRE.
I will have to decline at this point in time.
@strong fern please refrain from sending me unsolicited DMs
understood i am sorry for the unsolicited dm
Learning Python is freecodecamp the best resource?
it is all ive been seeing lately
I haven't heard much bad stuff about freecodecamp so should be fine I guess
I only encounter it accidentally and instantly forget
thank you i look forward to learning im currently invested in the tail end of HTML CSS and JS so python is the next logical language
yes it is im getting my cs degree and becoming a fullstack developer is the long term play
im learning as much as i can atm. once im done with python its on to rust
html structure of websites
obv its the easiest to learn lol
im kind of in the beggining of my journey i started a couple of months ago
@misty sinew are you using python to manipulate web pages?
ok thank you. Thats pretty coo.l thats why i want to get into python to create scripts for my sales crm where certain actions are automatically completed and i can save time by automating my daily meticulous tasks
Is anyone familiar with deployment on the cloud like AWS, heroku ?
end of file π₯Ί
AWS offers over 200 global, on-demand, pay-as-you-go cloud services for compute, storage, databases, networking, AI, ML, IoT, and more. Quickly provision services without upfront costs to meet changing business requirements.
although I myself have limited knowledge abt it
but i think it's pretty good
WARNING : i've heard that you need to config it properly and carefully if you don't do so you can get charged whole lotta money
YOU CAN ASK YOUR QUERIES HERE #1035199133436354600
--version
very hard to trust programmers a lot of malicious people in the internet for sure
@velvet musk https://code.visualstudio.com/ download this
That's what I wanted
The api file was not saved. it is saved now. Now run
@velvet musk save it first
yes
try deleting the terminal and then run it again
I think I file didn't run
@velvet musk
try this
@copper garden @warped thunder π
Hi
Sadly i can't speak π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
π₯²
Years, haven't talked much
Average arch user lol
Arch describes it better
They are toxic
Also its really unstable
You are a glorified beta tester for all apps. You have to read manuals and changes before you update every time
I use NixOS btw (:
I heard that they intentionally make dumb messages so only people who are stupid enough to fall for it. That acts like a filter ig.
Jesus Christ
Lol
Isn't God omnipresent?
He's like the Internet provider
Edge is almost impossible to delete
And after you delete it, it comes back in another update
You need to get some 3rd party software to prevent windows from reinstalling their spywares and bloats
Using the terminal = Hacker
XD
its integrated deep in the windows kernel, you can't delete it. try to disable it from everywhere along with disabling copilot & bing from taskbar & start-up menu.
Spy
Imagine gathering all these data for decades and still can't make cortana good
Use Linux and be free!
You can't be a billionaire without having some skeletons in your closet
Gates went to the island π @tame leaf
unless you're warren buffet
Hawking went for funding tho!
@tame leaf
https://youtube.com/shorts/5z9osTxrRR4
Neuroscientist: Truth About Jeffrey Epstein | Andrew Huberman #joerogan #hubermanlab #shorts #neuroscience #lifestyle #science #brain #mindset #motivation #jre #jeffreyepstein #epstein #theory #conspiracy
Andrew Huberman On Joe Rogan Experience Podcast Clip:
https://youtu.be/FRZ9EK1e2R0
Andrew D. Huberman (born September 26, 1975 in Palo Alto,...
No its what Hoberman said
He said it more eloquently than I ever could
the neurologist ?
Yeah
he's prolly there for hawkins addiction.
Bro he is paralyzed how can he be addicted? π
hawkins & stephens on the island together ? what were they doing ?
I don't wanna imagine
@dense temple π
Ham and lock joined together and killed Socrates @tame leaf
Imma go, cya later π
Hello!
Hi there, My name is Shubham singh ,Β and I am currently a second-year B.Tech Computer Science student. Coding is not just part of my educationβitβs my passion, and I dream of becoming a successful developer. However, thereβs one major obstacle holding me back: access to a proper laptop. Right now,
HI SUPPPP GUYZZ
Do any one need any help
with
ui
stuff
if yess
i m there
elif
np
hi
https://github.com/Johnny5x5/Jumpstart/blob/main/Thought hash
I am asking for help with my technical write-up.
Hello Who is interested in Pydroid 3? Can you help me
English= When I enter the file, the logs are not downloaded. Can you help me?
Turkish= LoglarΔ± girdiΔim zaman log gelmiyo hata veriyo yardΔ±mcΔ± olurmusunuz
In this video, I show how to assemble a fully equipped backpack featuring software-defined radios (SDRs), Wi-Fi adapters, GPS receivers, and a multi protocol programmable boardβall connected to a single-board computer (SBC) accessed remotely. This powerful setup is perfect for enthusiasts and professionals interested in wireless exploration, cyb...
why the fuck i am not getting veryfiy even i am in server like 3 months
any1 tell me
bot is mean with how it works
u gotta send more messages proly
@naive summitπ
@misty sinewπ
a Linux distribution designed for digital forensics and penetration testing
Nevermind.
People are...focused...on their conversation at the moment. You could try asking in one of the ot channels.
!ot
#ot2-never-nesterβs-nightmare
Please read our off-topic etiquette before participating in conversations.
guys where are the links you are talking about?
guys ...
Opalmist can u tell them if they can helpp me
:(
My above advice applies. You also have the capacity to @ them yourself.
ohk i was thinking i will be timed out for pinging
@oak pewter need help regarding this and currently started learning javascript
Not if you're reasonable with it.
@oak pewter how can i start my open source contribution journey?
Hello
Hi hi. π
@proper ridge https://phys.org/news/2024-09-versatile-approach-quantum-metrology-large.html I thought you might be interested in this focking article.
@oak pewterYou have a fair amount of audio bleed.
@burnt magnetπ
Sure, give me a sec.
is that a reighley @raven orbit ?
it's a gazelle
dutch raleigh clone @fair heart
with a sturmey archer ab hub
which is a sturmey archer aw with a hub brake
the hub brake had stopped working well since I overfilled the hub last time
and this is why
I think this is pretty familiar for most of us.
To everyone who watches this: please check out this youtube creator called nartharie . He has created some of the must absurd and funniest videos I've ever seen, but he's still at 280 subs at the time of writing. So please discover this before all your friends or acquaintances or whatever do and be...
at a somewhat high speed; easy to misclick
I imagine it just adds a few second delay for you.
Provided to YouTube by Volcano
Hardware Store Β· "Weird Al" Yankovic
Poodle Hat
β 2003 Volcano Entertainment III, L.L.C.
Released on: 2003-05-20
Composer, Lyricist: Al Yankovic
Drums: Jon "Bermuda" Schwartz
Guitar: Jim West
Bass Guitar: Steve Jay
Background Vocal: Lisa Popeil
Engineer, Mixing Engineer: Tony Papa
Engineer: Rafael Serrano
...
it a good song
@thin lintel What source you used to learn database / SQL ?
Me!? I never learnt those things in my life.
I do not even know what SQL is.
@fading patio Your audio was bleeding and we can't understand a single word if you're talking. π
so sorry π
I actually joined the call by mistake. I'm at PyCon Africa 2024π
Niiiiice
family pic from yesterday. We're having fun here βΊοΈ
!stream 636950962245730324
β @elfin breach can now stream until <t:1727446303:f>.
@umbral rose And How much duration taken for python course?
and took only 1.5 months to build project???
I'm looking for a reliable Linux distribution. I've had issues with Ubuntu after removing snaps, and Fedora's package manager (dnf) feels slow for me. I'm drawn to Debian's stability, but I'd like something that offers a wider selection of packages, even if they're not always the newest versions. For example, Node.js on Debian is a bit outdated, Any Suggestions ? @umbral rose
Learn docker
π
2.5 weeks

bambi?
!stream 238998574325694465
β @mint widget can now stream until <t:1727450687:f>.
bambi -voice cloning @quasi widget Is this what you mean?
no no i was talking about vapi
https://vapi.ai/ @quasi widget Is this want you mean?
yee
@oak pewter you sound a bit muffled
:/ @hearty heath
@turbid rockπ
hy
@winged citrusπ
ok
@hybrid spindleπ
hello
i cannot talk cause im new here
and im trying to understand python
i wanna try advanced learning cause my school is not teaching python yet
okay thanks
im just trying to remember the different commands
!e ```py
class BubbleGrouper:
def init(self, k):
self.data = [{i} for i in range(k)]
def entangle(self, a, b):
union = self.data[a] | self.data[b]
for index in union:
self.data[index] = union
grouper = BubbleGrouper(4)
print(grouper.data)
grouper.entangle(0, 1)
print(grouper.data)
grouper.entangle(2, 3)
print(grouper.data)
grouper.entangle(1, 2)
print(grouper.data)```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [{0}, {1}, {2}, {3}]
002 | [{0, 1}, {0, 1}, {2}, {3}]
003 | [{0, 1}, {0, 1}, {2, 3}, {2, 3}]
004 | [{0, 1, 2, 3}, {0, 1, 2, 3}, {0, 1, 2, 3}, {0, 1, 2, 3}]
I'm gonna restart my laptop, see if wsl gets fixed that way.
@stuck bluff LXQT or Cinammon >> Mate.
!e py print('Hello, world.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e py text = 'Hello, world.' print(text)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e
text = "hello "
text2 = ", world."
print(text+text2)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
hello , world.
!e
text = "hi"
num = 1
print(text + num)
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | print(text + num)
004 | ~~~~~^~~~~
005 | TypeError: can only concatenate str (not "int") to str
!e
name = "A.C.E"
b = f"Hello {name}!"
print(b)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello A.C.E!
!e
a = 2
b = "This"
c = b + str(a)
print(c)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
This2
!e
num = 1
text = "number is"
num_str = str(num) # Converts the integer to a string
combined_text = text + " " + num_str
print(combined_text)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
number is 1
!e
class Foo:
def __str__(self) -> str:
raise ValueError("String not possible, mate!")
foo = Foo
b = f"Hello, {foo}"
print(b)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, <class '__main__.Foo'>
!e
class Foo:
def __str__(self) -> str:
raise ValueError("String not possible, mate!")
foo = Foo
b = "Hello, " + str(foo)
print(b)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, <class '__main__.Foo'>
Hmmm.
I'm stupid.
!e
class Foo:
def __str__(self) -> str:
raise ValueError("String not possible, mate!")
foo = Foo()
b = f"Hello, {foo}"
print(b)
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 6, in <module>
003 | b = f"Hello, {foo}"
004 | ^^^^^
005 | File "/home/main.py", line 3, in __str__
006 | raise ValueError("String not possible, mate!")
007 | ValueError: String not possible, mate!
!epy 'abc' + 123
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | 'abc' + 123
004 | ~~~~~~^~~~~
005 | TypeError: can only concatenate str (not "int") to str
!e py print('abc' + 'def')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
abcdef
!e py print('abcdef')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
abcdef
yep
Hi everyone
!e ```py
def func():
print('Hello, world.')
func()
func()
func()```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
!e
score = 85
if score >= 90:
print("Grade: A")
elif score >= 80:
print("Grade: B")
elif score >= 70:
print("Grade: C")
else:
print("Grade: F")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Grade: B
!e ```py
def func(parameter):
print(parameter)
func('argument')```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
argument
confused a tiny bit
!e ```py
def func(parameter):
print(parameter)
func('argument')
func('abc')
func(123)```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | argument
002 | abc
003 | 123
!e ```py
def func(a, b):
print(a + b)
func(1, 1)
func(5, 2)```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 2
002 | 7
oh okay i get it
!e ```py
def func():
return 'Hello, world.'
print(func())
is like
print('Hello, world.')```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
score = int(input("What is the score you got?"))
if score >= 90:
print("Grade: A")
if score >= 80:
print("Grade: B")
if score >= 70:
print("Grade: C")
if score >= 60:
print("Grade: D")
if score < 60:
print("Grade: F")
else:
print("No")
what is return?
!print-return
!e
score = 90
if score >= 90:
print("Grade: A")
if score >= 80:
print("Grade: B")
if score >= 70:
print("Grade: C")
if score >= 60:
print("Grade: D")
if score < 60:
print("Grade: F")
else:
print("No")
# you will get multiple scores
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 13
002 | else:
003 | ^^^^
004 | SyntaxError: invalid syntax
!zen
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
!e ```py
print('Hello.')
if True:
print('abc')
print('Goodbye.')```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello.
002 | abc
003 | Goodbye.
sleep meds kicked in π
!e ```py
print('Hello.')
if False:
print('abc')
print('Goodbye.')```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello.
002 | Goodbye.
!e
score = 90
if score >= 90:
print("Grade: A")
if score >= 80:
print("Grade: B")
if score >= 70:
print("Grade: C")
if score >= 60:
print("Grade: D")
if score < 60:
print("Grade: F")
else:
print("No")
# you will get multiple scores
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Grade: A
002 | Grade: B
003 | Grade: C
004 | Grade: D
005 | No
yeah yeah i get it
!e py print(5 > 2)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
!e py print(5 < 2)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
False
!e py print(5 == 5) print(5 == 6)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | False
!e
print(6 > 6)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
False
!e
!e py print(5 != 6) print(5 != 5)
code
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | False
!e py if 5 > 5: print('Hello.') print('Goodbye.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Goodbye.
print(7 < 8)
if True:
print('you are right')
if False:
print('you are wrong')
print('Goodbye.')
i made this
to run code type !e and the backtick ` three times follwed ctrl ener your code three backtick then enter
print(7 < 8)
if True:
print('you are right')
if False:
print('you are wrong')
if True:
print('Good job.')
if False:
Print('Try again')
there
demn
i can't get it right
yeah
mb
:white_check_mark: Your 3.12 eval job has completed with return code 0.
10
if condition:
'Do this.'
elif some_other_condition:
'Do this'
else:
'Do this.'```
At this indentation, each if is made of:
Exactly one if
Zero or more elif
Zero or one else
In that order.
Deindending with other code or another if terminates the first if group.
!e py if 5 > 6: print('A') else: print('B')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
B
okay got it
!e py if 6 > 5: print('A') else: print('B')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
A
!e py for letter in 'abc': print(letter)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e py for i in range(5): print(i)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
!e py for fruit in ['apple', 'pear', 'orange']: print(fruit)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | apple
002 | pear
003 | orange
!e py for _ in range(3): print('Hello, world.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
yeah
!e py my_list = [] my_list.append('apple') print(my_list) my_list.append('pear') print(my_list)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ['apple']
002 | ['apple', 'pear']
!e py my_list = ['apple', 'pear', 'orange', 'pear'] my_list.remove('pear') print(my_list)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['apple', 'orange', 'pear']
!e py print('abc'[0]) print('abc'[1]) print('abc'[2]) print('abc'[-1]) print('abc'[-2]) print('abc'[-3])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | c
005 | b
006 | a
!e py my_list = ['apple', 'pear', 'orange'] print(my_list[0]) print(my_list[2])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | apple
002 | orange
!e ```py
our list of seasons, starting in winter
seasons = ['winter', 'spring', 'summer', 'fall']
winter is 0 seasons after the start of the year
print(seasons[0])
spring is 1 season after winter
print(seasons[1])
summer is 2 seasons after winter
print(seasons[2])
but also summer is 2 seasons behind winter
print(seasons[-2])
i get it
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | winter
002 | spring
003 | summer
004 | summer
!e ```py
our list of seasons, starting in winter
seasons = ['winter', 'spring', 'summer', 'fall']
print(seasons[4])
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 4, in <module>
003 | print(seasons[4])
004 | ~~~~~~~^^^
005 | IndexError: list index out of range
!e py my_thing = [1, 2, 3] print(type(my_thing))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<class 'list'>
@ember light π
!e py my_list = ['apple', 'pear', 'orange'] popped = my_list.pop(1) print(my_list) print(popped)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ['apple', 'orange']
002 | pear
he popping off
!e py my_list = ['apple', 'pear', 'orange'] del my_list[1] print(my_list)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['apple', 'orange']
!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | False
003 | True
yep
okay i get it
i like this so much
im having fun
yeah yeah
so like a name tag
Conan The Librarian segment from Weird Al Yankovic's one and (so far) only movie, UHF (1989)
Don't you know The Dewey Decimal System!?
!e py my_list = ['apple', 'pear', 'orange'] result = len(my_list) print(result)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
3
!e py my_list = [1, 2, 3] if len(my_list) > 0: print('It has stuff in it.') else: print('It does not have stuff in it.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
It has stuff in it.
!e py my_list = [] if len(my_list) > 0: print('It has stuff in it.') else: print('It does not have stuff in it.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
It does not have stuff in it.
yep i get it
!e py my_list = [1, 2, 3] if my_list: print('It has stuff in it.') else: print('It does not have stuff in it.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
It has stuff in it.
ohhh okay
!e py my_list = [] if my_list: print('It has stuff in it.') else: print('It does not have stuff in it.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
It does not have stuff in it.
that is convinient
!e py if 0: print('A') if -1: print('B') if 1: print('C')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | B
002 | C
!e py print(bool(0)) print(bool(1)) print(bool('abc')) print(bool(''))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | False
002 | True
003 | True
004 | False
!e py my_list = ['apples', 'pears', 'oranges'] while my_list: print(my_list.pop()) print('Bye!')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | oranges
002 | pears
003 | apples
004 | Bye!
!e py print(True and True) print(True and False) print(False and False)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | False
003 | False
ohhh that's how it is
!e py print(True or True) print(True or False) print(False or False)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | True
003 | False
it was fun
thank you for teaching me
yeah can i add you if i want to ask a question
oh okay ill just see you then
okay thanks opal
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
:incoming_envelope: :ok_hand: applied timeout to @languid solstice until <t:1727528171:f> (9 minutes and 58 seconds) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
kd
heloo
Potentially.
@willow girder π
hello how are you doing
what im having trouble on is that I have to use if statements to make a blackjack game that counts the value of a hand. And right now im having a trouble here
card1 = input()
card2 = input()
score = card1[0] + card2[0]
if (int(card1[0]) + int(card2[0])) == 21 :
print('Blackjack!')
in the if part
@thin lintel what is difference between data science and data engineer
degree
I'd be happy to go through this with you, but it's late for me.
I mean in their skills
okay thank you sm π
data scientist is a fancy way of saying statistician. Data scientists are stronger on statistics and things like classification. Data engineers build data pipelines
so data engineers will work the infrastructure
Are they have a common skills if it is which are ??
Me too
@cedar crest Hello!
@cedar crest Cool Man! Works!!
@umbral rose Hi, could you please grant @pine condor access for streaming access?
git add .
git commit -m "text here"
git push
These are the basic commands you need to get started with Git. Learn the most commonly used commands, then start using Git with our step-by-step tutorials.
atlassian docs >>> atlassian software
they even have a quite good thing about git subtrees
VSCode built-in thing is quite good
for more conveniently staging specific files and specific lines
Here
mouse cursor go clicky click
GitHub Desktop is around the same in terms of functionality
there is no right answer between bundled and external
I think I might be having issues on Windows because I chose bundled
@thin lintel that's GPG
SSH is time-unlimited
pgp
