« first day (26 days earlier)   

3:17 AM
Anyone here?
@EriktheOutgolfer @LeakyNun
Challenge Idea: ZIP without using built-ins for zipping/transposing
Input is a rectangular matrix
Output is that matrix transposed, without using any zip built-ins
 
 
9 hours later…
12:18 PM
Turns out to be a bit trickier than I thought. I have another challenge idea:
R without builtins for range. Should be able to be used like a regular monad.
 
@HyperNeutrino can do it in 2 bytes
 
and it does work as a regular monad indeed
 
??? hm
 
well it uses undocumented behavior
 
12:21 PM
:I
I wouldn't be able to figure it out then
CHALLENGE: Difficulty EASY: With input x give a list of x 1s.
(without using list repetition)
I have a 3-byte solution but you might be able to do better.
 
may I assume x > 0?
 
Sure.
 
should it work as a monad? because otherwise I can do it in 2 bytes
 
It doesn't have to.
 
2 bytes then
 
12:25 PM
nice
 
actually 1ẋ is still 2 bytes...
...although that uses list repetition
link to your 3-byte solution please?
 
my solution is totally different
again undocumented behavior though
 
:I
link please?
 
I want you to find the range (should work as a monad) and this yourself first
rn it seems you're fast-quitting that's why I say this
 
12:30 PM
Ah okay.
I'll try more then. It's just that I don't know the undocumented behaviour to expect :I
 
I mostly learn undocumented behavior by looking at others' (mainly Dennis's) answers
 
Ah. Okay.
Can you give me a hint as to what sort of undocumented behaviour occurs?
 
for the range, try to look for quicks that wouldn't make sense for single integers
then, filter to those which apply to monads
 
Ah okay.
 
that should be a starting point
 
12:34 PM
neither reduce would make sense (I'm just listing some here)
product table
map
sort
filter
@EriktheOutgolfer 2 bytes
 
see? you didn't need a spoiler after all :)
 
:)
ok now for the 1s list thingy
 
first of all you must assume x > 0 (something that your 3-byte solution doesn't do)
second, avoid x and entirely
 
Okay. (Well second one is obvious because I said no list repetitions)
 
third, you shouldn't be looking for a quick
 
12:42 PM
oh
okay
 
@HyperNeutrino I emphasized the second so that you avoid the grand temptation
 
Ah okay. :P
 
@HyperNeutrino I figured out a 2-byte solution where you don't need to assume x > 0
so now you shouldn't either :P
 
Ah. Nice.
:P
 
still no quick
 
conclusion: avoid the spoiler as much as you can
 
Yes :P Typically I learn more this way actually.
 
yes that's why. using the spoiler is like trying to memorize certain stuff when studying without necessarily understanding what's going on, and when asked to explain what a part does or what a slightly modified snippet does, you go like :O WTF I don't even...:(
 
12:48 PM
Yeah true. :P
Also learning system idea (if you aren't already doing this :P): have a test to advance levels; for example, 1 -> 2 do stuff like the right isoceles triangle challenge or maybe easier/harder
 
I'm trying to do it that's why levels exist
 
Ah okay. :P
 
 
3 hours later…
3:47 PM
5
Q: Trithagorean Triples

Wheat WizardA Pythagorean Triple is an integer solution to the equation: A Trithagorean triple is and integer solution to the equation: Where Δn finds the nth triangular number. All Trithagorean triples are also solutions to the equation: Task Given a positive integer c, output all the pairs of po...

@ComradeSparklePony @HyperNeutrino @LeakyNun
(avoid my answer!)
my answer is 16 bytes fyi
 
 
2 hours later…
5:36 PM
hint: now the answer is 12 bytes
but it's not at all trivial
11
Q: Find an Unrelated Number

MayubeGiven 2 non-negative integers as input, output a non-negative integer that cannot be created through any mathematical operators on the 2 inputs. For example, given inputs 2 and 3, 6, 0, 5, 1, 9, 8, 23, 2 are all invalid outputs. Operations that must be taken into account are: Addition (...

@ATaco @ComradeSparklePony
do not look at the comments or the answers, my answer is 3 bytes fyi
 
5:52 PM
Oh right this one. Well rip I can't do this lol
I'll do the Trithagorean one when I get home.
My school WiFi blocks imgur and stack.imgur :(
 
how is this related to imgur?
 
The images in the question don't display.
 
pythagorean triple formula is a²+b²+c²
 
ok
pyth or tryth
are you describing the images?
 
trithagorean triple formula is T(a)+T(b)=T(c) where T(n) is nth triangular number
the third image is a²+a+b²+b=c²+c
@HyperNeutrino yes
 
5:57 PM
ok thanks
 
don't look at the answers, although there's a 16-byte answer (mine, somewhat trivial) and a 12-byte one (Dennis's, not trivial at all)
but my answer will soon be reduced to 14
 
ah ok i'll try to get something working
 
14 bytes seems trivial
 

« first day (26 days earlier)