#ot1-perplexing-regexing
1 messages Β· Page 76 of 1

well, I'm stuck
move the left stuff to the right side
!e
from math import log
print(log(1))
@crystal spruce :white_check_mark: Your 3.12 eval job has completed with return code 0.
0.0
moyen I think you're overcomplicating a bit
mayhaps
treat 0.8 as some constant k
don't split it
n*ln(0.8) > -ln(X) -> n > -ln(X) / ln(0.8)?
some constant k less than 1 that is
n < 1 - log(X)
(yeah ik ln isn't log but i felt like changing them cos im cool like that)
uh
wait uh
missing a negative surely
edited
@jaunty wraith :white_check_mark: Your 3.12 eval job has completed with return code 0.
-0.2231435513142097
you've still dropped a minus sign somewhere
thats not how it works
that's not equivalent tho
a < -b
-a > b
you had a + b < c and turned it into a > b + c 
well, what now
flip the inequality sign
n > -log(X) / log(0.8)
yeah
minimum n is ceil of that

whats the thing for combining logs again
log(a/b) = log a - log b
for some reason every time I join this channel someone is speaking about maths
lol
ln(x)+ln(y)=ln(xy)
getting n > sthn gives better vibes here cuz like
vibes based math
"after" some bounces itll satisfy the conditions
nono the other thing, where multiplying logs changes the base or smth
log a / log b = log_b(a)
smh why does an associate require 5 years of experience
why are you like this grant thornton
whos that
n*log(0.8) < log(1) - log(X)
v
???
v
n > -log(X) / log(0.8)

they're counting ACs
lolll
why does dividing both sides by log(0.8) reverse the inequality
because log(0.8) is negative
cuz it's negative
o
also
X * (0.8)^n < 1
X * (4/5)^n < 1
X < (5/4)^n
(5/4)^n > X
n ln(5/4) > ln X
n > ln(X)/ln(5/4)
is how I'd do it
taking logs at the start is kinda 
real
no i haven't had dinner yet
Calculate the total distance and number of jumps it took until it was less than 1 meter.
what if its a trick question and they just mean the first fall
ez
distanceeee
there's some formula it's like uhh
just sum it bro
sum of gp
it's a gp
first term * (1-r^n) / (1 - r)
with several opportunities to off by one
well do it then
you just use it twice, once for going down then once for going up
goddamnit, why is my linkedin so cursed
i have no idea what is going on
going to try uninstalling and reinstalling chrome

goddamnit
it's still happening
why is that happening
let's try another browser
nope
happened on firefox too
ok
maybe clearing my cookies will work
this is really bad
Is it a LinkedIn issue?
i don't think so, my friend tried the same search and everything was fine
whatever it is, it's really bad
it's on every browser
i submitted a ticket to their support
i can't go past the eighth page anymore
maybe if i shut down the computer and try again itβll work
literally delusional
anyways
doesn't work on my other computer
hmmm
this is so bad
it's not bc of a chrome extension
all my chrome extensions are disabled
smhhhh
ugh
i can't get past page 26
It's definitely on their side. If you tried another computer and got the same result, it's because of something on a server on their end
i think so then
The issue is tied to your account, not your computer
i submitted a ticket
I'm sure you realised this already
yeah
let's see if they can resolve this
it's alright
well not really alright
but i will survive
Good luck have fun, I hope it wasn't super essential for you
linkedin? it is bc i need a job π¦
Yeah I need a job too lol but in my case Im not finding much through LinkedIn that I didn't find otherwise
ic
customer support for linkedin is pretty slow
let's see what they say
maybe they posted a freeze on my account or something
for using that chrome extension
idk
The problem is it's not showing you the full results if you log in?
I would stay logged out, go through all the results, and apply to them externally via the company's own system (not linkedin)
Lmao
problem is that if i go past the eighth page
it just stops and says that
but i know there are more jobs than just that
idk wth is going on
it's the strangest thing, it's fine for all my friends who are trying
i'm gonna guess they fucked up my account
I would make another account, or ask your friends to look for you, or search while logged out
Sadly yeah, whether deliberately or accidentally
word
Anyway good luck I gtg
thanks
what's up
is it floor(t)+1 or ceil(t)
floor because being at 1m is not less than 1m
hmm
hmm yes the floor here is made of ceil
starting at 1m should require 1 bounce
actually wait
my result looks wrong
ah because 0.2 is 1/5 not 5
this seems more feasible
fits with n->infty being 9X as well
@jaunty wraith get double pinged (deleted other one because I'm bad at math)
based
nice
how much can you simplify that by ignoring the floor
AKA "the floor is lava" optimization
if we can ignore the +1 as well it's 9X (1 - X)
wait, that doesn't make sense, does it? 
oh, it's divided by ln 5/4 rsther than ln 4/5
9X (1 - 1/X)?
sounds about right
PTO
ah

it doesn't carry over next year
... That's so weird
I assume that's legally required there
Some of my coworkers have to take PTO because they're at the carryover cap π₯΄ and I quite literally don't understand people who don't take PTO
But like... do anything else outside of work. Take trips, take days off, visit family and friends, rot in front of TV, anything that isn't work
or don't have anything except work
theres an episode about this particular topic on the next personal finance podcast i follow
I think my personal values are just so fundamentally diffferent than theirs that it's incredibly hard for me to understand and relate
doing nothing that uses my brain really makes me wanna die. watching yt for a whole day would probably kill me
Cause I have my PTO meticulously planned and tracked out for the next year, making sure I also have a few days I can use
I've done it over school breaks and it's very sad. winter break is good because AOC is then
thats smart. to always keep a bit of a buffer
Get a hobby! Especially one that doesn't involve you sitting in front of a screen
running
expand your hobbies 
I'm planning to use Thanksgiving break to establish a habit

Pick up cooking tbh, it's fun and then you get a meal at the end
perhaps
cooking is good
baking is even better, requires 0 skill, just religious adherence to the recipe
reading is good
You can do some much prep for it too, finding recipes, looking up ingredients and cooking methods. For me half the fun is the preperation for cooking
Oh man, the book I'm reading now has such potential but the writing style is just too simple and the characterization is so weak π it's so unfortunate
source?
It tricked me with its description of giant crystal-based mechs that require 2 pilots synced >_>
what's the name?
Specific Rim?
I need to take pto too
Got a bunch left and i can only carry over 5 days
But i work from home so days off and work days are pretty much all the same lmao
Work life balance in this case would mean i work more because i definitely underwork atm
So, can I pass on the question?
you need the 2 different setups
why isn't that a thing anyway
just get paid less then ask for more
i want more pay too π°
i need this
mina i just got a raise. 15%.
busting my butt all year was ||not|| worth it

mar take your pto. relax. and dont pull an sg
aw nice congrats!
why not
damn 15%? massive
Lots of chasing after doctors
oof
best of luck bud
navigating US healthcare system is a nightmare
cant imagine what its like over there
Its worse
why not take PTO so you can chase more doctors
Its not for me, but i did
i assumed so. oh ok good
I think its worse than the us
π¦
Its expensive, nobody knows shit, it takes ages
similar over here except its probably even more expensive
like most personal bankruptcy is due to medical debt
fun fact
But you dont die waiting for a surgery lol
You can get back to it, repaying your loans
It do be like that

Does anyone know a program to backup a macbook to a windows computer?
prayers
turns out all you need to do is create an smb share, then create a .dmg file in that share, and have time machine back up to that path
truly the apple way
step 2 done
ok
also yknow what the js party peeps said
if you want to start a fight, bring up the topic
of having raw sql in your components

is that controversial?
ask a frontend person
as a backend person, that just seems like leaking abstraction all over the place

Imagine if this component is doing some more (non-trivial stuff) if it is inserting to DB directly you can't test it in isolation
(i hope)
That's why I don't like it
did you watch the most recent one?
anything interesting?
I haven't
I'll watch it when I've got time π
it's terrible because it leaks all the implementation details
now if i want to change my schema i have to change everything
pretty much
next.js's whole thing is blurring the line between frontend and backend
though it's not like they stop you from doing it the traditional way
wack
# Subset for Egypt to India
temp_by_country_city_vs_year.loc["Egypt":"India"]
# Subset for Egypt, Cairo to India, Delhi
temp_by_country_city_vs_year.loc[("Egypt", "Cairo"):("India", "Delhi")]
# Subset for Egypt, Cairo to India, Delhi, and 2005 to 2010
temp_by_country_city_vs_year.loc[("Egypt", "Cairo"):("India", "Delhi"), 2005:2010]
Subsetting pivot tables are taxing
π
My eyes get hurt
is paper being white a race thing? trees are BROWN
probably not
easier to put black marks on white paper than white marks on black paper
You can say paper wasn't always white
We used to write on leaves
Then moved to papyrus
Which iirc if yellow
*is
The way paper was being made was by taking a bunch of leafy materials (I mean materials from trees) and then boiling it down in an alkaline solution like baking soda or bleach
It yields some sticky white substance which you then clean in water, press and dry to make paper
I presume that as our chemistry got better and better, we started to use caustic soda (NaOH) instead of bleach which yielded a whiter goo from the leaves
Then we were able to make even purer caustic soda so even whiter paper
Black paper doesn't make sense cuz why would you dye a paper?
You had black slates
You use chalk on them
If you had to write
On black
It was also easier to find black dye to write
@tranquil orchid I "fixed" my first circuit board π€
Did i hear nextjs
Oh yes
that
we all love server actions
as a Next.js shill, it is my duty to recommend writing SQL in the frontend to people
Can I take the STM32 microcontroller out of a cobra radar system and reprogram it like any other micro controller?
It's a cobra rad450 radar detector
I think it's no longer working properly anyways, so no harm in recycling something inside it that is working
My coverage report makes NO sense!
this is conftest.py
I guess it would help if I actually ran coverage. Oops
The interpreter not importing Any therefor preventing you from using Any. It is evolving. The singularity is now.
Oh no
hey guys, i've cloned this repository, but when I compile it, it seems to throw many errors. I'm new-ish to C++, so i was wondering if someone were to compile this repository to see if it works for them:
https://github.com/gianmarcopicarella/virgo
I am unsure if its something to do with my compiler version, etc
g++ main.cpp works fine for me
hey godly, you cloned it and had no issues running g++ main.cpp? did you do anything beforehand, of which i may have missed?
memray seems pretty cool, gonna try it out at work π
isnt this really old? i rememebr seeing it on miniclip, if my memory serves me right 
Released 6 years ago, not that old
oh, then im mixing it up with another game
tho it dsoes look interesting
oh, its from zachtronics
neat
i'm tryna get a pet tape worm so it can help me chew my food
sometimes i wonder why i can read
what'd you do? π
Depends
It may be write protected, might not be
Easiest way to check is probably to just try program it and see how it goes π
Brother bought a brand new cobra radar, went to set it up but the lcd screen wasnt turning on. Neither was the other board that controlled the radar/audio speaker
So he gave it to me to look at .. the power strip for the lcd screen wasnt fully plugged in straight from the factory
Cant get it to connect to anything like it's supposed to, so if he let's me have it for the mc I'll try to program it
Well he says brand new but the PCB had clear signs of third party pampering.
From the looks I'm guess there was a short circuit they tried fixing, there was that liquid stuff that helps solder melt with less heat on the board on some transistors
Dont think they quite fixed it π
I woke up at 5 am, and im seeing tbe same people that i saw at 9 am, 1 pm and 9pm active on this server
Do people here not sleep
a lot of people here run on RST
Ok but why am i seeing them 24/7
because RST works like that
.wiki RST
Bloodshot (film)
the nanites and RST servers to hack into databases, Ray tracks Axe to Budapest and kills him along with his bodyguards. Back at RST, Ray is put to sleep
Rhetorical structure theory
Rhetorical structure theory (RST) is a theory of text organization that describes relations that hold between parts of text. It was originally developed
They run on rapid storage technology?
rem standard time
I'm awake for 18-28 hours at a time
i've got an aws ec2 instance (free tier) to host a discord bot, and for whatever reason, the bot keeps randomly going down but only while i'm actively connecting to it via vscode ssh
the bot goes offline, the ssh connection breaks, but the aws page reflects nothing wrong with the server, stating that everything runs normally. rebooting the aws instance seems to fix the issue but it takes a few minutes for the server to come back to a useable state and is quite disruptive to development
this can happen as often as every half hour or so, though i haven't noticed a pattern
anyone have theories about why this might be?
pls ping if anyone has any ideas thank youuuuu <3
How does the resource utilization look when it crashes?
RΓ‘m, CPU and such
crash occured at red circle
btw very sorry if i'm not super familiar with a lot of the stuff i'm dealing with here, i'm very inexperienced and have had significant help from a friend who knows a fair bit more about networking stuff than i do
Why does this not show RAM, amazon? VSC SSH is not the lightest thing to run, I would expect it to potentially eventually run the server out of RAM
that would make sense given that i'm using the free tier Β―_(γ)_/Β―
though this time it's not coming back up despite my multiple restarts
directly connecting through cmd instead of visual studio ssh extension reveals that botd is down which i'm sure is relevant- i just don't know how to restart it from this window π
the command i usually use to restart the bot is sudo systemctl restart botd, btw
failed means it tried to start and errored out instead
oh i see, how do i view the error when i attempt to start it?
systemctl status botd. Ctrl+C will probably get you out of that screen
That is indeed an odd one. Try the restart and see if you get something more useful
oop, restarted it and the bot successfully launched lol
just seems very erratic as to when it will and won't work
i tried periodically for like 10 minutes after it went down, left it for a half hour and came back to no issue
That does smell like VSC leaving a bunch of node processes waiting to timeout
hmm, you think the initial crash is caused by a ram overload, then?
That would be my assumption
i'm not using vscode's ssh to upload any large files like images; just edit code/json remotely
are there some settings i can tweak to lighten the load?
Maybe try setting the env var UV_THREADPOOL_SIZE to 2, but I don't know how much that could help
hm, alright. i guess the obvious solution here is just to upgrade to a paid plan haha, maybe that's what i'll end up doing
thank you so much for your help!
I would perhaps look more into just uploading your code to the server and developing on your local machine
can someone explain to me why I've seen multiple people with the symbols at the end of this guys name? is it like a cult within python discord or what
Its lacking the needed port to connect for the reprogramming 
Python devs love cats
π
what
yeah but that's like sooooooooooo much effort
You could try automating by say running rsync on save
Chocolate pizza are not Real pizza
So I have a discord / phone setting question:
I have an old iPhone. Whenever I share certain file types it suggests me to share it with Discord (channels and DMs). Is there any way to turn this off??
(I havent put together on which file types it suggests it yet..)
Go
Just cloned it and ran g++ main.cpp, nothing else
funny joke
someone mustve made this since i dont think sam altman actually has a LI
He's gonna need one now
π₯
omg im reading this blog and this line killed me:
I'm a substantially less experienced engineer than many of the readers here, but suffice it to say that I can read documentation without panicking, which is considered S-tier in this country.
π π
I'm waiting for him to announce a new company
or join elon
what story
the one im reading
I get a friend of mine hired (big fan of nepotism), and he finds, on day one, a file in the project's repository that deletes prod using our CI/CD pipelines if it is ever moved into the wrong folder. It comes complete with the key and password required for an admin account. It was produced by the former lead engineer, who has moved on to a new role before his sins catch up with him.
The entire thing is stitched together by spreadsheets that are parsed by Python, dropped into S3, parsed by Lambdas into more S3, the S3 files are picked up by MongoDB, then MongoDB records are passed by another Lambda into S3, the S3 files are pulled into Snowflake via Snowpipe, the new Snowflake data is pivoted by a Javascript stored procedure into a relational format... and that's how you edit someone's database access. That whole process is to upload like a 2KB CSV to a database that has people's database roles in it.
This is considered more auditable.
Everything is transformed into a CSV because the security team demanded something that could undergo easy scanning for malicious content, then they never deployed the scanning tool, so we have all the downsides of the CSVs and none of the upsides.
average industry data pipeline 
you have to put actual effort to be this bad at your job
i would send you the link but im still reading. it hasnt even gotten to the good part yet according to joe reis
π₯΄
i mean yeah look at that first paragraph. wild.
pandas are an endangered species, robin
D:
oh my lanta. that was a wild af ride
sushi at the jp shop. it was hella good
the tldr moment:
I ask management for a 30K raise after saving 500K and my message is still unread. I suspect I will eventually receive either nothing or 5K.
I have even more meetings now because everyone wants to talk about how we saved the money. I had to make a PowerPoint. Kill me.
I would have been better off not doing anything. Let that be a lesson to you. Do you hear me? I applied myself for five minutes against my own better judgement, had the greatest success of my career, and have immediately been punished for it. Learn from my mistakes, I beg of you.
im definitely saving this one
anyway, how he did it basically boils down to snowflake's auto-suspend configurations. just read the docs, peeps. this is mentioned multiple times in the snowflake docs:
people learn that one way or another
delete the database and its backups and move to a different country
ποΈ
casually advocates felony

real
anyway some more reading for the idle lurkers:
hardware update - https://spectrum.ieee.org/generative-ai-training
where AMD?
youre funny
Nvidia continued to dominate the MLPerf benchmarks with systems made from its H100 GPUs. But the results from Eos, the companyβs new 10,752-GPU AI supercomputer, were the cherry on top. Bending all those GPUsto the task of the GPT-3 training benchmark, Eos had the job done in just under 4 minutes. Microsoftβs cloud computing arm, Azure, tested a system of the exact same size and were behind Eos by mere seconds. (Azure powers GitHubβs coding assistant CoPilot and OpenAIβs ChatGPT.)
π¬ me when i run the pipeline with the wrong parameters so it emails the entire devops team
oops. still wrong parameters
bro
wait youre working on sat
i said earlier
oh you did mention this
but i thought you were half-joking
honestly ill probs have to put in some hours tomorrow

no. right params. getting a very strange error π
working on a Sunday 
i guess we're not deploying today
haha i like that emote
deploy to the testing machine π¦
moyen how can i kill all processes accessing a certain directory
you emailed them on a saturday? rip pub
lsof
i didn't. azure pipelines did
L pipeline. should email the triggerer
them getting a notif via slack/teams/etc.: ...
some people set that up to notify their mobile too
esp if theyre on a devops team
nah

oh, it's an error in the pipeline itself. not my fault π
we're trying to remove files then shut down the server, but the server is still using the files so windows says no
wait, is your pipeline FTP'ing?
it's installing a universal package
no it's a web site
it's an azure pipelines thing
the app server in IIS. so we can mess with the app files
L azure devops on god
well many of the dev teams do
frfr
the architect i work with uses codebuild
bro why
yeah, but why
not our choice
parent company things
to get a newer version for testing
wait, do you mean shut down IIS or shut down the machine?
the app server in IIS π©
moyen i never officially asked this but are you a devops eng at your company? or a platform dev? or?
no
oh
sre
read bio please
sr
reading is tough
sre is one of those terms thats dif from company to company
whats it mean here

real
we don't do onprem
yet
those things are chugging along
tuning and auditing use of cloud databases is one of the things we do though
"we don't know why database servers X, Y, and Z's performance is dipping"
I mainly focus on k8s and stuff
usually because you're not using it right
fr
we do on prem a lot. but a lot of migrating to cloud is happening
its probably a dev's fault tbh
the devs
it's always the devs
some stored procedure doing funky things
pub, you're a dev
ok and
same here but we shall see where everything lands
it's pub's fault
until he becomes responsible for managing the db servers
then he gets to blame others

i don't think a role demanding 2+ years of experience is good for someone who's just graduating ... right?
no
probably not what they're looking for
same thoughts here
eh
i have 5
depends on the internships
also true
yeah
i don't think internships add up to 2 yoe
they don't
even if you've had a bunch
mine don't at least
moyen how long have you been working for? if you dont mind. im curious
the type of work you're doing at internships is different, even if the companies say you're doing normal work π©

correct
I think I've told you before, smh
only 5 years
whaaa. point it to me
moyen's like 30 right
oh ok gotcha. 5 years is a lot
nah
5 years for senior is pretty good
ive technically been working for ~2 years. less if you dont count my internships
but you know on my resume im including that time

didn't you start programming only 2 years ago?
also correct
that's pretty good
kinda cool, yeah
but you can't really count your 2 years in grad school vs my 2 years in hs the same π©

would you say your 2 years in hs is equal to..?
idk like a month?
this is a weird comparison to make
in total from high school like 2 months
a month? nah i think you overestimate what happens in grad school
academic coding? cmon pub
we're talking matlab stuff here
some things are more productive Β―_(γ)_/Β―
well i sent a teams message in the devops chat. we'll see what happens in 2 days π©
professors love matlab
why are you working on a Saturday anyway
i had exams and stuff to do
it was not a fun time
ok and?
i want to make money
were they like really old?
not even really. but his past advisor was really old
and they co-wrote a paper together
because lisp was very popular for AI in 70s and 80s
just land that DE internship pub
what was it?
68/hr? or something
63
or
or
i couldn't think of a good reason to work there. and i don't lie
cap
meh
i see
okay one last reading for the lurkers:
if youre into data systems, esp serverless ones - https://jack-vanlightly.com/blog/2023/11/14/the-architecture-of-serverless-data-systems
I recently blogged about why I believe the future of cloud data services is large-scale and multi-tenant, citing, among others, S3.Β β Top tier SaaS services like S3 are able to deliver amazing simplicity, reliability, durability, scalability, and low price because their technologies are s
oh a wild sg has appeared
you were mentioned earlier
kinda

super glow
π©
Hello everyone! How are you today?
enough.
you?
is it really possible to tell how we are, today?
how unexpected and vague, the term "today"
no but fr i need to have something for him to sign
signed FoDE
lmao i already have that
and those arent my favorite favorite podcasts
this is my number one favorite podcaster
incorrect
let me say it one more time pub
joe reis is not my favorite podcaster
damn
wow rex origin story
kinda clever name
listened to every single episode so far
ye

@young shoal dont give the pleading face, theres more than one in this bucket

the career change?
1.5 years is how long it took me to get through grad school (round 2)
summer classes + front-loading.
sheesh
did you predict this outcome
otherwise id burnout ||been there done that||
what outcome?
being mellow
i've already realized i'm not really smart enough for the cool programming jobs, so i need to find something to settle on yk
What are cool programming jobs and where can I find them?
"if you have to ask.."
Its for when you have 5+ years exp
Then someone might know?
no
Then Pub will bully you.
like building wacky distributed systems?

the quant type jobs yk
well i kinda gave up
They do this for free anyway.
so it's distributed systems now i think π€
I've already realized I'm not really smart enough for the standard programming jobs
That's half the reason I'm leaning into sysadmin
True
Is there any way to fix it?
π
Could try asking for a refund. 

Lets see
@young shoal I want a refund.
store policy says no
Never seen a personal OneDrive link in the wild before
How smart do you have to be?
aww shit here we go
I recognize that link see you this afternoon
With altmans debacle
And copilot crap
jesus hecking dog
Ill wait for your summary π
Jk i wont even read it
I'll just let Copilot summarize it
Large font? I'm looking at 36k words right now and those tally into just 104 paperback pages.
many many many many many MANY images
Pages 100 - 158 are "Appendix A -- Important images", with nothing but 1 - 3 images per page
"Important images"
Hahahahaha did you enjoy @vale raven
yay
both my profs cancelled class on monday
i can just relax and do my interviews
I get Thanksgiving Day off of work this year
nice
Does anyone have experience working with Point Grey's FlyCapture2?
User-Friendly Interface, Process management, Multitasking, Network management, Etc
@tranquil orchid you winning the cricket part π
f
f
Yeah just the usual

HI
I did not
I was just thinking the other day that I never head anything else about it
Get ready for a new era in communication (again).
iPager is a device that uses outdated messaging tech, like Apple uses when texting with Android. It comes with all the features you already know: lack of encryption, broken group chats, pixelated pics and videos and the (in)famous green bubble.
iPager isn't real, but the problems that Apple cau...
LMAOOOO
@crystal spruce
i'll be honest, if i had to guess i would've thought that was your elbow
ohh is it on your wrist?
yea
what's weird is that my right hand doesn't have it
feels like a bone i think
it's so old it contained my old pseudoname
damn nice
Core developer
man wanted to close the pr every 2 comments π
i'm an idiot
i bought a ds/algos course in python
doesn't even cover
ARRAYS
smh
conned
@pulsar heart https://www.theverge.com/2023/11/20/23968829/microsoft-hires-sam-altman-greg-brockman-employees-openai
microsoft: ||surprise b*tches
||
lmao
what do you need to know about arrays that wouldn't transfer from lists
I saw it. I literally have a referral at Microsoft. This is crazy. I'm 1000x more motivated to try my best to get in.
dude good luck
Is not just Sam, it's Sam & friends
yeah i mean good chunk of openai staff is probably hopping over
thanks
The person posting is legit
openai is probably done for
goodbye my biz majors
who extensively rely on chat gpt
or as psvm calls it
chat gippity
Ilya, in a move to push for AI safety, has just bled all the talent onto a bigN company. Yikes.
its their own fault smh
Seems like Microsoft is the big winner
microsoft casually scooping up all the employees for free
microsoft is pushing copilot, and win over half of the teams that made it possible
uno reverse got reversed to the board
ingeneious
best tech drama in recent times ngl
I'm tryna find someone who is completely unaware of all this, and get an opinion for this new short story for a silicone valley episode.
Fr shouldn't be that hard, whole thing is what, 3 days old ?
honestly agree with comment. from my friend who linked me this: https://news.ycombinator.com/item?id=38347868
holy ssh
im stealing this line
5 bucks
sucks to be at the bottom of the food chain
thanks
Its mine though

Lmaoooo this aint real life
My team at NVIDIA is hiring. We π©· you all from OpenAI. Engineers, researchers, product team, alike. Email me at linxif@nvidia.com. DM is open too. NVIDIA has warm GPUs for you on a cold winter night like this, fresh out of the oven.π©·
I do research on AI agents. Gaming+AI,β¦
π 358
OpenAI employee signing out and both msft and nvidia are both hiring
sorry your cut got stolen
NVIDIA has warm GPUs for you
!e @high verge I managed to make this mess that seems to work ```py
from dataclasses import dataclass, asdict
def test(old_class):
old_class = dataclass(old_class)
bases = []
for base in old_class.bases:
if hasattr(base, "source_class"):
bases.append(base.source_class)
else:
bases.append(base)
old_class = type(old_class.name, tuple(bases), dict(vars(old_class)))
class new_class(old_class):
source_class = old_class
def new(cls, string_to_process: str) -> dict:
result = string_to_process.split() # example processing
return asdict(old_class(*result))
return new_class
@test
class A:
data: str
@test
class B(A):
data2: str
print(A("test"))
print(B("test1 test2"))
@outer sundial :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | {'data': 'test'}
002 | {'data': 'test1', 'data2': 'test2'}
i finally did it... but prepare for this monstrosity @late orchid:
def cstruct(data_format: str, byte_order: str = "little"):
def decorate(cls):
struct_format = data_format
base_class = cls.__base__
if base_class is not object and hasattr(base_class, "primitive_format"):
struct_format = base_class.primitive_format + data_format
old_class = cls
newclass_bases = []
for base in old_class.__bases__:
if hasattr(base, "source_class"):
newclass_bases.append(base.source_class)
else:
newclass_bases.append(base)
cls_dict = dict(cls.__dict__)
cls_dict.pop("__dict__", None)
old_class = type(cls.__name__, tuple(newclass_bases), cls_dict)
setattr(old_class, "__annotations__", cls.__annotations__)
old_class = dataclass(old_class)
class newclass(old_class):
source_class = old_class
primitive_format = struct_format
data_byte_order = byte_order
def __post_init__(self):
dataclass_values = [i[0] for i in dataclasses.asdict(self).values()]
setattr(self, "meta", _collect_metadata(self))
# this probably isn't the most elegant way to do this
setattr(
self.__class__,
"__getitem__",
lambda zelf, item: dataclass_values[item],
)
setattr(self.__class__, "__repr__", lambda zelf: repr(self.meta))
setattr(self.__class__, "__str__", lambda zelf: str(self.meta))
def __new__(_cls, stream, offset: int = -1):
self = super().__new__(_cls)
_cls.__init__(
self, None, **(_read_cstruct(_cls, stream, offset=offset))
)
return self
newclass = dataclass(newclass)
newclass_init = newclass.__init__
def _init(self, stream, *args, **kwargs):
if stream is not None:
return
newclass_init(self, *args, **kwargs)
newclass.__init__ = _init
return newclass
return decorate
@cstruct("II(0)c(0)UI")
class test:
a: int
b: int
c: list # is pad byte
d: list
e: x
@cstruct("B")
class test2(test):
f: int
x = io.BytesIO(bytes.fromhex("02000000 00000000 01 00 ffff03 feff03 01000000 01"))
y = test(x)
z = test2(x)
print(y.d)
print(z.f)
output:
[65535, 65534]
1
yes
help
Looks like I had the right idea in the end, just needed all the polish
thank you so much for all the help you and etrotta
π
y
yes ty princess 

now i go break this more and find more bugs
honestly im not sure how i would break this it all works fine now ig
well, on-call is off to a great start. Already been called by people asking for support with things we have sent out memos explicitly saying we're not helping with until January.
On-call starts tomorrow btw.
congratulations, that is even more cursed than most of the things you see in #esoteric-python
the worst of all just might be the setattr(self.__class__, ...) though. Just define it like normal methods, you're already creating a new class anyway? Or does it have some reason to be inside of post_init? If the later, are you sure it will not break depending on the order you instanciate things?
oh, yeah. i just wanted to get a poc working and clean up afterwards
but rn im celebrating my victory on this so i'll continue tomorrow and push my commits tomorrow as well
just make sure that it is in fact working first, and will not fail edge cases
!e
print(*['hello world']*2, sep='\n')
@crystal spruce :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | hello world
002 | hello world
get owned
no thanks
there's probably a complex analysis method or something, but I've narrowed it down to decomposing an nth derivative of a laurent polynomial into a linear combination of certain laurent polynomials
I just don't know which ones/how to do it, so I'd like something I can play around with in python
does expanding the cos help any?
could probably use sympy, but I like doing it myself
first step is that yeah
the arctan you can use the complex logarithm definition and use cos x = Re(exp(ix)) to simplify out
and then you get two separate integrals from the sin and cos
which actually are just successive derivatives of one integral
and they're weighted by binomial coefficients as well, which makes it really cool since leibniz product rule applies
and you can use it in the reverse direction
or just know that the inverses have nice formulas
.latex oh and I used
[
\frac{\Gamma(n)}{(1+x^2)^n}=\int_0^\infty t^{n-1}e^{-(1+x^2)t},\mathrm dt
]
at some point
cos(arctan(x))
"for a triangle that has b/a = x, what is c/a?"
yeah but for cos(n arctan x)
ah, right
@crystal spruce do you know if there exists any nice answer?
violating your constraints slightly and picking Ξ±=Ξ²=0 even then the answer isn't nice
but maybe because it's some terrible expression including ||erf||
n=2, alpha=2, beta=2 yields 2sqrt(pi)/3e
which I have a proof of
if the cosine is gone

ok yeah this is cursed
there's a sequence of numbers







