#voice-chat-text-0
1 messages ยท Page 938 of 1
Hrm.
One sec, let me see if I can jimmy it loose
Strange, the voice server specifically says Rotterdam now
Exited and restarted Discord. Seemed to jiggle it.
To the library!
Woo
Well, we can have a whale of a time.
Ha
Took me a sec.
Do two mediums equal one large?
Ah. Well. Bonus.
You need one of those helmets.
Th....
Hurr
The beer helmets.
But for coffee.
Hello there admin @rugged root
The mirror is a harsh mistress.
@rugged root Are you playing a game or what?
Oh
You must have mastered python is it?
I don't think you ever master Python. You just...
Damn it.
I know.
Leg ends. Yes. I am TOES!
I was thinking like you must be a python Guru or something as you're admin ๐
I sometimes get a hankering for milk.
I'm usually a soy boy.
I hope not.
Please don't say tea does that.
Well, shit.
I mean, it hasn't come up thus far in my life.
Never say never.
@languid cedar
okay
Yeah that's a good thing actually
bro my voice chat is not working
how to activate voice
A small negative to prevent a far greater negative, resulting in a better outcome than the alternative of not having it.
you must have said probably 100s of times
It comes up a lot.
Running the lactase?
I'm not trying to be funny, that's genuinely what it sounded like to me.
select and selectors
Ah. Selectors.
You aren't a coder and love coding that's kinda unusual to me ๐
Hello, Python.
You could pull some serious anti-competitive stuff if you governed what was and wasn't targeted like that.
Certain HP LaserJet, HP LaserJet Managed, HP PageWide, and HP PageWide Managed products may be vulnerable to potential buffer overflow.
Certain HP LaserJet, HP LaserJet Managed, HP PageWide, and HP PageWide Managed printers may be vulnerable to potential information disclosure.
What are you talking about?
he left
I don't suppose people call it Windows Defenestrator, do they?
Imagine being on linux 
oh...
Does people are uses to websockets here?
Heartbeating problem
Log dont gives a lot of details
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
2021-11-30 15:29:42 x closing TCP connection
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
2021-11-30 15:29:42 Sending heartbeat failed. Ignoring failure... Client should automatically resolve this issue. If a crash occurs please create an issue on our github! (https://github.com/Pincer-org/Pincer)
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
pfft
Yeah, I've got mine coming up in a few days.
Not looking forward to milling about with everyone in the process.
This is my github xD
pfft
But i have no idea how to fix this xD
ok, i'll post it there then
Responsible man.
Man do job.
Get money.
Provide.
Success at life.
That last bit would elicit a chuckle, I'm sure.
Hey back
I like red squirrels.
well i sent it toe #web-development hope someone will be able to help me
Yo look at the i got 53 messages
is that the same guy? xD
Ayo i've broke everything again in my project
"tried to clip me"
TypeError: __str__ returned non-string (type Snowflake) Woaaaah
hum do you need to call super().__init__(...) when inheriting from the int class?
def __init__(self, _):
super().__init__()
This looks kinda weird to me
Haynes is one of the most highly recognised publishing and specialist automotive brands in the world. As The worldโs leading publisher of car and motorcycle manuals, it has become an instantly recognizable classic British brand with worldwide distribution. haynes have now put their name to a rang...
What if it's an industrial vibrator?
Vibrator wait what?
Nono. Industrial.
Like in, I don't know. Manufacturing. I'm sure there's plenty of applications for shifting small, lightweight things around.
Maybe doing something with sand.
Bye guys hope will get verified tom..
Ciao.
ciao
no one's talking

What is the correct size for a __repr__? xD
like 8k chars seems a bit long xD
A Bacon class?
๐ค

def __repr__(self):
if _id := getattr(self, "id", None):
return f"<{type(self).__name__}({_id})>"
attr_list = ', '.join(
f"{attr}={v}"
for attr in dir(self)
if (
not attr.startswith('_')
and (v := getattr(self, attr)) is not MISSING
)
)
return f"<{type(self).__name__}({attr_list})>"
I'm not sure about that piece of code lol
I love Steam breaking stuff ...
How would Steam have done that?
what good is a headset I just connected if the headphones part didn't auto-"Default" ?
What would Ocarina of Time sound like if it was written in the style of a prog rock concept album? "Tempo of Time" is a medley by myself and @Marc Papeghin that seeks to answer that question.
๐ต mp3: http://bit.ly/2xhb5Vs
โค๏ธ Donations for lossless qualityยน: https://bit.ly/3bSwmIb
๐ Marc's Channel: http://www.youtube.com/MarcPapeghin
___________...
hello
That's fairly common with video drivers/resolution changes
not able to verify:(, guess will talk later
You can still talk in here
If we're in VC, we'll typically be watching the paired text channel
So no one gets left out of the conversations
great
SP33K
SP00K
Spock
```Spork
do you guys actively contribute to python? (github)
BWitched's official music video for 'C'est La Vie'. Click to listen to BWitched on Spotify: http://smarturl.it/B*WitchedSptfy?IQid=BWitchedCLV
As featured on B*Witched. Click to buy the track or album via iTunes: http://smarturl.it/B*WitchediTunes?IQid=BWitchedCLV
Google Play: http://smarturl.it/B*WitchedCLVPlay?IQid=BWitchedCLV
Amazon: http:...
LoZ: BOTWitched
building a crowdfunding web3 app on polygon chain for a hackathon
like kickstarter on web3
hahaha
ohhh
can i just send 50 messages here to unlock voice?
hmm
hmm
reminds me of a mrbeast vid
btw, did any of you watch the mrbeat squid game?
Btw, do you wanna see the award I got today?
hmm
Ty :)
๐
:))
Anchors at Sinclair-owned local news station parrot a script pushing Trump talking points and โthe troubling trend of irresponsible, one sided news stories plaguing our country.โ
Subscribe to Deadspin: https://goo.gl/62kZmG
Visit us at: https://deadspin.com/
Like us at: https://www.facebook.com/deadspin
Follow us at: https://twitter.com/deadspi...
haven't changed my setup since forever
depending where you're from govts reallocate resources as they wish
nite2\
๐ฎ
The misconception is that electrons carry potential energy around a complete conducting loop, transferring their energy to the load. This video was sponsored by Casรฉta by Lutron. Learn more at https://Lutron.com/veritasium
Further analysis of the large circuit is available here: https://ve42.co/bigcircuit
Special thanks to Dr Geraint Lewis for...
such kind of thing happens ?
when you are on Instagram and do screenshots like that yes
one of my friend sent me this
Who dumps passwords in csv
anyone using csv as a fromat shall be executed
People who decrypt them?
I use whitespace as a database
btw where less people use coma in pas
But CSV supports commas inside data easily so meh
cool, I can watch world burn in real time
just watch your local news
#voice-verification read what's in there
don't spam across channels please.
i really am struggling to understand the rationale behind putting a message quota in a coding discord lol @vivid palm
its much easier to talk through problems than typing, you guys are just making it harder
so our server is really big. 280k users
and it's very often raided, or abused
so the voice gate is there to make the barrier of entry just high enough to keep out the trolls
3 days, 50 messages, 3 10-minute blocks of activity is well worth it imo
if you want to be a real contributing member of the server
and we have tons of topical channels
i just dont type
you can try asking in off-topic channels then.
depending on who's online you might get someone that knows
!ot
Off-topic channels
There are three off-topic channels:
โข #ot2-never-nesterโs-nightmare
โข #ot1-perplexing-regexing
โข #ot0-psvmโs-eternal-disapproval
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
you'd be unlikely to get C help in voice chat anyway
HELLO EVERY BODY
๐ค i just found a fun combination of commands
live ascii clock xD
Yeah that's much cleaner looking
many font options
there's also an alternative to figlet named toilet which you can also use here
lol
HOW TO GET FREE DISCORD NITRO?
give me $10 USD
its ez
get a part-time job
send the money to a trusted friend
tell him to gift you nitro
you got it free
give me $10 USD. i'll buy you nitro. this is my offer
here is my card nuber
60060606
why
dose
it say
0
balnce
now
def delete(self, value):
parent = None
probe = self._root
while probe is not None:
if value == probe._value:
break
if value < probe._value:
parent = probe
probe = probe._left
else:
parent = probe
probe = probe._right
if probe is None:
raise Exception("Attempt to delete nonexistent value.")
if probe._left is not None and probe._right is not None:
parentSu = probe
su = probe._right
while su._left is not None:
parentSu = su
su = su._left
probe._value = su._value
if parentSu == probe:
parentSu._right = su._right
else:
parentSu._left = su._right
return
newChild = probe._left
if newChild is None:
newChild = probe._right
if parent is None:
self._root = newChild
else:
if probe == parent._left:
parent._left = newChild
else:
parent._right = newChild
class BST:
class _Node:
def __init__(self, value, left=None, right=None):
self._value = value
self._left = left
self._right = right
self._count = 1
self._depth = 0
self._parent = None
AOC?
#algos-and-data-structs possibly?
horray leetcode
How are you @tacit peak btw?
im fine, currently cloning discord-gateway and removing all discord specific stuff and then adding it to my library, been a success till now
also planning to switch from asyncio to anyio
Wait why remove discord-specific stuff?
You just want the WebSocket implementation?
yeah sort of, i want it to suit the dgo style so might as well as handle events in the main lib code :^) pretty dumb tbh
I built it so that a lot of libraries can use it together, there's no need for someone to keep re-implementing things.
I've been looking into voice as well :3
Ah, how does discordgo does it?
!stream 689087720018280478
โ @glad sandal can now stream until <t:1638387016:f>.
This is the file yeah? https://github.com/bwmarrin/discordgo/blob/master/wsapi.go
You should be able to use discord-gateway (without any changes really) and build this event-handling system on top of it
@glad sandal https://tutorial.vcokltfre.dev/
A tutorial on how to use discord.py to create your own Discord bot in Python, written to fix the flaws of many other popular tutorials.
Like, if you build the network-part of the code (see the new Comprehensive Guide) you can then make whatever event-handling system and callback as you wish
yeah im planning to move the event handling to how discord-gateway does but not now
for now im focusing on migration
All discord-gateway handles is decoding payloads (as in transport compression/payload compression) and heartbeating (so telling you to automatically reconnect whenever necessary)
mhm
Are you talking about wumpy-gateway? Because discord-gateway does no event handling really (except for the RECONNECT events). Wumpy-gateway is the async one
btw, i wanted to say https://github.com/Bluenix2/discord-gateway/blob/main/discord_gateway/conn.py#L366-L369 that its too bold to assume that theres more coming, discord api is messed up as hell, so you might as well as add an extra check for if event.message_finished
discord_gateway/conn.py lines 366 to 369
if len(event.data) < 4 or event.data[-4:] != ZLIB_SUFFIX:
# It isn't the end of the event and there will be more
# coming
continue```
This is literally the code in the documentation: ```python
Z_SYNC_FLUSH suffix
ZLIB_SUFFIX = b'\x00\x00\xff\xff'
initialize a buffer to store chunks
buffer = bytearray()
create a zlib inflation context to run chunks through
inflator = zlib.decompressobj()
...
def on_websocket_message(msg):
always push the message data to your cache
buffer.extend(msg)
check if the last four bytes are equal to ZLIB_SUFFIX
if len(msg) < 4 or msg[-4:] != ZLIB_SUFFIX:
return
if the message does end with ZLIB_SUFFIX,
get the full message by decompressing the buffers
NOTE: the message is utf-8 encoded.
msg = inflator.decompress(buffer)
buffer = bytearray()
here you can treat msg as either JSON or ETF encoded,
depending on your encoding param
nah im talking about the _handle_event method, it handles some stuff that i want to do differently, but i will later reimplement the _handle_event method with what i want
The decompression literally does not work if we try to accept more data
not sure about that
Well it's the suffix no? It is the way to say that the data is done. Sometimes an empty "message finished" event may be sent
Aaaahh, you've convinced me ๐ I'll get to that
cus ive currently done this, until i re implement _handle_event
elif isinstance(event, BytesMessage):
self._bytes_buffer += event.data
if not event.message_finished:
continue
payload = MessageType(self._bytes_buffer, "bytes")
self._bytes_buffer = b""
return payload, to_return
What in particular? I could potentially make it more extensible so that it's easier for you to change this.
It should be rather easy to overwrite it though, as in: ```python
def _handle_event(self, event):
if ...:
return ...
return super()._handle_event(event)
Huh, what's the difference?
I also noticed a bug in my code aaaaaaaahahh
hmm, yeah so my entire code is similar to dgo, and the events are handled somewhat differently, it would be actually better if you like not handle events /shrug or like add a keyword argument to disable event handling :lipbite:
You don't want to handle any event automatically? Or is it that you want to dispatch all events (such as HEARTBEAT_ACK)?
the difference is, you are checking if the message is shorter than or the last 4 bytes are not equal to the zlib suffix, meanwhile discord in their own world may decide to send some invalid payloads, so this continue statement can mess up so i opted for checking the message_finished
I try to handle as few events as possible, I am thinking of dispatching all events though and let the user ignore them if they wish to
yeah that would be better
cus i'd make stuff as flexible as possible, you never know what users want to do, lol
but why?
I noticed a typo in an attribute, I can change this when working on that. I do want to ensure it ends with the zlib suffix.
i want to post the dapi why tag, but it seems too toxic lol
Lol I try to, but the point was somewhat to handle this for the user but you're right. It doesn't hurt if I add this as a keyword-option
is something wrong with dpy?
yeah so maybe
if len(event.data) < 4 or event.data[-4:] != ZLIB_SUFFIX:
if not event.message_finished:
continue
else:
# raise some error
not talking about dpy, but dapi, heres the "why" tag im talking about https://media.discordapp.net/attachments/106126169627181056/231117241892995072/unknown.png?width=213&height=68
that's fine
ohhk
I was mostly planning on doing this: ```python
if not event.message_finished:
continue
if self._buffer[-4:] != ZLIB_SUFFIX:
raise RuntimeError("Discord did not uphold its own policy SMH!") # Obviously will change this
that seems fine too
Aight cya guys, imma go watch Ian's cats lol
lmao cya @tacit peak
pov: u are in a vc with a discord employee but you are more interested in his cats
yeah ian his streaming his cats
lol
bird dev, is that you?
no but i do agree with the opinion
@tacit peak Per Rule 6, your invite link has been removed. If you believe this was a mistake, please let staff know!
Our server rules can be found here: https://pythondiscord.com/pages/rules
lol
DM me

Illustrious @frozen jetty
JS conference in progress that I'm watching right now: finjs . com - remove spaces...
this is that JS platform I've been talking about using
Provided to YouTube by Universal Music Group
Anarchy In The UK ยท Sex Pistols
Never Mind The Bollocks, Hereโs The Sex Pistols
โ A UMC recording; โ 2012 Sex Pistols Residuals, under exclusive licence to Universal Music Operations Limited
Released on: 2012-01-01
Associated Performer, Vocals: John Lydon
Associated Performer, Guitar: Steve Jon...
Ah this will come in handy!
how is this blocked for you...
It's not blocked on YouTube, just the embed.
strange, not for me
@willow light you're coming though kind of quiet on my end.
Better
Just scream into your mic from now on.
seems to be really enabling cross-platform desktop computing
ยฏ_(ใ)_/ยฏ
I use microsoft at work only because we aren't allowed to use linux.
Don't we all
no
We can request a mac, but only if we are making an ios app
because we are at a finance company, not a tech company
windows is getting better and better now but linux is still better in terms of customizability, packages for programming languages (not in general) and stuff like that
I hate Apple hardware so I just want a Linux supercompute laptop
Linux is free, if your time is valued at nothing 
meanwhile mac is getting worse and worse.
at least there is a real keyboard now.
but who the hell can handle not having a decent package manager?
Homebrew is alright I think.
I spend far more time shilling for NixOS than I do fiddling with it.
again depends you could get a build script from a trusted source which is configured for development for your languages
and it will be faster but more bloated
at which point you might as well go back to windows
so yeah.... you're right
lol
I spend 0 time dealing with either
@willow light
I suggest you to check the settings of (windows) or (Audio Driver)
OR install a Audio Driver - I have Nahimic with MSI motherboard
do you have an option for people who are lazy?
whats your Motherboard?
๐ณ
๐ฉ
We should adopt decimation 
I'm the type of person who would say "kick them" just to get it off my screen when it comes to vote kicks in games.
And because the kick option is usually closer to my hand at the time
@stuck furnace :pepeHandsCrySmh:
Elect representatives
๐
When I learned, I went directly from
print("Value of x is " + x)
to
print(f"Value of x if {x}")
I don't even remember the way to do it in matlab
๐ @raw carbon
clears throat
MATLAB
To be fair, I don't even have it installed
so you prefer R and Julia instead?
Too bad Scala isn't in that boat as well, just to make Python the odd one out
Hard for them not to be
hey
MILWAUKEEโConfirming that he had long been intrigued by alternative currencies, local man Graham McCormick told reporters Tuesday that he was only three more failed goals away from becoming a crypto guy. โReally, I just need another business venture going under and maybe a few more job rejections and then buying someโฆ
i need to screen share a code i cant seem to find the problem
this was a pun in case nobody got it
Oh pretty!
more useful yet pretty one
What does er toilet do?
ah this needs to have clear after sleep
Ah cool
yeah they both have options for colors / alternate styles built in (figlet and toilet do)
but i'm just using lolcat to color them
in the above ascii clock
Hello all
hewwos
/* CSS */
*.gone {
display: none;
}
// JavaScript
elm.classList.toggle('gone');
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#myDIV {
width: 100%;
padding: 50px 0;
text-align: center;
background-color: lightblue;
margin-top: 20px;
}
</style>
</head>
<body>
<p>Click the "Try it" button to toggle between hiding and showing the DIV element:</p>
<button onclick="myFunction()">Try it</button>
<div id="myDIV">
This is my DIV element.
</div>
<p><b>Note:</b> The element will not take up any space when the display property set to "none".</p>
<script>
function myFunction() {
var x = document.getElementById("myDIV");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
</body>
</html>
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
div elements.....
<% def hideShow():
....
%>
<button onclick="hideShow()">Try it</button>
if anyone after yall are done could help me with some heroku errors, that would work wonders ๐
web processes
didn't provide any useful help
i tried the solutions, didn't work
lol
like scaling dynos, web request methods
/* CSS */
.hidden {
display: none;
}
<!-- HTML -->
<button id="my-button">Toggle visibility</button>
<div id="can-be-hidden">There is no spoon.</div>
<script>
'use strict';
const classToggle = function () {
this.element.classList.toggle(this.className);
};
document.querySelector(
'#my-button'
).addEventListener(
'click',
classToggle.bind({
get element () {
return document.querySelector('can-be-hidden');
},
className: 'hidden'
}),
{ passive: true }
);
</script>
@scenic wind -- and your buddy
i successfully deployed the heroku application already, just wouldn't open and show any of the actual website, returning some errors saying it's because of improper web processes/types
yeahh documentation didn't really help all that much
guess they didn't really plan ahead for errors ๐
yeah
https://ip:port/
This is like one of those machine learning projects where you train an agent to walk ๐
And it comes up with its own unconventional strategy.
Join the Open Beta of Crossout, the post-apocalyptic MMO Action game! Craft your unique battle machines from dozens of interchangeable parts and destroy your enemies in explosive PvP online battles!Key Features:Unique vehicles, crafted by the players using a wide range of available parts: From nimble buggies to heavily tracked off-road vehicles ...
825
uniq @ocean raptor
what-ever-program | sort | uniq
@daring orbit gotta run to the store, back in 30 minutes
Ok
hey
Web site created using create-react-app
I am 29 years old
sheesh
I go to ๐ด good night guys
hello sorry
looking for the channel
macchanger -r <network_interface>
ip link show
python --help
class levels:
def __init__(self, score):
'''docstring'''
class levels:
'''docstring'''
def __init__(self, score):
./script.py -h
Hey @stable axle!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
โข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
โข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
playerRefresh
player_refresh
playerRefresh
lkrugliurggerg
are you in college?
damn
import sys
import subprocess
__hex__,__argv__ = [
0x08, 0x00, 0x0a,
0x3a, 0x30, 0x39,
0x41, 0x46,
],sys.argv[1];
def __main__(_0x78,_0x79):
__0xfff__, = {
1, lambda x : exec(""),
2, lambda y : exec(""),
3, lambda z : exec(""),
};
if __name__ == '__main__':
__main__(__hex__,__argv__)```
Hey @whole bear!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
โข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
โข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
class ClientGrant:
def __init__(self):
response = requests.post(f"https://osu.ppy.sh/oauth/token", headers = {"Accept": "application/json", "Content-Type": "application/json",}, body = {"client_id": client.client_id, "client_secret": f"{client.secret}", "grant_type": "client_credentials", "scope": "public"}).json()
!voice @hexed summit
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Krisp
!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!
https://www.youtube.com/watch?v=i09V6SkVkz8
^ where i first found the word Fourier transform
Featuring the Gregory Brothers! Go subscribe to them: https://youtube.com/schmoyoho
Pitch correction: it can make terrible singers sound decent, brilliant singer sound mediocre, or Cher sound like a robot. But how does it work? And is it possible to explain that without actually trying to understand Fourier transforms?
I'm at http://tomscott.c...
I like tom scott.
On an unrelated note. One time I made a compilation of all the people who look like him.
xD i wouldn't be one of them
but i am indeed the kind of person who buys red / black tshirts in bulk
like he buys red tshirts bulk
lol
i tried this one in past it was pretty good
nice
HaaaHa
hey can u help me with some tough english
like i have exam tommorow
and i have tempest
did u red it
shakesphere tempest
i have freaking exam tommorow
I mean like
What do u need help with exactly wizard
it's British English of 400 years ago
that's what's difficult about it
What will you need to know for it? I mean you said the Tempest but do you mean you'll have to memorize lines from it? Or just be able to answer questions about the content?
yeah that sucks
modern British English is almost the same as modern American English
I grew up speaking British English
but Shakespeare is kinda a pain sometimes
Who else thinks python is slow?
All of the conversation we've been having so far was British English, too
except that when Hemlock wrote memorize it would have been memorise
Bri'ish*
that's a subset of British accents
color is USA
colour is GB
grey is GB
gray is USA
Aha
I mean again, you haven't said what you need in order to help you, Wiz
We use British english here in Malaysia but I tend to get confused between grey/gray
Now I know
๐ค
USB is better then USA
forseuth?
Tripod - Forsooth.
What was that
Oh
Heh
Yes
Just out of curiosity, what kind of stuff are appropriate to stream in the vc anyway?
Ima go to bed now cyalllater
Things which begin with the letter C.
Coding & cats.
Coconuts ๐
Maybe games over the weekend.
Good to know
"I spilled water on my computer and all my data columns doubled!"
"...I shoved a bear claw into my cd tray."
"Dough!"
text = "Hello!"
print(text[0])```"Stop right there, criminal scum!"
Zero RUs? Come to Australia. We've apparently got more of them than we have of us.
hellooooooo
not done yet, keep getting distracted
@night chasmdo you have DMs turned on?
cuz i realized i'm dumb and it can be done way easier
bc spamming !voiceverify won't work
your message count isn't high enough
!unmute 372035746317598730
:incoming_envelope: :ok_hand: pardoned infraction mute for @night chasm.
but i spammed to the bot
it wasn't in general
it's still spam?
do you ask?
those messages got auto deleted and will now not count towards your 50 msg count
?
just participate on the server, here, topical channels, help channels, etc.
do you have DMs turned off for the server? check server privacy settings
where?
!e print(int("123\n"))
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
123
!e
foo = [1, 2, 3]
for i in range(len(foo)):
print(foo[i])
for i, item in enumerate(foo):
print(f"index: {i}, item: {item}")
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
004 | index: 0, item: 1
005 | index: 1, item: 2
006 | index: 2, item: 3
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
[1, 2, 3]
The one linerโข
no spoilers please
Fair enough
@molten pewter
str.split splits a string on a character given as the argument (defaults to all whitespace characters) and returns a list of all the split up strings
str.splitlines just calls str.split("\n")
Or divide
@half flaresorry no i can't help
i see you're on the english server though, you should try there?
!e
num = 1234
thousands = num // 1000
hundreds = (num % 1000) // 100
tens = (num % 100) // 10
ones = num % 10
print(thousands, hundreds, tens, ones)
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
1 2 3 4
!e
from math import log10
print(int(log10(1234) + 1))
^ you u can also get the length like this
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
4
he's doing advent day 1
ah nvm you were talking about the sql guy
Wait - Does that mean I need to remove that before I get in trouble for spoilers again?
not really
he was just asking that in general
the question doesn't require you to do that
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
@sweet lodge I have a table that is outlined like below, and I'm trying to figure out how I can go through the table and grab every id that is changing e.g. ID 123 goes from 123 -> 234 -> 456 -> 567. I would just use a list of CTEs to keep referencing the table, but I don't know how many times this ID will be updated
id_old id_new
123 234
234 456
456 567
so output would be something like this...
ID_1 ID_2 ID_N
123 234 ...
it doesn't even have to be single row, but i'm basically keying off of two fields. The first one I'm using old to get new, then I'm using the id_new which is now referenced in the id_old field to get the newer id from id_new, and so on and so forth
@sweet lodge any ideas?
Save with Free Shipping when you shop online with HP. Find all product features, specs, accessories, reviews and offers for HP Laptop - 17z-cp000 touch optional (2V2H8AV_1).
Hmm - I'm not sure
You can't really have arbitrarily recursive lookups in SQL
I would have to use Python for that
You might ask in #databases to see if anyone there has an idea
@whole bear ๐ you done day 1 and 2 of aoc?
no dem i forgot
connecting
com
https://jstris.jezevec10.com/join/YYCL81
try this one
Online multiplayer puzzle game
Save with Free Shipping when you shop online with HP. Find all product features, specs, accessories, reviews and offers for HP Pavilion Aero Laptop - 13z-be000 (2R1X0AV_1).
this website broken
it just stopped
none thier!
@woeful salmon are u still on the site?
hey guys
basically on bitbucket i know theres supposed to be an option to create a branch but
its not ther
there
did i do something wrong?
use pc i will say
you could just create a branch locally and push it to remote
Don't be sorry. Be appropriate.
i think some features will not be there on mobile
how do i do that? I cloned the repo on my PC
but idk how Git works
Im very noobish
basically i did the command git branch but it does nothing
Learn the basics of Git through this comprehensive Git training. Branching, pull requests, merging and more are covered in the Atlassian Git tutorial.
try learning it
I understand that but
it will take at most 2 hours to learn basics
I dont got time to read all this atm
later i will
I just need help with this thing specifically
git checkout -b branch_name
thanks
use this command to create a branch using git
Okayso like
I used the clone command
and its on my PC
so do i just do that in the folder im in?
use that command in that cloned folder
nah you need to push to your local repo and then open a pr on that other repo
then it will sync
it will not sync automatically
okay so like what are the steps for that?
first of all is the repo yours?
you can't create a branch on someone else's repo unless given permission
but we can create new branches and create a pr on that other repo
we can create a pr from forked repo to other repo and then it creates a new branch on other repo, i am using bitbucket for work
I think i got it
if you have git installed then perhabs type git branch --help or git checkout --help for its -b option
or just look up how to create local branch on git
ah ok
git checkout -b "name"
yeah that will create a local branch based on your current one and change to that branch at the same time
@whole bear why don't you do day 1
i really wanna compare solutions with someone
xD
furyo seems distracted rn so
wanna hop into another vc?
oh sure xD
HP Pavilion Aero Laptop - 13z-be000
1515.36 USD
@rugged root๐
@night chasm don't know if they ship to Israel but this seems like a great deal: https://www.lenovo.com/us/en/p/laptops/yoga/yoga-2-in-1-series/yoga-6/82nd006pus
Khat or qat (Amharic: แซแต chโat; Oromo: Jimaa, Somali: qaad, khaad or khat, Arabic: ุงููุงุชโ al-qฤt) is a flowering plant native to East Hararghe Zone and West Hararghe Zone of Ethiopia. Khat contains the alkaloid cathinone, a stimulant, which is said to cause excitement, loss of appetite, and euphoria. Among communities from the areas where the pl...
weed?
no
this is kind of drug?
in my country no
well it is a drug more like caffeine.
yes
What is it?
@marble canyon Can you check to make sure you have echo cancellation on? We're getting a lot echo through your mic
yes man wait
yeah haha
I'm probably youngest here
No 18
im19
Oh then you're certainly not the youngest
In vc
complicated stuff
0.32 United States Dollar
This one also a good deal, https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpadt/t14-g2-amd/20xk0015us but that hp HP Pavilion Aero Laptop - 13z-be000 is still the best value I have found at ~600$ @night chasm
oh yeah
Check for IDR
@keen sky
its me
@gentle flint is this you as a kid
nothing has changed
"i wish my kids talked to me more" 
guys help me
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "d:\Python\Proje.py", line 11, in sign_in
sifre=tk.Entry.get()
TypeError: get() missing 1 required positional argument: 'self'
what is this error
gtg ttfn
goodnight ๐
The Hague
den Haag
foo = []
for i in range(10):
foo.append(i)
is same as
foo = [i for i in range(10)]
hey guys
hey
can't talk yet til I send some more messages XD
hello
I've been in the help channels a ton but I guess I never really mingled beyond that
oh feel free to send messages here, we'll (atleast i'll) make sure to respond you , dw :>>
you working on any fun projects recently?
nah nt really
alright, working on any not fun projects?
wait they show that u hv enough messages
nah lmao, i dont really like working on projects
wbu
what is it about?
pathfinder 1e generator
one of my favorite RPGs
this project has been a pain in the ass lol
I've done it in my spare time for the past year
rpg = role playing game
also rocket propelled grenade
I just use Ubuntu and I forget about it
:o
however I'm always torn on the argument between me and my buddy
proprietary or open source for Nvidia graphics cards

I use proprietary for those
if you like games on ubuntu thats the way to go
absolutely
but there will be a point I think
that open source will be good enough to where nobody notices
but yea im using Flask
for my app
have any of you made your own discord bots?
how do I check how many messages I have sent
I feel like I've sent 100s over the past years or so
It's my festive fool's motley
anyone done projecteuler or want to?
I think next time around I need to just make some prime sieves in order to advance
you've just discovered why bitcoin has value lol
what
our current world view of security is heavily based upon prime numbers
venv is a great python version manager
gotta start somewhere
if you DONT create a virtual env you're going to get a headache
ikr lol
39 messages sent including this one
with my previous ones in other channels, should be well over 50
๐ญ
one of my greatest mentors always said, "maybe you should stop, maybe this field isn't for you"
but then again he was just a bit of an ass all around
I've run it like a dozen times
im just outta luck
it tells me less than 50 sent
I've been in this channel for a long time
or discord, rather
a built in reset???
and my social security is...
my CPU is shitting itself
THANKS!!
no probs :>
@gentle flinthttps://docs.conda.io/projects/conda/en/latest/commands/install.html#Channel%20Customization
import sys
import math
# Auto-generated code below aims at helping you parse
# the standard input according to the problem statement.
n = int(input())
mylist = []
for i in input().split():
mylist.append(int(i))
x = int(i)
print(min(mylist) + max(mylist))
# Write an answer using print
# To debug: print("Debug messages...", file=sys.stderr, flush=True)
print()```
what about a gpu with better support
๐ฆฆ
order
i'm going to sleep after this so this is where you guys can start a new one
on the home page
me when i was 12
Thats adorable
thanks ๐
^
how to start a new one
low-code
Why
Z4
hi
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Im wondering if I could possibly get help from the professionals from a rookie
I have a project im working on
Its a text adventure game, im pretty sure alot of it is debugging but I cant get it to work
I stayed up all night trying to get it done
couldnt
Oh goodo.
yeah ):
is there a way I could get help from you Opal?
Traceback (most recent call last):
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 137, in <module>
main()
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 132, in main
command = choose(options)
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 110, in choose
for option in options:
TypeError: 'NoneType' object is not iterable
thats my error
yes
dude
im desperate
im still here to im listening
!e py my_list = [45,2,4] print(my_list.sort()) print(my_list)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | None
002 | [2, 4, 45]
hmnmmmm okay
!e py for each in None: ...
@somber heath :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | TypeError: 'NoneType' object is not iterable
would you want to see my whole code, ive been trying to debug it but I cant find the culprit
yes definelty
the for each in none makes sense
Would you be cool if i sent you a copy of the code to see what it might be
dude, Ive been breathing speaking python these last few days
the amount of youtube videos I have consumed ...
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Im a hobbyist but also studying lol
Think that link should work
please dont judge my terrible code haha
yeah just embarrased it must seem messy
the car is cool though yes
!e py a = ("Apples" " and" " grapes") print(a)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Apples and grapes
gotcha thank you
!voice @gusty birch
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
An if stanza consists of exactly one if, zero or more elif, zero or one else.
In that order.
!e py text = "Hello." try: for i in range(100): print(text[i]) except IndexError: pass print("Goodbye!")
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | H
002 | e
003 | l
004 | l
005 | o
006 | .
007 | Goodbye!
...
A minimalistic, customisable typing website. Test yourself in various modes, track your progress and improve your typing speed.
A minimalistic, customisable typing website. Test yourself in various modes, track your progress and improve your typing speed.
Typing Test - 10fastfingers offers a free online Typing Speed Test Game in multiple languages. You can measure your typing skills, improve your typing speed and compare your results with your friends. How fast are you? Visit 10fastfingers.com and figure it out!
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
void to_phone(string s) {
cout << "(" << s[0] << s[1] << s[2] << ") " << s[3] << s[4] << s[5] << "-" << s[6] << s[7] << s[8] << s[9];
}```
...Never touch a keyboard ever again.
LMFAO
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << '(' << s[0] << s[1] << s[2] << ")" << " " << s[3] << s[4] << s[5] << "-" << s[6] << s[7] << s[8] << s[9] << endl;
}```
for (int i = 0; i < s.length(); ++i) {
if (i == 0) {
cout << "(";
if (i == 7) {
cout << "-"
}
cout << s[i];
.....
}
``
print(f"({s1} ) {s2} - {s3})")
Cannot activate the 'Pylance' extension because it depends on the 'Python' extension, which is not loaded. Would you like to reload the window to load the extension?
code --version
hi opal mist
@somber heath hi
guess we aren't voice verified lol
what's everyone up to ?
hmm
what are you making? @somber heath
i think i've never heard of it, sounds cool
ooh nice
i am kinda afraid to touch ML
must be a deep topic
i've been messing around with GUIs and scripts
automation kinda stuff
tkinter / qt / pysimplegui
I like qt a lot
Yeah, but i tried setting it up for c++ and gave up halfway through
such a pain
gotta love that you can just pip install it for python
