#ot1-perplexing-regexing
1 messages ยท Page 37 of 1
The only numbers I saw is what Apollo dev specified, which I would wholeheartedly believe now that several extremely popular apps are all shutting down.
Oh yeah
Happy to see Reddit burn
A home for incels and hate, good riddance.
Something will replace it of course
I don't know what to think about it, other than the fact it's terrible timing. I was gonna use the API to delete everything I've posted ever on Reddit, but I guess that's not an option anymore
wait what's happening
Money!
How can I refer to this kind of menu, (bc I know it isn't a dropdown, nor a toolbar) I just don't know how to call this ๐ฆ
Hello there, I don't know if this is the right place to ask, but, seeing as it isn't necessarily python related i think this might be the place!
Multiple choice menu?
I guess, but I was thinking of something else
Where am I
poland is waking up atm.... im snacking on some pickled mushrooms y'all want a bite....
Have you gotten a chance to change your usename yet? I just changed it, and got what I wanted. Most people won't be getting what they want, I believe. A bullshit change to discord. How it were was working just fine.
@fresh heart yes we only have XX and XY for female and male, and those are called biological sexes
"gender" is someone's way of telling others what they like or prefer of another person
like gay people are basically still males but they're "gay" because they like other males
why doesnt chrome have vertical tabs natively aaagh
haha edge better
Palette?
because the chrome devs don't want it to
I know that may sound trite, but that's the actual reason
@clear sand are you a recently graduated HS senior?
Gotcha, sounds about right
Late junior year to early senior year is when most people apply
Texas A&M
Thanks :) do you have any in mind?
I was quite lucky to somehow pass my entrance exams
Are you in the US?
I didn't even study for it
Yeah well as any student I am aiming for UPenn Columbia Princeton
Nope

Ah makes sense
Nope
I did the SAT
What did you end up getting, if you don't mind me asking?
Giving me a run for my money hehe
Haha ๐ญ๐ญ
A good SAT score is a great thing to have on your academic profile ๐
But yeah got any advice or like you mind looking over my common app essay sometime if you free man?
Btw what you majoring in?
Yeah, still don't really have my life in order so ๐ฅด
See if your English teacher would like to look over it
Ours did and it was pretty helpful
Oh I didnโt think of that
Yeah Iโll ask her
Just wanted someone who actually did the process recently
But thanks for considering
Haha, I'm pretty confident my essay was terrible and I got in based solely off academics
No worries. Good luck!
Thank you so much
damn this discord gets buggier everyday on my phone.. its like one of the admin see me complain about and make it worse lol
@vale raven out of curiosity which CI/CD tool are you currently using or learning? How is your experience so far?

..... well now I'm self-conscious
don't be
STAAAAHHP
Did I do something wrong? That's a lot of thonking
I was gonna answer for you, but I've come to know that's a bad habit
Just GitHub Actions
It's .... fine? I don't have anything to compare it to
My current obsession is making everything reusable: https://github.com/darbiadev/.github/tree/main/.github/workflows
.... why?
I don't bite
- because I might be wrong
- because it comes off as "know-it-all"-ish
Neat, nice work! Thanks for sharing.
I was looking for a manu for the menu type, just decided to use "multiple option menu"
but Robin was right, it's a palette
chat gbp
just looked it up, you're/he's right
damn, 5 cycles?!?!?
that's a lot of water
๐
take one look at the Rust Discord server's type-theory channel and you are forever cursed
which rust discord
the rust community discord or the community rust discord
(they're the same, but two different servers for some unknown reason)
I'm in "Rust Programming Language Community Server" and share no mutual servers with them so it's the other one
Is this brad90four
yes, he holds the patent on KSP pfps
I figured
he is the kernel space program
ah yes, the space program for kernels
me when I convolve the spaceship
Kernel Space Panic
funny otn
welp
just spent 30 minutes debugging an sql query
turns out sqlalchemy automatically turns datetime objects to string if you pass it via orm
which in hindsight makes sense
Have you considered trying smarter
that's a mood.
my encryption right now is literally just pickle everything and then encrypt the pickle string and then pickle again
sheesh
and hope it somehow turns into something i can store in a database
there's a bit of code where i used an attrs class
realized i should've used a named tuple or something instead
and then just used map(getattr, ...)
You're getting shockingly close to just rewriting pyarmor.
in what universe is map(getattr) a less cursed option
haha what the fuck
this is what happens when you procrastinate ok
Wh
thank god i don't have to show my github progress on this
it's just
project creation
6 months later
3 commits for the entire rest of the project
relatable
i did not know that
Yk pickle can be used to execute code, ive made them execute c extensions
if you want to hack into my completely fictional database of usages go right ahead
I'm already in. 
hunter2
for tax purposes i also need your mother's maiden name
and the three numbers on the back of your credit card
at moderators, Stickie is trying to malware me.
social engineering: lmao gimme your credentials
you: bet
i dare you to give me your account info
I gotta do it now.
I'm pretty sure a sufficiently cute animal could easily hustle my entire online identity from me.
If an otter rolled up to me and asked for my credit card information and social security number, it'd be a wrap.
cybersecurity student catfished by an otter
otterly ridiculous
How can such a horrible creature look so cute.
is this a dolphin situation
They're... pretty deviant.
Yes, but with things that have been unalived first.
don't look into how horrible they are for your own sake.
self explanatory
cap (made from china)
im removing all messages by marking them read.
they're from the mustelid family, like weasels. these have a weird... hunting and hoarding habit. they'll kill anything they could eat in the future, even if they already have a massive surplus hoarded. they're also super territorial and will maul any trespassers in groups.
I know what I must do
Time to roll up in an otter fursuit at rems house
Anyone here had a laptop with a rtx 40 series gpu? How was it? Planning to get one with that type of gpu
monday left me broken
you don't need to post the same thing in all the off topic channels
You should DM @polar knoll if you suspect a legitimate threat to the server or it's members
ok
The only threat is #esoteric-python
__import__('sys').stdout.write(chr(int(list((lambda x: map(lambda i: f'{ord(i):b}', x))((lambda decimals: bytes(decimals).decode())((lambda binary: [int(byte, 2) for byte in list(binary)])((lambda text: ([bin(ord(i)).replace('b', '') for i in str(text)]))("".join(map(lambda i: i, (i for i in (lambda string: [i for i in str(string)])(''.join(map(lambda x: (lambda l: chr(l))(int(x, 2)), ['110001'])))))))))))[0], 2)))
@lambda j: (__import__('importlib').import_module('sys').stdout.write(j),exec(r"""exec('print(' + ''.join(map(chr, __import__('zlib').decompress(b'''x\x9ceP\xcd\x0e\x820\x0c~\x95\xc6K\xdb\x84\x10\xf0\xb8W!\x1e6\x98Z3\xc0\x8c\x1d \xc6w\xb7\x83\xe0O\xdc\xa9\xdd\xf7\xd3\xafm\xaf\x91dH\x14dJD\xc1\xf6\xae\xb30\x1b\xe8\xed}\xef\xc4\xc0\x19\x1fc\xecH\xd8\xb8\'\x1603\xbf\xb9\x9do\xa5\xb7a2\xe0\x96\xe4\'\xda{.\xb5\x1a;O_\\\'\x83\x8d\x8b\x81&O\xcc\xf4\x02\x8e\x0c\xe71\xaeZ\x90\x01\xd6\x18\x1b\x8dO\x1fa\xf2s2@\x8d"\xb4\x05\xe12\xfa{\xb0\xad\'t\x9a\x08q\xf3\x91l2\xa5HY\xa1\x0eL\x87Cy\x1bU\xf6\xbb\x90\x14@\xf2Q\xec\x88*e\xb8\xe4\x80\xbfn\xdb\x7fN\x84\xf8g\xa7\xd7\xda\xcb`\xa0\xd5\x83\x06\x9d\x9bW\x9c\xf3~\\@\x83u]UU\x8d\x1a\xe8\xfd\x9a\xea\xb4\xc2/z|x\xaa'''))) + ')')"""))
@lambda x: ''.join(chr(i) for i in x)
@lambda _: map(lambda x: int(x, 2), _)
@lambda _: _.__delattr__(0)
class _:
def __delattr__(self):
return (lambda x: map(lambda i: f'{ord(i):b}', x))((lambda decimals: bytes(decimals).decode())((lambda binary: [int(byte, 2) for byte in list(binary)])((lambda text: ([bin(ord(i)).replace('b', '') for i in str(text)]))("".join(map(lambda i: i, (i for i in (lambda string: [i for i in str(string)])(''.join(map(lambda x: (lambda l: chr(l))(int(x, 2)), ['101011']))))))))))
Tbh not esoteric enough
Ill make it better dw
brother in christ wht t he fuck
Go ahead and execute it
!e
__import__('sys').stdout.write(chr(int(list((lambda x: map(lambda i: f'{ord(i):b}', x))((lambda decimals: bytes(decimals).decode())((lambda binary: [int(byte, 2) for byte in list(binary)])((lambda text: ([bin(ord(i)).replace('b', '') for i in str(text)]))("".join(map(lambda i: i, (i for i in (lambda string: [i for i in str(string)])(''.join(map(lambda x: (lambda l: chr(l))(int(x, 2)), ['110001'])))))))))))[0], 2)))
@lambda j: (__import__('importlib').import_module('sys').stdout.write(j),exec(r"""exec('print(' + ''.join(map(chr, __import__('zlib').decompress(b'''x\x9ceP\xcd\x0e\x820\x0c~\x95\xc6K\xdb\x84\x10\xf0\xb8W!\x1e6\x98Z3\xc0\x8c\x1d \xc6w\xb7\x83\xe0O\xdc\xa9\xdd\xf7\xd3\xafm\xaf\x91dH\x14dJD\xc1\xf6\xae\xb30\x1b\xe8\xed}\xef\xc4\xc0\x19\x1fc\xecH\xd8\xb8\'\x1603\xbf\xb9\x9do\xa5\xb7a2\xe0\x96\xe4\'\xda{.\xb5\x1a;O_\\\'\x83\x8d\x8b\x81&O\xcc\xf4\x02\x8e\x0c\xe71\xaeZ\x90\x01\xd6\x18\x1b\x8dO\x1fa\xf2s2@\x8d"\xb4\x05\xe12\xfa{\xb0\xad\'t\x9a\x08q\xf3\x91l2\xa5HY\xa1\x0eL\x87Cy\x1bU\xf6\xbb\x90\x14@\xf2Q\xec\x88*e\xb8\xe4\x80\xbfn\xdb\x7fN\x84\xf8g\xa7\xd7\xda\xcb`\xa0\xd5\x83\x06\x9d\x9bW\x9c\xf3~\\@\x83u]UU\x8d\x1a\xe8\xfd\x9a\xea\xb4\xc2/z|x\xaa'''))) + ')')"""))
@lambda x: ''.join(chr(i) for i in x)
@lambda _: map(lambda x: int(x, 2), _)
@lambda _: _.__delattr__(0)
class _:
def __delattr__(self):
return (lambda x: map(lambda i: f'{ord(i):b}', x))((lambda decimals: bytes(decimals).decode())((lambda binary: [int(byte, 2) for byte in list(binary)])((lambda text: ([bin(ord(i)).replace('b', '') for i in str(text)]))("".join(map(lambda i: i, (i for i in (lambda string: [i for i in str(string)])(''.join(map(lambda x: (lambda l: chr(l))(int(x, 2)), ['101011']))))))))))
@rugged owl :white_check_mark: Your 3.11 eval job has completed with return code 0.
1+1
@cobalt remnant https://youtu.be/6IeUEsxCvlQ?list=RD8NTnuDqbukY
Inspiring song ^_^
MLP: Equestria Girls โBetter Togetherโ Season 2
Song: Run to Break Free
Watch in 1080p!
Facebook: https://www.facebook.com/Letupita725HD
Twitter: https://twitter.com/Letupita725HD
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting,...
yes
what up everypony
differentiable
is that really a word?
.wa s define differentiable
possessing a differential coefficient or derivative
oh neat it worked this time
integrable is also a word
But not used that much.
it's used extensively in analysis
it's important to distinguish e.g. riemann from lebesgue integrability
it does feel slightly weird to me
like the word integrability
it makes sense
but also i just think of integrity
beetbox
why would you need a box to hold beets?
@mystic drift how are the projects coming along?
Rather slowly because I'm terribly busy ๐ฉ
Busy is good
yah
Decided to volunteer to two organizations
Now they're consuming my soul
tell us more!
One is for a local festival that's happening tomorrow actually
The other is a charity
that sounds fun
It is but damn
my friend volunteers at a pig sanctuary and sends me cool pictures all the time
Currently omw to meeting the first org
i'd like to do something like that. i love animals
volunteering is pretty based
show us some ๐ฅบ
true
what the dog doin
that's a chonker
I WANT TO HUG IT 
lol i thought it was small cause nothing to compare it's size with
me too
dam they have beg heads
i only see the pink one didn't know there were other types
they look naked compared to these lol
clash royale reference???
hooooooog ridaaaa


pigs are evil, they would murder us all if they could
naporkeon
all animals are equal
Disagree, turtles are better
subjective
I'm gonna go to bed with like 700 calories in me and not having eaten since 10am, and try to get 200 calories only tomorrow of just collagen and creatine to try to get better
are you trying to gain weigh or lose it?
900 calories a day is starvation level
My weight is in control I need the health benefits, autophagy of fucked up cells , human growth hormone levels skyrocket
I fast for like 16 hours a day easy everyday
I love it
I set it up to be easy, go to sleep at 4pm right and up at 145, just drink coffee till like 10am
I used to do like noon to noon that worked alright too
24hr fasts and eat a burger ๐
Lost like 75 pounds
dang nice job
i've been trying to gain weight most of my life because i am very tall
You need bioavailable protein and lots of calories
My pancakes seem to work bioavailability wise
i went from ~170lbs to 200 when i started working out 
i built a home gym
no more waiting for machines or wiping other people's sweat off them
My heart is still in it, I'm still eating like I'm going after it, im still fasting everyday
maybe taking it easy would work. after all, fitness is mostly about consistency
Yeah. I will be okay if I'm forced to give it up
i'm reading the most wild story https://medium.com/@bjax_/a-tale-of-unwanted-disruption-my-week-without-amazon-df1074e3818b
On Wednesday, May 31, 2023, I finally regained access to my Amazon account after an unexpected and unwarranted lockout that lasted nearlyโฆ
i would never put any of those amazon devices in my house and this is just one more reason to avoid them
That's like getting banned from Xbox live
just set up my first Ansible playbook and configured 8 machines with one command. migrated from manually running a shell script on each. I feel so powerful
Here is a gravitational simulation with 1000 particles, i displayed it using matplotlib because it was easiest, but even turning off autoscaling and setting x and y lims it still seems to move and it looks weird, any alternatives?
took about 110 seconds to compute 12.5 minutes of animation
also timestep is a bit high so it looks choppy
florida man performs simulations on matplotlib
let him cook
his pc
Surprisingly the only intensive process is the computing, not even the actual algorithm which is direct sum ( O(n^2) ), its just that all of the positions have to be saved each frame, and since it produces 1 frame every ~0.003 seconds it adds up pretty quick in memory
i'd guess it's the rendering that causes it to lag and do weird stuff
depending on where your points are, it may be calculating a different upper/lower bound for each axis
perhaps try setting those to always be a certain value if you can?
Currently my windows machine keeps on scrolling in application like Adobe PDF read, File Manager and Excel.
Has anyone an idea what I can do?
It happend after my laptop checked for hardware issues and didn't find anything. I tried to update all the drivers, but windows didn't find anything. Currently running a malware scanner.
what happens i fyou unplug your mouse
it scurries away
Touchpad still had the same issue @stark prawn
Can you disable your touchpad? 
There's typically a keyboard shortcut to kill it, like FN + F2
2/3 of my laptops have a disable touchpad button
I've had precisely this issue, whereby my touchpad failed and I was stuck scrolling (up instead of down, you know, for variety).
Just disabled it in Device Manager eventually.
Just recompile the kernel without touchpad support :#
I will try it at home
Thank you!
That's also an option hahaha
How would you even do that?
I did do that
I think it fixed itself @stark prawn
I don't have the issues anymore
for now
Python
@stark prawn is that a wuppie as profile picture?
It is
Yes
My science grade dropped from 90 to 86
And my exam is probably going to make it worse
if there is anyone who uses C/C++, do you use int *something or int* something to declare int pointers? (or any other type)
step 1 out of a lot done in the C extension ```py
import uwuifier;uwuifier.word_replace("small hahatawat small idiot meow what fluff")
'smol hahatawat smol baka nya~ nani floof'
>>> import undegenerator as begone; begone.unuwu("smol hahatawat smol baka nya~ nani floof")
'small hahatawat small idiot meow what fluff'```
ftfy.
banned
I wonder if there's a "guess the jetbrains IDE by its icon silhouette" quiz somewhere
Jetbrains or Flash Game:
Rider
I should put jetbrains licenses on my rider.
rider?
I've used dotPeek when I couldn't get ilSpy to play nicely.
A rider is a list of things that performers want to have available before performing, like if you go on tv they'll make sure the things on there are in your changing room.

.NET IDE
Part 1 of story of finding a scammer :https://www.reddit.com/r/ScammerPayback/comments/149bg3x/scammer_found/?utm_source=share&utm_medium=web2x&context=3
PArt 2 :
https://www.reddit.com/r/ScammerPayback/comments/149bso2/scammer_found_part2/?utm_source=share&utm_medium=web2x&context=3
PLease check it out and share the post to spread awareness about this type of scams which are becoming more and more common on Instagram and other social media platforms.
You don't have to post it in every channel btw
Found this article on lemmy. https://www.bitecode.dev/p/why-not-tell-people-to-simply-use
If you disagree, itโs likely that you are too good at handling complexity to realize how many problems you solve every day.
Way to give the haters a compliment
never used a venv, penv , poetry in my life
yikesJAM

if you mix โpip installโ and โconda installโ, one day, Davy Jones may very well spawn randomly to collect your soul.
Same bro, i post esoteric one liners that call DNDEBUG flagged 1 liner C extensions which are compiled with no security, before performing I/O operations on the main thread, and inserting f string formatting user inputted pickle data into my companys prod database, and then remove all branch and db backups before finishing the day by git push --force.
And apparently its "a bad practice"
i do this on the regular
That's not... the purpose of a venv.
it'S not the kind of security you think
It's not a 'secure environment'.
the only kind of security it gives you is not polluting a possibly global python install
yeah ikn but this guy above posted some sarcastic comment about securrity and f strings
the real purpose is just organization
that's not security, that's encapsulation, isolation, and compartmentalization
bro compared not using venv with not sanitzizng db inputs
He's a 15 year old telling you he has access to his company's prod database. I'm not sure how much weight I'd put into any conclusions he's drawing.
he was being sarcastic for me not usung venv
the whole message was a shitpost, you can safely ignore it
like its comparable with shits he said
I have access to my company's prod databases
are you davy jones
i am my company's prod database
You're also of legal age for employment.
I'm not saying it's impossible, I'm implying that the example probably isn't literal.
yes, but do you base your company's prod?
15 yo are able to be employed
zzz
eddy jones
I made my companies prod databases
No, I squash like a normal person
Why are we prodding databases.
I played some squash in college
omg i thought of this exact same meme
yeah, prod rem instead
yeah but we know you won't do anything to harm your job security for some reason
Because weโre trying to correct all the issues that โsomehowโ occurred after my boss touched them
same braincell ๐
don't prod me
i'll stage you
Thatโsโฆ.. uninformed at best
I donโt want to lose my job until I have another one
But we talk all the time about me going directly against what management asks
i am data prod the base
Is it my turn yet?
i pod
H u n g r y 
Get food
have none
Buy food
find another one then?
you dont say
Let's try a roleplaying exercise PSVM
you be a reasonable person, I'll be an employee with a shitty job
Hey PSVM, I have a really bad job, what should I do?
I think you should find a new job
Do you think my resume would help that?
actually, a resume is required for finding jobs in the software dev space
Ah, thanks for that information! Should I have someone else look at my resume?
it's a great idea to have someone else look over your resume for you. they might catch things you didn't, and may provide expertise they have
That's great advice! I'm going to go and write my resume, I'll let you know when I'm done so you and some of my other friends can look over it!
no problem ๐ฅ
Aaaand SCENE!
this reads like a mandatory HR training video
I dream of writing the scripts for mandatory training videos.
chat gpb
I wish to inflict pain upon the world.
you'll get there.
fuck
keep going.
guanosine triphosphate
gtt.. gpt ! yes! i got it
Yay!
grand pheft tauto
ffs. the column that stores "what user created this resource" is not a foreign key to the user table, just a string of the username. and on top of that, the string uses different rules for joining words
it uses _ instead of .
severe lack of a DBA ?
no we have DBAs, just...poor ones
I have foreign keys
You should work for a better company
Like mine
no thanks
technically it's normalized
๐คจ
but I'd rather not get paid less than I make as an intern
and I get paid very little for interns
oof
some interns don't get paid
Man, where can I find those?
Unpaid internship is a scam
how? it says it's unpaid in the name
Working for free is a scam whether you know it or not going in
how?
Because
You are working
Without being compensated
I'm with Local Wolfgirl here, unpaid internships are stupid.
You are providing labor to a company.
Whether or not they inform you changes nothing.
Your time is worth money.
The company can afford to pay you.
There is a minimum wage established in every state of the United States specifically to circumvent predacious behavior on laborers.
Free internships sound good, as long as you arent just a free employee, you're supposed to be learning things around the work environment and if that includes doing some real work thats ok. And again, if you dont like it just dont apply.
๐
there are a variety of rules about what can constitute an unpaid internship. mostly it's that the internship focuses mostly on education/training, that company may NOT see net positive economic value, etc. obviously, it's abused quite a bit.
i think it's good those protections are in place. bc you know exactly what will happen if they're not
I've worked a couple close-to-unpaid internships and my experience was that it was free labor, not education. But I walked away from it with the prestige on the resume to land better positions. So idk
Yah, thereโs a few times where anything on your resume is good. Like, get a paid gig first but take what you can get otherwise. Itโs only (usually) a summer
Ya, exactly
In my case they liked me enough (and I liked them) to bring me on for a year
And that looks killer on a resume
Fun job too. Ruby on Rails shop
you did what you had to do. you have my respect for that.
I appreciate it. Taking an intern position like that is frustrating but it does pay off
So, discord firstly added the about me thing and now another blank for pronouns. Huh, Isn't this kinda like a copy for Twitter's location thingy?
hah, seems like you were the first
the meme channel is not a public channel
moyen will you leak details about the staff w3schools channel
what w3schools channel? 
don't lie
the CIA knows about your secrets
rejoice
true
How do EMs on here go about letting a developer go? I've always found it really hard to do, so I put together this guide to help communicate that tough decision. Feel free to give it a read if you think it could come in handy. Let me know what you think. Have a great day wherever you are in this lovely world! ๐ https://blog.howareyou.work/the-ultimate-guide-to-firing-a-software-developer/
That's devilish to post here
Friendly fire
Ghost their paycheck
I have been thinking, if i want a very minimal windows system, it should only be used for gaming, nothing else (i have another daily driver). Is 10 or 11 best? Or is there like a special striped down version?
11 has better performance across the board for me
There are indeed stripped down versions but they end up hurting more than they help, just run a clean install and that's really all you need to do
check out tiny11 https://www.tomshardware.com/news/tiny11-lean-windows-11
is there a tiny 10?
though it's notthe best idea if you wanna be up to date and gaming
there does appear to be one
o nice thx
Sounds neat for VM's actually
I use FLARE as a Windows virtual appliance at the moment, but I... don't need a lot of the tools it comes with, and the idea of spinning up a virtual appliance just to house some minimal windows functions sounds... less than ideal.
Don't really care about up to date, but i am doing this specifically for gaming so...
Fair
I Have a headset with a mic attached in it, but my pc says the mic isnt plugged in
Can anyone help?
USB or 3.5mm? @rough sapphire
If it's 3.5mm it will depend if your computer has a single or dual 3.5mm jacks
Head to the bottom right corner on the task bar right click he speaker, under recording just disable every other device other than your headset mic. It will work! Hopefully..
Henryk Wieniawski (1835-1880)
Variations on an original theme op. 15 in a
violin + piano
Maestoso
Andante ma non troppo
Theme Allegretto
Var1
Var2 Poco piu lento
Var3 Risoluto
Finale Tempo di valse
Coda Allegro vivace
Idk why all the good recordings have sheet music ๐
Oldies but goodies
but this is honestly really nice
"Off-topic channel name string representation"
this says a lot about our modern society
tldr i128 wasn't big enough for these testcases
big numba
fr why do these testcases have to make their tests big
just let me use .parse().unwrap() in peace and not use any algorithms
do these allow using any bignum crates?
it's leetcode, i don't think so
what task is that?
i think it was Add Binary or something
ah ye it was https://leetcode.com/problems/add-binary/
maybe ur supposed to do it without converting to int idk
true
you most certainly are
but i'm not very smart lol
what kind of magic would do this
without converting to int
the same way humans do addition - digit by digit with carrying
1 <= a.length, b.length <= 10^4 yeah this is supposed to be done without ints
10000 digits! that's a lotta digits
smh, how dare these language devs not give me i10000 ๐ค
10k bodies, saved it as a movie this time so its super smooth
nice, how many minutes did that take to render? ๐
yeah, that matches my matplotlib experiences sadly
Yup
ah, last time I did gravity I wrote a simple barnes-hut in Rust with pyo3 bindings
is it even possible to do it in o(n^2)
its not like this is collision detection
what do you mean? that's the naive way, computing all n^2 gravitic interactions each tick
o(h no)
I cant compile my code my rendering code because im at school so i had to do it in plain python
is it not
yah, i was gonna say, it's an upper bound on complexity
Small o is a lower bound isnt it
no its an upper bound
Big O?
like, my function is definitely not worse than n^2.
nah, o is "O but not ฮ".
Ok
like, if O is โค and ฮ is โ, then o is <
o is <
O is <=
ฮ is =
ฮฉ is >=
ฯ is >
Also, this might be the first time in 10 years anyone has mentioned small o() ๐
๐
i see it in equations all the time ๐ฅด
anyway, yes, why not? barnes-hut is O(n log n) generally
the idea is that you make a quadtree of all the bodies, and calculate gravity by descending that tree. if the node you're considering is far enough away from the point you're doing, you can use an approximation based on the center-of-mass of the entire node instead of descending further
yeah, basic way is to just consider all the particles included in that node to be a point mass
Where perfectly adequate, average sized o
my implementation is cooler and also considers the quadrupole moment of them. ๐
the hell is that
maybe I should just post my module on github
lemmy see what state it's in...
yeah okay it's basically fine, I'll post it
where are the collisions?
Yes, but it wont be 100% accurate
But then again no gravity simulations are 100
There are none
but without kabooms, it's less fun ๐ฆ
But with kabooms, my computer wont make more than a secomd of footage
ah, but it will be an epic second of footage! ๐
Haha
https://github.com/RundownRhino/fastgravity
@acoustic moss@jovial oriole
there
@rugged owl so tell me, did you order the all-clad?
i've been enjoying the ATK videos
i bought a few things on their recommendation
๐๐๐
Not yet, had some things come up yesterday and didn't finish checking out. Going to do it today though.
I'll give you the confirmation image once I'm done 
the GIR spatulas are a win
Also, it's father's day Sunday, so 2 day amazon has to be in by today.
unibody silicone
no gaps for the nasties to get into
also the nordicware baking sheets 
I was going to get this wooden spoon set.
i didn't really want to do maintenance for wooden utensils
also can't dishwash
ALSO SG YOU CAn"T DISHWASH TEFLON
LOOOOOOL
i wouldn't recommend dishwashing stainless steel either
I guess the diswasher is now why one of my knives has a cracked handle
i have the regular size and the long skinny one
yes sky
do you know how high the temp gets?
omg knives
you can't dishwash knives either
Page not found 
The worldโs best-reviewed spatulas, GIRโs patent pending tools sport an easy-to-clean design and come in over a dozen kitchen-friendly colors. As with all of our products, weโve spent time perfecting each size to optimize flexibility and strength. This heavy-duty platinum silicone spatula is heat...
This, but also for the dishwasher:
rule of thumb, the more time goes on the more the pride flag looks like an ice cream brand
3.5mm.
Impressive, very nice
Lets see paul allens implementation of the N-body simulation of gravitational fields using multipole expansion
I think all AI's should be tasked to run a simulation of a 1mil body orbital sim for the next millenia
keep 'em busy so they don't get up to mischief
But what if their outputs arent the shape required
then have the new younger AI's work on fixing that
And hey thats smart, ill make a bunch of data and give it to a model for it to learn
Wont even have to render it
you can't render it until you have sub-micron and sub-microsecond precision for every object in the solar system for its entire lifetime!
in soviet russia, AI tasks you to run simulations for the next millenia
that sounds un-fun
Story of my day:
Me: Oh it's Friday. I'll knock out that super small story of just adding an attribute to a data model
git: +210 -162 with 22 changed files
Me: 
๐ฉ
i realized the "SQL query performance issue" was actually "VS eating all my ram"

SQiLl issue
squeal issue ๐
i also realized that loading over 1k rows in a grid was not ideal for UX
i'm a fledgling web dev ๐ฅบ
soon to be microsoft shill
some grids are virtualized and can handle that! MaterialUI has one
yeah, i know there's virtualized paging and stuff
the really dumb part is that serialization takes like, 99% of the time
which is super bad
what are you serializing?

it's basically an internal tool for looking at the database lol
why do you need an internal tool for that? there are many existing tools that do this
uh well it does more stuff
like what
stuff
sounds like the average requirements written in a JIRA ticket
fr
hey, I don't know 1000 rows doesn't seem like a lot at 20px per row, that's 20,000 pixels so only about 10 page-downs
string to float and float to string is far far too slow, IMO
ยฏ_(ใ)_/ยฏ
have you looked at Ryu or Dragonbox?
no
i dimly remember something about Java's ser/de in particular being slow compared to other languages'
here's the dragonbox paper https://github.com/jk-jeon/dragonbox/blob/master/other_files/Dragonbox.pdf and the Ryu paper https://dl.acm.org/doi/pdf/10.1145/3192366.3192369
i only heard about the latter tbh
dragonbox is quite new, maybe a couple years old
it looks promising, here's the 1.1 implementation announcement => https://www.reddit.com/r/cpp/comments/so3wx9/dragonbox_110_is_released_a_fast_floattostring/
where did you get that benchmark test graph?
you think there's a simdjson for c#
it's what I remember using years ago
Json.NET is a popular high-performance JSON framework for .NET
huh, why does fastjson suck so much on that plot
fastn'tjson??
lol
something isn't right here
look ok to me
rule of thumb: when something calls itself "fast", it probably isn't
how dare you
fastapi
fastify
fast fourier transform
what's the number
oh, fastjson is apparently some no-name tiny library from codeproject.com. so makes sense, I guess
oh wtf, why would you call it "micro" and not just the actual unit
smh
looks like newtonsoft is the thing to use
looks like newtonsoft is still the best for simple data, yeah
but I think the best gain would be just not using JSON
as opposed to what?

Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.It supports four different types of values:
byte strings,
integers,
lists, and
dictionaries (associative arrays).Bencoding is most commonly used in torrent files, and as such is part o...
sheesh
what are you ser/de-ing?
you could maybe use some custom efficient format
possibly. the performance is "alright"
like, one binary blob that gets cast directly to an array of floats ๐ฅด
then another for the other field (so struct-of-arrays arrangement, not array-of-structs).
netjson seem to be the clear winner to me. much less memory usage in exchange for slight slower speed for simple datasets and much less CPU usage vs spanjson for complex datasets
~50% slower than newtonsoft for simple data, though, which psvm's data seems most like
hah. another funny thing about the chart is the CPU columns
they label it % but it's fractions of 1
huh?
err, like, it's 0.xx
ah, you mean it's actually more like "# cores utilised"? yeah, probably
oh wait. I'm actually really confused what is supposed to mean
yeah it's actually just %. I should have realized with the times ๐๐
this guy's data set is miniscule lol
oh, good point
Check this benchmark too: https://github.com/ngs-doo/json-benchmark
sadly this one is years old
i wouldn't be so sure; python has very optimized dict and list implementations, and its json, while not very optimized, it at least written in C
(and there's stuff like orjson if you want to cheat further ๐)
simdjson ๐ฅบ
software written in C can be slow
this guy's stupid benchmark shows orjson being 6x faster than built-in (https://dollardhingra.com/blog/python-json-benchmarking/)
If you work with a large datasets in json inside your python code, then you might want to try using 3rd party libraries like ujson and orjson
what's stupid?
his benchmark
AFAICT he's measuring startup time for the dump/load given that the data set is so small
classic
Hah, more like dumb/load
here's a somewhat better benchmark of python json modules => https://python-rapidjson.readthedocs.io/en/latest/benchmarks.html
orjson has its own benchmarks where it wins => https://github.com/ijl/orjson#performance
ugh, what a mess
none of the benchmarks I see do anything longer than a millisecond or two
kids these days don't even know how to benchmark
they just want the instant gratification of subsecond runtimes
there's also https://jcristharif.com/msgspec/benchmarks.html
it does roll the other libraries in the benchmarks
according to which msgspec is faster than orjson while also doing validation
i never even heard of msgspec before, wtf
lol, pydantic is dog slow
there's a lot of alternative modules that aren't popular but are high quality
gotta say, msgspec looks promising too
pydantic in a lot of cases is used in IO bound stuff
I/O today is like 100x faster than in ye olden days
the old saw "your program will be I/O bottlenecked" doesn't apply a lot of the time now
fuck it, going to do my own tiny benchmark
not in glass
what are the simdjson bindings most people use? pysimdjson?
(I don't want the cython one since it deserializes to lazily evaluated readonly pretend-dicts rather than real dicts)
that's cheating
are real dicts the best dicts?
okay great
sanity restored
deser_std()
deser_orjson()
deser_simdjson()
deser_msgspec_dict()
46.1 ms ยฑ 6 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
16.4 ms ยฑ 2.3 ms per loop (mean ยฑ std. dev. of 7 runs, 100 loops each)
25.2 ms ยฑ 3.73 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
18.1 ms ยฑ 1.58 ms per loop (mean ยฑ std. dev. of 7 runs, 100 loops each)
dataset:
@dataclass
class ExampleModel:
username: str
exp: float
level: int
last_values: list[int]
N = 10000
sample_data = [
ExampleModel(
"".join(random.choices(string.printable, k=10)),
random.random(),
random.randrange(100),
[random.randrange(100) for i in range(random.randrange(10, 20))],
)
for _ in range(N)
]
# that list is json.dumps-ed and deserialized by the different parsers
so orjson is in fact good. about the same as msgspec here
huh. orjson is goated
tried msgspec in struct mode, it is maybe a bit faster than orjson, but it's statistically insignificant
but it's very impressive though, given that msgspec in struct mode also basically does pydantic-like validation. all at orjson-like speed.
i very much do use pydantic
what do you mean why? I like knowing that my models are valid. also it does fancy conversions, like strings to enums, etc.
yeah but compared to msgspec
how many records?
i didn't use msgspec because I never heard of it before ๐
see above, it's a list of 10k fairly simple dicts
I sometimes need to de-serialize millions of small records (say about 100 bytes in size, 10 fields of floats and one date/time)
ah sorry, missed that. thanks
could you tweak that a bit to make the int field's floats? I got the impression that orjson has some special optimizations for floats
maybe that makes it a bit faster:
@dataclass
class ExampleModel:
username: str
exp: float
level: float
last_values: list[float]
%timeit json.loads(ss)
%timeit orjson.loads(ss)
%timeit simdjson.loads(ss)
%timeit msgspec.json.decode(ss)
%timeit msgspec.json.decode(ss, type=list[ExampleModelSpec])
%timeit msgspec.json.decode(ss, type=list[ExampleModelSpec], strict=False)
168 ms ยฑ 9.47 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
24.8 ms ยฑ 2.05 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
32.6 ms ยฑ 3.93 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
28 ms ยฑ 3.64 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
27.4 ms ยฑ 3.07 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
27 ms ยฑ 1.7 ms per loop (mean ยฑ std. dev. of 7 runs, 10 loops each)
it also seems to utterly destroy json, unless that's an artifact of some kind
rip json
my takeaway is that orjson is generally the fastest as a drop-in replacement of json (which is what I used to think already, so, phew, sanity restored)
yes, msgspec does have a lot of nice features though
but msgspec is very interesting and I'll probably try it next time I'd use pydantic
can i just dump it into fastapi
structured chadcurrency
๐ค
based and redpilled
currently reading msgspec docs and found a significant disadvantage: I think it doesn't support untagged unions of structs
๐ฆ
in pydantic you could do A | B | C without any tags and it'd just try deserializing as each in order until the first success. here, you need explicitly defined tags.
Jake from statefarm
what's this from?
the json module in general was pretty slow from past benchmarking
iirc the requests module uses it so i also wrapped that up
๐ Zero-cost schema validation using familiar Python type annotations. In benchmarks msgspec decodes and validates JSON ~2x faster than orjson can decode it alone.
interesting
i think it's complete ```pycon
from uwuifier import uwuify
print(uwuify("a.bc damm\nwhat did i\tdo", stutter_strength=0.5, emoji_strength=0.5, tilde_strength=0.5))
a ส//ส~ bc d-damm~ >_< n-nyani~ did~ i-i~ ส//ส ส//ส~ d-do
way too much
not saying it's a bad thing, but...
it's about 4.626x faster than the original thing which is a good thing i think ```pycon
... code copy pasted from letsbuilda/imsosorry/uwuification.py ...
s="small hahatawat small idiot meow what fluff"
main(['-s', 'from uwuifier import uwuify', 'uwuify(%r)'%s]);main(['-s', 'from main import uwuify', 'uwuify(%r)'%s])
100000 loops, best of 5: 2.94 usec per loop
20000 loops, best of 5: 13.6 usec per loop
it changes the line structure? that's pretty weird
i'm making a de-uwuifier
the original also does ```pycon
... code copy pasted from letsbuilda/imsosorry/uwuification.py ...
print(uwuify("a.bc damm\nwhat did i\tdo", stutter_strength=0.5, emoji_strength=0.5, tilde_strength=0.5))
a.bc~ d-damm nyaa~~ nyani~ did i d-do~
whatever description is in there that says it only changes punctuation is inaccurate
src/imsosorry/uwuification.py line 61
REGEX_PUNCTUATION = re.compile(r"[.!?\r\n\t]")```
who else her codes with lots of triangles? i like to use lots of triangles in my code for stability/ reliability as triangles are the strongest shape.
Magnifique
thank you.
can't say it's inefficient
Bro 4090 ti lookin crazy fr fr, 82 ms render latency ๐ฏ ๐ฅ
I came up with a bizarre writing system
in case anyone's wondering, yes, it does have a meaning
cool.
Looks quite rough, is it a syllabary? @mental isle
what language does this represent?
Love me a good conscript
basically it's the Armenian alphabet (but the text I've written represents English) with the letters rotated 90 degrees counterclockwise and a little distorted to not look familiar
it says ีฐีฅีฌีฌีธ ีงีพึีซีพีกีถ which represents "hello everyone", in case anyone was wondering
Got my new earbuds today and daaamn, didn't realize you could get this kind of audio quality from buds
which brand?
Finally not dealing with crappy old broken 40 minute battery life JBLs ๐
Sennheiser Sport
Went with them as my main headphones are Sennheiser 569s
Ohh I see. Well enjoy them
Hopefully the last time I have to replace them for a while
It is a shame though that 95% of the time I only have one in because I wear them at work specifically
The new earbuds/headphones life is good
Always wild wearing a new pair of better-than-the-last headphones and hearing how good they are
I've been wondering about success.
I tend to draw a lot of comparisons towards programming and drawing, because I try both, and as far as I'm aware, I can't seem to really do either of them with commitment.
Unlike an artist or programmer, I haven't really been able to offer something to a community.
This is important because I'm kind of an instrumentalist that only feels value in something when somebody or something requires me to do it.
I have a set of Sennheiser headphones that are going on 30 years old. and they are still awesome.
@jovial oriole :white_check_mark: Your 3.11 eval job has completed with return code 0.
<class 'type'>
@jovial oriole :white_check_mark: Your 3.11 eval job has completed with return code 0.
<class 'type'>
!e print(type(type(type(type))))
@signal scroll :white_check_mark: Your 3.11 eval job has completed with return code 0.
<class 'type'>
I think type is a singleton
@signal scroll :white_check_mark: Your 3.11 eval job has completed with return code 0.
<class 'type'>
Yes
bro nah who implemented catppuccin in Minecraft๐คฆ
https://github.com/catppuccin/minecraft
aint no way anyone using this
Lol
I'd use it
I use it for my PowerShell, it's how I discovered it
I'm not a fan of the palette for programming though
This is my theme
i have just encountered the "0 = 0" thing in math
when you do something really convoluted and end up just equating stuff with each other
except i went thru like 6 different sums/integrals
did like a page of working
and got that my sum was equal to my sum
not me trying to solve a schoedinger equation by applying the variational method and writing down the euler-lagrange equation for the resulting functional
euler lagrange my beloved
i was so excited as well
was like "ok so this is actually equal to S, which is good because i can just cancel that later, and... wait a second this is just S_2, so that cancels, so that means S is just... S"
ah yes, the S here is made out of S
could've been worse; at least you didn't get S = S + 1
ah yes
"As S = S+1, we must've moved into programmer space somewhere within the last 3 summations. Hence, we can now import scipy to solve our integral."
this problem genuinely has too many sums and integrals
i've used tonelli like 15 times by now
stickie: we swap the order of summation and integration. then we swap it back. we do this 2n+1 times to ensure the order is reversed.
turns out the column I thought was using a different format is not even using a standard format. there are underscore separated names, and period separated names in the same column
@fathom musk I'm here
Yeah so, can you show examples of your work?
I wrote a whole mini-course blog post about this, which was support for a lecture I gave on Zoom the other year.
https://www.infinimata.com/2021/06/how-to-cover-yourself.html
some designs
I have 2 questions. First the blog, how did you make it? You didn't hardcode it. Did you?
Secondly, all these are stockphotos?
- I wrote my own blogging app, and designed the layout more or less from scratch
- The images are mostly taken from free stock image sites like Unsplash
Thanks mate.
YW!
Those are some... very cool book covers.
thank you! I work hard to make them look professional
I also hope the contents of the books live up to their exteriors :D
Yes Lemmy from Motรถrhead created a Reddit alternative
Your phone keyboard does that
i actually don't know why the website is named so but that would be an interesting inspiration
because https://join-lemmy.org
lemming, any of 20 species of small rodents, some of which undertake large, swarming migrations. Lemmings are found only in the Northern Hemisphere. They have short, stocky bodies with short legs and stumpy tails, a bluntly rounded muzzle, small eyes, and small ears that are nearly hidden in their long, dense, soft fur. The wood lemming (Myopus...
*Installed Arch Linux on your machine
too bad i already have arch
Robin try not to tell everyone he uses arch btw challenge (impossible)
is this a lemmy thing
the theme is based
(i use nord)
Yes, it is lemmy.
apt-get install firefox
It is nice when people tell you they use Arch right off the bat though
It's an easy way of knowing that you shouldn't listen to anything they say
they always will
Sorry my baseballs know I use Arch before I hit them with a bat
An ominous Goku
wtf is social science
Psychology, sociology, economics, political science, linguistics
Basically, areas of inquiry that are about human behavior rather than the natural world
To the extent that humans are separate from the natural world
ic
Stelerrr
eww, humans
Any top notch books to recommend? I'm interested in Martin Fowler's "Domain-Specific Languages". Not sure I want to ask my office to buy it or not ๐
it depends on the subject matter
.uwu clean code by uncle bob
cwean code b-by uncwe bob
But only ironically
.randomcase
cweAn CODE b-BY uNcWe BoB
Kek
clean code is the BEST book ever (i got it off of github)
.uwu
cwean code b-by uncwe bob
Hm ok
clean code had some ideas, already read.
programming, developing, software architecture in general
Preferrably NOT language specific.
pwogwamming, devewoping, softwawe awchitectuwe in genyewaw
Iโll recommend some old man books. Mythical man month. Cathedral and bazaar. Design of everyday things (not software but a nice read). I liked code complete. Design patterns/gof (highly influential, but donโt try to memorize it or anything), (I really want to recommend k&r even if itโs so old), Joel on software, soul of the new machine (for some history and perspective), seven languages in 7 weeks. Iโd love to but wonโt recommend TAOCP.
Oh, and innovators dilemma.
TACO ๐ฎ
Thanks, I will create a stack and start popping! ๐
Yah, this will prepare you talk to the grey beard programmers in the office
Next, ask for movie suggestions, so youโll know what weโre talking about
The one with largest beard in our team is the newcomer
As mar said the other day: obligatory https://qntm.org/clean
sigh but what about my 46 abstractions i made for a rectangle?
I have no trouble talking with any other dev. I think I have quite good experience. My biggest problem is perhaps that I'm quite a slow designer ๐ Some more shortcuts/auto-answers would benefit me.
Either: practice what you're bad at, or get really good at what you're already good at?
No
as for everyone? ๐
I mean, yeah it's good?
You said you're bad at design. Well, either practice design... or find something you like/are good at, and be the best at it.
Depends on where I'm doing something
Right, I guess, I stupidly thought "design" was a general thing and just widening my general knowledge would get me there. But there is no reason self-improvement targetted on design wouldn't be possible. Thanks!
I dunno, I guess it is a general thing too. You get better at solving problems with more experiencing seeing other solutions. Most of the time, I see a problem and say: "Oh, that's similar to this thing I saw"
And, sometimes it's a very unique problem... but even that, I can decompose to smaller pieces that map to things I know.
@polar galleon why aren't you kladdkaka
To be extra unique. My cousin is adamant that I misspelled kladdkaka when I created my wc3 account.
ic
What does min-height and max-height means in CSS?
It sets min and max heights for whatever element
Youtube android app is hiding my goddamn music mixes
Skill issue


