#ot1-perplexing-regexing

1 messages Β· Page 76 of 1

jaunty wraith
#

you're monotonic increasing

#

log(X) + n*log(0.8) < log(1)
then

crystal spruce
jaunty wraith
#

what's wrong

crystal spruce
#

nothing

#

go on

jaunty wraith
#

well, I'm stuck

young shoal
#

move the left stuff to the right side

crystal spruce
#

!e

from math import log
print(log(1))
royal lakeBOT
#

@crystal spruce :white_check_mark: Your 3.12 eval job has completed with return code 0.

0.0
jaunty wraith
#

hmm

#

n*log(0.8) < log(1) - log(X)

sterile sapphire
#

why isn't outlook working on my work laptop damnit

#

time to call IT

jaunty wraith
#

n*(log(8) - log(10)) < log(1) - log(X)

#

n*log(8) - n*log(10) < log(1) - log(X)

crystal spruce
#

moyen I think you're overcomplicating a bit

jaunty wraith
#

mayhaps

crystal spruce
#

treat 0.8 as some constant k

jaunty wraith
#

o

#

k

crystal spruce
#

don't split it

jaunty wraith
#

n < -log(X)

tropic lichen
#

n*ln(0.8) > -ln(X) -> n > -ln(X) / ln(0.8)?

crystal spruce
#

some constant k less than 1 that is

jaunty wraith
#

n < 1 - log(X)

tropic lichen
#

(yeah ik ln isn't log but i felt like changing them cos im cool like that)

tropic lichen
#

wait uh

young shoal
#

missing a negative surely

tropic lichen
#

edited

jaunty wraith
#

rewriting history, smh

#

!e

from math import log
print(log(0.8))
royal lakeBOT
#

@jaunty wraith :white_check_mark: Your 3.12 eval job has completed with return code 0.

-0.2231435513142097
jaunty wraith
#

I see

#

n > log(X) / log(0.8)

crystal spruce
#

you've still dropped a minus sign somewhere

jaunty wraith
#

changed a < -b to a > b

#

because

#

looks cooler

acoustic moss
#

thats not how it works

crystal spruce
#

that's not equivalent tho

jaunty wraith
#

I know

#

it looks cool though

acoustic moss
#

a < -b
-a > b

jaunty wraith
#

rule of cool

#

n < -log(X) / log(0.8)

tropic lichen
#

you had a + b < c and turned it into a > b + c pithink

jaunty wraith
#

well, what now

crystal spruce
#

flip the inequality sign

acoustic moss
#

n > -log(X) / log(0.8)

crystal spruce
#

yeah

acoustic moss
#

minimum n is ceil of that

jaunty wraith
tropic lichen
#

whats the thing for combining logs again

jaunty wraith
#

log(a/b) = log a - log b

hearty violet
#

for some reason every time I join this channel someone is speaking about maths

#

lol

crystal spruce
#

ln(x)+ln(y)=ln(xy)

acoustic moss
#

getting n > sthn gives better vibes here cuz like

jaunty wraith
#

vibes based math

acoustic moss
#

"after" some bounces itll satisfy the conditions

tropic lichen
#

nono the other thing, where multiplying logs changes the base or smth

acoustic moss
#

log a / log b = log_b(a)

sterile sapphire
#

smh why does an associate require 5 years of experience

#

why are you like this grant thornton

acoustic moss
#

whos that

sterile sapphire
#

big one

jaunty wraith
#

n*log(0.8) < log(1) - log(X)
v
???
v
n > -log(X) / log(0.8)
pithink

acoustic moss
#

why do they need firms for doing a counting

#

are they stupid

jaunty wraith
#

they're counting ACs

sterile sapphire
jaunty wraith
#

why does dividing both sides by log(0.8) reverse the inequality

acoustic moss
#

because log(0.8) is negative

edgy crest
#

cuz it's negative

jaunty wraith
#

o

crystal spruce
#

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 pithink

young shoal
#

real

jaunty wraith
#

now that we have n

#

gib distance

crystal spruce
#

I have dinner

#

later

#

if pub hasn't done it already

young shoal
#

no i haven't had dinner yet

jaunty wraith
#

pub

#

math please

acoustic moss
#

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

young shoal
#

😩

#

X-1

acoustic moss
#

ez

jaunty wraith
#

distanceeee

young shoal
edgy crest
#

just sum it bro

acoustic moss
#

sum of gp

edgy crest
#

it's a gp

young shoal
#

first term * (1-r^n) / (1 - r)

acoustic moss
#

with several opportunities to off by one

jaunty wraith
#

well do it then

young shoal
#

you just use it twice, once for going down then once for going up

sterile sapphire
#

goddamnit, why is my linkedin so cursed

#

i have no idea what is going on

#

going to try uninstalling and reinstalling chrome

jaunty wraith
#
sterile sapphire
#

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

green pelican
#

Is it a LinkedIn issue?

sterile sapphire
green pelican
#

Well it could in theory affect like 1000 people

#

Not everyone

sterile sapphire
sterile sapphire
green pelican
#

So it's more likely not client-side

#

Or atleast browser related

sterile sapphire
sterile sapphire
sterile sapphire
#

literally delusional

#

anyways

sterile sapphire
#

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

final crest
#

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

sterile sapphire
#

i think so then

final crest
#

The issue is tied to your account, not your computer

sterile sapphire
#

i submitted a ticket

final crest
#

I'm sure you realised this already

sterile sapphire
#

yeah

final crest
#

Yeah, nice

#

It sucks :( I'm sorry

sterile sapphire
#

let's see if they can resolve this

#

it's alright

#

well not really alright

#

but i will survive

final crest
#

Good luck have fun, I hope it wasn't super essential for you

sterile sapphire
final crest
#

Yeah I need a job too lol but in my case Im not finding much through LinkedIn that I didn't find otherwise

sterile sapphire
#

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

final crest
#

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)

sterile sapphire
final crest
#

Lmao

sterile sapphire
#

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

sterile sapphire
#

i'm gonna guess they fucked up my account

final crest
#

I would make another account, or ask your friends to look for you, or search while logged out

final crest
sterile sapphire
#

word

final crest
#

Anyway good luck I gtg

sterile sapphire
civic pasture
#

H guys

#

It’s me

sterile sapphire
crystal spruce
#

I think it's that

#

it's 1am forgib me if I made a mistake

acoustic moss
#

is it floor(t)+1 or ceil(t)

crystal spruce
#

floor because being at 1m is not less than 1m

acoustic moss
#

hmm

grave cove
#

hmm yes the floor here is made of ceil

crystal spruce
#

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)

young shoal
#

based

acoustic moss
#

how much can you simplify that by ignoring the floor

jaunty wraith
#

AKA "the floor is lava" optimization

solemn tulip
#

wait, that doesn't make sense, does it? pithink

#

oh, it's divided by ln 5/4 rsther than ln 4/5

#

9X (1 - 1/X)?

acoustic moss
#

sounds about right

high haven
#

did i miss anything? no? good

#

im off today and tomorrow

young shoal
#

nice

#

wait why

high haven
#

PTO

young shoal
#

pog

#

what's the occasion

high haven
#

the occasion is

#

rex needs to burn up his PTO

#

days

young shoal
#

ah

high haven
young shoal
#

it doesn't carry over next year

high haven
#

"only in the states of California, Colorado, and Illinois"

honest star
#

... That's so weird

young shoal
#

I assume that's legally required there

high haven
#

listen.

#

i hate it

honest star
#

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

high haven
#

some people dont

#

yeah

young shoal
#

maybe they're just workaholics

#

or pressured into not

honest star
#

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

young shoal
#

or don't have anything except work

high haven
young shoal
#

that'll be me 😎

#

they're on the grindset

honest star
#

I think my personal values are just so fundamentally diffferent than theirs that it's incredibly hard for me to understand and relate

young shoal
#

doing nothing that uses my brain really makes me wanna die. watching yt for a whole day would probably kill me

high haven
#

lets try it

#

for science

honest star
#

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

young shoal
high haven
honest star
#

Get a hobby! Especially one that doesn't involve you sitting in front of a screen

young shoal
#

my hobbies are coding and video games 😭

#

maybe running soon actually

high haven
#

running

honest star
#

hyperlemon expand your hobbies hyperlemon

young shoal
#

I'm planning to use Thanksgiving break to establish a habit

high haven
honest star
#

Pick up cooking tbh, it's fun and then you get a meal at the end

young shoal
#

perhaps

high haven
#

cooking is good

graceful basin
#

baking is even better, requires 0 skill, just religious adherence to the recipe

high haven
#

reading is good

honest star
#

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

high haven
#

thats what ill be doing today

#

reading. but physical books

honest star
#

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

young shoal
#

source?

honest star
#

well... not weak, but shallow

#

Iron Widow

young shoal
#

never heard of it

#

I'm reading some rocket science book which is really interesting

honest star
#

It tricked me with its description of giant crystal-based mechs that require 2 pilots synced >_>

young shoal
#

ignition

#

it's like, written to be easy to understand

tardy rain
#

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

young shoal
#

that's bad

#

where work life balance?

tardy rain
#

Work life balance in this case would mean i work more because i definitely underwork atm

#

So, can I pass on the question?

young shoal
#

you need the 2 different setups

tardy rain
#

No i just need them to buy my pto off me

#

We can call it a xmas bonus

young shoal
#

why isn't that a thing anyway

distant hazel
#

some companies pay you for unused PTO

#

i want more PTO instead 😠

young shoal
#

just get paid less then ask for more

distant hazel
#

i want more pay too πŸ’°

young shoal
#

gotta get on the grind then

#

have you listened to the new red velvet album

high haven
high haven
#

busting my butt all year was ||not|| worth it

high haven
tardy rain
#

Cant relax rn

#

Life is being difficult at me rn

distant hazel
high haven
high haven
undone thorn
#

damn 15%? massive

tardy rain
high haven
#

best of luck bud

#

navigating US healthcare system is a nightmare

#

cant imagine what its like over there

tardy rain
#

Its worse

high haven
#

why not take PTO so you can chase more doctors

tardy rain
#

Its not for me, but i did

high haven
#

i assumed so. oh ok good

tardy rain
#

I think its worse than the us

young shoal
#

😦

tardy rain
#

Its expensive, nobody knows shit, it takes ages

high haven
#

similar over here except its probably even more expensive

#

like most personal bankruptcy is due to medical debt

#

fun fact

tardy rain
#

But you dont die waiting for a surgery lol

#

You can get back to it, repaying your loans

high haven
#

different tradeoffs

tardy rain
#

It do be like that

high haven
graceful basin
#

Does anyone know a program to backup a macbook to a windows computer?

graceful basin
# spare oriole 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

high haven
#

i spy WAL

#

πŸ‘οΈ

young shoal
#

πŸ‘€

#

I think it's time I contributed to a real open source project

high haven
#

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

young shoal
#

is that controversial?

high haven
#

ask a frontend person

young shoal
#

as a backend person, that just seems like leaking abstraction all over the place

grave cove
#

From real Nextjs conf

high haven
spiral zephyr
#

I got baited

tardy rain
#

Atleast its not straight up string interpolation

spiral zephyr
#

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

tardy rain
#

(i hope)

spiral zephyr
#

That's why I don't like it

high haven
#

anything interesting?

grave cove
#

I'll watch it when I've got time πŸ‘€

young shoal
#

it's terrible because it leaks all the implementation details

#

now if i want to change my schema i have to change everything

grave cove
#

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

young shoal
#

wack

civic pasture
#
# 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

stiff siren
#

is paper being white a race thing? trees are BROWN

grave cove
#

probably not

#

easier to put black marks on white paper than white marks on black paper

fathom musk
#

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

eager cliff
#

@tranquil orchid I "fixed" my first circuit board πŸ€“

thick ore
#

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

eager cliff
#

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

cobalt remnant
#

My coverage report makes NO sense!

#

I guess it would help if I actually ran coverage. Oops

thick osprey
#

The interpreter not importing Any therefor preventing you from using Any. It is evolving. The singularity is now.

wanton delta
#

Oh no

inner moon
#

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

solid elbow
inner moon
sick shadow
glossy niche
unkempt monolith
#

Released 6 years ago, not that old

glossy niche
#

oh, then im mixing it up with another game

#

tho it dsoes look interesting

#

oh, its from zachtronics

#

neat

stiff siren
#

i'm tryna get a pet tape worm so it can help me chew my food

wanton delta
#

sometimes i wonder why i can read

glossy niche
tranquil orchid
tranquil orchid
#

It may be write protected, might not be

#

Easiest way to check is probably to just try program it and see how it goes πŸ‘€

eager cliff
#

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 πŸ˜…

jovial oriole
#

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

crystal spruce
#

a lot of people here run on RST

jovial oriole
#

Ok but why am i seeing them 24/7

crystal spruce
#

because RST works like that

jovial oriole
#

.wiki RST

median domeBOT
#
Wikipedia Search Results

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

jovial oriole
#

They run on rapid storage technology?

crystal spruce
#

rem standard time

jovial oriole
#

rem?

#

Does no one here get off discord

eager cliff
warm briar
#

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

graceful basin
#

RΓ‘m, CPU and such

warm briar
#

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

graceful basin
#

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

warm briar
#

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

graceful basin
#

failed means it tried to start and errored out instead

warm briar
#

oh i see, how do i view the error when i attempt to start it?

graceful basin
#

systemctl status botd. Ctrl+C will probably get you out of that screen

warm briar
#

not exactly sure how to interperet this

graceful basin
#

That is indeed an odd one. Try the restart and see if you get something more useful

warm briar
#

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

graceful basin
#

That does smell like VSC leaving a bunch of node processes waiting to timeout

warm briar
#

hmm, you think the initial crash is caused by a ram overload, then?

graceful basin
#

That would be my assumption

warm briar
#

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?

graceful basin
#

Maybe try setting the env var UV_THREADPOOL_SIZE to 2, but I don't know how much that could help

warm briar
#

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!

graceful basin
#

I would perhaps look more into just uploading your code to the server and developing on your local machine

sick shadow
eager cliff
#

Python devs love cats

sick shadow
#

OH it's a cat!!

#

Yeah I see it now

eager cliff
#

😐

sick shadow
warm briar
graceful basin
#

You could try automating by say running rsync on save

warm briar
#

ooh that could work

#

ok i might look into that

fossil solar
#

Chocolate pizza are not Real pizza

fading agate
#

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..)

jovial oriole
solid elbow
grave cove
high haven
#

someone mustve made this since i dont think sam altman actually has a LI

tardy rain
#

He's gonna need one now

high haven
#

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.

#

πŸ’€ πŸ’€

quick ledge
#

or join elon

high haven
#

@young shoal dude this story is getting more and more ridic

sterile sapphire
#

tech companies must be lining up to hire him

#

right?

#

no?

high haven
#

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.

young shoal
#

based

#

how long does that take to develop

undone thorn
#

average industry data pipeline peepoSit

lament cairn
high haven
young shoal
#

πŸ₯΄

high haven
graceful basin
#

I mean, just don't move it to the wrong folder

#

write a CI check for it /j

grave cove
#

Rex

#

What's for lunch

#

I had panda

jaunty wraith
#

pandas are an endangered species, robin

young shoal
#

D:

high haven
high haven
young shoal
#

poggers

#

rex i'm pulling an sg

high haven
# high haven oh my lanta. that was a wild af ride

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:

jaunty wraith
high haven
#

like me

rough sapphire
young shoal
#

casually advocates felony

high haven
young shoal
#

real

high haven
#

anyway some more reading for the idle lurkers:

high haven
high haven
# high haven hardware update - https://spectrum.ieee.org/generative-ai-training

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.)

young shoal
#

😬 me when i run the pipeline with the wrong parameters so it emails the entire devops team

#

oops. still wrong parameters

jaunty wraith
#

bro

high haven
#

wait youre working on sat

young shoal
#

i said earlier

high haven
#

but i thought you were half-joking

#

honestly ill probs have to put in some hours tomorrow

young shoal
jaunty wraith
#

working on a Sunday skullemoji

young shoal
#

i guess we're not deploying today

jaunty wraith
#

well, don't deploy on a Saturday

#

obv

high haven
young shoal
#

deploy to the testing machine 😦

#

moyen how can i kill all processes accessing a certain directory

high haven
#

you emailed them on a saturday? rip pub

jaunty wraith
#

lsof

young shoal
#

i didn't. azure pipelines did

jaunty wraith
#

L pipeline. should email the triggerer

high haven
#

some people set that up to notify their mobile too

#

esp if theyre on a devops team

jaunty wraith
#

nah

high haven
jaunty wraith
#

only pd

#

no slack notif tyvm

young shoal
#

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

jaunty wraith
#

wait, is your pipeline FTP'ing?

young shoal
#

it's installing a universal package

jaunty wraith
#

UWP?

#

are you doing desktop dev? pithink

young shoal
#

no it's a web site

jaunty wraith
#

what's a universal package?

#

also, why do you need to… shut down the server?

young shoal
#

it's an azure pipelines thing

high haven
#

ugh azure pipelines

#

thats what we use for ci/cd

young shoal
young shoal
high haven
#

well many of the dev teams do

high haven
jaunty wraith
#

common azure devops L

#

we've started using that recently too

high haven
young shoal
jaunty wraith
#

not our choice

#

parent company things

young shoal
jaunty wraith
#

wait, do you mean shut down IIS or shut down the machine?

young shoal
#

the app server in IIS 😩

jaunty wraith
#

because I assumed the latter

#

oh

high haven
jaunty wraith
#

no

high haven
#

oh

young shoal
#

sre

jaunty wraith
#

read bio please

young shoal
#

srsre?

#

or jrsre

jaunty wraith
#

sr

high haven
#

reading is tough

#

sre is one of those terms thats dif from company to company

#

whats it mean here

jaunty wraith
#

real

high haven
#

our sre's actually do a lot of stuff with the on-prem database servers

#

which is...

jaunty wraith
#

we don't do onprem

high haven
#

not fun tbh

jaunty wraith
#

yet

high haven
#

those things are chugging along

jaunty wraith
#

tuning and auditing use of cloud databases is one of the things we do though

high haven
#

"we don't know why database servers X, Y, and Z's performance is dipping"

jaunty wraith
#

I mainly focus on k8s and stuff

jaunty wraith
#

fr

young shoal
#

we do on prem a lot. but a lot of migrating to cloud is happening

high haven
young shoal
#

it's always the devs

high haven
#

some stored procedure doing funky things

jaunty wraith
#

pub, you're a dev

young shoal
#

ok and

jaunty wraith
#

ergo, it's always pub's fault

#

blame pub

high haven
#

it's pub's fault

#

until he becomes responsible for managing the db servers

#

then he gets to blame others

sterile sapphire
#

i don't think a role demanding 2+ years of experience is good for someone who's just graduating ... right?

young shoal
#

no

jaunty wraith
#

probably not what they're looking for

sterile sapphire
#

same thoughts here

high haven
#

if you have internship exp, it usually counts

#

usually

jaunty wraith
#

eh

sterile sapphire
#

i have 5

jaunty wraith
#

depends on the internships

high haven
#

also true

sterile sapphire
#

yeah

young shoal
#

i don't think internships add up to 2 yoe

sterile sapphire
#

they don't

young shoal
#

even if you've had a bunch

sterile sapphire
#

mine don't at least

high haven
young shoal
#

the type of work you're doing at internships is different, even if the companies say you're doing normal work 😩

high haven
jaunty wraith
#

only 5 years

high haven
young shoal
#

moyen's like 30 right

jaunty wraith
#

that's rem

high haven
jaunty wraith
#

nah

young shoal
#

5 years for senior is pretty good

high haven
#

ive technically been working for ~2 years. less if you dont count my internships

#

but you know on my resume im including that time

jaunty wraith
#

didn't you start programming only 2 years ago?

high haven
#

also correct

jaunty wraith
#

that's pretty good

young shoal
#

kinda cool, yeah

high haven
#

a lot of learning happened during my internships

#

lets just put it that way

young shoal
#

but you can't really count your 2 years in grad school vs my 2 years in hs the same 😩

high haven
high haven
young shoal
#

idk like a month?

jaunty wraith
#

this is a weird comparison to make

young shoal
#

in total from high school like 2 months

high haven
#

a month? nah i think you overestimate what happens in grad school

#

academic coding? cmon pub

#

we're talking matlab stuff here

jaunty wraith
#

oh

#

RIP you

young shoal
#

well i sent a teams message in the devops chat. we'll see what happens in 2 days 😩

high haven
#

professors love matlab

jaunty wraith
#

why are you working on a Saturday anyway

high haven
#

and then my NLP prof loved lisp

#

so there was that

young shoal
high haven
#

it was not a fun time

jaunty wraith
young shoal
#

i want to make money

jaunty wraith
high haven
#

and they co-wrote a paper together

jaunty wraith
#

because lisp was very popular for AI in 70s and 80s

high haven
#

that he couldnt stop bragging about/showing us

#

so thats probs it

high haven
#

what was it?

#

68/hr? or something

young shoal
#

63

high haven
#

see you remembered?

#

did you apply?

#

or

young shoal
#

or

jaunty wraith
#

or

young shoal
#

i couldn't think of a good reason to work there. and i don't lie

jaunty wraith
#

cap

high haven
#

what, arent you a discord power user?

#

you dont want to help improve discord?

young shoal
#

meh

high haven
#

i see

#

okay one last reading for the lurkers:

#
#

oh a wild sg has appeared

#

you were mentioned earlier

#

kinda

jaunty wraith
#

super glow

young shoal
worthy lily
#

Hello everyone! How are you today?

naive igloo
#

enough.

naive igloo
thick ore
#

is it really possible to tell how we are, today?

#

how unexpected and vague, the term "today"

high haven
#

bruhhhhhhhh

#

my favorite podcaster is moving to my city

#

have to meet him fr

young shoal
#

😩

#

have him sign your forehead

high haven
young shoal
#

signed FoDE

high haven
#

lmao i already have that

young shoal
#

πŸ’€

#

based?

high haven
#

and those arent my favorite favorite podcasts

#

this is my number one favorite podcaster

young shoal
#

oh?

#

joe reis

high haven
#

incorrect

#

let me say it one more time pub

#

joe reis is not my favorite podcaster

young shoal
#

damn

high haven
#

my favorite one ive listened since before grad school

#

part of why i got into DS

young shoal
#

wow rex origin story

high haven
#

yessir

#

here ill tell you

#

or ig, show you

young shoal
#

kinda clever name

high haven
#

listened to every single episode so far

#

ye

#

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

young shoal
#

😩

#

i should listen to podcasts and switch careers on god

high haven
#

||you have to have a career first||

#

jk

young shoal
#

😭

#

kinda true though

high haven
#

only a matter of time

#

itll be here before you know it

young shoal
#

the career change?

high haven
#

no

#

having a career

young shoal
#

perhaps

#

it could be only 1.5 more years

#

damn i'm kinda old

high haven
#

1.5 years is how long it took me to get through grad school (round 2)

young shoal
#

sheesh

#

summer classes?

#

transfer intro course credit?

high haven
young shoal
#

sheesh

high haven
#

rex doesnt play pub

#

as you can tell

#

but ive def mellowed out

#

for the better

young shoal
#

did you predict this outcome

high haven
#

otherwise id burnout ||been there done that||

high haven
young shoal
#

being mellow

high haven
#

hmm

#

part of it was intentional

#

but like half/half

young shoal
#

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

thick osprey
#

What are cool programming jobs and where can I find them?

young shoal
#

"if you have to ask.."

tardy rain
#

Its for when you have 5+ years exp

thick osprey
young shoal
#

no

vale raven
high haven
young shoal
#

the quant type jobs yk

high haven
#

oh

#

yeah hf

young shoal
#

well i kinda gave up

thick osprey
young shoal
#

so it's distributed systems now i think 😀

high haven
#

wow so i was right

#

kinda

vale raven
vale raven
high haven
#

ive realized im not smart. period. and thats okay for me

young shoal
#

πŸ˜”

high haven
#

self-actualization

thick osprey
vale raven
vale raven
#

@young shoal I want a refund.

young shoal
#

store policy says no

vale raven
#

huh

civic pasture
#

Enjoy my report everyone

#

😎

vale raven
#

Never seen a personal OneDrive link in the wild before

wanton delta
civic pasture
#

Shit

#

It’s in docx format

vale raven
#

aww shit here we go

wanton delta
#

I recognize that link see you this afternoon

#

With altmans debacle

#

And copilot crap

vale raven
#

jesus hecking dog

wanton delta
#

Ill wait for your summary πŸ˜„
Jk i wont even read it

vale raven
thick osprey
vale raven
wanton delta
#

"Important images"

civic pasture
#

Hahahahaha did you enjoy @vale raven

sterile sapphire
#

yay

#

both my profs cancelled class on monday

#

i can just relax and do my interviews

green pelican
#

i wish

#

acutally im on break the entire week for thankgiving

#

so i cant complain

uneven pine
#

I get Thanksgiving Day off of work this year

low chasm
#

nice

rough sapphire
#

where's the majestic apple pie in here

#

lemme taste some of that sh

strong haven
#

Does anyone have experience working with Point Grey's FlyCapture2?

swift portal
#

User-Friendly Interface, Process management, Multitasking, Network management, Etc

brazen ingot
#

@tranquil orchid you winning the cricket part πŸ˜”

acoustic moss
#

f

edgy crest
#

f

brazen ingot
#

never gonna underestimate aussies

tranquil orchid
brazen ingot
wraith hound
#

@vale raven did you see github blocks are dying

#

very sad

lilac ginkgo
#

HI

vale raven
thick ore
#

LMAOOOO

small coral
#

@crystal spruce

crystal spruce
#

i'll be honest, if i had to guess i would've thought that was your elbow

small coral
#

i tried to take a decent pic

#

leftwards is my arm and rightwards is my hand

crystal spruce
#

ohh is it on your wrist?

small coral
#

yea

crystal spruce
#

ah that makes sense

#

i have some as well

#

just not protruding out that much

small coral
#

what's weird is that my right hand doesn't have it

crystal spruce
#

feels like a bone i think

small coral
#

oh wow i got a 2-year old PR merged

#

python/cpython#29513

small coral
crystal spruce
#

damn nice

thick ore
#

this PR is so fire

#

why does he not have the cpython contributor role or smth

jovial oriole
thick ore
#

well he did contribute in developing the core

#

soooo

acoustic moss
sterile sapphire
#

i'm an idiot

#

i bought a ds/algos course in python

#

doesn't even cover

#

ARRAYS

#

smh

high haven
#

conned

high haven
young shoal
#

lmao

sterile sapphire
young shoal
pulsar heart
pulsar heart
#

Is not just Sam, it's Sam & friends

high haven
#

yeah i mean good chunk of openai staff is probably hopping over

sterile sapphire
#

i'm stalking my interviewer

#

i see we're both biz majors

#

marketing major

pulsar heart
#

505 out of 700 threatening to resign and move to msft

wanton delta
#

?

wanton delta
#

thanks

pulsar heart
#

The person posting is legit

wanton delta
#

openai is probably done for

sterile sapphire
#

goodbye my biz majors

#

who extensively rely on chat gpt

#

or as psvm calls it

#

chat gippity

pulsar heart
#

Ilya, in a move to push for AI safety, has just bled all the talent onto a bigN company. Yikes.

high haven
#

its their own fault smh

wanton delta
#

setya is probably kinda happy now

#

sorry *nadella

pulsar heart
#

Seems like Microsoft is the big winner

young shoal
#

microsoft casually scooping up all the employees for free

wanton delta
#

microsoft is pushing copilot, and win over half of the teams that made it possible

#

uno reverse got reversed to the board

acoustic moss
#

best tech drama in recent times ngl

pulsar heart
#

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 ?

high haven
wanton delta
#

Holy sssh why is my rust project dir 10gb

#

I didnt even realize

#

?

high haven
wanton delta
#

5 bucks

high haven
#

||of moyen's cut||

wanton delta
#

sucks to be at the bottom of the food chain

low chasm
wanton delta
#

Its mine though

low chasm
#

what are you talking about

#

it’s mine

wanton delta
#

Lmaoooo this aint real life

#

OpenAI employee signing out and both msft and nvidia are both hiring

high haven
acoustic moss
#

NVIDIA has warm GPUs for you

civic pasture
#

Would you like some bread @high haven

outer sundial
#

!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"))

royal lakeBOT
#

@outer sundial :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | {'data': 'test'}
002 | {'data': 'test1', 'data2': 'test2'}
high verge
# outer sundial !e <@979166206420467733> I managed to make this mess that seems to work ```py fr...

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

outer sundial
#

Looks like I had the right idea in the end, just needed all the polish

high verge
outer sundial
#

πŸ‘

high verge
#

y

#

yes ty princess Heartss

#

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

shrewd thunder
#

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.

late orchid
high verge
#

but rn im celebrating my victory on this so i'll continue tomorrow and push my commits tomorrow as well

late orchid
#

just make sure that it is in fact working first, and will not fail edge cases

crystal spruce
#

!e

print(*['hello world']*2, sep='\n')
royal lakeBOT
#

@crystal spruce :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | hello world
002 | hello world
crystal spruce
#

get owned

crystal spruce
#

no thanks

grave cove
#

what

#

I have never heard anything like that before

#

mean

#

I cry

#

sobbing emoji

crystal spruce
#

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

solemn tulip
#

does expanding the cos help any?

crystal spruce
#

could probably use sympy, but I like doing it myself

crystal spruce
#

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

solemn tulip
crystal spruce
#

.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

median domeBOT
solemn tulip
#

cos(arctan(x))
"for a triangle that has b/a = x, what is c/a?"

crystal spruce
#

yeah but for cos(n arctan x)

solemn tulip
#

err

#

a/c

solemn tulip
solemn tulip
#

@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||

crystal spruce
#

which I have a proof of

#

if the cosine is gone

crystal spruce
#

there's a sequence of numbers