Useful Code Snippets

Even as a super awesome engineer, there are still basic things that I always forget. Like 1+1… or whether it’s cos(0)=1 or sin(0)=1. That’s why it’s so useful to have a cheatsheet at all times!

Anyhow, here are some things I have to search Google for waaaay too often:

Converting MOV to GIF:

ffmpeg -i -vf scale=560:560/a -pix_fmt rgb24 -r 20 -f gif - | gifsicle --optimize=3 --delay=5 > home_anim3.gif

Got this from here.

Great Markdown cheatsheet

Viewing ROS image topics:

rosrun image_view disparity_view image:=/camera/depth_registered/disparity
rosrun image_view image_view image:=/camera/rgb/image_color

Copying file from local to server via SSH:

scp /path/to/source-file user@host:/path/to/destination-folder/

More commands found here.

Opening ROS serial node (defaults to port /dev/ttyUSB0):

rosrun rosserial_python _port:=/dev/ttyUSB0

[Read more…]


A gentle answer turns away wrath, but a harsh word stirs up anger.
Proverbs 15:1

If there was one trait I could pick from Jesus to make mine, I would choose his patience. His inexplicable ability to remain calm under a heavy fire of irritating things is both admirable and enviable. Enviable because we’re all humans in a real world, and we all have to cooperate with people whom we might not really like to get stuff done.

As I’m making my way through college, I find myself working on a lot of group projects. Inevitably, I’ve had to work with some people who are the mushrooms in my salad of life. Of course, mushrooms are a great nutritional food that everyone should love, but it’s an unfortunate truth that mushrooms and I are incompatible… I’d much rather work with people who are lettuce.

[Read more…]

Talent Show God of More

Our Bible verse:

You do not delight in sacrifice, or I would bring it;
You do not take pleasure in burnt offerings.

My sacrifice, O God, is a broken spirit; a broken and contrite heart you, God, will not despise

Psalm 51:16-17


Back in high school, talent shows were both the most beautiful and most terrifying kind of events. An average student believing they have a unique talent submits that uniqueness to a panel of judges who deem whether that uniqueness is good enough to merit a place in the show. This filtering results in a beautiful arrangement of individuals who were thoroughly amazing, but leaves others with a gentle refusal because “their rendition of Lady Gaga’s latest was great, but just missing a little something—just not quite good enough”.

[Read more…]

First post, introductions and the like.

Hi there, faceless reader!

I’m Sophie.

I like robots and code, lettuce and tomatoes, guitar and piano. I try to learn a bit of everything while I can, because there are too many amazing things in this world to be left not learned.

This blog will be a catalog of things happening in my life, but the first few posts will likely be me cleaning out my local folders of things I’d like to keep on the web for posterity.

I hope you’ll find interesting things on this site, and at least crack a smile at some of my jokes. (Hey, let me believe I’m at least a little bit funny! >//<)