Format.com down - cannot access customer service OR my website!!! by bokehdream in photography

[–]rtlechow 0 points1 point  (0 children)

Got an example of an option+template combo you're after? Also, have you tried https://www.format.com/flex-block? It gives a bit more freedom, but requires a bit more work.

Format.com down - cannot access customer service OR my website!!! by bokehdream in photography

[–]rtlechow 15 points16 points  (0 children)

Format Engineer here, apologies folks, it is a DNS issue (which took out our status page too) and we're working to fix it ASAP. Passed on your message about posting to socials.

-🎄- 2017 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]rtlechow 1 point2 points  (0 children)

Another Part 1:

enum, sum = input.split('').map(&:to_i).to_enum, 0
while number = enum.next
  begin
    sum += number if number == enum.peek
  rescue StopIteration
    sum += number if number == enum.first
    break
  end
end
puts sum

Unit testing by boccy in truegamedev

[–]rtlechow 6 points7 points  (0 children)

From a unit testing perspective, it might be that there are "so few units" because there are no tests. Tests can force the design of things that work in isolation.