« first day (1477 days earlier)      last day (3374 days later) » 

12:37 AM
done with writing documentation for the first Retina version:
@Sp3000 you might be interested ^
 
12:52 AM
Yay an excuse to solve everything in regex now
 
more like the legitimation to solve anything in regex (for PPCG anyway) ;)
I'll add my remaining feature ideas as issues, but let me know if you have any :)
 
Is there any debugging or is that coming later?
 
regular expressions' triumph is now all-encompassing?
 
@Sp3000 not yet, although I'm not sure how I'd add that. it's not like I've re-implemented the regex flavour
 
just use standard regex debbuging website ;p
 
1:04 AM
oh, you know what would be amazing? an overlapping-matches mode.
although I can also get that if I add support to print capturing groups instead of matches
 
reg exp triumph is nearly apocalyptic
 
Oh, yes please
Also an atoi for -?\d+ -> empty strings, although I'm not sure if that's cheating?
 
nah, I think that's cheating ;)
 
reg exps translating iteratively nullify archrivals
 
only now did I realise that you've been brainstorming acronyms again...
 
1:09 AM
reg ex tool initiates nuclear apocalypse
 
regular expressions! this is nice acronym
@MartinBüttner Retina seems to be working under Mono, but I have no idea how to test it. I'm supposed to provide two .rgx files or something, right?
 
Java Regular Expressions aren't as near as powerful as the other flavors. I wish they were. :(
 
there's no option to supply the regex on cmd line/?
 
@Doorknob you can provide the .rgx and the .rpl file (in that order) from the Examples folder and then give it baa|a>ccbaH,b>cca,c>cc on STDIN.
@feersum not yet
I'll probably add something like -e
@TheBestOne there is one good thing about the Java flavour: it comes closest to arbitrary-length lookbehind (after .NET) ... but for all I know that's a bug and not a feature :D
 
@MartinBüttner Output: Hcccccca
Is that right?
 
1:18 AM
yep
 
hooray!
(one thing, though: the generated file is called Modes.exe. pretty sure that's not what it's supposed to be called)
 
@MartinBüttner Through capture groups?
 
Anyway, to compile with Mono, mcs Retina/Retina/*.cs
 
@TheBestOne no, you can do (?<=.*) as long as it goes all the way to the beginning of the string
@Doorknob thank you
okay, done adding feature requests
thanks for the feedback
I'm off to bed... now to wait for the next challenge that can be reasonably answered in regex ;)
 
@SamWeston How much is a missile allowed to turn?
 
 
1 hour later…
2:47 AM
I haven't really been able to update the Morra leaderboard very often. I am rather busy this weekend. By "rather busy" I mean no access to a computer from 6:30 AM to 9:30 PM.
 
 
2 hours later…
4:20 AM
@SamWeston It would probably be better to accept a list of coordinates for their missiles to.
 
 
11 hours later…
3:16 PM
Knock Knock
 
Who's there?
 
A little old lady
 
 
1 hour later…
4:29 PM
@SamWeston What should happen if a missile collides with the boundries?
 
Regular Expression Tools Inspire No Acronyms
 
Regular Expressions: This Is Not an Acronym
 
I like them both :D
 
4:54 PM
Reading entirely this initialism's not advised
 
When was Sam last here?
 
@TheBestOne This Sam?
 
I don't know if Sam ever visited this room. If he did not, you should invite him here, otherwise he will never see your pings.
 
yes, he's been in this room
 
5:00 PM
k
 
Ok, thanks. He must be busy right now.
@SamWeston Here's the controller: github.com/TheBetterOne/Missile-Wars Ping me if there is anything wrong.
Anyone want to review it?
Does anyone know how to make an animated GIF of a changing char[][] in Java?
 
5:39 PM
save frames to netpbm format, convert with imagemagick
@TheBestOne
or do you want to see the actual characters? I think it might be able to convert text to image too
 
Yah, that's what I was thinking.
 
yes, imagemagick can do that
just write some text files and convert
 
What commands?
 
"convert *.txt foo.gif" already works, you can tweak it with more parameters
 
Thank you! That should be all I need.
 
5:53 PM
imagemagick, the golfing tool for images :p
 
6:18 PM
@aditsu How to use mono spaced font?
 
try "-font fontname", and check imagemagick.org/Usage/text for more
 
6:40 PM
Any thoughts on a special Valentine's day PCG challenge? something like drawing a heart of a specific size?
 
@NateKerkhofs Already been tried (sort of): codegolf.stackexchange.com/q/45659/32700
 
7:08 PM
@TheBestOne I understand that the problem with that was that it didn't have a clear winning criteria. I was considering a 20x20 heart made from asterisks and code golf
 
 
1 hour later…
8:29 PM
0
A: Sandbox for Proposed Challenges

randomraWeighting primes code-golfnumbersprimes The weight of a number is the sum of its digits plus the number of its digits in the base 10 representation of the number. E.g. weight(139) = (1 + 3 + 9) + 3. (This is a made-up definition by me.) You should write a program or function which when provide...

 
9:07 PM
@aditsu fz not supported still ?
 
9:24 PM
z is unary
 
ah well, so that is another feature request :D
make z work for 2 arrays on the stack
 
also, your code seems to crash on some examples
 
so LM]z converts to LMz
 
if I make z work with 2 arrays, then you won't be able to transpose a 3*3 matrix
 
true
 
9:28 PM
I predict that someone is going to beat us severely in J or APL
 
Pyth will be the first
fixed mine , 1 byte shorter
 
* golfing * :p
 
you dont seem to check all possible combinations that sum to S, what is your algorithm ?
 
9:46 PM
it's greedy, I start with all zeros, and increment the most "needed" element
S times
 
any proof that it will always work ?
 
I haven't tried to prove it rigorously, but I think it's correct :D
I can save 1 more byte if I take the input like you do
 
he has not given any order
feel free to assume
 
It is correct
 
if there was a good m*, like as Pyth # , this would have been the solution - q~:Sf*:L,S),e*{1bS=},{L]z::-Yf#:+}$0=p
 
9:57 PM
I used the order from the statement and examples, I don't want to ass-u-me :p
what do you mean good m*?
 
nobody wants to ass you and me
@aditsu See Pyth's #
 
where?
 
Array combination_length e*
to get all combinations from the Array of size combination_length
 
What are you assuming?
 
what does that have to do with m* ?
@glebm whether the input can be taken in a different order
 
10:03 PM
@aditsu m* gives cartesian products, its like Array 2 e*
 
You can use any input format at all, or just provide a function that accepts the input as arguments.
 
@Optimizer m* can be used on 2 different arrays; also if you do [a b] 2 e* do you get all 4 combinations?
 
@aditsu you might as well extend m* to do the same thing
 
it's not an extension, it's a different operator
 
@aditsu yes and yes
@aditsu its almost like + for append and sum
 
10:05 PM
um.. I had only one question, you give me 2 yeses?
 
@aditsu Array Array m* gives cartesian product, Array number m* gives what I am asking
 
@glebm ah you're the author :) ok I can change it
 
@aditsu before the ; part
 
hmm so you want to overload it like that... I see
 
@aditsu Any input format is OK
 
10:08 PM
@aditsu e* is free too, so it doesn't really matter. re-using seems better idea to me as the meaning is similar
 
is e* from Pyth or a thought-up CJam operator?
 
thought up
# from Pyth
 
ok
on 2nd thought.. maybe the original order was better :p
 
10:26 PM
I have another idea, wonder if it will be shorter
 
10:37 PM
hmm, simpler idea, longer code
 
11:34 PM
is there an 'average computer' spec on the meta?
 
11:57 PM
I doubt it
 
hmm, probably has an amtel cpu with 2.37 cores, 3.79 GB ram and runs mandoux
 

« first day (1477 days earlier)      last day (3374 days later) »