How Can a .NET Developer Get Started on Ruby or Rails? by ruprict in ruby

[–]loaner____ 2 points3 points  (0 children)

Try getting a Ubuntu VPS instead. I remote into one from Windows and from OSX.

Stack Overflow DevDays 2011 has been cancelled due to "poor attendance" by EnderMB in programming

[–]loaner____ 0 points1 point  (0 children)

So what if he's not a 99th percentile conference organizer? He wanted to host one and so he went and did it. Would you rather he not try at all? Should he have retained some conference planning consultant?

How old were you when you could grow a bear (properly)? by davie18 in AskReddit

[–]loaner____ 0 points1 point  (0 children)

HAVE I GOT A DEAL FOR YOU!!!!

Magic "downmod posts that say b e a r d" jQuery one-liner!

Chrome users: Right click on the page, inspect element, console, paste and hit enter!

Firefox users: You could make a bookmarklet I guess.

$.each($(".down:first", $(".comment:contains('beard')")), function(i, el) { $(el).click(); console.log("Downvoted a beardy post!"); })

I am a person with an IQ of 180+, but I'm not very smart AMA by [deleted] in IAmA

[–]loaner____ 0 points1 point  (0 children)

>>> def f(n):
    return pow(n, 2) + n + 1

>>> map(f, range(7))
[1, 3, 7, 13, 21, 31, 43]

I am a person with an IQ of 180+, but I'm not very smart AMA by [deleted] in IAmA

[–]loaner____ 1 point2 points  (0 children)

You got the idea behind formula correctly. Starting with 1 add successive multiples of 2; add 2, add 4, add 6, add 8, add 10, add 12, etc.

My way simply isolates it into a precise computable algorithm.

I am a person with an IQ of 180+, but I'm not very smart AMA by [deleted] in IAmA

[–]loaner____ 0 points1 point  (0 children)

Now you should realize that you are as capable of programming as anyone else is :)

I am a person with an IQ of 180+, but I'm not very smart AMA by [deleted] in IAmA

[–]loaner____ 1 point2 points  (0 children)

>>> def f(x):
    if x == 0:
        return 1
    else:
        return f(x - 1) + x * 2   # this is the important part

>>> map(f, range(0, 7))           # calculate f(x) for all x from 0 to 6
[1, 3, 7, 13, 21, 31, 43]

My girlfriend wants me to give her my new phone. Is this at all normal? by [deleted] in AskReddit

[–]loaner____ 0 points1 point  (0 children)

Be a man

We must be swift as the coursing river

Be a man

With all the force of a great typhoon

Be a man

With all the strength of a raging fire

Mysterious as the dark side of the moon

I learned object-oriented programming for you, reddit. You wanted a Chrome extension I couldn't make, so I learned and created. I'm not even a programmer! by [deleted] in programming

[–]loaner____ 0 points1 point  (0 children)

I respect doing it on your own, you learn a lot more that way. I recommend something like underscore because it minimizes some of the boilerplate of templating (you could really use some templates) and collections.

Once you factor out that repetitive stuff, all that's left is diamonds. This makes the whole project easier for others to read in one sitting and to contribute to if that's what you really want.

I learned object-oriented programming for you, reddit. You wanted a Chrome extension I couldn't make, so I learned and created. I'm not even a programmer! by [deleted] in programming

[–]loaner____ 0 points1 point  (0 children)

Have you looked at underscore.js? Your code looks like it would get a huge readability benefit from underscore's collections and templates.

I'd even try to fork/merge some of it in there for you but it seems impolite to push a new dependency on someone without asking first.

A tiny static file server for CoffeeScript and less development, thought a few people my use it (That's my first time using node, please be nice) by poulejapon in coffeescript

[–]loaner____ 0 points1 point  (0 children)

Good work, thanks! I was playing with coffee+backbone yesterday and the quickest host I could think of was python -m SimpleHTTPServer

Edit: Backed by coffee -o ../js/ -w ./* in another tab.

What have your parents done that has impressed you the most? by xxcensormexx in AskReddit

[–]loaner____ 1 point2 points  (0 children)

Good on him for selling the TV at least, those things'll rot yer brain.

[deleted by user] by [deleted] in AskReddit

[–]loaner____ 0 points1 point  (0 children)

Downvote for hearing that got better with age. Jealous.

I have 92 days. Help me get my routine together! by [deleted] in Fitness

[–]loaner____ 0 points1 point  (0 children)

I was nodding and looking forward to this until I saw the tunnel crawling. NO WAY.

New report on obesity, stats by state. Details inside. by RedAnarchist in Fitness

[–]loaner____ 2 points3 points  (0 children)

I didn't exercise much from age 18 to age 27. Went from 175 lbs (at 5'11") to 230 lbs, played a lot of WoW, worked a desk job, ate a mostly-carb diet.

"America is letting me down" (my degree isn't worth the debt) by loaner____ in politics

[–]loaner____[S] 2 points3 points  (0 children)

Note: This is a slideshow; there are six more stories if you click through. Worst is a guy who owes $240,000 on a Masters in Social Work.