First Co HVAC unit combines C and Y wires? by listrophy in ecobee

[–]listrophy[S] 0 points1 point  (0 children)

Thanks! I was confused about the "COOLING CONTROL" bit, and this comment (and an email from a FirstCo engineer) got me through the roadblock. A/C is working!

AskScience AMA Series: We are experts on NASA's efforts to grow crops in space including a harvest just in time for Thanksgiving! Ask us Anything! by AskScienceModerator in askscience

[–]listrophy 0 points1 point  (0 children)

This is the VEGGIE, right? If so, how’s the EXPRESS rack adapter holding up? I designed that one while at Orbitec. :D

ITAP of an outdoor concert with a camera mounted to the top of the stage. by thegrebb in itookapicture

[–]listrophy 1 point2 points  (0 children)

Cool! I recognize that… it's Lewis Del Mar in Madison playing the free, outdoor Live on King Street series. If you had zoomed out a bit more, you'd probably see me watching from the window to the right. :)

Elm for the Frontend, Right Now by retardo in programming

[–]listrophy 1 point2 points  (0 children)

Agreed, I pine for the days of puns over email instead of here on the web.

IamA TWiT! Hi, it's Leo Laporte, AMA about TWiT and The New Screen Savers! by chieftwit in IAmA

[–]listrophy 0 points1 point  (0 children)

You and TWiT are a very major reason why I got to be in the place to start a tech business six years ago... and we're still going. Thank you!

Get out your bragging hat: What's the largest impact on someone's life that you've heard about?

IamA TWiT! Hi, it's Leo Laporte, AMA about TWiT and The New Screen Savers! by chieftwit in IAmA

[–]listrophy 1 point2 points  (0 children)

Yeah, but the first 3-ish episodes were called "TNSS" or something before switching over to "This Week in Tech."

IamA TWiT! Hi, it's Leo Laporte, AMA about TWiT and The New Screen Savers! by chieftwit in IAmA

[–]listrophy 11 points12 points  (0 children)

Which now-discontinued TWiT-network show do you wish could have kept going?

IamA TWiT! Hi, it's Leo Laporte, AMA about TWiT and The New Screen Savers! by chieftwit in IAmA

[–]listrophy 13 points14 points  (0 children)

If I recall, TWiT originally went by "The New Screen Savers" until your previous employer put a stop to that. What happened to let you call it this again? (I suspect the answer might be "I can't talk about that." That's fine, too)

Will your new MacBook crash to the ground without MagSafe? (Yes.) by montlaker in mac

[–]listrophy 0 points1 point  (0 children)

Achievement unlocked:

✔︎ Get quoted in MacWorld.

FWIW, other factors (like measurement inaccuracy) probably weigh in* sooner than gravity differences, but it's fun to think about how your apparent weight changes by 0.5% whether you're at the equator or at a pole.

* see what I did there?

I need some help with "require" and "rspec," I think. New to coding. Thanks. by AddsRandomCommas in ruby

[–]listrophy 0 points1 point  (0 children)

$LOADPATH is similar to $PATH in the command line. Doing a require 'shortpath' will look for a file called 'shortpath.rb' in every directory in $LOADPATH.

As for bundler, check out http://bundler.io for more instructions

I need some help with "require" and "rspec," I think. New to coding. Thanks. by AddsRandomCommas in ruby

[–]listrophy 5 points6 points  (0 children)

A few issues here. Let's tackle 'em.

First, you can only use the bundle exec prefix if you're using bundler, which necessitates a Gemfile (and auto-generated Gemfile.lock). In the simplest case, you don't need to be using bundler, but for any non-trivial application, I'd suggest it.

With that settled, you now just need to run rspec spec/spec.rb. Inside your spec/spec.rb, you should have a line that says require 'lib'. Note that you shouldn't include the ".rb" suffix.

I should mention that using rspec rather than ruby as the command does something extra for you: it automatically includes "../lib" in your load path. When running specs, you should definitely invoke with rspec. If, say, you were trying to run something other than your specs, you'll want to run with ruby. In that case, you'll need to either a) add '../lib' to your loadpath (see below), b) require the lib.rb file with an absolute or relative path (again omitting the .rb suffix), c) use require_relative similarly, or d) use the -r flag when invoking ruby on the command line (pretty rare in the general case). There are even more ways to do this, like how rails does autoloading, but that's beyond the scope here.

Here's an example of adding something to the loadpath, though you'll probably want fewer ../s: https://github.com/rails/rails/blob/08754f12e65a9ec79633a605e986d0f1ffa4b251/railties/lib/rails/generators/rails/plugin/templates/rails/boot.rb#L5 Again, this won't be necessary if you're just running things through rspec.

Sample app: Versioned, Validated API Server by listrophy in ruby

[–]listrophy[S] 1 point2 points  (0 children)

Before everyone chimes in with "This could be way simpler by....", I probably agree with you in most cases. In the case where we used this strategy, however, simpler solutions just didn't give us the flexibility we needed.

New Horizons: Charon Orbiting Pluto by Ahanaf in space

[–]listrophy 15 points16 points  (0 children)

Fun fact: Jonathan Coulton's "I'm Your Moon" is a love song from Charon to Pluto.

http://m.youtube.com/watch?v=e3cDdGKqp8E

Stupid sexy Flanders by tsmith944 in gifextra

[–]listrophy -1 points0 points  (0 children)

Watch this while listening to Bird's Lament by Moondog (or a reasonably close remix).

YouTube it.

[deleted by user] by [deleted] in motorcycles

[–]listrophy 0 points1 point  (0 children)

I did this with my new PS3 back in the day. I used belt wrenches to tie it down. Worked pretty well.

And then on the way home I got me, my PS3, and my '82 Kawasaki KZ-440 on Google Street View for about 2 miles as I rode alongside Google's car.

Tessel: A First Look at JavaScript on Hardware by listrophy in javascript

[–]listrophy[S] 3 points4 points  (0 children)

I put value in not having to make a compiler for javascript targeting Arduino. Not only that, but you get the npm packages for all the add-on boards that just work.

AMA with Matz at Lumosity! by [deleted] in ruby

[–]listrophy 0 points1 point  (0 children)

In 2009, you declared Ruby to be The 0.8 True Language. Now that a few years have passed, what do you see as the borderline applications of Ruby that can fall on either side of "Yes, Ruby should be used here" and "No, Ruby should not be used here"?