The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Oct 17, 2016 15:13
   @mbomb007 that's because it *is* funny
Oct 17, 2016 11:41
6 letter edit rule wtf
Oct 17, 2016 10:01
not me
Oct 14, 2016 09:00
should i submit ls?
Oct 14, 2016 06:31
not that bored
Oct 14, 2016 06:30
me too
Oct 13, 2016 13:34
there's only 1 vimgolf.com challenge where hardware limitations become a problem, and i made it (my mistake). fastest way to sort by the sum of a list of numbers was to indent the line sum times. millions and millions of tabs
Oct 13, 2016 13:27
makes sense
Oct 13, 2016 13:26
probably been discussed here before, but i actually have a solution on this that's 2 strokes shorter, but the memory/cpu involved make it impossible to run, though there's no reason the result would be wrong if you could. i can mention it in the write-up, but what would my "listed" byte count be?
Oct 13, 2016 13:21
yeah, conversely, i design a lot of vimgolf challenges, and they're tuned just for vim. few of them would work here
Oct 13, 2016 13:19
but editing million-line files can be an issue...
Oct 13, 2016 13:18
and i could easily have just proof-of-concepted on 10,000 and called it good, though i wanted to check if it could run in human-reasonable time
Oct 13, 2016 13:17
and the spirit of my "criticism" is more like "lol, that was something". it actually turned out interesting, because the large number forced me to invent a new tactic to avoid typing all the digits
Oct 13, 2016 13:14
many years ago i typed dvorak, never remapped anything. now i qwerty again though
Oct 13, 2016 13:13
@Sherlock9 some people do musical chairs remapping, but just using the original bindings really isn't a big problem
Oct 13, 2016 13:08
yeah, vimrc rules would be hard to set and enforce on this site
Oct 13, 2016 13:03
dropping a digit or 2 would make zero implementation change in almost every language
Oct 13, 2016 13:02
i just got done testing a vim macro to isolate all primes under 1,000,000. took 10-15 minutes. and this is the fast implementation. though the last digit did force an interesting trick i guess...
Oct 13, 2016 12:58
challenge designers around here use way too big numbers/inputs
Oct 13, 2016 07:03
that said, even sticking to ascii, if i could assume a line shorter than 1000 characters...
Oct 13, 2016 06:53
easy to beat if <s-tab> is one, but i want to keep my byte definition :(
Oct 12, 2016 15:17
cheap games
Oct 11, 2016 14:56
@TheveryevilROFLcopter binary option was added to nrformats in the later 7.4 patches
Oct 11, 2016 14:51
C-X
Oct 11, 2016 14:51
yep. it's just in vimgolf.com the input/output are hardcoded, so you wouldn't have to :P
Oct 11, 2016 14:49
i've got working on codegolf.stackexchange.com/questions/95549/lets-do-the-wave right now though, which is turning out pretty interesting
Oct 11, 2016 14:49
@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)
Oct 11, 2016 14:01
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)
Oct 11, 2016 13:57
@DJMcMayhem we use a cli ruby program that wraps around vim
Oct 11, 2016 13:53
@Sherlock9 i'd have to read that a bunch more just to figure out what i'm doing :P
Oct 11, 2016 13:50
we can do surprising things with numbers sometimes in vim, but when you're forced into the expression register, it's usually no fun
Oct 11, 2016 13:49
@Sherlock9 doesn't look too good to vimgolf. and most of the good vimgolf challenges would suck in another language :P
Oct 11, 2016 13:47
@TimmyD even on 10-stroke challenges an exhaustive search is prohibitive :P
Oct 11, 2016 13:42
haven't done a new post in a while though. a few of those articles are obsolete... visual increment was a huge change
Oct 11, 2016 13:41
@DJMcMayhem i'm talking about this post udioica.blogspot.com/2014/08/vimgolf-workflow.html
Oct 11, 2016 13:41
@Sherlock9 if it's a really complicated pattern and takes 100+ strokes, yeah, might never be perfect
Oct 11, 2016 13:40
@DJMcMayhem i wouldn't know where to start... #1 thing is probably the workflow instead of any tactic (i've blogged about it before)
Oct 11, 2016 13:38
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
Oct 11, 2016 13:37
if it was over 25 strokes, it was almost 100% defective
Oct 11, 2016 13:36
@Mego you'd think that would apply on vimgolf.com too, but when i joined, i beat MANY years-old answers
Oct 11, 2016 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
Oct 11, 2016 13:32
@DJMcMayhem i've been top on vimgolf.com for years, and i have 1000s of hours practice. could be tough :D
Oct 11, 2016 13:26
"golfer llama" i'm keeping that