#voice-chat-text-0
1 messages ยท Page 232 of 1
i got an account
send me your ign
@rapid chasm dude you entered a game
@rapid chasm can you dodge >
hello everybody
hello @somber heath
Any Docker heads in vc today?
@deep oar ๐
Weary.
Hello
i cant speak in voce channel
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@graceful tangle
Will try to be on later, kind of swamped
Slow days are the worst at a job
They are fun the first couple of times... then never again
i love when it's fast paste, that's all my jobs ever have been. used to it by now.
I think it's paced, right?
Fast paste is when you use CTRL+V
you know what i meant, I"m out of coffee okay ๐ฅน
Just couldn't help myself
checks out
๐ฌ
tomato paste
Anyone using sagemath?
yo
i want my gift first 
unban me
hi
@each $prop
in (
(p, padding),
(pl, padding-left),
(pr, padding-right),
(pt, padding-top),
(pb, padding-bottom),
(g, gap)
)
{
@each $unit
in (
(1, $unit-1),
(2, $unit-2),
(3, $unit-3),
(4, $unit-4),
(5, $unit-5),
(6, $unit-6),
(8, $unit-8)
)
{
.#{nth($prop, 1)}-#{nth($unit, 1)} {
#{nth($prop, 2)}: nth($unit, 2);
}
}
}```
annual_salary = input("enter your annual salary ):")
portion_saved = input("The portion of salary to be saved :")
total_cost = input("The cost of your dream home :")
r = .4
monthly_salary = int(annual_salary)/12
portion_of_downpayment =.25
remaing_cost = int(total_cost)*int(portion_of_downpayment)
def number_of_month(remaing_cost):
current_saving = 0
for i in range(100000000000):
if current_saving < remaing_cost:
return i
else:
current_saving += r*current_saving + monthly_salary*portion_saved
i += 1
print("Number of months",number_of_month(remaing_cost))```
!code
TypeError: can't multiply sequence by non-int of type 'float'
annual_salary = int(input("enter your annual salary ):"))
portion_saved = float(input("The portion of salary to be saved :"))
total_cost = int(input("The cost of your dream home :"))
r = .4
monthly_salary = annual_salary/12
portion_of_downpayment =.25
remaing_cost = total_cost*portion_of_downpayment
def number_of_month(remaing_cost):
current_saving = 0
for i in range(100000000000):
if current_saving < remaing_cost:
return i
else:
current_saving += r*current_saving + monthly_salary*portion_saved
i += 1
print("Number of months",number_of_month(remaing_cost))```
annual_salary = int(input("enter your annual salary ):"))
portion_saved = float(input("The portion of salary to be saved :"))
total_cost = int(input("The cost of your dream home :"))
r = .4
monthly_salary = annual_salary/12
portion_of_downpayment =.25
remaing_cost = total_cost*portion_of_downpayment
def number_of_month(remaing_cost):
current_saving = 0
i = 1
while current_saving > remaing_cost :
if current_saving > remaing_cost:
return i
else:
current_saving += r*current_saving + monthly_salary*portion_saved
i += 1
print("Number of months",number_of_month(remaing_cost))```
it should be
remaing_cost = total_cost*(1 - portion_of_downpayment)
right?
yes thanks for pointing it out
def number_of_month(remaing_cost):
return remaining cost /montly_salary
print("Number of months", number_of_month(remaing_cost))
oh ok, mb
the r is rate of interest?
yes
and what's the use of current_saving?
the amount saved till now
@last wigeon what we talking about
def powerset(self, n):
for i in range(1 << n):
yield {j for j in range(n) if i & (1 << j)}
he's saying pycharm is auto activating his venv
Is it using the wrong environment?
Are you sure PyCharm is auto activating the environment?
If there is no pip, it is probably using the system Python.
There are in-person coding exams with a computer? ๐ฎ
what kind of a shit school doesn't let anyone use their IDE of choice?
are they looking for code or are they getting a commission from IDE makers to force students to become dependent on their products?
it generally looks more like a linux issue as they cannot even manually activate the venv inide pycharm because it requires sudo permissions apparently for some reason and they can't use sudo in pycharm because its a flatpack
is what i got from it
I would like to use "ChatGPT" as my exam IDE please, thanks!!
the reason schools try to standardize IDEs or much rather professors try to standardize IDEs is because is so if the student needs help with some setup for some tool or has some other issue the professor can help them in class without needing to learn many different IDEs
if the professor has used Pycharm for a while and teached with it he's probably familiar with all the issues beginners can have with Pycharm and can help them with relative ease compared to if he had to help a student who cannot set up lspconfig in neovim ;-;
there was this case of one professor who made a lang (APL)... and then forced students to buy his specially made keyboards to write the symbols made in his lang
nice side business he was running
edit: he was from harvard, so being a scum capitalist is no surprise
if you want to pass my course, buy my keyboard for $199
i think doing it for ease of teaching and saving time vs selling products is very different
!voice verify
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
im not going to lol
im not the eger to talk
ill get it at sometime
@solid perch are you a woman
why was that such a offensive question to ask @whole bear ?
stop rizzing
how did you know
pc got takken by the cops
๐ฆ
so i had no pc for a while
im a bitcoin god :))
i just spent 2k on a fn account havent played since i was like 9
16*
wanna see who has more money
you have alot of thing linked to your discord wanna see if im lying or not :)) @minor sage
LOL
im a bitcoin g
bitcoin bandit
bitcoin certified
im fricking balling
6 fig swima
:incoming_envelope: :ok_hand: applied timeout to @lone mist until <t:1702934643:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
@rugged root spamming msgs
i emoted the questionable things he msgd.
Hello
@lone mist do not spam to reach our VC verification requirements and also be mindful of the personal questions you ask of others.
It's okay to be curious, but there's a polite way to ask about it!
wasnt asking anything to personal that would break TOS, seems like i was being pressed for being present in this server...
just cause im rich asah
I don't understand how that's related to anything, but okay...
So basically i have so much money people just hate me
@rugged root someone by the name of @whole bear keeps spamming the join button
yeah if my voice button wasnt broken this wouldnt be a issue.
whenever i click join my mic makes a loud sound and then discord just closes the call.
Ah
this is not a server issue yet a issue with discord as it is happening in all voice chats.
even after reboot and re-installation
its okay. i was technically spamming it trying to see if it would just let me in.
Ah mk
If there's an issue when I'm not around, remember to either message @rapid crown or ping the moderators. I'm going to be busy most of the week and won't be able to be around
@wind raptor hi
how to speaks
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Oh, hi @somber heath and bye @somber heath
bb!
!pep 0257
@digital furnace ๐
!e
print("hello")
@pallid verge :white_check_mark: Your 3.12 eval job has completed with return code 0.
hello
@solid monolith ๐
!voice ๐
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i have Q
i am fine
how can i link mysql database that create in xampp with python program
Does anyone now to add firebase using python
starting_salary = int(input("Enter the starting salary: "))
semi_annual_raise = .07
monthly_return = .04/12 #Annual converted to monthly
portion_of_downpayment = .25
cost_of_home = 1000000
monthly_salary = starting_salary/12
downpayment_cost = float(portion_of_downpayment) * int(cost_of_home)
def best_savings_rate():
savings_rate = 0
total_savings_after_3years = 0
new_monthly_salary = monthly_salary
for i in range(1,37):
if total_savings_after_3years < downpayment_cost:
savings_rate == 1
if i % 6 == 1 and i != 1:
new_monthly_salary = new_monthly_salary*(1 + semi_annual_raise)
total_savings_after_3years += monthly_return * (total_savings_after_3years + new_monthly_salary * savings_rate) + new_monthly_salary * savings_rate
else:
print("You can afford this home")
best_savings_rate()```
what is H.265 vs H.264?
Hey Alisa,
How is it going?
but, as with many codes, there sometimes are licensing issues
(or patent issues rather)
@worldly shoal ๐
Yooo
I'm new here in this Python Community
just randomly joined this vc
!voice ๐
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Thanks but I think I will just listen, just too shy
a = 1
b = 2
c = 3
def func():
a
b
c
func()```Instead of this, consider...
```py
def func(a, b, c):
a
b
c
return ...
a = 1
b = 2
c = 3
result = func(a, b, c)```
@little pond
just stop using that AI thing, if you're worried it's spying on you
@lyric tapir ๐
are you extending an existing project or making a new one? (with php)
i just have an error
:
i am facing this error
object(SoapFault)#4 (14) { ["message":protected]=> string(33) "looks like we got no XML document" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(51) "C:\xampp\htdocs\dubai_books\admin\order_process.php" ["line":protected]=> int(56) ["trace":"Exception":private]=> array(1) { [0]=> array(6) { ["file"]=> string(51) "C:\xampp\htdocs\dubai_books\admin\order_process.php" ["line"]=> int(56) ["function"]=> string(6) "__call" ["class"]=> string(10) "SoapClient" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(21) "proceedNewRequestBook" [1]=> array(6) { [0]=> string(0) "" [1]=> string(1) "1" [2]=> string(1) "5" [3]=> string(8) "89787978" [4]=> string(6) "jkjjbl" [5]=> array(2) { ["trace"]=> int(1) ["exception"]=> int(0) } } } } } ["previous":"Exception":private]=> NULL ["faultstring"]=> string(33) "looks like we got no XML document" ["faultcode"]=> string(6) "Client" ["faultcodens"]=> string(41) "http://schemas.xmlsoap.org/soap/envelope/" ["faultactor"]=> NULL ["detail"]=> NULL ["_name"]=> NULL ["headerfault"]=> NULL }
i am about to finish it.
just one stupid error came while linking databases
does the error happen when replying to XML requests or making them?
@patent gyro ๐
for whatever reason we had this just over a month ago in southern regions of the country (I didn't see it myself but heard from someone who was there)
which is odd, given auroras are normally farther north
I make a
Wish and put it on christmas tree
this is probably with quite high exposure time
outside of photos it was barely visible, allegedly
funny thing is that i failed religion class
what is it
ok so i had a previous version of python installed and my project was running on it with playsound module with it
and how bad is it ๐ญ
krill issue
traceback?
error on pip install?
does python -m pip instead of pip run into the same issue?
can you suggest me some module to run sound
sounddevice, iirc
same issue
depends on sound you need to play
!pypi sounddevice
whats the game made in?
this is what I use
whats it made in?
oh
you can also start ffplay in the background
but that's harder to manage
!pypi playsound
ig i had 3.9
i'll try 3.9 only now
I used sounddevice on 3.10, I think
or should i just use another module
any easier module? can i use binary for this?
Hey guyz how can I learn game development.currently I am pursuing bca , first semester .i know basic c,python,html,css and JavaScript.tell me where to start and resources .
pickle module
@civic bridge ๐
mulled
@finite pelican ๐
Start gaming stream on your voice channel ๐
back
Do you guys study Python?
@wind raptor you get paid for this work or just chilling?
okay one last time, what do you say which module should I use now to play sound
Learning C?
Almost learned
Nice
that's also easy to use
Bro give me some tips to earn money from coding.
Learn how to code -> get hired -> profit
I will give you 50 percent
My teacher also knows coding but is brokie ๐ค
Your teachers are underpaid then.
Probably true he comes in sedan
What's wrong with sedans?
Too cheap for skilled people who knows coding ,I prefer sports cars
You know anything about modding games?
I modded gta 5 a bit and hated it so never again.
Am not talking about installing mod but making mods ๐
So was I
at least he doesn't have a prius am i rite fellas
No, I just hated the api. I got a few things to work and then bailed.
Please be kind on the server.
๐คญ
So you are nub in coding games ๐
Everyone is amateur in some things donโt worry
๐
IT STARTED RUNNING ONCE I DOWNLOADED 3.9
So you doing any job?
Mr dev
What role?
So you are in cloud computing integration?
I am 17 thatโs why am asking silly questions donโt make fun of me ๐คญ
My English is also bad donโt mind
M from china btw
Using translator
Start developing on the Microsoft 365 platform today! Join the Developer Program to get a free instant sandbox and sample data packs including Teams.
anyone know how to speak in vc
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hi
https://docs.docker.com/get-started/ @frozen owl
you need to setup ssh key
git remote -v
'
git remote set-url origin git@github.com:username/repo.git
try git remote add instead of set-url
here remote as origin is not set already
git remote add origin git@github.com:username/repo.git
like this
check
git remote -v
PS C:\Users\andre\RemoteFolder\tz-rust> git remote -v
origin git@github.com:andreaslam/tz-rust.git (fetch)
origin git@github.com:andreaslam/tz-rust.git (push)
tz-rust https://github.com/andreaslam/tz-rust (fetch)
tz-rust https://github.com/andreaslam/tz-rust (push)
Now use VS code
yo guys
helphelphelphelphelp
why am i muted
git config โ-global โlist
git config โ-global user.email "you@example.com"
git config โ-global user.name "Your Name"
!voice verify
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@whole bear
!voiceverify
!voiceverify
you guys i started larning python datast.. do you guys recomend it
@wind raptor
!stream 632762189257768960
โ @frozen owl can now stream until <t:1703001848:f>.
from PIL import Image
im = Image.open("original.png")
width, height = im.size
left = 0
top = 0
right = 0
bottom = 20
im1 = im.crop((left, top, right, bottom))
im1.show()```
SystemError: tile cannot extend outside image
from PIL import Image
im = Image.open("original.png")
width, height = im.size
left = 0
top = 0
right = width
bottom = 20
im1 = im.crop((left, top, right, bottom))
im1.show()
chris
can we move to codehelp
nvidia-smi
fucked up s p a c i n g
normal
reqwest
no way is that @rugged root dude your a inspiration
!voice verify
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
wsg @wind raptor
@whole bear do i need to do all that?
yes
im @oak yacht
Heyo
heyo
ohh ok bro
ye?
hi @whole bear
nothing much you @whole bear
oh sorry
alot people aint like watching this chat
lets say i need a API
right
BUT
i need it super off the records where can i find one
@minor sage
MindFul Charizard
Not here
do you know of one?
what are good vids on python im new to python or coding in general
hi
ohh ok ok
how to do it faster then?
me?
why do people in here have ego trips
ohh ok bro i get it
lol
so how are yall doing
good you
great
Failed to bind address: Os { code: 10049, kind: AddrNotAvailable, message: "The requested address is not valid in its context." }
you play fortnite bro?
I mean... you are the one who's throwing a tantrum because you didn't get what you wanted
i do but i aint gonna get on right now
yea im fricking maad as frick
Python tutorial - Python full course for beginners - Go from Zero to Hero with Python (includes machine learning & web development projects).
๐ฅ Want to master Python? Get my Python mastery course: http://bit.ly/35BLHHP
๐ Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF
๐ Watch the new edition: https://youtu.be/kqtD5dpn9C8
...
to busy with work and stuff
thanks
do you even know how to code in python you loser
Probably not, honestly
lol
nah i was going to make a deal with you do you want 1000 v box card ?
im just here cause everyone is so sensitive its so funny
but i need something in return tho
how rude
!timeout 1185382995679531012 1d
like go code for code with me
:incoming_envelope: :ok_hand: applied timeout to @lone mist until <t:1703092192:f> (1 day).
he was rude
depends what was it
and the card only work in a germen acc
k
i need to buy a gift for my friend
hm?
fight
@wind raptor this doesnt work
let ip = get_external_ip();
println!("{}", ip.clone()+":8080");
let listener = TcpListener::bind(ip+":8080").expect("Failed to bind address");
Failed to bind address: Os { code: 10049, kind: AddrNotAvailable, message: "The requested address is not valid in its context." }
its only 10$ so same price as the v box card
ok and what card you need
lol gift card
what kind
no just buy it and you will get a code
real
nah nah im fr
im really not lying
i can send you the code
or call you and show you the link in a call where i share my screan
well heres the thang
what?
?
visa gift caed code?
i think it has 50$ on it
how to use it?
๐คทโโ๏ธ
@wind raptor i gave away a visa gift card code 50$ on it idk if sombody used it
i aint selling
nope
so i cant exchange here in this server
mindful like VISA CARD IMA USE IT
can we finish talking in dms?
bought what?
bro in the vc you really got me
nah
i mean he got me when he said dezz
nah bro is gone now
bro you there?
what bro?
ohh ok
soooo
does anyone need to talk with me or i can just talk to myself?
what?
bye bro
damn
you still wanna change bro?
how damn i how long do i need to talk
spamming gonna be a mute
hm,
nah bro
how old are you ๐
17 why bro?
sorry but act 13
damn bro that hurts
hurts me asking for 10$
didnt ask you just said if you want 1000 v box
lol
so i realized this python full course vid is 6h @wind raptor
Yeah, pretty short, but it's all you can really get for free
I usually recommend Udemy 20+ hours for any language.
is this course still good it was made 4 years ago lol
Yeah. The basics of Python haven't changed since 2008 when they went from 2.7 to 3
dang
There's lots of little changes from updates, but learning the core is all the same
it's only when you get into more advanced things that there is some stuff
๐คฃ ppl shilling their own courses
yakhni
damn is that kaka bro?
ุทุจุฎ ู ุงู ุง
canon 2000d
!stream 452930548986413067
โ @left leaf can now stream until <t:1703010892:f>.
@mods let me stream open source development in live-coding? o.O
still cant talk damn
im not spaming im talking to you in the vc from here
yeah i can play chest with you bro
what its not chestN
Chess*
I said cleaning. -3- I think my mic sensitivity isn't set for my new headphones
its chess?
That makes sense
Shut up
Lmao. I didn't say creaming XD I swear
Dear god
I know
Anyone have daytro
@solid perch fix your mic
my god
db.employees.aggregate([
// convert the dates and salary
{
$addFields: {
"ConvertedBirthDate": {
$dateFromString: {
dateString: "$BirthDate",
format: "%Y-%m-%d %H:%M:%S.%L"
}
},
"ConvertedHireDate": {
$dateFromString: {
dateString: "$HireDate",
format: "%Y-%m-%d %H:%M:%S.%L"
}
},
"ConvertedSalary": { $toDouble: "$Salary" }
}
},
// get age and years with company
{
$addFields: {
"Age": { $subtract: [new Date().getFullYear(), { $year: "$ConvertedBirthDate" }] },
"YearsWithCompany": { $subtract: [new Date().getFullYear(), { $year: "$ConvertedHireDate" }] }
}
},
// calculate the adjusted salary based on country and calculate bonus
{
$addFields: {
"AdjustedSalary": {
$cond: {
if: { $eq: ["$Country", "UK"] },
then: { $multiply: ["$ConvertedSalary", 0.8] },
else: "$ConvertedSalary"
}
},
"Bonus": { $multiply: ["$ConvertedSalary", 0.01, "$YearsWithCompany"] }
}
},
// match based on country
{ $match: { $or: [{ "Country": "USA" }, { "Country": "UK" }] } },
// sort
{ $sort: { "LastName": -1, "FirstName": -1 } },
// display the results grouped by employee country
{
$facet: {
"US Employees": [
{ $match: { "Country": "USA" } },
{
$project: {
_id: 0,
FirstName: 1,
LastName: 1,
Age: 1,
Title: 1,
Salary: { $concat: ["USD ", { $toString: "$AdjustedSalary" }] },
Bonus: { $concat: ["USD ", { $toString: "$Bonus" }] }
}
}
],
"UK Employees": [
{ $match: { "Country": "UK" } },
{
$project: {
_id: 0,
FirstName: 1,
LastName: 1,
Age: 1,
Title: 1,
Salary: { $concat: ["GBP ", { $toString: "$AdjustedSalary" }] },
Bonus: { $concat: ["GBP ", { $toString: "$Bonus" }] }
}
}
]
}
}
])
why not break it into utility functions?
Because we were not allowed to
Had to be one aggregation
and in a very specific output format
not allowed to write cleanly
hey anybody tryna help me solve this pattern into like an equation in terms of n?
2
4 - +2
7 - +3
10 - +3
14 - +4
19 - +5
24 - +5
30 - +6
37 - +7
44 - +7
52 - +8
61 - +9
70 - +9
80 - +10
91 - +11
102 - +11
so basically if its even add it once and if its odd add it twice
Looks really good
lots of kitty pics
hi!
somebody had 3 hrs of sunlight , did they ever do ham radio for something to do , any new SDRs of worth
or they joined discord just to join this server
yup
I see you are training social engineering skills
this is the second time today someone has burped in the channel
what's up with ppl burping in the channel?
beer time?
@wind raptor could I stream?
!stream 939196353362419722
voice-chat-burp-0
โ @whole bear can now stream until <t:1703016645:f>.
thanks
No problem
They are training for the holidays
yo dude
tryna sus out talk
w8 i do what
ah nws m8
kiwi or aussie
bruh
@somber heath
how did u learn this shit tryna suss it out
feel like spacker
yh python
cant talk for 3 mins says
!voice ๐
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yh i been there says gotta say send 50 odd msgs
what pdf?
dunno man strugglin w the beginner projects feel like a dumbass doin this
coryschafer?
found it m8
Corey Schafer.
cheers <3
cheers m8 the thing im strugglin the most w is just the almost like programmer dialect they use in these tutorials
like this paragraph here
call the get choices function and store the response in a variable called choices and then print the value of choices to the console
took me so long to wrap my head around this
yes n no
๐
!e ```py
def func():
return 123
print(func())
print(123)```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 123
002 | 123
๐ im happy to know that even seasoned programmers fuck up 2
where bouts u in australia
outback or city?
but y do u have so many brackets for the function?
how come u cant just write
print(func)
a = 123```
okay
think i need some acid to sus out this shit seems so abstract ngl
thank god
u reckon i should get a book for this?
like one of them python beginner books
nah fella i can hear fuck all wind
do u work as a programmer then?
how long u been programming for?
nah thats fine m8
a what?
ahhhhhhh
bruh now u got me wonderin more questions
u got an nda or summat
damnnnnnn
fair play 2 ya
seriously?
is that common in the tech field then?
fuck ya saw through my bait
fair play to ya
nah sorry man u just seem older n wiser than us so i like picking people like u's brains
cheers man
wise af
my bad man
try
!e ```py
def func():
return 123
print(func)
print(123)
@sinful ember :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | <function func at 0x7faa2fa72a20>
002 | 123
looking as skill issue python
but that's just like func id
idk i understand u or not
i'm bad in english
what do u not understand?
You are trying to print the function itself, not the result from it
Try print(func())
!e
def func():
return 123
result = func()
print(result)```
@rapid chasm :white_check_mark: Your 3.12 eval job has completed with return code 0.
123
.sh file
@ashen rivet ๐
hello @rapid chasm
Source code: Lib/re/
This module provides regular expression matching operations similar to those found in Perl.
Both patterns and strings to be searched can be Unicode strings (str) as well as 8-bit strings (bytes). However, Unicode strings and 8-bit strings cannot be mixed: that is, you cannot match a Unicode string with a byte pattern or vice-versa; similarly, when asking for a substitution, the replacement string must be of the same type as both the pattern and the search string.
hello
i am not following, what are we talking about?
All the things.
Signup for your FREE trial to The Great Courses Plus here: http://ow.ly/nxrd30pygah
Christmas is the most iconic holiday in the world and itโs full of strange traditions. Activities like hanging stockings and singing songs about flying reindeer have become so deeply ingrained in Christmas, that we donโt even wonder where they came from. When we...
can i stream mindful dev?
!stream 939196353362419722
โ @whole bear can now stream until <t:1703084454:f>.
thanks
@wind raptor hey man i finally updated on this computer
@wind raptor happy holidays
also im back at the house for a little bit.. being the holidays and all
I think coffee is good for a toothache, change my mind.
without milk or sugar of course
Thanks. You too!
lol
im just happy i can type.
so yah confirmed key burned to a crisp. found it.... just not in the conditioned once hoped.
and im drowning my sorrows in medication that ill get tomrorow.
You can get another from the dealership though
for 572..
This is why I would never get a Mercedes or any luxury brand
this is why when its free you complain later
All the parts are way overpriced
of course and getting off brand would spell disaster,
risk of scammed
blah blah
woot
building in in DIscordia
# Use the official Python base image
FROM python:3
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
# Update package lists and install necessary dependencies
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-dev \
build-essential \
curl \
&& apt-get clean
# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Set environment variables for Rust
ENV PATH="/root/.cargo/bin:${PATH}"
# Set the working directory inside the container
WORKDIR /app
# Copy the project files into the container
COPY . /app
# Add any additional commands needed to set up your project here
# Command to run when the container starts
CMD ["bash"]
ugh
we would perfer if you spilled that in a cut and paste place
@wind raptor if you are in a giving mood, i can use a key... (whispers, Key-gen for PhotoshopPro) wink wink they'll think its for the car bwahahahahhaha my plan is perfect.
btw i don't need that, i thought my head could keep it to its self
stagnation at my age is a terrible state to be in.
and i feel... stagnated. (cries in mellenial)
millenial
GD 2.2 released!
Hey it's ok if I join right?
snake poop smells 10x worse than normal poop
๐
I kinda started learning python last year and I started well I think but I feel like I can't progress, I'm always at the beginning of it and don't know what to do to progress still
can anyone help me start?
Yo sup yall
Good hbu bro?
Hopefully be on here in a sec
yay
@rugged root good! cos people are waiting!
@wind raptor what code editor is that and what you coding
Op woensdag 23 december 2020 hebben een aantal jongens en meiden het initiatief genomen om met een verlichte trekkerstoet langs verschillende bejaardenhuizen te rijden in de plaatsen Leersum, Amerongen, Wijk bij Duurstede, Langbroek en Doorn.
Hierbij een kleine samenvatting van deze trekkertocht
Alle beelden van de tocht zijn hier te bekijken: ...
rediscovered this recently
https://github.com/nektos/act
Gitea uses a fork of that
docker
is it an error?
(there are worse failures in docker than explicit errors)
--platform
tz-rust git:(default) โ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tz latest 002e66c71d1e 35 minutes ago 4.74GB
moby/buildkit buildx-stable-1 5e52d49c7aeb 2 weeks ago 168MB
as you can see tz exists locally
which is the one i want
wtf
โ tz-rust git:(default) โ docker push andreaslam/tz:1
The push refers to repository [docker.io/andreaslam/tz]
An image does not exist locally with the tag: andreaslam/tz
if i do
โ tz-rust git:(default) โ docker push tz
Using default tag: latest
The push refers to repository [docker.io/library/tz]
a562496b72ba: Preparing
fe8efe8931c7: Preparing
d8512b3558c8: Preparing
35f45da79d05: Preparing
a1360aae5271: Preparing
denied: requested access to the resource is denied
it fucks up as well
so how do i unfuck my mess rn
how are you building the image?
โ tz-rust git:(default) โ docker build --platform linux/amd64 -t tz .
this works
at the end:
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/xpw83bh8jlz5qvhnpjmfyhbx3
What's Next?
View a summary of image vulnerabilities and recommendations โ docker scout quickview
so i think it works???
idk why it's called "upbeat_hamilton"
but it says tz at the bottom
specify the full tag in -t
wdym
-t andreaslam/tz
okok
fingers crossed i hope this worksss
i decided just now to build using something else
nvm
it should just do a rename if the image was already there
bro everyone muted
There is a zero in the channel name for a reason!
Anyone know how to make a forum?
discord forum or in general?
in discord, you need to enable community features first, afaik
@flint hill mobile UI bug, likely
it also shows (or used to show) this as a text channel
no a real forum
@molten pewter That is sooo true
(for me)
@molten pewter relative addressing is technically use of pointers
there's also a difference between pointers and addresses
do registers storing memory addresses count as pointers?
because then your always using pointers
in Rust especially
since there it's explicitly separate concepts
and they may drift further apart later on
composable
there are ways to compose C okay-ish-ly
but it's hard to get right, since contracts are implicit
@wind raptor could i stweam
!stream 939196353362419722
โ @whole bear can now stream until <t:1703102329:f>.
thanks
Hello!
!voice verify
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yeah, I can't talk
I don't have response
maybe it's bugged
well, question, do you know how to debug a python FastAPI code inside Docker?, I tried debugpy but it's kinda complicate, 'cause when I save the files, vscode update the connection and I've to press F5 again to connect
Hi! Cant talk but i will be watching for a while
zubba zubba , all quiet on planet earth..
@whole bear๐
hello\
@lone siren๐
Why does it not try to get the channel from the cache and if it fails it fetches the channel from the API?
I'm trying to understand why is there is both get_channel and fetch_channel
Why not just use one function? If get_channel returns None, then hey, maybe I should try to make an API call instead
get channel is synchronous
it can't do IO
whereas fetch never caches for whatever reason -- that part is actually weird
but that was on 1.7.3, idk about whether fetch catches now
@rapid chasm hello
also hello @brazen gazelle
how are you all doin
@fathom glen hello
get() or await fetch()
you can make a helper function around that
get exists for cases where you're okay with not getting anything
hi
whereas for fetch, missing value is an error
so fetch will keep asking for a result?
I know, but why isn't it already built-in for get_channel? Is there any scenario where you would like to get the channel and not fetch it if it doesn't exist?
it can't be built-in for get_channel
๐
and it shouldn't be built-in for fetch_channel
Why not?
example: fetching a channel after a rename
or not ๐ญ
get will return old name
fetch will return new name
all depends on how recent you want results to be
so you're expected to implement your own cache if you actually care about how recent the values are
does anyone know a free course or something that can take me from 0 knowledge to pro?????
for interacting with channel's messages you don't really need any recent information, so get or (fetch then store) is fine
well ig ill ask someone else then ๐ญ
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
also depends on what "pro" means
like be able to understand the code
official tutorial is enough to understand most of the syntax
most (amount-wise) knowledge beyond syntax and fundamental concepts will depend on specific libraries and projects
idk how important it is to be aware of standard library contents
only to a certain point, I guess
there are modules (especially before 3.13) which are just dead
mostly
they might lack examples at times, but generally are good at explaining what there is
where should i skip to since i know like some basics
How often does the cache update its data?
I have no idea
in tutorial: 4.6
4.6 covers a relatively new syntax structure, which older tutorials couldn't have covered at the time
I'm thinking that if you change the channel name, it should also update the value in the cache
ok
what are u working on?
Discord bots
it might update, but you're not going to get it as soon as it happens
o cool!
had a question for you
dam with pyrhon u can litterally do anything
bots,games , cybersecurity, automation, ai, gui, web apps and more ๐ค
security -- less so
since not as much low-level control as with C/Rust/etc.
can you explan on this
what do you mean?
hm bc someone said that i need to learn a automation language if i wanna get into cyber security or ethical havking
Why would you not get the most recent value?
delay for event to arrive from server to client
get is optimised for availability -- it's instant
your very smart at python
how long did it take for u to get to this point?
whereas fetch is optimised for consistency
of programming in general or of python specifically?
I just don't understand why, if it updates the value or the new channel name in the cache, why would it still retrieve old data?
both ig
no, that's not what I meant;
cache itself can and will be outdated
Also how does i turn into mary etc
I think get channel can accept if channel is not there but fetch assumes it has to exist
my bad
it raises error
python since 2017
before that, some sporadic experience with Pascal, C, Java and Lua