#voice-chat-text-0
1 messages ยท Page 852 of 1
Fetching ๐
The BBQ Gremlin
You would just get severe burns tbh.
And maybe super-powers.
Yeah, I think the sphere represents like a confidence interval ๐ค
We safe!
You might want to season them again as I think the rain will have washed any off ๐
You can estimate how far away the strike was by counting the time between the flash and the thunder. (5 seconds is about 1 mile.)
chili you have echo
@zealous wave, chill with the echo
Sorry I wasnt at my pc

Ohh, did you see that slo-mo guys video?
Yeah, the lightning will take the path of least resistance. But the sound may burst your eardrums.
Blitzortung.org, lightning and thunderstorms in real time
This kind of illustrates the sphere thing. The first 'feeler' to touch the ground (or something connected to the ground) is where the lightning strikes.
Guys, no doxing please ๐
@willow drift Would you like to stream something?
Yeah, I don't really know tbh ๐
@faint ermine what does mean each point that flashes on the map? also really impressive
!server

!helpdm on
โ @dense ibex Help DMs are already ON
!helpdm on
:ok_hand: @faint ermine Help DMs ON!
saw that in the nim server
Sorry guys, there's lightning really close ๐ฌ
Trying not to wreck my PSU
I don't think I have one of those lightning-safety things haha
!helpdm on
:ok_hand: @zealous wave Help DMs ON!
!helpdm on
:ok_hand: @severe pulsar Help DMs ON!
awesome!
hii
!helpdm on
:ok_hand: @opaque beacon Help DMs ON!
cool
Hello
damn everybodys muted in vc
haha nope
what's the issue??
i cant download most python libraries nor homebrew when i tried to download pygame it had a compiling error
@uncut meteor 
brb, dinner
you remembered!
me with no 50 messages ๐ญ
i changed my username
lol
so
i want to talk
but ugh
wat
are u reading my messages
waaaaaaaaaaaa
nice ๐
im like really bad with py
my friends flex with their code
metoo
Hello
ayy thanks man
How's the Code Jam?
code jam out of my league
Not you.
๐
I have no intention of participating in this year's Code Jam.
colored module is like soooo dam goodddddddddd
I can at least help participants.
i can use colorama but for me colored is kinda hard but colored is like really cool
whats ur fav module guys?
any
For ANSI colour codes, there is no need. At least if you happen to use a Linux distribution.
@uncut meteor Why?
why what?
i wantttttttttt py armourrrrrrrrr premium
why?
rust like really hard af
it's not that bad
to obfuscate
why do you need to obfuscate
just do SaaS
aren't those unhealthy
import sys
import os
import time
import colorama
import colored
import ctypes
from colorama import Fore, Style, init
from colored import fore, back, style, fg, bg, attr
os.system("cls")
logo = f'''{Fore.CYAN}
LOGIN
'''
print(logo)
print(f"[{Fore.MAGENTA}1{Fore.CYAN}] {Fore.WHITE}Login\n{Fore.CYAN}[{Fore.MAGENTA}2{Fore.CYAN}] {Fore.WHITE}Register\n{Fore.CYAN}[{Fore.MAGENTA}3{Fore.CYAN}] {Fore.WHITE}Exit\n ")
login = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if login == "1":
os.system("cls")
print(logo)
username = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}1{Fore.LIGHTCYAN_EX}] Username:{Fore.WHITE} ")
password = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] Password:{Fore.WHITE} ")
os.system("cls")
print(f"{Fore.WHITE} Thanks For Logging In!! | Would You Like To Go To The Menu y/n")
gotomenu = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if gotomenu == "y":
import menu
if gotomenu == "n":
print("BYE!!")
time.sleep(2)
exit()
else:
if login == "2":
os.system("cls")
print(logo)
username = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}1{Fore.LIGHTCYAN_EX}] Username:{Fore.WHITE} ")
password = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] Password:{Fore.WHITE} ")
license = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] License:{Fore.WHITE} ")
os.system("cls")
print(f"{Fore.WHITE} Thanks For Logging In!! | Would You Like To Go To The Menu y/n")
gotomenu = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if gotomenu == "y":
import menu
else:
if gotomenu == "n":
print("BYE!!")
time.sleep(2)
exit()
if login == "3":
exit()
else:
print("TF DID U CHOOSE A OPTION THAT DOES NOT EXIST")
time.sleep(2)
print("FUCK OFF!!")
time.sleep(1)
exit()
```bad code ๐ฆ
you're using import to run code?
dis
@steep grove you're using import to run code?
to import other file
yes, but you're using it to just, run the file?
what
wdym
you're using an import statement to just run code from another file
im like really dumb
yea
hm
is there any other way>
You're not dumb, you're learning

There's a big difference
thanks for understanding @rugged root
kit kat
too close to kk_ <-- insert last letter
115 unique submission for the qualifier so far 
like bash
and all the other shells
@uncut meteor you mean basically all the C-style langs lol
@amber raptor it doesn't coerce for you, unless you're using raw pointers. if yuo try let x: String = 'e'; you'll get a compiler error for not using the right type
i realize he's driving so if someone coudl read it out? lol
coercing for types means like in java, String x = 4 + "e";, i think that will work
it'll just make the 4 a string
do they put it in the same spot relative to the keyboard?
@uncut meteor ice?
@cerulean basinNice song ๐
only a little bit
crunchy water xd
wait no, not crunchy, clicky
nah, crunchy is lower pitched
yeah, click sounds like click, when crunch sounds like crunch
great way to burn yourself
"that sounds good" ๐ค
what's that thing from arrested development?
the fryer
cornballer
the tv show
l o l
griff i think you'd like this show..
griff does a southern us accent
just speak correctly and you'll have an american accent
i've never read harry potter
o/ @icy axle
i've never even touched a harry potter book
Code Jam Participants are below Helper
Showcasing that someone is a helper is still a bit more important in my eyes than showing they are participating in the code jam
The Code Jam Management System is not something that'll be ready for this Jam
oh
it's meant as a way to manage across code jams, it's not specifically useful for an individual jam
!mute @rugged root
:incoming_envelope: :ok_hand: applied mute to @rugged root until 2021-06-22 14:47 (59 minutes and 59 seconds).
lmao
:3c
:O
_>
But I want the work started on it now so it can be ready for December when I do want to try to automate some stuff between jams
Nah, forms wasn't quite ready in time and thoroughly tested to support it
That was the goal, but we hit a few last minute snags with it
So that's the plan for December!
Although I may still hold off on the results for the first 2-3 days of submissions. The submitted solutions almost always require us to adjust our test suite.
lol why cant i use my mic
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
So we have a voice verification system check out that channel.
and whats the bandstand ? lol this update
People seem to be really enjoying the Qualifier, I'm quite happy with it
it's neat
The Bandstand is our public Stage Channel that we'll be using for 2 more events
mhm, salt suggested "make a table!"
aha cool
banned
!mute @rugged root
:x: According to my records, this user already has a mute infraction. See infraction #40195.
noooooooooooo
you always have the disconnect option
!user 98195144192331776
You may not use this command on users other than yourself.
God damn it
:3c
Robert'); DROP TABLE students;
of course, little bobby tables
!e
DROP TABLE python_discord
@dense ibex :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | DROP TABLE python_discord
003 | ^
004 | SyntaxError: invalid syntax
bruh

!e import sqlite3
@crimson copper :warning: Your eval job has completed with return code 0.
[No output]
oh hey
I specifically recruited salt both for their incredible knowledge on TUIs and also to make sure they couldn't participate >_>
Salt made this: https://github.com/salt-die/nurses
just... just look at the examples
Salt is on GitHub but isn't part of our github org
Yeah
Like I said, TUI god
yeah march for me
That is salt getting the Advent of Code bug and developing nurses for it
around my birthday lol
Yup! Salt is an Advent of Code Visualizer demon
@uncut meteor he didn't make it for aoc, he just used it for it
Salt is very good at what he does
My connection doesn't seem to wanna work too well today
wait until we see salt make terminal based minecraft
The hardest part to believe: salt does this in windows, not linux
Why is that hard to believe
Because TUIs in windows generally don't go well together, especially considering they're using curses and not something like rich
but wsl
@rugged root https://www.scylladb.com/
import (
"bytes"
"container/heap"
"context"
"fmt"
"math"
"reflect"
"regexp"
"runtime"
"sort"
"strconv"
"sync"
"time"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/uber/jaeger-client-go"
"github.com/prometheus/prometheus/pkg/labels"
"github.com/prometheus/prometheus/pkg/timestamp"
"github.com/prometheus/prometheus/pkg/value"
"github.com/prometheus/prometheus/promql/parser"
"github.com/prometheus/prometheus/storage"
"github.com/prometheus/prometheus/util/stats"
)
what about scylla 
lol
runs my loki instance and some other shit
logging
pretty amazing
you can ingest basically everything
nah sentry is error reporting
loki is log aggregation
ie i have all my journal messages
or bot logs
yeah but logstash is more suited towards anaytics
or elastic is
loki is way more slim
you can run metrics and shit but no analytics
119 unique code jam submissions.... oooooh boy
did you see mine 
... nope. We're going to have slightly larger team sizes, no more than 8 total

Regardless of how many teams there are we're still only code reviewing 10 projects
its a beautiful oneliner
and the qualifier is a tad bit harder this year and there's less time for it
But I wasn't expecting this much server growth over the past 6 months.... so we may end up with uhhh.... a lot of teams
corona goes brrr
@strong arch whatcha using nowadays?
@rugged root what did you kill
Legacy machine we use for old versions of QuickBooks and Lacerte Tax suite
rust, julia, kotlin
neat
rip
at least you dont have to work with azure and teams
using it aint too bad, developing for it is
https://www.parallax.com/ This one?
The Propeller 1 44-pin QFP Chip is in active production and suitable for new designs.ย If showing "out of stock" please contact sales@parallax.com or call +1
@dense ibex Found another great logo
i joined like 2 mins ago but couldn't understand what the discussion is about.
@hollow haven I"M FREEEEEEEE
https://www.home-assistant.io/ @limpid umbra
It's kind of working
@rugged root the capacitor is still dangerous after being unplugged, that will kill you
Oh absolutely
tons of stuff in a microwave will kill you if you're not careful
But I would figure that most of the ones in microwaves would properly dissipate over time
CRTs don't
I'm good
not dead ๐
Congrats! 
numpy tries to match matlab too much imo
Yeah, a lot of numpy's syntax is informed by matlab
could u give some examples?
!e
import numpy as pandas
print(pandas.zeros((8, 10)))
@clear shadow :white_check_mark: Your eval job has completed with return code 0.
001 | [[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
002 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
003 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
004 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
005 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
006 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
007 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
008 | [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]
"Sir Cat! Sir Cat! The Mice King's army is at the gates!"
"...Prepare the catapaults."
import numpy as pandas
why the fuck
SOH CAT TOA
Like numpy's basic type being ndim array is because matlab's basic type is an ndim array. It's default for performing elemeny-by-element is also based off of Matlab
That logo is fantastic
@fair pewter
oooh mina did you just @ a random person
no my fren :3
he's the keyboard guy i told you abt
Oh cool
i can see the basis of numpy on matlab, but is there a better design numpy couldve opted for?
I now remember why your sensitivity was jacked so high up, @strong arch
wassup
hi ming
@dense ibex https://www.youtube.com/watch?v=cW0W_yHV-3U
This keyboard was sent by a friend in the U.S. for me to build.
I've put in lots of love and care. I wish you are satisfied with the results. Thanks!
*Contents
00:00 Intro
00:01 Typings.gg
00:32 Monkey-type.com
01:31 Overhead View
02:07 Stabs
02:22 Outro
-------------...
Hi ming can you take my switches off my prebuilt keyboard
I think numpy's design for accessing certain rows/elements could be improved
While working with axis in numpy is impressive
fixed it
how would u go about it?
wow, that sounds amazing
Storing a class object in numpy arrays will possible?
yes but dont
Here
here is a project
We have chosen not to use that because it cost so much
Well were not charging currently so
we have a command prefix
!user

Created: 1 year, 4 months and 27 days ago
Profile: @dense ibex
ID: 670802831678373908
Joined: 5 months, 18 days and 10 minutes ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&854107452243968040>, <@&585529568383860737>, <@&267630620367257601>, <@&787816728474288181>
Total: 2
Active: 0
!ping
117.726 ms
3.838 ms
128.620 ms
I can commission someone here in Korea to do it for me XD
costs like 10 dollars for 110 switches
Yeah lol I was more or less joking since mina told me that you do that kind of stuff
@vivid palm
39C
because I'm holy

lol
@fair pewter @vivid palm
it's a minamina party
wait mr teemo is also in this server?
lmao
I spend a whole freakin day
implementing a weight optimization method for keras
and found out that it doesn't converge
lol
yeah he apparently made some rss reader or smth in like middle school and sold it for $$$
woah
i forget if it was python or not
@fallen geyser what was the company you sold the RSS thing to?
Unsigned integers are not part of the SQL standard
no likely not
Hi Mina good to see you
Hey choi, good to see you
Hi Mr Hemlock
Wait is teemo the streamer you were telling me about @vivid palm
oh no no
that's taehatypes
ohh
he big
Steamer?
Thank you for correction!
well yes, but 8 times the space lol
scala ?
scylladb
I think something in JS just clicked. It's all objects yes, but you're affecting the very core of what they are
Like
Actively
#microcontrollers @limpid umbra
The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.
@tiny socket do you think it's worth removing the guild from the db if they remove the bot from the server?
wanna go to vc1 to discuss
sure
nah ig
Adafruit Industries, Unique & fun DIY electronics and kits : - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Hallow...
bye guys i am going
What about JSON?
@dense ibex that's a really cool navbar with the rain
the monster
Yeah, it's my background as well
Is that a wallpaper engine or is it something else ?
@limpid umbra when you say CVS you mean CSV right, or is there CVS file extension I'm not aware about
No he's meaning CSV
Unless the pharmacy is more involved with coding than I thought.
servo( 0 , 90 )
@rugged root Hey man, do you know if learning arduino knowledge is compatible with a raspberry Pi. Do you think so?
Honestly not sure. Raspberry Pi should be thought of as a Linux computer, rather than a specific kind of microcontroller
If Ready Player One ever becomes reality then that
uhhh?
Voice chat convo
ah
what would require the most of most of computing power
Don't get ya there Maxy
The conversation was going what would require tremendous computing power, I mentioned that if Ready player One, a movie where you can enter a virtual reality where theres no difference between reality and virtual world, it would be an example of that
Which would be absolutely dope
CrossCode also comes to mind with that kind of virtual/augmented reality
you can do that tho
Remote desktop?
Kind of. Not on the scale of full sensory integration
Message Passing Interface (MPI) is a communication protocol for parallel programming. MPI is specifically used to allow applications to run in parallel across a number of separate computers connected by a network
The more you know
@limpid umbra have you made such a program before?
As a coding instructor, itโs my duty to send programmers out into the world thinking in new ways. A major shift in thinking occurs when we switch from imperative to declarative programming. Once my students have learned basic JavaScript, we go over functional programming and the array methods used
Ah HA
Found it
"Alright hereโs a metaphor.
Declarative Programming is like asking your friend to draw a landscape. You donโt care how they draw it, thatโs up to them.
Imperative Programming is like your friend listening to Bob Ross tell them how to paint a landscape. While good ole Bob Ross isnโt exactly commanding, he is giving them step by step directions to get the desired result."
Ive gotta drop off, had a really good time
Yep, nice talking to you! Hope to see you around
Listen to this episode from Programming Throwdown on Spotify. This show covers Erlang, a multiprocessing function language. The show talks about latest updates in C++ and java, then talks about open sourcing hardware. The tools of the day are MS Dependency Walker, a DLL resolver and Keepass, a password multiplexer.โ Support this podcast on Patre...
I found the podcast which explains in detail what you were talking about
ok cool
I thought for the longest time that lisp was part emacs. Like to extend the functionality of emacs
emacs specific is what im trying to say
Sure sure
lmao
@limpid umbra are you from the midwest by any chance?
yes indeed
type .catify
oooooooooooooooooooooooooooooooooh
that makes sense
.catify
Your catified nickname is: aoeu htns | แแแข
that line is terrible
ia
hm
@limpid umbra You could literally make your own podcast and put people to sleep with it while giving them fun stories
@limpid umbra Do you also get the sense of fearing to make mistakes in math exclusively? Have any idea how to get rid of it?
I've grown around the culture of math being more important than other subjects and therefore math feels naturally more pressuring even when it's easy
different ways of doing syntax. #esoteric-python in a nutshell
@limpid umbra See you guys in the near future, nice talking to you!
@limpid umbra https://github.com/hzeller/rpi-gpio-dma-demo
@amber raptor hey bud
I have no idea whatโs going on
Sounds like IoT talk
Heyo
Errr, ok
@rugged root Light bud
@rugged root hey bud
Is this going to lead about Bitcoin is superior exchange of value?
undo undo
I will end you, Rabbit
Too much Bud Light instead of Light Bud?
Control Z, Control Z
Sorry Krisp got turned off
All good
His laughter is usually triggered by my potential suffering
And I'm okay with that
It's what a good friendship is based on
or anyone's suffering really, no?
Sounds more like a toxic relationship lol
Someone sell me why we should care?
Only if the person suffering isn't also laughing about it
Possible
I for sure am
its not rtos but 95% of the time u dont need it to be
Some coworkers showed up
That's (open)sus
hullo~
Yeah, a pi3b can do OpenCV no problem, just won't be very fast
In fact the new Pi Camera works really well with opencv
For facial recognition?
If you need 30 fps or less and images that aren't too big, you're golden
The one I have at home struggles at 60 fps, but 30 or lower and it's gucci and realtime
We do it for car detection and what not, but it also works for facial
Car detection
I had an idea for system that would detect unusual license plates by learning normal plates
https://paste.pythondiscord.com/qapekudaba.swift what do you think of my code?
please answer
https://www.digi.com/products/embedded-systems/digi-xbee/cellular-modems/xbee3-cellular-lte-m-nb-iot
uhhhhhhhh, no Rust is gaining popularity a lot
Like Discord itself uses it in its backend
Like to stay it's not used in software is NOT accurate
It's even being incorporated into a linux kernal
Rust is popular now, not in 5 years
Rust is amazing for cryptography and memory safety
Have you done any rust @hollow haven?
nah, I don't have time. But I like to keep up with some of fun languages and especially any language that may get rid of the absolute reliance some stuff have on C/C++
imo its also really good for graphics stuff with wgpu
If your algorithm/architecture design sucks, linting isn't gonna fix your glaring security holes
its mainly not popular cuz wasm cant directly interact with dom
it has to call js for that
Programmers like Low Level because itโs like baking, you get to experiment but businesses donโt like it and would prefer to just grab premade cookie dough
Wasm has security issues as well
Like web proxies canโt easily view it
Security agents at host level canโt scan it easily
Actually regarding WASM, do you have to explicitly tell the browser that you want it to run whatever WASM thing it has?
Havenโt come across WASM yet or didnโt know
Fair
At work, we looked at WASM but we donโt have good use case for it
Yeah that seems to be what I'm seeing
It just isn't bringing a lot more to the table than we can already do
Or even if it can, there isn't a lot of need
Some really large SPA might be able to benefit from it.
Like Google Workspace/Gmail/Sheets
True
And I guess the audit software we have could benefit...
Especially since I had to expand the amount of memory it used
Iโm so confused
Same, honestly
micropython and circuitpython are minified separate versions of python
I have even less idea of what's going on than I did a few minutes ago
I'm very tired
This man is reinventing the whole wheel
With toothpicks
Back in a sec, I'm going to be joining on my phone when I get to the car
anyone got tips on how to get unsupressed?
bc it says to have at least 50 messages but i dont want to spam
In this video I explain how to connect LEDs to a Raspberry Pi's general purpose input-output (GPIO) pins, and how to write Python code to turn them on and off. My next video then builds on this foundation to control a motorized robot, and can be found here: http://youtu.be/AZSiqj0NZgU
This video assumes some knowledge covered in my "Setting Up ...
@rugged root How can i color words in python without using some GUI
Python Tutorial - Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
monter
this is how these things are supposed to look. Use solid copper wires
dream
never happens tho
You just need to have the proper tools and enough patiens
it's much easier to work if your autism can flow freely
@severe pulsar i neeed help with my code
yo

jake - noist mic
jake isnt in the vc?
ok
?
noisy mic
I'm not in vc?
ok
!server
Photopea Online Photo Editor lets you edit photos, apply effects, filters, add text, crop or resize pictures. Do Online Photo Editing in your browser for free!
yo yo
gentlemen
I cant talk
is there any one
who knows SELENIUM?
and wants to give a hand to a young fellow
ok
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@dense ibex i have less than 50 msgs
ok so
the question is
๐ฅ
can I use selenium requests to make POST msgs to the server, than capturing the response, changing it and running it with selenium webdriver?
feature *
No it's not, it is their own website and I can't send you a link... ๐ฆ
Senior Hemlock
you think it is possible?
@dense ibex turn on ac
but how ๐ฆ
you want a snip of code of what I did ?
okay just give me a second
hey
yes?
how will I do it than?
I am using selenium to later on open the website on webdriver selenium
I can't hear, just watching
Art submission bot
well i don't because they agree to me
how can i prove it
xd
hmmmm
I have a presentation where they wrote bug bounty
lol
want a screen shot ๐
ill msg u in dm
Hello ๐
@dense ibex What's that?
So when will you guys add the #user-creations channel?
No, this is for my own use
We're unlikely to bring it back
Ohh
So sad. What happened?
For showing off projects it's better to talk about them in channels or toss them into reddit
But I still cannot find a suitable channel to show off my projects.
@dense ibex You're really good at singing
@wraith marsh
Don't know.
But if you want to talk, type !voiceverify
It is the only command that I can't type because there was one time I pissed up @rugged root by using text-to-speech, so he voice-banned me.
@wraith marsh There's no reason to worry. What's the question you had about dataframes?
oh i cant do the verification now cause i just joined the server
Yeah
i have a dataframe with the first column as 'date' and the second one with values. I have to normalize the values and when i do that it just messes with my date cause i cant do operations with it, obvs. but when i separate the values, do the operations and concat with "date' it doesnt work
oh yes its statistics. basically what u said
i have 25, 26, and i have to get like 0.5 0.7
lmao u guys are funny
this is my data normalized
do you want to change the scale?
Hmm, you should be able to do it and it stays linked with the date...
this is my dataframe. the plot i sent it's from another code but it's what i mean with normalizing, it's between 0 and 1
when i normalize in this code i loose the data
i know it should ๐ญ
actually thats not even the problem, its too hard to describe lol
but thanks tho
thankss @rugged root @rigid linden
loll
We'll be here as you try to figure out how to ask about it. It's one of those tricky things sometimes. Asking questions is a learned skill
correct me if I'm wrong but it seems that you want to change the range and the mean of data
ahahah yess thanks
how old are u guys
like are u in college
im actually not sure
31, and I'm long out of college.... that I dropped out of for mental health reasons
I work at an Accounting Firm as Administrative Support, so I'm not a programmer by trade
hemlock
nicee
unmute ;))
I don't bend the rules
It's just based it on last join date
You're a big boy, you can wait the day and a half
It's not that long if you plan on being on the server for a long time
Just a drop in the bucket
okay
The range should be different for your case
lmao
hmmm imma look into it, thanks
@wraith marsh I'm pretty much here every weekday while I'm at work
I tend to not get on during the weekends
!otn a jake doesn't need more ots
:ok_hand: Added jake-doesnโt-need-more-ots to the names list.
!otn d jake-doesnโt-need-more-ots
Channel name must only consist of alphanumeric characters, minus signs or apostrophes.
!otname delete <name>
Can also use: otname d, otname del, otname remove, otname rm
Removes a off-topic name from the rotation.
just copy from the bot message
Not helping
v-c-o-k-l-t-f-r-e
from os import abort class RecreationalMcNuke "Making an instance will do nothing. deleting an instance will bomb your device. exit the interpreter or use execute to bomb immediately.
!e print((62)**len(RArjha56bGXgzUENXtS8nJ))
@tiny socket :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'RArjha56bGXgzUENXtS8nJ' is not defined
!e print((62)**len('RArjha56bGXgzUENXtS8nJ'))
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
2707803647802660400290261537185326956544
!e print(f"{2707803647802660400290261537185326956544:,}")
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
2,707,803,647,802,660,400,290,261,537,185,326,956,544
.wa short 2707803647802660400290261537185326956544
2707803647802660400290261537185326956544
.wa 2707803647802660400290261537185326956544
!e print(f"{1.234567:.3f}")
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
1.235
Sign up on Patreon to get your donor role and early access to videos!
https://patreon.com/mCoding
Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)
https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
Top patrons and donors:
John M, Laura M, Pieter G, Vahnekie, Sigmanificient
IN THIS VIDEO...
--------...
!e
bacon = "ham"
print(f"{bacon=}")
@rugged root :white_check_mark: Your eval job has completed with return code 0.
bacon='ham'
!e
class LOL:
def __format__(self, spec):
return "a"*__import__("random").randrange(1,16)
print(f"{LOL():h}")
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
aaaaaaaaaaaaaaa
@tiny seal https://markerchun.com/linworks-dolinger-re
Gonna walk my dawg..
Cool. See you afterwards
@haughty niche Your typing is coming through your mic
import sublime
import sublime_plugin
import os
import re
class file_system_inputhandler(sublime_plugin.ListInputHandler):
def __init__(self,files_to_be_listed):
self.files_to_be_listed=files_to_be_listed
def name(self):
return 'name'
def preview(self, arg):
return f'you selected: {arg}'
def list_items(self):
return ['~~']+self.files_to_be_listed
def next_input(self, args):
global file_path
if args['name']=='~~':
if file_path != 'C://Users//Ayoush//AppData//Roaming//Sublime Text//Packages':
file_path=file_path.split('//')
file_path.pop(len(file_path)-1)
file_path='//'.join(file_path)
return file_system_inputhandler(os.listdir(file_path))
else:
return file_system_inputhandler(os.listdir(file_path))
else:
try:
file_path=file_path+'//'+args['name']
iterated_list=os.listdir(file_path)
return file_system_inputhandler(iterated_list)
except NotADirectoryError:
print(file_path,'file is opened')
class file_handlerCommand(sublime_plugin.WindowCommand):
def run(self,name):
global file_path
if name != '~~':
file_opened=file_path.replace('//','/')
self.window.run_command('open_file',{'file': file_opened})
def input(self, args):
global file_path
file_path='C://Users//Ayoush//AppData//Roaming//Sublime Text//Packages'
begin_list=os.listdir(file_path)
return file_system_inputhandler(begin_list)
Gotcha lol
There's also the issue of closed source and fixing stuff
Like, companies won't do stuff unless it gives them profit
That's been a bit of an issue with Unity
Where instead of someone fixing the bug themselves, you'll have to wait for the team to fix it and it's up to them of prioritising it.
Ah sublime person sounds like someone I know irl
A sample of the vast selection of totally useful and not at all pointless how-to guides that can be found on WikiHow.
Thanks to the folks at The F Plus (thefpl.us) and shrinemaiden.org for finding most of these.
Music: The Saracen by The Madeira
hello opal
manage server ig
@brave steppe
are you participating in the code jam @somber heath
oh ok
bye everyone, i am also going to eat
8 teams? that sounds like a lot of people in a team
if not reason:
await ctx.send("Please provide a reason")
return
reason = ' '.join(reason)
await ctx.send(f":warning:{user} has been warned for {reason}.:warning:")
for current_user in report['users']:
if current_user['name'] == user.name:
current_user['reasons'].append(reason)
break
else:
report['users'].append({
'name':user.name,
'reasons': [reason,]
})
with open('reports.json','w+') as f:
json.dump(report,f)```
It might be more or less, I can't remember now
` PY
!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.
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
if member.name in records['users']:
index = [record['name'] for record in records['users']].index(member.name)
records.pop(index)
await ctx.send('removed all warns')
else:
await ctx.send('member has no warns')```
{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}]}
Hey Chris, hey Fred
๐
Hey Chris
yo
async def warn(ctx, user:discord., *reason:str):
if not reason:
await ctx.send("Please provide a reason")
return
reason = ' '.join(reason)
await ctx.send(f":warning:{user} has been warned for {reason}.:warning:")
for current_user in report['users']:
if current_user['name'] == user.name:
current_user['reasons'].append(reason)
break
else:
report['users'].append({
'name':user.name,
'reasons': [reason,]
})
with open('reports.json','w+') as f:
json.dump(report,f)```
I hear you were cycling
Yes was successful
Nice
Will have to ride back to work
What'd you end up getting?
Chick fil a
your write back to the json file at the end will only write this last report to the file
everything else will be wiped out
wait...is report a global?
Good excuse to learn sql as well
True dat
it's not defined in this func
Cheat Sheet / Transcript is Here : http://goo.gl/Z1p50M
Subscribe to Me: http://bit.ly/2FWQZTx
Best MySQL Book : http://goo.gl/zJC254
MY UDEMY COURSES ARE 87.5% OFF TILL June 20th
โบโบ New C++ Programming Bootcamp Series for $9.99 : http://bit.ly/C_Course3 Over 20 Hrs + 52 Videos + Quizzes + Graded Assignments + New Videos Every Month
โบโบ Pytho...
As your bot grows in features you'll probably want to store persistent data. When storing persistent data it's important to do so in the correct way - databases. Remember, JSON is NOT a database, and should NOT be used as one.
Or SQLite
yeee
WOW! Another cool discord.py video :D
Read description for links!
----------------------------------------ยญยญ---------------------------------------ยญ-ยญ--
Need Help?
Require help with your code? Why not head on over to our dedicated support discord where you can receive only the best support: https://menudocs.link/discord
Our Partner:
Thanks t...
Huh, I'd never heard of aiosqlite
yea
there's aiomysql too
does what it says on the tin lol
just async bindings
I figured
Or SQLite built in library
I just didn't realize there was one
Yeah honestly, most times the async part isn't really needed
Queries really don't take that long
@rugged root Opinion?
https://www.upgrad.com/blog/python-projects-ideas-topics-beginners/
Dpends on the query and where the db is
Looking
Esp SQLite, unless storage is godawful slow, it will be really quick
sqlite is just on disk storage, so limited blocking
Sure but disk cache will save you most likely
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
if member.name in records['users']:
index = [record['name'] for record in records['users']].index(member.name)
records.pop(index)
await ctx.send('removed all warns')
else:
await ctx.send('member has no warns')```
for in memory caching
I've never used Sqlite for caching
Try it
I mean, sqlite for db, but theres libs for caching common queries
Also, SQLite has in memory
!projects
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Oh ok gotcha
Sure but remember most OSes keep recently used files in memory so very likely SQLite db is in memory
Yeeeeeeee
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
if member.name in records['users']:
index = [record['name'] for record in records['users']].index(member.name)
records.pop(index)
await ctx.send('removed all warns')```
{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}]}
So it will be soft page fault vs hard page fault
records['users']
[{"name": "DanielIsHot", "reasons": ["Spamming"]}]
DanielIsHot in [{"name": "DanielIsHot", "reasons": ["Spamming"]}]
{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}, {"name": "\ud83d\udc16Kinar\ud83e\udd53", "reasons": ["test"]}]}
{
"users":[
{
"name":"DanielIsHot",
"reasons":[
"Spamming"
]
},
{
"name":"\ud83d\udc16Kinar\ud83e\udd53",
"reasons":[
"test"
]
}
]
}
!e
bacon = {
"Steve": {
"warns": {
"12-12-12": "Was being a prat"
}
},
"Jimmy": {
"warns": {
"10-10-21": "Was rude"
}
}
}
print(bacon)
bacon.pop("Steve")
print(bacon)
Hemlock? Would a youtube dowloader be TOS?
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | {'Steve': {'warns': {'12-12-12': 'Was being a prat'}}, 'Jimmy': {'warns': {'10-10-21': 'Was rude'}}}
002 | {'Jimmy': {'warns': {'10-10-21': 'Was rude'}}}
later guys ๐
Nope
kk
Like itโs against the TOS so canโt discuss
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
I've seen adds on youtube about apps which can be used to download youtube videos ๐
lemme find it
{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}, {"name": "\ud83d\udc16Kinar\ud83e\udd53", "reasons": ["test"]}]}
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
for index, record in enumerate(records['users']):
if record["name"] == member.name:
break
else:
await ctx.send('No users')
return
records.pop(index)
await ctx.send('removed all warns')
I was looking at some projects i can do and saw a YTDL
sorry, what is YTDL ๐ณ ?
async def on_command_error(ctx, error):
if isinstance(error, MissingPermissions):
await ctx.channel.send(f'You dont have permissions to use this command.')```
@client.event
async def on_command_error(ctx, error):
if isinstance(error, MissingPermissions):
await ctx.channel.send(f'You dont have permissions to use this command.')
else:
print(f'Ignoring exception in command {ctx.command}:', file=sys.stderr)
traceback.print_exception(type(error), error, error.__traceback__, file=sys.stderr)
async def on_command_error(self, context, exception):
"""|coro|
The default command error handler provided by the bot.
By default this prints to :data:`sys.stderr` however it could be
overridden to have a different implementation.
This only fires if you do not specify any listeners for command error.
"""
if self.extra_events.get('on_command_error', None):
return
command = context.command
if command and command.has_error_handler():
return
cog = context.cog
if cog and cog.has_error_handler():
return
print(f'Ignoring exception in command {context.command}:', file=sys.stderr)
traceback.print_exception(type(exception), exception, exception.__traceback__, file=sys.stderr)
import traceback
import sys
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 0
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\Admin\Desktop\New bot acc\warn.py", line 53, in warncl
records.pop(index)
KeyError: 0
The above exception was the direct cause of the following exception:```
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
print(records)
for index, record in enumerate(records['users']):
if record["name"] == member.name:
break
else:
await ctx.send('No users')
return
records.pop(index)
await ctx.send('removed all warns')
{'users': [{'name': 'DanielIsHot', 'reasons': ['Spamming']}, {'name': ':pig2:Kinar:bacon:', 'reasons': ['test']}]}
oop sorry about posting right in the middle of that
@commands.command()
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
records = json.load(f)
print(records)
for index, record in enumerate(records['users']):
if record["name"] == member.name:
break
else:
await ctx.send('No users')
return
records.pop(index)
await ctx.send('removed all warns')```
Hemlock?
!e ```py
for item in []:
print(item)
else:
print('nothing')
@brave steppe :white_check_mark: Your eval job has completed with return code 0.
nothing
mr hemlock these tab color
Which of these would be the easyst for a script to login?
!e ```py
for item in enumerate([]):
print(item)
else:
print('nothing')
@brave steppe :white_check_mark: Your eval job has completed with return code 0.
nothing
@rugged root
Man that's clean
the tab highilight color
@hollow yacht: ```py
@commands.command()
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
users = json.load(f)['users']
for index, record in enumerate(users):
if record["name"] == member.name:
break
else:
await ctx.send('No users')
return
users.pop(index)
await ctx.send('removed all warns')
You never use records as a whole, so best to just pick users from the get-go
Can anybody recomend any video tutorials to build a shopping cart website using Django?
with open('file.json', '+') as f:
json_dict = json.load(f)
... do stuff to json_dict ...
f.seek(0)
json.dump(json_dict, f)
this is how you'd keep the file open and write back to it
@rugged root
Well worth the time
No, you're worth the time
!warn @rugged root work softer
:incoming_envelope: :ok_hand: applied warning to @rugged root.
perfect ty
print(*[r.url for r in message.attachements], sep="\n")
Wait so what would be the type hint for this?
not using ORM 
starlette/datastructures.py line 479
class Headers(typing.Mapping[str, str]):```
yea representing headers is hard
because cookies need to appear multiple times
so a normal dict won't work
@dense ibex can you call fetchval directly on a connection pool?
I'm assuming bot.pool is one
Hmmm lemme see
or do you need to do ```py
with self.bot.pool.acquire() as conn:
conn.fetchval( ... )
ScriptKitty
lol
No there's a shortcut for that
no, since I return the database pool in self.pool
You can do self.bot.pool.fetchval
so all I need to do to access it is self.bot.pool
It will grab a connection, execute, and then release it
Yeah soo if you look at this
Yea that's why i was asking lol, since I wasn't sure
(on screenshare)
sus
i downloaded ram on my pc and now it wont turn on someone help @dense ibex
That's what I do in the function
windows 11?
ahh cool
Deltarune
i downloaded ram on my pc and now it wont turn on someone help ASAP
oh god pls no jake
getting that msdos feels
Download free virtual machines to test Microsoft Edge and IE8 to IE11
how about this?
really useful for dev
lol
can anyone help me #help-pretzel
How dare you unfriend me ๐ฆ
i need 50 message
You'll get there
43526
173594
