« first day (971 days earlier)      last day (424 days later) » 

9:11 AM
@Adnan: There still seem to be some issue with isPrime. I'm pretty sure 11 13*p should return false ;)
As 49p returns false now, I assume that the previous fix is live
 
9:34 AM
@Emigna You are correct
I made a very silly mistake, but it has been fixed now :)
I added a couple more tests to make sure that this bug is now fixed
thanks for spotting :)
 
10:05 AM
Nice!
 
 
3 hours later…
1:28 PM
@Adnan The dictionary doesn't seem to work anymore. “‚ï“, “‚ï or '‚ï (which should all be "world") gives the same Reading.Dictionary.dictionary error in the new version.
 
2:04 PM
I see the command to print to STDERR has been removed?
@Mr.Xcoder Ah nice. Been thinking about this as well. I sometimes forget about the Extended Commands because they were at a separated tab. ;)
 
I've decided to ask permission to do this now since some particularly important commands were added and they must have visibility.
Challenge: Try to imporve this answer using v2. (note: I haven't solved it yet)
 
 
5 hours later…
6:55 PM
@KevinCruijssen Hmm, it seems that the 05AB1E version on TIO does not have read access to files
I'll try to rewrite this so that it doesn't need to read the file in the next commit
 
7:23 PM
@Mr.Xcoder The straightforward option gives me 10 bytes
 
@Adnan I assume that 'straightforward' method didn't work in the legacy, correct?
 
Nope
I used the next prime function which does not exist in the legacy version
 
Ok, then I'll try to find that ASAP
So similar to Dennis'?
 
I haven't tried to port Dennis' submission into osabie but I think that should save a byte at least
 
Actually I don't think it would. Let me know if you try, but С doesn't quite behave the same way in 05ab1e, does it?
 
7:32 PM
Yeah, I'm not familiar with how С works in Jelly
so I have no idea
 
Accumulating iterate. When acting on a dyadic link d and called with
arguments x and y, the resulting quicklink executes
"x, y = d(x, y), x" n times, returning all intermediate values of x.
 
What's y in this case?
 
Initially, x = 0 and  y = n.
Where n is the input.
 
and y does not change after each iteration?
my jelly knowledge is horrible
 
y becomes x after each iteration
And x becomes func(x, y)
Does your method use lambda or not?
 
7:36 PM
Yes
 
Ok, I'll get to work now
Can I assume p is fixed?
And I'll just run it locally
 
It's fixed but not yet synced
 
I am aware of that
 
although that should not be a problem for the first 15 terms
 
Um.. True
 
7:45 PM
Also one tip that I should probably document
λ inside a λ-program pushes all previous results
 
That's exactly what I needed lol...
 
For example calling λ on a(5) pushes a list of [a(0), a(1), a(2), a(3), a(4)]
An infinite stream
 
I know that, had something else in mind, forget about it
 
8:02 PM
Aiight-- I was gone for a few months. Why did everything all change?! (AKA me asking what the difference between 05AB1E (Legacy) and 05AB1E is)
 
:) You shoud get used to the new features asap.
 
@MagicOctopusUrn because the code was horrible to maintain
 
@Mr.Xcoder I can't really find the difference between the two except the commands on list.txt... may have changed?
 
Many, many things have been added
 
@Adnan oh-- don't take it the wrong way, by all means, just wondering what is different. Probably shouldn't've asked in 1337speak format lol.
Ohhh, I'm looking at a cached page... I'm stupid.
 
I SEE THE OBVIOUS DIFFERENCES NOW.
I was like... nothing... nothing changed?
 
Glad that you're wrong :)
 
Oooooooo... you added tons of dot commands, neat.
Did the refactor give you a chance to reorganize the commands into a more... linear fashion?
I vaguely remember being told by Emigna at one point that only letters could be used with dot commands for some reason or another.
 
Oh yeah, in case I forget, float literals now also exist: tio.run/##yy9OTMpM/f/fUM9UwVjPyFT7/38A
 
@Adnan ohhh that is sexy.
 
8:11 PM
Or even this: .5 .2+
 
D'awhhh -1 is still a no-go
 
Unary - would be difficult because there's binary -
 
yeah, that isn't possible parse-wise
 
Then again multiplying by the uninitialized counter is basically the same.
 
but ( should almost always be able to achieve the same thing
 
8:12 PM
Oh right... -a...
Sigh, I overcomplicate things so often.
 
Note to self: Never try to tie Adnan in 05AB1E again while playing PUBG at the same time
 
8:25 PM
My version of that is slightly different. "Note to self: Never try to tie Adnan in 05AB1E."
 
 
2 hours later…
10:32 PM
0
A: Compute the minimum \$a(n)>a(n-1)\$ such that \$a(1)+a(2)+\dots+a(n)\$ is prime (OEIS A051935)

Mr. Xcoder05AB1E, 10 bytes 2λλOD₁+ÅNα Try it online! This only works in the non-legacy version, the Elixir rewrite. Outputs an infinite stream of integers. There are some bugs with the prime test that have been fixed in the latest commits, but are not yet live on TIO. It does work locally, though. Here...

That wasn't all that obvious to me tbh :)
 

« first day (971 days earlier)      last day (424 days later) »