#voice-chat-text-0
1 messages · Page 863 of 1
someone let a fucking dolfin in the vc?
LOL
a kick with more pixels
pity it won't be merged
who making fun of Jake >:|
everyone
(except you)
@amber raptor were we too horrifying?
Yes
it's just a mosquito
do you not have mosquitos where you live?
wtf?
but why
what the fuck, it's like 20 dollars here
lol, you have to have real lessons
poor mosquito tho
the mosquito will not return the favor
true
they literally do nothing
no they're actively evil
ok, what do they do, then
heat up the glass
no blowtorch
omg you're sick lol
stove
paper'll burn
actually don't, you'll probably shatter it
it's made for tea
OH
I can microwave it
shooooot, microwave that
if I microwave it the glass and paper will survive
yeah, but hot liquid is much different from a flame
but the mosquito will cook
rabbit is a boomer
wait, you can make it explode. do you have a syringe?
or a vacuum pump
no, that guy is a mosquito simp
isn't jake like 10
hey, that's 0b11111
mint chocolate chip is in the top 2 flavors
"veterans may struggle with the pace and complexity"
??
??
!!
more floods
this is what happens when youu get loads of rain in hills and everyone installes tiled terraces instead of lawns
heavy rains are rip
s korea
last year
apparently it gets like that every year idk how they function
(Note: curses uses the American spelling ‘color’, instead of the Canadian/British spelling ‘colour’.
🇺🇸 🦅 🔫
.topic
coding
writing series of steps for an interpreter to follow
Anyone willing to look at my screenshare and help me troubleshoot this error with unittesting?
Does anyone know how to make a token without accessing a route
For example in my application of two types of user. Client user and admin user. both the client token and the ADM token are able to access all end-points
How do I make the client's token not be authorized in the user's route
Hey 👋 What you working on?
(sorry if you just explained it
)
One sec. Dealing with something...
Sorry, who was asking for streaming permissions?
o/
!stream 255840559678095370
@strong arch
✅ @strong arch can now stream.
Technical debt guys 😄
Ohh nice.
Congrats!
You sounded fine to me @tiny socket
Jake, if you have time and want to improve your SQL, look up Stanford's databases courses on Edx.org
yes
More like I need to speak on mic more 
voice reveal 👀
Ah 😄
Hello @terse vigil
Maybe go for a walk?
Ah right
Yeap 😄
Although I'm a lot more organised than I once was.
I will cya guys later, more assignments to complete 😞
Good luck!
UK yep
Yep 😄
My sleep schedule is just... yeah.
Ohh, I thought you meant an OS scheduler.
I was thinking that's a bit of a challenging assignment to give Jake right now 😄
Maybe if there's a product key on the packaging.
Ah right.
Install Linux 👀
You have a quest?
🍿
What did you do Jake? 😄
It's not that great really tbh...
I don't do it because I know I will mess up badly.
Alec, you're a lead so you're technically above moderator 🤔
I used Open CV for a project at uni... but I've forgotten it entirely.
So you have a camera attached? And you need to get frames taken at a specific time?
0xFFFFFFFF
i'm using open CV with some existing vidoe files
Yeah, each pair of hex digits is a byte.
A single hex digit is called a 'nibble' 😄
why?
Can you get the nth frame? Then maybe you can just take the time interval and multiply by the frame-rate?
Oh yeah. I love writing a good recursive descent parser.
Was this before or after you became a helper here, Jake? 
before
we're talking about brainfuck?
chars = '+-<>.,[]'
def brainfuck(code,input=input):
from collections import defaultdict as d
l=input==__builtins__.input
if not l:input=lambda i=1:input.pop(i-1)
a,o=d(int),''
i=p=t=0
for c in iter(lambda:code[p],''):
def __0(i,_):
a[i]+=1
a[i]%=256
return i,_,0
def __1(i,_):
a[i]-=1
a[i]%=256
return i,_,0
def __2(i,o):
o+=chr(a[i])
return i,o,0
def __3(i,_):
a[i]+=ord(input(1))%256
return i,_,0
f = [__0,__1,
lambda i,_:(i+1,_,0),
lambda i,_:(i-1,_,0),
__2,__3,
lambda i,o:(i,o,int(not a[i])),
lambda i,o:(i,o,---bool(a[i])),
lambda*_:(*_,0)][chars.find(c)]
if t:
t+=(c=='[')-(c==']')
else:
i,o,t=f(i,o)
p+=1-2*(t<0)
try:code[p]
except IndexError:break
return o,int(p!=len(code))
status = brainfuck('++++++++++[>+++>+++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>++.-->>+.+++++++..-------->+This is a comment.-<<<<++.-->>+++++++.------->>+.+++.----<++++++++.--------.<<<+++.')
error = status[1] or print(status[0])
NOOOO
Gtg 👋
Cya LX
those clouds?
so why is there text... there?
i think im not getting rotations in correctly
lol
I'm having a few bugs myself, and patching it seems to make it worse, now it's this monstrosity:
def move(self,
w:int = 0, a:int = 0,
s:int = 0, d:int = 0
):
o = i, j = self.here
x,y,_= self.xyn
w *= not not j
a *= not not i
I, J = d-a, s-w
j += J
i += I
tolerance:int = x+y-1
while(not(j in range(y)and i in range(x))or self[i,j]==1)and tolerance:
tolerance -= 1
j += J
i += I
if i >= x: i:int = x-1
elif i<0 : i = int()
if j >= y: j:int = y-1
elif j<0 : j = int()
if(i,j)in(*product((0,x-1),(0,y-1)),)and self[i,j]==1:#if your in a corner and you already know that spot:
if self!=1:i,j=o#try to go back # it's doing this too often
else:
for k in range(x if I else y):
i,j = k if I else i,k if not I else j
if self[i,j]!=1:break
if self[i,j]==1:tolerance=0
elif self[i,j]!=1:break
if not tolerance and not self.check_done():
for i,j in self:
if self[i,j] != 1: break
self.terminal.log('moved from '+str(self.here)+' to '+str((i,j)))if self.here!=(i,j)else self.terminal.log('unable to move that way')
self.here = i,j
just for wasd where valid cells are a subset of total cells
!e
from functools import wraps
deco = lambda func: wraps(func)(lambda arg: func(arg*2))
@deco
def test(n):
print(n)
test(4)
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
8
plt.plot(varr, N(varr, *fit[0]), label=''.join([f"${n} = {v:.4f} \pm {e:.0E}$,{' ' if i % 3 != 2 else endl}" for (i, n, v, e) in zip(range(5), ("A", "\\mu", "\\sigma", "B", "\\epsilon"), fit[0], np.diag(fit[1])**.5)]))
!e transpose list of lists ```py
transpose = lambda a:[[*t]for t in zip(*a)]
print(transpose([[1, 2, 3],[4, 5, 6],[7, 8, 9]]))
@past pawn :white_check_mark: Your eval job has completed with return code 0.
[[1, 4, 7], [2, 5, 8], [3, 6, 9]]
Hi fellow voicechatters
hi
Do you know what is pseudo-random asymmetrical boolean ?
Sorry, what have you asked?
idk
somehow
@tiny socket wanna do it now?
I need a way to find an element in an array and then to delete anything before it
say ["hey", "jonas", "thanks"]
but imagine even more elements before "jonas"
and only delete the elements before and including "jonas"
in a dynamic way
hello - I don't have perms so far to talk
fine - my usual coding mate is just not here today so I need some socializing 😄
doing my masters degree in Computer Science and working on some projects on the side
In the past: https://pypi.org/project/imgreg/
And currently our own scheduling library: https://gitlab.com/DigonIO/scheduler
Sorry - I didn't really understand what you were saying.
We are just friends without a legal framework so far for our projects - we just want to get better with coding and have some references in the future for possible Job applications.
No - Germany
@wise glade I'll be on in a moment, just have to grab some coffee and a folder
I'll be back in about 20-30 min, just grabbing some dinner
@crimson copper
hi
!stream 465123434322722817
@austere linden
✅ @austere linden can now stream.
so what he wants is a an list of the filepaths in a variable right ?
from pathlib import Path
your_absolute_path = Path('path_to_folder_here')
for csv_file in your_absolute_path.glob('*.csv'):
...
can i get help ?
@timid marten What is wrong exactly
one s
oh i get it now, there are actual crickets around lol.
i'm just used to it by now. i'll keep shut for now 😄
here @rugged root
Looking
ok
i like f strings, but then this happens:
>>> list_ = ['1', '2', '3']
>>> f"{'\t'.join(list_)}"
File "<stdin>", line 1
f"{'\t'.join(list_)}"
^
SyntaxError: f-string expression part cannot include a backslash
>>> "%s" % '\t'.join(list_)
'1\t2\t3'
Hello FuryoShonen, jake, @rugged root
py -m pip uninstall pygame
py -m pip install pipwin
pipwin install pygame
in terminal?
Yeppers. Run one at a time
ik
🤔 i never had any issues with installing pygame
F***, I lost ~/python/tkinter/battle.py again...
It's a dll thing
problem in device
Oh shit. So in pygame 2.0:
Support for Metal, Direct 3d, Vulkan, OpenGL 3.0+ in various profiles (core, compatibility, debug, robust, etc), OpenGL ES, and other modern hardware accelerated video APIs across many platforms.
i dont get it
Previously, Pygame was only able to render with very primitive and slow methods, entirely CPU based
Alright.
Who will win this battle?
Close and re-open the terminal
@rugged root
It might need to refresh the paths
tried alr
Hm
can i stream?
Not needed, I know what needs doing now
all that for music (:
ok
I won.
i tried a lot of fixes on internet but still the same problem ):
congrat
What's that?
what im gonna do?
Looking
k
Okay, so I THINK....
...?
brb
Athletes may consider napping between 20 to 90 min in duration and between 13:00 and 16:00 hours. Finally, athletes should allow 30 min to reduce sleep inertia prior to training or competition to obtain better performance outcomes. Future studies should include comprehensive recordings of nap durati …
@timid marten So from that .zip, you'll take the libmpg123-0.dll and libmpg123-0.def and put them in your System32 folder.
After that, you should be able to just restart your terminal/editor/IDE and it'll get going
tried already ):
not working
Strip off the -0 in the file names then
also tried 😦
Last thing to try is to put them in the same folder as the file you're trying to run
Daytime napping is a frequent habit of many individuals, whether healthy or not, and may occur in a wide variety of contexts. There are several reasons for napping in the human adult, including prophylactic strategies or recuperative need, respectively before or after sleep loss, or even pure appeti …
What a cute smol bee
Isn't python a bit too battery hungry for mobile applications?
wiach zip?
The bottom one from the link I sent
Compared to what the mobile operating systems expect, Python is big and slow. It uses a lot of battery charge, so if you're coding in Python you would probably very quickly run down your battery and quickly run out of memory [...]
https://www.youtube.com/watch?v=aYbNh3NS7jA
Guido van Rossum is a Dutch programmer best known as the creator of the Python programming language, for which he was the "Benevolent dictator for life" (BDFL) . Come join us for an open Q/A "Ask me Anything" to get to know how PyCon was born and Guido's amazing journey
If you are interested in joining PyCon click here: https://us.pycon.org/20...
can I just say
Opal and Furyo have the best voice on this server
idk, he kinda frightens me 😨 😂
still
Does he? How so
didint work
Hmm.... I'm out of ideas then.
you're talking about Marlo right?
#game-development Might
Yeah
i will see
his thick Russian accent 🙂
once I called him "Marko" accidentally
he said "where have I met you"
I said "what?"
he said "you used my real name. How did you knew that?" 😂
Maroluccio
I think that's how it's spelled...
Oh right
Dude, okay
I'll be honest
I read half of what you said and even that didn't process
My meds have not kicked in, that's my excuse
And in fairness, his name is already close to his username
So it's an easy thing to slip into
gotta do some work thing, brb
*Maroloccio
Cheers
The Gunpowder Plot of 1605, in earlier centuries often called the Gunpowder Treason Plot or the Jesuit Treason, was a failed assassination attempt against King James I by a group of provincial English Catholics led by Robert Catesby who sought to restore the Catholic monarchy from the Church of England after decades of intolerance against Cathol...
it took me two minutes to get the joke but it was worth it
"In the 2005 ITV programme The Gunpowder Plot: Exploding The Legend, a full-size replica of the House of Lords was built and destroyed with barrels of gunpowder, totalling 1 metric tonne of explosives."
Recreating the gunpowder plot with Arup's blast analysis experts.
Read more about the project: https://www.arup.com/projects/gunpowder-plot
KABOOM
That reminds me of Designated Survivor
I kinda want to speak, but I'll blame the covid vaccine for being freaking tired
@amber raptor there is no poor connection, there is only poor discord API
does anyone have ever worked with Microsoft Authenticator app?
@amber raptor I'm creating a auto-typer
Some of our folks use it here
What's up
Hey
Hi
code -help 0?
Kuwubernetes.
hangouts is shit
it do be shit
so is zoom
cowoding on kuwubernetes
thanks, I'll take a look
You might just look into something like Bitwarden as well
did anyone get github copilot?
it's magic
github actually violated its own policy of copyright code
A mighty wizard really has to spell things out.
Starring Eddie 'Eddache' Bowley (http://youtube.com/eddache)
New merch! New merch! New merch! (http://tomskashop.com)
Written and Directed by Thomas 'TomSka' Ridgewell (http://youtube.com/tomska)
Featuring Harry 'Hbomberguy' Brewis (http://youtube.com/hbomberguy)
Cinematography and Colour Grading b...
It’s a standard OTOP app like Google or Authy
kite is opensource
Unless you integrate with AzureAD
so I probably can use Google's coding stuff with this as well 🤔
google auth + java stuff
OTOP is a standard
actually, I'm trying it rn
This isn’t Google or Microsoft, it’s like HTTP
oh, neat
Question of the decade - Is HTML a programming language?
@rugged root Do you have any code snippets from your projects? I need a code snippet to test my auto-typing tool.
@gentle flint Hey, do you know I'm living in Vietnam, a communist country?
@rugged root Just give me any code...
@rugged root you are a good programmer, don't underestimate yourself
nah
well
maybe
but still
That doesn't even make sense!
I should call him Hamelocke
it makes man
So Mr. Grimlock, I mean Hemlock cannot give me any code.
Who else?
it's sounds delightfully Shakespeareian
Ahemloche
TypeError: 'int' object is not subscriptable
I need to test my auto-typing tool then screen-record it.
ah a pun came in my mind
👨 + 🐖 +🔒
Hamelocke of the Danelaw
mr hamlock
!traceback
Please provide a full traceback to your exception in order for us to identify your issue.
A full traceback could look like:
Traceback (most recent call last):
File "tiny", line 3, in
do_something()
File "tiny", line 2, in do_something
a = 6 / 0
ZeroDivisionError: integer division or modulo by zero
The best way to read your traceback is bottom to top.
• Identify the exception raised (e.g. ZeroDivisionError)
• Make note of the line number, and navigate there in your program.
• Try to understand why the error occurred.
To read more about exceptions and errors, please refer to the PyDis Wiki or the official Python tutorial.
Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\VIKRAM PRASAD_TP057977\main.py", line 562, in <module>
print(desire[0], desire[1])
k-col-meh
Come on
man locks pig in barn, arrested.
@rugged root can I call you Sir Hamelocke of Nottingham
I've been called worse
how about hemmy uwu
if desire[0] == 1:
payment = int(input("Enter your desired amount to be paid: "))
combined1 = date_register1()
if not combined1:
break```
desire_str = str(desire)
Have you ever looked at how integers are converted to strings?
Hemlock flowers actually exists and are poisonous xD
pig ~ ham
It is such a complex algorithm for something so simple
ik bruh, jk
@balmy nymph do you have the source
NOOOOOOOOOOOOOOOOOOOO!
source of?
Not for CPython
But I have even better https://www.youtube.com/watch?v=v3-a-zqKfgA
More 6502: https://eater.net/6502
Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support.
0:00 Introduction
2:09 Separating digits by dividing by 10
3:24 Dividing numbers in binary by hand
9:26 An algorithm for binary division
19:06 Implementing the algorithm in 6502 assembly
3...
bruh
@rugged root it is french national day, you must speak french
yeah, 14th july
I can also speak french to you if that's the only blocker :P
It is the day we cut the head of the other guy off
What an happy day
guillotine
*guillotine 
damn how can I mess it up every time
haha
Is
It is also quite simple, with only three lines. Each
grammatically correct?
not the right line
The more observative viewers will notice the tree ID is also part of the database. Let's see what this contains.
this one
bruh u indian?
yea
observant
aha, thanks
hmm
"More observant viewers may notice..."
@rugged root does my bedroom count as an office?
if you are the ceo
only if you dont sleep there
then yes.
I'm no CEO
my handwriting is eh
looks more like a cutter to cut pastry from cake
"I shave-a-da-faaace" 🎵
@alpine path Vampires too hate the sun
maybe use curtains
How will we survive 😓
Yeah, tbh, we really need to get air-conditioning in UK houses.
Hey guys~
If we have a heat-wave like they've having in the western US/Canada, it would be... bad.
Imagine living without AC
I can
I would die
Okay, today it is fairly alright
We are usually at ~35 during summer
using ac is kinda bad
Refrigerators emit more cfc
Actually, it's best not to disturb asbestos yeah.
depends on your goals
@rugged root @dense ibex Good news! My auto-typing tool works...
congrats
apparently salford looked like this in the '60s too
I'm pretty sure that's what it looks like today 😄
Sans the outside toilets.
that's my point exactly
(I was about to write "throughout" in my presentation, then I remembered how impossible that word is to pronounce)
My dad grew up in a house just like that (in Oldham).
that's also in greater manchester
Everyone calls the tower Big Ben 😄
Technically Salford like to claim they are an independent city 🙄
yep
Salford
postcode
UK
I know a bunch of tech companies that uses Slack
Alcohol and Drug Abuse Lake is a reservoir in Richland County, South Carolina, United States. Construction of the reservoir was finished in 1973. The 93.2 acres (377,000 m2) lake is on a tributary of the Crane Creek River.The lake is believed to be named after a place called Morris Village, a nearby residential treatment center for people with s...
Even GitHub uses Slack
Ruby mainly
Ned was banned? 👀
yeah
some people have a deep-seated hate for the postal office
For the last month or so, the IRC world has been embroiled in drama over the new ownership of Freenode. For me, it culminated yesterday when I was banned from Freenode.
Slack looks more pro too
if you say your company uses Discord, eeehhh
@gentle flint what are you doing
What have we done again
finding weird french place names
Anus is a populated place in Burgundy, France, within the commune of Fouronnes.Anus was anciently parished with Fouronnes, the parish sometimes being called Fouronne et Anus. In 1848, the two together had seventy households, of which nineteen were at Anus. In the 16th century, Anus had its own seigneur, who in 1598 was Guillaume Girard.
ah let me contribute
phone's going, brb
@faint ermine good, they better do something useful out of it
for once
Copilot isn't going to take anyone's job lol
I mean, just type ssh-private-key and tab haha
Did you see Co-Pilot's solution to the halting problem?
fast inverted square root best function ever
just pair it with github code scanning haha
have the two services clash
user names the column name'#; DROP database wait it wont work
The only not dropped projects are the 10% projects lol
admin aboose ||jk||
For now, Slack isn’t allowed by Microsoft
!vban 241989439549734912 Coming into the voice chat slamming on your keyboard and then saying it's "for a speedrun" is inappropriate and not appreciated.
:incoming_envelope: :ok_hand: applied voice ban to @inland tangle permanently.
reaaaally?
probably a troll
Pretty sure they did though haha
https://www.livemint.com/companies/news/microsoft-bans-employees-from-using-slack-1561350335031.html
Though GitHub MX is still pointed at Google
wtf, AWS and Google Docs
They have their own cloud and Office suite….
must be hard to work in those companies
I mean, yes, but GitHub is still a separate entity
Sure
i thought my mic was muted
No worries
Haskell is like the philosophy of programming
it is the pure form of programming, with a lot of meta questions
but it isn't applicable to the real word IMO
just like philosophy 🙃
!e
class Derived(str):
def __str__(self):
return str(self)
test = Derived("hey")
print(test)
@gloomy vigil :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 6, in <module>
003 | File "<string>", line 3, in __str__
004 | File "<string>", line 3, in __str__
005 | File "<string>", line 3, in __str__
006 | [Previous line repeated 330 more times]
007 | RecursionError: maximum recursion depth exceeded while calling a Python object
330 times?
I mean
how
I guess the stack only goes that deep
wtf happened here
I'd use Rust for a compiler
Read my mind 😄
Ung, hello lag
Rust is really fast compared to Python
ownership is a PITA sometimes
Lemme live dangerous 😄
My race conditions are fiiiiiiiiine
@rugged root C will let you do what the fuck you want, while Rust really doesn't. It is quite a change
for sure haha
don't dump the core pls
@alpine path bold of you to call it "package management"
You just use submodules haha
Freaking submodules
CMake is nice
I've used it for other projects
(which weren't C related)
@alpine path banned
lol
Microsoft has announced it's sunsetting support for Windows 10 in October 2025, including across the Home, Pro, Pro Education and Pro for Workstations editions. The last day of support is slated for Oct. 14, 2025.
@alpine path that's crazy little for an incompatible major update
I'm used to be lonely? 
just use linux
python 2 was easy
print var
And like... can you compare a programming language to a full-on OS
They should definitely have a longer period wow
what if the programming language is the OS?
Well, I'm sure there are more Python users than.. Pop_OS?
sue for speedtesting what?????????
@wise glade ALT + KEY UP?
shift alt arrow, sorry
duplicate cursor is shift alt click
or ctrl twice + arrow key
unsafe { *0 }
oh no
https://github.com/Akarys42/Volta-DOS/blob/main/boot/Makefile following up on C stuff, using make isn't bad after all
@rugged root why don't you move deleted data to another database?
Who cares if the deleted data database is slow
wut
@rugged root made my first tech video on YouTube
Link for Installation doc:
https://django-debug-toolbar.readthedocs.io/en/latest/installation.html
NOTE: Playground is my app where as storefront is my project, so make so you do changes in your project files not in your app files.
STEP 1 : Add debug path to your urls.py
In urls.py :
from django.contrib import admin
from django.urls impor...
Thought to share it with u
Sorry if u feel like I'm spamming
you havent seen akarys if you think this is spamming
2021
must have package
Sounds like a modern youtube video
It's not spamming if it's actually contributing to the conversation, like the back and forth Akarays has been doing
And yeah, I'll take a look at that later, looks cool
i meant that as a joke
haha
Apparently one of our work machines just threw a BSoD
whats that
Sadge
Blue Screen of Death
What error?
Always a good sign.
Don't know yet
I just noticed, tomorrows Thursday 🥲
I totally thought it was Friday tomorrow 😭
Back later
glhf
your windows ran into a problem?
I just want to help people with whatever knowledge I have, yesterday I struggled a lot but luckily I got good friends here to help me out but not everyone has friends like I do so I thought to make a video on it
Thanks
sad
its opposite for me
ikr 🥲
cause sunday code jam ends and we have alot of work to do....
well i have to go guys, but i will come back. Bye!
Alright, I'll go too, cya 👋
so i got banned because i was typing loud 🤣
I wasn't there, but I am assuming that you were trolling
And looking at your ban, you were
There are mods which give a degree of Python capacity, but I've been largely underwhelmed.
There is a Raspberry Pi-originating mod which you can use on PC, too, which gives you a Python module api thing.
Which seemed to be the more robust and sensible.
ohhhhhh nice
Other mods have added Python-using entities...robots and soforth, that were a bit naff...that they used Python 2 didn't help.
how much do raspberry pis typically cost
You don't need one for this.
yea i have that downloaded
i would learn lua but i wouldnt just do it for minecraft
unless i wanna make roblox games lol
No no, you were banned for typing really loud as soon as you joined, being told that you were typing loud and then replying with "Bruh, I'm speedrunning". You then continued to type loudly instead of muting yourself. If you wish to contest your voice ban, you may send a DM to the @rapid crown bot.
oh my bad for being rude
i see
ill appeal in a few months or something
i dont have the permission to speak yet
aight
yeah i can get that
im good
how r u
o/
just looking for new communities
yeah i code
mostly front end
but i also do python
nice
source code and docs
hmm yeah bcs ive tried doing flask a long time ago but i believe its way different from django
America First, Netherlands second. The original! The whole world was watching for the inauguration of the 45th president of the United States: Donald J. Trump. Because we realize it's better for us to get along, we decided to introduce our tiny country to him. In a way that will probably appeal to him the most.
Voice-over: Greg Shapiro
Sunday...
.bm 864930647637491732
@gentle flint, please enable your DMs to receive the bookmark.
lol
Hi vc ppl. does anyone know how can I find out my wsl port number? im trying to make a rule for it, so that firewall wont block the network there, but I dont know how can I find the port number 😬
#tools-and-devops might know
ill try, ty
can someone ping me here
@knotty blaze
@knotty blaze
nope
Weird
the popup comes from bottom right

very old vid
when
8 000 000 000 * .02 = 160 000 000
2% of 8 biilion is 160 million
what characters does \w store in regex
8 days, 15 hours, 58 minutes.
57 minutes.
I need to wake up in the morning to watch the games
Like 5am

56 minutes.
And they are going to give condoms to sportsmen
They do that every Olympics.
And the condom bag has the olympics logo on it
Cool
Phi
Information index for Reports and Data Topic
cool
yeah, it's sad
if anyone don't know python
a good video to see
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...
that video's actually listed in this server's list of python resources
!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.pydis.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.
Get end of support information for Windows 7 and find out what you need to know to upgrade to Windows 10 or find a new PC.
``
!code
print("O")
\u0021 : EXCLAMATION MARK - !
\u0064 : LATIN SMALL LETTER D - d
\u0065 : LATIN SMALL LETTER E - e
\u006c : LATIN SMALL LETTER L - l
\u0020 : SPACE -
\u0074 : LATIN SMALL LETTER T - t
\u0069 : LATIN SMALL LETTER I - i
\u0070 : LATIN SMALL LETTER P - p
\u0021\u0064\u0065\u006c\u0020\u0074\u0069\u0070
!del tip ”food”:”eat healthy food”,
defaultdict
decorators
mutable-default-args
print(msg)
print(msg.startswith("!del tip")
if msg.startswith("!"):
!charinfo !del tip ”food”:”eat healthy food”,
\u0021 : EXCLAMATION MARK - !
\u0064 : LATIN SMALL LETTER D - d
\u0065 : LATIN SMALL LETTER E - e
\u006c : LATIN SMALL LETTER L - l
\u0020 : SPACE -
\u0020 : SPACE -
\u0074 : LATIN SMALL LETTER T - t
\u0069 : LATIN SMALL LETTER I - i
\u0070 : LATIN SMALL LETTER P - p
\u0020 : SPACE -
\u0021\u0064\u0065\u006c\u0020\u0020\u0074\u0069\u0070\u0020\u201d\u0066\u006f\u006f\u0064\u201d\u003a\u201d\u0065\u0061\u0074\u0020\u0068\u0065\u0061\u006c\u0074\u0068\u0079\u0020\u0066\u006f\u006f\u0064\u201d\u002c
!del tip ”food”:”eat healthy food”
.t
Your input was invalid: command is a required argument that is missing.
Usage:.timed <command>
.t pixelate
The command you are trying to time doesn't exist. Use .help for a list of commands.
.t 8bitify
.t 8bitify
nice
No worries.
Typically if we're in voice chat, we'll be watching the paired text channel
So even if you can't talk, we still have a conversation
A lot of people just prefer to listen and type
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Automate the Boring Stuff and A Byte of Python are two good ones
And My English is bad
I started learning programming and thought that python is a good option for me.
I would also like to say that I know very little English and do not understand very well what you are talking about, but I think that about python.
And I would also like to apologize for my English.
!e
word_list = list("Python is friggin' awesome")
print(word_list.index("is"))
@rugged root :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | ValueError: 'is' is not in list
usernameInput = ""
def UsernamePassword():
username = ["Ali12", "Ahmad24", "Reza60", "Zahra_36"]
password = [3684, 9587, 3612, 8459]
while True:
usernameInput = input("Please enter your username: ")
if username.index(usernameInput):
break
else:
print("Wrong Username. Please try again.\n-----------------")
while True:
passwordInput = int(input("Please enter your password: "))
if passwordInput == password(username.index(usernameInput)):
break
else:
print("Wrong password. Please try again.\n-----------------")
Sounds like interference 🤔
password(username.index(usernameInput))
password[username.index(usernameInput)]
!stream 465117187758227456
@knotty blaze
✅ @knotty blaze can now stream.
# Option 1
"".join(item for item in iterable)
# Option 2
"".join([item for item in iterable])
```which is faster
if username.index(usernameInput.strip()):
are we getting trolled?
damn three guys streaming must be a hard time i wish i was here
logins = {
'brad': 123,
'terry': 456
}
while True:
username = input("Please enter your username: ")
if password := logins.get(username):
break
print("Invalid username")
password_input = input("Please enter your password: ")
if int(password_input) == password:
print("Welcome")
else:
print("Get out")
cool
does everyone sound echoy or is it my headphones
maybe my sound is
def delTip(msg):
msg = msg.replace("!del tip ", "")
msg = normalize(msg)
print(msg)
lines, isLine = [], False
Tips = open(("Python_Bot/Tips.txt"), "r")
for line in Tips:
print(msg)
print(line)
print(1)
if line != msg:
lines.append(line)
else:
isLine = True
print(2)
@Voice Verified
This role allows people to speak in our voice channels.
To get this role send the command !voice-verify in #voice-verification. Please note that there are requirements to getting this role. They are listed in the channel where you run the command.
just need 49 more messages and i will meet that requirement xD
is there a channel I can spam?
yikes
yeah its okay, i just like watching people code during my lunch xD
i am a weirdo o.O
hi
bot messages you automatically with instructions
we also have this command that you can use to guide people further !voice
Guys, who knows matplotlib well?
Could you give me a hand?
I know that's not a help channel, but nobody helps there
how can make x major ticks equal y major ticks?
import importlib
import tipSwitch
from tipSwitch import TipSwitch as ts
a,b = 'def TipSwitch(msg):\n\tswitch={\n', '\t\t'
c,d= '\t}\n\treturn switch.get(msg, "This command isn','t avaible")'
def tip(msg):
return ts(msg)
def normalize(msg):
msg = msg.replace(" "," ")
msg = msg.replace("“","'")
msg = msg.replace("„","'")
msg = msg.replace("”","'")
msg = msg.replace("’","'")
msg = msg.replace("‘","'")
return(msg)
def delTip(msg):
msg = msg.replace("!del tip ", "")
msg = normalize(msg)
print(msg)
lines, isLine = [], False
Tips = open(("Python_Bot/Tips.txt"), "r")
for line in Tips:
print(msg)
print(line)
print(1)
if line != msg:
lines.append(line)
else:
isLine = True
print(2)
if isLine:
Tips = open(("Python_Bot/Tips.txt"), "w")
for line in lines:
print(line)
Tips.write(line)
Tips.close()
Tips = open(("Python_Bot/Tips.txt"), "r")
Switch = open(("Python_Bot/tipSwitch.py"), "w")
Switch.write(a)
for line in Tips:
Switch.write(b+line)
Switch.write(c+"'"+d)
Switch.close()
Tips.close()
importlib.reload(tipSwitch)
from tipSwitch import TipSwitch as ts
return "Command deleted"
else:
return "Command not found"
'network':'network with others',
'network':'network with others',
1
'network':'network with others',
'network':'network with others',
1
'network':'network with others',
'network':'network with others',
1
'network':'network with others',
'network':'network with others',
1
'network':'network with others',
'network':'network with others',
1
'network':'network with others',
'network':'network with others',
1
You can try to use plt.gca().set_aspect('equal'), e.g.:
import matplotlib.pyplot as plt
import numpy as np
data = np.random.rand(5)
plt.plot(np.arange(5),data)
plt.gca().set_aspect('equal')
I can't even think
I've never lost my thoughts this badly
It is actually really spooky
Hello everyone, this is YOUR Daily Dose of Internet. In this video, a dog smashes their head through the front door.
Links To Sources:
Twitch Streamer: https://www.twitch.tv/codemiko
Door Dog: https://tinyurl.com/jacr9jf8
https://www.youtube.com/watch?v=r5sDHdiqYhA
Tsunami: https://www.youtube.com/watch?v=DI9Y24SKPEg
Rat: https://tinyurl...
Maybe redis would be an option then?
@faint ermine https://github.com/arangodb/arangodb
That might be a good one
Also, heading out to a doc appointment
cya
'network':'network with others',
'network':'network with others',
Other
'network':'network with others',
'network':'network with others',
1
2
GTG
print(line + "a")
'network':'network with others',
a
'network':'network with others',
'network':'network with others',
'network':'network with others',
'network':'network with others',
hello everyone
repr(line)
Did someone ever try to monkeypatch doctests written within the .rst files for sphinx?
I'm wondering if there is a solution for this problem already available or if I would be faster doing it myself.
.topic
when i was like 7, iirc
i got a new computer for work today 
upgrade?
yes.. .old machine wasn't teeeeeeeeeerrible, but still a very nice upgrade
cya
fave/must-have extensions for vs code? 
pycharm
Ok - cool. I managed to load a fixture within my sphinx documentation. The only reason it didn't work before was that I used
pytest --doctest-glob="*.rst"
instead of
pytest --doctest-modules doc/pages/*/*.rst
https://dba.stackexchange.com/questions/39885/can-i-make-sure-two-columns-dont-have-the-same-value @dense ibex
In this tutorial, we will introduce you to PostgreSQL CHECK constraint to constrain the value of columns in a table based on a Boolean expression.
won't
yeeeet
whats it ??
@zealous wave https://brython.info/
Brython
Use spoilers
lmfao
Altho...
My desktops background uses wallpaper engine
hmm
Light theme windows... minesweeper
did u make for code jam ??
code jam?
I'd have to clean it up to submit it for anything XD
it's completely debugged but the source would traumatise most developers
lol
ew i gotta use rich or curses frameworks for code jam
this minesweeper is the opposite of code jam; it doesn't use rich or curses
it's already cursed enough with all these escape sequences ;)
!pypi htranslate
!pypi corded
!pypi dpy-docs
A simple, lightweight tool used for documemting your discord.py commands
!pypi cursedutils
cool that works
!pypi forbiddenfruit
!pypi beautifulsoup
after a few hours, ive finally finished it. 10k char hello world program!
onliner: https://gist.github.com/ChiliMX/cc81819f8ffc13387d8d2dc9cebdaef0
pycharm reformat: https://gist.github.com/ChiliMX/821bf6db53a5b6104bfcb516e2c5bd83
Pycharm code reformat made my amazing oneliner(check out my other gist) into this - no longer a one liner.py
@whole bear
!e ```py
@import
@lambda _: _.name
class hello: pass
@zealous wave :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!e ```py
package='hello';from.import*
@zealous wave :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
my fgoddddddddddddddd
i came here to ask for help and i cant speak
fuk
i go ask morgan freeman
what do you need friend?
me is stuck and my head is going boom
flow chart
its python
I have to write a program that works out whether if a given year is a leap year. A normal year has 365 days, leap years have 366, with an extra day in February.
why does this return```py
class Node:
def init(self, value):
self.value = value
self.next = None
self.last = None
node1 = Node(1)
node2 = Node(2)
node3 = Node(3)
node4 = Node(4)
node5 = Node(5)
node6 = Node(6)
node1.next = node2
node2.next = node3
node3.next = node4
node4.next = node5
node5.next = node6
node6.last = node5
node5.last = node4
node4.last = node3
node3.last = node2
node2.last = node1
def reverse_linked(head):
current_node = head
length = 0
first_pointer = head
while True:
if current_node.next != None:
length+=1
current_node = current_node.next
if current_node.next == None:
length+=1
last_pointer = current_node
break
if length % 2 == 1:
while first_pointer != last_pointer:
temp = first_pointer.value
first_pointer.vlaue = last_pointer.value
last_pointer.value = temp
first_pointer = first_pointer.next
last_pointer = last_pointer.last
elif length % 2 == 0:
for i in range(1, int(length/2)):
temp = first_pointer.value
first_pointer.vlaue = last_pointer.value
last_pointer.value = temp
first_pointer = first_pointer.next
last_pointer = last_pointer.last
return return_linked(head)
# return a
def return_linked(head):
nodes = []
current_node = head
while current_node.next != None:
nodes.append(current_node.value)
current_node = current_node.next
return nodes
print(reverse_linked(node1))```
[1, 2, 3, 4, 2]```
this
wait i jus copy paste from stackoverflow
are you like talking some sort of input like no. of days?
e.g. The year 2000:
2000 ÷ 4 = 500 (Leap)
2000 ÷ 100 = 20 (Not Leap)
2000 ÷ 400 = 5 (Leap!)
So the year 2000 is a leap year.
But the year 2100 is not a leap year because:
2100 ÷ 4 = 525 (Leap)
2100 ÷ 100 = 21 (Not Leap)
2100 ÷ 400 = 5.25 (Not Leap)
i think you can make it after seeing this then?
you could just chain if and on a condition set a var to either leap or not leap
and print the var at the end
i dont think i can give you the direct solution i can only give hints
def leapYear(year: Int): Boolean = ((year % 400 == 0) || (!(year % 100 == 0) && year % 4 == 0))
}``` here's the answer in scala. I will not elaborate 🙂
i am confused by this paragraph on
every year that is evenly divisible by 4
except every year that is evenly divisible by 100
unless the year is also evenly divisible by 400
i recommend seeing this flow chart its really good explaination
oo soory
i thought this was general was wondering why chat is soo dead
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2021-07-15 06:56 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
def ram():
memoria_ram1 = {"cantidad de ram": "2GB",
"precio" : 15000}
memoria_ram2 = {"cantidad de ram": "4GB",
"precio" : 30000}
memoria_ram3 = {"cantidad de ram": "8GB",
"precio" : 50000}
return [memoria_ram1, memoria_ram2, memoria_ram3]
ram_dic = ram()
print(ram_dic)
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.pydis.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.
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.
good bye guys !cs classes going on havee a nice day
||spoiler||
!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.pydis.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.
Hello - what are you working on there?
nothing just looking at a codewars problem
how can I change this output? ```py
([{'cantidad de ram': '2GB', 'precio': 15000}, {'cantidad de ram': '4GB', 'precio': 30000}, {'cantidad de ram': '8GB', 'precio': 50000}], [{'modelo': 'Intel i5', 'precio': 320000}, {'modelo': 'Intel i7', 'precio': 400000}], [{'capacidad': '512GB', 'precio': 50000}, {'capacidad': '1TB', 'precio': 100000}, {'capacidad': '2TB', 'precio': 150000}])
to something more readable
(
[
{"cantidad de ram": "2GB", "precio": 15000},
{"cantidad de ram": "4GB", "precio": 30000},
{"cantidad de ram": "8GB", "precio": 50000},
],
[
{"modelo": "Intel i5", "precio": 320000},
{"modelo": "Intel i7", "precio": 400000},
],
[
{"capacidad": "512GB", "precio": 50000},
{"capacidad": "1TB", "precio": 100000},
{"capacidad": "2TB", "precio": 150000},
],
)
you can use for loops to write the different parts more legibly
with black https://github.com/psf/black if you are talking about formatting. Alternatively you could dump to yaml, which is a more human readable format
this
!e
import yaml
output = (
[
{"cantidad de ram": "2GB", "precio": 15000},
{"cantidad de ram": "4GB", "precio": 30000},
{"cantidad de ram": "8GB", "precio": 50000},
],
[
{"modelo": "Intel i5", "precio": 320000},
{"modelo": "Intel i7", "precio": 400000},
],
[
{"capacidad": "512GB", "precio": 50000},
{"capacidad": "1TB", "precio": 100000},
{"capacidad": "2TB", "precio": 150000},
],
)
print(yaml.dump(output))
@errant nova :white_check_mark: Your eval job has completed with return code 0.
001 | !!python/tuple
002 | - - cantidad de ram: 2GB
003 | precio: 15000
004 | - cantidad de ram: 4GB
005 | precio: 30000
006 | - cantidad de ram: 8GB
007 | precio: 50000
008 | - - modelo: Intel i5
009 | precio: 320000
010 | - modelo: Intel i7
011 | precio: 400000
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/evipucolok.txt?noredirect
@onyx kindle would that answer your question? - Sry
I think yes
I'm looking for options
I don't know how to do it
exactly
You could also just use json.dumps instead of yaml.dump with the flags sort_keys=True, indent=4. => No external dependencies
dictname["key"] = whatever
you can't show a cursor without a image of a cursor..
https://www.educative.io/blog/data-strucutres-hash-table-javascript
https://leetcode.com/problems/group-anagrams/discuss/306306/python-sorting-string-alphabetically-943
https://leetcode.com/problems/group-anagrams/discuss/?currentPage=1&orderBy=hot&query=
A hash table is a widely used data structure that maps keys to values. Today, we'll learn about hash functions and implement hash tables in JavaScript.
DataStructure: Hash Table 0(1) run time
Hello there
I would love that but they're pretty heated on the problem haha
k lol
In mathematics, a combination is a selection of items from a collection, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are three combinations of two that can be drawn from this set: an apple and a pear; an apple and an orange; or a pear and an or...
I've been feeling really lonely lately just wanted to say thanks to you guys for coming to hang out it's a lot of fun getting to talk about stuff and think about problems
thanks for being available even though you're usually busy and going to be grinding this week
the pleasure is all mine. I'll have more time to be in the community like this and think about problems and further my education a lot I feel the next couple of months so that even if I don't get to end up in a job coding for a living I can feel much more confident about myself and what I know
man i felt amazing to talk to u guya as well .
that is what leearning curve teaches us
I just also... have a lot of projects diverting my time haha. Another I wanted to mention but we sorta got onto this problem turtle is I plan to make a card game simulator. My friend can't run tabletop simulator because a 3D physics engine is overkill for card games so I wanted to fulfill a niche and make something I can use
nicee lol
fr
What a sexy keyboard
nice setup
Nice cat too
nice cat
ooh, a sextant
Gotta sleep with a sheet!
!pypi speedtest
:I
@leaden yoke your name is silly
it's a wholesome silly
y e s
from the accent its indian
oh my god - this is great
I'm sorry but just... her english
oh god... windows + r
yea i am pro
hurry
@gloomy vigil a little too pro
bruh
i used it to change windows settings
lmao I love you verbose
