« first day (2082 days earlier)      last day (3056 days later) » 

13:00
Great, now part of me thinks they’re rude, but part of me is fawning over this cH<C-R>" trick.
@Mego Good lord. I'm not sure I can. He already beat my vim-quine, and tied my most recent V answer.
@Lynn I have the advantage here. I don't know vim, so there's no fawning ;)
Haha
@DJMcMayhem He beat your quine? o_O
Vim is that weird text editor that pretends its a keyboard testing algorithm to find faults in keyboard firmware.
13:04
@TheveryevilROFLcopter Yeah. Knocked 6 bytes off. Didn't even post it as an answer yet, just a comment.
                                                *V* *linewise-visual*
[count]V                Start Visual mode linewise.
                        With [count] select the same number of lines as used
                        for the last Visual operation, but at the current
                        cursor position, multiplied by [count].  When there
                        was no previous Visual operation [count] lines are
                        selected.
Good morning/evening/afternoon :)
Vim is messed up
Multiplied by count. Sheesh
@TimmyD That's the one. The worst thing is, everyone knows it was unnecessary, since emacs already filled that role :P
13:05
Vim >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>‌​>>>>>>>>> emacs
@Lynn How do you know this guy?
@Geobits No, I thought emacs was the text editor that thought it was an OS?
Tops nearly every vimgolf.com problem. Has a blog full of Vim golf tricks
@TimmyD Oh right, I always get that confused. Probably because they're exactly the same.
@Lynn 0_0 What have I done?
13:08
@Shebang heyyy
Hey :)
Help, VirtualBox ethernet driver is borked, Vagrant is borked, and my Linux laptop slow down the connection insanely when I download a thing on it, and qemu don't work on Windows ;_;
Aww, that means I'm gonna have to award another bounty... :/
First thing I see in the Vim subreddit: defaults.vim not on by default
@TheveryevilROFLcopter Pour lighter fluid. Strike match.
13:11
Oh and bochs want a configuration file as big as the universe (and don't want to install)
@TheveryevilROFLcopter You should totally drop that and try jQuery.
rip cinnamon gum ever beating vim ever again 2016-2016
@quartata More like RIP V ever beating vim again.
He's already tied me twice, WTF?
13:18
@Mego Which latest code? The 50-ish bits versions?
Language idea; Compressed V
@Mego Yeesh. I thought Optimizer was the drama llama. If only because they're an actual llama :P
If you start with a competitive language, and then add a bunch of mappings and extended ASCII to make it more competitive (which is a little bit cheap) and then compress it? That seems really lame to me
13:20
ths is all dj's fault I'm sure. posting so many vim answers downwind of vimgolf
Plus, I'm not sure how compressible it is
I doubt it could be compressed very easily
@quartata Actually, it's directly my fault. I shared my quine on r/vim where he kicked my butt
> If you start with a competitive language, and then ...
ಠ_ಠ vim is always competitive
13:23
@TheveryevilROFLcopter That... wasn't my point.
s/a competitive/any/
^ this guy gets it :P
:O I just made it onto the first page of users sorted by all-time rep! \o/
13:25
And it's not gonna last very long cause I owe this maniac a 250-point bounty
The golfer llama is here
0
A: Golf you a quine for great good!

udioicaVim, 11 bytes q"iq"qP<Esc>hqP iq"qP<Esc>: Manually insert a duplicate of the text that has to be outside the recording. q" and hqP: Record the inside directly into the unnamed "" register, so it can be pasted in the middle. The h is the only repositioning required; if you put it inside the mac...

@DJMcMayhem
"golfer llama" i'm keeping that
@DJMcMayhem You seeing this @Maltysen? He knocked you out.
@ConorO'Brien WE KNOW.
13:26
@udioica we already have @Optimizer
why did this have to happen what am I supposed to do about CG now
@quartata Add more docs
Guess I need to find another niche to make a language for
@Geobits for now... like I said, I owe a bounty
13:29
@TheveryevilROFLcopter what part of the existing docs is confusing you
@DJMcMayhem Shh. I'm trying to start a friendly rivalry here :P
Ah. Carry on then! ;)
@quartata Here is a list of all modes: Coming soon
@Mego ...yeah, me too. Very pretentious.
and Sample programs: Coming soon
13:30
meh
Anonymous
@Sherlock9 The 54 byte version
@udioica Welcome to the site! I used to consider myself one of the top vim-golfers around here, but I can't even begin to compete with your most recent answers. Looks like I'm gonna have to step up my game!
Oh, and your code is more confusing than Straw's code lol
@DJMcMayhem i've been top on vimgolf.com for years, and i have 1000s of hours practice. could be tough :D
Anonymous
@quartata I kinda regret making you a new avatar. It's spoopy.
13:33
@Mego bwahahahawoof
6
Well, there's not a lot of vimmers around here, so the competition will be good for me
2
Anonymous
@DJMcMayhem That's because most people pick real languages </s>
The only vim keystrokes I know are h, j, k, l and i lol
I don't think that ping will work by the way
Anonymous
I would love Atom golf but that other tag would make it confusing :P
13:34
@TheveryevilROFLcopter ...how do you even use it then
CMC: Answer a challenge in Notepad
Atom golf? Wtf, please tell me you're joking
@Mego Interesting. That may not be the faster of the 54 and 58. Not sure how fast your algorithm for -, when removing items of [a] from [b] is, but I have a feeling that the other one (just pop and list) is faster
Notepad has been done
13:35
hard to say without actual expertise, but i wonder how high the quality of answers in other languages is, or how easy it is to tell if you've got a perfect score
When your code is totally unreadeable and under 1 byte
Oh. The ping worked. Hello
Anonymous
@udioica The older an answer is on this site, the more likely it is that it's optimal. Lots of eyes and lots of suggestions :P
9
A: Print a 10 by 10 grid of asterisks

Micah DombrowskiNotepad, 34 31 keystrokes ********** ^A^C↓^V^A^C↓^V^V^V^V ^ denotes Ctrl-<following character> keypress, ↑↓ are up and down keys, respectively. Props to Crypto for 3 saved keystrokes.

Anonymous
There are a handful of answers in Actually (the language I created) that I'm sure are optimal
13:36
@DJMcMayhem Wow
@Mego you'd think that would apply on vimgolf.com too, but when i joined, i beat MANY years-old answers
Anonymous
How much traffic does vimgolf get, out of curiosity?
Because here, you can comment on the post and the author can golf it
if it was over 25 strokes, it was almost 100% defective
@udioica Hey, I made this question a while ago. If you have anything useful, we'd love to hear it.
21
Q: Tips for golfing in vim

DJMcMayhemI've recently realized how vim works great for golfing, especially for kolmogorov-complexity. Also, according to meta vim is a perfectly acceptable 'programming language' at least, for the scope of this site, that is. What general tips do you have for golfing in Vim? I'm looking for ideas which ...

13:38
xnor and xsot are some of the best Python golfers on anarchy (which is much more competitive) as well as here, Ton is the best Perl golfer anyone knows period and Dennis is... the ruler of his island of strange languages
vimgolf.com has kind of a split community. there are tons of people who do a challenge or 2, but at any one time maybe a couple dozen active users who do a lot of them
I'd like to think we have optimal answers
@udioica There are quite a few questions where a perfect score is nigh impossible. Many of the ASCII art challenges, for example
@DJMcMayhem i wouldn't know where to start... #1 thing is probably the workflow instead of any tactic (i've blogged about it before)
13:40
All comes down to Kolmogorov complexity I suppose ;)
I pretty much only golf in C/Python/Pyth
Anonymous
Like I'm certain that this answer is optimal
Python, Ruby, and a lot of Actually lately
I used to be good in Pyth, but I've not kept up to date on the latest features
Anonymous
And on this answer, the non-competing 5-byte version is optimal
13:40
I'd say I'm among the best for the first two, though :P
@Sherlock9 if it's a really complicated pattern and takes 100+ strokes, yeah, might never be perfect
@udioica link to your blog?
@orlp Your C answers are great <3
@DJMcMayhem On his profile
@DJMcMayhem i'm talking about this post udioica.blogspot.com/2014/08/vimgolf-workflow.html
haven't done a new post in a while though. a few of those articles are obsolete... visual increment was a huge change
13:45
Question: How to enter keyboard keystrokes programatically in Windows?
@Mego Some of Martin's Hexagony answers are provably optimal (i.e., he exhaustively brute-force searched for smaller programs and came up negative). I'm pretty sure he's not the only person to have done similar.
@TheveryevilROFLcopter autohotkey
@udioica I have a particularly difficult challenge for you to try: codegolf.stackexchange.com/questions/95100/…
@TimmyD even on 10-stroke challenges an exhaustive search is prohibitive :P
13:47
Not sure how well Vim does with division, but the ASCII part of that challenge is proving to be a nightmare. And I helped write it :P
Anonymous
Really the only time exhaustive search is manageable on Actually is when it's <4 bytes
@udioica is Vim turing-complete?
@Sherlock9 Can you use unary for the IO
@orlp Yes
@orlp yes
if so, what is the smallest busy beaver in vim that's not computable?
Anonymous
Pretty sure there are BF interpreters written in vim
@Sherlock9 doesn't look too good to vimgolf. and most of the good vimgolf challenges would suck in another language :P
13:49
@quartata Go right ahead. The result should be in decimal, though
@Mego Well that and the actual Turing machine someone wrote a long time ago
@udioica Fair enough :D How about this one? codegolf.stackexchange.com/questions/91761/…
Anonymous
@udioica @DJMcMayhem There's no vim answer on interpret brainfuck. Challenge issued.
we can do surprising things with numbers sometimes in vim, but when you're forced into the expression register, it's usually no fun
0
A: Sandbox for Proposed Challenges

ArnauldThe 3x3 Hexa Prime Square Puzzle Introduction We consider 3x3 squares of hexadecimal digits (from 0 to F): 2 E 3 8 1 5 D D 5 We define a 3x3 Hexa Prime Square (HPS3) as such a square for which all hexadecimal numbers read from left to right and from top to bottom are odd primes (i.e. primes ...

@udioica This one too codegolf.stackexchange.com/questions/91408/… I think Vim would be good at sorting here
@Sherlock9 i'd have to read that a bunch more just to figure out what i'm doing :P
Someone know a x86 emulator that is not qemu, bochs or VBox
@udioica Do you have to use the command line to submit something to vim-golf?
Nothing free. What's wrong with VBox or QEMU?
13:57
@DJMcMayhem we use a cli ruby program that wraps around vim
@quartata qemu don't work on Windows and the ethernet driver of VBox is borked
Dammit. gem install vimgolf doesn't work for me.
@TheveryevilROFLcopter WorksOnMyMachine™
make sure you set up the networking tab to do bridged
99% sure it's probably some form of related config issue
Now launching the VM...
don't suppose there's any precedent for an ex answer :D working on the quine thing a few days ago, did that in 14. but if you have to use : from vim it grows a bit (and the eof newline definitions get even hairier)
Good, dhcpcd can connect to the modem
But the internet connection is still borked
@TheveryevilROFLcopter That's probably something wrong on the guest VM
Also you didn't say you were using a modem
Sorry, s/VM/OS/
14:02
Or a router I have no idea how it's called
@EᴀsᴛᴇʀʟʏIʀᴋ Don't go leaving your pubic public DNA everywhere, then.
But for some reason I can't access the outer internet
@DJMcMayhem try replacing gem with npm
ಠ_ಠ
Pass
I will try to install Arch on the VM first and solve the internet problem after
14:13
@DJMcMayhem ;_;
y u haet npm
fdisk/parted is weird
The best part of a Java programming class is waiting for the teacher to slip up and write pubic static void main
That happened at least once in college for me.
@mbomb007 meta.codegolf.stackexchange.com/questions/10225/… - That would be the 4th comment, and answering you there would be talking about talking about something offtopic
Anonymous
Was your class taught by a Dr. Freud?
14:24
Mar 10 at 21:34, by TimmyD
My favorite CS teacher quote, from a 200-level class I was in ...
Mar 10 at 21:34, by TimmyD
> How can access be denied? I'm god!
@mbomb007 there are 24 characters there, and your teacher missed that particular letter? Amazing.
@mbomb007 ಠ_ಠ
@betseg Two theories to that: 1) After writing it hundreds of times, it's bound to happen sooner or later, or 2) I'd totally do that on purpose and claim it was an accident
wat
SliTaz don't allow me to enter the control pannel thingy
It don't accept my credentials lol
Anonymous
14:30
Cmon people, do we really want that starred?
I don't
Anonymous
>_>
One day I have seen an image licensed under 'Pubic domain' lol
@Mego sorry, fixed
@TheveryevilROFLcopter O_O
the image must of been for scientific porpoises :P
:O I found how to fix internet in VBox (I think)
> Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter'
No
Now I think it's ok
No ;_;
14:40
@mbomb007 Read this as "public static..." and thought you were taking a stab at Java. Missed the typo completely.
hello everyone
@Poke You know you've read too much Java when ...
@seshoumara Hey :D
I've noticed that the reputation shown here in the chat for some people, doesn't match either the reputation for PPCG or the total reputation across all SE sites. What's up with that?
It match the total reputation on sites where you ave more than 200 rep
14:45
I see. Ok, thanks.
@udioica Hey, this is a great challenge for vim. I've got a pretty good answer that I've spent hours looking over, and can't take anything else off. Think you can get it below 44?
26
A: Expand a C array

DJMcMayhemVim, 54, 52, 49 47 keystrokes 2wa0<esc>qqYp<c-a>6ldf @qq@q$dT]dd:%norm dwf{xwC;<CR>gg"0P Explanation: 2wa0<esc> 'Move 2 words forward, and insert a 0. qq 'Start recording in register Q Yp 'Duplicate the line ...

0
A: Sandbox for Proposed Challenges

jacksonecacA simple but fun code golf challenge! Given positive integer n create a 2 dimensional matrix where each location is filled with it's xy index (starting from the top left). For example: Your grid should look like: input: 2 00 10 01 11 input: 3 00 10 20 01 11 21 02 12 22 Once the grid is ...

@DJMcMayhem that's practically vimgolf.com style. i could do that. (only difference is you've gotta increment the array size dynamically, but that's not so bad)
i've got working on codegolf.stackexchange.com/questions/95549/lets-do-the-wave right now though, which is turning out pretty interesting
Yeah, but <C-a> should help take care of the dynamic array size
14:51
yep. it's just in vimgolf.com the input/output are hardcoded, so you wouldn't have to :P
BTW, What is the decrement command in vim?
thx
:/ vim support incrementing hexadecimal numbers but not binary
Look at nrformats
@DJMcMayhem I've recently started to learn Brain-Flak, but I need to use debugs and these are not supported by TIO. Have you talked with Dennis about that?
14:54
You can't pass flags as arguments?
@seshoumara Debug is supported on tio. Did you add the -d flag and check "debug"?
this is my setup, if anyone can fix it brain-flak.tryitonline.net/…
@TheveryevilROFLcopter binary option was added to nrformats in the later 7.4 patches
@seshoumara -a and -d in separate arguments maybe?
Anonymous
^ that's also wrong
@Mego I get Error at character 0: Unclosed '(' character.
Anonymous
@seshoumara I was just fixing the flags :P I don't know enough brain-flak to fix the code
@seshoumara a and d should go in separate args, like mego said, but we recently switched the debug flags to @ instead of #. Try this: brain-flak.tryitonline.net/…
# is for comments now, which is why the first ( was unmatched
Anonymous
14:59
@DJMcMayhem -ad also works :P
@TheveryevilROFLcopter got the same error Error at character 0: Unclosed '(' character.
@Mego Yes, good point. Golfier too
Anonymous
Sane CLI argument parsers like argparse and optparse allow combining multiple short arguments together
Bflack uses argparse
Anonymous
15:00
As it should :)
Anonymous
argparse is pretty great
Anonymous
Very powerful and easy to use
I don't use argument parsers
Anonymous
Speaking of, I have a new flag I need to add to Actually
Ooh, do tell :D
Anonymous
15:03
I'm just adding a flag which makes it not read input at all, to make it easier to test simple programs
Anonymous
So you don't have to pipe in /dev/null all the time
\o/ for simplicity
@DJMcMayhem thanks for the link and explanation. Maybe you should suggest an edit to update this answer:
2
A: Tips for Golfing in Brain-Flak

Wheat WizardUse Debug flags You might not know it because we haven't written it anywhere but Brain-Flak has debug flags and they are really useful. They can be placed anywhere in the code and will run when the command line flag -d is present. Here is a quick rundown of the debug flags. Most flags come in...

Or you could just hit Control D
So, on a whim, I was learning about the SMILES notation for chemical structures en.wikipedia.org/wiki/…
15:06
@seshoumara Yeah, that's a good idea. I can't do it right now though
Anonymous
$ echo 1 | ./srs -Nc 2
2
Anonymous
\o/
Turning a given chemical into a SMILES string runs a depth-first search of the chemical with special notation for branches, multiple bonds, rings, chirality and so on.
Anonymous
That could actually come in handy for some challenges
Do we have a challenge about simplifying fractions?
15:10
It makes me wonder if one can't think of an interesting chemical-like language based off SMILES notation. I could actually call it Oxide :D
Here's a shameless promotion of my table lookup implementation in sed. Could be adapted for a lot of use cases:
0
A: The Woz Monitor

seshoumaraGNU sed, 209 + 1(r flag) = 210 bytes This is my first table lookup implementation in sed. It's not destructive, since a copy of the data is stored in the hold space that could be used at a later time, not needed for this challenge. 1{h s:.*:,00 FF,01 F4,02 B6,03 D7,04 40,05 00,06 00,07 A4,08 F0...

Anonymous
@seshoumara Or, ya know, you could feel some shame
I kinda wanna create a language. But, PowerShell is the only language I know well enough that I feel I could use to write an interpreter. And no sane person should want to write an interpreter in PowerShell.
@Mego I post sth maybe two times a month with new stuff one can do in sed. I don't think it's not fair.
15:19
@TimmyD implying you're sane...?
Shh
I mean, I do golf in PowerShell ... so, my sanity is already in question.
But, no need to question it more.
@TimmyD Anyone could write a language in Python :P
@TimmyD then learn a new language, like Python :)
Learn a language to create a language ... hmm ...
I think a good chunk of the golfing languages are made in it
Anonymous
15:22
Python is a great language - everyone should learn it
Anonymous
It has lots of great features, like not being written over the course of two weeks to meet a deadline
Which "important" languages were written over the course of two weeks to meet a deadline?
Anonymous
@TimmyD if the respective language is simple enough to implement, you could create the spec and post the interpreter as a challenge. I've seen some questions like this.
@Mego Good lord. 10 days
15:27
@seshoumara No, this would be too big for that -- I'm aiming along the lines of 05AB1E, Jelly, Actually, Hexagony, etc. A full-featured golfing/esoteric language.
Anonymous
> Actually ... full-featured
Anonymous
Aww how cute, he thinks Actually is full-featured
Anonymous
Actually is the swiss cheese of golfing languages
Ah that reminds me. What's the difference between Actually's reduce and cumulative reduce?
full-featured = no plans for improvement
7
15:29
Gah. Y'all twist words like a politician.
Brb creating a golf language in Powershell
Anonymous
@Sherlock9 Which characters are those again? R and what?
(I don't even know how to Hello world in PS btw)
I'm meaning "whatever is the opposite of a language like HQ9+"
@Mego I'm not sure Actually has cumulative reduce. I saw cumulative reduce in a Jelly answer
15:30
As in, a language you can actually do stuff in and answer questions here.
Question: What is the standard file extension for Powershell
.ps1
@Sherlock9 To be fair, it says he wrote a prototype in ten days. The language wasn't shipped until months later. Then again, I'm not sure anyone associated with JS knows what "prototype" really means.
How to know the PS version?
Wait found
15:32
7
A: The versatile integer printer

TimmyD7 Languages, 55 / 7^3 ≈ 0.16035 Runs in PowerShell v1, v2, v3, v4, and v5, Foo, and Pyth #7.q"6"" $p=$PSVersionTable;($p.PSVersion.Major,1)[!$p] Digits 1-5 use similar logic to sweerpotato's answer. The $PSVersionTable special variable was introduced in PowerShell v2, and contains a full buil...

Anonymous
@Sherlock9 I think cumulative reduce is like reduce but it keeps partial results. Like cumulative sum versus sum.
Fair enough
functools.reduce(operator.mul,[1,2,3,4]) seems to have a different effect from [1,2,3,4]`*`R though
One returns 24, and the other returns [1,2,12]
Anonymous
Yeah R isn't true reduce - it creates a new stack frame using the list contents as the stack contents and calls the function
That seems like a bizarre way to implement reduce. What was your reasoning?
Anonymous
¯\_(ツ)_/¯
Anonymous
15:39
I'll make it a real reduce one day
Does * do something else to lists? Could you not just make an override that sees if the top of the stack is a list of numbers and reduce it automatically?
@TheveryevilROFLcopter That's the other reason I'm hesitant to start creating a programming language.
@Mego There may be some particular uses for R as implemented. Perhaps it should be migrated and R becomes true reduce. Or just put true reduce elsewhere and leave R alone?
15:41
CMC: Guess which language is this: Even if you are an x86 hacker, you will not understand this language at first, and the non-standard specification of this language is more common than the standard.
What is the difference between Write-Output and Write-Host?
@TheveryevilROFLcopter If you use Write-Host, angry PowerShell admins will come to your house in the night and beat you with keyboards.
3
Anonymous
@Shebang * does a lot of things. int int * is regular multiplication. str int * and int str * are string multiplication. list int *, list str *, int list *, and str list * are vectorized versions of the above. list list * is dot product.
@TimmyD Fair enough
Anonymous
@Sherlock9 I'll probably do the second
15:42
@Mego Ah, fair enough :)
@TheveryevilROFLcopter For srs, the main difference is that Write-Host doesn't respect redirects, pipelining, etc., and so reduces the functionality of whatever program you're writing.
Ok
@Microsoft ಠ_ಠ
@TheveryevilROFLcopter Yeah, you'll be doing that a lot.
Halp where is the PowerShell doc
Wait I think I found
@TheveryevilROFLcopter ^.^
15:47
@betseg Yep. i and l look similar, so it's probably the easiest one to miss.
@Shebang It's the PowerShell API doc
@TimmyD At least in Python when you do something not Pythonic angry pythons don't come to your house in the night and strangle you
the language reference is on technet visibly
@Microsoft plz stahp making simple things complicated
@Poke My point exactly. :D
You'll also need to look up the .NET references if you start using libraries or .NET name spaces, since PowerShell is built on .NET
15:48
@quartata Then you get the SO Python gurus who take Pythonic solutions over readability
Which could arguably be worse
@Theraot Big whoop. It applied to the answer, and we can delete the comments later.
Commenting on such things in TNB would make it harder to follow the conversation than using comments.
Anonymous
@Shebang What do you mean? map(print,range(5)) is perfectly readable!
@Mego My eye literally twitched when I read that
@Shebang I'm that one asshole who writes Python that looks like terrible C except that every function is a generator
@quartata Really? I never got that impression. Nearly every python question/answer set I see on SO/CR uses the word "pythonic" somewhere.
@Mego It's readable. I agree. Looks amazing and flawless.
Anonymous
15:50
(disregard that map is lazily evaluated in Python 3 so that won't actually print anything)
So I'm the worst of both worlds
Anonymous
@quartata You and I are two of a kind
I don't really know what my Python looks like. :P
@El'endiaStarman Big mess
15:51
I may be hypocritical about that a bit cause any day I would write "string"[::-1] over ''.join(reversed("string"))
Although even the more readable solution is ugly..
o¯o
I can't find a list of powershell's cmdlets
@Shebang reversed is a generator therefore it is objectively superior
ಠ_ಠ After a long browsing in MSDN I found a getting started tutorial but the page is deleted
@Microsoft ಠ_____________________________________________________________________________________________________________________________________________________________________________ಠ
PowerShell is self-discoverable.
@mbomb007 aw :[
Rod
Rod
15:58
@TheveryevilROFLcopter archive.org/web
Wait
Read-Host exists but not a Read-Input thing?
0
Q: Find a day which is a working day in 3 years

Bhaskara AraniFind a day which is always a working day in a period of 3 years

@NewMainPosts no
Literally every close vote reason works xD

« first day (2082 days earlier)      last day (3056 days later) »