« first day (208 days earlier)      last day (42 days later) » 

02:25
Nah, just use a --reverserange flag
I'm language designing based upon patterns I've observed in challenges
Are you interested in my new challenge (which attempts to disobey the common patterns)?
I think I like it.
∞£:∆™§˚$˚+™∂µ
A kind of solution
Infinite list of odd numbers, map (dup, increment), pairwise map (square, swap, square, add), sort, uniquify, print
Wow... how (in the world) did you think of so insanely useful instructions like that?
Well, I've already covered the maps
And uniquify/print/sort is just standard practice.
But wait, how are you going to deal with that infinite list? Lazy evaluatoin?
02:38
I'll see how 05AB1E does it.
I'd probably use a generator
And then when printing, it would just be print terms until a certain point
I'm yet to get to that though
Also, the symbols are subject to change
A question: does ∞£:∆™ simply yield the list of positive integers?
That's what does it
the £:∆™ dups and increments each item
Hmm, can you give some items from that list? I am still not able to understand it.
Well, seeing as how it's all the odd numbers:
[1, 3, 5, 7, 9, 11, 13]
then
wait
perhaps I've misunderstood the challenge
Hmm, I'll try to clarify the challenge. What is the thing that you have misunderstood?
03:08
I realized that uniquifying is too trivial... the deltas for the sequence is `[2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2]
03:34
How do we determine the middle number?
04:27
Preventing the uniquifying doesn't help...
@Lyxal Simply pass through the given formula.
04:41
But anyway, I don't want to complicate my challenge too much ... no it shouldn't, otherwise, it would be too trivial.
However, in the current challenge, it's just a blatant abuse of the formula, which is obviously boring.
However, I'm also interested in seeing how they would generate that formula. Anyway, rollback!
05:27
Aha
So then
My initial solution is wrong
Hmm
well
∞∫²▽½™§+™∂µ
There we go
that's better
inf list of odd numbers, zipmap (square, decrement, halve), pairwise map (add), sort, uniquify
How did you do the increment of the third output of the map?
I forgot that the number generated by the formula needs to be included
Which means pairing everything
Hmm.
∞∫²▽½™§⊐™∫+™∂µ
∞∫²▽½™§⊐™∫+™…∂µ: Inf list, zipmap (square, decrement, halve), pairwise map (wrap in list), zipmap (add), flatten, sort, uniquify
There we go.
That should work
Please note that all symbols used are subject to change
As are the commands
But theoretically, that's what it'll look like
CMC: Given a string k, split that string on spaces.
05:43
Keg definitely has a built-in for that. I'd take a look.
And output each item on a newline
Or seperated
Somehow.
I got 6 bytes
What!? Keg doesn't have that? I guess I have to use a loop to do that.
Uh
It does
It's called division lol
You literally suggested it when I asked what string divison should do
I only managed to write this. How do I do the printing section...
` /÷^(,` with -pn
Thanks for rendering properly markdown.
05:51
Hmm. ` \/÷^(,`
` /÷^(,`
/÷^(,
Ah
MD don't like spaces
What's the list after ` /? Why is ÷` neccecary?
@a'_' Because otherwise the list gets flattened and doesn't split individual items
Because string division returns a list
Yeah. I know
Inefficient isn't it
That's why I'm rewriting everything
Ah, so ÷ is flatten onto the stack.
Mhmm
Indeed
÷ is item split
Strings -> individual characters
Numbers -> individual numbers
Characters -> individual numbers of ord code
05:58
List -> dump onto stack
Lists -> every item
@a'_' Yeah. Y'all somehow sent that before mine went through
 
2 hours later…
07:56
∞⟨²▽½™§⊐™⟨+™…𐊖𐊜
that's what it'll look like!
! Push the length of the stack
@ Start function
# Start a comment
$ Swap the top two items
% Pop x, y, push y % x
^ Reverse the stack
& Store/Push a value in/from the register
* Pop x, y, push y * x
() For loop
[] If statement
{} While loop
: Duplicate top
; End function
" Right shift
' Left shift
< Less than
> Greater than
, Print nice
. Print raw
? Take input
/ Pop x, y, push y / x
\ Escape next character
~ Push random number (-inf, +inf)
- Push x, y, push y - x
 
14 hours later…
22:00
! Push the length of the stack
@ Start function
# Start a comment
$ Swap the top two items
% Pop x, y, push y % x
^ Reverse the stack
& Store/Push a value in/from the register
* Pop x, y, push y * x
() For loop
[] If statement
{} While loop
: Duplicate top
; End function
" Right shift
' Left shift
< Less than
> Greater than
, Print nice
. Print raw
? Take input
/ Pop x, y, push y / x
\ Escape next character
~ Push random number (-inf, +inf)
- Push x, y, push y - x
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789)!@#$%^&*(`-=~_+[]\{}|;':",./<>?¡≠≤≥〚〛°¬£ƒ§™®©ß⟨⸤⸢𐊗𐊂∑∨∧∆▽ṘṚṙṛ⚁⊡¢§Ω²𐊖𐊜⊐…
 
1 hour later…
23:07
def inf_list(item = 0):
yield item
while True:
item += 1
yield item
2
infinite list ftw

« first day (208 days earlier)      last day (42 days later) »