#voice-chat-text-0
1 messages · Page 561 of 1
but python doesnt mind printing plaintext files im guessing?
nice
json, gzip, zipfile, csv etc are all builtin imports
which is faster, using pyjq or starting a subprocess to invoke jq?
pyjq is pythons implementation of jq
regardless, pyjq will be much nicer to use
jq is the shell program you use
i was curious which one would read a theoretical 100GB JSON file faster
....
whats happening with email
ah ok
Well, technically, I'm not sure. You'd have to test. Practically, it shouldn't matter so much
The subprocess interface will suck, which is why pyjq exists
however despite all that
Please
for the love of god
Dont use
100gb json files
as dictionaries
holy fuck
stop
please
it's already dead
i was thinking secret keeping
just regular json and engaging with it should work. Or sqlite
json is fine for anything below ~100mb
above that we have orjson or something, but above taht the answer is use something else
Python has a variety of deep storage modules, sqlite is good past several gigs, and past that use a real database
how do I pyut this
a database is not optional
once you have >100gb of data, you are using one
"but I'm using jq" it's a crappy database implementation
doing all the things a database does
is this a silly beaked bird
what about 100mb of data, i only used 100gb as a theoretical extreme
but i realize 100gb of text is insane
the builtin json probably handles it fine
you could drop in orjson and be certainly fine
out of curiosity what is the best database implementation for storing primes though
ive been wanting to create a private collection of primes
only needing to look at one prime at a time i suppose
is there a way to calculate the amount of storage space you need for storing n amount of numbers?
like if i wanted to store 1 billion numbers
!e ```py
a = list(range(500_000))
import json, time
file = open("data.json", "w")
before = time.perf_counter()
json.dump(a, file)
after = time.perf_counter()
file.close()
print(after-before, "to dump")
file = open("data.json", "r")
before = time.perf_counter()
a = json.load(file)
after = time.perf_counter()
print(after-before, "to load")
file.seek(0)
print(len(file.read()))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 0.20153129613026977 to dump
002 | 0.05334757803939283 to load
003 | 3888890
data.json
too long to upload
4mb takes .2s to save and 0.05 to load here
Yeah this sounds like something youd' want to use an HBM store for..
wrong abbreviation
oh damn ive never heard of this ram
https://en.wikipedia.org/wiki/High_Bandwidth_Memory
High Bandwidth Memory (HBM) is a computer memory interface for 3D-stacked synchronous dynamic random-access memory (SDRAM) initially from Samsung, AMD and SK Hynix. It is used in conjunction with high-performance graphics accelerators, network devices, high-performance ASICs, as on-package cache or on-package RAM in CPUs, and FPGAs and in some s...
IT's a scientist thing
HDF5
this is your "my dataset doesn't fit in ram" storage tool
imagine getting your ram blown up by 1 billion primes 
You may also want to look into parquet
Also I actially did that!
I wrote a prime number calculator and ran it into the 100 billion range
I think
or low trillions
It ran out of ram and I had problems :3
wheel sieving?
100 BILLION primes
ikr
your calculator responded how the president did to dr evil
My main performance issues were:
printing each number
and reallocating the storage space
Primes are antiregular
Lol
No, it actualyl cannot be
that's the trick
Primes are only defined as an absence of all other patterns
The current best generation method is to literally construct the patterns and extrapolate them and then look in the holes
IT's why they're fascinating
the riemann zeta function is a good approximation
the number 7 :3
it has yet to be proven/disproven
actually the function itself is legit, it was specifically the claim that the function maps well to primes that has yet to be proven/disproven
@somber heath i think they might mean they dont know how to bake the icons into the actual system
lol
@craggy vale im trying to figure out how to cross compile linux kernel to run on this tiny thing
it is the size of the tip of my finger
what is that micro controller ?
m5stamps3a
The reference docs for M5Stack products. Quick start, get the detailed information or instructions such as IDE,UIFLOW,Arduino. The tutorials for M5Burner, Firmware, Burning, programming. ESP32,M5StickC,StickV, StickT,M5ATOM.
it powers the cardputer
ESP32-S3FN8
https://gojimmypi.github.io/ESP32-S3-Linux/ here's a random tutorial from google
Embedded Linux on the ESP32-S3 This is a newbies guide to Embedded Linux on the ESP32-S3. Still actively WIP. Yes, you read that correctly: Linux on the ESP32-S3!! Way cool. Some may even call this the dawn of a new era. If you are experienced at building Linux kernels, you may wish to simply just head to jcmvbkbc’s instructions at wiki.osll.r...
I saw a few more
i need to purchase PSRAM cuz the internal memory of the xtensa cpu on the chip is too tiny to fit linux kernel
The first company that figures out how to shrink ram again will be the richest fucks imaginable
@somber heath @craggy vale cool thing about cardputer is they fit a python repl on there
i printed hello world on that thing
8mb
This doesn't have all of what I want, but just look at this gorgeous form factor. https://www.ruggtek.com/en/product/rtl510-industrial-rugged-linux-tablet/
what is cardputer
this is the cardputer it is the size of a credit card
You know what I want?
I want apple to stop being a bunch of fucks
and release their chips out
look at this crap
?this?
yeah thats it
👌 nice
it has lego mount ports
imagine IOT constructed out fo these
it fits under the top of the phone
the wghole back of thephone has no chips, just a brace and a battery
call it a macrosd card and reuse nvme
has a repl, a wifi adaptor, and some other doodads like microphone and recorder
size example
@craggy vale raspberry pi is like 300$, cardputer is 30$
if software enshittification wasn't going at maximum coal power
we coudl get a pi zero for 50 bucks and stick it in a keyboard and run normal things on it
but unfortunately we have to support microsoft teams
Imagine true modular computing
alright
@somber heath @mighty linden
gyz, leaving for 10-20 mints
The complaint tablet to Ea-nāṣir (UET V 81) is a clay tablet that was sent to the ancient city-state Ur, written c. 1750 BC. The tablet, which measures 11.6 centimetres (4+9⁄16 in) high and 5.0 centimetres (1+15⁄16 in) wide, documents a transaction in which Ea-nāṣir, a trader, allegedly sold sub-standard copper to a customer named Na...
Take the cannula.
Cannoli are Sicilian pastries consisting of a tube-shaped shell of fried pastry dough, filled with a sweet and creamy filling containing ricotta cheese. Their size ranges from 9 to 20 centimetres (3+1⁄2 to 8 in). In mainland Italy, the food is commonly known as cannolo siciliano (lit. 'Sicilian cannoli').
In culinary traditions across Sicily...
hi
just popping in for a bit
very unstable wifi here though
i miss when it was green
very therapeutic
oh well
now i must away
Why do older generations think younger generations are foolish?
@tiny oyster 👋
Apologies for intruding
I mean the same mindset as class or capitalism.
Richer thinks the poor are foolish
Why do younger generations think older generations are foolish?
Read the sentence again
🗣️ gu-knor
Knorr
nor
English is Germanic language
ignore
igknorr
Knorr gate
🗣️ ke-nees
opalmist use that
@crystal fox can i scrape it?
i can scrape it to get the jokes from that
ur late
my ke-nees hurt
the idea of intelectual properly was to create something, and make sure only you can take advantage of that creation in exchange of you share how you create it
now they add a rule so that there's a way to hide some details on how its done exactly
copop copy
still no embed ._.
Mechanistic interpretability (often abbreviated as mech interp, mechinterp, or MI) is a subfield of research within explainable artificial intelligence that aims to understand the internal workings of neural networks by analyzing the mechanisms present in their computations. The approach seeks to analyze neural networks in a manner similar to ho...
Does it really matter to all of us to learn such things?
AI is not a bubble
It is next internet
AI based application can be bubble but not LLM itself
because we have limited LLM
biggest concern for leading AI company like OpenAI is energy and profitable business model.
Most people want almost free AI because they think robot cost no money.
OpenAI is dependent on US govenrment.
Without government it would have been out competed by Chinese LLM
I hate those startup which make use of existing LLM as their main feature of product.
I mean you have little to no inovation
I'm working on ARC-AGI, loss landscape smoothing, and CAFA 6
every startup AI is just a openAI wraapper
on on the research part huh
Those startup are part of bubble and openai itself is not bubble
yeah...but for work i work on deep learning systems for ranking and rating systems like OpenSkill
!pypi openskill
every startup AI is just a openAI wraapper
that's more or less my profile status lol
yeah like video games MMR systems or ranking documents etc
i just checked lol
As long as UK has good economy it would be matter of concern if things went wrong with UK.
If it becomes below top 10 or 20, most likely it would not be matter of concern if things went wrong with UK.
!e
print(type(list()), type(tuple()))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
<class 'list'> <class 'tuple'>
@paper wolf To code faster. think first act later!!
To go fast is to go well
Coding not the most difficult part for me
understanding problem and finding solution for such problem is second most difficult part of programming
coding is just 5 minute work
How many hours did you actually code?
How can you type 8 hours a day straight
no live :D
It's not possible to type code for 8 hours in a day
i just did lol
So you give yourself no time to think about problem and solution
you just code and code
programming is mentally exhausting
I don't think so
coding is something my hand can do without looking
So can I do
but difference is I think before and create multiple possible solution in my mind.
Then I code
thats how i can code 8 hour+ daily
After that most difficult part for me is debugging
but solving a actuall problem on the code
actually coding is 2 hours at most
about 10% of that
im just blindly writting stuff checking what works
No wonder you are mentally exhausted
but my brain is dead thinking 30 things at a time
Can you solve problem without thinking about code in your mind?
If you can, you should be not coding over and over again for the same project.
yeah but my brain is solving other problem on other projects i havent finished
all at same time
@paper wolf This is my approach, both in learning and in practice:
- I have a book with me
- I use this book to understand problem and write possible solution, it has no code just some maths and random diagram
- After understanding all possible solution as much as I can within a mind, I code it takes 5 to 10 minute.
- Now If I face any problem with code, I do debug which is most difficult part of coding.
- So most of my time is in fixing debug instead of writing a code for solution of problem over and over again.
Intrusive thoughts
What did you wrote?
Did you wrote a pseudo code in it?
no i write english to explain how the code should work, sometime i write oython code
Quite different
i even simulate the state of the code for each step
i suck at math on that time so i dont do math ._.
visual is not my thing, i suck on visuals
You have to learn and make use of basic maths for CS
It is good pratice
i know a bit of math now
I don't know what could be best pratice for you..
Best advice would be
theres no lol, im super new on programming world ill discover it sooner or later
but its def not now
Take notes on your activity during code
understand root problem for your exhaustion
look for reason
find possible solution which you can do
and practice those solution which you think can help you..
bo-a-wo-a
@paper wolf Do you have any particular specializaiton?
no...
Now it made sense
i write code stuff that interest me at the time
you must be doing so many stuff at the same time
yes
like game dev, web dev, so on
Choose one and invest most your time in it
i did that but it ends up fail cus i dont know how to structure a code
I do understand but this is part of learning
now im doing other project to learn a specific things
So far which of those 8 you enjoy most?
To do application in cpp?
@crystal fox 9!!!
So you like coding in cpp.
yes, it was my first large projects to
that includes more than 5 files
Gotcha
it was my first large project for over 2.5+ years of my coding journey
Damn
im slow idk 🥲
So why don't you learn more about cpp and make use of those learning in related field
my brain is noT working
wdym?
Explore field like Game Development, API and backend in cpp.
How many different language you use @paper wolf ?
2 mainly but i know 3
Good to know
I use 3 language and one of them is main.
other lang are more like optional
I'm focusing my energy on one specialization or stack
instead of exploring multiple field, I'm exploring multiple thing related to same stack
i cant even finish creates how ill start creating a game ._.
Everyone starts at 0
i mean yes for sure but, i cant even finish a simple logic gate simulator app how ill make a entire game ._.
i can probably make a pingpong...
Do not doubt yourself
I did not know coding
*programming
but somehow I was able to code in c# and make game in unity
yeah cus of unity
its same for me when i created the first ever code i wrote
You can use unreal
its just a simple emulation of a custom CPU architecture
my pc cant posibly run that
I wish you could afford a better system
how about API and backend in c++?
tell that to our goverment 🥲
You can do that?
i can probably do that
which gov?
So am I
but component make it easier
learn react and make use of existing component for UI
im a low level guy, i never search for frameworks or libraries, i write a altenative
like most of the thing youll see on my projects barely has imports
IOT?
Ig this is best.
IOT?
????
anyways its alr time ill sleep now we have 7AM class tomorrow
Bye
im not embed dev
i dont even have embed hardware
any sysinternals geniuses here?
hello
what's up? guys
I created my first Full stack application. Don't froget to look once
Have a nice day 😊
I hope you liked it 😁
Hey how are you guys . Can't speak in voice call bcz my mic is suppressed
you sound very smart 🧠 yourself.
maybe we should ask you about sysinternals.
immigrants doesnt always have choice
most of them are forced to leave their country
Is he the same guy as early?
I mean he was racist now he is tech enthusiastic
Remember when Sam Altman said AI data centers in space? Turns out that’s bs.
When has Sam ever said anything worth any credence or worth the time spent listening? I can’t recall a single such instance
Open-source tool to visualize, audit, and secure AWS IAM roles, users, and permissions. Designed for DevOps & cloud security professionals. - MaheshShukla1/IAM-X-Ray
why would u say that
knowing about sysinternals alone is evidence enough for me.
anyway, you should ask your actual question, I'm sure if anyone knows, they will answer.
@wind raptor hello i cant tallk
yet
@wind raptor excuse me bro whitch domain u use python on
hey!
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
not segfault were you named lele in the afternoon
what's reliable chatbot that's free nowadays to code?
hhhhh
with vscode
do you know something about it ?
otherwise most of the models have free plans but very limited use
okay bro i do selflearning i start with python and sql and know
i dont know what to do next
doing anything on your own takes a lot of time these days
i am i in the right road ?
someone else was talking abt antigravity previously
some people at yale dont like using computer?
i know but with python i can hadle oop very well and in sql i can create databases and tables
ecommerce.... googleanalytics, keywords, ads, and all.... not code odoo
how to deal with scammers on fiver
I should be writing docs for https://tagit.parrrate.com
but still haven't done anything in that regard this week
asking for email and links and all
very slow progress
they say ive paid can you proceed or are they real /?
emptiness
yes
Hello my bios
How was days?
Damn
I hope so
How about you?
Are you healthy and fine?
All of the fellow member have cold?
I can hear your cold in your voice
I heard a sound of breathing in mucus from nose
Okay
it also pulls the tag message from the changelog
https://github.com/parrrate/opentagit/releases/tag/tagit-core%2F0.3.3
May I ask you personal question?
which question
What are your perspective on me since I have been in the server and talking to you and fellow members?
what do you think what age I am and level or EQ and IQ on your mind suitable for me?
chris what have you been working on
wow!
How are you doing today mindful
MongoDB is collections based db
I understand some theoretical basis of it
the whole ideological basis behind NoSQL
i do a bit of everything is mytype of dev
depends on the risk taking capacity of the interviewer
interviewers will generally prefer if the candidate appears specialised for the specific things they ask for
based on the assumption the candidate spent more time on those things if they didn't do anything else
XML HTTP Request
JavaScript API
what fetch replaced
learn both, languages are heavily involved in representing those concepts
then the backend and lang
@whole bear do you know how to implement a compressed trie?
@wind raptor are you still having mic issues?
might be a threshold issue because speaking quietly, or just Discord being weird
let's sync it here? then like these that are doing
making your own company means paying tax twice: sales and salary
tax is always charged on profit after expenses so that's not an issue
ok
Bye
Reward and Risk are equally high
and your wealth grows on equity (you'll have to go public)
People like me have a low chance of being hired
yo
Nope
Equity is an asset that has value only if it has demand.
If the company is private and small with small revenue and profit, equity has no value!
every seed has a potential to become a big tree one day 🙂
But only 5% grows
Not every
Simple law of capitalism:
There will be a depressed class
ive written some functions in bash
FastAPI is a DI framework for starlette
a hypervizor? or did i mishear @pseudo helm
@pseudo helm you mean tech support doesnt support distros that arent enterprise?
@echo bison ive been messing around with bash
#!/bin/bash
declare -a incnumbers
numinc(){
num="$1"
inc="$2"
ceil="$3"
incnumbers+=($num)
while [ $num -lt $ceil ]
do
numinc=$(( $num + $inc ))
num=$numinc
if [ $num -le $ceil ]; then
incnumbers+=($num)
else
continue
fi
done
}
numincout(){
for items in ${incnumbers[@]}
do
printf "$items\n"
unset incnumbers
done
}
@echo bison declare -a makes an array
unset means it flushes the array
because if i call numinc and then print its array and then call numinc again and print it, that array is gonna just expand
you can ask @midnight agate if you want bash advice
#!/bin/bash
source ./test.sh
numinc 0 3 31 && numincout
Zsh
ive heard dash is nice but i have been hesitant to use it
Terminal
#!/usr/bin/env bash
the if statement is important to prevent it from adding beyond the ceiling to the array
!e
Dioxus | Fullstack crossplatform app framework for Rust https://share.google/9R7KbcIhXpzolh2a2
A fullstack crossplatform app framework for Rust. Supports Web, Desktop, SSR, Liveview, and Mobile.
this is what's being asked
if [ $num -le $ceil ]; then
incnumbers+=($num)
# else
# continue
fi
done
Anybody used it ?
don't shorten links please
share.google looks suspicious
Ok
!e
#!/bin/bash
declare -a incnumbers
numinc(){
num="$1"
inc="$2"
ceil="$3"
incnumbers+=($num)
while [ $num -lt $ceil ]
do
numinc=$(( $num + $inc ))
num=$numinc
incnumbers+=($num)
done
}
numincout(){
for items in ${incnumbers[@]}
do
printf "$items\n"
unset incnumbers
done
}
numinc 0 3 31 && numincout
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m3[0m
002 | declare -a [1;31mincnumbers[0m
003 | [1;31m^^^^^^^^^^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax[0m
the full link even seems to be shorter
https://dioxuslabs.com/
A fullstack crossplatform app framework for Rust. Supports Web, Desktop, SSR, Liveview, and Mobile.
so it's not really even shortened
it would probably print 32 instead of stopping at 30
yes
@pseudo helm its a hyrax
it got almost a whole line without a syntax error
related to elephant
numinc(){
num="$1"
inc="$2"
ceil="$3"
while [ $num -lt $ceil ]
do
numinc=$(( $num + $inc ))
incnumbers+=($num)
num=$numinc
done
}
what a random group of animals
@echo bison function(){...} is a function syntax
I'm just simplifying what was there a bit
"it's a trick to make it look like we're criticising your code, not that of some beginner"
@echo bison smth annoying about it having () is that you actually cant put anything in there, if you wanna define parameters you need to use the positional symbols $n n being natural numbers. there might be a maximum but idk.
sounds inconvenient haha
but to make it nicer you can do something like var=$n
the water mammals seemingly come from so many random taxons, since this is not the one with whales
why is this not a word in this dictionary
and just `taxon' is
I was just pointing out one thing without refactoring the rest
it is though, right ?
my bad
plural of taxon
Are you hating me for no reason?
ah, because taxa
British
you need to set the first value of the array to be the initial value of $num or it wont add it, the while loop is to add the rest of the numbers
okay so taxons is apparently not entirely a word
Pardon me 🙏
proscribed + US-ism
This is setting the first value because I don't update num until after
This also won't add the number if it starts above your ceil
oh i can get away with using variables inside of $(()) without needing to put $ next to the variable name?
It was unintended as I wrote it, but intended when I pushed enter 😉
for variables
Could be
Thanos gonna Thanos
dont dissappear oh great bash wizard
ah, it's the one that had some scope creep catastrophe iirc
accidentally overhyped
when the company that didn't bother with developing software too much
Hello 👋
hi
I was curious to ask, is it permissible to ask for anything related job?
@wind raptor
I'm looking at the server not dying of heat (for now)
long time ago, before the proper cooler was installed, it did sometimes rise to 90 degrees C
@wind raptor what a scrummy remark
I'm glad someone noticed
I have an image somewhere where it's Shrek poster but instead of Shrek it's Scrum and I still can't find it
haha nice
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the 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.
proper syntax highlight
https://paste.pythondiscord.com/BKUQ
you can derive Default if you want a quick way to implement filling all fields with zeroes, however that doesn't work in const contexts
add and sub should probably be impl Add and impl Sub instead
so that + and - work
and scale would be Mul<f64>
doing normalisation for force calculation sounds a bit off
.norm() gets called twice
and in one of the cases it then undoes sqrt
I will just sit with you for a bit, if you don't mind
if calling with such data is a programming error (bug), you can use panic!()
https://paste.pythondiscord.com/BKUQ#1L55-L55
file 1 line 55
if distance == 0.0 { return Vec3::zero(); }```
also probably zero not empty
https://paste.pythondiscord.com/BKUQ#1L52-L52
file 1 line 52
// if the distance == 0 return an empty vector```
.
empty vector is vec![], a collection
norm can be split into two methods, with one of them returning it squared
@heavy zenith JS
distance*distance
this undoes sqrt
sqrt is expensive to calculate
this is multiplication by 2
the classics
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed
return y;
}
@heavy zenith for this one it's fine
in C++ this is UB
i = * ( long * ) &y;
ohh you right
in Rust, you need union there for it to work
Gotta make some dinner. Cheers
On JAL you get one hour of free wifi for each email address you can name
Pretty sweet deal
@heavy zenith I don't think you'd lose much because of precision, but, from what I know, modelling it is excessively hard for different reasons
FFT and operations adjacent to it should be fine with f64
(iirc that one is needed for doing the "compare everything with everything" kind of operations)
there are existing implementations
Rust itself doesn't provide types for it
A complex number in Cartesian form.
databases belong in containers
@crystal fox containers are not VMs; if code runs in a container, then it runs on bare metal
@crystal fox installation and maintenance of installing outside the container is waaaaaaaaaaaay more complicated
BSD Jails, one of earlier containerisation techniques, have been around since 2000
@patent chasm especially with Alpine for the container: directly binds to syscalls instead of going through glibc
@last mantle 👋
Hi
I'm really new to coding just started learning by myself around 1 month ago.
Currently I work on a little side project about student enrollemnt system haha I confuse about save and load with json right now haha
yeah yeah I have to learn a bit about json library stuck here for few days now haha
yep I do clean code seperate file and all those stuff
✅ clean code
❌ Clean Code
with FastAPI and things alike (e.g. axum) there's at least somewhat less of explicit parse/unparse calls
(for JSONing/unJSONing)
there is a thing that combines Pydantic and SQLAlchemy
time to look into SQL it seem
I will take note of that graph vector got it
using graphs here sounds like a bit of overengineering
need to have enough non-trivial connectivity to justify
after this project and more of basic fundamental stuff also want to create mini 2d game in Python from scratch with its own engine may be try Pygame or something like that. It might be good project for learning I think.
basicaly makes everything in his db a json node that he can manpulate faily easly via json
and then append stuff to each student node
Wow, printer mafia exists? sound so bad.
im rookie but i cant wrap my head around why solutions in python are just so slower than in c++ or even c or rust . python is easy so i like doing it for CP but idk
@somber heath
@somber heath
please don't abbreviate `competitive programming' like that
I'll address this in a moment.
I didn't see it until just now.
A nice thought on the human condition.
@inland gorge I'm ready to talk about that now if you like.
@whole bear 👋
@rugged gyro 👋
!!
@somber heath im here
hello
that makes sense would u say python is just a really well done domain specific language kindof thing ?
yea ive had opprtunities to. do questions in like 1 or 2 lines in python against like 10 lines in C
do remember: GIL-free Python is slower for single-threaded workloads
so not always getting faster
JIT is happening
that might be a more universal improvement
match got way faster compared to what it used to be
(match used to be strictly slower than equivalent if structures)
Insta: https://www.instagram.com/sagaloreai/
Support this channel on Patreon: https://www.patreon.com/SagaLoreAI
Find the music on Spotify: https://open.spotify.com/artist/4qPVArUGOBf0PBCv0Sdbxk
Find the music on Apple Music: https://music.apple.com/br/artist/saga-lore-ai/1798511370
This video is an AI-generated parody. No real people or minors...
the true use of AI
Sadly no SPI pins 😭
Meaning I can't interface with the SPI pins on the CPU
@somber heath how are you have you seen any birds today
A few.
for whatever reason, I had this issue exclusively with Chrome
(with Firefox running into "Checking Route" instead, usually)
odd
Mt. Buggery.
Mount Buggery is a mountain located in the Alpine Shire within the Alpine National Park in the alpine region of Victoria, Australia. The mountain is located on the end of a ridgeline known as the Crosscut Saw between Mount Speculation and Mount Howitt, both located 4 kilometres (2.5 mi) to the south of Mount Buggery. The mountain is located on t...
@undone frost my internet is fucked lol
It would be Japan.
<a href="http://www.example.com" target="_parent">Open Link in Parent Window</a>
@mental lion 👋
@little valve 👋
Welcome bro
@solar smelt 👋
Did you make your own os?
Kool
It's winter in our country but still 26° ☠️
yeah it's called CatOS
it's a debian based linux distro
now I'm trying to make it more and more optimized under 1 gb removing some stuffs from my os this is going to useless so yeah
hi
dude ur mic is on
what just happend
?
@candid spire sry i dont have a mic :(
WeirdBoi thats correct :)
anyone wanna see one of my projects?
ill stream it in Live-Coding vc
why cant i stream??
idk
I mean it says LIVE coding
wait
let me try to send a video
here's a screenshot, my program is a autoclicker. heres the test result
its 1096 CPS
import threading
import time
from pynput.mouse import Button, Controller, Listener as MouseListener
mouse = Controller()
clicking = False
running = True
def click_loop():
while running:
if clicking:
mouse.click(Button.left)
time.sleep(0.001) # Adjust click speed here
else:
time.sleep(0.1)
def on_click(x, y, button, pressed):
global clicking, running
if pressed:
if button == Button.x1:
clicking = True
print("Autoclicker started.")
elif button == Button.x2:
clicking = False
print("Autoclicker stopped.")
# Start the click loop in a separate thread
thread = threading.Thread(target=click_loop)
thread.start()
# Listen for mouse button events
with MouseListener(on_click=on_click) as listener:
listener.join()
this is the code
I'll try
I can change the speed
Is it using python because I've been wanting to make my own os
nope it's a debian based os so it's based on c and c++ and ui is js and css
interwoven with a story
@whole bear
SLACKERS!
@dry jasper are there some websites that I can practice my basic python knowledge on?
programiz
What are we talking about?
Hi
Where
Did you got your answer?
Where
I have no idea what are we talking about
F it
I have no idea
I lefft
Guys
You think AWS certification worth it? I mean to data field
Yeah
Because I'm in the same sittuation of the sofus
Oh sorry
Thouzand was the one who are a begginer in data :
?
Ahh ok
My bad
Anyone here work with data science?
Could you repeat the name, please?
Hi guys, I am new to this space
Can I get a chance to talk?
Nice tips, Animmo
Another lovely day
I don't qualify to use voice chat lol.
I am a GIS & Urban Planning student in my final smester but unfortunately I failed for final GIS class because the course was related to Python, especially Arcpy and Numpy.
Just want to ask a question - is it realistic to learn Python in 1 month?
Not ata the moment
was thinking of loading it up
it is lunch time after all
Satisfactory
the game I was playibng
yes
I guess he is playing a game which everyone plays
Oh, rimworld?
life
Rimworld is the colony sim, Satisfactory is a 3D factorio
but worse
so much worse
Rimworld is one of the best games ever
as is Factorio
Rimworld is a colony sim
A story generator
Thouzand
were are you from?
Those who are born in US are lucky af
they can buy gun
I can play real life pubg
police will play pubg after you win
takeshi's castle
I got plan
I will play pubg with them
and will you hit them body shot or head shot?
Poisoned donut
would be enough
It is weakiness of cops
after bribe it is second most critical thing for cops
You are from netherland bro
cops over there are chill
lol, the majority are not terribly lucky
US cops are interesting, it is army disguised as cops
bro has analyzed whole world police attributes ig
Everyone has right to bare arm?
Not everyone
!8 +?
All sorts of reasons to take em away
Not really a right
in my book
if it can be taken
More like permission
I think police should have bazuka
that can be revoked
normal gun ain't enough for them
I think I should be able to have an atomic bomb
self defense, ya know?
SHALL NOT BE INFRINGED!
why atomic bomb?
Technically to have an H bomb you gotta have an A Bomb rihgt/
Yep
but atomic bomb is slow death
either one should suffice for self defense
hydrogen bomb is instant vapourized death
Don't Be a Menace to South Central While Drinking Your Juice in the Hood movie clips: http://j.mp/1JbABsT
BUY THE MOVIE: http://amzn.to/uTWJoC
Don't miss the HOTTEST NEW TRAILERS: http://bit.ly/1u2y6pr
CLIP DESCRIPTION:
When Toothpick (Darrel Heath) and his gang threaten Ashtray (Shawn Wayans), Loc Dog (Marlon Wayans) comes to his rescue.
FILM...
clip so good it's worth watching the whole thing
American gun law are inspired from switzerland
See how well bigger weapons self defend?
Just need a mail truck to hold that missile from the USSR
IDK about that
I feel like in NK they're corrupt from the top down, in the US it's bottom up
up ain't corrupt?
No point fighting for last place, I agree
@dry jasper he's not in vc
https://github.com/beeware/toga
have you used this? @dry jasper @whole bear
yeah, classic one
I was checking cross platform, includes mobile app and I found this one.
it's in dart
Google pay in Flutter ig 🤨
I see, so basically scalability is the problem!?
I thought of react native 😭
Hey guys
@whole bear it's good
you haven't heard me yet
🙂
my english 😢
yes, exactly we can communicate
😎 Yes
Gtg
;e
print(random())
code
!e
import random
n = None
print(random(n))
!e
import random
n = None
print(random(n))
: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 [35m3[0m, in [35m<module>[0m
003 | print([31mrandom[0m[1;31m(n)[0m)
004 | [31m~~~~~~[0m[1;31m^^^[0m
005 | [1;35mTypeError[0m: [35m'module' object is not callable. Did you mean: 'random.random(...)'?[0m
:white_check_mark: Your 3.14 eval job has completed with return code 0.
2
@wind raptor trying to make the random range function slightly better
@wind raptor i noticed it has preference to 1's when you do (1,4)
@wind raptor maybe more things but it gets better with bigger parameters
i just wanna listen if thats OK?
@wind raptor with bigger parameters like (40,100) it feels like a better random
So, whatcha guys workin on?
@wind raptor is there a way to use parenthesis like how you do in regular math using python without it being considered a module?
!e
import math
a = 10
b = 10
print(10(a+b))
:x: Your 3.14 eval job has completed with return code 1.
001 | /home/main.py:4: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
002 | print(10(a+b))
003 | Traceback (most recent call last):
004 | File [35m"/home/main.py"[0m, line [35m4[0m, in [35m<module>[0m
005 | print([31m10[0m[1;31m(a+b)[0m)
006 | [31m~~[0m[1;31m^^^^^[0m
007 | [1;35mTypeError[0m: [35m'int' object is not callable[0m
I'm curious...
like that
i wanna express 10(a+b)
without it being considered module
hey Chris
@wind raptor ik its just using parenthesis looks more pleasing, i was curious if there was a workaround
@wind raptor is sympy the spelling
so bassically a calculator package in python?
kinda?
oh cool.
yeah. i like to use thonny python, so you know how you can go to tools > manage packages?
!e
import random
from collections import Counter
times = 10000
data = [random.randrange(1, 4) for _ in range(times)]
counter = Counter(data)
print(counter)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Counter({2: 3440, 1: 3355, 3: 3205})
@wind raptor i have a work around for random sucking for small inputs that would theoretically work, i just need to install pip
Hey Chris. how much do you know about pybricks or thonny python?
idk
it uses micropython
ye
if i need help with something, where do i go, Chris?
@wind raptor is there an alternative of len() for ints
@wind raptor i need the length for doing 10^n
if you want laser focused help you go to the thread area
I was asking you because i was thinking you may be a mod or something.
and follow guidelines
@wind raptor whats the symbol python uses for exponents, i tried ^ and that seems to be something else
**
nice, also i discovered my code is shit so i gotta rewrite it.
i found out a workaround for len() not working on ints
int(len(str(var)))
Hey, thanks Chris. Imma gonna go ahead and post my thing... whatever it's called. (I'm still new here, so I'm still kinda getting used to some of the stuff.)
@wind raptor is this a bad workaround
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the 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.
yeah ok
!e
import math
a = 10
b = 10
print(10*(a+b))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
200
can you possibly help me with a voice chat in python? I can explain how i want it to work.
if you need me too
i can explain in chat
ye
oh so i installed sympy for no reason cuz i couldve done that

well on the bright side its presumably a useful module
Are you here everyday? @wind raptor
Currently trying to understand OOP. How long
did it take you to understand it?
Yeah inheritance and all this stuff scares me
here ya go, Chris:
so, I want two programs; a client program and a server program. the server program would go onto my 2018 raspberry pi 4 model B and the client program would be used on any computer. (though i kinda want the client to be an app since that would be easier. just boot the app and the're ya go.) When the client starts running, it connects to my raspberry pi via cloudflare tunneling. (I'm thinking about using try.cloudflare.com for temporary tunneling.) So, after it connects, it'll somehow broadcast your voice to any other clients connected. another thing too, I'm using raspbian OS lite. (64 bit i think?? I can't remember...)
Counter({'1\n': 345, '3\n': 336, '2\n': 319})
After running 1000 subprocesses with only a single print @livid niche
ig it was just a coincidence it preferred 1's when i was using it
im engaging with sunken cost fallacy, i will finish the program i was actively writing before your tests concluded
Just created a class and wrote some methods. Simple stuff really. Just understood the concept of object.
Also been using modules from pypi because they use objects as well.
Function inside class
i once did a while loop inside a class, it made @somber heath go pale
To create different objects that have different data ig
And run functions on them
Can't explain it lol
Yeah
Didn't understand it yet
Also maybe you know what setters and getters are for
Because i can't imagine real world use
Yeah it just conventional to use _var names
@wind raptorcan u join call and let me ss
Appreciate answers. It means a lot. Bye
Hey, Chris
