#ot1-perplexing-regexing

1 messages · Page 73 of 1

civic pasture
#

It’s not nothing, 2,1 it’s just 2,1

solemn tulip
#

I still don't understand what you're trying to say there pithink

stark prawn
#

[1, 2] has 1 lenght 0 combination, 2 length 1 combinations and 1 length 2 one

civic pasture
#

Combination of subsets are different from combinations of two numbers

#

That’s my point

#

Let’s say I want combinations you can make with 123

#

What are they?

solemn tulip
#

123 meaning what?

civic pasture
#

Numbers

solemn tulip
#

{1, 2, 3}?

civic pasture
#

No that’s a set

#

(1,2,3)

stark prawn
#

That would be (), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3) and (1, 2, 3)?

#

all combination of all possible lenghts

solemn tulip
#

or do you want to bring in duplicates?

civic pasture
#

Not set

#

I’m talking about 3 numbers

#

1 2 and 3

#

I want you to create combinations

stark prawn
#

permutations/combinations doesn't care about the type

civic pasture
#

Yes they do

solemn tulip
solemn tulip
crystal spruce
#

if you have a different definition for "combinations of numbers" that differs from the generally accepted definitions with a set, you'll need to define it

solemn tulip
#

yeah

civic pasture
#

I’m not talking about sets aaaaa

#

I’m talking about creating combinations using 1,2,3

#

Numbers not a set

crystal spruce
#

it would help greatly if you gave examples of what you are talking about

civic pasture
#

I keep saying numbers here

solemn tulip
#

are you talking about https://en.wikipedia.org/wiki/Combination or not?

In mathematics, a combination is a selection of items from a set that has distinct members, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are three combinations of two that can be drawn from this set: an apple and a pear; an apple and an orange; ...

solemn tulip
stark prawn
#

Like sticky said, do you have some examples of what an input and output would be

civic pasture
#

There you go @solemn tulip

solemn tulip
#

that's just a k-permutation of the set {1, 2, 3}, no?

civic pasture
#

{1,2,3}

solemn tulip
#

gah, typos

civic pasture
#

Yeah where’s {}?

grave cove
#

bro is on quora 💀

crystal spruce
#

the empty set is counted by P(3,0) there isn't it?

crystal spruce
acoustic moss
#

oh man so much

civic pasture
#

It’s answered by a person tho @crystal spruce

grave cove
#

shitass site fr

acoustic moss
#

well the nerd side is fine i suppose

solemn tulip
# civic pasture Yeah where’s {}?

0-permutations: ()
1-permutations: (1,), (2,), (3,)
2-permutations: (1, 2), (2, 1), (1, 3), (3, 1), (2, 3), (3, 2)
3-permutations: (1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1), (3, 1, 2), (3, 2, 1)

crystal spruce
#

ok yeah outside of the math stuff it's shit

crystal spruce
hearty violet
#

bruh u still talking bout this

acoustic moss
#

hmm i havent logged into quora in years

#

this might be an entertaining friday evening

crystal spruce
#

I just go there to solve integrals and other math problems

young shoal
#

you're helping people cheat

#

shame on you

hearty violet
#

quora has to be the worst website on the planet

crystal spruce
#

nah

#

I doubt it

hearty violet
#

if you don't have an account it tries to force u into making one

crystal spruce
#

the integrals I solve don't seem like school problems

hearty violet
#

u can only read answers once or twice

acoustic moss
#

the fuck is this

hearty violet
#

to fix it u hv to clear ur cookies

#

then if someone has a good answer

#

they'll hide it from u

#

and try to coerce u into making an account

crystal spruce
#

"what (insert thing) deserves (insert large number) views/likes" is a very common spam pattern

hearty violet
#

then u have all the armchair scientists on the comments giving u obviously biased and erroneous answers every now and then

grave cove
hearty violet
#

also half the comments are either indians talking about india in questions unrelated to india

grave cove
#

classic

acoustic moss
#

lmao

#

real

crystal spruce
#

so true

stark prawn
#

karma farming

acoustic moss
crystal spruce
#

💀

civic pasture
crystal spruce
#

the empty combination is usually added yeah

#

makes the numbers much nicer to work with

civic pasture
#

I’ve never done that

crystal spruce
#

and just generally makes more sense

young shoal
#

^

civic pasture
#

Unless I work with sets

#

Like calculating lock combinations

young shoal
#

you are always working with sets though

crystal spruce
#

since if you add 0, each combination is just the entire row of pascal's triangle, when you sum stuff up you just get powers of 2, combinations, etc

civic pasture
#

You work with sets when you figure out different lock combinations?

crystal spruce
#

calculating lock combinations is probably just calculating for a specific r

young shoal
#

^

crystal spruce
#

which is adjacent to what we're talking about

crystal spruce
#

we define combinations around the idea of sets, and when it comes to applications in the real world we can then consider real world stuff as sets based on their properties, allowing us to reuse these things we've developed around sets in a new context

civic pasture
#

@crystal spruce from math discord

#

Subsets are a type of combination

crystal spruce
#

what... are you trying to argue here?

civic pasture
#

That subsets are a series of combinations

#

A series

crystal spruce
#

I have no clue what they mean by series in this context

#

they're close enough to correct that I wouldn't bat an eye at that statement, sure

#

I also don't know what you mean by "type of"

young shoal
#

a subset would be a combination though. I guess they just mean the combinations of a set are the subsets

crystal spruce
#

yeah that'd make sense

acoustic moss
#

aight ive lost all my 3 braincells from the 15 minute quora scroll

solemn tulip
#

and the power set is the set of all subsets

wanton delta
acoustic moss
#

lost all of them already

wanton delta
#

I'll lend u mine

solemn tulip
crystal spruce
#

go into braincell debt

acoustic moss
#

U

crystal spruce
#

u is close enough

wanton delta
#

4% interest

crystal spruce
#

or use latex

wanton delta
#

Braincell tax

solemn tulip
#

what's the power set equivalent for permutations? pithink

young shoal
#

I don't think you can use sets, they need order

solemn tulip
#

it's probably simple and I'm dumb

wanton delta
#

I wanna become an eel

solemn tulip
civic pasture
#

Alright I got it

#

Power sets are a combination of subsets with a specific formula

crystal spruce
#

.latex

\[\bigcup_{k=0}^n\mathrm{comb}(S, k)=2^S\]
civic pasture
#

Where as combination of 3 numbers have different formula

median domeBOT
solemn tulip
#

power set is the union of all possible k-combinations

wanton delta
#

Oh bigcup as in a bigcup

solemn tulip
#

bigcup and bigcap

#

iirc

young shoal
#

ye

wanton delta
#

Is bigcap bigcup but upside down

crystal spruce
#

for intersections yeah

civic pasture
wanton delta
#

Oh yeah we're talking about sets

civic pasture
#

There’s a big difference

#

You guys confused me

solemn tulip
#

what?

crystal spruce
#

I would disagree there

wanton delta
#

Im always confused idk what u guys are saying

civic pasture
#

He is a math prof

stark prawn
wanton delta
#

Cool

solemn tulip
#

I suspect you're calling stuff combinations that aren't combinations

crystal spruce
#

if you previously established in the conversation that combinations of 1, 2, 3 are different from combinations of {1, 2, 3} it's possible they just assumed you meant permutations or something

civic pasture
solemn tulip
#

the guy is basically saying "you really mean permutation and not combination"

#

3C3 vs 3P3

young shoal
solemn tulip
civic pasture
#

Combination of subsets are called power sets

young shoal
#

then how did you define "combinations of 3 numbers"

solemn tulip
#

union of all k-combinations is power set, yes

civic pasture
#

Is three random numbers

#

1 2 and 3

#

It’s not a set

young shoal
#

can you just give an example

crystal spruce
#

also I'm in the math server
I'm pretty sure they think you mean "how many 3 digit numbers of the digits 123 without repetition" when you say "combinations of 123"

#

in which case they are correct, that's just the number of 3 permutations

solemn tulip
#

that's permutations of a set, yes

acoustic moss
#

maybe u mean permutations with the same length as the original

solemn tulip
#

permutations({1, 2, 3})

solemn tulip
#

you call the general thing something like k-permutation

crystal spruce
#

again, it's about definitions
"combinations of 123" is not really defined anywhere, so you'll need to clarify what you mean first, and you'll get different answers depending on how it's interpreted

solemn tulip
civic pasture
#

(1,2,3) if you want to know the combination of three numbers

#

Also called permutation

#

{1,2,3} is an unordered set

#

[1,2,3] is an ordered set

young shoal
#

stop calling it combination when you don't mean combination

stark prawn
#

combinations are not also called permutation, they are different things.

civic pasture
#

Permutation is a type of combination

solemn tulip
#

no

young shoal
#

no

graceful basin
#

what definition of combination do you use in this context. The combinatorics definition is very much set-based, and distinct from permutations.

solemn tulip
#

not in the math sense of combination

#

the fact that you talk about permutations of a set is because you don't want to deal with duplicates

civic pasture
#

I’m talking in math sense

#

Not programming sense

young shoal
#

huh?

stark prawn
civic pasture
#

Not 3P1

young shoal
#

a combination doesn't have order

crystal spruce
#

combinations with order is an oxymoron

young shoal
#

contradiction is probably more accurate..

crystal spruce
#

but if it were a thing it'd just be a permutation

graceful basin
#

There could be a different notion of combination at play here.

crystal spruce
#

which is our point

civic pasture
#

Yeah they keep saying all combinations are defined in the presence of sets @graceful basin

solemn tulip
graceful basin
solemn tulip
civic pasture
#

You guys

#

Keep restricting combinations with sets

young shoal
#

well yeah. it's the natural thing to use because combinations don't have order

crystal spruce
#

it's also part of the definition

civic pasture
#

Well it doesn’t mean they are all sets

graceful basin
#

Yes, combinatorics k-combinations are defined as k-long subsets of a set

young shoal
civic pasture
#

Combinatorics are different tho @graceful basin

crystal spruce
#

a combination is a selection of items from a set

graceful basin
#

Again, I am very confident you don't mean combinatorics combinations, but something else

civic pasture
#

Yeah

crystal spruce
#

combinatorics are most definitely to do with sets

graceful basin
#

what I am asking is how is that something else defined

#

because frankly, I have never seen the term used outside of combinatorics and very unrealated fields.

civic pasture
#

Like this @graceful basin

young shoal
#

wow, a representation of subsets using 5-bit numbers

graceful basin
#

those are combinatorics combinations.

solemn tulip
#

those are the 3-combinations of set {1, 2, 3, 4, 5}

civic pasture
#

But it doesn’t have empty set there @graceful basin

graceful basin
#

yes, those are 3-combinations

crystal spruce
#

that's because the empty set is a 0-combination

graceful basin
#

so you take all 3-long subsets

civic pasture
#

They why are you all telling me to use {} when I do combinations

graceful basin
#

because they are defined on sets

#

and {} makes a set

civic pasture
#

Not on this one tho

crystal spruce
#

this one?

graceful basin
#

Yeah, they used () instead since they are using a bitstring below

civic pasture
#

The picture I posted

graceful basin
#

so you want order

young shoal
#

the caption right there says "of a 5-element set"

graceful basin
#

otherwise it is hard to map each element to a bit of a bitstring

crystal spruce
#

your example literally says "of a 5-element set"

solemn tulip
#

oh hey, this is what I mentioned ages ago

young shoal
#

so true

crystal spruce
#

it's repetition for emphasis

solemn tulip
civic pasture
#

You are using Number of k-combinations for all k

solemn tulip
#

when?

civic pasture
#

I’m talking about counting combinations

solemn tulip
#

k-combinations for all k would be the power set, all subsets

civic pasture
graceful basin
#

Yup. Generally, when counting combinations, you pick a specific k, and restrict yourself to those.

civic pasture
#

Yeah

#

Thank you @graceful basin

young shoal
civic pasture
#

That’s what I’m talking about

young shoal
#

why did you decide to redefine combinations then

#

just say "let k=3 here"

solemn tulip
#

That still means {} is a combination

#

it's a 0-combination

civic pasture
#

Which means there’s no combination

graceful basin
#

No, there is exactly one

#

it is extremely important to not mess that up, if you can choose 0 items, that is one extra option

#

common mistake

civic pasture
#

But why would want that when you wanna find rhe number of five card hands possible

graceful basin
#

in that problem, you do not

#

there are other problems where it does matter

civic pasture
#

Yeah

#

Like in power set it matters @graceful basin

young shoal
#

why did you redefine combinations instead of just fixing k

solemn tulip
graceful basin
#

Ye

civic pasture
#

I think this was a misunderstanding

#

You guys misunderstood me and I misunderstood you guys

young shoal
#

why did you make a distinction between "combinations of 1,2,3" and combinations of a set

solemn tulip
#

terminology matters

crystal spruce
#

we didn't misunderstand you, we just didn't know what you were talking about

civic pasture
#

Then @graceful basin save the day

solemn tulip
civic pasture
#

I was talking about counting combinations there @young shoal

#

When I said 1,2,3

#

Where k=0 is not necessary

solemn tulip
#

counting a specific slice of the combinations

young shoal
#

but why didn't you just say that

civic pasture
#

BECAUSE I GOT CONFUSED 😭

young shoal
#

all you had to say was "the 3-combinations of 1, 2, 3"

#

instead of redefining combinations entirely

graceful basin
#

It was a confusing convo tbh

#

at least it got resolved, no one disagrees with anyone on anything, we all know basic math

civic pasture
#

I call it Jigglypuff Combinators it’s a new concept in Math @graceful basin

#

For dum dums like me

#

😂

#

This is what happens when English is not your first language tbh

solemn tulip
#

much like the biology or whatever paper that re-invented riemann integrals and tried to put their name on it 🥴

civic pasture
#

Hahahaha yeah @solemn tulip

crystal spruce
#

that's a classic

civic pasture
#

I remember from my Calc classes

#

Sometimes teacher would be like what do you mean?!

#

And I would be like I can’t explain properly can I talk in Turkish

#

😂

#

Sorry guys

#

@crystal spruce had a big brain time today

crystal spruce
civic pasture
#

😂

young shoal
#

huh?

grave cove
civic pasture
#

Like you guys used the brain

grave cove
#

wtf is this emoji

civic pasture
#

In this convo

grave cove
#

who made this shit

civic pasture
#

A cat duck

#

Cursed emojis @grave cove

grave cove
#

fr

civic pasture
#

UPenn will announce their admission list

#

😩

#

I probably didn’t get in but fingers crossed

grave cove
#

helo fish

civic pasture
#

Is that GTA

#

😂😂

#

They got it for free?!

solemn tulip
crystal spruce
#

lmao

tidal agate
#

Damn

polar galleon
#

Just like the empty product equals 1

civic pasture
#

Yus

polar galleon
#

Then those definitions are not mathematical I would say. You can select 0 elements from a set.

"There is only 1 possible combination if you want to select 0 objects. The calculation is 7C0 = 7! / (0!( 7-0)!)"

#

Oh you already talked about this. All good 😊

split glade
#

Not to be offensive lol I'm into math as well

#

Just funny emoji

solemn tulip
polar galleon
#

Sorry to start that discussion, hopefully someone learnt something 🙂

solemn tulip
#

it was a wild ride

polar galleon
#

🎢

coral jolt
#

hi!

thick ore
#

did you know that in Nim, myVariable is equivalent to my_variable

#

literally

#
let myVariable = 42
echo my_variable
``` _actually_ works
small coral
#

oh

#

no

thick osprey
#

Today was already harder than it should have been. Three days in and didn't start until 20:00 lemon_scared

craggy crypt
#

What is this pithink

jaunty wraith
craggy crypt
#

Oh o.o

thick ore
#

love how the shadcn/ui look got so popular

stiff siren
#

@thick ore the beings under my skin told me to eat dryer sheets

undone thorn
#

which flavor of dryer sheets? pithink

jovial oriole
tidal agate
#

: )

#

Damn, good job!

grave cove
civic pasture
rustic anvil
#

Hi

thick ore
#

hello

#

so what's the issue with the code

rustic anvil
#

It’s with html btw

#

But I am making a website on replit and don’t know how you make a button go to another page

#

Like when you click it, it opens another page

thick ore
#

do you have some existing code that you're trying to fix, or you just are having trouble figuring out how to do it

rustic anvil
#

Just trying to figure out how to do it

thick ore
#

something like <button><a href="url">This is a button, yes</a></button>

rustic anvil
#

Alr thanks

grave cove
foggy mountain
#

@crystal spruce not all game dev uses maths, you can create other kinds of games without maths

crystal spruce
#

why am I getting pinged for this?

foggy mountain
crystal spruce
#

that definitely does not sound like me

#

I wouldn't get into game dev for other reasons

#

but it having advanced mathematics is definitely not the reason

#

in fact I would be inclined to get into game dev if it did have advanced mathematics

foggy mountain
brittle void
#

!d math.cbrt

royal lakeBOT
#

math.cbrt(x)```
Return the cube root of *x*.

New in version 3.11.
thick ore
#

i feel like Go is gonna become the new java

wanton delta
#

in a good or bad way

thick ore
#

sort of leaning towards a good way

#

i predict™️ that most Go codebases will migrate/be rewritten into Rust

glossy niche
#

this is pretty impressive

#

also yes I reactivated my twitter because I just realised I used it to log into a bunch of stuff lemon_pensive

thick ore
#

i will rewrite you in Rust

spice storm
#

.

glossy niche
young shoal
#

doesn't sound very real if you're talking about discrete math pithink

jovial oriole
high haven
#

someone posted this on LI about tech recruiting

glossy niche
ruby fox
lament cairn
#

When you find out

rough sapphire
#

what?

ruby fox
young shoal
#

well, yes, but I don't get your point

ruby fox
young shoal
#

by "real", i meant the set of numbers

#

discrete math wouldn't be using reals

grave cove
#

imaginary numbers when i tell them to get real

rough sapphire
#

femboy rizz

civic pasture
worldly ice
#

guhhhhh

crystal spruce
#

but i think it'd be doublecounting each edge of the cube

#

or it might not count the edge of the cube

worldly ice
#

what is the formula for a cube in spherical coordinates?

crystal spruce
#

a pain

#

you're better off formulating it in Cartesian coordinates and then doing the change of variables

#

imo

worldly ice
#

idk if desmos can even handle a square in polar

#

yeah desmos wants linear in r only

grave cove
#

y

#

learning is fun

#

that sounds pretty reasonable

#

my roommate has 8 am classes

#

poor guy

#

though he's a morning person so maybe not

#

bro goes to bed at 9

crystal spruce
#

10 in the morning sounds very reasonable

grave cove
#

yeah

crystal spruce
#

that's like middle of the school day

grave cove
#

yeah

#

I'm actually doing that now for springmester

#

im gonna try to get fridays off

#

I have 9 am classes atm

#

Just for next week?

#

😦

#

the thing about making your schedule to have Friday's off is the rest of your days are packed

#

right now I have like one or two classes a day for maybe 3 hours and then I go back to my room

spare oriole
#

it highly depends on your HS and schedule

#

in one HS i went to i got in at around 10 and left at 1 due to my pretty empty schedule

grave cove
#

meh

#

I had early dismissal so I left at like 1

#

I got chronically lazy my senior year and started skipping hard

#

5 usually

#

if you're on track to graduate you'll usually get to take off one of your classes as a junior or senior

#

it was 9-5 pretty much

#

but I lived like a 10 minute walk from my house so sometimes I'd literally just... walk my ass back home in the middle of the day

#

it's an average work day

#

I also took classes at my local community college. If I didn't I'd get off at 4

#

didn't like the system tbh. It was just a straight grind for like 6 hours

#

now I just do like 50 minutes of one class, grab some food, go back to my room and chill

#

maybe. But you end up spending the same amount of time

#

there's a lot more out of class work

#

also having your friends around in the same place like 24/7 is nice

#

you can hangout whenever really

#

also exposes you to trolls unfortunately

#

like them trying to bust down my door at 2 in the morning

#

nah bruh shits annoying

#

or me trying to chill in my room and like 10 guys walk in

#

my friend group

#

roommate brings them in sometimes to just hang out

#

fr

#

it is how it is

#

I'll have my own apartment next year so it's fine

#

nah

#

i have housing and reheatable food

#

what more could you want

#

Anyways

#

anybody working on any cool projects?

thick osprey
#

Toying around with the idea of a discord presence tool for writers.

grave cove
thick osprey
#

Haven't had too much time to dig into them. Poking at npiperelay again now.

#

Just been too busy writing. haha

grave cove
#

Ah right, it's that time of year

#

How much have you written so far 👀

thick osprey
#

14k of 50k words in.

grave cove
#

30% in only 5 days!

#

great progress

civic pasture
#

Hi guys

thick osprey
#

heh, thanks. A ways to go yet. Got my sights on a full board of challenge badges this year. Never managed to achieve par (1.6k words) daily for 30 days straight.

grave cove
#

howdy

civic pasture
#

Shake that booty everyone

grave cove
civic pasture
#

😂

#

I can’t believe it’s Monday already

grave cove
#

why must it be so

civic pasture
#

😭

#

It got dark so early today

#

I hated it

grave cove
#

I woke up at like 7 today

#

I was pissed

civic pasture
#

Why did you wake up so early

#

On a Sunday

grave cove
#

hell if I know

#

my alarm is off on Sundays, my brain just decided to wake up

#

usually I sleep in till noon on weekends

civic pasture
#

Oh dang

grave cove
#

sleep debt

civic pasture
#

There’s an app for that

grave cove
#

run on 3 hours of sleep on weekdays, it'll take the toll on weekends

thick osprey
#

And now the question; stay up and write or sleep for five hours before work. pithink

#

Don't promise me a good time.

young shoal
#

being dead tired at work is very annoying

civic pasture
#

My phone tells me to sleep

#

Should I sleep

thick osprey
civic pasture
#

💃

#

What’s up egg

thick osprey
#

I am.

#

boom, two questions with one answer.

young shoal
#

how can you be up

#

you are where you are, you can't be up of you

thick osprey
#

smile and nod, a lot.

grave cove
#

do you say "let's circle back" a lot

young shoal
#

let's take this offline

#

let's set up a meeting to sync up

grave cove
#

let's put this on the back burner

young shoal
#

let's put that idea in the parking lot

thick osprey
karmic gust
grave cove
#

allegedly

young shoal
thick osprey
#

Last month about 70% of my week was meetings. This month is trending at about 40%. My complaints have been heard.

grave cove
#

> let's put this idea in the parking lot
> deadlocked mutex
Classic

thick osprey
#

ugh. I just looked at my planner. Self review is up. /sigh

honest star
young shoal
#

call it the parking lot cause I'm ignoring them and getting ready to leave

thick osprey
young shoal
#

maybe we should say cliff hangers

#

bystander effect moment

thick osprey
#

six months later, pretty sure they still meet weekly to talk about how much they want a status board.

young shoal
#

they need a status board status board

civic pasture
#

It’s time to sleep for me

#

Nightie night

grave cove
#

oh?

#

What about the desktop client?

civic pasture
#

ferrisWave byeeee

thick osprey
grave cove
#

why must everything be cloud

grave cove
young shoal
#

cloud fluffy

#

on prem not fluffy

grave cove
#

so true

#

fluffy = good

thick osprey
#

go go mkdocs.

grave cove
#

I actually liked postman

#

back to curl Sadge

thick osprey
#

Me too. Insomnia was neat. Check it out.

#

It just fell over with everyone's unique use case.

grave cove
thick osprey
grave cove
#

looks neat

#

gonna have to give it a try

thick osprey
#

8.0 even comes with generative AI testing. What more do you need!?

grave cove
#

ha. that seems like one thing AI might be good at

thick osprey
#

It does SOAP. Shen will be interested /tease

#

Okay... I sleep now.

grave cove
#

Same. Night!

naive igloo
#

netcat better anyways tho

vale raven
thick ore
#

who even uses soap anymore

glossy niche
#

I don't even bother to shower anymore

jovial oriole
#

Who brushes their teeth

#

This is 2023

honest star
#

😩 how many times am I going to typo "shear pin" instead of "sear pin"

civic pasture
#

Sir pin @honest star

twin topaz
#

The important thing is that I am new here and I need to learn the basics of the application and how humans interact with this nonsense

shrewd thunder
jaunty wraith
high haven
#

asking for a friend

#

and that friend is me

honest star
#

Copious amounts of caffeine, a small ✨ treat ✨, a good podcast, and cute cats that keep you company

#

The treat is crucial

young shoal
#

you said the P word around rex

high haven
#

wait let me note this down

honest star
#

*definitions of podcast vary wildly and can be literally any longform content you put on the background to consume

thick osprey
high haven
high haven
#

pub why you hate on JS

acoustic moss
#

whos a good boi

high haven
#

its a necessary evil

young shoal
#

ok and

honest star
#

The treat is so vital, especially if you can get it with a quick walk or drive like mid-morning/early-afternoon

high haven
#

oooo

young shoal
#

perhaps, at a cafe

high haven
honest star
#

Also look at these cuties

high haven
#

aww

thick osprey
#

My monday started with violence. I'm on my 9th PR with 1k lines removed and only 200 added.

...

Now to nap. That's how I survive Mondays. Naps.

acoustic moss
#

how many do you have

honest star
#

(yes, that is a box just filled with crinkly paper. It's his top fave place to sleep)

honest star
acoustic moss
#

i see

honest star
#

Pixel (left, a total goober)
Lemon (right, a plastic-eating gremlin)

young shoal
#

are you sure this is nature and not nurture

#

also why pixel and lemon

honest star
#

Lemon came as a plastic-eating gremlin, I cannot keep any ziploc bag or similar out ever

tardy rain
#

Socioeconomic reasons pushed the cats to crime (against plastic bags)

young shoal
#

they just need to eat. wouldn't you steal if it meant not starving?

acoustic moss
#

mr lemon saves the turtles and is somehow a gremlin for that

honest star
#

Lemon is the name he came with from the shelter (he was forcibly surrendured from a hoarder house previously that had like...15 cats). Pixel because of the "Cat Who Walks Through Walls" by Heinlein

young shoal
#

well does he walk through walls?

honest star
#

Pixel is an adorable moron with half a brain cell. So she walks into walls?

acoustic moss
#

ngl kat seems like a 15 cats kind of person

honest star
#

omg no, 2 cats is more than enough

young shoal
#

katn=15

honest star
#

Do you know how tough it is to walk 2 cats with very different ideas of what a walk entails?

#

Lemon wants to sniff every corner immediately all at the same time and run. Pixel just wants to lay around and maybe eat some grass

acoustic moss
#

mood af

#

(both of them)

honest star
#

I am 100% that crazy cat lady that walks her cats on a leash though

high haven
jaunty wraith
#

misleading podcast name then

#

where JS

high haven
#

if it was purely JS, why would i listen to it

young shoal
#

it's a necessary evil

high haven
young shoal
#

my mentor got promoted to senior dba

jaunty wraith
young shoal
#

i don't even get an inflation adjustment 😭

jaunty wraith
young shoal
#

real

high haven
#

also pub, guess what my excuse was on Saturday?

young shoal
#

doing work

young shoal
#

but meh. that's fine

high haven
young shoal
#

that's what i meant 😭

high haven
#

anyway

#

there was no excuse

#

since rex is a master deflector

young shoal
#

incredible

#

what did you say

high haven
#

i didnt need to say anything

young shoal
#

huh

high haven
#

there were other peeps there

#

so the convo just flowed naturally

young shoal
#

friend: "so rex why couldn't you pickle ball with us"
rex: "haha"
other friend: "so you know, this new AI thing"
rex: "nods"

high haven
jaunty wraith
#

so, why didn't you pickle ball?

young shoal
high haven
young shoal
#

what would you have said 😩

high haven
#

and other ai-interested individuals

young shoal
#

alt-pub: what would you have said 👀

high haven
median domeBOT
#

Yes definitely

high haven
#

hmm ok

#

techniques to try before fine-tuning include a gamut of items

#

(this was essentially a combination of 2 podcasts and 1 blog and 2 conference talks)

young shoal
#

you have podcasts for lying to friends?

low chasm
#

you fiend

high haven
#

i knew you were an imposter

young shoal
#

😭

low chasm
#

I forgot all my writing utensils at home ;-;

#

luckily I don't have any classes where I actually need to write today except for math

#

I had to use a pencil 😔

rugged owl
high haven
#

rex's podcast snippet #XXX:

Something you said there is really important to re-emphasize — which is that the industry right now is tough to break into.

I know people with over a decade of experience who are looking for new jobs. And they say it's the hardest they've ever seen it, in their recent experience.

#

then the guy goes on to say it wont always be like this but getting your first job will probably still be the hardest one to get

high haven
#

anyway

#

big ai news today

#

but nobody here probs cares

young shoal
#

alt-pub: 😦

high haven
#

no but seriously openai's dev day today has already started making waves

thick osprey
young shoal
#

L cloudflare

high haven
#

also classic:

Counter to best practices, Flexential did not inform Cloudflare that they had failed over to generator power.

thick osprey
#

I was more impressed (horrified) by this line:

And third, the overnight staffing at the site did not include an experienced operations or electrical expert — the overnight shift consisted of security and an unaccompanied technician who had only been on the job for a week.

#

You're on the job for a week and a HV ground fault leaves you standing in the dark of a now very very quiet datacenter.

high haven
#

classic

#

real bruh moment

#

other cloud providers: this is why you build your own data centers. insert something snarky.

thick osprey
#

There were just so many things that happened which never should have happened in this.

civic pasture
tidal agate
#

This man is out of his mind, but I can't say I don't enjoy watching it

#

I am perhaps trying to get to 30 msg

#

But, it is a legitimate conversation

#

I am recommending a video.

#

Today I ate porridge and blueberries for breakfast, for dinner I had cookies and a salad

#

Now I will make tofu and potatoes in the oven

thick osprey
naive igloo
stiff siren
#

@naive igloo when i was a little kid i never ate at panda express cuz i thought they served panda meat

icy glen
#

Can anyone talk to me in English so that I can learn it, since I live in Russia?

#

Please

#

I beg you

naive igloo
heavy pawn
crystal spruce
#

is there a way to commit files in git but not their contents?

tardy rain
#

How so?

crystal spruce
#

i have an advent of code repository containing txt files that have the puzzle input for each day, and i'd like to commit those files to git, but i don't want to commit the puzzle input data in those files

graceful basin
#

Maybe git add -N

tardy rain
#

May as well just add empty files then

#

Why commit the input files tho?

crystal spruce
#

i guess i don't have to commit them

#

just means i have to remake them

#

tho i have to do that anyways huh

tardy rain
#

using files instead of curling for the input every time

young shoal
tardy rain
#

Microdosing on life

jovial oriole
#

First 5 laps on a 400 m are the most difficult

#

Rest go smoothly for some reason

tardy rain
#

400m is one lap

#

What are you lapping lmao

solemn tulip
#
day="$1"
file="input${day}.txt"
if [[ ! -e "$file" ]]; then
  curl ... > "$file"
fi
cat "$file"
#

./aocat 23 | python my_solution.py

young shoal
#

tee when?

solemn tulip
#

you could do that

#

but not really neater in this case

young shoal
#

you'd need an else, i guess

solemn tulip
#

or I just keep a common flow for the cating

young shoal
#

don't you need some auth though

solemn tulip
#

I wrote ... for a reason 😛

#

yes, you probably need some session cookie

young shoal
#

makes the simple script not so simple 😩

#

or at least, more annoying

solemn tulip
#

I mean, you need that regardless

young shoal
#

true

solemn tulip
#

the logic I added is just caching on top of the usual curl

young shoal
#

indeed

tardy rain
#

Chad move is to spend 5min figuring out auth and then go to chrome and copy inputs manually

young shoal
#

😩

solemn tulip
#

people will spend hours automating the input download which realistically takes like 5 seconds to do manually

young shoal
#

insert the xkcd

solemn tulip
#

open input, c-A c-C, go to terminal clipboard > input.txt

#

done

young shoal
#

too manual for the average programmer 😩

grave cove
#

the law states I must therefore automate it

solemn tulip
#

daily 5s of boredom

#

call the cops

tardy rain
#

Writing aoc helpers is bikeshedding

solemn tulip
#

I just don't

acoustic moss
#

automating the download is essential if ur targetting the leaderboard

#

submitting maybe not idk

young shoal
#

nah

jovial oriole
#

The first 2k is hardest

#

Then the rest is smooth

solemn tulip
#

and the scoring is terrible

young shoal
#

real

acoustic moss
#

another year of swearing ill have learnt networkx before aoc and failing

young shoal
#

lol

#

it's less fun that way tbh

#

i mean if you want to leaderboard, then sure

solemn tulip
#

you use networkx?

acoustic moss
#

no but apparently all the cool kids do

solemn tulip
#

just writing the algos is easy enough

#

the cool kids write their own

young shoal
#

plus networkx can't exploit implicit graphs easily

tardy rain
#

Cool kids write their own langs to do aoc in

#

Like that one betaveros guy

young shoal
#

maybe this year will be c++...

#

ooh actually. ocaml

solemn tulip
#

I don't really enjoy when this kind of thing deteriorates to
"my tool is bigger better than yours"

young shoal
#

me when i try to use haskell but i can't figure out how to read the input 😩

solemn tulip
#

nowadays I use AoC to do more interesting stuff like learning languages

young shoal
#

ye

#

i'm not smart enough to leaderboard

#

my youthful speed is no longer here

solemn tulip
#

let's see if @honest star considers the 25 day language roulette challenge 👀

young shoal
#

🎰 👀

acoustic moss
#

elaborate

solemn tulip
#

each day a language is randomly selected

young shoal
#

kinda based

solemn tulip
#

you solve with that

acoustic moss
#

hmm

solemn tulip
#

I did this kind of thing for google code jam, it's quite fun

young shoal
#

there are multiple categories right?

acoustic moss
#

how large is ur pool

#

of languages

solemn tulip
young shoal
#

sob

#

we need "real languages" and "fun"

solemn tulip
young shoal
#

real languages: python
fun: everything else

acoustic moss
#

damn

#

hmm i wonder if i can do like.. 10 languages

solemn tulip
#

that was what I had as a base for gcj one year

acoustic moss
#

bash and julia in the same category is wild

solemn tulip
#

yeah...

#

I needed 5 categories for gcj, since I built random sets based on those

#

you got one from each

acoustic moss
#

aight i might actually do this for realsies

solemn tulip
#

ultimately very arbitrary

#

if there is a shared list for the 25 days that could be really fun

#

collective pain

timid latch
#

This sounds fun, might do a pool of the langs I know

young shoal
#

yeah i like the collective aspect

acoustic moss
#

i havent even reinstalled half the compilers since i wiped my drive 💀

solemn tulip
timid latch
#

But that would require learning

solemn tulip
#

codeforces used to have joker rounds at some point

#

where the restriction was "use whatever we support, but every thing at most once"

young shoal
#

😩

#

yeah C++11 and C++14

solemn tulip
#

for me it was usually like perl, ruby, python, java/kotlin, C++

solemn tulip
timid latch
#

I might try using the more unusual langs I know, like Haskell and prolog

young shoal
#

probably ocaml this year

solemn tulip
#

if roulette happens I'll probably join that

graceful basin
#

I'll probably do APL. I think I am more interested in deepening my understanding of a language rather than shallowly learning a bunch this year.

honest star
#

(there's like a 90% chance roulette will happen, at least for the first 14 days)

young shoal
#

we need to have a category for the really fun languages. latex, css

timid latch
#

Actually prolog might be very fun, it is a very different way of thinking

young shoal
#

cobol

solemn tulip
#

can't spell cobol without cool

honest star
solemn tulip
young shoal
#

just let me set the categories 😎. they'll be great

honest star
#

Nah, but would just require more time and code changes to the bot. Not quite ready to double down on that yet

solemn tulip
#

or just publish a list, though that gets rid of an element of surprise

young shoal
#

holyc

graceful basin
solemn tulip
#

roulette completionist role would be neat

young shoal
#

we previously had a thing for completing all 25 days i think

solemn tulip
#

yeah

#

but we can make it worse

young shoal
#

that can easily be verified though. how do you verify completing the roulette advent?

solemn tulip
#

git repo and manual inspection maybe, I doubt there will be many completionists that are also that level of masochist

young shoal
#

it'd probably have to be kat doing that, so probably not i think

#

does replit have an API for running code? or something else that can run any lang?

solemn tulip
#

you'll probably have like 2-3 claimants

#

at most

young shoal
#

if it's 25 different languages, yeah

solemn tulip
#

tour de pain

#

||🥖||

young shoal
#

Easy Programming Language (EPL, Chinese: 易语言) is a visual compiled multilingual proprietary programming language. EPL is somewhat popular in China because it features a full Chinese environment. (The language has traditional Chinese, simplified Chinese, English and Japanese variants.)
In addition, it is cross-platform, as it currently supports b...

solemn tulip
#

do not do scratch or visual languages

#

for the love of god

young shoal
#

actually scratch on like day 1 might be pretty interesting

solemn tulip
#

pls

young shoal
#

it can't be that hard

solemn tulip
#

no

#

how to even read a file?

young shoal
#

well i guess you'd need some macro to input the data manually lol

solemn tulip
#

🤢

young shoal
#

is bc turing complete?

graceful basin
#

Postscript or forth would probably work well for your roulette (though you generally need to magic the input to make it fit well)

solemn tulip
#

granted stuff like octave is such a pita to read stdin in

timid latch
#

Day 25: write your own compiler and solve the task in that lang

solemn tulip
#

that's a big chunk of aoc

young shoal
#

that was 2019 day...17?

solemn tulip
#

write an interpreter for this lang

young shoal
#

the video game one

solemn tulip
#

there are loads of them

#

2019 was "every other day extend your previous impl"

young shoal
#

it was really fun

#

lol, what about quantum programming languages

solemn tulip
#

pls

young shoal
#

Q# looks actually not that bad

solemn tulip
#

I don't want the hell of Q# and the like

#

have you done any quantum programming

young shoal
#

no lol

solemn tulip
#

it's really not programming in the usual sense

#

it's math

young shoal
#

there are also proof things like coq

timid latch
#

Try giving chatgpt the input and asking what the solution is

solemn tulip
#

like, stay somewhat sensible with language choices

young shoal
#

it'd go in a separate category, of course

solemn tulip
#

how would you do categories here?

young shoal
#

i would do something where users can subscribe to certain categories and they'd get like n languages per day

solemn tulip
#

for gcj it was feasible because there were only 5 tasks

solemn tulip
#

1 common list of language for everyone seems like more fun

young shoal
#

you want only 1 lang per day

#

yeah that does sound better

solemn tulip
#

everyone struggles with the same new language

#

could liven up the threads

young shoal
#

the langs should start out funny then become more serious

#

but 25 is kind of a lot. repeating is probably necessary

solemn tulip
#

like, having a nice mix of langs is important, you want challenging but not impossible

solemn tulip
#

(iirc)

graceful basin
#

Yeah, there are definitely languages which just will not work for some problems - trees in cobol, large arrays in postscript, and such.

solemn tulip
young shoal
#

yeah that's true

solemn tulip
#

treee in cobol ought to be doable?

#

just store stuff in an array

acoustic moss
#

mfw im new to rust and have to implement a linked list for day 6

solemn tulip
young shoal
#

use the stdlib

solemn tulip
#

I would like a decent chunk of functional langs just so I'm forced to try to use them

young shoal
#

yeah

solemn tulip
graceful basin
#

It depends on the cobol impl, but I would not feel all that confident about having to use a recursive DS in cobol.

solemn tulip
graceful basin
#

potentially you could do some index into a pool thing

young shoal
graceful basin
#

also, consider PL/pgSQL

young shoal
#

that...would be amusing

graceful basin
#

there are problems where it will be significantly better than anything else, and there are problems where it will be a nightmare

solemn tulip
#

Dijkstra in SQL

#

ez

young shoal
#

it would be cool if someone could screen the problem and pick a fun language to solve it in

#

like a tree problem could be solved with the file system

graceful basin
#

it will just be a fairly mundane dijsktra impl, you get postgres arrays and all that fanciness

solemn tulip
#

but I would stick to half sane general purpose langs

#

(bash is borderline but ok for early days)

graceful basin
#

TCL would probably also be fine, it has arrays and hashtables

green pelican
#

is there an objective truth in our universe

#

or is everything at some point subjective

#

can truth change

#

if truth can change then is it even ever really true?

young shoal
green pelican
#

16 17

tardy rain
#

No its 21:17

#

Because i said so

green pelican
#

no

tardy rain
#

Who are you

green pelican
#

joe

#

😏

tardy rain
#

I reject your reality and substitute my own

green pelican
#

fair

#

i cant stop you

#

arent we all the center of our own perception of the universe?

tardy rain
#

I sure am in mine

tulip falcon
#

I'm tired from making portfolio page in html from scratch

#

and I guess the six hours of practice before that

#

Been working since 4am

#

I wanna write an article tho

#

Was starting to think that was an awful idea to have used html because of SEO lmao. I think if I write article/docs in github Readme it will have decent SEO

young shoal
#

static pages have better SEO

tulip falcon
#

Yea I guess since there's no bundle brainmon

#

I'm trying to fix the responsive design of this and make article for the sorting algo

tulip falcon
#

git commit savepoint for now

tulip falcon
#

You can do both

#

Oh then uh go out with friends or something

#

I used to do that

#

I never did any homework when I was in school

#

I never turned my homework in I thought: this is stupid

#

Fuck around for 8 hours and then do stuff afterwards? What are we in China?

#

I did alright on tests so I passed

#

I barely wanted to be there for the day let alone do homework

#

Bleak flourescent lights, white concrete walls, I thought: "this is analogous to a prison"

#

I listened to music with earbuds in instead of listen to the teachers

#

Damn

#

I had html class , and I never learned anything we played like snake game and typeracer the whole time

#

My teacher would close my window out and I'd open it again instantly

#

Then there was some sort of engineering class, I thought the people who cared about it were nerds

#

My teacher said on the last day of that engineering class to me "you're a sandbagger, you know what to do just aren't doing it" , cool guy lol

#

Yeaa that was after I turned in this packet he gave so I could pass the class lmao.

#

Like here do this bigass packet and everyone can pass

#

Is there a movie on that

#

or a sparknotes

#

It's historical apparently.

#

My teacher made us pretend we were on a slave ship in 8th grade or so

#

and watch "roots"

grave cove
#

me when i take film theory class and all we do is watch movies all day:

#

barley is good

#

one of the grains of all time

tulip falcon
#

It says something about racial inequality and social justice too

grave cove
#

tis how it be

tulip falcon
#

I painted some piece of wood black in theater tech , other than that it was kinda cringe

#

i liked wood shop class at military school

#

Why can't we do wood shop every year

#

We are lucky we didn't get hurt. There was this guy I put a huge wad of hot glue onto his project and he burned his hand , chased me around the wood shop class lmao

grave cove
#

what if you're training for the millitary pithink

tulip falcon
#

he probably pithink that because it's self explanatory I'm a bad boy lemon_fingerguns_shades

#

I didn't think I was that bad when my parents said to send me to military school, maybe a little shit looking back on it. I'm glad I went