#voice-chat-text-0
1 messages ยท Page 144 of 1
I'm searching for gem-named languages right now
understandable naming
and another one
scary stuff
well, that counts because diamond
this looks concerning
ew proprietary language
another pearl
I just realised perls aren't gems, so initial qualification of "jewel" was more appropriate
@midnight agate
"seismic event" as a common euphemism
Mark Zuckerberg is CEO of Meta.
SPONSORS:
Please support this podcast by checking out our sponsors:
- Numerai: https://numer.ai/lex
- Shopify: https://shopify.com/lex to get $1 per month trial
- BetterHelp: https://betterhelp.com/lex to get 10% off
EPISODE LINKS:
Mark's Facebook: https://facebook.com/zuck
Mark's Instagram: https://instagram.co...
I'm disappointed by the amount of languages I found
I don't want to actually put effort into it
https://en.wikipedia.org/wiki/Timeline_of_programming_languages
ctrl+f: none (unique language)
wow, APL is one of those
can see that
INTERCAL is there (so bad all previous languages refuse to accept it as their child)
FP, sh, VisiCalc I can see there given their influence
I'm an hour into it. Loving it so far.
Normal ๐ I want to take this in comfortably
class Character:
def __init__(self):
self.stats = {} #list: str-STRENGTH,dex-DEXTERITY,con-CONSTITUTION,int=INTELLIGENCE,wis-WISDOM,cha-CHARISMA
self.skill_stats = {} #list DEX-Acrobatics,WIS-Animal Handling,INT-Arcana,STR-Athletics,CHA-Deception,INT-History,WIS-Insight,CHA-Intimidation,INT-Investigation,WIS-Medicine,INT-Nature,WIS-Perception,CHA-Performance,CHA-Persuasion,INT-Religion-DEX,Sleight of Hand,DEX-Stealth,WIS-Survival
self.name = {}
self.age = {}
self.gender = {}
self.biased_gender = {}
self.inventory = {}
class Player:
def __init__(self, character):
self.character = character
class NPC:
def __init__(self, character):
self.character = character
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yo
@somber heath you just reminded me what i was dreaming earlier today, thank you
im trying to verify but it wont let me
ohhhh
i just joined this server cause i need help with batch download i was wondering if someone could add me on discord and try and help?
possibly @somber heath
its a "batch download scripy" i have it already i just dont know how to use python
i dont even know how to open python
i got python 64 bit
u think i could possibly dm u or call u so i can screen share?
and talk lmao
cause it says i need 50 messages to talk but i just need this tiny help
i tried lmao i dont understand a thing
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Corey Schafer, Youtuber, playlists, Python for beginners.
im just trying to download something off intenet archive but it has a limit to batch downloading so i seached it up on how to get a batch download to download it and it tells me to use this script in python but honestly i dont knoww anything about python
time to learn python ๐
lmao
this exsplains how to do it using python
https://archive.org/details/MST3K-collection this is what im trying to download
ik but i dont understand what a pip is or where im suppost to put the code lmao
o
mayb if i end up getting 50 messages u could possibly teach me if i screenshared?
ohhh lmao
any other server you could recomend?
open command prompt
type in python
then this
py -m ensurepip --upgrade
i think that's what you do anyway
for further info https://pip.pypa.io/en/stable/installation/ ๐
lmao thx guys
ill try and see if i got any nerdy friends that could do it fir me lmaooo
@slow yoke Sorry, that whispered "bullshit" was in response to a video I was watching. ๐
Don't know if it came through or not.
All good! ๐ ๐
Hi
@turbid sandal I can hear every keypress. They are thundering.
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
We had a few birds come down, today. We had a family of magpies, a pair of crested pigeons and a sulfur crested cockatoo.
The criteria for passing the voice gate are linked to in the bot message, above.
The voice verification room.
๐
@slow yoke ๐
@candid peak ๐
โจ Neuro-sama is a VTuber who streams on Twitch.
๐ฅ Her peculiarity is that she is not a person, but a real AI.
๐ Twitch Channel: https://www.twitch.tv/vedal987
๐ Discord: https://www.discord.gg/s9qec46n
๐ YouTube: https://www.youtube.com/user/Vedal987
D...
Plants: Become flavour hot to discourage predators.
Humans: Ooh! Yum! Breeds plants to be ever hotter.
Plants: Am I a joke to you?
And yet birds are unaffected by capcaisin.
The world's spiciest lollipop!
Microwavable popcorn flavored with a super-spicy pepper.
Just wow
brb
These are a lot of fun
hello everyone
Yo
yo I do have speaking permission now
A pickle brine ice pop with electrolytes.
Microwave popcorn with a hint of spice and lime.
Slight mistake in the video, this version is not sung by the Smokey Mountain band, but performed by the San Miguel Master Chorale of 2004. Of course, written non other by the legendary Mr. Ryan Cayabyab!
Enjoy the video and thanks for watching!
Image courtesy of Google search
THE EARWORM MUG!
Get yours here - https://teespring.com/the-earw...
@midnight agate Hi bye
I got merch!
https://www.hoodieguy.shop
Follow these if ya want!
fb: https://www.facebook.com/DanielThrasherOfficial
twitch: https://www.twitch.tv/thrasherplus
insta: danielthrasher
twitta: thrasherdan
second channel: @thrasherplus
LAST VIDEO: When you deflect everything with a joke
https://youtu.be/mpDfgAjWz-Q
When you accidentally wri...
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i guess i need to hit 50 messages in chats
Yep you'll get there naturally by hanging out and talking with us this way
yep!
Work and home, work and home
Man that is an insanely long gif
Yo Elvis
@cedar solar Yo, @odd lynx And yo
Just getting my yos out of the way
nice
Hi @rugged root
How goes it
We have a guy in our Team who keeps complimenting about everything to the point it is annoying and almost condescending. It's like they read some self help book and are over doing it.
Sorry. Just ranting
This my fav song
Tech stack or tech deck? You decide!
God I haven't thought about those in a long time
@whole bear ๐
hello)))
hey guys
Django is very good framework if you wanna get into APIs
@turbid sandal in simple terms ... Imagine
Chef as --> backend
Customer as --> frontend
waiter as -> API
ummm
on second thought ...that is right
hmm
ahhh
daam
that is correct
menu is api
i was deploying my app in testflight ...and apple said Nope ! ;-;
apperently the module i am using for videoplayer is a threat according to him
@glass sky How've you been?
Dead, basically. Too much stuff at work.
also i come to know today that apple did not allow http link , it allow https
why?!
Today we will use SSH in VS code to easily access our server files and also able to upload and download them graphically
How to setup SSH - https://youtu.be/gLL-pWBvxXo
๐Thanks For Watching ๐
๐ตDon't forget to Like ๐, Share โ๐ป& Subscribe๐๐ฝ
Please Support Me ๐
Patreon - https://patreon.com/CreativeJE
Paypal - https://paypal.me/creativeshi
...
Copilot, ChatGPT and other AI models become a threat to hackers. We rely on insecure code, but when all developers moved over to code generated by AI, we will lose our job. We need to act fast!
This video is satire and a joke (1. April)
Join the https://rAIsistance.com now!
Here is the three step plan to secure our future:
- Find coding tu...
sorry
As requested by... a shocking number of folks after the last video, ha.
https://www.youtube.com/watch?v=htjxFdG78M0
The sights and sounds of antique technology. I bought a new ribbon off of Amazon to see if that's the only thing that was needed to bring this old ImageWriter II to life.
This is a fully operational Apple IIgs with a 5 1/4" and 3 1/2" floppy disk drive, color monitor, and ImageWriter II printer. The software running is "The Print Shop" by Brode...
Digital Justice visits LRAD (Long Range Acoustic Device) headquarters to test out its product. LRAD is a communication device used by military, wildlife and law enforcement officials.
Back Orifice 2000 (often shortened to BO2k) is a computer program designed for remote system administration. It enables a user to control a computer running the Microsoft Windows operating system from a remote location. The name is a pun on Microsoft BackOffice Server software.
BO2k debuted on July 10, 1999, at DEF CON 7, a computer security con...
@vernal bridge https://github.com/sebastienros/jint/issues/442
!charinfo ยฌ
!e py import numpy as np arr = np.array([True, False]) print(~arr)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[False True]
Who has popcorn?
Hey
Sheesh
dave
erick
iona
cat
friend
dog
pig
wolf
with open("names.txt", "r") as names:
return_name = names.readlines()
for i in range(len(return_name)):
print(return_name[i])
for name in return_name:
print(name)
can some1 explain why this only prints odd numbers?
for num in range(1,10,2):
print(num)
There's 3 parts of a range(), start, stop, step
When you have the step as 2, that means it'll get the value, move forward twice, get that value, rinse and repeat until it runs out of numbers
So since this one starts at 1, it'll keep scooting forward to the next odd number
move forward twice from 1?
Yep
can i add u incase i have any more problems?
If I'm in voice chat here you can always just @ me. Otherwise it's typically better to use the help system. See the #โ๏ฝhow-to-get-help channel for more details on that
I'm not always available
alr
Need to Know is a regular podcast/vodcast dedicated to the vigorous analysis of news, research, and history related to the #UAP/#UFO issue, encouraging our audience to make informed decisions about their future. We hope you'll subscribe and on-board your interested friends.
This YouTube page is our front line for deploying new material. We also...
Analog computers were the most powerful computers for thousands of years, relegated to obscurity by the digital revolution. This video is sponsored by Brilliant. The first 200 people to sign up via https://brilliant.org/veritasium get 20% off a yearly subscription.
Thanks to Scott Wiedemann for the lego computer instructions โ https://www.youtu...
In 1930s Russia, an engineer set out to solve problems in constructions but ran into trouble when faced with difficult math problems. His solution? A computer that used water to solve differential equations.
@dense ibex https://www.youtube.com/watch?v=BH925m0QKds
Reddit announcement: https://redd.it/1436ufs
Realtime updates: https://github.com/fractureiser-investigation/fractureiser/blob/main/docs/timeline.md
Guide and flowchart: https://github.com/fractureiser-investigation/fractureiser/blob/main/docs/users.md
Detection tool + confirmed infected mods: https://support.curseforge.com/en/support/solution...
The panopticon is a design of institutional building with an inbuilt system of control, originated by the English philosopher and social theorist Jeremy Bentham in the 18th century. The concept is to allow all prisoners of an institution to be observed by a single security guard, without the inmates knowing whether they are being watched.
Altho...
@molten pewter
โStudy after study has show that human behavior changes when we know weโre being watched. Under observation, we act less free, which means we effectively are less free.โ
โ Edward Snowden
Semiotics (also called semiotic studies) is the systematic study of sign processes (semiosis) and meaning making. Semiosis is any activity, conduct, or process that involves signs, where a sign is defined as anything that communicates something, usually called a meaning, to the sign's interpreter. The meaning can be intentional, such as a word u...
hey im having problems with pip installing
What's the issue
py -m pip install python-dotenv
I'm getting out of here early, I'm feeling too shitty
ah ok i found the chat
took me a minute
im new but i like what i hear
hi
yup
well im getting accustomed to the IRC style layout
IRC is old chat medium
yeah
internet relay chat
long ago in a internet far far away we used this talk to people the way discord uses it
yes
right
90's was a time dude
im old yes
44
my frist program was 11
basic programming
yeah but i didn't have ahead of lifestyle to maintain that
i got a book from the library learned basic, went to the local boys and girls club to use their computers
well it was random dots on the screen lol
yeah
lol
no it wasn't terrible
anyhow, my first few programs were just putting dots on the HIRES screen
randomly
HI RES
yeah
anyhow
no it wasn't really hard
the basic language was actually easy
but i wanted to challenge myself a couple of weeks afterwards and decided to make program in basic that gave the day of the week just by imputing your birthday in numbers
C seemed to complicated for me at the time,
but, i ended up doing C by accident at 18 when i picked up doing it with regular use of a computer
IRC was a medium that was used by a client
that client was mainly mIRC with m being the first letter of the name
yeah
mIRC was the thing to use in the 90's
anyhow, i was using irc at 11, used mIRC at 12
irc had a basic connection that you could use but you had to navigate using entry commands..
how the heck do i activate this freaking voice chat
i can hear
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
but not talk
should be able to verify soon
almost sure you already have enough messages + activity blocks
(i.e. now)
yeah this system is so much like IRC in references of hashtags and v+ im betting its server is a irc based conction
connection
what you call a server is what i usta call a room
rooms usta be filled with insane amount of individuals and keeping up with the conversation brought about bots to control it
so check this out, im getting back into it after 34 years python is brand new to me but i got somewhere recently
well mIRC offered scripting
this is the accident i refer too when i said i was learning C by accident
no
just saying learning programming
ive been typing since i was 11
self taught
home row style
all my fingers and thumbs
im typing on a computer
little remembered fact
the name of the inventor of the keyboard is the top row of the keyboard
yeah
fact
look it up
look at your keyboard
my bad im not sure why i had this information but im sure i heard it from somewhere
me too
i know i heard it
yeah my mistake im not sure why i was lead to believe this
i should have checked before i said something but im not sure whats going on with the knowledge..
Any how im now writing some GUI for a Non profit organization that needs a check in system and possibly a check out one... I had one but today i stupidly mistakenly erased my system changing the flavor of Ubuntu to Lubuntu
so thankfully although i did lose my program i wasn't far into it other then the GUI layout i thankfully hadn't started the functionality mainly because my system just wasn't doing well so i decided to start over with a more solid frame
lubuntu provides this
yes
lubuntu is ubuntu Lite
basically all of the function of ubuntu but using a far skimmed down in processing specifically for processing.
processing
yeah they made it so that you get a operating system that can run on older machines
its self yes
but ive been toying with an idea for AI OS
yeah but they're corporate i was thinking of a open sourced one that can eventually take over google
with true individuals who contributed gaining a percentage based off their contribution before launch
when the total code is done through help with the community the internet can finally relax.. i want a system whos purpose is to identify you
eh
its way ahead of my goal haven't even started need to finish what intended to do.
making coffee myself
br
hopefully, no AI in the OS kernel
https://youtube.com/clip/UgkxgSnrkedDekNa1c58u6a9IHw8eXjtH2hw
21 seconds ยท Clipped by Alisa Feistel ยท Original video "Bryan Cantrill on ARC: A Self-Tuning, Low Overhead Replacement Cache [PWL SF] 10/2017" by PapersWeLove
back
AI OS
yesh
i use wireshark
linux
hey
im here
have xbox
oh
you think im on a game system
im on a computer
yeah im using Lubuntu
lol
well you and me both
but its ok its supposed to activate soon
for me
but yet
thanks
:incoming_envelope: :ok_hand: applied timeout to @nova salmon until <t:1686349997:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
hold on bro
im working on it jeeze
guess you couldn't hear me
dosent seem to be casting my voice
you so funny
its sarcasm
ok
it shows that my voice is working though
hmm
brb
Traceback (most recent call last):
File "/home/quantibility/7hillsApp.py", line 1, in <module>
import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'
oh
sorry
Quantibility is my screen name nice to meet you
i see assembly code i thibk
think
isnt your screenshare assembly code
im like hella basic python like 1 and a half years experince
yesyes
me too
literally best thing i can do is build a min and max algrotrhim to find the biggest and smallet number from a CSV file
then write it to a text file the results if i want
idk i use plain python
@lunar haven brb man
damn not sent 50 messages yet
thought i had tbh
gello
what do you do for a job atm
im guessing its packet capture
jsut what you do for job
how come you learning this
what you planning to do
no no i meant like why you doing the quiz
!voiceverify
man im so close to voice
just a few more messages
yes
i cant spam
but i want to
:incoming_envelope: :ok_hand: applied timeout to @muted jungle until <t:1686354580:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
im very sorry for my action it shall not happen again
yes
you right
gytis my man
@stoic spear
you gotta be in voice chat for 10 mins 3 times
then 50 plus messages
.wa boilerplate
.wa standard formulations
.wa standard-formulations
.wa "standard formulations"
.wa standardformulations
Hi guys! How can i get permission to use the voice chat?
test successful
did you eventually solve the AVL thing?
didn't yet rewrite in Rust
(because I'm still figuring out the best way to solve it)
a better solution might involve two stacks
or one stack
I have no idea what I'm trying to do
this one is stackless
class Solution:
def isBalanced(self, root: TreeNode | None) -> bool:
trees = [(root, lambda height: None)]
while trees:
tree, height_callback = trees.pop()
if tree:
def closure():
left, right = tree.left, tree.right
callback = height_callback
def left_callback(left_height):
def right_callback(right_height):
if left_height - right_height in {-1,0,1}:
trees.append((None, lambda _: callback(max(left_height, right_height) + 1)))
return False
else:
return True
trees.append((right, right_callback))
return False
trees.append((left, left_callback))
closure()
else:
if height_callback(0):
return False
return True
... and ugly
i mean doesn't this just take more memory from the closures as opposed to explicit stack lol
yes
but
call stack might be impossible to use for certain trees
ik
root = None
for _ in range(5000):
root = TreeNode(right=root)
it's obviously not a simplest one
I just got it to work
(I didn't care beyond that)
I'm writing a better one now
class Solution:
def isBalanced(self, root: TreeNode | None) -> bool:
stack = [(root, [None])]
while stack:
match stack.pop():
case None, cell:
cell[0] = 0
case TreeNode(left=left, right=right), cell:
cell_left = [None]
cell_right = [None]
stack.append((cell, cell_left, cell_right))
stack.append((left, cell_left))
stack.append((right, cell_right))
case cell, cell_left, cell_right:
height_left = cell_left[0]
height_right = cell_right[0]
if height_left - height_right not in {-1,0,1}:
return False
cell[0] = max(height_left, height_right) + 1
case _:
raise RuntimeError
return True
What is this
non-recursive solution to this
https://leetcode.com/problems/balanced-binary-tree/
cell
like in Rust
enum in Rust
in python there's not much difference
I sometimes do one, sometimes do other variant
leetcode seems to have old rust
in the current version, usize::abs_diff is stable, afaik
k
!stream 500168097852948482
โ @desert wolf can now stream until <t:1686363698:f>.
"very sane optimisation"
turned out to be more difficult
because cell should be a reference not Cell
(whereas cell_left and cell_right are actual Cells)
brb
I think I've slept <6 hours in the past two days
my normal sleep per day is 8~13 hours
3 hours per day is way too little
.wa 39.2 Celsius to Fahrenheit
Portland residents retool pay phones to provide free domestic phone service.
Part public service and part public art, Futel is keeping payphones alive by installing them in public locations and providing free telephone service, telephone-mediated art, and live human interaction. They feel that the constraints of the phone interface spur creativity, pay homage to a generation of creative hackers, and allow them to worm th...
# Python program for implementation of Quicksort Sort
# This implementation utilizes pivot as the last element in the nums list
# It has a pointer to keep track of the elements smaller than the pivot
# At the very end of partition() function, the pointer is swapped with the pivot
# to come up with a "sorted" nums relative to the pivot
# Function to find the partition position
def partition(array, low, high):
# choose the rightmost element as pivot
pivot = array[high]
# pointer for greater element
i = low - 1
# traverse through all elements
# compare each element with pivot
for j in range(low, high):
if array[j] <= pivot:
# If element smaller than pivot is found
# swap it with the greater element pointed by i
i = i + 1
# Swapping element at i with element at j
(array[i], array[j]) = (array[j], array[i])
# Swap the pivot element with the greater element specified by i
(array[i + 1], array[high]) = (array[high], array[i + 1])
# Return the position from where partition is done
return i + 1
# function to perform quicksort
def quickSort(array, low, high):
if low < high:
# Find pivot element such that
# element smaller than pivot are on the left
# element greater than pivot are on the right
pi = partition(array, low, high)
# Recursive call on the left of pivot
quickSort(array, low, pi - 1)
# Recursive call on the right of pivot
quickSort(array, pi + 1, high)
data = [1, 7, 4, 1, 10, 9, -2]
print("Unsorted Array")
print(data)
size = len(data)
quickSort(data, 0, size - 1)
print('Sorted Array in Ascending Order:')
print(data)
lol i got it from a community forum/tutorial website
idk if this is the origin
https://www.geeksforgeeks.org/python-program-for-quicksort/
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
yesss
scary that the google search results for exact match are more than one page long
isn't that common?
the problem is that people blindly copy-paste it
most of the web is just a copied article/stuff
yeah
like, this is so careless and horrible
"if you're doing the wrong thing, at least do it consistently"
please elaborate af im not kinda a pro
every single item has a comment exactly above it
except for quickSort
this is a style issue, but quite a severe one
also, it's pep8 violaton all the way
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
โข PEP 8 document
โข Our PEP 8 song! :notes:
damn you're correect
def partition(array, low, high):
pivot = array[high]
i = low
for j in range(low, high):
if array[j] <= pivot:
array[i], array[j] = array[j], array[i]
i += 1
array[i], array[high] = array[high], array[i]
return i
def quicksort(array, low, high):
if low < high:
pi = partition(array, low, high)
quicksort(array, low, pi - 1)
quicksort(array, pi + 1, high)
same code, just minor changes
ooh
Speedy
This clip has gotten very popular https://youtu.be/C_fpCVtGR6I
Lex Fridman Podcast full episode: https://www.youtube.com/watch?v=Ff4fRgnuFgQ
Please support this podcast by checking out our sponsors:
- Numerai: https://numer.ai/lex
- Shopify: https://shopify.com/lex to get $1 per month trial
- BetterHelp: https://betterhelp.com/lex to get 10% off
GUEST BIO:
Mark Zuckerberg is CEO of Meta.
PODCAST INFO:
Pod...
Will Poulter. Actor: We're the Millers. Will Poulter is an English actor, recognized for his performances as Lee Carter in Son of Rambow (2007), Eustace Scrubb in The Chronicles of Narnia: The Voyage of the Dawn Treader (2010), and Kenny Rossmore in We're the Millers (2013). Will was born in Hammersmith, London, the son of Caroline (Barrah), a n...
@whole bear @whole bear ๐
@reef rock ๐
@dense sedge ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ik, I need to be on for some more days because I was on this server a while ago but when cleening out my discord servers i left this one.
@crimson temple ๐
!voiceverify
hey
@whole bear ๐
Noodles.
Noodles the food ?
As opposed to noodles the...what?
Enjoy your noodles man ๐
Appendages in the vein of the Flying Spaghetti Monster?
Hi
@somber heath Are you a software engineer?
I am just asking if you studied software engineering at uni
But you are a programmer?
I see
Can an industrial engineer be a data analytic?
True true
You mean einestein?
What do you mean by quot ?
Albert Einstein
I see ;))
I am trying to learn data analytic but I feel overwhelmed
Every one is saying learn python at last and SQL and excel before that
What do you think ?
Oh wait are you coding ? @somber heath
I see :))
Yea true
True python is very fun
Python is very useful in general as well
Brb
Are you guys playing Skyrim?
Oh , heard something about modding
Oh I see
Are modders programmers ?
@mint current ๐
dang i have been in this server for months and i still have not gotten over 50 messages
well time to dissapear into the hidden realm ttly
@rugged root Hey i am contemplating about adding a new function to the dictionary class whenever you are free can we have a discussion btw anyone have any idea on how i can do this.
i am talking about editing the c source code to add a new function and recompile it
Subclassing would be more immediately accessible.
You could chat with #c-extensions.
yea that is true i did implement it using subclasses but i think more people could use it in general
oh alr
@whole bear ๐
โ
@meager roost may i ask what you are coding for 7 hours?
I'm dying
๐
๐
everybody got silenced for 20 seconds
@somber heath I know that feeling man
comfort
is he lagging?

py py py py
@echo garden if you don't mind me asking
just a random question
are you an overthinker?
@somber heath I think he's not reading the text messages
can you ask him?
knew it.
๐
yes yes
because according to my observation you've thought 3 times before saying a single word
@remote bridge ๐

?
ah why did you guys go silent
You joined the voice chat. Just letting you know the associated text chat is here. Many people don't spot it. ๐
that's true
@ruby brook ๐
heloo
import time
class OSInstance:
def init(self):
self.mouse_history = []
self.windows = []
def add_mouse_values(self, x, y):
self.mouse_history.append((x, y))
def add_window(self, window_name):
self.windows.append(window_name)
def get_mouse_values(self):
return self.mouse_history
def get_windows(self):
return self.windows
def do_something(self):
# example user task
print("User is doing something...")
time.sleep(5)
print("Task Completed.")
create an instance of the OSInstance class
os_instance = OSInstance()
add mouse values and windows
os_instance.add_mouse_values(100, 200)
os_instance.add_mouse_values(150, 300)
os_instance.add_window("Window 1")
os_instance.add_window("Window 2")
get mouse values and windows
mouse_values = os_instance.get_mouse_values()
windows = os_instance.get_windows()
perform example user task
os_instance.do_something()
!code
ok that's better
import time
class OSInstance:
def __init__(self):
self.mouse_history = []
self.windows = []
def add_mouse_values(self, x, y):
self.mouse_history.append((x, y))
def add_window(self, window_name):
self.windows.append(window_name)
def get_mouse_values(self):
return self.mouse_history
def get_windows(self):
return self.windows
def do_something(self):
# example user task
print("User is doing something...")
time.sleep(5)
print("Task Completed.")
# create an instance of the OSInstance class
os_instance = OSInstance()
# add mouse values and windows
os_instance.add_mouse_values(100, 200)
os_instance.add_mouse_values(150, 300)
os_instance.add_window("Window 1")
os_instance.add_window("Window 2")
# get mouse values and windows
mouse_values = os_instance.get_mouse_values()
windows = os_instance.get_windows()
# perform example user task
os_instance.do_something()
print('Hello world!')
package
time.sleep
!e
import time
class OSInstance:
def __init__(self):
self.mouse_history = []
self.windows = []
def add_mouse_values(self, x, y):
self.mouse_history.append((x, y))
def add_window(self, window_name):
self.windows.append(window_name)
def get_mouse_values(self):
return self.mouse_history
def get_windows(self):
return self.windows
def run_example_task(self):
print("User is doing something...")
time.sleep(5)
print("Task Completed.")
os_instance = OSInstance()
os_instance.add_mouse_values(100, 200)
os_instance.add_mouse_values(150, 300)
os_instance.add_window("Window 1")
os_instance.add_window("Window 2")
mouse_values = os_instance.get_mouse_values()
windows = os_instance.get_windows()
os_instance.run_example_task()
print('finished')
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | User is doing something...
002 | Task Completed.
003 | finished
import os
import subprocess
define the environment variable that specifies the module to send commands through
os.environ['PYTHON_COMMANDS'] = 'subprocess'
define a function that sends all commands through the subprocess module
def send_command(command):
output = subprocess.check_output(command)
return output.decode()
test the environment by sending a command through the send_command function
result = send_command(['ls', '-l'])
print(result)
yea
because someone could be asking what should I import and then it would be like
import os and do this that
@fossil notch ๐
!d pathlib
New in version 3.4.
Source code: Lib/pathlib.py
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.
If youโve never used this module before or just arenโt sure which class is right for your task, Path is most likely what you need. It instantiates a concrete path for the platform the code is running on.
Pure paths are useful in some special cases; for example:
hey anybody else having a hard time getting there mic to work
after the recent update it doesn't work
import os
import subprocess
# define the environment variable that specifies the module to send commands through
os.environ['PYTHON_COMMANDS'] = 'subprocess'
# define a function that sends all commands through the subprocess module
def send_command(command):
output = subprocess.check_output(command)
return output.decode()
# test the environment by sending a command through the send_command function
result = send_command(['ls', '-l'])
print(result)
print('Hello world!')
check you have the correct input device selected
yes definitely it didn't change anything on that end and i messed around alot of them
ya probably
maybe i should just wait until next update lol
hey guys wt does "new" do in cpp?
update doesn't change your inputs?
I mean even if it did
u can set it again
instantiates an object after allocating memory for it, iirc
i will just reinstall like you said that is probably what's gonna work
it works for storing stuff other than pointers too?
thx
you get a pointer to the stored value
that stored value might be almost of any type
missing delete, possibly
markup language is a programming language too
even if it's not imperative
In computer science, declarative programming is a programming paradigmโa style of building the structure and elements of computer programsโthat expresses the logic of a computation without describing its control flow.Many languages that apply this style attempt to minimize or eliminate side effects by describing what the program must accomplish ...
@echo garden what's your definition of programming?
well, then that includes formatting
most of the time, new is supposed be accompanied by delete to free the previously allocated memory
ever seen an internet connection this fast?
5000ms is where it's capped at I think
for simpler handling of it, there's unique_ptr
https://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique
!e
# setup to get more interesting results; ignore this
from os import chdir
chdir('/')
# end of setup
from pathlib import Path
for child in Path.cwd().iterdir():
print(child)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | /home
002 | /usr
003 | /snekbox
004 | /lib64
005 | /lib
006 | /etc
does this code fail?
Code involving dates and times is very often broken. This is partly due to poor APIs on many platforms, and partly due to a lack of awareness on the part of developers. Many developers despair when they think about time zones or different calendar systems, but there's good news: it's not really that bad. Obviously it helps if you're using a dece...
!code
2017: Working with Time is Easy
2018: Dates and times aren't that hard - honestly!
2020: Dates and times: Hard, but not impossible
I wonder what he's going to name the next talk
maybe "working with time is possible but people don't care and the world is doomed"
BASIC pre-VB.NET lacks integration
VB.NET may be used in .NET ecosystem
(to some extent)
!paste
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.
2023: Working with date and time data in .NET
no judgements anymore
no more "easy", "hard", "impossible" in the titles
'''py
crap
import tkinter as tk
from tkinter import *
class Checkbox:
def __init__(self, name, val):
self.name = name
self.val = val
self.var = IntVar(value=val)
def add_checkbox(self):
Checkbutton(window, text=self.name, variable=self.var).pack()
checkboxes_from_backend = [{'name': 'Remember Me', 'value': 1}, {'name': 'Terms and Conditions', 'value': 0}, {'name': 'Privacy Policy', 'value': 1}]
window = tk.Tk()
window.title("7Hills Sign In")
icon_img = PhotoImage(file="/home/quantibility/Desktop/Wrk/Learning/7hillsFlder/SvnHilldata/SvnhilIcon.png")
window.iconphoto(False, icon_img)
checkbox_instances = [Checkbox(item['name'], item['value']) for item in checkboxes_from_backend]
for checkbox in checkbox_instances:
checkbox.add_checkbox()
def add_checkbox():
name = entry.get()
if not name:
return # Do nothing if the entry is empty
val = var.get()
new_checkbox = Checkbox(name, val)
new_checkbox.add_checkbox()
checkbox_instances.append(new_checkbox)
entry.delete(0, END)
def add_checkbox_with_enter_key(event):
add_checkbox()
print('Hello world!')
var = IntVar()
entry = Entry(window)
entry.pack()
Radiobutton(window, text="Checked", variable=var, value=1).pack()
Radiobutton(window, text="Unchecked", variable=var, value=0).pack()
# Adding enter key bind to execute add_checkbox() function
entry.bind('<Return>', add_checkbox_with_enter_key)
Label(window, text="Name").pack()
name_entry = Entry(window)
name_entry.pack()
Label(window, text="First Name").pack()
first_name_entry = Entry(window)
first_name_entry.pack()
Label(window, text="Last Name").pack()
last_name_entry = Entry(window)
last_name_entry.pack()
Label(window, text="Age").pack()
age_spinbox = Spinbox(window, from_=13, to=120)
age_spinbox.pack()
Label(window, text="Gender").pack()
gender = StringVar()
gender.set("Undefined")
gender_dropdown = OptionMenu(window, gender, "Undefined", "Male", "Female", "Non-binary")
gender_dropdown.pack()
Label(window, text="Current Client").pack()
current_client_entry = Entry(window, state="disabled")
current_client_entry.pack()
Label(window, text="Total Clients Placed").pack()
total_clients_entry = Entry(window, state="disabled")
total_clients_entry.pack()
Button(window, text="Add Checkbox", command=add_checkbox).pack()
window.mainloop()
print('Hello world!')
or misunderstanding
@echo garden who/what is the main reader of programs? a computer or a programmer?
who are programs written for?
readability beats "it just works" in the long run
is the vc dead silent
temporarily
@candid canopy ๐
oh that great sound of headphones
pardon?
wha-
I mean
the sound that came from yeah
this guy's mic
Quantibility's
I think
he's new to AI?
name_entry = packed_entry(text="Name")
first_name_entry = packed_entry(text="First Name")
last_name_entry = packed_entry(text="Last Name")
...
current_client_entry = packed_entry(text="Current Client", disabled=True)
total_clients_entry = packed_entry(text="Total Clients Placed", disabled=True)
"writing packed_entry is trivial and is left as an exercise for the reader"
!paste
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
probably better to move entry lower
fr
entry = packed_entry(text="Additional Checkbox Label")
entry.bind('<Return>', add_checkbox_with_enter_key)
Button(window, text="Add Checkbox", command=add_checkbox).pack()
Hey hey hey
you can replace tk.Tk with Tk
if you want to remove import tk
as this is the only place where you use tk
@lunar haven Most popular clip from the podcast https://youtu.be/C_fpCVtGR6I
Lex Fridman Podcast full episode: https://www.youtube.com/watch?v=Ff4fRgnuFgQ
Please support this podcast by checking out our sponsors:
- Numerai: https://numer.ai/lex
- Shopify: https://shopify.com/lex to get $1 per month trial
- BetterHelp: https://betterhelp.com/lex to get 10% off
GUEST BIO:
Mark Zuckerberg is CEO of Meta.
PODCAST INFO:
Pod...
ah that dead silence
I think he brought up a great point of expecting a boom of people entering VR with Meta headsets as a more affordable alternative
Ooo thatโs a cool quote
@echo garden you can add .pack(anchor="w") in Checkbox.add_checkbox so checkboxes are aligned
Happens a lot in programming. More things are abstracted and thereโs less awareness for the deep lower-level concepts with tech
uh-huh did he just lag?
this should still be grouped as one entity
entry = Entry(window)
entry.pack()
entry.bind('<Return>', add_checkbox_with_enter_key)
Button(window, text="Add Checkbox", command=add_checkbox).pack()
at least, spatially
@turbid sandal is sshd running on the host?
do you own the server?
(or is it cloud?)
is sshd configured properly?
if it's setup to use keys, does it have keys setup?
Bryan Cantrill is somewhat known for people listening to him at .75x
I don't speed up any talks/lectures at all
there is absolutely no benefit from doing it
thinking during what you watch/read/listen to is an important part of the process
often, the proper way to learn the material would involve pausing, thinking, etc.
wikipedia fail
af was unavailable at the time when I was claiming the new-style name
already taken, likely
hey guys, does anyone know how to fix this error
what packages are you using?
win32crypt
what command did you use to install it?
pip install pypiwin32, but I think the problem is related to the fact that you need to specify the path in PATH, because this is already assembled code in exe
by default, pyinstaller doesn't bundle the dlls from library/bin directories
can this be fixed somehow? or need use other
packages
though probably, that's not the main issue
do you use win32crypt to interact with Windows services?
or just to encrypt data?
did you face such a problem?
at some point, maybe
there's also "hidden imports" issues
(when pyinstaller doesn't see it)
for both cases
generally, using pyinstaller is a hack rather than a proper packaging solution
should I use an alternative to solve my problem ?
Quantibility's mic scares me more than my nightmares
did the code work without packaging into an exe?
yea
ok yeah I'm defi scared of Quantibility now
I just built the exe both with --onefile and without
worked in both cases
there is a --paths option
how to use it?
ah, btw, did you disable the antivirus?
(pyinstaller and its parts set it off often)
I'll go check
find where the dll (or pyd?) is
add its path using --paths
in some rare cases, this might help
idk if there's a reliable solution
very weird looking error, tbh
it classifies it as an ImportError
so, it's probably pyd not dll
but it does understand that it should open the pyd
pyinstaller seems to unpack the pyd into the temp folder (AppData\Local\Temp)
idk whether or not it classifies missing pyd as ImportError
probably yes
Traceback (most recent call last):
File "avto_config.py", line 7, in <module>
ImportError: DLL load failed while importing win32crypt: The specified module could not be found.
still not found
without antivirus
may I send you the code as text so that you can check it?
line 7 is just import win32crypt, right?
yea
no
this was with venv
idk if it may help in any way
@dire wren ๐
@lunar haven you can use the user volume to turn him down some
he has a pretty voice, reminds me of stephen hawking almost
so wrong lol
lol i think it may be better now, theres some auto modulation settings that i used to have to turn off may can try that
Huh?
yes Fort
Theres some settings that my old mic used to not get along with
its some auto background noise reduction or something
i looked it was echo cancelation and noise suppression in discord settings
one day im going to get my voice i just have to send like 40 more messages lol
lol i heard it...
I have these pills that i take that make mine smell like fresh bake cookies
@lunar haven i think you're on the voice channel most of the day lol
dang! what kinda pc you got?
i wasnt thinking it was in a sexual way until the guy said not in a sexual way lmao
pedo file extension
??
LMAO
im dying
bro wtf is he waffling about!?!?
idk he saying he likes pedo files
The kid is trying to find someone descretly
is pedo a real file extension?
sorry i have to send 50 messages to get to have voice privileges so im just writing w/e
so its 50?
what is he calculating?
idk over my head
same. I skipped high school chem and took physics twice
me af when I was taking my first aid classes online to be a lifeguard
i skipped calculus and then decided to learn neural networks at 30, bad mistake. I'm able now buts its taken me a year
online lifegaurd?
I took online first aid classes to get some certification this company needed for me to be a lifeguard.
OSPF
So like when you run is it all slow motion now like on baywatch?
ok just to clarify, i googled it and unless google isnt aware on its first page of results the only .PDO file is an origami file or some unlikely crap so kid was either messing with us or unaware of what pedofile is'
do you have the hasslehoft hair?
or the pam anderson hair
yeah, its 50 messages
i've deluded myself into thinking I have hasslehoft hair but my 3c curls disagree
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
โข You have sent less than 50 message
screenshot would be easier to read
so @lunar haven i set up a tcp socket and i have it all working but im not recieving a reply from my server like it should be
I actually kinda understand this. I got my CCNA last year
python?
yeah
socket or asyncio?
its my local machine, i use Unreal Engine and im trying to setup a tcp socket to send and recieve float values to be able to use reinforcement learning in a python script and control an agent in Unreal. Im not sure, im not very firmiliar with i assume its socket
"""# Create a socket object
serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host = '127.0.0.1' # Get local machine name
port = 8000 # Use the same port as in the Unreal Engine code
serversocket.bind((host, port))
****"""
.wa help
!code
so, the server is receiving values, right?
Washington, officially the State of Washington, is a state in the Pacific Northwest region of the Western United States.
yes
used to wrap around pipes or boilers or laid in attics to prevent loss of heat
but it the unreal side is using a C++ plugin and as far as i can tell everything is being sent back in the same encoding as it should be, it may be an issue with the Unreal Plugin tbh
Failed to get response.
You've used up your limit for Wolfram|Alpha requests.
Cooldown: 11 hours
You are not authorized to use this command.
Pyramid
roughly a pyramid in the geometric sense. The base of a pyramid can be trilateral, quadrilateral, or of any polygon shape. As such, a pyramid has at least
Great Pyramid of Giza
The Great Pyramid of Giza is the largest Egyptian pyramid and served as the tomb of pharaoh Khufu, who ruled under the Fourth Dynasty of the Old Kingdom
Sorry, we could not find a wikipedia article using that search term.
TTP
Look up TTP in Wiktionary, the free dictionary. TTP may refer to: Tractatus Theologico-Politicus, a book by the philosopher Baruch Spinoza Thrombotic
Terrorist Tactics, Techniques, and Procedures
Tactics, Techniques, and Procedures (TTPs) is an essential concept in terrorism and cyber security studies. The role of TTPs in terrorism analysis is to identify
HTTPS
recommended to use HTTP Strict Transport Security (HSTS) with HTTPS to protect users from man-in-the-middle attacks, especially SSL stripping. HTTPS should not
HTTP
secure variant named HTTPS is used by more than 80% of websites.HTTP/2, published in 2015, provides a more efficient expression of HTTP's semantics "on the
Trivia
three-way intersection). It was introduced into English as the adjective trivial in the 15th and 16th centuries. Modern usage of the term trivia dates back
Trivial Pursuit
Trivial Pursuit is a board game in which winning is determined by a player's ability to answer trivia and popular culture questions. Players move their
You've used up your limit for Wolfram|Alpha requests.
Cooldown: 11 hours
You are not authorized to use this command.
any one layer isn't strictly more challenging than any other
they're sorted by how the authors of it subjectively perceive the average difficulty
idk what they mean by difficulty
but it seems to align with complexity
(lower bound thereof)
easiest problems with hashes are easier than easiest problems with domains
as for hardest problems in each topic, this ordering makes no sense obviously
it's easy to explain what goes wrong when collision happens
md5
sha1
they're still in use
- sha256 isn't proven to be secure
SHA-2
compatibility for SHA-2 SHA-256 Calculator โ SHA-256 Calculator SHA-256 Hash Generator โ SHA256 Generator - Also serves other critical secure hash algorithms
HMAC
algorithm is termed HMAC-X, where X is the hash function used (e.g. HMAC-SHA256 or HMAC-SHA3-512). The cryptographic strength of the HMAC depends upon the cryptographic
it hasn't been proven to be non-secure as far as it's currently publicly know
- there are still ways to misuse it
due to how it's structured, you can attack it
domain-ip ordering is probably the most reasonable
because domain names imply dealing with IPs
if you know sha256(x), you can calculate sha256(x+y) for certain values of y without knowing x
sha256 without extra adjustments, outputs its internal state
which can be resumed
(but this does require knowing the length of x usually)
which, in most cases, is known
TTP
Look up TTP in Wiktionary, the free dictionary. TTP may refer to: Tractatus Theologico-Politicus, a book by the philosopher Baruch Spinoza Thrombotic
Terrorist Tactics, Techniques, and Procedures
Tactics, Techniques, and Procedures (TTPs) is an essential concept in terrorism and cyber security studies. The role of TTPs in terrorism analysis is to identify
re-inventing the security model each week is on the edge of falling into "security by obscurity"
don't make it compilcated. make it right.
- enforcing attackers to adopt new behaviours causes those, who are in charge of making the system secure, do pretty much the same
also, learning new behaviours isn't always the most time-consuming thing
however bad sha1 is, reverse-engineering a system would still probably be easier than reversing the hash
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ok
My bad
ok
@verbal zenith
@turbid sandal https://ivanzuzak.info/noam/webapps/fsm_simulator/ for later ๐
FSM simulator is a Web application for step-by-step visual simulation of finite state machines which are defined with regular expressions.
hey @lunar haven
cant speak rn its 1am
Hows everything going
too much going on in that game
yeah the parrot one
marrying a chinese girl??
Yeah 1 week left and im back
pythonnnnnnnnnnnnnnnnn
1 week of school and im freeeeeeeeeeeeeeee
No lol i havent
unfortunately
Pirate
Dw ill finish it in a day for you
gotta go bye
@undone frost what type of decimal?
what DB?
(yeah, asking about precision and other)
(1, 722, 4, 2028.49, '2019-03-18 00:00:00', 'Clarcona-Ocoee')
Source code: Lib/decimal.py
The decimal module provides support for fast correctly rounded decimal floating point arithmetic. It offers several advantages over the float datatype:
what is the exact type?
this, right?
DECIMAL(something,2)
2028.49 in python is float not decimal, which might be a part of the problem
DECIMAL(6) is DECIMAL(6,0)
@undone frost how are you creating the table?
like
what type does the column have in the sql statement to create it
there's a lot of different decimals, so this should be the first question when figuring out what went wrong
@midnight agate
a subjective perception of relative complexity of these topics
someone's
at least, pain pyramid isn't as ill-informed as food pyramid
* food pyramids
there isn't a single one
there are multiple food pyramids
no one can agree on it because everyone scribbles it to support their point
could someone help me with something ?
id like voice chat
COBOL is the hottest programming language of 2020. Learn how it powers the world's mainframe computers in 100 seconds.
Support this channel by upgrading to a PRO member at https://fireship.io
#cobol #compsci #100SecondsOfCode
COBOL Docs https://en.wikipedia.org/wiki/COBOL
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font
available ways to manipulate:
- delete
like BASIC
there are reasons for line numbering
which were actual in, like, 1950s-1960s
IDENTIFICATION DIVISION. PROGRAM-ID. IDSAMPLE. ENVIRONMENT DIVISION. PROCEDURE DIVISION. DISPLAY 'HELLO WORLD'. STOP RUN.
or as Mark Rendle calls it
IBM has offered COBOL on many platforms, starting with the IBM 1400 series and IBM 7000 series, continuing into the industry-dominant IBM System/360 and IBM System/370 mainframe systems, and then through Power Systems (AIX) and IBM Z (z/OS, z/VSE, z/VSE).
At the height of COBOL usage in the 1960s through 1980s, the IBM COBOL product was the most...
and it's not just an implementation.
just like gcc's C isn't just an implementation of C
how do i get the voice chat? is it messages in all areas or just these voice chat text areas
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
the channel in the bot message tells how messages are counted
IBM extensions are features, syntax rules, or behaviors defined by IBM rather than by the COBOL standards.
Vamp is a system for plugins that extract feature information from audio data.
put it in docker
if a one-hour build step fails, it fails in full, so you get no progress at all
