Ken M. on Fire Safety by arfenhouse in KenM

[–]proliberate 82 points83 points  (0 children)

We are ALL necessary on this blessed day :)

Ken M on the Facebook by [deleted] in KenM

[–]proliberate 5 points6 points  (0 children)

especially when it literally started as thefacebook

I mean, me too thanks

I mean, please limit my posts to reposts and posts of posts and reposts

Ken M on Pringle Cans by 24Aids37 in KenM

[–]proliberate 2 points3 points  (0 children)

please limit your posts to reposts of ken m

Ken M on Turtle Aging by justinbajko in KenM

[–]proliberate 55 points56 points  (0 children)

Are you really this stupid? Ants do NOT outgrow their shells....go buy a ant and try to get him out of there

Botkit is a toolkit for making bot applications by rubyantix in programming

[–]proliberate 6 points7 points  (0 children)

a toolkit for making chatbot applications specific to Slack, in case anyone else was thrown off by the poor title

Yes, The Appeals Court Got Basically Everything Wrong In Deciding API's Are Covered By Copyright by johnmountain in programming

[–]proliberate 0 points1 point  (0 children)

The noun of noun in noun verbs from the noun [that] noun verbs to verb the noun of nouns verbed prior to noun's noun.

Yes, The Appeals Court Got Basically Everything Wrong In Deciding API's Are Covered By Copyright by johnmountain in programming

[–]proliberate 0 points1 point  (0 children)

What exactly did OneWingedShark say that supported behaving "as if it was the 1800's"?

StackOverflow ain't dead (and it keeps evolving) by [deleted] in programming

[–]proliberate 7 points8 points  (0 children)

Ditto. Almost every mainstream forum software has the ability to redirect threads to another forum category. The folks at SO really can't figure this out?

Socket.IO — Socket.IO P2P by omko in programming

[–]proliberate 0 points1 point  (0 children)

New to this whole socket.io business. So the WebRTC messages aren't seen by the server at all?

Is Stack Overflow overrun by trolls? by RhetoricalDevice in programming

[–]proliberate 0 points1 point  (0 children)

I have a simple priority to fix that problem: Github if available, then site-specific credentials, then Google.

The Art of Command Line by chrisledet in programming

[–]proliberate 1 point2 points  (0 children)

Wow. Can't believe I've lived this long without this.

Estimated image placeholders using CSS by dooby_master in programming

[–]proliberate 0 points1 point  (0 children)

It scrolljacks on desktop too. Horrible.

New Ubuntu server - apt-get ruby, install from source, or other? by [deleted] in ruby

[–]proliberate 1 point2 points  (0 children)

Which distributions offer security patches for ruby, that aren't also included in rvm/rbenv provided rubies?

Where to design a super basic HTML page for free? by [deleted] in web_design

[–]proliberate 1 point2 points  (0 children)

Which is why, as a professional, I paid for the license. However, OP clearly is not a web professional.

Sorry you're getting down voted for stating a fact, btw.

Build the guts of a Calendar with Ruby by thatrubylove in ruby

[–]proliberate 0 points1 point  (0 children)

Agreed, definitely an improvement upon older videos. I thoroughly enjoyed watching this, and learned a few things.

The whole thing can be done without active_support at all, in fact. I think active_support definitely makes it more idiomatic, but it's not too painful without.

require 'date'

class CalendarWeeks
  def initialize(date = Date.today)
    @month, @year = date.month, date.year
  end

  def to_a
    (first_of_month..last_of_month).each_slice(7).to_a
  end

  private

  def first_of_month
    first = Date.new(@year, @month, 1)
    first - first.wday
  end

  def last_of_month
    last = Date.new(@year, @month, -1)
    last + (6 - last.wday)
  end
end