« first day (2517 days earlier)      last day (2330 days later) » 
00:00 - 20:0020:00 - 00:00

8:06 PM
@NewMainPosts I finally came up with a challenge that levels the field between golfing and non-golfing languages a bit! \o/
 
8:23 PM
@Mr.Xcoder Huh? I don't see anything different about the answer distributions.
 
Can any Python heads help me golf this?
 
@WheatWizard Huh? The only golflang solution is in MATL (inpired by MATLAB ~ Matrix Laboratory) and that's only 5 bytes away from APL
@FlipTack I am trying, will comment if I get anything good
 
That's pretty standard. APL usually scores just behind the golfing languages, and MATL is usually towards the tail end of the golflangs
 
@WheatWizard MATL is usually towards the tail end of the golflangs - Not when it comes to matrices.
 
@Mr.Xcoder I tried making the function write to its argument (allowed by meta) using m[:]=[...], but it ended up as a much more confusing output format with the same bytecount
 
8:25 PM
@FlipTack Funnily enough, I just did that too
 
@Mr.Xcoder These are not matrices, they are 2D lists.
 
ಠ_ಠ what are you talking about
 
@WheatWizard What's the difference? I am noob
 
@Pavel A matrix is a linear operator on vectors, they can be represented by a 2D array. A 2D array is a way of storing information.
 
I understood the second half of that.
@WheatWizard So an arbitrary 2D array of numbers can't necessarily be used as a matrix?
 
8:29 PM
No they can, in fact a 2D array of ring elements can be used as a matrix
A matrix is a function, its just a simple type of function that can be represented as a 2D array.
 
@LeakyNun @Riker BTW, I finally figured it out. I was calling them in the wrong order, and the function calling f() had a catch in it, but it was a silent "Catch and do nothing" so I never realized they were called in the wrong order.
 
ah cool
 
So a() was throwing because it relied on inheriting from b()
 
The input to the challenge is technically a matrix. But the challenge is not about matrices. Just like a list of integers can be interpreted as a string but that doesn't make every challenge using them about strings.
 
@DJMcMayhem lol
 
8:31 PM
0
Q: Rust Golfing Crates

Håvard NygårdSo, i have started creating a golfing library for Rust, as i saw some questions about it here, with some pretty good response. The usual requirement, was usually including the include statement in the byte count, and adding the library in the header of the answer. In Rust this, for me, leads to s...

 
I think I found a bug in Jelly: tio.run/##y0rNyan8/99Iy@f////…
 
@Mr.Xcoder If I put p>s instead of p//s, would that work?
It seems to for the test cases
 
@Zacharý Looks right to me
 
@FlipTack Wait, let me wrap my head around it
 
If you remove the L, you can see it gives [[2, 4, 8, 16], [2, 2, 1, 1], [2, 1, 2, 1], [2, 1, 1, 2]], which clearly has a length of 4
 
8:33 PM
Haha that's what I'm trying to do
 
Oh, it's just me being too hopped up on APL
nvm
 
@FlipTack Well if you are performing integer division, 0 will only occur if p<s.
Wait... Why p>s... Huh? What am I missing
 
So many levels of abstraction...
 
Oh got it.
yeah p>s works I think
if you notice that it's invalid, you can rapidly switch back to // :P
I think the print all(...) might be golfable
 
Hmm... position of current item > size of matrix will yield 0 (meaning the item must be 1) for the whole first row, and the first item of the second row
And the first item of the second row has to be 1 by definition of an arrowhead matrix
so it works
 
8:39 PM
@Mr.Xcoder Nope, still 85
 
What did you try and do?
 
(switched values)
@FlipTack That bitwise XOR pisses me off terribly. I tried my best to remove it but it always ends up being shortest
 
Same here, I must have tried about five other methods, but nothing beats bit-fiddling >:)
 
Ba-dum tss
 
Reminds me of a dumb joke --
A drum kit falls over. Ba-dum tsh.
 
@AdmBorkBork It's supposed to go Two toms and a hi-hat fall off a cliff... Ba-dum tsh!
5
 
9:15 PM
Sure.
 
Nice one
 
Here's another dumb joke:
Why did the blind man fall in the well?
Because he couldn't see that well! Ba-dum tsh!
 
I always heard it as A snake, a drum, and a sheep fall off a cliff... Baaa-drum-tsss!
 
Should snake and sheep be in reverse order there?
 
9:30 PM
@Mr.Xcoder Thanks for the edit... again :-)
 
@LuisMendo np
 
Funny how, even if I know perfectly well that "np" stands for "no problem", every time I see it I read it as NP
 
-- What happens when P = NP?
-- Well, P = 0 or N = 1
 
@Zacharý ... Ah, shoot. Yeah
 
@LeakyNun Even DJ's joke was better :-P
 
9:34 PM
Shh, don't encourage him. ;-)
 
@LuisMendo Hehe
@AdmBorkBork too late
 
I know, the +3 stars was already enough.
 
Seems legit
 
9:56 PM
Gotta say, that's one of the best ones I've seen
 
@Pietu1998 Check out Saturday Breakfast Morning Cereal. It's a lot like xkcd but... stranger
 
That does look XKCDish
 
If anyone has 5 minutes to take a look at my sandbox question feel free to. I'll post it in a few days if nothing major comes up.
 
10:12 PM
@DJMcMayhem smbc is the second best webcomic
I like it more than xkcd imo
 
@Pietu1998 That looks like a fun one, but I can already feel the pain of dragging in random numbers into Clean for an answer xD
 
@Riker I might actually agree with you there
 
at least, xkcd's current strips are pretty downhill
 
I disagree personally.
 
they're definitely worse than older ones
 
10:25 PM
That's very much so a matter of personal opinion, I've been enjoying the content they're pumping out recently, more so than a lot of the older ones.
 
10:40 PM
I should probably work on MY some more
 
11:00 PM
Yay. I got hats and didn't do anything
Is there a page for the secret hats this year?
I want to see what the hints for the sun one are
 
0
A: Sandbox for Proposed Challenges

J843136028Letter Pronunciations Each letter in the alphabet has a pronunciation: ay, bee, cee, etc. We will mimic these pronunciations by spelling them. Given a letter (you only have to take in lowercase or uppercase -- not both), return the pronunciation. Make your code short. Test Cases a -> ay b -> b...

0
A: Sandbox for Proposed Challenges

JordanArrayify my doubly linked list code-golf data-structures A doubly linked list is a data structure in which each node has a value and two "links": one to the previous node and one to the next node. Here's a diagram of an example: In the above diagram the node with value 12 (henceforth "node 1...

 
@NewSandboxedPosts Not helpful
 
@mbomb007 Spoilers!
 
How are some of the hats possible with trademark/copyright laws?
 
Fair use.
If I recall Correctly.
 
11:43 PM
@Adám did Dennis get back to you regarding the Jelly logo you made?
 
@Downgoat No.
 
00:00 - 20:0020:00 - 00:00

« first day (2517 days earlier)      last day (2330 days later) »