#ot1-perplexing-regexing
1 messages Β· Page 189 of 1
the latter
{
health_records: [
{
some_key: some_data
},
{
some_key: some_data
}
]
}
In these cases, it might be helpful to have some state to your files while they are uploaded but not validated
correct
(could also be validated for having sent json and not a random jpg, or that there is no virus)
and that's why there is an ingress bucket
it's where the files are uploaded before they are validated and transformed
makes sense
There might be some improvements that I don't know you could make without making the system more costly (idk what features s3 has to prevent this off the top of my head), but I don't want to get sidetracked on a side detail from the infra question you were trying to work on
go on
Referring to tags?
the infrastructure is a work in progress
- Read file headers to determine what type of file it is
- capturing file hashes to prevent re-uploads
otherwise you have to read the entire file and expect certain characters specifically (basically check if it JSON decodes fine in Python prior to adding it to the S3 bucket)
Hence why I said I don't know if s3 can help with that
we were talking about this the other day
umm
about whether to pass the file through the backend to the s3
cause i was worried about firewall
you and I were?
(my memory is still dogshit, sorry)
no no, recursive and I
Wdym?
well, the s3 didnt have a load balancer at first, the client couldnt just upload directly to s3
the file will have to pass through the backend
Right, which exposes some risk there
elaborate?
Your backend is written in Python, yeah?
yea
you can still read specific range of bytes in S3
it wouldn't impact sending files directly to S3
hmmm, you would need some kind of client side file size and hash calculation to prevent uploading the same file again
I would keep deduping for a V2 tbh
elaborate?
- I upload malicious file #1
- you read file (using flask) to disk
- OS scans malicious file
- OS (inherently) may run malicious file
- oopsies, file comprise system because it was actually bash (or contained an escape character that registers as JSON to Python but as a proper line segment to bash...which there's like 2 unicode characters that I think can do something like that)
Get something first before adding fancy things. Deduping is cool, but not a blocker to having something working or presentable in an interview
well, it's working now
but yes, im just working on an MVP
okay, let's go v2
there are other parts of the mvp im still working on
if you read the file to memory
wait no
it's going to be too big
Reading it into memory reduces some overhead, but if the file is gigabytes in size.. you're back at square 1 (filesize limitations)
the permissions will have to be set correctly
(same idea if you implement it yourself though)
Set by the process running your backend
Which OS doing malware/antivirus scans may have elevated access too
this is not emulated in localstack
The easiest way out of it is to check file headers as part of an MVP, and acknowledge the risk being taken on of malicious escape characters.
Iirc flask has a filter to remove escape sequences, but that requires reading in a file/document at some point (to memory)
hmmm
ok, im going to go off first
and think about it thoroughly
my bet is on spinning up a separate pod for this
You could do it in a docker container, but that would just limit the damage/harm being done I think
you could still do something fun with some processes that get notified of the upload, and then tag/update the state
Isn't that what zehata is doing with the Redis server?
i mean... if you are accounting for the docker escape at that point it's beyond what i can do
Let's acknowledge the early risk, worry about it later then π
MVP first, problems later
I don't think she has expanded completely on the transformation part
wdym? What part do you feel like you're missing?
i think this will be more clear once i push the transformation logic
let's keep it for later
is docker escape that common?
In the wild? Not as common. It's out there, but they get patched pretty quickly
yea
As long as you're not running a privileged container, it's pretty difficult to do anything damaging lol
it's definitely a risk, but i think it's probably low probability
CVSS is 7.8+, but it's usually due to bad configs more than anything
it looks like openshift has some functionality for virus scanning
depends on your threat model
which is the real environment this is going to be in
if you want to explicitly scan for malware, there are specialized stuff like gvisor and a bunch of others
it's all good discussion points im noting down
Yeah, as long as they don't end up with an exploit that gets used in that process, it's worth a shot. Potentially slow down ingestion time, but it's a possibility for preventing issues
i don't think the ingestion speed is that big of a matter for me
networking is not actually my problem
all i really need to know is to show some understanding
diagrams are worth a thousand words
i have yet to update it
ββββββββββββββ ββββββββββββββ
β βββ¬ββββFilesβββββΊ β
β API Client β β β Ingress S3 β
β βββΌβββ β β
ββββββββ²ββββββ β β ββββ¬βββββ¬βββββ
β β β β β
β β β Files β
β β β Created β ββββββββββββββββ
β β β β β β Unstructured β
β β β βββΌββ β β Data β
β β β Presigned βSNSβFiles βββΊ Database β
βββββββββΌβββΌβββURLsβββ βββ¬ββ β β ββββββββββββββββ
β β β + β β β β
ββββββΌββββββ β β Data βββββΌβββββΌββ β ββββββββββββββββ
β βββ β ββ€ βββ β Structured β
β Frontend β β β Backend βββββΊ Data β
β ββββββ΄RequestsβββΊ β β Database β
ββββββββββββ βββββββββββ ββββββββββββββββ
this was before redis came into cluster
Mermaid chart π
later when i actually get the cluster architecture down
...fineeeee
there are still things that are vague and handwavy now
I mean, that's part of what mermaid charts are for but it's mostly a convenience thing I've picked up since being at MS
alright alright
But ig your design would be fine since you can get really deep in the woods with diagrams.. https://mermaid.js.org/intro/
Create diagrams and visualizations using text and code.
Ex. I did a thing against how I think Rivian's systems work for Apple Music - https://github.com/CoreTree/Notes/blob/main/Rivian/rivian-protocol.md
that's pretty cool
yeah, you'd probably find use from the FlowChart for this one the most, but it wouldn't look quite as good imo
It just makes things easier to do in general
late night chat here β late night chat here π€‘ π
based
help what foundations of math should I learn to solve all first year maths
any body tell me what this code work print(x:='hello world')
You may only need sum of them.
If x can be achieved with multiple option type of method y and z
There isnt any point of learning both y and z, if z method are obselete
Unless if neither both y and z are obelet, but rather they are have different trade off
Your question is malformed. Are you asking what := does?
yes
Thats walrus
The := operator both assigns and returns.
ohh yes bro
It is called walrus
!e py print(a := 123) print(a)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 123
002 | 123
a := 123 is an expression, evaluating to a single object.
123
But it also assigns, i.e it also does a = 123
It takes the value and assign it to a and return the a with the assigned value
Idk whats object
Im not python
So```py
print(a := 123)
becomes like
print(123)
a = 123```
Broadly, everything that isn't purely syntax in Python is in some way an object. 123 is an object. "abc" is an object. [123, "abc"] is n object. An object is a package of data that lives in memory and it has attached functionality to allow you to safely interact with thay data. Whenever we're using Python, we're invoking that functionality.
Every object has a type, a class. The class governs the creation and structure of the data and what attached functionality exists for objects of that type.
123 is anobject of type int.
"abc" is an object of type str
4+7j is an object of type complex.
[123, 456] is an object of type list
String objects, for example, have attached functionality which allows us to ask those objects to provide us with uppercased and lowercased versions of those objects.
!e py print("aBc".upper()) print("aBc".lower())
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | ABC
002 | abc
The str.upper and str.lower methods, as they are called.
Functionalities attached to objects for interacting safely with the data of those objects.
Thus, not all objects have methods by these names, and even if they did, they could do something else entirely.
But all instances of str do in this case.
What are magic functions like this and mathematical operators
Magic methods, also known as dunder methods and more officially as special methods, are the methods which are called when specific Python syntaxes are used. For example...
!e ```py
class MyClass:
def init(self):
print(f"Hello, world. I am {self}.")
a = MyClass()
print(a)
b = MyClass()
print(b)```The __init__ method is automagically called when an instance of a class is created.
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | Hello, world. I am <__main__.MyClass object at 0x7f6fc0ecc6e0>.
002 | <__main__.MyClass object at 0x7f6fc0ecc6e0>
003 | Hello, world. I am <__main__.MyClass object at 0x7f6fc0ec4550>.
004 | <__main__.MyClass object at 0x7f6fc0ec4550>
It is also capable of being written with parameters, such that data may be provided to this method.
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | first
002 | second
Is there something like this for every oop language?
I expect so, but I can only speak to Python.
!e ```py
class MyClass:
def add(self, _):
return 9001
instance = MyClass()
print(instance + "abc")```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
9001
What about things like 1 + 1? I assume + is a dunder function but it has funny syntax and no double underscore
Here, _ is being assigned to "abc", but since I don't use it, that is why I have used _ as the name.
Oh so all the base classes have this function built in already
No.
or method
!e py print(object() + 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 | print([31mobject() [0m[1;31m+[0m[31m object()[0m)
004 | [31m~~~~~~~~~[0m[1;31m^[0m[31m~~~~~~~~~[0m
005 | [1;35mTypeError[0m: [35munsupported operand type(s) for +: 'object' and 'object'[0m
So 1 + 1 doesn't translate to 1.__add__(1)?
Classes that implement it, as well as their subclasses, do.
!e py result = (1).__add__(1) print(result)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
2
:white_check_mark: Your 3.14 eval job has completed with return code 0.
2
- may instead invoke
__radd__depending on the objects and available methods.
So the class determines its own behaviour when .added?
The class governs the behaviour of objects which have it as their type.
lists are governed by list
strings are governed by str
Wait so a + b could be different from b + a
Yes.
What would a + b + c be in function notation?
So it would evaluate a + b then that returned value + c
It's something like that.
In part.
It depends on the operators.
It's like PEMDAS but for Python.
Though my introdyction to the concept in school was BODMAS.
Remember that you needn't calculate all components of an equation on one line.
Parentheses also exist, though while one should take care to not overparenthesise, sometimes their uneccesary addition can clarify instead of obfuscate.
Very interesting thanks!
how did they define the + method without the + method π€
Canadian spotted
Not quite, no.
Salvo Request Cancelled.
Beg pardon?
!e ```py
class int:
def add(self, i):
return self + i
instance = int()
print(instance + 1)```
: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 [35m6[0m, in [35m<module>[0m
003 | print([31minstance [0m[1;31m+[0m[31m 1[0m)
004 | [31m~~~~~~~~~[0m[1;31m^[0m[31m~~[0m
005 | File [35m"/home/main.py"[0m, line [35m3[0m, in [35m__add__[0m
006 | return [31mself [0m[1;31m+[0m[31m i[0m
007 | [31m~~~~~[0m[1;31m^[0m[31m~~[0m
008 | File [35m"/home/main.py"[0m, line [35m3[0m, in [35m__add__[0m
009 | return [31mself [0m[1;31m+[0m[31m i[0m
010 | [31m~~~~~[0m[1;31m^[0m[31m~~[0m
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/3NSA4KGVA3YEFIA4RVLLFHAGSM
Again, not Canadian.
I believe you now, Honest
more canadian hate!!!
Avoid creating names which shadow builtin names. int is a builtin name.
How are builtins defined
Additionally, infinite recursion is rarely a good long-term investment.
Builtins are the names pre-assigned as Python is booted.
Would the integer builtin be defined like this or would it be in C or something
c
Its a bigint implementation.
Which means it accomodates values of arbitrary integer magnitude.
Though I expect there would be a practical limit, depending on system capacities.
Huh wouldn't that use a lot of memory?
It might or might not. If you're using ints that exhaust system resources, good job, you probably should be doing something differently.
It's just data. How much or little of it there is depends entirely on what you're doing.
Like any other.
If you want bytewidth restrained data, there are other types and libraries you can use.
afternoon for me
hello fellow lad
Also since ints aren't primitive would operations on python ints be slower
early morning to me, and afternoon to you
yo good?
cuz i am preparing think of me study python
for second term
maybe that should be work out for me or smth
Speed. Python vs compiled languages. Or what I like to call the moss argument. (See: Falseknees Kobolds. i.e. Useless arguments.)
All things being equal, compiled languages operate faster than the interpreted Python language. Python is fast, it is not slow, it is slower in the above situation.
Python has the magical power of friendship, which is to say it is often used in concert with compiled languages, giving the ease of use of Python with the speed of the compiled shit. Most AI frameworks use Python as the user-programmer interface. Numpy works in a similar way, running C code in response to Python calls.
Python is a tool. It's often a good tool for any job. Sometimes it's exactly the tool to use. Sometimes, the right tool for a given job is not Python and that's okay.
can't wait for more people to come into the server to tell opal their C cloned language is faster then python.
Some things Python is unsuited for entirely.
It will show opal, What's really good in the hood.
Please.
Sometimes python gets so abstracted it feels more like scripting
it also compiles 400 times faster then "Insert well known language "
Also any good takeaways for first year math and system design here
It's object oriented. Of course it's abstracted.
anyway I hope I am not bothering you
Python? Absent exceptional cases, excluding the bytecode step, which I do, it is not compiled in tbe same sense as other languages are. The interpreter is.
That came off a little more intensely than I intended.
I have not seen this actor in like 15 years
I was not aware of him before The Good Place.
he was one the 2010s Reboot of the Eletric Company reboot
That means nothing to me.
I mean...
Python is okay if u r scripting
To abstract the programming technicalities
I mean, people use it as the primary language for Machine Learning
(By people, I mean Society)
Yh, u dont ned something like rust,c, etc for that
U can even use java
Or even JavaScript
You can use C/C++, but if you don't need to use something that complicated when your work is already hard enough - why would you?
And Phyton job in abstract the technicality is great
Do u ever try to read a file in rust
Heyo, did anybody here ever work with MuZero and gymnasium?
why would I need to? I have the same safeties in Swift that you get from Rust, and I get the same cross-platform behavior without the hours to compile that rust takes
Yh, my whole point is that wether python is fast is just pointles argumen
When tools are made for easier progress
I mean rust is aot
And since u are trying to implement safety measurements during compile time for safe running during runtime
Its okay trade off
Also, rust comoiler are backed and optimized by llvm
Swift does all of that during compile time..? (I'm telling, not asking) And it's also using LLVM
Idk what you're on about
Idk how swift code are safe
But rust compiler refus to compile anything thats touches ub
By using what we call borrow checker
is lfs useful and what are prerequsites
what's the swift experience like outside of apple/Xcode and whatnot?
it's a rather neat language
There are some extensions for VSCode (linting, namely) and it compiles out for Linux, Windows, and Android (including to use their respective UIs through things like SwiftUI as far as I know)
any body help me to learn linux or give me the roadmap of devops / cloud eng..
I'm more pissed at the NSA for letting it happen in the first place
Let me see idk who even did it
the correct answer does not require that information 
Wat
also who do you think? north korea always get framed for big attacks
like how they "hacked" sony
Don't know don't Care although wannacry was probably state sponsored by someone
Fuckin everyone hacks Sony
but do you think the devs were, what? smart? dum? clever? foolish?
Seemed pretty smart to me
common L opinion
Ok
Uh huh
imagine having a superpowered nsa-level backdoor that basically nobody can detect
hey i'm new here
do you
- attack the entire world, thus revealing yourself and getting like 5 dollars
- stealth exfiltrate treasure troves of data from hella-classified sources without letting them know about their giant gaping security vulnerability
Delete every drive i can and reset the shit show that is the internet
are you familiar with the absolutely absurd level of obsession of archivist data hoarders
Delete those too
like you can nuke every city on the globe and the countries will be beyond angry, and you're gonna get a thousand killsats constantly waiting to particle beam you into a subatomic particles but it's the data hoarder types you're gonna learn to really fear
I fear no man
you will
BECOME UNGOVERNABLE
.xkcd 705
Lmao
@vale raven
in a similar point, if you ever find yourself being bugged, destroying the bug is about one of the last things you want to do
I eat it
alright robin
I'd tell you but then I'd have to kill you
hello?
Hello??
Hi
You have my blessings
life is like a lemonade machine, enjoy every drop of it
i feel like drops of a machine are not prone to being enjoyed
thanks bud
They call me the spiritual leader around here
do i need to foward the message again cert
where am i supposed to upload one of my codes my friend
1 blocked message
whatever ya hat factory
!paste
So that everyone can easily read your code, you can paste it in this website:
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.
The hell does that mean
meaning someplace that makes caps
Mf
yellow?
Yeah
cert likes to joke a bit
i'm probably their favorite user tbh
This is true
Nobody else matches my whimsy
surprised you're not being distracted by emacs mentions in pygen tbh
Brb
are you guys sure this is the official python community? it seems pretty dull to me rn
there is no offical community
nice to meet you to!
is there a better and more alive python server in discord?
not really, pretty sure we are the biggest
just been a general decline in activity since covid ended, and AI likely hasnt helped
also some pydis helpers who haven't written python in the past ~decade or so
π
well, i guess we're the ones who made the ai so yeah, and covid ended a pretty while back with some signs still running. btw, is this the right community for me? i'm here for cybersecurity and python. it's been a few months since i started using python. and 2 months since i started using cybersecurity via tryhackme.
I wrote python this weekend for uni!
uh huh
why do you guys use "!" ?
-# and I hated it, because math
I am
oh, i thought this server was empty
yeah nice to meet you too
nice to meet u
do we have stats on that?
we prooly do, let me go looking
hmm the public stats page only has stats for the past year
I'm sure joe has posted some graphs before tho
found some specifically for #discord-bots
I asked semi-recently, not a graph, but some general numbers
what is this a count of?
right I should have linked a source, its messages
overall messages in the server?
found some specifically for β #discord-bots
no chance we have ~6k messages in a quarter
like, I have >1k messages in this server in the last quarter (I would give an accurate number if discord mobile wasn't ass)
oh, discord bot channel in particular
this has more recent server wide stats
Rip pydis π
hello everyone, i hope all is having a great day/evening depending on your timezone!
Superhero comics taught us that vigilante justice is not only justified but necessary in my opinion
in hindsight i think was incredibles 2 or 3 that revealed how rough that style is
Only issue is that the lives of people are now being decided by the moral compass of a single person
"If i had the death note, i wouldve killed only criminals and been smart" - everyone
Rockefeller center or the empire state building
does a big ass water slide count
and I've been in the washington monument, which was the tallest building in the world at one time
My aunt's apartment ig
I've been at the washington monument but not in it. It is very tall. Made me dizzy to look at it.
I don't deal with heights well in most cases.
it's not really that tall in absolute terms. but it's way taller than anything around it, by a lot
It's also the tallest elevation in the area, isn't it?
I recall it was quite windy up there.
no, there are buildings in the city at a higher elevation where the top of that building is higher
Most just have been more open. Heh. I should revisit sometime. Hold onto the memory a little tighter this time.
today I walked to the highest point in the city and took a picture of my office, 7 miles away
and I saw another building that I think was a certain one 14 miles away
Wild. It's quite flat where I am in comparison. Certainly I could get to a good vantage point, but the trees would be in the way of seeing anything.
I use to live on the 8th floor of a tall building
how many more floors were there?
many
I used to live on the 16th floor of a building, and that was pretty exciting
nvm
I went go look at the building
I only lived 4 stories up
i was in the 8th unit on the floor
over 2 units is not for me I want to live on the ground
I live in a low-rise condo now that's almost 100 years old
I wouldn't want to live in a high-rise that's that old
yeah
I went on a ride in a fest last sunday and it was a gaint wheel and a coloumbus ride, that was the worst night
yeah was in london for some months. living in the highest building around on a high floor level just feels amazing.
me the whole night after the ride -> amegablobsweats
I went on a google map adventure tosolve this
what's do you have against old age
entropy
do you have time to do walking
I both walk and run
I wouldn't wanna do that, it seems hard to concentrate
running is more efficient for my goal of 11-13k steps a day
I like taking a break to walk or run, helps to unwind mentally as well
Yeah, I usually end up somewhere around there as well
I am making a lot of progresses, in my self education
That's nice
Hey guys... I'm new here
I'm dad.
But yes, hi
*unc
Ok
Not even an uncle-in-law, my wife's brother doesn't have kids either
I am but I don't interact with them
How ironic
Do you want to learn Python?
anyways unc
Yes
Now it just looks like you're projecting
- Automate the Boring Stuff is a really good book for complete beginners and it's free to read online.
- If you prefer to watch video tutorials Corey Schafer's playlist is also really good.
- I also recommend Harvardβs free online course CS50P: Introduction to Programming with Python.
- Python Programming MOOC 2026 is an alternative online course with lots of integrated practice problems you can do directly in the browser.
perhaps
I don't like my extended family very much
Do you feel like you have a good understanding of general programming fundamentals, and Python in general?
That sucks
Yh I do
Ok, so what's your ultimate goal?
Become a master of python?
That's not a very useful goal. There's no benchmark for it, and there's no practical benefit to it.
you get to impress your friends
It'd be better to pick something more concrete, like "I want to be able to build X"
Where X can be whatever you want (including X)
and you will be fun at lan parties
Thats the spirit,keep going to learn more
Do people still do that?
I use python for data analysis but I need to learn more
No people don't have friends
It's still Standard E sports competition Format tho
I suck at social vibes , that's y I love coding
I don't think I was bad at it as much as I hated doing it
of course I don't hold these views anymore
for I have reformed.
In mind
Coding, especially professional coding, is actually a very social activity.
can't agree xd
it is. kinda sucks tho.
You could be me and use minimal libraries and do things yourself.
did anybody here play around with 3.14.3 free threaded py build
CLICK FOR MORE
TRACKLIST BELOW!!!!!
//////////
N95
https://youtu.be/2Y0bvrGWRtU
Money trees
https://youtu.be/K4ohfTWAMY8
Squabble up
https://youtu.be/JMlM1leQLYo?si=usrXCnIHh_kVARZs
Bitch dont kill my vibe
https://youtu.be/mhrWXP2qves
Swimming pools
https://youtu.be/szKiX-B0e2w
Not like us
β¦
kendrick chose the wrong genre lmao
Huh
@patent river so like do you study all day?
no
But l propably have time but its just that school has put my moral down
But dont worry l will try think this through
I can debug codes
I'm starting to like claude more and more
in particular, the notion integration to make a quick report on the aspects I've worked on so far feels good
I am Master Oogway
yo
hows that nothing ever happens feeling on the gas station π
based
there's the gas prices are rising feeling i guess
if this keeps going even us carless dudes will start feeling it in the food prices and such
be ready to feel it more then
Salmon can only cost so much
Absolutely absurd prices already
The other day i was at a butchers buying pork chops
These mfs charge more than the chops in the fridges
I thought butchers and fishmongers are supposed to be cheaper
supermarket is cheaper, more efficient supply chain, economics of scale, etc
like I saw this for fruit the other day when I was at a local market thing
Why are they all bitching about going out of business then
I try to shop local but damn dude youre basically robbing me
Everything local costs more and that shouldnt make sense
im guessing their margins are still slim even w/ the high prices
Maybe they should stop thinking about money if they want to survive
Its fine and dandy to ask the customer to think beyond money and support local businesses, why cant we ask businesses to do the same
I picked up 2x pork chops
They cost me Β£6.50 each
EACH
negative margins would mean they be donating money to you
theyre getting outcompeted
is all
How can a superstore ship meat to me from other countries and sell it to me at half the price and some local butcher cant put their prices down a bit
And you know what, they werent even that good at 6.50 each
I do too, that was the first and last time i go to a butchershop
Its ridiculous
Show up to a saturday farmers market and it costs more than whole foods
Explain
In other news
2 files changed, 3 insertions(+), 20 deletions(-)
Im doing my part, are you?
I dont usually get to have negative ratio prs
economies of scale
i already said it
i.think he was just venting
i too, get pissed at expensive food
I like my food cheap and plentiful
yum, tortilla mexicana
love it
mexican boy taught me
healthiest food I kno, crazy
also the tastiest
R u talking about turtles
no
is this like a raid or something
its always the same channel I think
if they're random compbots, then they usually target channels in either ascending or descending numerical id order, and then get blammed at the fifth channel
but this is slightly different
makes sense
and the cryptoscam compbots usually do 4 attachments iirc
giving the crypto community their good reputation lmao /s
Are you talking about cryptography
no, cryptocurrency.
no, cryptogram
no, cryptozoology
Do u want my wallet address to pay?
food is local
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
ermmm actukually
good.
bought a couple more RHM stocks, how evil of me, literally as bad as putin and trump
as if its not my tax EUR thats feeding into these companies margins anyway π€¦ββοΈ
Why would buying RHM be immoral?
some people have a misconception that a retail investor buying stock on the secondary market represents a direct show of support for the company
at most we provide liquidity when talking about these 50B+ market cap companies
I was more questioning that RHM is immoral.
I do think it's hard to argue that investing in a stock doesn't benefit the company in some way, however small.
Directly or indirectly.
the difference between a million and a billion is a billion
I don't have a single million
even if I did have the power to move the tape, owning the stock through the secondary market is a very indirect way of supporting the company
the stock market is more of a betting market than anything else
I agree that the effect is small. But I don't think it's zero.
it's so small that nothing really happens if I buy or dont buy
Probably nothing significant, no.
hello unc
I just don't think it's a morally neutral action. That doesn't mean you have to change. I make moral compromises all the time myself.
Hello, though as we previously established, you're the real unc
I messed up on the Genealogy, realized I am not
my Siblings are not old and cousins just produce more cousins
long nights
Rheinmetall AG literally builds tanks for profit
had to seach up what it was
I feel like I would be rude if I said I didn't care
hmm
More like my own moral sensibilities are far removed from the topic
I suppose your subscribing good and evil to both actions and entity
I think I only do so for actions
Thats fair
Sometimes you need tanks for good purposes.
Entity?
A good tank can group enemies together for aoe attack
If a totalitarian state wants to invade a peaceful democracy unprovoked, it's probably a good thing if the democracy has tanks to defend itself.
Tanking was definitely the most fun role in WoW, since you had the most to do.
Healing was ok too.
tank good.
Tank great
Tank forever
Well almost forever
Favorite lines from the short film "Kung Fury".
Watch the movie here and give them your support!!
http://bit.ly/1CNExkz
killing that spider that other day has me more concerned than buying RHM
Well, under current circumstances I think buying RHM is a good thing on the whole.
hell, owning this cellphone is way more morally dubious tbh
I dislike american stock cuz the dollar keeps falling
i love lockheed martin
this video sucks stop watching it i beg
once that trend reverses I might consider going back
US investor putting money in the SP500 is probly fine, but anyone else is getting ripped off rn if they do it
pure play on european defense. and its not like we dont need it
We definitely do.
Double the defense budget?
I think we got close to a trillion planned for the next 5 or 10 years
double it and cut in half!
RHM has their backlog filled for the next decade
the movements you see is nothing but execution risk and overleveraged gamblers betting on the outcome of the ukraine war
the outcome is irrelevant, the backlog is not going anywhere,.pretty sure defense spending is baked into germanys law at this point
- stockpiles are running low, even the US is gonna wanna order from european companies
more bombs pls
we aren't close now
most would say that there were a few close calls during the cuban missile crisis
sez u
Nothing ever happens
we are closer than ever
absolutely not
there's multiple ongoing conflicts prone to being merged, the degradation of formal channels and trust in international institutions and norms, and a party actively trying to create regional escalation
this is textbook pre world war, the only thing saving us is nuclear deterrence
our world is at war
this is a fact
i suppose you can argue proximity based on definition of "world war 3"
an international conflict is not distant, sure
a nuclear conflict has been far closer in the past
that is not normal
the germans took off their constitutional debt limit or wtv it was
to spend on the military
the germans
this is not a post war time, its a pre war time
eh, at worst it's a new cold war, which has been going on for a while
perhaps a third cold war
Hello, I'm new here
doesnt feel very cold here in europe
feels very hot over there towards ukraine
the folks in the middle east also would like to beg to differ as well
we got russian drones flying near our bases in europe
can we please agree on the color of the sky here
there's always a war going on somewhere, even during the actual cold war. hell, there were multiple times where us and soviet forces directly fought each other
typical american hubris, thats why the us always join late, and why we had to setup NATO
Feels a little hot for a cold war, no/>
You know, bombs flying, not just words
Russia guiding Iran on where to bomb Americans
America dropping sanctions on Russia
Who's side is America on anyways/
Apparently not the side of her military
omg thank you
i dont wanna like be alarmist, but lets be real, the situation ought to be taken seriously
you may want to re-read the history of nato
I keep having to cite the first secretary general of nato
natos purpose is to keep the US in, soviet union out, and the germans down
ofc today is not soviet union, its russia
the purpose of an organization can change with time
germans were the bad guys for a while
nowadays they're considered a good-guy regional superpower
it's not infeasible, as well, that if the fall of the soviet union happened differently, russia could have joined nato
it sounds like this was considered by putin (of all people) around 2000
ram prices are so fun right now
but if the straight keeps being blocked major manufacturers are bound to run out of resources for making new ram within a month
sure, all I said was, "thats why we setup nato in the first place", or something of the sort
.
the americans will always think the same way cuz thats just what their geography dictates, ppl come and go, but the stage always places the same constraints
all I know is that things are about to pop off worldwide
if they're not already
the next threat to humanity should be very clear at this point
all we can do is look out for our own
us americans that is
i must admit, when trump got elected, i was legit, "eh, what was the worse that could happen"
while likely, this is a poor idea
"apes together strong" and all that
I am not sure what you mean. I still hold people accountable if they do wrong
and sure, some people might not be the smartest but perhaps their talent lies elsewhere
everyone has a role
we are only strong together if we know how to take advantage of each others talents to advance our societies
sadly we are not advancing. We are declining in the US. It is the collapse of an empire
but a new one will one day take its place like always
was always bound to happen, you cant keep down literally billions of people forever
your speak of american hubris humors me
it's like "true!"
but I tend to think I may be a bit biased. I don't have a lot of faith in people anymore
india will emerge as one of the superpowers, surpassing europe, the US will always have a seat at the big boys table but wont have nearly the same power as today
I don't really understand how that would be
what have they been doing to upgrade their infrastructure and stability?
is there some new resource they've come into?
a trade they are particularly well off from?
the irony of speaking about not being able to keep people down, and then alleging that india is destined for superpower status
its just what their population pyramid dictates, I am talking about stuff towards the end of the century
its possible, I just wouldn't say it's destiny lol
europes population will peak in the coming years
to be honest, I believe high populations are why high casualty wars exists
lives seem less and less valuable the more of them you stack together
at least to your politicians
sounds like you are stuck in the status quo and havent taken the time to consider what is being projected into the future
again, im talking about many years in the future
many things could happen, I am not sure we will have a world in 10 years
but who could truly say?
okay, im not saying like, 100% this will happen, but has a fair likelihood pf happening
always hard to talk about distant future as you say
i'm not saying india can't become a superpower. but they're also a country that
keep down literally billions of people
fair enough, just dont say 'destined' next time. That's what kinda implied it heavily
aren't they all the same in the end? Sure, they're a little different especially in culture in whatnot but with how power and society works... is it really all that different?
I dont recall saying that
if it isn't india it'll be some other country
I mightve
.
i didnt
but I do have a hard time expressing the certainty of the beliefs Im expressing, get caught up in the moment
The US has a history of doing the same.
ah it wasn't you
dont we all lol
sometimes its best to slow it down
sadly it appears that oppression is a prerequisite to power
This was very intentional
in relation to geopolitical events, sure. I'm just saying oppression can be unintentional
all it takes is someone being unable to express themselves and their will
sometimes people can be too timid and just kinda let people tell them what to do and where to go
would that not be a form of oppression?
not by itself, no
perhaps
I guess what im trying to say is, you're oppressed if you believe you are. Even if thats not conventional reality, it may be yours
belief is power? I'm not sure how to put it into words
oppression is defined by morality, which is certainly subjective, but the usual definition requires some kind of significant consensus
an excellent way to put it
truth be told I think im still learning how to be moral
perhaps due to it's subjective nature we all will always be learning how to gain and keep morality until the end of our life cycles
but I certainly will say it feels alienating when your morality does not match the vast majority or perception thereof
best stance to take is passive observer
I disagree
idk, historically speaking the majority has a pretty terrible track record when it comes to morality
I feel quite safe being in the minority in this regard
also for the most part I dont really care what others do, unless its like, literal murder in front of me or something like that
Bro raspberry pi is overpriced now π
π
Preowned mini PC OP
W peripherals shit is gonna be like 200+
vs better spec pc with everything included for $75
Maybe slightly higher power usage but I think itβs pretty comparable if u use external ssd on pi
did they hike the prices?
I mean I think back in the day they were like 70-80 but also I just donβt think u could get a full PC that cheap back in the day would atleast be like 200-300
So it was better deal
they seem to be in the same place as the last time I checked
been meaning to buy some for my projects
I mean they werenβt 8gb of ram back in the day either tho lol
Like 1Gb lol
yea and ram prices got hiked, so i was wondering if it spread
Ya they prolly still good but if ur tryna run like home server im prolly boutta buy this pc instead of pi 5 just bc its cheaper for same/slightly better specs
Obv not as small tho and will use slightly more power over time might add up
just some basic stuff to run my personal AI thing, save some money on CI as well, maybe even start thinkering around with drone tech, like straight up sticking 4 fans to it and see where it goes lmao
no?
sup @bleak quest ?
what do you wanna talk about?
i dont mind mate im just... so bad at discord its untrue.
always getting misunderstood and into trouble
what time is it for you? did you do anything interesting today?
its six past midnight here in england. i just got back from working on a piano (i help restore pianos)
i had to get away from computers you could probably tell ;P
oh wow, how long have you been doing that?
its a side job, 5 or so years, playing though more like 36 years or so, same amount of time ive been programming
what about you though?
mm, not really. work, gym, made dinner.
I've wanted to play the piano for a long time. I've played other instruments and have a pretty solid understanding of music theory, but I can't get past the stage where everything is arduous.
all the instruments are 'arduous' though π
I have a keyboard (the piano kind), but it's pretty dinky. I can't decide if I should upgrade to one with weighted keys now, or set that as a gift that I'll buy myself if I make more progress.
i play many instruments but piano and drums are the main ones
yeah weighted is essential. but easy to get hold of these days cheap
from craigslist or what?
ahh probably, ebay or just even new a couple hundred dollars would probably get you weighted 88 keys digital
yamaha p45 or something, pow! your'e sorted
even those cheap gear4music ones and casio are 1000 times better than a keyboard
I dunno, it would just compound my self-disappointment if I didn't practice on that one, either.
hello Stelercus
whatever I get, it's still going to be a keyboard, in the sense that it will be electric. with headphones.
I am very nice to my neighbors.
nah if its 88 keys, weighted full size its a 'digital piano'. it counts!
and you can still do your headphones
in my vocabulary, "digital piano" == "keyboard"
with the caveat that "keyboard" is overloaded (could also be a letter keyboard)
A piano the size of a full board keyboard maybe larger would be cool
yeah that meaning has changed over the years. anyone who calls it a keybaord is gatekeeping. send them my way i'll set them straight
oh and a sustain pedal, that'll come with it.
maybe what I should focus on for now is playing the right chord as I listen to a song, in real time
I imagine that consistently being able to get your fingers to the keys for the current chord (regardless of spacing) is how you reduce the cognitive load of playing multiple keys at a time
specifically, I mean not trying to play the melody/harmony/etc. just getting the chord.
the best thing is to do it your own way. honestly.
the power comes from the rest of the body, fingers are just the last point of contact
woah
I'm 30 and this is deep
playing on unweighted is too 'easy' so you end up using your fingers and develop bad technique for piano. thats the twist.
are you ex security/doorman by any chance?
no, why?
ah just a random guess a few factors kinda hinted at something like it
I worked at a coffee shop while I got my CS degree and now I work in AI R&D.
what's AI R&D?
artificial intelligence research and development
my arch nemesis then :p
my company doesn't make consumer products, if that helps.
im an artist, live by the sword die by the sword type. its my life
and i know by now if i ask AI to write me music in the style of eveshka ghost
its probably going to sound like me, and that scares me
from the few AI songs I've listened to, I've noticed that if even the actual music is fine (and I mean just... fine), the lyrics are incredibly bland.
would you believe if i told you i wrote an AI music maker like 8 years ago or so from scratch, that only used libraries i coded for it and didnt go on the internet? ;p
I would.
you click a button and it makes an album in MIDI in 10 seconds. you then take the midi and decorate it however you like
yeah that was quite a task. it was fun by you know what, i got bored of it. i could have kept writing little libaries and make the music different
but it just felt wrong
the biggest flaw it had was 1) it didn't when to stop something dull. and 2) it didn't know when it was onto a good thing, and stopped it too soon.
I imagine you used some heuristics about what chords can go in what order, and a couple of rules about melodies, and then off to the races?
more detailed than that
I'm sure.
because im self taught in music i have my own language and system for describing it, and its a bit lower level
but yeah ALMOST like that
it was funny but it got boring quick
I would listen to more AI-generated music and look for patterns, but I don't want to fuck up my content recommendation algorithms
if you ever wanna listen to that particular one its on youtube ;p
sure
just type "tigerwolf pride of the pack"
i was trying to invent a new genre called CGM (computer generated music) but then REAL AI came along and well... typical me, always a few steps behind, as you already know
always showing up late for the party
the one from rusalka records?
yeah
it should have a character on the front that looks kinda liek a tiger and kinda like a wolf
thats actually a picture of our cat, but warped and stuff.
do you wanna see a picture of my cat??
he's getting old now he keeps going HUALLOOOW!! hullooWW!!
sure thing
even though im not a cat person at all but its all good π
π§
The cat mogs the entire server
uhm hi?
He unlisted the thong song :c
Well better than deleting it i guess
i felt like listening to it, checked his channel, it wasn't there
fortunately the link has been shared in this server a hundred thousand times lol
and the vid is not privated, just unlisted :p
just a hungry hijust a β€οΈ π° hungry hi
What? Are you hacked or something?
i dont think im ever gonna write code from scratch again unless im tryna learn something new
my life is now reading code
congrats your now in mangement
that would mean we cooked cuz im only managing AI agents
only diff between these things I setup and a human is that they cant take ownership
I've never you seen get an inch and not turn it into a mile.
im saying that even if AI tooling is almost as good as AGI we still good
they not. but they pretty good imo
i write an issue, gemini kinda cleans it up, adds docs, triages it, links what needs to be linked like previous PRs or wtv
then I assign it to copilot who ppens a PR, does its thing, and when its done asks me for a review
I approve the CI runs, if a CI run fails it auto calls copilot to fix it, if it doesnt fail it auto calls sonnet to review it for legibility and design, copilot complies with the suggestions, I approve CI runs again, and only then I do a deep dive review
the result is good, I got CI for everything from normal static type checking, to stuff limiting the number of branches and number of lines a function can have
seems like there is a bug going around
@ancient summit I have hyperactivity adhd, so my thoughts go zoooom. My brain is never quiet. Meds help calm the pace down a bit and let me focus.
season changing and all
oh
basically ur brain cant stop thinking.. Or your thought processes are too fast and get replaced very often
@solar shell I am sick. Seems like a regular cold. Just need to give it time and meds.
Medicines for a cold?
Yurp. There are other parts of ADHD, but that's what my medication addresses
What if the cold mutates an-and it becomes stronger and
It will make it worse, won't it?
then kat will become a zombie
um which one? first one or second one
LIke which one did u say "yep" to?
How did you get ADHD diagnosed?
yeah how did u figure out that you have adhd?
Both
ohh
what do you find very hard to do? Like any specific normal job?
My close friends and family were very uh... supportive of me talking to a doctor to get a diagnosis. Apparently a lot of things I thought were normal were not.
It doesn't make sense for experts to diagnose people with certain conditions like ADHD and autism and all the variations of them for different people, maybe some people just think differently.
thats good to hear
And we're just categorising people into different groups which is not good.
yeah
It only makes sense for experts to diagnose people with conditions
Sure. But what if that thinking differently is impacting them enough where they're sturggling with day-to-day? Or struggling with specific socializing scenarios?
The diagnosis is intended to help people by knowing what advice and solutions are available to that person based on what they're experiencing.
Veltrix look in captain fisher.
different groups which can be helped effectively
I did
the name of ot channels change every day.
For instance, it is often really helpful for people with autism to still get diagnosed even if there is no medication or whatever. Simply because they can now be pointed to resources that are tailored to them and how their brain works.
The "normal" advice may not work for their brain, but advice from people similar to them will. So that diagnosis gets them those resources more directly.
I can't wait for my summer/christmas holidays to start.
I am gonna 3D print again.
But first I need to clean my printer from the dusts and cobwebs that riddle it.
I have no concept of how long things take. I have total time blindness. So being able to estimate time or keep within time restrictions is very difficult for me. I like to hyperfocus on topics, but I want a variety. So doing the same shallow work day-in and day-out would be hard for me.
oh
Why not use a watch with a timer?
Some of us do, but that solves a different problem than estimating a project time.
I do. That is my current solution to things. But other people don't have to. They just know generally how long things take, how much time has passed, etc.
The #1 most important feature on a smart watch for me is customizable and multiple timers. I will not use a smart watch that doesn't have that feature.
Which is weird for most people
I need a thing attached to my body that will buzz and yell at me after a certain amount of time has passed
I require a timer that just infinitely loops. Set a 15 minute time, make noise or buzz when it expires, push button and the timer restarts.
Don't make me set a new timer. Just keep going, every 15 minutes.
My poor boyfriend whenever he visits me and has to deal with my snoozing of the alarm...
saaame and I'm a heavy sleeper. I have sleep-cancelled so many alarms.....
It's such a struggle.
If it gets bad enough I make it make me do math before I can snooze or cancel it
Like I get 3 free snoozes and after that I need to do math
I used to have my mom call me on special occasions
And then i started leaving her on the phone
I've gotten better
I had to make some concessions with my partner. They have issues with devices making noise. I need an alarm to loudly wake me up. It took six years, but I'm to the point that I can honor their "1 snooze max" request.
also, isn't "snooze" such a weird word? It looks weird, it sounds weird. It's a weird word.
Just a little snoozel.
It's all the cool noises. Tickles the nasal cavities as you say it. snnnnooooooze
create a jira ticket.
*tell gemini to create a jira ticket
fixed that for you π
gemini or any other model, they all the same
used to be old ppl who resisted change
ah, how times can change
tho, I understand the pushback against LLMs, lots to hate
Resisting change has never been age-gated.
I was not aware, I grew up with the idea old ppl had a hard time adapting
Give a toddler something new to eat instead of their regular snack and tell me how well that goes.
REBELLION
I don't.
kids like to pick up the trendy new thing
resisting technology that might make you lose your only source of income sounds like something that many people regardless of age would do
a lot of time the trendy new thing isn't a very new thing./
quite sure if I look it up its documented somewhere in academia
in fact i've seen more older people who embrace the thing that is AI more than younger people
I'm still pretty firm in my Little theory the 67 meme was Gen Alpha exertimenting with Nilihisim
Anyone can pick up the trendy new thing. Don't mix the signals. The difference is that a child's life is full of change. An adult's life has the option of being routine.
I think what you mean is that many people never learn to deal with change.
how are you today unc Preocts
ig we live in different worlds
What do you mean?
yes, unc Preocts lives in the real world.
lmao
If you're going to be antagonistic, do it without involving me.
okay
I dont think you guys are engaging in good faith
I wasn't but he was.
it's more of a "lol funny" than "this joke has no meaning and our laughs are sinply sarcasm" imo
I'm attempting to. Where have I given you the impression that I'm not? Let's talk about it.
you know how to steelman what Im saying, but choose not to
im not really interested in arguing about it tho
Are you interested in talking about it instead?
i was just making an obsevation, i dont kno why it turned into an argument lmao
We can leave it there then. My intention was not argumentative.
People disagreeing with you and trying to talk about it does not automatically mean they're arguing
i understand
what about the comment that implies that I dont live in the real world ?
feels very combative idk
you got to think about the themes of the song it came from, it not music people dance too nor is it very lyrical,
it about someone who steals a car, drives around with chauffeur, Commit a violent crime, drives home and keeps the stolen he used in his crime in his driveway.
Right, so as was said above that person was not engaging in good faith. But Preocts very much was and you still think Preocts is being argumentative when they're just trying to have a discussion
fwiw, I also spoke out about the antagonistic comment. It's all I can do.
I was the one who said that person was not arguing in good faith