#voice-chat-text-0
1 messages Β· Page 233 of 1
@wind raptor progress check
Hi
I want to watch unlisted videos uesing code can someone help me @wind raptor
Yeah
I donβt have
I have two links
!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.
But I want the rest of video
ask the author to give you a link
I did
Hello guys
Sorry
hi
btw guys what would be its alternative in python?
class Store<T> {
appData: string;
settings: T;
constructor(appData: string) {
this.appData = appData;
this.settings = this.getSettings();
}
set<K extends keyof T>(key: K, value: T[K]) {
try {
this.settings[key] = value;
if (!fs.existsSync(this.appData)) {
fs.mkdirSync(this.appData, { recursive: true });
}
fs.writeFileSync(
path.join(this.appData, 'settings.json'),
JSON.stringify(this.settings, null, 4),
);
} catch (err) {
Logger.error(err);
}
}
i mean for only Generics T and K
but in python we can't access dict values directly
i mean
d = { "a": 1, "b": 2 }
d.a
d["a"]
i don't get intellicense for dict keys in vscode
or d.get("a")
d['a']
dot syntax doesn't suits python tbh for dicts
hmm it doesn't work, i doing wierd things lol
class a[T]:
b: T
def get[K](self: a[K]) -> K:
return self.b
e!
class a[T]:
b: T
def get[K](self: a[K]) -> K:
return self.b```
!e
class a[T]:
b: T
def get[K](self: a[K]) -> K:
return self.b
@obsidian dragon :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 | class a[T]:
004 | File "/home/main.py", line 1, in <generic parameters of a>
005 | class a[T]:
006 | File "/home/main.py", line 4, in a
007 | def get[K](self: a[K]) -> K:
008 | File "/home/main.py", line 4, in <generic parameters of get>
009 | def get[K](self: a[K]) -> K:
010 | ^
011 | NameError: name 'a' is not defined
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/3OJYW2II5ONZ5ZDH3PLOWY52TA
i gtg bye
.
thanks
@lucid blade ^ dis
@echo garden Your holidays going okay? Able to stay safe and warm?
@rugged rootthanks for the caring, and im over my loved ones house this season, but ill be back out soon enough just greatful to entertain some of my other hobbies in the mean time.
@rugged root just sucks not to have a damn vehicle, and btw, i found my key.. not in the condtioned hoped but found π¦
yes yes, (reffering to the barking ass dog) sing me the songs of your people
I take it the key didn't work though, right?
Hello!, I can't talk but I'll be watching for a while
Always happy to have more folks
And if we're in VC, we'll typically be watching the chat here so no one gets left out of the convo
but i knew for sure that it was definately the key.. without a doubt.
@rugged root you work here is done.
someone suggest a project. i want to build something over the holidays
a snowman
LOL
that gives me an idea i've been wanting to try out
well, my work here is done
but ml training i do in python π¦
i was hoping for a web side proj
still... ai voice gen proj is one i've been wanting to try out
Youtube has saddened me, their attack against ad blockers are relentless lately
now they have a 3 video deal stating (bish if you keep it up we turn off the player)
odysee
i haven't worked with tensors in 1.5 years
@stark river indeed... well i have an idea of attaching a tensor that should work out the box with chatgpt
a tensor of tensors, that are geometric based, using shapes to maintain data structure and adhereing X Y Z values to availble device data.
@stark river so, since shapes can be mathematically created, they can be made within the original tensor and maintain dimenstional data, that within its core can be referenced using words like, trinangle, square, box... all basic gemetric shapes stored as a tensor vaule for reference.
something like this https://stackoverflow.com/questions/71526128/adding-tensor-to-particular-columns-of-a-tensor-in-tensorflow ?
eh, more of a 3d environment of data strcuture that has a maintained learned world
i have ..... well possibly have an example.
in python
i do understand im working 0 and 1s here,
@rugged root
@slender sierra Yo
anyone see the new version of midjourney?
I haven't, no
or played with it
Honestly kind of forgot about midjourney
my dockerfile so far
# Stage 1: Install Python dependencies
FROM ubuntu:latest AS python-dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-dev \
python3-venv \
build-essential \
curl \
&& apt-get clean
RUN python3 -m venv /app/tz_env
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN /app/tz_env/bin/pip install -r requirements.txt
# Stage 2: Build the main container
FROM ubuntu:latest
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN apt-get update && apt-get install -y \
libglib2.0-0 \
libgl1 \
protobuf-compiler \
pkg-config \
libssl-dev \
libclang-dev \
clang \
&& apt-get clean
COPY --from=python-dependencies /app /app
WORKDIR /app
COPY . /app
ENV LIBTORCH_USE_PYTORCH=1
ENV LIBTORCH_BYPASS_VERSION_CHECK=1
RUN /app/tz_env/bin/python3 -c "import torch; print(torch.__file__)" > /tmp/pytorch_path.txt
# Set the environment variables
ENV PYTORCH_PATH=$PYTORCH_PATH
ENV LD_LIBRARY_PATH="$PYTORCH_PATH/lib:$LD_LIBRARY_PATH"
RUN cargo build --release
CMD ["bash"]
turned off google voice detection πͺ
@stark river honestly try not to use it whenever i can, but its so damn useful as of late im just finding myself violating myself..... which i normally do anyhow but this... feels.. dirty.
hahaha
yeah, It's useful and I know it is a big mistake use and google photos, but the services it's so good u.u
but the one thing i can't stand is the hold they have on you... imagine LOSING that number your need to recive the text that your account holds so much money over and if you lose its over with
this has happened to me 3 times
scream, whine, beg, threaten, sulk, wondered, tried, cried, and here i am ..
i have like 300 on my hotmail account for xbox and the only way i can get get access to something on it is to have my google that has ALL of my RANDOM ass passwords they recommended, but not only that if you have it you need the number to recieve it
i was willing to pay 600+ to sprint for my phone number but they said it had expired, imagine, how much they would have made if they held before collections, about 6 months what to keep the serivce open but not in use is what, 4 to 6 dollars a month? they saved a customer and the customers entire digital life, is worth that 600+
random passwords? can you enable that functionality?
now i have ghost accounts online
which i NEVER watned to have
facebook and some other services i have no access too anymore ALL because i lost a number
if i had access ... funny thing i call the number once in a while
last i check it thinks its available
but the owner was a kid of the payer and it seemed weird i kept calli9ng for a code
Any bash guru over here mind helping out
Painting "Tweakers at a Motel 6"
here
Earl of Sandwich is a noble title in the Peerage of England, held since its creation by the House of Montagu. It is nominally associated with Sandwich, Kent. It was created in 1660 for the prominent naval commander Admiral Sir Edward Montagu. He was made Baron Montagu of St Neots, of St Neots in the County of Huntingdon, and Viscount Hinchingbro...
How can i get the count of matching occurrence in this awk code
awk -F" " 'match($1&&$9, $1&&$9) { print $1 " " $9 }' < apache-access.log | sort -r
@rugged root could we get an aoc voice channel pls? Wanted to stream solving some problems later tonight
see you next time guys, take care
here
Looking into it now
@left leaf Sorry, we get hung up on weird stuff
such as?
@vernal bridge
https://www.oracle.com/database/technologies/appdev/xe.html
https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinw/installation-guide.html#GUID-C3C5B05A-3BEB-4373-96D0-80BBADFBD6A4
Nothing says "recently got a new email address" quite like getting a 429
when changing email address in various services
Danke, Otto, Danke π
Streamt Friesenjung: https://lnk.to/Friesenjung
Directed & Edited by joost klein
Shot by Bloempot Media
Colors by Bloempot Media
Camera 2: Lyon Pol
Camera 3: Till Tinsky
Mixed Media: joost klein
Production: joost klein
Production 2: Asil Teker
Catering: joost klein
Photo Animation: Fons de Haan
Song produced by Tantu Bea...
Hope this was the best minute of your life! #shorts
MERCH: https://manitowocminute.com/collections
Follow me at these places:
Twitter: @CharlieBerens
Instagram: @CharlieBerens
Facebook: www.facebook.com/charlieberensTV
For more Manitowoc Minute click here: https://www.youtube.com/playlist?list=PLRY-eAwoPfKBdGfuDu081r-bSMapeg0GB
https://www.quora.com/unanswered/What-is-the-difference-between-a-Canadian-accent-and-a-Minnesota-accent-They-are-both-very-polite
apparently they have a "polite accent" @willow light
what all of this
it happens here as well
That almost looks like Nashua, just replace the bricks with pavement, empty vapes, and used needles.
it's Utrecht
i can't speak
I am aware
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
well that's cool, looking from the east
I live in the large long building along the river.
should someone tell him?
The train station is gone, it was replaced with the first fast food restaurant in the state. Which is now a very low quality diner.
o
The lake near the upper left corner no longer exits, they filled it in with asbestos and built a shopping center with a massive parking lot on top.
speaking of paper factories
@willow light someone next door was playing this recently
https://youtube.com/watch?v=Qz9gmiLBVFA
SebastiΓ‘n Yatra β Tacones Rojos (Official Video)
βTacones Rojosβ OUT NOW: https://sebastianyatra.lnk.to/TaconesRojos!YTD
Pre-save βDharmaβ here: https://presave.umusic.com/dharmapresave
YouTube Top Hits here: https://youtube.com/playlist?list=PL7jpaz44D1qabCDRlLxq4nO0owpL_l-B8
My Spotify Complete Collection here: https://open.spotify.com/pl...
@sturdy panther !voice verify
https://www.youtube.com/watch?v=hc7Bn9u5uQ0 @gentle flint the parking lot outside my window is one of the battlegrounds in this conflict
From the dance floors of weddings and bar mitzvahs to the Billboard Hot 100, chances are, you've enjoyed some merengue music β think about the 1998 Puerto Rican hit 'Suavemente,' which topped charts across the globe. But did you know that merengue's path to global fame started in the Dominican Republic, before it made its way to Puerto Rico? In ...
!voice verify
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
This wonderful piece by GyΓΆrgy Ligeti is part of the famous "Musica ricercata" suite for solo piano. This seventh movement has a very interesting feature: the supporting ostinato and the melodic lines are totally decorrelated. I would like to propose here an interpretation which leverages this very aspect, involving two sides of electronic music...
How does the modulin work? Alot of people have asked me this and i hope this video will answer the question!
See the video where i play th Wilys Castle Song from NES Mega Man 2 here: https://youtu.be/QaW5K85UDR0
I will fill in the three suggestions on how to build the modulin yourself as soon as possible!!
Video Made by Martin Molin & Hannes ...
undefined
imagine having a lottery system for car driving licenses
that would be wonderful
i once created an investment strategy that guaranteed a lottery win every time π¦ (in my country only)
@peak depot are you a cs student
meanwhile my internet doing a funny
"no idea what might be influencing it"
hmmmmmm
and you call your internet slow?
damn
and because of my shit wifi it takes hours to just build and push to dockerhub
fuck
it rarely ever can go above 250mbps (just above what it hits right now)
because wi-fi
im getting 500+ mb
wtf
i want ethernet wifi connection π«
under $10 a month for 600mbps + static IP Β―_(γ)_/Β―
MGTS
actually it used to hit 800 mbps when I tested it at other home
TIL this was a thing at some point
https://en.wikipedia.org/wiki/MTS_India
russia?
yes, the less poor part of it
North and East have very costly internet
I don't remember about Far East, that might have okay prices too
Could be Discord messing up as well
it's funny how the country that wrote the book on civil disobedience forgot how to do it
it's not just Discord
VS Code remote is suffering too
Provided to YouTube by Ohmatdyt
Koady/The Burning Lion Β· Flook Β· Brian Finnegan
Heal The Sky
β Ohmatdyt
Released on: 2023-10-12
Auto-generated by YouTube.
Hey @vocal basin mind helping out with bash
@willow light @gentle flint
"there's a more radical solution to YouTube ads: moving to Russia"
A St. Louis Metropolitan Police Department SUV crashed into the front door of a south St. Louis bar early Monday morning, and one of the bar's owners is now facing charges after a confrontation with police.
The owners of Bar:PM at the intersection of Blow Street and South Broadway were asleep above the bar at about 12:30 a.m. when they heard ...
bash itself or some command-line tool?
bash itself
The attorney for the owners of a bar that a St. Louis police SUV slammed into early Monday morning released video that shows a police SUV running a red light shortly before the crash. The video was taken from a building at the intersection of South Broadway and Nagel Avenue, about 225 feet away from Bar:PM.
=====
FULL STORY: https://www.ksdk.co...
hey
Alisa chess?
gg
@vocal basin hi
lol
why not make your own pockets if the makers don't give them?
i get bespoke clothes made so everything made to spec
@spring eagle happy nuuttipuukki
@stark river thaanks
Are you guys not programming ?
making an ai voice generator π©
That's cool, can I help?
i don't need any help.. just tedious work
Ok
santa claus is saint nicholas of turkiye
is that the honeycomb hide out ?
i have 2 apple trees , they rot on ground then the deer ( usually only one ) will eat all of them - is that alcohol kinda ?
is this someplace exoitic ?
where is this ?
finland
ahhh ok
hourzes
Clipped voice message: "You ever watched a 12 year old"
Since I still can't speak I can only play "bot" xD
man those 50 messages take like 10 billion years if you dont spam
the world can stop , and Finland will continue , knowlege of how to live in cold
but it will be drowned first?
what kind of fish ?
thought it is one of the first countries to go and it is not really preventable as I understood
Phenix you have the message count
You just have to do !voiceverify in #voice-verification
sorrryy xD
you need a Arctic winter suit - one piece
orange mouser for the barn
once bed is warm then the cats come to keep you awake all night
wow, where is it?
Finland
city?
!e py my_dict = {float('nan'): i for i in range(3)} print(my_dict)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
{nan: 0, nan: 1, nan: 2}
I won't dox it
what?
they live in Rome, Finland
lol I got you bro
!e
print(float('nan') == float('nan'))
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
!e
print(float('1') == float('1'))
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
ahh ok, thanks!
!e py my_dict = {float('inf'): i for i in range(3)} print(my_dict)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
{inf: 2}
!e
print(float('inf') == float('inf'))
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
no
!e
print(float('nan').__ceil__())
@verbal zenith :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 | print(float('nan').__ceil__())
004 | ^^^^^^^^^^^^^^^^^^^^^^^
005 | ValueError: cannot convert float NaN to integer
!e
import Math
print(root(-1))
@obsidian dragon :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 | print(root(-1))
004 | ^^^^
005 | NameError: name 'root' is not defined
!e
import Math
print(root(-1))
@obsidian dragon :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 | import Math
004 | ModuleNotFoundError: No module named 'Math'
!e
from math import sqrt
print(sqrt(4))
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
2.0
!e
from math import sqrt
print(sqrt(-1))
@obsidian dragon :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | print(sqrt(-1))
004 | ^^^^^^^^
005 | ValueError: math domain error
!e py a = float('inf') b = float('inf') print(id(a), id(b))
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
140152189061104 140152189063152
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
nan
#bot-commands
!e
print(float('nan').real == float('nan').real)
@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
The cmath module also includes a couple of constants like pi, tau, Positive infinity, and some more constants used in the calculations.
!e
import numpy as np
arr = np.array([8 + 5j, 10 + 2j, 4 + 3j])
print(arr)
@obsidian dragon :white_check_mark: Your 3.12 eval job has completed with return code 0.
[ 8.+5.j 10.+2.j 4.+3.j]
@rugged galleon π
Solving chess consists of finding an optimal strategy for the game of chess; that is, one by which one of the players (White or Black) can always force a victory, or either can force a draw (see solved game). It is also related to more generally solving chess-like games (i.e. combinatorial games of perfect information) such as Capablanca chess a...
@eager thorn Hey 
aye brother, how're you doing?
I'm good thanks hru?
sick/stuffy damn allergies hitting me hard.
Ouch yeah that sucks, do you have any medications for that?
yeah took some earlier, still hasn't worked yet.
I think its more likely that santa traverses the mycelial network than it is via sleigh, rooftop and chimney
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...
After Theresa May says Britain should leave the European convention on human rights, Patrick Stewart, Adrian Scarborough and Sarah Solemani expose the problems in the Conservative plan for a UK bill of rights.
Subscribe to The Guardian on YouTube βΊ http://bit.ly/subscribegdn
This satirical take on the classic Monty Python sketch asks βwhat has ...
Andy Serkis' new Brexit parody is precious... β¦
READ MORE : http://www.euronews.com/2018/12/10/andy-serkis-reprises-gollum-character-to-mock-may-s-brexit-plan
What are the top stories today? Click to watch: https://www.youtube.com/playlist?list=PLSyY1udCyYqBeDOz400FlseNGNqReKkFd
euronews: the most watched news channel in Europe
Subscribe! http...
Hi @whole bear
League of Legends
He has a point
Just saying
No worries 
2017 maybe?
@brave condor π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I see thankss
Hi again
@somber heath I just got started learning python
Thought maybe if I hang around with people who share the same interest it can get easier and more engaging
U sound like rick sanchez
Helllooo
He was talking about people with similar wavelengths and all
@somber heath what got u here?
@somber heath as in to this discord
πnah as in what made u join this server
Does it get busier later on in the day
I seee
π
Hey chriss
Yes sirrr new to python
Itβs my first programming language
I have been at it for 3 days
I have been working on it on my laptop
Well there is this guy named mosh on youtube. I am trying to learn from him
Narp
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
The guy from uncharted 2?
Karl schafer
I seee corey π
I do. They usually giveβhomeworkβ so..
@tranquil lion π
What do you guys use python for anyways?
Love huskeys
U guys know any other languages?
Hi @wind raptor
Oh opps hi @whole bear
Oops*
I have been on discord for a bit buttt usually just switch to snap chat to talk to people
!e py arr = [1, 5, 2, 7, 3, 9, 4] for i, v in enumerate(arr): if v > 5: arr[i] -= 1 print(arr)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
[1, 5, 2, 6, 3, 8, 4]
!e py import numpy as np arr = np.array([1, 5, 2, 7, 3, 9, 4]) arr[arr > 5] -= 1 print(arr)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
[1 5 2 6 3 8 4]
I am gonna head to work. U guys have fun
@fathom glen π
i'd like to think a stupid question is one that wastes time
a multidimensional graph of course
let me take a few hours to draw it for you
last boid project i did
For Python today i found out my Microsoft discord bot wasnt functioning correct π
Where is the API!!
Have a Plan. ...
Have a Script. ...
Speak Slowly and Clearly. ...
Be Prepared to Have a Conversation. ...
Be Prepared to be Told βNoβ or βNo, Thank youβ ...
Handling the Gatekeeper. ...
Always Take Action on Your Calls
Hey, sorry for the late reply..π₯Ήπ
That is sexism
hey
print("hello World")
'py
print("hello world")
'
!eval
code
!eval
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.12 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
list_of_airports_in_destination_metro = [destination_iata]
# Check if it's a round trip and the destination IATA is in the metropolitan codes
if return_date != '' and destination_iata in metro_codes_airports_file.iloc[:, 0].tolist():
# Find the row where the first column matches the destination_iata
row_of_destination_iata = metro_codes_airports_file[metro_codes_airports_file.iloc[:, 0] == destination_iata]
# Hopefully this resets the list of airports in the destination metro whenever we search for a new destination?
list_of_airports_in_destination_metro = []
# Extract the row as a list (assuming there is only one matching row)
list_of_airports_in_destination_metro = row_of_destination_iata.iloc[0].tolist()
# drop all nan
list_of_airports_in_destination_metro = [x for x in list_of_airports_in_destination_metro if str(x) != 'nan']
print(f"\n\n\n{list_of_airports_in_destination_metro}\n\n\n")
session['list_of_airports_in_destination_metro'] = list_of_airports_in_destination_metro
# Retrieve the metro airports list from the session
metro_airports = session.get('list_of_airports_in_destination_metro', [])
print("Type before passing to template:", type(metro_airports))
print("Content before passing to template:", metro_airports)
print("Metro Airports in Session:", metro_airports)
return render_template('flight_results.html', flights=processed_flights, airlines=dictionaries.get('carriers', {}), metro_airports=metro_airports)
where is the error
Type after setting in session: <class 'list'>
Content after setting in session: ['PAR', 'CDG', 'ORY', 'LBG']
Traceback (most recent call last):
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 1478, in call
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 1458, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 870, in full_dispatch_request
return self.finalize_request(rv)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 889, in finalize_request
response = self.make_response(rv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\flask\app.py", line 1215, in make_response
rv.headers.update(headers) # type: ignore[arg-type]
File "C:\Users\brita\Desktop\ticket_website\venv\Lib\site-packages\werkzeug\datastructures\headers.py", line 414, in update
for key, value in mapping:
^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)
mapping has > 2 values.. not key, value not 2
there are 4 values in the session list and the flask lib is only unpacking 2
it seems like mapping is expecting an object and you are passing an array
it is looking for a key value pair like a dict
item()
brb
@somber heath hello how are you doing
have a bath
@somber heath hello
Provided to YouTube by The Orchard Enterprises
Porcelain Β· Moby
Play & Play: B Sides
β 2008 Little Idiot
Released on: 2008-06-02
Auto-generated by YouTube.
"I kissed his toe and it became a prince! So he has like... a human foot now"
This is me not even trying.
Provided to YouTube by Warner Records
Love the Stuff / Ain't No Mountain High Enough (Live in New York) Β· Stuff
The Right Stuff
β 1980 Warner Records Inc.
Drums: Chris Parker
Guitar: Cornell Dupree
Guitar: Eric Gale
Bass, Producer: Gordon Edwards
Keyboards: Richard Tee
Drums: Steve Gadd
Performed by: Stuff
Writer: Nickolas Ashford
Writer: St...
Episode: Frankendoodle
Season 2
Episode Nm 34b
@tired lance Yo
Can I speak
Please , don't kid me, It was just one time, okey, I got it.
I got it
No, I don't want
nope
How's it going
decent enough is decent enough for me
abolish BIOS
This is "08 - I have come to bury the BIOS, not to open it - The need for holistic systems - Bryan Cantrill" by Open Source Firmware Conference on Vimeo,β¦
OS itself
Oxide's servers are running without it
βDriver picks the music. Shotgun shuts his cakeholeβ
Like, Comment & Subscribe
#supernatural #spnseason1 #supernaturalseason1
I've finally bought a switch
getting proper network setup, two years later than I was originally planning to
yeah, this is very much not about "common" usecases
they're particularly aiming at data centre servers
That makes some sense
GPUs also sometimes have power issues
850 watts should be sufficient
but I wouldn't expect it to be the main fault here
input or output?
(or, like, there's some other weirdness where the real power isn't what is written)
β @waxen barn can now stream until <t:1703260542:f>.
!stream 645603124836433930 30M
β @waxen barn can now stream until <t:1703262704:f>.
javascript mmo
they (screeps) used to have an official dedicated server
but it relied on python 2
oh, it's still alive-ish
https://github.com/screeps/screeps
they also made a non-mmo version
screeps arena
but that one has closed-source servers, iirc
@lavish rover It took me a day, because I dumb, but I made the #1187793108759486594 thing
Got distracted with work stuff, didn't get a chance to actually get it done yesterday
Better late than never, I guess
Flight tickets
You need phone script?
What you need?
you and everyone else?
!stream 1051563652270006323
β @neon perch can now stream until <t:1703263517:f>.
Employees are the rungs on the ladder of success. Don't hesitate to step on them. Rule 211
Are you able to track flights live?
You aren't?
There is no crying in business.
So what was the need? π
Website looks great, can i have the code?
I can do the hosting if you want..
Salesscript?
I mean flight companies..
You going call director of large companies..
How much is hosting a month?
I guess hosting is just opening a FTP &/ SSH port for you..
My stragedy i be working closely with customer..
I will make you rich...
Your boss is only worth what he pays you. This is soo true
If you need a Partner in Business mate, i help you..
Where are you from?
Im working on a basic template to sell but targetted websites like flight companies, is good too, but calling director of a flight company...
Denmark & you?
Do you speak Danish?
I am Sixth Gen Italian π
Ja tak,...
How did you make that website?
Local host & software?
I am root...
It was a local host and some html files ran with a python backend using flask
So you want a DNS for it or you trying to sell it to a flight company?
Can i have the code?
Good evening
@vestal forge Yo
What he should do to come to the next level!
Dont make him annoyed about it, but say shit like: "I eat like S dude, 2 days in a row spaghetti and ketchup"
"Im going out this weekend i cant even buy her a F drink"
Then when he is on a good day, you ask him "So can i get more pay??"
Wrap it as you want
Thats what i say, complain, kindly and ask on a good day
And do it casually you can mention 3 times in a day but it cannot be annoy and direct, good time you ask him..
Complain but not about the company, but about your private life
amazing image
Yo
cant really speak but hi
btw how do I know once I reached 50 messages in here so I can finally talk too?
It doesn't work yet?
i also can't speak too
so hi @fast saffron
and to know if you can talk or no there is this chanal
called voice-verification
i think you should send :
hi
hows it going folks
not very well and not bad like it could be worst
so i'm fine i think
how about you @idle vector
how are you
yessirrrr
@whole bear @bleak sleet Yo
Hlooooo
Yoooooo
How goes it
I like your profile
popipipopopipo
??
@bleak sleet what did an ant said to ugly elephant?
i don't know and why are you asking me this stuff? are you just here to annoy me? tagging me? aand then you ask this dumb question.
I'm here to help you and for some normal chat but im sorry dont ask me this dumb question
but still i would like to know answer from you thanks
;-; ain't reading all that
and the joke would have landed only if you said "what?"
but do you actually think that you would tag me in server like this and then tell me a joke and expect me to understand it.
for once i was confused that what even on this earth you are asking someordinary
I can talk with you but just normally or if you need any help otherwise im sorry
also now can you just do the joke already
s h u t
what you keep yapping about?
i mean
wdym my lil gubli gu π₯°
@ember meadow Yo
Hi
Hi...
How goes it
Oh and for the folks wondering why you couldn't speak in voice chat, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
lol everything mostly u r pfp
Ah yes, good ol' Hem shake
It's even better, since it shakes when I talk
That alone is worth me having Nitro
Hi
@foggy prairie π
Awww sorry guys, my DC got triggered in to voice lol
πββοΈ
@round quarry π
hey
how are you
i can ehar you
hear
what are you doing
nice
you code in python
you ever read the appentice handbook
its a good reAD
read
im on chapter 4
varibles
im trying to code a cash register
to count change
yes
x = 1
var1 = 10
python does what
change = starting_amount - item_amount
dollar_change = int(change / dollar_value)
var1 = change - dollar_change
3 Write code that classifies a given amount of money (which you store in a
variable named amount), specified in cents, as greater monetary units. Your code lists the
monetary equivalent in dollars (100 ct), quarters (25 ct), dimes (10 ct), nickels (5 ct), and
pennies (1 ct). Your program should report the maximum number of dollars that fit in the
amount, then the maximum number of quarters that fit in the remainder after you subtract
the dollars, then the maximum number of dimes that fit in the remainder after you subtract
the dollars and quarters, and so on for nickels and pennies. The result is that you express
the amount as the minimum number of coins needed.
trying to have a decimal
dollar_change = (change / int(dollar_value))
cents
modl
!d divmod
divmod(a, b)```
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division. With mixed operand types, the rules for binary arithmetic operators apply. For integers, the result is the same as `(a // b, a % b)`. For floating point numbers the result is `(q, a % b)`, where *q* is usually `math.floor(a / b)` but may be 1 less than that. In any case `q * b + a % b` is very close to *a*, if `a % b` is non-zero it has the same sign as *b*, and `0 <= abs(a % b) < abs(b)`.
!e py a, b = (1, 2) print(a) print(b)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1
002 | 2
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
(1, 2)
!e py print((10 // 8, 10 % 8))
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
(1, 2)
Title
Purpose
author
date
#data
dollar_change = 0
quater_change = 0
dimes_change = 0
nickle_change = 0
pennies_change = 0
dollar_value = 1
quater_value = .25
dimes_value = .10
nickles_value = .05
pennies_value = .01
change = 0
var1 = 0
#input
starting_amount = float(input("starting amount = "))
item_amount = float(input("item amount = "))
#process
change = starting_amount - item_amount
dollar_change = change % dollar_value
#output
if change < 0:
print("sorry, not enough cash")
else:
print("your change is", dollar_change)
print (dollar_change)
if dollar_change > 2:
print(int(dollar_change), "dollars")
if 2 > dollar_change >= dollar_value:
print("1 dollar")
if quater_change >= quater_value:
print( quater_change, "quaters")
if dimes_change >= dimes_value :
print( dimes_change, "dimes")
if nickle_change >= nickles_value:
print(nickle_change, "nickles")
if pennies_change >= pennies_value:
print(pennies_change), "pennies"
thats what i got so far
i starrted this 2 days ago
!f-string
Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.
>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."
Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.
!e py name = 'Sally' age = 21 print('Hello, ' + name + '. You are ' + str(age) + ' years old.') print(f'Hello, {name}. You are {age} years old.')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, Sally. You are 21 years old.
002 | Hello, Sally. You are 21 years old.
2
print(f' hello, {name}. You are {age} years old !')
print(f' hello, {name}. You are {age} years old !')
print('Hello world! I am {}, the first chatbot ever created in the {}s!'.format('ELIZA', 1960))
!e ```py
print('Hello, world.')
print('Goodbye.')```
!e"'py
how do i write to lines
thank you
!epy print('hello, world.') print('GoodBye.')
@round quarry :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | hello, world.
002 | GoodBye.
Thank you
@wind raptor hello, Good
how are you
yep
nope now just exams finish
Going to start soon
finding some good ideas
yes
sem 6 will start from jan
you are in college?
yes
going into semester 4
which course
Are you asking which courses?
yep
btech or bsc
Software Engineering
i was having stqa this sem
yes i have perform
i didnβt like it
lol
its quite boring subject
yeah, I would guess so
Selenium too
its easy
Transport Tycoon is a city-based pixel video game designed and programmed by Chris Sawyer, and published by MicroProse on 15 November 1994 for DOS. It is a business simulation game, presented in an isometric view in 2D with graphics by Simon Foster, in which the player acts as an entrepreneur in control of a transport company, and can compete ag...
10 mins
wasn't lambda used as a symbol because circumflex (caret diacritic) was too hard to typeset?
Lambda calculus (also written as Ξ»-calculus) is a formal system in mathematical logic for expressing computation based on function abstraction and application using variable binding and substitution. It is a universal model of computation that can be used to simulate any Turing machine. It was introduced by the mathematician Alonzo Church in the...
@ocean galleon π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@vocal basin
βͺ
joining?
I'm ordering stuff rn (will go outside soon to take it from the store)
@stuck snow π
i do not have permission to speak, how to fix that
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
so i need to send 50 messages?
Unfortunatly
Without spamming the messages.
so help me please with it, i send the message - you answer me, and i send it again
i think it will not count as a spam
@west fern π

helloo
yeah , i haven't completed that too
so lets do that together, we can simulate a discussion
okay
why are you here
so how long have you been learning python
Approximately six to seven years.
https://discord.gg/kDyYrwH2 @scenic quiver
only 4 months :))
working on any project?
yeah it's good
i am just switching my career to IT
only study projects from courses
so what were you learning before the IT feild?
i see , know how to code using class objects?
i have a major in electrical engineering and two years of experience in this field, but i was guiet not satisfied by it
yes somehow
oh it's okay then
do you work as back-end developer?
i'm not a developer yet. , but i like backend than frondend
i like creating apis
nice, we share same interest
ohh , great : D
i'm currently working on a project , you can check it out on my bio
sure, i will check it now
nice project! i like it. so is it like music platform?
are you sure
I'm don't have experience in frond end developing , so it's UI are messed up
it says
To get your message count up without spamming, participate in conversations in β python-discussion, or use the text chats for the voice channels while you listen.
Have 50 messages in the server
Deleted messages don't count
Messages in
β bot-commands and β sir-lancebot-playground don't count
so it's count i guess
yes, i think so
well it is a music player platform where audience can listen song without ads , thats my main objective of this project
great! which database do you use to save music?
nice
i uses the song sources from youtube, so it's against rule here , so i'm having some troubles
scraping?
i hope you will get through
yeah , not only the data , it get the song too , using web automation
i know it's not the right way
did you Download it then play?
but now it's for my personal use oly
okay
I'm sorry for interrupting while you were talking
so do you work for some company? or just studying by doing pet projects?
sure, go ahead
my plan is to write the code in a way that we can play the first about 30sec without using youtube embbed apis , after it might get ads , so i download it on that time and save it to a temporary file and after the it deletes , i'm sorry i know it's the worst alogrithm
don't have any other solution'
No go on!
we do love to hear
are you using api?
did't tested the youtube api , but working on the api to download , actually i completed it , but intregrating it to a server is quite complex , cuz using webautomation is hard in free servers
yep
it works on my local machine
why do you use youtube apis? is it because it's easy to implement them in your project?
you mean why i use youtube as database source?
yes
what service did you use for project deployment?
well , there is a large number of songs here, and contains all remixes , thats all , i did't check other yet
and we can scrap video data easily using keywords , don't think other platforms have
CMP, SHL, SHR, JMP, CALL and INC
β User is suspected to be a part of an online python organization. Please report any suspicious activity to Discord staff.
woahh
Thought it's a disclamer
now i see you point, nice!
yeah
when i type β!voiceverifyβ in #voice-verification , i'm not getting any messages
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
woo , i got permission
i still didn't ((
can you come to VC 1 , check my voice clarity?
yes, i know it that's why i am sending messages to count 50
your voice is not clear
i hear noise when you talk
i am not understanding any word you said
we can chat
ok
okay , what were we chatting?
by the way I asked you what service did you use to deploy your project
like Heroku, etc..
i using glitch
nice, so is it free?
yeah , kinda , i think it has limited bandwith or something
@minor sage we are the same age!
of course it should be so otherwise people would overuse it
i'm 18
yeah.. , we can use different account then
it's a demerit right?
so young!
i'm too old : (
i guess so
no, you are not old, you have a whole life in front you
heyy guys maybe you can help me with few python tasks?
yes , in that way i'm young
but
you got permisson?
yes , you're welcome
my standard experience with chatgpt:
me: create a lcm function
chatgpt: here's a function named lcm which imports math and uses math.lcm
me: no create your own
chatgpt: here's a function to compute the lcm that imports math and uses math.gcd
me: **** this in thismuch time i could've implemented it myself twice
Please let me know if you can view it:
https://pastebin.com/mEsByQUx
And this is how the display looks, btw...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I am not even in the call
pascals_triangle = pascals_triangle(5)
max_width = len(' '.join(map(str, pascals_triangle[-1])))
for row in pascals_triangle:
row_str = ' '.join(map(str, row))
print(row_str.center(max_width))
if you need the [] around it then you can instead of str use your own function which convers to string and adds []
# get each row of a pascals triangle like [1, 2, 1] in lists of integers
pascals_triangle = pascals_triangle(5)
# get the length of the longest line after formatting each integer element as a string and joining them with spaces
max_width = len(' '.join(map(lambda x: f"[{x}]", pascals_triangle[-1])))
# formatting is done by first using map to apply a function to each item in the list which in this case returns a string version of each item in the row we give it with [] around it
# you can also do it like this #
def format_item(num):
return f"[{num}]"
" ".join(map(format_item, row))
# or
" ".join([format_item(num) for num in row])
# or
formatted_row = []
for num in row:
formatted_row.append(format_item(num))
" ".join(formatted_row)
# ^ this is all example code #
for row in pascals_triangle:
row_str = ' '.join(map(lambda x: f"[{x}]", row))
# we can then format each row the same way and add padding around it to make it the same length as our longest row while keeping the actual row string in the center
print(row_str.center(max_width))
maybe somebody could give me code of 4 and 5 task?
pythondan anlΔ±yan dm
@vocal basin what sup
done setting up the switch
finally being able to have more than 250mbps
Awesome
Hosting ? which framework did you use
chess?
chess960 (randomised pieces placement)
https://lichess.org/dzL0ToX1
Join the challenge or watch the game here.
is it possible to test my website direct in my main browser instead of selenium.?
Might be in Inspect not sure
no we can't do directly in main browser as per my knowledge
@solid perch How's your christmas?
It's still the 23rd
.help
Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarModify
.avatar_modify 8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatar_modify avatareasterify [colours...]
Easterify the user's avatar.
.avatar_modify mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.avatar_modify prideavatar [option=lgbt] [pixels=64]
Surround an avatar with a border of a specified LGBT flag.
.avatar_modify reverse <text>
Reverses the sent text.
It's almost close
on frontend there are service workers
if you need threads not just async
allegedly has events and stuff
well this doesn't sound like it's running that code in-browser:
https://nicegui.io/documentation/section_action_events#async_event_handlers
python flask , express for node js , i use both , according to server providers
Hello everyone
Good morning
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1703418197:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
he hecked once too often
share us the flowchat @whole bear
@runic drum you're a consultant, right?
just interesting take on payment, wouldve expected hourly to be the norm
chat is poppin' 
hallo people of the python server
you can say that he's a "clean criminal"
I got the cheapest of soldering irons. temp? no. 1-10? yes.
what did you make with it chester
so far just setting threads in 3d printed parts. have been working on and off on making the voron 2.4 printer
that one is. though, its more known for its printing stability at slower speeds(still faster than most entry printers)
"mentor" sounds like typical MLM term
had it for like a year, only done that with it
my mentors mentor other new mentors
i started using soldering like yesterday
well some words have a bad wrap, but it is important to get the essence of something
brb
back
dictionaries looking exactly like json. the only diff ive found is dictionaries are a primitive data type and json is used to transfer data
JSON is valid JavaScript
whereas in Python, iirc, it's only constants that don't parse
@neat bramble π
Hi π Sorry can't talk yet! @somber heath
@storm furnace π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hey
I misread this as "you will be banned from everything" lol
Spamming will make it much longer
Merry Christmas!
@uneven brook π
hello
chrimah!!!
poison means panic
yeah
you just need to extract the value
poison error can be ignored
@frozen owl Can you just save the training values as you go and pickle them in case of error to continue frmoo where it finished?
You can have maybe another python signal or service to monitor and maybe if the training file didn't get updated for like 5 mins, it send a siganl to it?
and mutexes are unlikely to be performant
if it's for processing events, async definitely
including tokio among alternatives
I use smol for async
what are you guys talking about rn
i want my errors to not fucking freeze @vocal basin i want to "continue" as long as possible
like if it fails, dont just stop
ignore and pretend nothing happened
π
this is fine
π
You know I had a similar thing going when creating a multi-threading app running to crawl and keeps sending emails while reciving ones and pushing to a blackhole mail server. Sometimes the code just completely frooze without even crashiing. Did you try to look at pdb debugger while working the code?
.unwrap() -> .unwrap_or_else(|e| e.into_inner())
https://github.com/andreaslam/ZanLing-TrueZero/blob/main/src/bin/server.rs#L83-L84
src/bin/server.rs lines 83 to 84
let mut stats = stats_counters.lock().unwrap();
let mut start_time = start_time.lock().unwrap();```
Tokyo Drift, but with narcolepsy. Tokyo Drifting Off.
poison error is to prevent logical errors
(Rust assumes that value inside the lock might have logical invariants broken after a panic)
@violet relic π
paid to do async Rust
since recently
common async locks don't have poisoning
https://docs.rs/async-lock/latest/async_lock/struct.Mutex.html
https://docs.rs/tokio/latest/tokio/sync/struct.Mutex.html
im starting to lose my mind
alpha zero was trained in 4 hours or something like that
