#voice-chat-text-1
1 messages · Page 61 of 1
sup opalmist
@zenith fable container? docker?
I didn't hear it well enough
sandbox?
containers (docker-like) must me in the backend
the frontend must have no access to it directly
you can't realistically run docker in the browser
TDD has no relation to what you've just described actually
no no no no no
noooooooooooooooo
forget TDD, it's unrelated
Docker requires namespaces and cgroups
which aren't a thing in the browser context
you still need something to run server-side
there are three options of what something, which looks like this, does:
- run stuff in the backend (presumably not this case)
- sandboxing
- WASM
real containers are only implemented in something like illumos
everything else is kind of not really a container
just an imitation thereof
@frail dagger 👋
@zenith fable Chris (Mindful) was taking a course where he was making that
what docker does is commonly referred to as containers, even though it's not really that
what i need a safe enviornment to execute code
there is also a tech adjacent to WASM which is WASI
WASM/WASI are somewhat runnable both in the frontend and the backend
it also gives you ability to run languages other than JS
I'm currently working on a project that runs threaded Rust code in the browser
js role is just to spin up the container
yeah, if you just use JS for orchestration, you can use WASM as the runtime for isolated code
it seems to be the sanest option
okay i will look into it
had to use threading because of SQLite
which is funny given how SQLite is not threadsafe
threading is involved because the wrapper (sqlx) is asynchronous
so it has to start a thread backing that asynchrony
may be a que involved to keep track
it only took something like 4~6 hours to setup
but it was not a "following a tutorial" activity
@fierce walrus 👋
okay my exposure to threading is quiet limitted .. I have used threadpool exec
WASM is new to me
if you choose Emscripten, you will end up having to read through a lot of APIs and source code
including generated source code
@umbral rose codecrafters
iirc
or whatever that is called
that was a very long way of saying no
@umbral rose no unshare?
@umbral rose @zenith fable what is this
https://github.com/codetainerapp/codetainer
v8 not v6
🚀
ah, nvm
it's non-interesting
just runs stuff on the server seems like
@umbral rose contai-nerd
@umbral rose have you heard Rob Pike pronounce gofmt?
Thank you guys
gofoomt
... it's always been V8
(it's not a version, it's a name)
Ryan Dahl
The first presentation on Node.js from Ryan Dahl at JSConf 2009
Thanks.. I was always a bad student 🙂
and once again .. tysm for the informations / brainstorming that you guys did to help me
things UI authors don't expect
Click here to see this code in our pastebin.
hi 👋
physics chaos
Inverse kinematics without inverse kinematics
No it does not use neural nets
Forward kinematics and gradient descent
Here is my old version which had oscillations
According to my assessment, the pinacle question in physics is whether to quantize gravity or continuise the standard model.
It is solving inverse kinematics problems
@misty sinew are you trying to simulate a robot arm kinematics?
.latex
why not
The issue with inverse kinematics is it does not usually have support for variable physics constraints
Run the script?
Wtf are you on about? I did just say what it does...
Here's it with end effector weights? Prev version with oscillations.
I think the solution already exists in papers
But I am unsure
My goal was to have inverse kinematic solutions without inverse kinematics or neural nets as common solutions do, I did this via gradient descent. I'm not gonna explain to you the code, it is right there.
I learned what I needed to to implement what I thought of?
That's not what I'm asking
Idgaf if you extend it or not
Not my problem
damn
I'm literally not asking for anything
@misty sinew 1. Augment your IK solver with dynamics equations
Instead of solving purely geometric IK, incorporate the equations of motion:
def dynamics_aware_ik(target_position, current_state, payload_mass):
# Traditional IK for initial guess
joint_angles = geometric_ik(target_position)
# Iterate to refine with dynamics
for iteration in range(max_iterations):
# Calculate required torques
torques = inverse_dynamics(joint_angles, velocities, accelerations, payload_mass)
# Check if torques are within limits
if not check_torque_limits(torques):
# Adjust trajectory to reduce torques
joint_angles = modify_trajectory(joint_angles, torques)
return joint_angles
I'm sharing
@quasi widget @umbral rose I have no fucking clue why you two are so aggresive, wtf
I'm just sharing my solution lmao
I can extend it
I'm not asking any questions
You ask questions
Because you can't understand it?
No
I have code that generates those line :^)
i think i am missing the plot
Reachability charts with previous solution + end effector weights
Idk how these work out with new solution
The "organisms" now predict the consequences of their actions to stop oscillations
Why is the dark blue arm intersecting the brown arm on that "Animated Arm Paths" plane?
Because physics is simple here
look like they're just not interacting
Zero grav and no constraints, I am taking a break
like three separate examples shown overlayed on each other
just to demonstrate with different initial conditions
If you want good results, physics has to be as complicated as reality
._.
No?
"no constraints" orly?
Tell that to engineers?
@onyx ocean now you too?
I am not agressive!
That's what neural nets are for anyways.
well at least you're not verbal in that sense yet
Do you believe my ideas are agressive? Or something I wrote?
This requires we allow the arms to perfectly predict physics
I limited my scope to a minimalist proof of concept, if you wish to extend it you can
Perfection is unatainable. Nobody uses all the digits of pi
I provided my code
@misty sinew what is the link to your code?
I entered the conversation when you were getting interrogated. I looked for your code but didn't see it. Perhaps I failed to scroll up enough?
(I had been on the channel but outside AFK running a 15 minute errand)
no performance claims until measured
^
@misty sinew the arm has mass
good
Profile?
correct approach
Have you considered the analytical Jacobian instead of numerical differentiation?
That would be inverse kinematics
Yes, have you used sympy?
I've successfully escaped the church of "best practices"
Please see my previous constraints on myself
The goal of the project
?
No inverse kinematics calculations
Only forward kinematic
So we can apply physics in real time accurately
That is like asking a soapbox derby racer to not test their different designs, just build without testing.
My brain is fried rn btw I am not talking formally at all
Not really
If you want your physics to be accurate, you need forward mass (and inertia and torque), non-intersection, friction, etc.
I first need to not be constrained to inverse kinematics...
None of those are going to be inverse unless you compare your predictions to reality and adjust to correct.
(Like back-propegating DNN weights)
You aren't going to get good forward anything with no mass and self-intersection
Yes. It's hard to say which are most important. There is no royal road to geometry
As for the oscillations I tried noise canceling after the fact
Didn't work lmao
So it seems prediction is needed
Here's wind + motor noise with the prev model lol
It is arthritic and being pelted with wind
@misty sinew mass mass mass
Yes, you can see this:
@smoky cedar what are you working on?
With old model
finaly
so i just downloaded python
And you can add them if you'd like...
@bob now you have two problems!
I'd love to see it extended to have mass / collision constraints if you'd like, but unfortunately I cannot predict my future self's solutions to those problems
"ChatGPT, generate problems"
I really don't understand you people lmao
@bob what calendar do you use?
what\
You act like I show up here with perfected crap when I just want to share
man how i can speak here
Screw off, legitimately
Do you want a new calendar system or to use an existing one, @bob?
@misty sinew I thought you were asking for help; my apologies
i can explain like
My feelings are not hurt, your brain is severely damaged
@quasi widget that you talking
@misty sinew I'm sorry. Again, I left before you were speaking and got back after you had been for some time.
ok so i need bot for appoinment slots like i need a notification when they are avaible
@smoky cedar yes so on top of an existing system like Outlook or Google Calendar, or self-contained?
Cause I'm blocking individuals unable to just look at 150 lines of code to save me trouble explaining complicated things
Alr he's blocked lol, cause of clear gaslighting now
@quasi widget you're acting like Maroloccio
You can easily look back at messages to see what happened
(not as a judgement statement, just observation)
@onyx ocean I want a Python script using Selenium that helps me check for Italy student visa appointment slots on the BLS Pakistan website. The script should open the website, let me manually log in and solve the captcha, and then keep refreshing the appointment page every minute. If any slots become available, it should immediately send me an email notification. This way, I won’t miss the appointment openings because they get filled very fast. I already have Python installed — I just need help with creating and running this script.
You went on to "criticize" code you don't understand
@misty sinew I have to run another 10-15 minute errand. Please DM me or message me here to let me know what you think I should have done instead.
That's a pretty cool application!
do you know how to do it
Ok so screw off, you didn't try to improve it, and didn't see results of implementing what you suggest
@smoky cedar do you have Selenium running? If so can you get it through stuff (including captchas if any) to the data you want?
Because half of it breaks things
no idk how to like if i can share my screen
Or really doesn't matter unless you wanna optimzie a proof of concept like an imbecil
Pre-mature optimization to the max
@misty sinew please forgive me for assuming you were already doing IK.
If I want it to be fast I reimplement it in rust
It does what I said
omg I just doxxed my timezone
You need to start small with Selenium running a Google Search or something, and then move on from there
Can't we all just get along?
I could? And tried to?
can i call you
Water under bridge
But yet you targeted my intelligence so you could be condescending?
Actually I have to run a 10-15 minute errand. Stick around?
For zero reason? And do it incorrectly?
well you you are freee plz let me know i will be here waiting for you
I did? I said exactly what it does.
I'm not gonna explain what gradient descent and forward kinematics are.
I'm not your maths tutor
Lmao
Then why do I need to explain?
No, so I can get people to use it?
10 minute mute would be good for kastien
validating forward kinematics is full-on IK. ... BRB 10-15
These things are difficult to do, I hope to help people. I'm not sure what other grounding you need?
Wtf?
Arm 4 is impossible, that's the point
No need to seek validation
@misty sinew
The only thing I will recommend(didn’t follow the entire debate).
When you want to show something complicated, make sure the audience has done similar things or is engaged with the topic before presenting it.
Smaller focused audiences work better for complex topics.
I want to make a 1-D "universe"
My idea is a 64 / 32 bit string "reality"
And a "God function"
(Automata)
Simulation?
I am trying to fit as many observations we see in reality in it.
Not possible, you can't do alone.
My basic assumption is that there is no infinitely small difference between two things
-- Java Enterprise Manager
Two positions in space
That you can at most move, per frame, one space over ( one bit )
@umbral rose proof of (not by) induction is a funny part of set theory
(the proof of why induction works)
I'm much more philosophical and visual than pure maths. I love maths but I'm far more interested in the thinking behind it
Then I usually go to maths
BTW what do you mean by 1-D?
One dimensional
The real line
Lineland
So, basically we have 64 bits in a line, and it is cyclical as well (moving from 63 - 0 is the loop) and matter is 1, void is 0
Hmm
A "God function" can iterate on the "reality" both forward and backward
deterministic world?
So the reality must store enough info to be reversible
you can cheat and just store the history
Photoshop universe
persistent data structures are fun
(actually, not that's unrelated; it's reverse of deterministic in this case)
that function would a bijection, presumably?
at least within the set of reachable states
Not exactly yet...
what is that a screenshot of?
the larger context
what you mean?
what do you need that detection for?
I have many ideas for how it could work, but a bit is a "God particle"
and how are you going to act on it?
either you help or you dont
So the smallest form of matter
i will not explain myself to you
what i use it for is my problem not yours and no i am not gonna use it for something bad
"not gonna use it for something bad, trust me bro"
@smoky cedar back; what platform have you been trying to run Selenium on?
Yes
No state can be lost
So essentially we cannot have a one move to another neighboring one
cry lil bro i just want something to detect a image on my screen fkign restarted
And hence lose matter or energy
clip the region of interest and ocr it. boom, problem solved.
Get out!
please be respectful of other users
6 seconds · Clipped by Alisa Feistel · Original video "Coming Of Age | Bryan Cantrill | Monktoberfest 2022" by RedMonk Tech Events
ocr it?
another opportunity to share this clip
google ocr for more information
how old are you?
the image will be on my windows not in the web or so
that’s besides the point
first, I'm not a bro lmao
We should be able to get a set of reachable states by running the god function forward / back until it repeats yes
Which, if the previous assumptions were true in reality it would imply a cyclical time
@wooden dome please don't add fuel to the fire
Which is honestly what I believe personally
i’m hopeful he’ll come to his senses
Hmm but he is being rude in chat without any reason
Ok, and I'll deal with that.
deal with what? i literaly just asked for help
The thing is, at a small enough scope, all phenomena in reality can be seen as cycles interrupting other cycles
Like orbits of planets
you received very relevant help. see above
You were being quite rude to other users who were asking pretty simple questions
yes thank you for being a normal human being
So I suppose the question is: what is the largest cycle?
me? where
let it go..
here
here
here
who started first?
You
ye i am telling him to not waste my time with these stupid question
he is not the fib
but fine
who?
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
hmmm i broke your tos? i just asked how i can regonize images on my screen didnt i?
... ig I will leave with my ideas, anyways not too great of an experience here.
Okay could you please stop?
Anyone's TOS. Not ours
that error message is almost certainly a 429
HTTP 429 literally gives you the time until when you need to wait
and the solution is waiting until that time
No one is forcing you to answer any question, learn to ignore.
as for how you get that header, yeah, that we can't help with
I'm sorry to hear that but you got a good concept
Anyways @quasi widget ik this is passed now, but please refrain from assuming other people know less just because they don't want to explain what should be obvious to people whom they'd want to interact with. I didn't answer many questions because I was tired of explaining to people who didn't know. Either way the interaction was immediately hostile and condescending by saying "all you show us is graphs"
which is a convenient leadup to me mentioning that I'm currently working on something that has to calculate that time (server-side) and I have no idea how
That is just not true, but I will leave it since you obviously have emotional regulation issues
I am not pressed
"Keep my name out your mouth"
Sure bud
@misty sinew let it go
I'm sorry to hear that. Please try to take things whether a word or a person with a pinch of salt and kindness.
I'm just giving advice if you wish to have more success in the future
As it seems this happens often with you
And I did not ask for help
You have a track record of this happening
your account was made today. how long of a track record could you be aware of?
Right before coming here lol
Damn
He seems to have issues when people don't agree with his advice
Because he is obviously infallible :^)
you need to drop it
Anyways here's my art
like I need to somehow estimate the current load I guess?
or just leave out the header and assume the error bubbles up to where the user sees it
Yes
Toribash
A game which is inspiring me to create my own "inverse kinematics" version
Where you specify a pose and the player moves to that position
Instead of specifying the motor inputs
Yeah
But I need "real time" physics constraints
Well yeah I'm not there yet lol
But this is a big step forward
Cause I previously tried physics + inverse kinematics
And it didn't work out well
This model I presented easily integrates into a physics engine of any kind
You basically pose it about a manifold
Yeah but these manifolds matter
So we can restrict possible movement
( this may be inaccurate, earlier model )
Basically we won't let a player do what isn't physically possible
Yeah that's where the player comes in
They are our "AI model"
Just like in regular toribash
We could possibly enforce energy constraints too per turn
But idk if that'd be fun
We know how much energy is in the system because we are minimizing it via gradient descent with the automatic part
You can see the energy read out there per arm
Here is torque per joint per arm in that same simulation
I don't think we limit torque there except for limiting it by what doesn't cause oscillations basically
I adjusted it a little bit to have it do 100 steps instead of how ever much from before... basically just heightening the lower limit on torque before it gave up
We could automate that as well I presume
For more performance
Nice
Here is an old graph
We can see, as the end effector mass exceeds an amount we have a point where physics breaks down
And we can anomalously reach the end effector target again lol
So, it is best to limit the weight within that working range and re-map it to an irl weight scale
Based on how much we want our arms to be able to lift
Here is something a bit more complicated
Idk if I will try to explain that
It's ok, it requires much reading for me to build a working memory myself lol
My long term memory is not so good, neither is my explicit memory
Yeah. It's fun to become a pseudo-expert when jumping full into a project
Oh no I just am literally limited mainly by my neurodivergence, or helped by it depending on context
Adhd + Autism
Higher implicit memory
Fair enough
So... I can work at the boundary of the specifics very well, and usually do
Hence why I like philosophizing more than rigorous maths
The philosophy usually leads me to the rigorous maths
I am also good at learning things through repetition
Like guitar
Oh, and idk if anyone cares here but here is drawings
That's a cool werewolf
What was the problem?
( not rigorous yet )
Here is a paper of an existing solution
I believe my solution is faster, but not proven yet
Best I can tell you is that I have not encountered a test case where it failed
I can try explaining my solution if you'd like
Well idk if I can now... I could provide my very badly made code
pass/fail is a very different metric than time complexity. What time complexity is your algorithm?
alphazero is great for board games. idk that it’s able to do anything else
Click here to see this code in our pastebin.
Here is the script I believe
I don't have time to do things on mobile lol
Here is big solutions
So...
Smaller solutions
I obviously use python as a sketching language
Fast iterative dev
Yeah ik
( I mean't to excuse my bad code lmao )
:D
me when O(N**3) in prod
Basic assumption is that there are like 3 most basic solutions between vertical and horizontal strips
no way there's already that many videos in that arch linux series
@smoky cedar https://www.youtube.com/watch?v=9vLVS_v5y_w
Discover how to set up Selenium for web automation on Repl.it easily and effectively, overcoming common errors with a step-by-step guide.
This video is based on the question https://stackoverflow.com/q/71201650/ asked by the user 'Alex is funny' ( https://stackoverflow.com/u/15517888/ ) and on the answer https://stackoverflow.com/a/71202...
First one
thank you i will watch it
First I call an inverse funnel, second is funnel
These are pretty simplified cases
For an inverse funnel or funnel scenario
If we can detect and correct those we can presumably solve the problem ;)
Given horizontal strips over our problem binary matrix
"I just want to grill"
I need propane!!
Basic usage of this would be in a voxel engine to losslessly optimize polygons :D
peach and apple wood all the way
Nice. Seems useful! When is the voxel engine coming?
I can, given near worst case, cut your polygon usage in half :D
When I understand how to use this with an oct tree ;(
Or I can just say screw it
And use a 3d binary matrix
That is easy
Also, it would be most useful on static regions of voxels
So, given we have a minecraft clone, I'd use this on unreachable regions
Lazily
Alongside culling...
Do sausage patties have casing? (Or just too much salt to make up for the lack of barrier?)
But on average it cuts away like 70 to 80% of polygons
Not as much as triangle partition
But better than triangle dissection
( minimal )
Chickens have an insane evolutionary path. The males wake up at 4am to announce their position in a half mile radius
Anyone here use python like I do? As a sketching thing?
"Red Junglefowl"
me when I prototype with Rust
Not efficient...
Like sketching in marble
Cows are far more high maintenance than chickens
only compile times are the issue
Rust is so much more productive for me
especially for rearranging data stuff
serde is way too good
Idk, I'd still try using python for prototyping just due to shear time reduction
axum too, for web
For iterative dev
If you can't do husbandry, killing rabbits' predators is a good strategy, and why wolves are so hated in folk tales
If you're doing BIUF it works ig
I write Rust faster than Python
less code needed
the language facilities in Rust outweigh the compile time issues
extension methods are an extremely valuable productivity tool
Rust is still pretty premature with utilities but it's better than it was
I need to visualize stuff to see patterns
for data science/plotting stuff, sure, Python will be quicker to write
I just don't do that stuff
Idk I approach most problems like a collection of data science problems
Using rust for anything other than system tools seems like using kubernetes when you have less than 100 users
Yeah naw web dev is different
eh, not at all
Why write html?
Just use a framework :^)
Or chatgpt at this point lmao
Web dev is more design imo
I need to check how big the current biggest HTML file I maintain is
Just go to a illustration software to prototype
Do flow charts
seems like yes
I fundamentally dislike electron's entire existence
Electron is for CEOs
compiling SQLite for WASM has definitely taken a few weeks off my life (even if it took 4 hours)
(in the context of sqlx)
I tried doing things from scratch one time with desktop apps
Idk rust has some ok frameworks
Java is the old stuff
"A minimal Kivy app's APK file size is typically around 7MB, with the Kivy library and dependencies adding around 20MB. Kivy apps can be larger, with some reaching 35MB."
God save you if you want to make a desktop app in windows with C
sure, this is okay to deliver over the network
the 🧅
Ah yes let's build an internet
That's an excellent idea! Replacing the Internet will solve several problems. You are a genius!
The blockchain or something idfk
@quasi widget funny times
when it was praising users way too much
way way way too much
the letter O
Claude 4 Opus stopped looking for evidence of my mistress in my github repos, but the joke's on it because I'm not married
No
OpenAI is not the first mover
Or the first to move
The first mover was the dude who made the perceptron in the 70s or smth
There are two kinds of people who exist
Survivors and thrivers
Stand with survivors
It's considered a first mover for ai chatbots
ss didnt work i didnt get a permission key
Yeah, but OpenAI when they launched ChatGPT-3.0 was hilarious. They had whitepapers saying we should never allow models to have access to the internet published the same day they had press releases saying their tool use with Zapier integrations can be used for any network I/O
"Thrivers" are an illusion, they feed off others usually
!stream 745015733238497330
✅ @frosty plaza can now stream until <t:1748628477:f>.
Google and Microsoft are firmly in the black overall; not sure about Anthropic, Perplexity, etc.
The numbers don't matter if the economy collapses
Amazon is due to come out with a big announcement sometime soon
Liquid capital is less valuable than power
I bet Amazon eschews Meta for DeepSeek
Personally I use chatgpt as a work horse, it asks me more questions than I do it, without me disclosing personal info
And if my ideas are in any way stolen it is not a loss
I want them to be stolen
ugh such a giant thing by now
LeCunn pushed Meta away from the improvements everyone else is realizing, but that doesn't mean they can't leapfrog the pack three or six months down the road
( which is ofc impossible )
It provides me leads to human created resources to read
Ideally I do not inform my decisions on anything I do not read which has been created by my fellow man
And I do aimless research to make the difference
In local library, surface web, onion network
I think building ideas on principals is a good idea
Ideally the principals of those who were successful in what you want to be successful in
aliasing
you shouldn't say such scary words when there are multiple Rust devs in the VC
Hello 👀
Did someone say my name?
Hey 👋
Cya Chris
Scruffies and neats!
In the history of artificial intelligence (AI), neat and scruffy are two contrasting approaches to AI research. The distinction was made in the 1970s, and was a subject of discussion until the mid-1980s.
"Neats" use algorithms based on a single formal paradigm, such as logic, mathematical optimization, or neural networks. Neats verify their prog...
Write an RL lib and call it "Aurel"
When you get lots of technical debt you'll be resting on your aurels
Back in a bit 👋
Are PhDs like building boats? Always 2 years from completion
Or is there a set timetable
Ah ok
Oh so smooth sailing from here on out
In Greek mythology, Narcissus (; Ancient Greek: Νάρκισσος, romanized: Nárkissos) is a hunter from Thespiae in Boeotia (alternatively Mimas or modern-day Karaburun, Izmir), known for his beauty which was noticed by all. According to the best-known version of the story in Ovid's Metamorphoses, Narcissus rejected the advances of all women...
@tulip grail Pull Request
@true valley
in case of GitLab, PR stands for Merge Request
lmao
@proper ridge solution: delete repository
@runic plinth @spare trellis or, better, illumos Zones
Looking for a guy who knows programming, more specifically Python, in DM please, urgently
It's just that I need an expert to help me program my script that works with YOLO
@dense stag for SaaS, yes, it won't be static
there are these options
- running a server
- containerised
- in a VM
- running server functions (Lambda, etc.)
server functions are somewhat weird
and they lock you in with a specific cloud provider
@blazing prawn I've dealt with both
ASP.NET is such a backwards way to do anything
assuming arbitrary-ish code
I suggest you first just get any server running correctly locally
this has a Dockerfile
so you can deploy it as a container
never put AI near security
Next.js is "fullstack" (in web sense)
backend+frontend
I'm trying to deploy that on Vercel currently
@ashen willow "VB.NET so that they learn early that programming is suffering"
Python is a good first choice imo
learn Python and C in parallel if you can
if you want to learn based on how influential the language is, then ALGOL68
no one else here probably even knows what ALGOL68 is
there is a funny part of the talk by Venkat Subramaniam about teaching Java to beginners
"you don't have to know that yet" being the most common phrase there
:incoming_envelope: :ok_hand: applied timeout to @deep island until <t:1748796880:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
Hi there!
I'm a Professor of Computer Science at the University of Nottingham. I enjoy making videos about functional programming - here you can find videos for my introductory and advanced Haskell courses, and also the videos that I've made for ComputerPhile.
Hope you enjoy watching :-)
Graham Hutton
hiya
@random minnow legendary IDE
and legends is where it should say and never get out
@autumn raft imagine being taught anything other than Pascal
I didnt learn anyting in college anyway 
enterprust
truly "the way of the future"
tbf it would've been, like, 5x more lines in Python
If monads are so great then why does nobody use them in Python?
!d typing.Awaitable
class typing.Awaitable(Generic[T_co])```
Deprecated alias to [`collections.abc.Awaitable`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Awaitable).
Added in version 3.5.2.
Deprecated since version 3.9: [`collections.abc.Awaitable`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Awaitable) now supports subscripting (`[]`). See [**PEP 585**](https://peps.python.org/pep-0585/) and [Generic Alias Type](https://docs.python.org/3/library/stdtypes.html#types-genericalias).
I'm rearranging another giant file
(line count)
moving methods from one trait to another
only 204 methods total
judging by the examples from the Clean Code book, this is too few methods
time to add another trait
According to AI, Clean Code philosophy indicates there should be fewer methods: https://chatgpt.com/share/683cc33c-83c4-800e-8964-c6360d738566
The Book vs the AI
no, Clean Code, as stated by the book, is absolutely not about fewer methods
I know, but its reasoning is pretty convincing from my recollections on the book.
I wonder what is the largest method/function I currently have
iirc it was just over 1000 lines
but they're all quite flat
and traits too
just a giant match statement
1.5K
(not including the argument list)
I could codegen it instead
but that's a task for later
because it's not immediately worth the time
and long term benefits aren't clear either
I still believe it should've just been solved with AWK
split
awk or split
ed I mentioned for another reason
it was in response to "vim takes X minutes to load" comment
if you want full parallel SIMD, go Fortran
re-implement split with SIMD
like simdjson
if it compiles in Rust and works correctly, you can then translate it to Python or whatever else
reference implementation, in a way, rather than prototyping
brb, focusing on code
my voice is supressed give me sec
oki
@cunning wraith 👋
Hello!
!voice 🙂
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I got a question, is 4.3GB/s (cached read) good on a SATA HDD?
I verified, I just don't wanna unmute rn
cached means you're not actually reading anything
SATA cannot go above 6gbit/s, and, assuming it's 4.3gbyte/s in your case, that's probably an OS cache not disk cache
actively escaping from C++
I'm going to attempt eating 100% chocolate
I think I have one project in PyCharm with custom background configured
idk why
PyCharm allows both global and per-project
VSCode probably allows per-workspace if at all
(not the first time)
as you've probably guessed, it's not sweet at all
I'll try buying 90% next time
this is just one very small piece not the whole bar
I don't really like sweet things that much
80% was quite good
the bitter things I eat/drink are normally way too sweet
what if spectators whistle
during the race
also my VPN died I think
idk what is happening
I think the internet is getting blocked
hmmm
no, something off with the PC specifically
last time similar things happened it was that
okay I'm back
hello
Hello
hey how are you
hi @copper void
i am fine thank u wbu
what are u working on?
currently on vue
nice
could u repeat sry?
yeh i can hear u
yes i am not speaking 😆
ru indian?
han bhai
1 minute
hey
@old anchor 👋
Sup
One day I’ll be able to voice 😮💨
Is there a way to know how many msg I have sent ?
Anyone have experience with smart contract
On polygon or eth ?
@stuck bluff any experience with telegram bot building ?
What do you think I’m gonna use it for 😄
given its telegram, either selling drugs or worse
maybe uiua can be good for something similar
it does support animations
code
output
this is weird
how does it parse that
more animated uiua
three lines of code
⍥◡+9 .1
fibonacci numbers
[1 1 2 3 5 8 13 21 34]
this is what it outputs
@gray fern 👋
!stream 1319370380078743584
✅ @sinful panther can now stream until <t:1749138630:f>.
✅ @winged gale can now stream until <t:1749139723:f>.
why is steam popping up?
@umbral rose do you wanna se my language ? named sushi ??
brb
Media Center was first introduced to Windows in 2002 on Windows XP Media Center Edition (MCE). It was included in Home Premium and Ultimate editions of Windows Vista, as well as all editions of Windows 7 except Starter and Home Basic. It was also available on Windows 8 Pro and Windows 8.1 Pro as a paid add-on. It was discontinued as of Windows 10 and the operating system also removes all of Windows Media Center during an upgrade from previous versions of Windows, although it can reportedly be unofficially reinstalled using a series of Command Prompt commands.[1][2][better source needed]
not sure I believe all of that
it came standard on 7
vista needed a hgiher version
Vista was not too bad if you actually used decent enough hardware, problem was underpowered hardware OEM shipped with Vista
and it died with 10
Becuase
it's a basic OS for the home...
not a media center...
How is that dumb?
wasnt vista larger than 7 when installed
It was included in Home Premium and Ultimate editions of Windows Vista
this is what I wanted to show you
Windows Media Center (WMC) is a discontinued digital video recorder and media player created by Microsoft.
Ooh, the other channel is free
do we go back
Microsoft does a great job of not telling users about features
so features go unused
Why not just netflix.com?
I've never bought individual stocks
I've got kids over 8
most Americans don't have the luxury of just buying random stocks they think will do good
You know, food on the table
mortgage, etc
lol
Sure, before 2008 Americans were all doing great
bahahahaha
The 08 crisis might be the first time you noticed how shit things can be
My ass grew up poor before the 08 crisis
poors have been around for longer than 2008
@winged gale you can just directly depend on git repo
instead of pypi package
thats what i do usually for python
its even slightly compatible with -e flag iirc
it needs some specific format
i dont remember how it looks
uv add git+https://...
if you use uv
ah
@winged gale then just pip install -e path/to/dep
its "editable"
(you might have to run that again if transitive dependencies change)
from an activated venv
if you only update python code, then changing python code in the dependency will change it in the dependent code
because its kind of just a symlink
it should, yes, thats what -e does
i also like to use multi-project workspaces
with a single venv and lockfile
so that everythings synced
uv is quite easy to work with
it uses pip inside
moreso alternative to poetry
poetry is another project management thing
Python dependency management and packaging made easy
uv also updates pyproject.toml
so that all dependencies and python version requirements are there
ive given up on conda forever
im not coming back to that
miniconda
@winged gale what are you building it with? something like make?
seems to be cython
which allegedly used to support -j
I am struggling with python
well you could ask in VC?
darn
pluh
darn is right
you could do ask in the help channel
whats the problem?
you can join vc just you wont be able to talk
I tried typing on the vc text and still nothing
eish....I'll see
Thanks for replying
@winged gale tbf, in that particular situation we all know that you or rabbit wouldnt be the ones to get moderated
✅ @sinful panther can now stream until <t:1749143692:f>.
Are you Scottish? 😄
product
Yeah, product
numpy.prod(a, axis=None, dtype=None, out=None, keepdims=<no value>, initial=<no value>, where=<no value>)```
Return the product of array elements over a given axis.
!e
print("\N{greek capital letter pi}")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
Π
that symbol
Whatchu working on? 👀
!e
print("\N{greek capital letter sigma}")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
Σ
sum
prod
Wha- I didn't know this was a thing
.wa short 33 in to cm
83.82 cm (centimeters)
!e
import numpy as np
print(np.prod((1,2,3,4,5,6,7,8,9,10)))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
3628800
.pyx is the file extension for Cython
!d extending
!extending
wherrrrr
!extensions
idk if we have command
It's a variant of Python that gets compiled to C, although I've yet to really explore it
@winged gale Is there a like "optimise for text" option in the Discord streaming settings?
in c++ youd be using templates instead
It's more the compression
💥
✅ @winged gale can now stream until <t:1749144490:f>.
No border is more the fashion at the moment. Like, flat design.
Ah, I was once really good at CSS
I did web design long before I got into programming
im as good at css as i need to be
nvm, not really wanting to play right now
Things to check:
- Are you saving the file?
- Is it the right file?
- Is the relevant line of code being run? (try adding a print statement)
- Is the change you made actually visible? (try changing something obvious like setting the background to
#ff0000)
the only game im going to play requires attention, and its not the time for that right now
(even though its just reading)
@sinful panther 
Oh 
can you show the code again?
@sinful panther have you tried using a different colour
Try setting the border-color property (to red or something).
¯_(ツ)_/¯
Were the values in border: in the wrong order or something?
Idk if that makes a difference 😄
But I guess so
What's an advanced array?
Oh, sorry 😄
What're you trying to do currently @winged gale ?
@winged gale Oh this should be simple, but I need to think about it for a second haha
So essentially you're trying to shuffle each row of a 2d array? @winged gale
@winged gale Right, gimme a sec to think, and try it out in python.
why is the other widgets i set the background color for not getting that new background color?
