« first day (343 days earlier)      last day (1468 days later) » 

2:23 AM
@DJMcMayhem do you have any CMC in V for me to practice?
 
2:33 AM
@LeakyNun print this: Try it online!
(the code, not the output)
 
Do we have alphabet?
 
No, but there is range
 
oh
 
<M-,>
 
in utf?
 
2:44 AM
@LeakyNun ¬
 
@DJMcMayhem yeah I found it
@DJMcMayhem what is escape?
 
0x1B
 
00000000: ac61 67ac 6761 36f1 d9e3 3278 5e69 201b  .ag.ga6...2x^i .
00000010: 4120 1b                                  A .
19 bytes...
¬ag¬ga6ñÙã2x^i <esc>A <esc>
How do you reference the count?
 
 
1 hour later…
4:33 AM
@DJMcMayhem how should I do it?
 
 
2 hours later…
6:13 AM
@LeakyNun Your 14 byte solution seems pretty optimal
 
@DJMcMayhem what is your solution?
I thought there would be a built-in for reversing
 
Yeah, there isn't yet but I've been working on it recently
 
I see
 
There's some weird edge cases I'll need to figure out though
But it'll be æ once I add it
 
Do you have another CMC for me?
 
6:17 AM
I could think of one, but I'm pretty tired right now
 
alright
 
7:10 AM
@LeakyNun I have one for you, generate this cross: Try it online!
 
@KritixiLithos thanks
 
The code I used to generate this is 31 bytes (or 29 bytes if I had a trailing newline)
 
@KritixiLithos what does « do?
 
It increments the count
 
what is the count?
 
7:12 AM
So À«é5 would insert argument+1 5s
 
oh
 
The count is what is supplied to a command to repeat it x times. So in 5éa, 5 is the count to é. And the program inserts 5 as
btw I got mine to 26/24
 
what is 26/24?
 
without trailing newline/with trailing newline
@LeakyNun Are you on Windows?
 
yes
 
7:24 AM
Macs are weird, the alt combinations are different.
 
@KritixiLithos would you give me some hints?
 
How much do you have so far?
 
0123456789
 012345678
  01234567
   0123456
    012345
     01234
      0123
       012
        01
         0
9 bytes
is this the right approach?
 
@LeakyNun As my math teacher used to say, "There is more than one way to skin a cat".
 
true
 
7:35 AM
What I have is much simpler, it first generates the vertical line, and then goes for the horizontal one
 
but I don't see any obvious way
I don't know any vertical commands
 
Hint: newlines
 
I could generate a horizontal string and convert it to vertical
 
exactly
 
oh heh
how to shift all those lines?
 
7:42 AM
All you need to do is to Insert X spaces on every line
 
don't have a shortcut?
 
Îcommands performs commands on every line
 
I must be blind
@KritixiLithos Î9> doesn't seem to work
 
But Î9>> does
 
why?
 
7:48 AM
> is a motion. To indent a line you would use >>.
V autocompletes the second > under certain circumstances
Scratch that
> is a command, it requires a motion as it's argument, like >{motion}.
>> indents the line you are on, but V autocompletes the second > under special circumstances
 
how to delete the whole line including the indentations?
 
And because it requires a motion, you can do something like 9>G(or 9>H if you are on last line) to indent everything by 9 spaces
 
interesting
 
@LeakyNun So a\nb\nc => a\n\nc or a\nc?
 
never mind
 
7:54 AM
okay I am messing up commands and motions
Using 9>H instead of Î9É gives me a bytecount of 24/22
 
28 bytes without trailing newline... ¬09¬80Ùò^ld$ïpòHj9>GHddMpkdd
I have much to learn
 
You can change the dd to just d because V autocompletes the d since it is at the end of the program
d$ = D
 
are there registers?
 
Yes, in both Vim and V
 
not the temporary register created by dd etc
 
7:59 AM
You can store stuff into registers
 
how?
 
"{register}{command}{motion}. For example, "aY copies the current line into register a
"*Y copies the current line into the clipboard
"kdj deletes this line and the line below and stores it into register k
 
it doesn't save much bytecount...
at least I out-golfed you :p
 
8 mins ago, by Kritixi Lithos
Using 9>H instead of Î9É gives me a bytecount of 24/22
 
never mind
 
8:05 AM
I got yours to 24:
¬09¬80Ùòlé
òHj9>GHddMpkd
 
oh..... that is clever
I always thought of it as 2D
I also have this for 24 bytes:
¬09¬80"kY^òlé
ò9>HMdd"kP
Do you have any more hint?
 
20 bytes:
¬09¬80Y^òlé
ò9>HMPjd
 
oh that's nice
 
Now you golfed me :)
 
now there's one language you're better than me at :p
 
8:10 AM
My solution is:
¬08¬80YÓ./&\r
9>HMPãá9
 
I hate regex :p
 
(add a Gd to remove the trailing newline)
 
is that regex?
 
Indeed
Ó./&\r: on this line, replace every character with itself and a newline
Our solutions are very identical
@LeakyNun I'll bet DJ will come here and golf us both :P
 
anymore challenge?
 
8:14 AM
Why not try one of your challenges: codegolf.stackexchange.com/q/86986/41805 (note: there is both a Vim and V answer to the challenge)
 
alright, I won't peek
 
But today's V can beat that V (because of new functions)
 
11 bytes: ¬AZ25ñÙx$pñ
let's see the solution...
36 bytes... nvm
oh, the method is the same lol
and I don't even need the final ñ
 
Alternative 10 bytes: ¬AZ25ñÙlDP
anymore challenge?
 
8:20 AM
Do you want a mega-challenge (also on PPCG)?
 
depends on what that challenge is
namely, string manipulation is good
 
V was the only language to beat Bubblegum in that challenge (and it won)
 
don't expect me to do arithmetics
@KritixiLithos which challenge?
 
109
Q: A keyboard so real you can almost TASTE it

carusocomputing... Not that you would, would you? The task is simple, output the following text: ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ________ ||` |||1 |||2 |||3 |||4 |||5 |||6 |||7 |||8 |||9 |||0 |||- |||= |||BS || ||__|||__|||__|||__|||__|||__|||__|||__|||__|||__|||__|||__|||...

 
looks complicated...
 
8:21 AM
The V answer also won two bounties
 
my userscript says 149 bytes...
let's move on :p
I think the room description should include vimgolf.com
 
oh yeah, that's a nice website
 
let's do this
(transform the input to the code)
 
Trailing newlines allowed?
 
I don't think it is allowed
 
8:32 AM
12 bytes: 2dd3gJ$xÍ,/ò
Badly golfed
 
I see
 
What do you have?
 
not really anything lol
 
CMC: output this
a
 b
  c
   d
    e
...
Up to z
 
thanks
 
8:47 AM
and obviously, trailing spaces on each line and a trailing newline are allowed
 
I feel like this is too long
13 bytes:
¬az^òlé
òÎj>G
@KritixiLithos how long is your solution?
 
9:04 AM
I haven't started on it yet
That's a nice solution
 
@KritixiLithos CMC: all prefixes of input
my solution is 5 bytes
SHA512 96578D95F38F5F6432A564E870E75E9C7959CEA1DEFC6FB1BF11AD44BB1BBEE48DF8DC77BD3AB52‌​7E1DCFE803903AAB9EB6BEB56E2B6C59C7074D5B65A1EDD25
 
What do you mean by that?
Could you give an example?
 
Hello, world!
Hello, world
Hello, worl
Hello, wor
Hello, wo
Hello, w
Hello,
Hello,
Hello
Hell
Hel
He
H
For input Hello, world!
 
@LeakyNun that's mine as well :P
lol
 
nice
@KritixiLithos let's do this
nah I'm just kidding
57
Q: This is my pillow

Stewie Griffin...will you help me immortalize it? I've had this pillow a few years now, and apparently it's time to get rid of it. Can you please write a function or program, that I can bring with me and use to recreate this pillow whenever I want to reminisce a bit. It must work with no input arguments. ...

Let's do this
 
9:21 AM
all right
 
20 bytes
 
I'm over 25 and counting
 
FA911614541DAD915E18DF9CA8DC972498D81DB413969A4F04D2017FD9C52DD44A9C6317459C7B61‌​07D80B908EB7F62F9B4503F1DF8E56EFAD57087266E70404
 
27 bytes, yikes
26 now
5é/5á\|6ä$4ÙGd5l$p3ÙGVHy2P
 
9:38 AM
way to go
 
It's still 26 bytes
How did you approach it?
 
hint: rotation
 
I'm still puzzled, rotate what and how?
 
so I created the entire first line in the first 10 bytes or so
then duplicate -> rotate -> duplicate -> rotate -> etc.
 
Do you mean this: Try it online!?
 
9:46 AM
something similar
 
22 bytes now
What's your solution?
 
6ñ5á/5á\ñ6ñ4ÙG5x$pñd
 
Ah, 5x instead. For some reason, I thought 5x would not work
that's nice
 
10:18 AM
@KritixiLithos 2dd --> dj
(and not just cause I'm narcissistic and put my name into code :P)
 
@LeakyNun IMO, I would consider that a bug. (Although I do understand exactly why it happens)
@KritixiLithos can you see any potential downsides mapping î to ç^/?
 
Don't you mean Î instead?
 
Î
Ah, code block changes it
Yes, that's the same
 
The commands after ç^/ get interpreted as normal commands, right?
 
10:23 AM
Yes, but they operate slightly differently
 
How exactly?
 
For example, :%norm Yp (which is Î) creates a bunch of copies of the first line, but :g/^/norm Yp (which is ç) duplicates every line
ç it's definitely the more convenient of the two
 
In this case, I think ç is more useful
ninja'd
 
Yeah, I'll look into changing that tomorrow. That'll also fix leakys bug
I'd also like to add a motion for in the current line
So doing ä<whatever> would be like |ä$
Ok, it's 4:30 AM, I should not be awake xP
Good night everyone
 
 
2 hours later…
12:48 PM
@KritixiLithos any CMC?
 
not yet
 
@KritixiLithos this isn't my challenge lmao
 
oh lol, I didn't realise that
 
1:11 PM
@KritixiLithos do you think we can make the diagonal alphabet challenge on main?
a
 b
  c
   d
    e
     f
      g
       h
        i
         j
          k
           l
            m
             n
              o
               p
                q
                 r
                  s
                   t
                    u
                     v
                      w
                       x
                        y
                         z
 
 
1 hour later…
2:26 PM
òlé
òòddPgJkj
@KritixiLithos @DJMcMayhem \o/
 
 
3 hours later…
5:25 PM
@LeakyNun I think it would a good challenge. (And I've got a 14 byte solution)
 
@DJMcMayhem scroll up to see my 13-byte solution
I out-golfed the creator yet again :p
 
Well damn
 
what is your solution?
 
¬azÓ./&ò
Hòj>G
 
we share the j>G component \o/
what does `ò
Hò` do?
 
5:31 PM
@LeakyNun Down to 12 bytes now
 
:o
 
@LeakyNun The first one is part of the regex, not a recursive command
 
and the second one?
 
It says Replace each occurrence of any character with that character followed by a newline
@LeakyNun The second one is a recursive command
 
why do we need a recursive command?
9 hours ago, by Leaky Nun
¬az^òlé
òÎj>G
 
5:33 PM
Either one is fine
Do you know what the recursive command does?
 
I see
@DJMcMayhem I know
 
So then
¬azÓ./&ò
Îj>G
Is another valid one (13)
 
regex :o
 
@LeakyNun 11 now. :)
 
whaaaat
 
5:34 PM
Would you like to see it?
 
give me a few minutes
 
OK
Ping me if you want to see it
 
Wait for me
 
alright
@DJMcMayhem regex cant match empty strings :/
 
I'll give you a hint though. Since ¬az puts the cursor at the end of the line, all of our solutions so far require going to the start of the line before modifying the buffer. This one does not
@LeakyNun What do you mean? Yes it can
 
5:36 PM
@DJMcMayhem ¬azÓ/ò doesn't work as intended
 
Oh yeah, not like that
 
I got a 12-byter that goes z to a
¬az25ñé
>Gk$
 
@DJMcMayhem what's the unicode for the left arrow?
 
@LeakyNun there isn't one unfortunately
@KritixiLithos That's extremely close to what I had
 
I have ¬azòxïp>Gkh$ for 12 bytes...
 
5:49 PM
Gotcha
got 11 bytes
 
... and 11 bytes it is
¬azòé
>Gkh$
 
Mine was:
¬azòhá
>Gk$
 
@DJMcMayhem and yours?
 
Nice! That's exactly what I had
You can also do 1L which is equivalent to k$
So I guess not exactly Try it online!
 
what is L?
 
5:51 PM
Goes to the end of the last line (or the n'th line if given a count)
Alright, I should probably get going
 

« first day (343 days earlier)      last day (1468 days later) »