« first day (3064 days earlier)      last day (1762 days later) » 

12:37 AM
0
Q: Find the diameter of a word graph

jnfntIntroduction A popular word puzzle is to convert one word into another via a series of steps which replace only one letter and which always result in a valid word. For example, BAG can be converted to DOG via a path of five steps: BAG -> BAT -> CAT -> COT -> COG -> DOG Shorter paths also exist...

 
 
2 hours later…
2:39 AM
0
A: Sandbox for Proposed Challenges

WallyWestDigit Sum of Sum of Digit Sums Input: An integer from 1 to 1000 (known as N) Expected behavior: The code will go through the first N integers, and work out the digit sum for each integer, the code will then take these digit sums and add these together. The code will then take this total and work...

 
 
4 hours later…
6:45 AM
0
A: Sandbox for Proposed Challenges

User AText editor In this code golf problem, the programmer should make a text editor written in as few bytes of source code as possible. (Either a line editor or a visual editor is okay; it can be non-interactive.) One should implement at least: Reading content from a file Inserting text Deleting t...

 
 
6 hours later…
12:24 PM
0
Q: Is my Rep in Stack-Exchange Form?

VeskahPremise: Your reputation is in Stack-Exchange Form if it can be represented by decomposing your medal counts (gold, silver, and bronze counted separately) into their base-10 digits and joining them in any given order, with a few caveats. While decomposing, each Gold medal digit is worth thr...

 
Hmm, when sandboxing, how long do you usually leave the sandbox post up before purging it after migrating it? Or do you just let it linger?
 
@Veskah Within seconds of posting, I edit out everything except the title, which I make into a link to the main post. Then I delete.
2
 
 
1 hour later…
1:45 PM
0
Q: Fastest way to iterate over sublattice of discrete lattice

user3646557I need to construct a functor that iterates over the linear representation of a sublattice of size dx,dy,dz,dq embedded in a lattice of size nx,ny,nz,nq. The sublattice corner is shifted by (lx,ly,lz,lq). Since the functor can be called million of times, the goal is to produce the most efficient...

 
 
2 hours later…
3:26 PM
0
Q: Inverse-quotes-quine

Geza KerecsenyiThe prospect of this challenge is: If your program is run normally, all of the code in the speech marks (" - double quotes) should be printed. If your program is wrapped in double quotes (in turn inverting the speech marks), the code that is normally not in quotes should be printed. E.g: Let...

 
 
2 hours later…
5:17 PM
@primo Here is a cool perl6 pi. I thought I'd share partly in case you could shorten it, and partly in case you were not familiar with the technique I use
 
 
5 hours later…
10:16 PM
@DJMcMayhem MATL, 10 bytes: Y'0y&X>(Y"
I think the third test case is missing a 6 in the output
 
lol I just noticed
probably the result of removing all 6s instead of putting the right function to work :P
 

« first day (3064 days earlier)      last day (1762 days later) »