#voice-chat-text-0
1 messages · Page 560 of 1
yeah trying to component repair power supply is like asking for the grim reaper to take you
@somber heathThankyou, see you again
I know y
!e ```py
try:
raise ValueError
except (ValueError, TypeError):
print("Caught")```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Caught
!e ```py
try:
raise TypeError
except (ValueError, TypeError):
print("Caught")```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Caught
what does raise do
what is a type error
!e int(object)
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [31mint[0m[1;31m(object)[0m
004 | [31m~~~[0m[1;31m^^^^^^^^[0m
005 | [1;35mTypeError[0m: [35mint() argument must be a string, a bytes-like object or a real number, not 'type'[0m
@somber heath i altered it, i didnt fix the print statement yet tho.
a = None
def setValue():
global a
print("Pick number\n")
num=input("Num:\t")
try:
num.isdigit()
a = int(num)
except ValueError:
print("invalid input")
setValue()
print("the number is " + f"{a}")
if you put a letter into the input the print would say None
cuz a = None
by default
id prefer the program to kill its process if the value error happens
removing global a makes the function not write to a
ah whats the better thing to do
@somber heath i used return a lot in C, it tells kernel what the exit code is right?
!e ```py
def foo():
return "Hello, world."
bar = foo() # think: bar = "Hello, world."
print(bar)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
i would replace a = int(num) with return int(num) and delete num.isdigit() ?
@somber heath oh yeah ive done while loops before in bash
break & continue.
yeah there is break and continue
there is also exit
@somber heath my code is horrific but this is my bash
https://github.com/voraciousKobald/dpatch/blob/main/dpatch
@crystal fox i tried to avoid sudo as much as i could but at that point i had to do it, so i put empty var checks
!e ```py
class MyClass:
pass
foo = MyClass()
bar = MyClass()
print(MyClass)
print(foo)
print(bar)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | <class '__main__.MyClass'>
002 | <__main__.MyClass object at 0x7fdde79386e0>
003 | <__main__.MyClass object at 0x7fdde792c690>
@crystal fox yeah in hindsight i realize that, i will prolly fix that later, its a year old script lol.
is the type here pass
!e py print("hEllO, wOrLd") print("hEllO, wOrLd".upper()) print("hEllO, wOrLd".lower()) print("hEllO, wOrLd".title())
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | hEllO, wOrLd
002 | HELLO, WORLD
003 | hello, world
004 | Hello, World
@somber heath am i able to do while true
print("12345".upper())
im assuming is a type error
@somber heath i tried to learn lisp but i couldnt really grasp it really well, havent moved beyond banging shit together until it works in my emacs config
@somber heath lisp has lists, i got stuck on that
!e py my_list = [] print(my_list) my_list.append(123) print(my_list) my_list.append(456) print(my_list)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | []
002 | [123]
003 | [123, 456]
@somber heath hm how do i trigger type error
ah its like how i made an empty variable
@spark owl 👋
.
@somber heath ill admit i zoned out while i was writing code of lists to play with the concept
i was about to post it but it doesnt work sadly
@somber heath i think i zoned out before instances were described, ill be more careful to not go to my text editor this time
!e ```py
class MyClass:
def foo(self):
print("Hello, world.")
instance = MyClass()
instance.foo()```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
instance.foo() prints hello world?
!e ```py
class MyClass:
def init(self):
print("Hello, world.")
instance = MyClass()```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
is this a way to hide function names out of curiosity
!e
a = 0
list = []
while a < 12:
print(a)
a += 2
list.append(a)
else:
print(a)
print(list)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 0
002 | 2
003 | 4
004 | 6
005 | 8
006 | 10
007 | 12
008 | [2, 4, 6, 8, 10, 12]
oh ig i put that in my repl wrong
!e ```py
class MyClass:
def init(self, value):
print(value)
instance = MyClass("Hello, world.")```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
it didnt work in my repl
the start of the esp 🙂
ooo self, value
@somber heath what do you think of my usage of lists
!e ```py
class MyClass:
def foo(self, value):
self.var = value
def bar(self):
print(self.var)
instance = MyClass()
instance.foo(123)
instance.bar()```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
123
ok so self, value will be importing the value function into the object?
so a class can have multiple instances
!e
[print("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or i) for i in range(10)]
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | FizzBuzz
002 | 1
003 | 2
004 | Fizz
005 | 4
006 | Buzz
007 | Fizz
008 | 7
009 | 8
010 | Fizz
how do you like the book so far? would you recomend it?
if you're a lazy sys admin it's the fucking shit.
!e ```py
class Person:
def init(self, name, age):
self.name = name
self.age = age
def greet(self):
print(f"Hello. My name is {self.name} and I am {self.age} years old.")
sally = Person("Sally", 19)
peter = Person("Peter", 17)
peter.greet()
sally.greet()```
@crystal fox btw did you see the funny bug we discovered in the REPL of python 3.13-14
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | Hello. My name is Peter and I am 17 years old.
002 | Hello. My name is Sally and I am 19 years old.
self.name = name
is grabbing name from the instance
right
@somber heath i thought you were talking about coal miners
@somber heath i think i do
lemme try to write a class program
!e py foo = [] bar = [] baz = foo print(foo == bar) print(foo is bar) print(foo is baz)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | True
002 | False
003 | True
@somber heath variables are pointers to the objects in memory but they are not the objects themselves, is that correct recall?
please someone's tell me what fizz buzz is 🥲
!e
foo = []
bar = []
print(foo.__dir__)
print(bar.__dir__)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | <built-in method __dir__ of list object at 0x7f6995a29880>
002 | <built-in method __dir__ of list object at 0x7f69957ead40>
!e
class count:
def __init__(self, num, inc, ceil):
self.num = num
self.inc = inc
self.ceil = ceil
def numincrementer(self):
while self.num < self.ceil:
print(self.num)
self.num += self.inc
else:
print(self.num)
:warning: Your 3.14 eval job has completed with return code 0.
[No output]
@somber heath is this an appropriate class
oh its a question , i thnk it means if a number is divisible by 3 u print fizz if by 5 u print buzz and both u do fizzbuzz
its a cliche relatively simple interview question
!e
class count:
def __init__(self, num, inc, ceil):
self.num = num
self.inc = inc
self.ceil = ceil
def numincrementer(self):
while self.num < self.ceil:
print(self.num)
self.num += self.inc
else:
print(self.num)
c = count(5, 1, 10)
c.numincrementer()
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 5
002 | 6
003 | 7
004 | 8
005 | 9
006 | 10
it's also a fun thing to try and break down to the most simple form
i would like to know more about static methods
well, "simple" form
!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:
PascalCase
is it the same thing where u have caps first letter it means its a
snake_case
class
SCREAMING_SNAKE_CASE
naming constructors with a capital
camelCaseBlah
!e
class NumCount:
def __init__(self, num, inc, ceil):
self.num = num
self.inc = inc
self.ceil = ceil
def numinc(self):
while self.num < self.ceil:
print(self.num)
self.num += self.inc
else:
print(self.num)
c = NumCount(5, 1, 10)
c.numinc()
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 5
002 | 6
003 | 7
004 | 8
005 | 9
006 | 10
@somber heath this better?
i wanna know how can i call a method of a class in another method of same clas , but without a object
or like maybe just call a method without object
!e ```py
class Tally:
def init(self):
self.value = 0
def increment(self):
self.value += 1
def get(self):
return self.value
tally = Tally()
print(tally.get())
tally.increment()
print(tally.get())```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 0
002 | 1
ah so what i did was unsafe
!e
class patterns:
def simple_triangle_pattern():
"""
Purpose: this prints simple triangle that looks like a right angled triangle
"""
for i in range(0, n):
print("*" * (i + 1))
patterns.simple_triangle_pattern(5)
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m10[0m, in [35m<module>[0m
003 | [31mpatterns.simple_triangle_pattern[0m[1;31m(5)[0m
004 | [31m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m[1;31m^^^[0m
005 | [1;35mTypeError[0m: [35mpatterns.simple_triangle_pattern() takes 0 positional arguments but 1 was given[0m
so i would disembowel my class, remove the while loop, and use it outside the class
oh
so instead of a class i make it a module so i have liek pretty functions in oen place
instead of a class
so it has different behaviors you can call upon within the object
so methods without object are modules
!e
n = 5
class patterns:
def simple_triangle_pattern():
"""
Purpose: this prints simple triangle that looks like a right angled triangle
"""
for i in range(0, n):
print("*" * (i + 1))
patterns.simple_triangle_pattern()
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | *
002 | **
003 | ***
004 | ****
005 | *****
@somber heath objects are meant to be integrated into other functions im assuming?
not meant to bake the whole cake
ah so unless i want like factories i need classes but if its just u want reusable functions go with modules
generic vs custom ig
@somber heath do you feed the orphans bottles of gin 
@somber heath sorry i meant to say class not object
oops
are classes meant to integrated into functions instead of baking the whole cake? @somber heath
u write classes in a functin ?!?!?!?
wtf
but u will use them anyways
u cant escape the matri x
@somber heath what are some practical uses for classes
@somber heath you would create an instance of monster for goblins and then turn that into a class?
is it possible to nest classes
@somber heath ah so you wouldnt make a generic monster class
curiosity !
@somber heath ive heard of inheritance, i only vaguely understand it
No — you normally do the opposite.
@somber heath ive never used those
Froge, you see that opal reads all your messages and follows the chat, you don't have to tag him in every sentence
true
!e ```py
class A:
foo = "foo"
class B(A):
pass
print(A.foo)
print(B.foo)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | foo
002 | foo
B inherits A
?
!e ```py
class A:
foo = "foo"
class B(A):
bar = "bar"
print(B.foo)
print(B.bar)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | foo
002 | bar
!e ```py
class A:
foo = "foo"
class B(A):
bar = "bar"
print(B.foo)
print(A.bar)```
:x: Your 3.14 eval job has completed with return code 1.
001 | foo
002 | Traceback (most recent call last):
003 | File [35m"/home/main.py"[0m, line [35m8[0m, in [35m<module>[0m
004 | print([1;31mA.bar[0m)
005 | [1;31m^^^^^[0m
006 | [1;35mAttributeError[0m: [35mtype object 'A' has no attribute 'bar'[0m
!e ```py
class A:
foo = "foo"
bar = "bar"
class B(A):
foo = "FOO"
print(A.foo)
print(A.bar)
print(B.foo)
print(B.bar)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | foo
002 | bar
003 | FOO
004 | bar
!e ```py
class A:
foo = "foo"
bar = "bar"
class B(A):
super().init(foo)
foo = "FOO"
print(A.foo)
print(A.bar)
print(B.foo)
print(B.bar)```
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m5[0m, in [35m<module>[0m
003 | class B(A):
004 | super().__init__(foo)
005 | foo = "FOO"
006 | File [35m"/home/main.py"[0m, line [35m6[0m, in [35mB[0m
007 | [31msuper[0m[1;31m()[0m.__init__(foo)
008 | [31m~~~~~[0m[1;31m^^[0m
009 | [1;35mRuntimeError[0m: [35msuper(): no arguments[0m
but why is dunder doing here
class Parent:
def init(self, name):
self.name = name
class Child(Parent):
def __init__(self, name, age):
super().__init__(name) # Calls Parent's __init__
self.age = age
like this
!e
class Parent:
def __init__(self, name):
self.name = name
class Child(Parent):
def __init__(self, name, age):
super().__init__(name) # Calls Parent's __init__
self.age = age
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m5[0m
002 | class Child(Parent):[1;31m[0m
003 | [1;31m^[0m
004 | [1;35mIndentationError[0m: [35munindent does not match any outer indentation level[0m
!e
var = bytes(range(255))
var = var + 1000```
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m2[0m, in [35m<module>[0m
003 | var = [31mvar [0m[1;31m+[0m[31m 1000[0m
004 | [31m~~~~[0m[1;31m^[0m[31m~~~~~[0m
005 | [1;35mTypeError[0m: [35mcan't concat int to bytes[0m
9 months later:...
bytes is like a string of char but it represent a bytes (collection of 8 bits)
!e
a = bytes("meh","utf-8")
print(a[2])
print(ord("h"))
How do I make a bytes version of the number 1000?
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 104
002 | 104
!e py value = (1000).to_bytes() print(value)
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | value = (1000).to_bytes()
004 | [1;35mOverflowError[0m: [35mint too big to convert[0m
!e py value = (1).to_bytes() print(value)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
b'\x01'
!e py value = (10).to_bytes() print(value)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
b'\n'
cus 1000 is not a a byte
How do I make an array exceed its amount
a byte is a byte
but character can be larger than a byte
Water is made of water
but its really hydrogens and oxygens
yeah but they said "a byte is a character"
that was like saying water is made of ice
!e
print(bytes([255,255,16,1]))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
b'\xff\xff\x10\x01'
like this
Isn’t it? I learned that a character is the minimum amount of memory to allocate for numbers
What does this do? Resize?
a byte is just a byte, you can have the cpu interpret it in any way you want.
you can store a character as a singular bit but that is not ASCII or UTF-8 standard
What if I want to change an array from 64 to 256?
wdym?
More space for typing user input
what????
storing the instructions for rendering the byte would be more complicated, but storing the instructions for calling it can be written as a single bit.
@charred ginkgo wdym user input??? why yo u
this is what you get with a nibble
why you need bytes for that
In computing, a nibble, also spelled nybble to match byte, is a unit of information that is an aggregation of four-bits; half of a byte/octet. The unit is alternatively called nyble, nybl, half-byte or tetrade. In networking or telecommunications, the unit is often called a semi-octet, quadbit, or quartet.
As a nibble can represent sixteen (24) ...
ChatGPT said I need bytes. I didn’t choose that
How do I make a program for taking a password from the user?
i remember making this one, wait ill search where i put it
or you can just enforce your OS to dont echo the input
!d getpass.getpass
getpass.getpass(prompt='Password: ', stream=None, *, echo_char=None)```
Prompt the user for a password without echoing. The user is prompted using the string *prompt*, which defaults to `'Password: '`. On Unix, the prompt is written to the file-like object *stream* using the replace error handler if needed. *stream* defaults to the controlling terminal (`/dev/tty`) or if that is unavailable to `sys.stderr` (this argument is ignored on Windows).
The *echo\_char* argument controls how user input is displayed while typing. If *echo\_char* is `None` (default), input remains hidden. Otherwise, *echo\_char* must be a single printable ASCII character and each typed character is replaced by it. For example, `echo_char='*'` will display asterisks instead of the actual input.
Interesting
i remember making something similar
Like making if-else statements with variables?
what?
For inserting the password
what....
Forget it
i verrified voice and i lost my ears
i mean something like, you hide the thing you type
u dont need voice perm to hear people...
Yeah but I need to open a window if the password matches
ik but my discord gltiched ig
i dont find any word here be relevant on the thing we just talking about...
Maybe you don’t know what I’m thinking about
yeah ofc since im not a mind reader ._.
A typical 4.5-year-old on Piagetian conservation tasks: number, length, liquid, mass, and area. (Captioning provided by the IT Department at Inver Hills Community College, Inver Grove Heights, MN.)
stupid ingrate didnt have the initiative to open a checking account
when they were born
/j
@sharp raft i use it too
and i do stuff in an alpine vm
like emails
@crystal fox shes not scolding him so i wouldnt say its mean
that last one was sad
@crystal fox are these like apartment rats youve tamed?
my braincell was resigning
@crystal fox out of curiosity do lab rats have health issues
always
Original video by Space Captainz on TikTok: https://vm.tiktok.com/ZSJcKsE3w/
"VOTE FOR PETS" 🎟️ TOUR TICKETS 2025 🇦🇺🇪🇺🇬🇧
📍Dates, cities & ticket links at https://thekiffness.com
🇦🇺 Australia (September)
🇪🇺 Europe (October / December)
🇬🇧 UK (December)
👕 The Kiffness Merchandise: https://thekiff...
i figured lab rats would be the worst of all the domestic rats
iirc they are descended from one singular lineage
but i might be wrong
when i say singular lineage i mean i thought they were the hapsburgs of rats
we breed things to give us the lease horrible looking
pugs, borzois
bull terriers
💀
pugs, borzois, and bull terriers are the most cursed dogs weve bred
what is borzois?
Hose goat.
what the
its the let me do it for youuuu
boo
they're discussing pugs and pitbulls
*animal breeding
human have been delete bunch of breed of animals and plants that we just want
hm yes nice firmware
ill have to go now, i am american, so its 6 AM for me @somber heath
class pynput.keyboard.Listener(on_press=None, on_release=None, suppress=False, **kwargs)```
A listener for keyboard events.
Instances of this class can be used as context managers. This is equivalent to the following code...
okay discord bugged out again....
im not making a UI application....
Okay
its a terminal based
@crystal fulcrum 👋
hey !
I did hear you, but getting to the point where I could talk to you before you left took too long.
Meu.
Hey, Osyra.
!paste @crystal fulcrum
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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
???
BIG FONT
e1tab
The Logistic Regression model achieves 81.5% accuracy in predicting customer
churn. The model performs better at identifying customers who will stay
(90% recall) than those who will leave (58% recall). This suggests room for
improvement in detecting at-risk customers, possibly through feature engineering
or trying more complex algorithms.
@crystal fulcrum
I am here
hello open are you here with us???
Directed at Super.
Contribute to e1tab/finalproject development by creating an account on GitHub.
!code
```txt
text
```
into
text```
Please react with ✅ to upload your file(s) to our paste bin, which is more accessible for some users.
Gargantuan.
am i pronouncing it wrong ._.??
Too much time has passed. I don't remember what specifically was said.
endianness
Spelling appears correct.
@stray pewter u trapped someone lol
yes
sorry?
"since when" 😭
a while
you asking too much question lol
._.
that kind of discussion is how youll get banned
<@&831776746206265384>
Ahum what are you doing?
hi
hi
@patent jungle 👋
what are u guys up to ?
Nothing useful.
:c
I know. It's very boring and uninteresting.
not useful != not interesting
True enough.
i mean it depends
@prime beacon 👋
intrest is kinda specific to each person i guess
Hii
hii
Hi hi, @bitter furnace.
hi @bitter furnace
@bitter furnace You might want to mute yourself when you're not talking or turn on push to talk.
@bitter furnace please use krisp or mute yourself, we hear alot of background noice coming from you
What are your projects currently underway?
Avoiding loud people.
😭
Why some people shift vc chat 0 to vc chat 1?🤧
print("just realized this exists")
!e
print("did you now")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
did you now
Well, this is going off the rails
wielmoersleutel
sales these days be like
going on lenovos website is like peering into an alien dimension
where the numbers are made up and the stats don't matter
Why did you die when you entered Live Code Help?
!user
Created: <t:1580002257:R>
Profile: @dense ibex
ID: 670802831678373908
Joined: <t:1609774606:R>
Roles: <@&267630620367257601>, <@&764245844798079016>, <@&764802720779337729>
Messages: 16,825
Activity blocks: 4,052
Total: 4
Active: 0
!user 473859714162360320
You may not use this command on users other than yourself.
@frosty garnet Google didn't "call them out on things Google uses"
they found a bug in a rarely used part of ffmpeg they don't directly depend on
, since ffmpeg is a giant project with mixed levels of seriousness
just recently
the mismatch between the threatening notification and maintenance status of that specific part was the problem iirc
sha-hulud is not really a normal problem
npm is just simpler to use than pip, both from installation side and from making packages side
=> more packages
isnt there a way to check all the vulnerabilities in the dependent packages.... automatically?
i think devops do that...
!mute 1434076469251932221 vc spam
:incoming_envelope: :ok_hand: applied timeout to @cosmic rain until <t:1764441008:f> (1 hour).
go on. i like to keep an eye on this. didn't find an exhaustive resource for preventing the worm
It's an emergent ecosystem issue
Concentration of resources and vulnerability is what gives rise to parasites
In an abstract sense
i understand... i'm looking for exhaustive remediation and prevention docs.
the NPM ecosystem is very full of unaudited code (Vulnerability) as well as as resources (huge amounts of CI and deployment to basically the entire world)
the sheer potential R of an NPM package is multiple orders of magnitude worse than any other platform
@frosty garnet your mic is incredibly quiet btw
I have you turned up but still hard to hear
Basically, it's just an Inevitable
If you have X people in an enclosed space, each potentially cross-pollinating, then it's simply too easy to get compromised
You have to prevent that kind of interaction. You can't have projects with 1000+ rapidly updated dependencies
1000+ never-updated dependencies works. 10 rapidly updated depencies works.
Using the dependencies in an environment absent of secrets works
are you suggesting there is no remidiation recommendation or policy changes to prevent such worms?
Not exactly
I'm saying there's no easy remediation to prevent this class of problem
There are quite a few ways that you can block sha-hulud and similar
I, personally, am not vulnerable
I do not have secrets stored where it looks, and I have strong firewalling that would catch it's exfiltration attempts. But I trade a lot for this, and it's inconvenient to do so, and impractical for people who arent security nuts
Like, think of it like a cold
You can't get rid of the common cold, because it spreads too easily and the people spreading it don't care
Yes, you could pass policy to get rid of it. You separate everyone for six weeks, vaccinate, clean everything, and it dies. It's gone.
And then another shows up later because the problem isn't the virus it's the environment
Python doesn't have this problem because it's dependency foothold is much smaller
To solve this, JS needs either:
- a functional standard library, official or unofficial
- less of a vibe code attitude
- to actually respect security and security controls
less of a vibe code attitude
because of course that's about to happen
Teh standard library will eat away the masses of packages that can be exploited. The vibe code attitude would allow you to protect secrets. And actual security and respect would allow you to install packages without running system-access install scripts, which are the primary vector
considering the path that for instance NX is taking I do not have high hopes
There was a similar malware to sha-hulud that hit actually the minecraft modding community last year
It died very quickly because the distribution platform pulled affected packages and the possible R value was low
A python maintainer has push access to maybe 1-4 packages. And they do not update very often
Javascript, this is minimum double digits, and frequently triple
with frequent updates to bump dependencies and similar
The reality is the JS ecosystem is operating in safety debt
and it needs to stop doing that to not get exploited
But as everyone here realizes, that's a pipe dream
so it's just fucked
I fully expect the solution to this to be "just containerize everything and let the malware run"
100 packages is not 10 times less safe than 10.
The galah (; Eolophus roseicapilla), less commonly known as the pink and grey cockatoo or rose-breasted cockatoo, is an Australian species of cockatoo and the only member of the genus Eolophus. The galah is adapted to a wide variety of modified and unmodified habitats and is one of Australia's most abundant and widespread bird species. The speci...
fancy defaults
The blue jay (Cyanocitta cristata) is a passerine bird in the family Corvidae, native to eastern North America. It lives in most of the eastern and central United States; some eastern populations may be migratory. Resident populations are also in Newfoundland, Canada; breeding populations are found across southern Canada. It breeds in both decid...
Cardinalidae (sometimes referred to as "cardinal-grosbeaks" or simply "cardinals") is a family of New World-endemic passerine birds that consists of cardinals, grosbeaks, and buntings. It also includes several other genera such as the tanager-like Piranga and the warbler-like Granatellus. Membership of this family is not easily defined by a sing...
and the male cardinal
Blue
The meow call of a Gray Catbird. They are called catbirds for a very good reason - their habit of making cat-like meowing sounds!
🔴 New HD videos uploaded weekly. If you enjoy the videos please subscribe, ring the bell to get all channel upload notifications, like, and comment!
Ways to support this Channel:
🔴 PayPal Donation to: mybac...
we have some very common bird locally and we have no idea what exactly it is
@primal shadow https://youtube.com/watch?v=-YEZ8nRJJJg
Birds mating in early spring
https://www.nature-photography.co.uk/
sup chat
nice
idk
@primal shadow outsource everything to insurance corporations
who needs police anymore
waiting for insurance companies to become PMCs
Is that you with the reindeer ?? @peak depot
no
its a cool pic
Kevlin Henney nearly had a breakdown when someone at a conference to "what do you use Fibonacci numbers for?" answered "story points"
gentlepeople
"greetings and salutations"
i stole it from opalmist
is this dutch or asm I geeking
well, it's certainly not english
that would classify as a noodsituatie
im guessing dutch?
#StandWithUkraine #PutinIsaWarCriminal #WorldWithoutDictators
indeed
it looks like drunken german imo
LMAO
awawa
"surprised it's not named deeuutsch, perhaps the language name compensates the vowel excess inside of it"
Help us make our next video by supporting us on Patreon! https://www.patreon.com/survivalguide
Thanks to our Patreons: Marihen Gimenez, Alejandro Cadavid, Grahame B, Harrison Klein, Sander de Wijs, Maya Cohen & Willem Revis for helping us make this one!
Most of the year The Netherlands is a pretty peaceful country. This all changes at the end o...
it's only the anglosphere which calls it dutch
we call it Nederlands
LMAO
"voice gate failed" 💔
@gentle flint the author is on track towards looking like LP

list = []
too much hair
damn these birds are school bullies
Hello everyone 👋
that pigeon is just minding its own business
Any anything we are learning??
Wow that is great buddy!
thanks :D
Im mainly a bio guy but alot of the things I want to do are computer related
somehow forgot polymerase is a thing, my brain just defaults to thinking those are ribosomes
so it makes no sense for me not to learn it 😭 I wish I started earlier
lmaooo polymerasae II is so cool
... I should remember it since it's part of basic biology taught here
u can tell its poly becase its pooping out tRNA
Awnn
Don't feel bad, same here
I thought I could be a science guy, while in school, could be familiar with computer programming, algorithm, python, data analytics etc
you wanna learn a cool programming language
I looked up because ribo__some__ interacting with DNA didn't sound right, since it shouldn't be inside the nucleus
Yes including data science too
ooooo, yeah that one is cool
Im getting into computational finance or whatever its called
so thats super important too
I mean for bio as well, or really anything
this I don't remember at all but we did study it at some point
fintech
thats an RNA base to amino acid chart
basically each codon is 3 bases
either UAGC
I know what it is, I just don't remember at all the contents of the table
... and I also forgot what short name for T is
u see the things that are outside of the bracket? those r amino acids that the RNA codon codes for
I remember it's 5-methyl uracil or something like that
Met signals start
t?
thymine (looked up now)
in DNA
can someone help me with this one
I probably forgot "thymine" exact same moment I learned it's also called "5-methyluracil", and that is just easier to remember given it replaces uracil
the ones labeled stop signal the ribosome to stop running the code
are you using venv?
nope
then start doing that
k nvm i'm using it
i'm
find out which specific packages cause the conflict
how?
what packages do you currently have installed?
in the message doesn't it alr say
one of the two causes for the dep
mediapipe
Right version of protobuf needed
which other thing requires protobuf -- that is unclear
Pip list
oh so should i reinstall the correct version
did you pip install protobuf manually?
or did some other package you installed require it?
while i was installing TensorFlow it came along with it
See if it's there when you do pip list
if you have an option to fully nuke the venv and re-do everything from scratch,
you can try installing everything in one single command
Else do a lower version of tensor and mediap...
so pip sees all the version requirements at once
mm
Older version of tensorf.... is safer
likely lower version of tf because mediapipe is the one requiring older thing
should i reinstall all my latest packages into older ones?
- make a list of all packages you need
Yeah
this is the version i'm using
can I delete everything with pip
so that you can re-install after you re-do the venv
removing the venv in this case would be the way to do this
I didnt use venv...
☹️
also look into this if you have time:
https://docs.astral.sh/uv/getting-started/
uv is an extremely fast Python package and project manager, written in Rust.
ah okey
this defaults to using venv all the time
pip freeze > list.txt
for /f %i in (list.txt) do pip uninstall -y %i
#run this in cmd then
eh, this might do a bit more than necessary
including uninstalling pip itself
which is suboptimal
yeah that wouldnt be good
💀it's tellin me to choose between both of the packages
lol
anyone help me pwease
@heavy zenith
@primal shadow
@vocal basin
@nimble trail
anyone pwease?
IDK
you need
- older
mediapipe
and - older
tensorflow
to be compatible wit what tensorboard wants
it's tellin me to choose one
although maybe tensorboard isn't as strict
your main conflict there is between tf and mediapipe
✂️
it is
look
how are you installing tensorflow?
pip install tensorflow==3.11.2
... why is it 2.20 then
idk
are you specifying which tensorboard version to install?
yea
mediapipe==0.10.3
tensorflow==2.11.0
2.20 too?
nope
3.11?
leeme try it
idk wait leeme check
something not sure what causes an older tensorflow to get installed
nuke venv and reinstall
is it gud for me to stay awake
Bro enjoy your childhood
eh?
I mean sleep if you are tired 😩😴
nah i'm gud
wdym i didn't get it
nah i'm gud
Did it work?
yea finally YIPEE
thx yall for helping me
now i gotta get some sleep
salute to all my commrades
Good night 🌆
🚀
Hi
🗣️ 🗣️ 🗣️
now I have to guess what kind of C++ compiler it expects
none hopefully
I dont know anything Im a beginner, sorry!
hello how are you today @primal shadow
Another lovely day
What we doing @vocal basin @heavy zenith
I'm reading C++23 standard draft
Why I can't speak in VC
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I think I'm hearing only of the two people in the VC
interesting failure case
Who are you not hearing?
it'll be more funny if I don't specify
it's now entirely broken
"biological man" is not a valid phrase
(doesn't really make sense, given biology)
((there are so many separate factors: chromosomes, hormones, anatomy, and they all aren't necessarily lining up))
Light could b cream
don't question others' gender identity, even as a joke
Ohkay
Ig good
virus show
@lavish gazelle Ig they were mocking you in german?
German and Russian are two languages which sounds terrifying
@lavish gazelle
He is Austrian
As far as I know
@somber heath you're in VC fairly early today
🤷♂️
OpalMist was always on vc any time
@drowsy tree 👋
we can just pretend e umlaut is o umlaut, like in Cyrillic
ё
I usually pronounce ö like i in bird, side-effect of о/ё pairing in Cyrillic
that sound
ö has two pronunciations
apparently
seemingly this is more like what it is in Swedish
German ö is apparently like i in bird with NZ accent
how do you type the decorators...
Greek
its builtin on the keyboard?
you mean diacritics?
on-screen keyboards and some other tools have support for that
@somber heath yes
diacritics are separate characters usually
how you type that....
öäüß
how do you type those
that noisy text there is made up from diacritics applied to regular characters
what OS are you on?
qwertz
how do you have different a's
ubuntu
!charinfo öäü
\u00f6 : LATIN SMALL LETTER O WITH DIAERESIS - ö
\u00e4 : LATIN SMALL LETTER A WITH DIAERESIS - ä
\u00fc : LATIN SMALL LETTER U WITH DIAERESIS - ü
\u00f6\u00e4\u00fc
!e
print("\N{latin small letter a with diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
ä
long ahhh descriptor
if you're willing to remember that
diaeresis is a different interpretation of two dots above
diaeresis means pause not sound alteration
coöperative
!e
print("\N{latin small letter i with diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
ï
hör mal
kooperativ
!e
print("a\N{combining diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
ä
:white_check_mark: Your 3.14 eval job has completed with return code 0.
~̈
~̈
!e
print("@\N{combining diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
@̈
@̈
Blech.
#
hho
markdown headers, but don't overuse them
~̈
# lergest
## second to the largest
### 3rd to the largest
!e
print("@\N{Combining Ring Below}")
!e
print("~\N{collon diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
@̥
ugh
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | print([1;31m"~\N{collon diaeresis}"[0m)
003 | [1;31m^^^^^^^^^^^^^^^^^^^^^^^[0m
004 | [1;35mSyntaxError[0m: [35m(unicode error) 'unicodeescape' codec can't decode bytes in position 1-20: unknown Unicode character name[0m
doesn't work
fuck you
:white_check_mark: Your 3.14 eval job has completed with return code 0.
~̃
!e
print(":\N{combining diaeresis}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
:̈
or rather 1 in 2048
because that includes the first guess
1 in 1024 is the probability that all 11 are same
but this instead because each one is guessed individually
"also, sadly, I don't think" [end of sentence]
that time when zeptofine got to know some of what I listen to
this
@somber heath just Australian vegan music
the band are somewhat DxE supporters
@cerulean crow 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
got it
woohoo round number
yes
the standards organisation
I don't really know if Apple wants that to be doable
@heavy zenith quark names?
Not available sorry 😞
those are quark flavours
quarks dont have spin property i know
they do iirc
half per each
@heavy zenith they all have same spin value, it's the charge that differs
hmmm soo atom has spin, electron has spin and the particle that builds the electron has a spin...
it adds up kind of
typical hadrons have half spin because quarks are half spin, and those hadrons have 3 quarks
3+2N quarks, if we account for all the quantum weirdness
(3+N quarks and N antiquarks)
I don't think that's completly correct
im saying if apple dont have ios download dont look for other
gluon is a boson, so it has whole spin
non-half
and those are temporary-ish anyway
We perform the first Lattice calculation about the charmed hadron spin decomposition using overlap fermions on a 2+1 flavor RBC/UKQCD domain-wall gauge configurations at 0.083 fm with 300 MeV pion mass. It is found that the contributions of quark spin to the spin of 1S, 1P charmonia and also proton-like triple heavy quark state are comparable with the expectation of non-relativistic quark model. Such an observation provides evidence that the non-triviality of proton spin decomposition mainly arises from the relativistic effects of the light quark. Conversely, the substantial gluon angular momentum contribution in the spin state with triple heavy quarks at the charm quark mass, remains significant, highlighting the ongoing importance of the gluon in the realm of charmed baryon physics.
the half/non-half specifically is relatively simple-working
(not in its mechanism, in its results)
@faint raven on macOS its easilly doable on iOS its a different topic
infact you can flash other OS on mac device
(3)
waiting for more people to show up lol
yo
pigeons are my favorite
@somber heath do you like pigeons
opal did you know we've been breeding pigeons since the bronze age
its only until the 20th century when we ditched them
yeah for the most part weve ditched pigeons
societally and industrially weve cast them away
they just stick around cuz they adapt to urban environments well
@somber heath USA did similar thing in the 70s iirc, they did successfully put microphones on the pigeons, but unfortunately they kept getting "intercepted" by birds of prey
yeah weve done all kinds of weird shit
like putting nitro glycerin in a fucking cigar lmao
and it failed to kill the target at the time (fidel castro)
i love pigeons
Pidgeons are great
I'm a pass on protonmail though
Multifactor, but it mainly falls on the fact that their security model matches the classic US government controlled project line
@somber heath echidnas are one of the few monotremes left which is unfortunate
oh yeah chat control is disgusting
oh yeah
anything is better than gmail or outlook
I use fastmail, for what that's worth
Yup
the "Save the puppies, kittens, and babies act of 2025"
Inside: a constant march of nazi flags
Google's evil 
right
Screw microsoft for that
right
and tbh
a monstary is probably not the owrst place for that
especially if the monestary accepts taht
Not yet™
The american medical bringing-hell-to-earth coalition is working hard on that
nurse practitioner is a term
Hi👋
New here
It's the latest attempt to work around the legal restrictions on doctors and drop their pay
Nurses have it probably the second worst out of all jobs
Yep
And the US healthcare system is an infinite tax on everyone feeding righ tinto the admins
which of cours eis why this all happened
nothingcould go wrong
is it possible to do two operations in one line? @somber heath
cant wait for the burger reich to fall
yeah in python
like do two prints in one line
!e py print("abc"); print("123")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | abc
002 | 123
name = input("What is your name?\n"
"Name:\t")
print(len(name)); print(name)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 4
002 | test
oh yeah string concatenation
There's really no sane defintion of "operation"
Yeah. You can also split a single print call over several lines
really it doesn't matter. You should choose the option taht's the easiest to understand and code
how do you write a module
im guessing what you mean is if you wanted to print the entirety of shakespeare on the screen, you wouldnt write it inside the python file, you would store it in plaintext and import some modules for reading text files?
oh nice
As opal said, but you've got it pretty correct
i thought python needed an imported function for reading files
and honestly I find myself leaning towards pathlib fro that stuff anyway because usually it's not just one file

