« first day (1583 days earlier)      last day (3253 days later) » 

11:00 PM
ah yeah, that's annoying
 
online one allows me to copy anything
 
@Sp3000 wait no
 
Wait... there's an outer one around the smaller inner ones
 
yeah I was just gonna say that
 
Ahaha thanks :)
 
11:07 PM
@xnor posting hook length anytime soon ?
 
sure, after I finish writing up the explanation for diamonds
 
how soon is that ?
 
~10 min
 
i think xnor just saved me from persuing this method for diamonds any further :P
 
xnor - destroying the hopes of other Python golfers since 2014
 
11:10 PM
Oh he's been destroying hopes and dreams since long before 2014.
 
I like how ^ was also used as the dummy char :D
 
@AlexA. he joined PPCG in April 2014
 
I'm not talking about PPCG.
 
then ?
 
He has destroyed the hopes and dreams of many since he first arose from the firy depths.
 
11:15 PM
These hash functions are getting slaughtered
 
I think the first day or two of CnRs always tends to be the easy ones, until people figure out what not to do
@xnor Nice explanation :) Had the same idea but I actually did checking before/after for \/, so I had an expensive for a,b,c in zip(q+r,r,r[1:]+q). Good job compressing that.
 
@Sp3000 yes, I had also started with a triple-zip
 
Also I have .rstrip() :(
 
is there no time limit for the hash function? then I could make one that's so slow, no one can seacrh for collisions
 
@feersum 1 second for N up to 2^(2^20)
 
11:18 PM
that's pretty slow
 
i remembered the "iterate over pairs" trick and the "push the debt to later" trick from the galton's board challenge
 
so in the hash cops and robbers - It is impossible to create a non-clashing hash, right ?
 
It's a big number. I had to do a bunch of things just to get it down to 0.25s in Python :/
 
as the input set is larger than output set
 
haha
 
11:20 PM
(that's why the & is in there - with that it went from 3.4s to 0.25s)
And yes, pigeonhole principle means it's impossible to not have a clash. Doesn't mean finding one is always easy though.
 
@Optimizer By the pigeonhole principle, yes.
 
wow, even that common sense thingy has a name
because people would trust you less if you said by common sense
 
a lot of earlier CS courses are about obfuscating common sense with fancy terms
like "memoization" lol
 
Haha
 
Also, common sense doesn't have pretty pictures.
 
11:23 PM
BIRDIES
 
@Dennis maybe yours doesn't :P
 
One of those may grow up to be Alex's icon someday!
 
Or just that picture.
Something for me to consider for the future.
 
1
Q: Hook length product

xnorA Young diagram is a collection of squares in left-justified rows and top-justified columns. For each square, all the spaces above it and to its left are occupied. XXXXX XXX XXX X The hook length of a square is the number of squares to its right in its row, and below it in its column, also cou...

 
It's common sense, but it needs a name so people can refer to it easily
Handshaking lemma's another one of those
 
11:27 PM
@xnor is really required ?
 
meh
it's a mathematical topic, but you don't necessarily use math facts in golfing it
 
lets put in some more meh tags :
 
not sure how much the tag needs to imply
 
Unless you wish to solve it by enumerating Young tableux :P
 
i have some hope for some hardcode indirect solution
oh, shoot, i forgot to ban out obvious stuff
 
11:29 PM
like ?
 
HookLengthProduct if it exists
 
stares Mathematica
 
BuiltInThatSolvesTheChallengeForYouButWhoseNameIsSoLongThatPythWinsAnyway
14
 
@xnor phew, that would have been an 18 byte solution
 
i made it up, don't know if it actually exists
 
11:31 PM
It probably does in Mathematica.
 
Can we assume that input is always going to be a Young diagram?
 
seems awfully silly to have
 
@BrainSteel as opposed to?
 
who would be doing operations on a square grid of X's?
 
Mathematica does have NumberOfTableaux, but it needs Combinatorica` :P
 
11:32 PM
@BrainSteel any list of numbers is a young diagram
 
Mathematica: There's a Built-In for Thatâ„¢
 
Well, [1 3 5 7] isn't top-justified.
 
your input can be in ascending form. but the diagram is still the same
 
@BrainSteel you can assume it is but was just listed bottom to top
 
Ah, I see. My brain is hazy from the walk.
 
11:34 PM
Isn't your brain made of steel ?
 
It just needs some WD-40.
 
No, I'm just the steel brains are made out of.
 
anyways, I am off to sleep. Will add explanation tomorrow morning.
 
good night!
 
(or in 5 hrs)
 
11:35 PM
Goodnight!
 
G'night!
 
night
 
gn!
 
Someone read @Optimizer a bedtime story.
I'll get the warm milk
 
no. I'm good
 
11:36 PM
Ah, crap, I forgot milk :/
 
you should chat while buying groceries too!
 
It's okay, dry Cheerios are still pretty good.
 
I did! Just look up there! I made a decision to get clementines.
 
@Optimizer Doesn't seem too far fetched given that he chatted during his best friend's graduation party! :D
 
I have like an 8th of a gallon.
 
11:37 PM
^ US and their weird units!
 
0.473176 liters
 
I don't know the liter-to-gallon ratio off the top of my head.
 
1/8 gallons = 0.473176 liters
 
ty alex
 
NO PROBLEM
1 gallon = 3.78541 liters
Or "litres" for some people.
 
11:39 PM
ahh, okay
 
how do they get this precise ?
 
for some reason i thought a gallon was one of those big oil tanks
 
Does nobody else use gallons?
 
How can one tell the difference between an iron nail and a zinc nail?
 
as in , here, or country ?
@BrainSteel magnet ?
 
11:40 PM
@BrainSteel Eat it and see what happens.
Actually, magnet is better.
 
Trust the llama or the bird...
I've got magnets.
 
Don't believe anyone that recommends you eat a nail.
Actually, TWO nails
 
@BrainSteel eat the magnets and see which nails stick to your belly
 
^ sound advice
 
@BrainSteel they have different melting points, so just heat it up to 500 Celsius and see if it melts or not, obviously
;-)
 
11:41 PM
You can't just eat a nail. You have to have a bowl of nails.
 
@BrainSteel that is why you eat the magnet
and throw the bowl of nails towards your naked belly
 
They're crunchy...
This sounds worse and worse.
 
Eating a magnet might be less, you know... lethal.
 
@Katya's Melting point suggestion is more reasonable than this!
 
@BrainSteel reasonable than using a magnet to separate the nails ?
wow
 
11:42 PM
Or just stick the nails to the magnets.
 
I'll stick you to a magnet...
 
Oh I've got it.
Throw nails at a magnet that's taped to the wall.
 
WHY?
 
Or better yet, load them into a nail gun and shoot them at magnets on the wall.
 
I don't have any tape :(
 
11:43 PM
Have a friend hold up a magnet
And blindly fire nails
 
I'll go get the guy who graduated.
 
He doesn't have a friend either.
 
Ow...
 
Oh dang son.
 
I thought you guys were my friends?!
Now, hold still.
 
11:44 PM
goes to sleep
 
You'll have to throw your nails about 1428.184 miles to hit my magnets.
 
Sigh, I've already had to do so much walking today...
 
Just pump some iron until you're physically able to throw nails precisely over distances upwards of 1.4k miles.
 
Get both nails neutral, touch them together, the iron one will be negatively charge.
 
But don't pump any zinc, right?
 
11:48 PM
Oh god no. That's far too dangerous.
Also don't expose pure potassium to oxygen.
 
or non ionized sodium to oxygen
 
Or knives to fingers.
(made that mistake once)
 
(unless it's the handle end)
 
(that is an acceptable location for fingers)
 
I ran around with a magnet. No zinc nails found.
 
11:53 PM
That's quite the mental image.
 
It was not as energetic as you're probably imagining...
 
Well that's highly disappointing.
 
All our nails are pretty much in one place, so I really just stood there putting magnets next to things within reach for a bit.
 
What stuck to your magnet? Anything?
 
A bunch of iron nails, haha.
 
11:59 PM
Hah. I'm not convinced that zinc nails exist.
 

« first day (1583 days earlier)      last day (3253 days later) »