#voice-chat-text-0
1 messages Β· Page 1013 of 1
oh damn
i just thought str meant string
yea
Create list areas
areas = [11.25, 18.0, 20.0, 10.75, 9.50]
Use append twice to add poolhouse and garage size
areas.append(24.5)
areas.append(15.45)
Print out areas
print(areas)
Reverse the orders of the elements in areas
areas.reverse()
Print out areas
print(areas)
This is another 1 i was working on earlier today
yes i do understand things with a decimals are floats
so things i was getting confused with is when i was using the areas.reverse() i dont think the course helps me understand that
i understand append is adding the 24.5 and the 15.45 to my List
Create list areas
areas = [11.25, 18.0, 20.0, 10.75, 9.50]
Use append twice to add poolhouse and garage size
areas.append(24.5)
areas.append(15.45)
Print out areas
print(areas)
Reverse the orders of the elements in areas
areas.reverse()
Print out areas
print(areas)
[11.25, 18.0, 20.0, 10.75, 9.5, 24.5, 15.45]
[15.45, 24.5, 9.5, 10.75, 20.0, 18.0, 11.25]
!e py a = [1, 2, 3] b = a[::-1] print(a) print(b)
and thats what is gives you when running the code
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 2, 3]
002 | [3, 2, 1]
2,3,1
Im sure i have
i havent used DEF
i dont know what that is
Well
im just following the course and i just started today lol
Oh i didnt know you could change print
like that
So i can change anything to what i want it to be
i can make Cat = print
and everytime cat(5)
ok
well yea
i dont think i would ever lol
π₯°
Ok this 1 was something i dont think i would have ever gotten without a buddy helping me think about something else
YES
i know to start liek my CODE persay is to indent it
yes
Definition of radius
r = 0.43
Import the math package
import math
Calculate C
C = math.pi
Calculate A
A = math.pi
Build printout
print("Circumference: " + str(C))
print("Area: " + str(A))
So this was in the course and they wanted me to import the math.pi and this was the instructions
Import the math package. Now you can access the constant pi with math.pi.
Calculate the circumference of the circle and store it in C.
Calculate the area of the circle and store it in A.
!e ```py
def hello(): #The definition
print("Hello, world.") #and what happe s when called
hello() #The call```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Hello, world.
I guess ok
So
since the hello(): indent print ("Hello, world")
i get it while you explain it
But i think if i was to see this i wouldnt understand the hello() at the bottom calls the top
So kinda see it as the hello() calls anything after the colon
ok
!e ```py
def func(parameter):
print(parameter)
argument = "Hello."
func(argument)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Hello.
Ok reading this makes sense but applying it would probably break my brain lol
THANK U
lol GREAT
Cold night
!e ```py
def func():
return "Hello"
result = func()
print(result)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Hello
def func():
return "Hello"
||result = func()||
print(result)
def func():
return "Hello"
result = func()
print(result)
!e
def hello():
return βhelloβ
print(hello())
No it isnβt confusing I swear
@willow light :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | return βhelloβ
003 | ^
004 | SyntaxError: invalid character 'β' (U+201C)
!e ```py
def func():
pass #What to put when you don't want to put anything but have to put something to give the indentation some code
result = func()
print(result)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
None
Ok so donβt do this on mobile lol
So in this last 1 Seems weird to see result = func() does python just know what result does?
Im sure it does
!e py v = print("Hello, world.") print(v)
how are you writing in her?
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Hello, world.
002 | None
Yea how are you doing this in the discord?
im assuming lol
O know that
I
So if you just wrote v = print("hello world") does it just spit out instantly hello world?
so the only way to call the v = print code is to print =(v)
print(v)
if im asking that correctly lol
Your fine
thanks again for helping
So if you wrote code you wouldnt want None to bring back
yes
Boll is onyl 2 optioons
boool
like yes no and true false but in python True and False is the only thing isnt it?
well boolean is SQL is anything that only has 2 options
β€οΈ Check out Lambda here and sign up for their GPU Cloud: https://lambdalabs.com/papers
π The paper "Hierarchical Text-Conditional Image Generation with CLIP Latents" is available here:
https://openai.com/dall-e-2/
https://www.instagram.com/openaidalle/
β€οΈ Watch these videos in early access on our Patreon page or join us here on YouTube:
- ht...
!e py a = [3, 1, 2] print(a.sort()) print(a)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | None
002 | [1, 2, 3]
both on your phones
!e py a = [3, 1, 2] b = sorted(a) print(a) print(b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | [3, 1, 2]
002 | [1, 2, 3]
!e
a = [4, 5, 3]
print(id(a))
a.sort()
print(a)
print(id(a))
b = sorted(a)
print(b)
print(id(b))
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
001 | 139713258839616
002 | [3, 4, 5]
003 | 139713258839616
004 | [3, 4, 5]
005 | 139713258988672
!e py from random import shuffle a = [*range(10)] print(a) b = shuffle(a) print(a) print(b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
002 | [7, 0, 9, 5, 2, 1, 4, 3, 6, 8]
003 | None
Hey π
!e
a = "Hello"
b = a.upper()
print(a)
print(b)
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
001 | Hello
002 | HELLO
if i remember correctly a=[*range(10)] since there is nothing in front of the *range it just counts to 10? or something like that
!e
a = "Hello"
b = str.upper(a)
print(a)
print(b)β
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
001 | Hello
002 | HELLO
str is a class? and .upper is a method
!e print(str)
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
<class 'str'>
!e print(dir(str))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', 'expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isascii', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'isspace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'partition', 'removeprefix', 'removesuffix', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill']
What should they be called lol
Kinda of lol
I love this. This is what breaks my small little brain.
!e py text = "Apples are nice." result = text.title() print(result) result_two = str.title(text) print(result_two)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Apples Are Nice.
002 | Apples Are Nice.
I guess i need to do some more of my course work and see where i get with it. My brain is a bit on overload. I will for sure be back in here though trying to scope up every little bit of information you guys feed this out of date brain of mine. i want it to be running on an m.2 but its running like a old HDD
yea i think understanding it will be very helpful i thin koverall
overall
Im trying not to
lol
I hope so 1 day
Ok guys thanks so much again
Im going to hit the sack
And go burnout my brain at work tomorrow.
bye
later Aaron
i ma 13
i satred when i was 11
Im just trying to improve my life
Well I'm trying to do something with what I'm learning. hopefully start a new career so I can take care of my family and my 3 year old
Aye Matey
Night everyone
good night
dies
me trying to do it
ohhh ok
got it
lol
can i show u somthing
ok
wiat
opening code
Hey @austere parcel!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
!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.
!code if it fits
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.
Hey @austere parcel!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
^
ohh ok
like this??
its like dumb jarvis
from iron man
huh
i didnt hear you
i k
its typed
thats why its called dumb jarvis
lol
@lavish rover
u know AI-ML and NURALNETWORK??
can u teach me ??
i wanna learn
i will study evrything
ok
Hey Mustafa, want to take this guy's challenge in python-general? #python-discussion message
Currently writing a recursive descent parser π
like a study route?
One stop shop for AI/ML: http://aima.cs.berkeley.edu/
oh thx
Ah yeah π€
free ??
Anyway, I've done the tokeniser π Not sure if that was really necessary.
okk
Yep, I agree with that.
If you want to dip your toes, there are some good free courses out there.
ok
thx
dude
add me
This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory behind graph search algorithms, classification, opt...
thx dude
That course is a follow-on to this one: https://cs50.harvard.edu/x/2022/
i am ready to take challanges
Which is their "intro to AI" course.
ok
computer science??
this one has intro to ai
i am from india
Yep, that one assumes a level of programming ability equivalent to having completed the other course.
ok
Alright, this is what I have so far (haven't tested): https://paste.pythondiscord.com/xerukecawi.py
Red ey? Very interesting π€
Lightsaber π
Why not both? R&R
Oh yeah also a lot of people can't talk because of the voice-gate @ripe lantern
Yeah, you had to voice verify right? π€
Erm, just 50 messages
π
Yeah, I'm a mod π I just choose not to speak.
It's a whole thing
Erm, yeah I feel a bit self-conscious talking on mic.
Ah yeah, you never hear your voice the way others do π
Because like, your voice resonates inside your head or something π€·ββοΈ
π€
In what context?
Drank too much coffee?
Ooh
from parsyc import *
from collections import Counter
from functools import reduce
def multiply(a, *bd):
bstr = "".join(bd)
b = 1 if bstr=="" else int(bstr)
return Counter({k:v*b for k,v in a.items()})
merge = lambda lst: reduce(lambda a,b: a+Counter(b), lst, Counter())
atom = forward(lambda:
Counter @ CharSatisfy(str.isalpha) |
~Char("(") + term + ~Char(")") |
~Char("[") + term + ~Char("]") |
~Char("{") + term + ~Char("}")
)
term = merge @ Many(multiply % (atom + Many(Digit)))
print(term.parse("H2([SO2]2)3"))
ish- it takes the results of the parser and passes it through the function
it creates a "composite" parser so to speak.
if you're familiar with Haskell, it's an Applicative.
Uhh, it's been a while
I see
Very cool
Erm, not particularly π
Kind of average
There is one guy who's sometime in here with a really deep voice.
Sounds like a subwoofer
Yep MAD π
The programmer's motto 
"it'll cause problems later but I'll fix it"
What are you working on btw?
Oh right. As a discord bot?
Nice
Anyway, I gotta go π
Cya guys
@lavish rover
Wtf you know blender scripting?
Just FYI I don't really add people I haven't talked to on here before. Please use the server if you need help with something
Pro
@grizzled geode Hello, you pinged?
Console.ReadKey().KeyChar;
ayy howsitgoin guys
davinder
mustafa
O///O is no one here or my speaker is broken
we dont speak much
xD
me shy >////<
MnM
im deleted
hi
emdt lmao
Hi guys
Help me pls, I want to make it so that the number is raised to a power, how can this be organized?
@forest zodiac :white_check_mark: Your eval job has completed with return code 0.
True
!e
print(2**4)
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
16
fun one
!e
print(bool(False**False))
@lavish rover :white_check_mark: Your eval job has completed with return code 0.
True
a and b are strings. you need to convert them to integers first
you should do int(a) and int(b)
but why is 0 to the power of 0 1
π€
why not
why yes
Chicken Nougat.
Want to be a deity? A hero of yours is totally ready to ignore your wishes.
mistaek-of-creation?
missed creation of steak
not a god anymore π¦
wanna stick around and listen but gtg bye guys π¦
what about this?
the leetcode problem I am working on
ah I see, looks like an interesting one
yesterday someone told me about kd trees
kd-trees are fun
I've implemented a few of them
I didn't know kd trees were a thing
and other spatial partitioning stuff for my renderer
yeah, that makes sense
I also have an itch
There's a cream for that
Check out the #voice-verification channel
That'll tell you what you need to know about our voice gate system
I tend to give it as needed. Conditions are usually if you're helping someone or receiving help, writing or reviewing code, or doing something I consider intersting or beneficial for our users, like teaching about Docker and Kubernetes as an example.
What's the issue you're having with it
and i feel like it would be easiest to stream to someone more compotenet
i kinda want someone to guide me along
since im somewhat a beginner
@lavish rover i wanna learn cpp 20 >w>
if u ever have time hemlock id appreciate ur help
through some of the beginner questions on leetcode
if not, its fine
i know everyone has stuff that theyre busy with
I think it'll be easier if you show us what you're struggling with first so we know what help we'd be giving. Some stuff I might be better at, others might be more in someone else's wheelhouse
well
for the first problems
im given a list and a target
the list contains numbers
ex: [1, 3, 6, 7, 9, 4]
and i have to find the output(s) that reach the target number
ex: 4
output would be [0,1]
i know that I need to for loop it
in order to go down the list
but unsure on how to make a "checker"
to see what inputs reach the target
Sad thing about languages is... it is not a "Survival of the Fittest" game... rather "Survival of the Oldest"
Just crying into your keyboard.
You need to go through the voice gate system.
It's not automatic.
well, if anyone has spare time lmk
I'll look as I can, apologies
bruh
Yep
but i have prople
You can write it out. More often than not, you'll get better or more consistent help by using our help system. See #βο½how-to-get-help for more details on that system
@rugged roothow download the python
You'll want to go to https://python.org and get the installer from there
https://www.youtube.com/watch?v=YYXdXT2l-Gg&t=22s @proper granite
In this Python Beginner Tutorial, we will start with the basics of how to install and setup Python for Mac and Windows. We will also take a look at the interactive prompt, as well as creating and running our first script. Let's get started.
Mac Install: 1:25
Windows Install: 5:44
Installs Complete: 8:37
Watch the full Python Beginner Series he...
You beat me by, without hyperbole, about half a second.
Yeah the Corey Schafer videos are great to get you up and running
thanks
can question you
this server are just python
or all script
such as the C#
Primarily just Python. Typically we only talk/offer help for other languages in the off-topic channels and in here some times
But the help system is specifically for Python
THANKS
π
Happy to help
hello, i need help about pynput
discord.gg/csharp is a csharp server if you're after help with specifically that
my script is listening my mouse click but when i click my mouse is lagging
Can you show your code?
ofc
Does Jon Skeet hang out there? π
#by Lessy
import pynput
from pynput.mouse import Button, Controller
from pynput.mouse import Listener
from pynput.keyboard import Key, Controller
from pynput import keyboard
import pyautogui
import keyboard
import time
mouse = Controller()
def is_clicked(x, y, button, pressed):
if keyboard.is_pressed("l"):
return
elif pressed:
for i in range(1, 2):
pyautogui.keyDown('alt')
time.sleep(1)
pyautogui.keyDown("tab")
time.sleep(1)
pyautogui.keyUp('tab')
time.sleep(1)
pyautogui.click(button='left')
pyautogui.keyDown('alt')
time.sleep(1)
pyautogui.keyDown("tab")
time.sleep(1)
pyautogui.keyUp('tab')
with Listener(on_click=is_clicked) as listener:
listener.join()
Btw, thanks for the ping Charlie π
I misremembered the invite - my apologies
No worries π
@amber raptor try out https://github.com/BurntSushi/ripgrep
its actually much faster than normal grep and is available on windows, linux, mac, bsd, etc
its made in rust
too
exa for ls
fd for find
@whole bear When you say it lags, what do you mean. Is it lagging for like... that number of sleeps or
π fd i've actually tried but for me find and fd seem to be working about the same
i might just not be using it in a recursive enough folder structure to notice difference though
Or do you mean it just can't be executed multiple times quickly
no no not like it
I can't claim that I got too much utility out of it - just giving another example of Rust things
think it like 10 fps
Huh
ah ok ripgrep is actually nice though π i've had times where grep just takes like 10 seconds everytime and ripgrep takes less than a fourth of it
https://www.kernel.com/ 'kernel', they are hiring π
I don't have a lot of experience with PyAutoGUI or pynput. Most of the time if I need a macro like that I use AutoHotKey
also just the fact that you can install ripgrep using cargo even on windows is just nice o- o
Never had issue with Speed
i guess i personally do get a usecase for it every now and then
okay i wanna make macro script. I want to do auto clicker .I mean when i click my script gonna do alt-tab and click then alt-tab again. How can i do that
or when i click to somewhere my script gonna click 500px to the right
So we can use the ahk python library
okay
And that'll let you use Python to write up AutoHotKey program, let it leverage that
Alternatively, we can write the script in AutoHotKeys own script language
Which I find kind of... clunky, but it works
you are right
i am waiting mate ^^
you are asking what i want to do right?
my script is gonna wait for my click
then when i click
i have 2 chance
first one
when i click, my script gonna click my first click 500px to the right
i am so sorry but i do not understand you
can you type if you can
cuz eng is not my main language
@quasi condor also in c# all types are aliases for capitalized versions of themselves from the System namespace that are objects but they are still called primitives as they are the main base datatypes
I'm just needing the steps, like:
- Does this
- Does next thing
Just to make sure I'm writing up the right stuff for the script
oh - so you don't end up with the weird and unnecessary boxing/unboxing you get in Java?
you're interacting with actual objects, not these weird not-object things
then when i click, it is gonna click 500px to the right
like that
or we can do this as well. When i click: My script gonna do alt-tab (i mean will switch to the next tab) and click.Then it will do alt-tab again
@molten pewter crypto coming on
Mint
I got in trouble at the mint because I was walking around too much while looking for the bathroom
Solar Cycle 25 has begun. During a media event on Tuesday, experts from NASA and the National Oceanic and Atmospheric Administration (NOAA) discussed their analysis and predictions about the new solar cycle β and how the coming upswing in space weather will impact our lives and technology on Earth, as well as astronauts in space.
did you try something
Patience
I am sorry. I just wondered :'
All good
So for the script I'm making, the hotkey is going to be CTRL+SHIFT+Leftclick
okay
Track Pad is also liked by content creators because itβs much quieter when recording.
LTT had series of videos on Linux gaming
https://en.wikipedia.org/wiki/List_of_Linux_games Here is a list of Linux games, there are a handful like 0 AD that run better on Linux and are easier to install.
This is a list of specific PC titles. For a list of all PC titles, see List of PC games.The following is a list of games released on the Linux operating system. Games do not have to be exclusive to Linux, but they do have to be natively playable on Linux to be listed here.
Ie. Linux Air Combat is only available on Linux, however, I am sure people on Windows could care less.
Knowledge of cloud technologies including AWS, GCP, Docker, Kubernetes, EMR/Spark or Terraform
? We use Bicep, Azure
@whole bear sorry for the delay
From a job description of a job that interested me, however the technologies they use are sort of a grab bag to me
Finally remembered how to do all that jazz
+^LButton::
{
Send "{Alt Tab}"
Click
Send "{Alt Tab}"
}
``` It's that simple
is that mean when i do CTRL+SHIFT+Leftclick it is gonna alt-tab click and alt-tab again right?
Yep!
Should
Unless I got the button presses wrong, but I think those are right
Free keyboard macro program. Supports hotkeys for keyboard, mouse, and joystick. Can expand abbreviations as you type them (AutoText).
Sure, just have to remove the +^, however the problem there is that it'll happen EVERY time you click
And that means when you try to turn it off
Shoot
.
Oh that yeah
is that easy?
They use docker for code, GCP for something primary AWS and spark for data processing. Kubernetes for hosting
Gotta get the right coords thing
you mean should i explain?
Crap, I have to run back and fix some IT shit
like that
No, I know what you need, I just don't remember how to do the cursor shift off the top of my head
https://www.autohotkey.com/docs/commands/Click.htm You might have to look through the docs for a moment. I can't right now
The Click command clicks a mouse button at the specified coordinates. It can also hold down a mouse button, turn the mouse wheel, or move the mouse.
Based cool kids, obvs
Gotta think of a better name for the lounge
James 
May i intrupt you guys
You may π
Actually I need suggestion which language I should choose
With regards to....
Programming language?
Yup
Java
Rust
For web dev
js or ts
I'm surprised you didn't suggest CoffeeScript
So im confiused
@stuck furnace I shortened my thing a little more:
from parsyc import *
from collections import Counter
from functools import reduce
multiply = lambda a, b=1: Counter({k: v * b for k, v in a.items()})
merge = lambda lst: reduce(Counter.__add__, lst)
atom = forward(lambda:
Counter @ Regex("\w") |
~Char("(") + molecule + ~Char(")") |
~Char("[") + molecule + ~Char("]") |
~Char("{") + molecule + ~Char("}")
)
term = multiply % (atom + Optional(Integer))
molecule = merge @ Many(term)
print(molecule.parse("K4[ON(S{O1}3)2]2"))
The Final Proof of the non-Existence of God was proved by a Babel Fish.
Now, it is such a bizarrely improbable coincidence that anything so mind-bogglingly useful could have evolved purely by chance that some have chosen to see it as the final proof of the NON-existence of God. The argument goes something like this:
"I refuse to prove that I exist," says God, "for proof denies faith, and without faith I am nothing."
"But," says Man, "the Babel fish is a dead giveaway, isn't it? It could not have evolved by chance. It proves that You exist, and so therefore, by Your own arguments, You don't. QED."
"Oh dear," says God, "I hadn't thought of that," and promptly vanishes in a puff of logic.
"Oh, that was easy," says Man, and for an encore goes on to prove that black is white and gets himself killed on the next zebra crossing.
I'm being gaslit by physics 
Ooh Prolog?
Ah right, so it's like a programming paradigms course?
Horn clauses π
Important: If you are looking for ReScript (formerly BuckleScript) installation instructions, please refer to the ReScript website.
Ohh, do you know what you should try out (when you have time)?
Which
WebPPL
It's a probabilistic programming language, built on top of Javascript, I believe.
What did Ward do to you?
Burn ward
What is going on there?
King's day
noice
no.
Poopoo headphones, I'll get my good ones in a sec
Hey GUys
I was trying to right a discord bot today AND i couldnt even follow the video lol\
Made me sad
Uhm
i was trying Nextcord imprt
Want to make a DISCORD BOT for your Discord Server? Want to Learn how to make a Discord Bot in Python?
Well then, in this complete beginners guide, I show you exactly how you can make a Discord Bot for your Discord Server. I go through everything you need to know from how to install Python to how to actually code your Discord Bot. By the end of...
Thats the videp
Sp the first time i made it i got the bot to come online but then but not accepting my slash commands
then i tried again and the bot wouldnt even come online so i just took a break
yea after trying to learn about it all day at work
and work then try more shit at home
Just breaks me after a while.
My Job Title is Transportation System Coordinator
But i work for a food distribution company
and i help the drivers
mostly
and some payroll stuff and kinda maintain the system
Right now im trying to learn a skill i can build on that will increase my salary from what im making to starting at 60+
Well Im 37 and i just really probably started learning python about 2 days
trying to
Not saying i can lol
kinda
LOL
Normally the videos walk you thru how to do 90% of it
A sin tax is an excise tax specifically levied on certain goods deemed harmful to society and individuals, such as alcohol, tobacco, drugs, candies, soft drinks, fast foods, coffee, sugar, gambling, and pornography. In contrast to Pigovian taxes, which are to pay for the damage to society caused by these goods, sin taxes are used to increase the...
so just seeing what it can do usually and just getting familiar with the stuff
My problem is importing the ALL THE Shit that pretty much changes the base
I mean ive taken
2 a datacamp course intro to python and done some stuff on linkedin course todayu
Hell no
I no 0 languages
I love gaming. So i was going to try to make a bot that just did funny shit after i understood it more
Yea im sure i just Jumped in to a shit show lol
Corey Schafer
Welcome to my Channel. This channel is focused on creating tutorials and walkthroughs for software developers, programmers, and engineers. We cover topics for all different skill levels, so whether you are a beginner or have many years of experience, this channel will have something for you.
We've already released a wide variety of videos on to...
You gave him to me yesterday
Np
i watched a couple videos from him
and used the Replit website
a little today
I was on a work PC
so i couldnt download a python app on it
See i love how people say its EZ
And then i just cant do the easiest shit in it sometimes
Yeah, well, helps if your environment is set up.
If it's not and you don't know how to do that, then, yeah.
Im on my home PC now
i downloaded taht for the discord bot
Vscode
i was just trying to follow the video to see how it works But i dont know how to setup the i guess correct location for it to read from
i need to get some rest later guys
def func_a():
...
def func_b():
...
def func_c():
...
alpha = "apple"
if alpha == "apple":
func_a()
elif alpha == "pear":
func_b()
elif alpha == "grape":
func_c()```
```py
def func_a():
...
def func_b():
...
def func_c():
...
thing = "apple"
action = {"apple": func_a,
"pear": func_b,
"grape": func_c}
action[thing]()```
That was a deep sigh π
Hello guys π
I think math is about understanding the fundamental essence of logical structure π€
But idk π€·ββοΈ
Mathematicians try to explain things in the most succinct/parsimonious way.
Do we have a define command π€
.wa define succint
.wa short define succint
Failed to get response.
:C
So according to Google...
succint - Common misspelling of succinct.
There you go π
Ok, actual definition:
Characterized by clear, precise expression in few words; concise and terse.
I could have, but succinct was more succinct.

I hear a cat π
Erm, I'm not sure of the context sorry?
Ah yeah sorry Mustafa, weekends only.
It's ok, it's not really a written rule.
I have an idea: see what completion github copilot gives when you enter finals, semi-finals, quarter finals,

Nightly bad? Perhaps
Odds?
Nope π
I'm actually more of a mathy person than a verbal person.
And then I took a calculus to the knee
Sorry that was stupid π
IMO calculus becomes a lot more intuitive when you actually learn it under the context of using it for something
calc + lin alg started making a lot more sense to me once I started doing computer graphics
Hey Mustafa btw, do you want to learn something new? π
He is not a lion π
Have you dabbled in probabilistic programming?
So like, have you tried logic programming before? E.g. Prolog
Oh right, well it's similar to that in a way π
I believe you could write a renderer using a PPL, although I've just started learning about it myself.
I see
Apparently MCMC is one of the inference algorithms used by WebPPL.
Implements a variety of inference algorithms, including exact inference via enumeration, rejection sampling, Sequential Monte Carlo, Markov Chain Monte Carlo, Hamiltonian Monte Carlo, and inference-as-optimization (e.g. variational inference).
π€
Green
Β―_(γ)_/Β―
OMG some of the gifs that come up when you search "green" πΉ
Honestly, I have no idea
Yellow guy is not so happy ; - ;
This disturbs me.
π t i m e z o n e s π
Yeah sorry, didn't mean to be snarky π
Maybe like change your posture
Fair enough
Consolation prize?
Would you like to livestream your code btw?
Ah right, no pressure π
That's all I think of now when people mention Avatar π
They used papyrus 
Nah the subtitles in Avatar are in the font papyrus, and it was a whole thing.
SNL skit I think
Years after Avatar's release, there's one thing Steven (Ryan Gosling) just can't get over.
#SNL #SNLPremiere #SNL43
Subscribe to SNL:Β https://goo.gl/tUsXwM
Stream Current Full Episodes:Β http://www.nbc.com/saturday-night-live
Watch Past SNL Seasons:Β
Google Play -Β http://bit.ly/SNLGooglePlayΒ
iTunes -Β http://bit.ly/SNLiTunes
Follow SNL Social...
BST
Which I think is UTC+1
π
Wow Mustafa, I am shocked
Alright alright, let's change the subject please 
This is T M I
Nice, so I can have another existential crisis π
That game is basically Existential Crisis - The Game
There's now Existential Crisis - Ultra Deluxe
No not at all, I just got up π
Ready for the day ahead
About 6 am
Yep.
Although I don't think I've ever felt refreshed from taking a nap.
If I was a cat, yes
π±
Oh I didn't know that
Do you think it's addictive?
Wait it can be addictive?
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
10
Erm, I would generally do random.random() < p, where p is the probability.
random.random() is a random number between 0 and 1.
So, if p is 0.2, then random.random() < p with probability 20%.
Erm, I think they're doubles π€
But I think it would depend on how many "bits of entropy" you have.
I guess that would be random.random() < 1E-9
Anyway, going to head off, cya π
Adios
!voice @calm hearth
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Phineas P. Gage (1823β1860) was an American railroad construction foreman remembered for his improbable[B1]:β19β survival of an accident in which a large iron rod was driven completely through his head, destroying much of his brain's left frontal lobe, and for that injury's reported effects on his personality and behavior over the remaining 12 y...
@lavish rover when do you guys start with the thing?
so i can join back at the time
gotta do some work meanwhile
2 hours ish
Someone that can Coding that Wants to help
The help system will be a much better way to get assistance
More eyes on the problems typically
what is that thing?
we're reading how to automate the boring stuff with python and talking about python stuff
ohh, thanks for the answer! reading an article/paper?
A command-line application and Perl library for
reading and writing EXIF, GPS, IPTC, XMP, makernotes and other meta information
in image, audio and video files. For Windows, MacOS, and Unix systems.
@amber raptor, can you tell me if you think this is PowerShell's fault or Rust's fault?
cargo run -p idi -- art kerp-art $(cargo run -qp idi -- art kerp-summary-designs "LS Pallet 22 wk1")
The inner command is returning the series of numbers correctly, but the outer command breaks on "invalid digit". If I copy and paste the numbers in, it works fine...
I'm using Windows PowerShell not Core yet if that matters
No issues using Core if it helps
Can you add the RUST_BACKTRACE?
And I think it might just be how it's parsing it from the file
I don't think it's a powershell issue..... but hmm
might it be the leading space in the string?
Will do
Please hold, the external service is slow
I was wondering that
Powershell, use start-process
Intended for wired home and office networks The Jadaol Cat6 snagless Network Patch Cable offers universal connectivity to computers And network components, such as routers, switch boxes, network printers, network attached storage (NAS) devices, VoIP phones. Jadaol cat 6 patch cables are available...
Dammit PowerShell
It's an environmental variable thing
Yeah
I just forget how to set them in PS
But either way, can you strip out the leading - same - whitespace?
Yeah, I thought so, it does still work with extra spaces
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
dammit
Could this really not be condensed?
impl KerpDesignInfo {
pub fn from_onsite_design_info(
onsite_design_id: String,
onsite_design_title: String,
) -> KerpDesignInfo {
let split_title = onsite_design_title.split(' ').collect::<Vec<&str>>();
let thousand = u32::from_str(onsite_design_id.as_str()).unwrap() / 1000;
let thousand_folder = format!("{thousand}000-{thousand}999", thousand = thousand);
KerpDesignInfo {
onsite_id: onsite_design_id.to_string(),
logo: split_title[0].to_string(),
ground_color: split_title[1].to_string(),
team: split_title[2].to_string(),
gender: split_title.last().unwrap().to_string(),
design: format!("{}{}", split_title[2], split_title[0]),
design_folder: format!(
r#"\\redacted\redacted\graphics\{thousand_folder}\{onsite_design_id}"#,
thousand_folder = thousand_folder,
onsite_design_id = onsite_design_id
),
}
}
}
im on fricking 5000ms on LAN πΏ
@faint ermine sounds like you're crackling again
here
All the numbers get pulled together into one string
@sweet lodge could you just println onsite_design_id?
do println!("'{:?}'", onsite_design_id);
Huh, I didn't know you could print String
you can print most things with the {:?} format pattern
since that uses the Debug trait
which a LOT of things have
also are you not using a IDE with a rust language server?
itis itis itis itis itis itis itis itis itis itis
A fan taser.
'" 97774 97775 97776 97777 97778 97779 97780 97781 97782 97783 97784 97785 97786 97787 97788 97789 97790 97791 97792 97793 97794 97795 97796 97797 97798 97799 97800 97801 97802 97803 97804 97805 97806 9780
7 97808 97809 97810 97811 97812 97813 97814 97815 97816 97817 97818 97819 97820 97821 97822 97823 97824 97825 97826 97827 97828 97829 97830 97831 97832 97833 97834 97835 97836 97837 97838 97839 97840 97841 97842 97843 97844 97845 97846"'
and how is that supposed to be parsed?
thats a few dozen ints, not one
Your face has a dickbutt?
is
let design_numbers: Vec<&str> = matches.values_of("design-number").unwrap().collect();
for design_number in design_numbers {
# ...
let kerp_design_info = KerpDesignInfo::from_onsite_design_info(design_number.to_string(), response_text);
# ...
}
Still pissed this one didn't get accepted
So... Subcommands always add quotes?
Cry tear ear
i think its because the subcommand returns a array, powershell adds the quotes. thats just a guess tho
I think I've seen that one before
Eligible bachelor's degree.
@rugged root , have you seen these: https://www.webtoons.com/en/comedy/adventures-of-god/list?title_no=853&page=1
In this slice of (eternal) life, you'll meet God, visit Heaven and learn that what goes on behind the pearly gates isn't exactly the way the good book describes it. For starters, it's a pretty unhealthy work environment - what with God's ginormous, fragile ego and heavy drinking problem. The good news is that while heaven is a lot less holy tha...
Becky want
some stick
Becky is smashing Ben
Ben is a hoe
"Legitimate accrediting agencies are recognized by the Council on Higher Education Accreditation (CHEA) and/or the U.S. Department of Education (ED)'
Lemme Smash
Follow Me:
Website/Portfolio: http://incept.online
Twitter: https://twitter.com/InceptOfficial
Facebook: https://facebook.com/Incept
Music:
Sudden Fun 6 - Johan Hynynen
Memory Waltz 2 - Patrik Almkvisth
Epic Trailer 04 - Johannes BornlΓΆf
@rugged root Beat me to it. VPN war.
As Republicans grow enamored with Hungary's far-right, autocratic turn under Prime Minister Viktor OrbΓ‘n, Jordan Klepper heads to Budapest to glimpse the potential future of American conservatism. #DailyShow
Subscribe to The Daily Show:
https://www.youtube.com/channel/UCwWhs_6x42TyRM4Wstoq8HA/?sub_confirmation=1
Follow The Daily Show:
Twitter...
best vpn ?
@rugged tundra get on my level
No
latency is how fast packets move, bandwidth is how many packets
if your packages move slower, you have a high latency, and a high ping
higher bandwidth can help with packet loss if reason for packet loss is lack of bandwidth
80 USD
now i get it... thanks!
if you lose packets on the way, your connection re-requests them (if you're using tcp), so they are retransmitted, so it takes longer for everything to arrive
How game company places there server on each country
like they from on place or they plant there servers
for games to each country
Well now I don't have to debug anything
like example as valorant servers
they'll pick a hosting company with many servers
and rent servers in different locations from that one company
Oh!!
Most of them use Big 3 Cloud providers and spin up servers in each of their datacenter
makes accounting simpler
Rocket League uses GCP if I remember correctly
π
use ookla better
holy shit
One question, maybe it can be stupid but just curious, how GTA5 server are not planted anywhere, as we play with players across global. but no delay in ping and all?
how?
There are delays, which are shown by your ping
but in game there is no delay. like even i get high or low, i can play smooth with different country peeps. with no delay and glitch.
ohhh yea it can be that
only delay happens in gta5 when speed issue is there on internet.
Just because there is a delay doesn't mean there's going to be glitches
The internet is generally "fast" enough that the delays are small enough to be not noticable
gotcha now
@sturdy dirge What were you needing?
i'd like to stream screen, with code and help another to learn python or node.js
Typically we only grant it on an as needed basis. There are certain users who do have it permanently, but they are people who were grandfathered in from the old system we had or they're people I've personally vetted.
But normally it's a temporary permission. So just let me know when you need it and we can go from there
oke, i understand
sorry i don't undestand
you need where i'd like to stream screen?
i only share code and help another to undestand
Right, but I have video perms severely locked down after we had people streaming porn and abusing the perms. So I'm hesitant to give it to someone permanently until I get to know them much better
at Live-Coding maybe 1 or 2 hours
Does Ubuntu Server have Python 3.10 yet?
oke
Oh is this a part of the thing Magical is doing?
yeah
what?
that really sad
ok, i have another question can i get role for streaming for 1 or 2 hours?
"You will never have a GUI on a server"
looks at Windows Server
not on Linux Server
Windows is special
my kubernetes nodes are 50GB
VPS is a great option
It was way easier than dual booting
Long live Docker!
docker exec -it container-name sh
I'm always amazed at how high quality DO's guides are
Plenty of them are rubbish
I blame the user
I mean they tell the user to do dumb things. That's on the author
it's goin good man, hbu
yes you can
@lapis hazel you can use the the on_message event
and link that with something you been working on
@lapis hazel π
@lavish rover
def digits(n):
if n > 10:
return [*digits(n//10), n%10]
return [n]
print(digits(123))
[1, 2, 3]
hmm not sure what the point of this is?
@terse needle
def digits(n):
return list(int(i) for i in str(n))
we don't have the leisure of str in asm unfortunately
I was just trying to put together a mock algorithm for separating digits in a number
One of the cleanest ways to cut down a search space when working out point proximity! Mike Pound explains K-Dimension Trees.
EXTRA BITS: https://youtu.be/uP20LhbHFBo
https://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham:...
I wish i could have half the Brain you guys got. Listenting to you guys talk about this stuff makes me feel ill never understand anything you guys are doing lol
I've just been doing it a while! It all comes with practice.
if it makes you feel better, I feel like that most of the time when people are talking about stuff I don't do.
@lavish rover Im not sure it does for all of us like it does u
Its very unfair for me to compare myself to u since ive only done this for this being my 3rd day ever trying just python but ow
well yeah haha that would do it. I've been programming for 6 or so years.
@lavish rover So when can i sign up for some classes with you! lol
"Jack of all trades, master of none, is often times better than a master of one"
I'm always on here, you can ask me stuff anytime
I'm known to just start explaining stuff even when no one asks
Ill wait my 1 more day and i may never leave discord again lol
so i can talk to you and not constantly type
Yep, almost there
Average salary for non-STEM vs STEM graduates post-graduation
I should stop making jokes
why science has "!"
because it's science!
exactly
Trying to find mastic gum that has xylitol in it
Kind of a best of both worlds dental health gum
Especially since I started chewing a lot more gum because of.... what's it called again
Ah, right. Tardive dyskinesia.
Makes me at certain times just start making a chewing motion and I can't stop it. Side effect of years of medications. Will never go away, will only get worse or stay the same
Tis lame
If you can visualise quarternions, 3Blue1Brown has probably done it.
They're supposed to be useful for computer graphics right?
@amber raptor are you still working on your Von Neuman probe game?
Barely
Nothing I can show
@quasi condor @lavish rover what book... is it about cellular automaton?
no no
@lapis hazel that was good! awesome!
Douglas Adams is great
Iβve read Vince Flynn novels about CIA agent going all CIA agent
100% in keeping with my expectations of Rabbit
I hope Spin Launch succeeds π
It's just such a cool concept
I talked about Spinlaunch a few years ago, they wanted to reduce space launch costs by throwing the launch vehicles out of a spinning launcher at hypersonic speeds. I was somewhat skeptical as to the chances of solving the engineering problems inherent in this, but recently they demonstrated a mach 1 launch using their 1/3 scale launcher, so the...
Gotta go π
ΞΞ±ΟΟΞ―ΟΞ± @lapis hazel
https://www.sciencealert.com/time-may-not-exist-according-to-physics-but-that-could-be-okay-for-us/ @lapis hazel
Space Time explores the outer reaches of space, the craziness of astrophysics, the possibilities of sci-fi, and anything else you can think of beyond Planet Earth with our astrophysicist host: Matthew OβDowd.
Check for New Episodes on Wednesday afternoons!
Matt O'Dowd spends his time studying the universe, especially really far-away things lik...
I think... it will not destroy general relativity... just as general relativity didn't destroy, newton's theory of gravity! @lapis hazel
we just did't have complete picture!
Guys does someone know if there is a telegram script/bot that auto sends a set message to a group chat every hour
you can just use shortcuts if you're on iphone
wdym shortcuts
there's an app that comes with iphone called shortcuts
ye
you can do this with that app
Oh
