tag:blogger.com,1999:blog-5582969080257919962024-03-05T22:15:39.734-08:00Developer jaime = new Developer()Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.comBlogger101125tag:blogger.com,1999:blog-558296908025791996.post-66140778261754936772015-01-07T09:02:00.002-08:002015-01-07T09:02:26.875-08:00Railsconf 2015 CFP Announced!The <a href="http://rubycentral-cfp.herokuapp.com/events/railsconf-2015" target="_blank">Call for Proposals for RailsConf 2015</a> is now open! And guess who's submitting?<br />
<br />
Yeah, that was an easy one.<br />
<br />
I've actually got two proposals in mind, but one is the kind that just grabs you and has you so excited that your hands shake as you literally dropped what you're doing to grab some paper and start writing furiously. It's a little out there but could be fun. (Or it could completely bomb, but that's the fun part!) And, yes, I know it's really brassy to even consider submitting a proposal to RAILSCONF (!!ZOMG) but 2015 will be my Year of the Brass Ones. :) I'll post more about it soon!Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-29320229240514846072014-10-27T11:39:00.000-07:002014-10-27T11:39:22.461-07:00Rails Rumble is Over, Back to CodeRails Rumble is officially over, so I can get back to working on my FML app. Unsurprisingly, I wasn't able to complete it in the ten hours I had to work on it after work each night during the competition. I've given myself until the end of October to finish at least a decent MVP.<br />
<br />
Here's where I am right now: https://secret-inlet-5715.herokuapp.com/<br />
<br />
I'll keep chugging away and I'll check in from time to time. Soon I will have some posts about the <a href="http://seagl.org/" target="_blank">SeaGL</a> conference last weekend, as well as my talk! (It was a first talk, it was a first talk, it was a first talk... ;) ).Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-86017019899534753232014-10-17T23:23:00.001-07:002014-10-17T23:29:38.878-07:00And So It BeginsI've finished zizzer-zoofing for the night and it's finally time to start coding for my Rails Rumble submission. My app is the scratch-my-own itch list-compiler/downloader app that I've been thinking about for over a year now. (Aptly enough, it's called Fix My List, or FML for shortsies :D.)<br />
<div>
<br /></div>
<div>
Enough gabbing, time to code. Wish me luck!</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-18664134713006989322014-10-10T00:41:00.001-07:002014-10-10T00:42:18.926-07:00A Year Ago Today (Part II)I suppose I could write 365 of these kind of <a href="http://jaimelynschatz.blogspot.com/2014/05/a-year-ago-today.html">posts</a>, but I realized today that I've hit something of a milestone:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Iihn0kx89iQyb1qLcE5H9zhyphenhyphenA2sVo8r7BWRNVAkkJMQtFazAQqzEzKzJrysqianV0pKVhTItPx5cZgDVw2qchG8CIEvCCZThtp_4pAMFzSNACCjEcyLuZaM2mSjJCkCx1u9DFskDmG00/s1600/Screen+Shot+2014-10-10+at+12.29.30+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Iihn0kx89iQyb1qLcE5H9zhyphenhyphenA2sVo8r7BWRNVAkkJMQtFazAQqzEzKzJrysqianV0pKVhTItPx5cZgDVw2qchG8CIEvCCZThtp_4pAMFzSNACCjEcyLuZaM2mSjJCkCx1u9DFskDmG00/s1600/Screen+Shot+2014-10-10+at+12.29.30+AM.png" height="161" width="640" /></a></div>
<br />
With the exception of that awful spot during Hell Season for retail workers, I've got a year full of contributions on GitHub. I have some patches here and there, but those are actually from working off the master branch on different projects (or when I crumpled up my paper by deleting repos and started over.)<br />
<br />
I don't have much to say right now, but back to work. I'll post some links to my Zombie Floss app once it's live.Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-50429783411643470232014-09-30T10:35:00.001-07:002014-09-30T10:36:12.754-07:00So How Was Your Day, Dear?<br />
<blockquote class="twitter-tweet" lang="en">
This whole transportation SNAFU (literally) woke up the Mama Bear. Look out! <a href="http://t.co/jg7p1j8xjO">pic.twitter.com/jg7p1j8xjO</a><br />
— jaimes (@EduPunkN00b) <a href="https://twitter.com/EduPunkN00b/status/517001871647850497">September 30, 2014</a></blockquote>
<br />
<blockquote class="twitter-tweet" lang="en">
.<a href="https://twitter.com/LakeWashSchools">@LakeWashSchools</a>: That's why no one complains. We know that the drivers are blamed for structural issues they can't control.<br />
— jaimes (@EduPunkN00b) <a href="https://twitter.com/EduPunkN00b/status/516988705714995200">September 30, 2014</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
<br />
<blockquote class="twitter-tweet" lang="en">
.<a href="https://twitter.com/LakeWashSchools">@LakeWashSchools</a> my daughter wait for a 2nd bus once it was dispatched. I'm glad she didn't do that and don't want to see a GREAT driver ..<br />
— jaimes (@EduPunkN00b) <a href="https://twitter.com/EduPunkN00b/status/516992536918114305">September 30, 2014</a></blockquote>
<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-22786728831845311402014-09-29T10:21:00.000-07:002014-09-29T10:56:55.908-07:00Just Ship ItLast week was a bit of a whirlwind. I slammed through most of my backlog in <a href="http://skillcrush.com/" target="_blank">Skillcrush's</a> Web Developer Blueprint course and published two (imperfect) sites:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGz4lrtla9VnH_Wud1x5GPnA4Arm51qBu5-lDm3oI89tECvuYVXm15_z5hVw6GSNIezSul-lXKYtk9GJ14hmpBs0zEFun4KNUQCddCr9F3YZf5xOCQ77cn6b5lqcbaEu4YXOZ3gjuFu7SJ/s1600/Screen+Shot+2014-09-26+at+11.09.32+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGz4lrtla9VnH_Wud1x5GPnA4Arm51qBu5-lDm3oI89tECvuYVXm15_z5hVw6GSNIezSul-lXKYtk9GJ14hmpBs0zEFun4KNUQCddCr9F3YZf5xOCQ77cn6b5lqcbaEu4YXOZ3gjuFu7SJ/s1600/Screen+Shot+2014-09-26+at+11.09.32+AM.png" height="441" width="640" /></a></div>
<br />
The url for this site is about to be swiped for my Rails Rumble submission. I'm open to ideas for a better (more fitting) name for this brainstorming site. Also on the to-do list is to get set up with asset <a href="https://devcenter.heroku.com/articles/s3" target="_blank">hosting on AWS</a> so that the images uploaded along with the ideas will be saved! (Image storage on Heroku itself is strictly <a href="https://devcenter.heroku.com/articles/read-only-filesystem" target="_blank">ephemeral</a>!)<br />
<br />
and...<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEjcGgPe6AM9uQS9tZvljIxGdhj45gD5nT0DkJ158Rqw2lAgr9Za2iU8st3yAB9WkV9U3N9xdTmmHkR7jMdsq2uOHfVKDZrSg-na4_v3XpmKHHQw1ZxVQNyYZdeVHcwbIJHm2YCxhQGYfZ/s1600/Screen+Shot+2014-09-29+at+10.12.16+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEjcGgPe6AM9uQS9tZvljIxGdhj45gD5nT0DkJ158Rqw2lAgr9Za2iU8st3yAB9WkV9U3N9xdTmmHkR7jMdsq2uOHfVKDZrSg-na4_v3XpmKHHQw1ZxVQNyYZdeVHcwbIJHm2YCxhQGYfZ/s1600/Screen+Shot+2014-09-29+at+10.12.16+AM.png" height="380" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
This resume-splash page was for an assignment on Skillcrush. I've got two main to-dos for this site. First, optimize the image better so that the background isn't so slow to render. Second, it looks terrible on a mobile screen in portrait mode.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnSRfoCzvUSL1krG_P6XUtJ8IC2T_Ik0Y9hJ_McC8OcLoKa3480_u3D9kdd34YTYiqBOo0nkkfDitDGz0qOq4uniHATSsW4ttTuj-00F8fKqFkkyxrcc-uHoYJgHlXoyPJtyjGz1n-tj_s/s1600/Screenshot_2014-09-29-10-14-20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnSRfoCzvUSL1krG_P6XUtJ8IC2T_Ik0Y9hJ_McC8OcLoKa3480_u3D9kdd34YTYiqBOo0nkkfDitDGz0qOq4uniHATSsW4ttTuj-00F8fKqFkkyxrcc-uHoYJgHlXoyPJtyjGz1n-tj_s/s1600/Screenshot_2014-09-29-10-14-20.png" height="400" width="225" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I need to figure out how to tell the css to drop into a different mode when in a really small screen.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I'd like to continue my streak and ship another page this week. Not sure what yet (likely a starter page for my <a href="http://seagl.org/schedule/2014.html" target="_blank">SeaGL talk</a> this month.) Finally, I'm throwing in my hat for <a href="http://railsrumble.com/" target="_blank">Rails Rumble</a> - registration starts on October 6th and I'm super stoked to be a part of it this year.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Oh, yeah, and I've got my "day" job at [company name retracted due to uber-restrictive social media policy].</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
It's going to be a great week!</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Edited to add:</div>
<div class="separator" style="clear: both; text-align: left;">
I completely forgot! I also (finally!) got around to signing up at <a href="http://exercism.io/getting-started">exercism.io</a> I've just started but it's so much fun! :D</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-11060433639971115252014-09-17T13:12:00.000-07:002014-09-17T13:19:35.783-07:00What a Summer it Has Been<div>
This is a difficult post to write. I started this summer excited by my new OPW internship and anxious to get started. It began with a lengthy <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=62257" target="_blank">project map</a></div>
<div>
<br /></div>
<pre class="bz_comment_text" style="background-color: #f9f9f9; border: 1px solid rgb(221, 221, 221); font-family: monospace, 'Courier New'; font-size: small; line-height: 1.1em; padding: 1em; white-space: pre-wrap; width: 50em; word-wrap: break-word;">The following enhancements are needed to allow storing and rendering of time-based information in OpenHistoricalMap.
1. Enhance the iD and The_Rails_Port so that a javascript time/date slider can be added to control the time period that is of interest.
2. Enhance the ID and The_Rails_Port so that meta-data hooks are added to the code that allow for custom deployments of both software. The intent is to support their use as dedicated user interfaces to certain applications (such as medieval walking path editing) while still using a generic data source.
3. Modify the Mapnik tile renderer to handle Key:start_date and Key:end_date.
<a href="http://wiki.openstreetmap.org/wiki/ID" style="background: none; color: #0b0080; text-decoration: none;">http://wiki.openstreetmap.org/wiki/ID</a>
</pre>
<div>
<br /></div>
<div>
and an ambitious proto-developer.<br />
<br /></div>
<div>
The goal of the project was/is, essentially, to put a time slider on a fork of the Open Street Map to enable users to search for historical maps that have been loaded into the system.<br />
<br />
My original <a href="https://www.mediawiki.org/wiki/Historical_OpenStreetMap" target="_blank">OPW proposal</a> was ambitious and reveled my inexperience. As I worked through the first part of the project and then moved on to tackle the tile renderer, I began to understand the reactions of more experienced developers who I shared my work with. Still, I strove on (see <a href="https://www.mediawiki.org/wiki/User:JaimeLyn/Weekly_Reports" target="_blank">logs</a>).<br />
<br />
In the end, I suceeded in integrating a timeslider into the OHM and in propagating a time variable throughout the tile renderer. I've also learned a great deal about how real-live applications look and I've picked up some C, as well.<br />
<br />
I plan to continue contributing to the project. As my internship time ended, I was still working on building a working test server. I've had some hardware issues but expect to be able to begin working (part-time - I need paid work, too! :) ) soon. After the initial time variable is proven to work, I will then be able to introduce the actual keys to the render.<br />
<br />
I would really like to see my code make it into the wild and it's a great mission. I've learned a lot about how real-life Rails applications work (look, Ma, there's business logic in the JavaScript!). I've learned even more about how far off paper time estimates can be from reality. ;)</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-4534213290830036122014-08-25T16:49:00.000-07:002014-08-25T16:49:29.176-07:00Postgres and Postgis are a PAINThe following is from a blog post from 2009. Installing PostgreSQL and PostGIS is still (still!!) incredibly painful. I'm re-blogging this here (I hope the author forgives me!) I'm terrified of losing these instructions. I know I'll need them again:<div>
<br /></div>
<div>
_______________________________________________________________</div>
<div>
<h3 class="post-title entry-title" style="font-size: 24px; line-height: 1.4em; margin: 0.25em 0px 0px; padding: 0px 0px 4px;">
Install PostgreSQL 8.4 and PostGIS 1.4.0 in Ubuntu 9.0.4</h3>
<div class="post-header">
<div class="post-header-line-1">
</div>
</div>
<div class="post-body entry-content" id="post-body-5628302617835364045" style="line-height: 1.6em; margin: 0px 0px 0.75em;">
<br /><h2 class="date-header" style="background-attachment: scroll; background-clip: initial; background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5RkXICHEDy5of5fYwluLEbflg6lRzDdQ1LR310WhmXiquOjNairoP41hWptAiyTgzzOvhKdv-P0VZvLqAxfVPFqr9Qscn0DOmq5mXLOCUfDVJUKF61kdQd22vj0Oc6aJHNVcd8-Ko2qE/s1600/1276328132_date.png); background-origin: initial; background-position: 0% -1px; background-repeat: no-repeat; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 7px; border-top-right-radius: 7px; border: medium none; color: #999999; font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; letter-spacing: 0.2em; line-height: 1.4em; margin: 1.5em 0px 0.5em; padding: 0px 0px 0px 20px; text-shadow: rgb(255, 255, 255) 0px 1px 0px; text-transform: uppercase;">
<a href="http://biodivertido.blogspot.com/2009/10/install-postgresql-84-and-postgis-140.html" style="color: black; text-decoration: none;">HTTP://BIODIVERTIDO.BLOGSPOT.COM/2009/10/INSTALL-POSTGRESQL-84-AND-POSTGIS-140.HTML</a></h2>
<h2 class="date-header" style="background-attachment: scroll; background-clip: initial; background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5RkXICHEDy5of5fYwluLEbflg6lRzDdQ1LR310WhmXiquOjNairoP41hWptAiyTgzzOvhKdv-P0VZvLqAxfVPFqr9Qscn0DOmq5mXLOCUfDVJUKF61kdQd22vj0Oc6aJHNVcd8-Ko2qE/s1600/1276328132_date.png); background-origin: initial; background-position: 0% -1px; background-repeat: no-repeat; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 7px; border-top-right-radius: 7px; border: medium none; color: #999999; font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; letter-spacing: 0.2em; line-height: 1.4em; margin: 1.5em 0px 0.5em; padding: 0px 0px 0px 20px; text-shadow: rgb(255, 255, 255) 0px 1px 0px; text-transform: uppercase;">
WEDNESDAY, OCTOBER 21, 2009</h2>
<div class="date-posts">
<div class="post-outer">
<div class="post hentry" style="border-bottom-color: rgb(255, 255, 255); border-bottom-style: dotted; border-bottom-width: 1px; margin: 0.5em 0px 1.5em; padding-bottom: 1.5em;">
<a href="http://blog4our.blogspot.com/2011/05/install-postgresql-84-and-postgis-140.html" name="4189936985357290621" style="color: black; text-decoration: none;"></a><h3 class="post-title entry-title" style="color: #cc6600; font-size: 20px; font-weight: normal; line-height: 1.4em; margin: 0.25em 0px 0px; padding: 0px 0px 4px;">
<a href="http://biodivertido.blogspot.com/2009/10/install-postgresql-84-and-postgis-140.html" style="color: #333333; display: block; margin-top: 0px; text-decoration: none;">Install PostgreSQL 8.4 and PostGIS 1.4.0 in Ubuntu 9.0.4</a></h3>
<div class="post-header">
<div class="post-header-line-1">
</div>
</div>
<div class="post-body entry-content" style="line-height: 1.6em; margin: 0px 0px 0.75em;">
I am a big fan of the new PostGIS 1.4.0 (and also of <a href="http://www.youtube.com/watch?v=zB_a28vBtBk&feature=channel" style="color: #0066cc; text-decoration: none;">Paul Ramsey</a>) . I always have troubles installing PostGIS in ubuntu so I thought that this time I was gonna document it and blog it here. So this is just a log of the steps required to install it on an EC2 instance with Ubuntu 9.04. I hope it can be useful for someone else.<br /><br />Just for the record. The EC2 instance I used was <span style="font-family: arial, sans-serif; font-size: 13px;"><b>ami-ccf615</b> from <a href="http://alestic.com/" rel="nofollow" style="color: #0066cc; text-decoration: none;">http://alestic.com</a> .</span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"><span style="font-size: 13px;"><br /></span></span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"><span style="font-size: 13px;">Once login (totally fresh).</span></span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"><span style="font-size: 13px;"><br /></span></span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"><span style="font-size: 13px;"></span></span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"></span><br /><span style="font-family: arial, sans-serif; font-size: xx-small;"><pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;">apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> update
apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> install vim</pre>
<pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;">#The sources are still not available on the regular package servers... edit the sources
vim <span style="color: #666600;">/</span>etc<span style="color: #666600;">/</span>apt<span style="color: #666600;">/</span>sources<span style="color: #666600;">.</span>list
add deb http<span style="color: #666600;">:</span><span style="color: #880000;">//ppa.launchpad.net/pitti/postgresql/ubuntu jaunty main</span>
deb<span style="color: #666600;">-</span>src http<span style="color: #666600;">:</span><span style="color: #880000;">//ppa.launchpad.net/pitti/postgresql/ubuntu jaunty main</span>
sudo apt<span style="color: #666600;">-</span>key adv <span style="color: #666600;">--</span>keyserver keyserver<span style="color: #666600;">.</span>ubuntu<span style="color: #666600;">.</span>com <span style="color: #666600;">--</span>recv<span style="color: #666600;">-</span>keys <span style="color: #006666;">8683D8A2</span>
sudo apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> update
sudo apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> install postgresql<span style="color: #666600;">-</span><span style="color: #006666;">8.4</span></pre>
<pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;"><span style="color: #006666;"><span style="color: blue;">#This changes the port from 5433 to 5432</span>
</span>sudo sed <span style="color: #666600;">-</span>i<span style="color: #666600;">.</span>bak <span style="color: #666600;">-</span>e <span style="color: #008800;">'s/port = 5433/port = 5432/'</span> <span style="color: #666600;">/</span>etc<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">/</span><span style="color: #006666;">8.4</span><span style="color: #666600;">/</span>main<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">.</span>conf
sudo <span style="color: #666600;">/</span>etc<span style="color: #666600;">/</span>init<span style="color: #666600;">.</span>d<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">-</span><span style="color: #006666;">8.4</span> stop
sudo <span style="color: #666600;">/</span>etc<span style="color: #666600;">/</span>init<span style="color: #666600;">.</span>d<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">-</span><span style="color: #006666;">8.4</span> start
apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> install postgresql<span style="color: #666600;">-</span>server<span style="color: #666600;">-</span>dev<span style="color: #666600;">-</span><span style="color: #006666;">8.4</span> libpq<span style="color: #666600;">-</span>dev
apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> install libgeos<span style="color: #666600;">-</span>dev
wget http<span style="color: #666600;">:</span><span style="color: #880000;">//postgis.refractions.net/download/postgis-1.4.0.tar.gz</span>
apt<span style="color: #666600;">-</span><span style="color: #000088;">get</span> install proj
tar xvfz postgis<span style="color: #666600;">-</span><span style="color: #006666;">1.4</span><span style="color: #666600;">.</span><span style="color: #006666;">0.tar</span><span style="color: #666600;">.</span>gz
cd postgis<span style="color: #666600;">-</span><span style="color: #006666;">1.4</span><span style="color: #666600;">.</span><span style="color: #006666;">0</span>
<span style="color: #666600;">./</span>configure
make
make install
sudo su postgres</pre>
<pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;"><span style="color: blue;">#change the postgres password to "atlas" so that you can later login</span>
psql -c"ALTER user postgres WITH PASSWORD 'atlas'"
createdb geodb <span style="color: #666600;">(</span><span style="color: #000088;">with</span> password atlas<span style="color: #666600;">)</span>
createlang <span style="color: #666600;">-</span>dgeodb plpgsql
psql <span style="color: #666600;">-</span>dgeodb <span style="color: #666600;">-</span>f <span style="color: #666600;">/</span>usr<span style="color: #666600;">/</span>share<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">/</span><span style="color: #006666;">8.4</span><span style="color: #666600;">/</span>contrib<span style="color: #666600;">/</span>postgis<span style="color: #666600;">.</span>sql
psql <span style="color: #666600;">-</span>dgeodb <span style="color: #666600;">-</span>f <span style="color: #666600;">/</span>usr<span style="color: #666600;">/</span>share<span style="color: #666600;">/</span>postgresql<span style="color: #666600;">/</span><span style="color: #006666;">8.4</span><span style="color: #666600;">/</span>contrib<span style="color: #666600;">/</span>spatial_ref_sys<span style="color: #666600;">.</span>sql
psql -dgeodb -c"select postgis_lib_version();"</pre>
<pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;"><span style="color: blue;">#This should return 1.4.0</span></pre>
<pre class="prettyprint" style="border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 3px; font-size: 12px; margin-left: 2em; padding: 0.5em;"><span style="color: #000088;">exit</span></pre>
<span style="font-family: Times;"></span><br /><span style="font-family: Times;"><br /></span></span><span style="font-family: arial, sans-serif; font-size: xx-small;"><span style="font-family: Times;">Good Luck!</span></span><div style="clear: both;">
</div>
</div>
<div class="post-footer" style="background: none 0px 0px repeat scroll rgb(238, 238, 238); border: 3px double rgb(221, 221, 221); color: #999999; font-family: 'Trebuchet MS', Trebuchet, Arial, Verdana, sans-serif; font-size: 11px; letter-spacing: 0.1em; line-height: 1.4em; margin: 0.75em 0px; padding: 10px; text-transform: uppercase;">
<div class="post-footer-line post-footer-line-1">
<span class="post-author vcard" style="background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi9K7zr9CaFqgWL1oDZsnntOLXsKyvs7MJ9A7dSTy_B9wbJ_6Cv1N4gMGWEAnKOdyHALD5prwkWeACEoUs6nnxTWoNPxVUHQtyXuVi8HLuq8af8p6THXlv_JPBCsKbao0r9mgLUGyivLw/s1600/aaa.png) 0px 0px no-repeat scroll transparent; padding-left: 20px;">POSTED BY <span class="fn">JAVIER DE LA TORRE</span> </span><span class="post-timestamp">AT <a class="timestamp-link" href="http://biodivertido.blogspot.com/2009/10/install-postgresql-84-and-postgis-140.html" rel="bookmark" style="color: #0066cc; text-decoration: none;" title="permanent link"><abbr class="published" style="border: none;" title="2009-10-21T19:54:00+02:00">7:54 PM</abbr></a> </span><span class="post-comment-link"></span><span class="post-icons"></span><span class="post-backlinks post-comment-link"></span></div>
<div>
<span class="post-timestamp"><br /></span></div>
<div class="post-footer-line post-footer-line-2">
<span class="post-labels" style="background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg66z3ICFDTSEQhrWE6zhRRHnXvOt0K_BuLWgYUMsFQXHWH8sWm_c-WGzyb7HYyiY6uLvEuZisO6rFS-V4V8z0I-ptVrwe8Hs8-myUXwOD2flW5i9IuEn4Hi7ta3yKlNxb9xchyphenhyphenkFsApuk/s1600/1276330011_tags.png) 0% 50% no-repeat scroll transparent; padding-left: 20px;"></span></div>
<div class="post-footer-line post-footer-line-3">
<span class="post-location"></span></div>
</div>
</div>
<div class="comments" id="comments" style="clear: both; margin-bottom: 0px; margin-top: 10px;">
<a href="http://blog4our.blogspot.com/2011/05/install-postgresql-84-and-postgis-140.html" name="comments" style="background-color: white; color: black; font-family: Arial, serif; font-size: 14px; line-height: 22.880001068115234px; text-decoration: none;"></a></div>
</div>
</div>
</div>
</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-63165244611195470072014-08-17T16:57:00.001-07:002014-08-17T16:57:44.780-07:00What's the Magic Vagrant Word?The magic Vagrant command is:<br />
<br />
<span style="background-color: #cfd9ff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">sudo /etc/init.d/vboxdrv setup</span><br />
<span style="background-color: #cfd9ff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span>
<span style="font-family: inherit;"><span style="background-color: white;">Get comfy with that command. You keep needing it.</span></span>Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com1tag:blogger.com,1999:blog-558296908025791996.post-12912406208492566162014-08-16T04:47:00.001-07:002014-08-16T04:47:35.910-07:00Leaping into the World of APIs and DataI am taking a flying leap and creating an entry for <a href="https://github.com/blog/1864-third-annual-github-data-challenge" target="_blank">GitHub's 3rd Annual Data Challenge</a>. My topic: The Six Degrees of Baconjs. Much like the movie-buff parlor game, the premise is simple: in six degrees or fewer, you can connect every user on GitHub (users who have at least one contributions/contributor outside of their own personal repos) with any other.<div>
<br /></div>
<div>
I have never attempted anything like this before. From the 10,000 feet view, given an input of a user, I will need to query for a list of all contributors to the Baconjs project and work backwards through each of their other repos to find the next degree's list of users. It's going to be recursive and strange but lots of fun! I'm starting my studies of the first step with the <a href="https://developer.github.com/v3/" target="_blank">GitHub API docs</a> and the terrific tutorials on Codecademy. They even have one specifically on the <a href="http://www.codecademy.com/en/tracks/oauth" target="_blank">GitHub API</a>!</div>
<div>
<br /></div>
<div>
Wish me luck! I'm going to need it!</div>
<div>
<br /></div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-32889381660401452222014-08-11T19:10:00.002-07:002014-08-11T19:16:12.673-07:00Time Flies Like an Arrow and Fruit Flies Like a BananaThat's my new little motivational mantra. Someday, I will help create a computer that understands that sentence.<br />
<br />
Back in the present, though, here's a run-down of what I've been up to in the Open Historical Map project:<br />
<br />
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_11:_July_28_-_August_3">Week 11: July 28 - August 3</span><span class="mw-editsection" style="-webkit-user-select: none; display: inline-block; font-family: sans-serif; font-size: x-small; font-weight: normal; line-height: 1em; margin-left: 1em; unicode-bidi: -webkit-isolate; vertical-align: baseline; white-space: nowrap;"><span class="mw-editsection-bracket" style="color: #555555; margin-right: 0.25em;">[</span><a class="mw-editsection-visualeditor" href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&veaction=edit&vesection=19" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 11: July 28 - August 3">edit</a><span class="mw-editsection-divider" style="color: #555555;"> | </span><a href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&action=edit&section=19" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 11: July 28 - August 3">edit source</a><span class="mw-editsection-bracket" style="color: #555555; margin-left: 0.25em;">]</span></span></h3>
<ol style="font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">We're jumping into the rendering now. Most of the work will be in <a class="external text" href="https://github.com/OpenHistoricalMap/ohm_mod_tile" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">ohm_mod_tile</a>, especially <a class="external text" href="https://github.com/OpenHistoricalMap/ohm_mod_tile/blob/master/renderd.py" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">renderd</a> and <a class="external text" href="https://github.com/OpenHistoricalMap/ohm_mod_tile/blob/master/daemon.c" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">the master daemon program</a>.</li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">I posted the <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/July28IRC.md" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">IRC log here</a> (tried to strip out the filler /leave, /join, etc)</li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">RENDERING<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">This file is proving vital but elusive: home/tim/ohm-carto/ohm-carto/mapnik 2008.xml (UPDATE: I have the file now, but...)</li>
</ol>
</li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">The bulk of the renderer is written in C and C++ (with a lot of Bash and some inline SQL for good measure.)<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">I am v e r y s l o w l y and carefully modifying the renderer to accept the {t} parameter. It's been many years since I've even looked at C code (and that was in an <b>introductory</b> C class.)</li>
<li style="margin-bottom: 0.1em;">I'm relying heavily upon the 'git grep' command (tracking <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/grepAug1.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here</a>).</li>
<li style="margin-bottom: 0.1em;">I'm logging my progress so I can keep track of what I've changed and where: <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/statusAug1.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">git diff log</a>.</li>
</ol>
</li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">I don't want to lose this reference (is this Momento?):<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;"><i>on line 245 in mod_tile.c, ~~bzero~~ recv() (bzero is used to zero out the bits at &resp to prepare it for the map tiles) and sends &resp to get the tiles from the database over a websocket</i></li>
</ol>
</li>
<li style="margin-bottom: 0.1em;"><span style="background-color: white; color: #252525;">I am really deep in the weeds here in C. I am going to take a little time to read up more in the man pages and go through some more of the tutorial over on </span><a class="external text" href="http://c.learncodethehardway.org/book/" rel="" style="background-color: white; background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml; background-position: 100% 50%, 100% 50%; padding-right: 13px;" target="_blank"><span style="color: black;">Learn Code the Hard Way</span></a></li>
</ol>
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_12:_Aug_4_-_Aug_10">Week 12: Aug 4 - Aug 10</span><span class="mw-editsection" style="-webkit-user-select: none; display: inline-block; font-family: sans-serif; font-size: x-small; font-weight: normal; line-height: 1em; margin-left: 1em; unicode-bidi: -webkit-isolate; vertical-align: baseline; white-space: nowrap;"><span class="mw-editsection-bracket" style="color: #555555; margin-right: 0.25em;">[</span><a class="mw-editsection-visualeditor" href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&veaction=edit&vesection=20" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 12: Aug 4 - Aug 10">edit</a><span class="mw-editsection-divider" style="color: #555555;"> | </span><a href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&action=edit&section=20" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 12: Aug 4 - Aug 10">edit source</a><span class="mw-editsection-bracket" style="color: #555555; margin-left: 0.25em;">]</span></span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Made some changes to my changes (meta!) to the renderd.py byte packing/unpacking directive.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">IRC log on discussion <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/aug4IRC.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here</a></li>
<li style="margin-bottom: 0.1em;">updated diff log <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/diffAug4am.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here</a></li>
<li style="margin-bottom: 0.1em;"><a class="external text" href="http://wiki.openstreetmap.org/w/index.php?title=Multilingual_maps_Wikipedia_project/Final_Report&action=history" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">link on languages and urls from Chippy</a></li>
<li style="margin-bottom: 0.1em;"><a class="external text" href="http://gis.19327.n5.nabble.com/parameterization-of-mapnik-style-sheets-in-mod-tile-renderd-and-multi-lingual-maps-td5781510.html" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">link on parameterization of mapnik tiles from Chippy</a></li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">The OHM Team had our monthly Google Hangout <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/OHM%20Hangout%20Notes.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">notes</a></li>
<li style="margin-bottom: 0.1em;">Re-attempting to install dependencies to run test server, instructions <a class="external text" href="https://github.com/mapnik/mapnik/wiki/UbuntuInstallation" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here for Mapnik</a> and <a class="external text" href="https://github.com/openstreetmap/mod_tile" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here for mod_tile</a></li>
<li style="margin-bottom: 0.1em;">After much searching (and an <a href="charette.no-ip.com:81/programming/2011-12-24_GCCv47" target="_blank">upgrade to gcc</a>, I finally got it all running well enough to <i>attempt</i> to compile.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Sadly, MediaWiki's spam filter is preventing me from posting a link to the very helpful blog that walked me through the task of upgrading my C/C++/Java compiler. If you visit charette.no-ip.com:81/programming/2011-12-24_GCCv47, you'll get to the instructions.</li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">I am now working on fixing the <a class="external text" href="https://github.com/JaimeLynSchatz/notes/blob/master/errors_aug8.txt" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">massive list of warnings and errors</a> that running <b>make</b> generated for me!</li>
</ol>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-28821247226193410892014-08-08T06:46:00.002-07:002014-08-08T06:46:15.401-07:00Updating GCC for C++ 11I will write up a more detailed blog post on this topic soon, but I wanted to share this:<br />
<br />
In a <a href="http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/" target="_blank">blog post from 2011</a>, Stephane Charette detailed how to determine which version of gcc you are using and how to <b>easily</b> update and switch between versions. (The standard version of gcc included in Ubuntu 12.04 does not support C++ 11). After spending two days thrashing following various official wikis, his blog post was a miraculous!Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-86937734388228682182014-08-06T00:07:00.000-07:002014-08-06T00:07:12.559-07:00Linux Scholarship, How to End a Freelance Gig and How to Thrive as a Remote WorkerAll of the following can be especially helpful for my fellow OPW interns. The first deals with the Linux Foundation offering scholarships for their (rather expensive) training classes. The second is a summary of Kate Hamill's helpful post on how to wrap up a freelance gig. Finally, Brazen Life wrote a post on how to manage remote workers. I'm going to translate that into how to be an awesome remote worker.<br />
<br />
Today, the Linux Foundation announced their <a href="http://training.linuxfoundation.org/free-linux-training/linux-training-scholarship-program">Linux Training Scholarship Program</a>. Five scholarships will be awarded, one to a winner in each of the following categories: Whiz Kids (high school or college grads 18 years or older, Women in Linux, SysAdmin Super Stars, Developer Do-Gooder ("developers who are using Linux for good") and Linux Kernel Guru (a Linux contributor "who has promise of becoming a Linux kernel developer or maintainer.")<br />
<br />
If you're a Linux Lover, check it out! Applications are due by midnight (PDT) on Monday, September, 2nd.<br />
<div>
<hr />
<br />
Over on the Freelancers' Union website, Kate Hamill has a post on <a href="https://www.freelancersunion.org/blog/2014/07/18/3-things-freelance-pros-do-end-gig/">the three things that freelance pros do when they finish a gig.</a> Step one is to make sure you really are finished with the project. Now is the time to check your work and make sure there aren't any loose ends. She also advises freelancers to send out an email to get confirmation (in writing!) from the client to be sure that they believe the project is finished. Step two is to send a thank you email to your client. Why email? Because then your client can easily search their email for you. Very, very few people systematically file away thank you cards. Finally, Hamill recommends connecting with your (now former) client through social media.<br />
<div>
<br /></div>
<hr />
<div>
Finally, <a href="http://www.levo.com/articles/career-advice/management-tips-remote-workers" target="_blank">Brazen Life</a> describes seven ways for managers to do a better job of managing their remote (or "virtual") workers. It's a great list of tips, especially if you flip it and turn it into seven ways to thrive as a remote worker:</div>
<div>
<br /></div>
<div>
1. Be clear on your role and responsibilities. Being remote means missing out on those micro-moments where you can check in to make sure you and your boss agree you're on the right track. Starting your day with a list of that day's essential tasks (and then sharing that with your manager) can be a useful way to accomplish this.</div>
<div>
<br /></div>
<div>
2. Use some of the great tools out there like <a href="https://basecamp.com/" target="_blank">Basecamp</a> or <a href="https://github.com/" target="_blank">GitHub</a> to create shared goals <i>and track them</i>.<br />
<br />
3. Keep communicating! If your manager hasn't already, try to set up a regular scheduled time to catch up and keep your manager informed of your work.</div>
<div>
<br /></div>
<div>
4. Seek out novel ways to collaborate and create those "water cooler" moments. Scott Hanselman describes one way to do this in his post on "<a href="http://www.hanselman.com/blog/VirtualCamaraderieAPersistentVideoPortalForTheRemoteWorker.aspx" target="_blank">Virtual Camaraderie</a>."</div>
<div>
<br /></div>
<div>
5. Seek out co-working spaces, local offices or create one. This can give remote workers in your region a place to come together in company nodes and share information, ideas and, yes, collaborate.</div>
<div>
<br /></div>
<div>
6. If there isn't one already, help create a central place to keep the knowledge of the project. GitHub can be great for this. (That's what we use for the <a href="https://github.com/OpenHistoricalMap/OpenHistoricalMap" target="_blank">Open Historical Maps project</a>.)</div>
<div>
<br /></div>
<div>
7. Find ways to tailor your work to you. One danger in being a remote worker is the risk of being seen as a widget that can easily be replaced by the next Gun.io applicant. By tailoring your work to you, you can become an indispensable part of the team, no matter how far away you are.</div>
<div>
<br /></div>
<div>
That's it for now.</div>
<div>
<br /></div>
</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-43915748818705620262014-08-05T00:06:00.001-07:002014-08-05T00:06:56.832-07:00Some Bits on Binary Packing and Holding Broken Packages<div>
The first part of my day was spent on <a href="https://docs.python.org/2/library/struct.html" target="_blank">binary packing in Python</a>. When using this feature to share objects between languages, you pack the structure/object into binary and deliver it with instructions for how to parse or unpack it. The format of the instructions will look something resembling this:</div>
<div>
<br /></div>
<div>
<pre style="white-space: pre-wrap; word-wrap: break-word;"><span style="font-family: Courier New, Courier, monospace;"><b>self.fields = "5i41sxxx"</b></span></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"><span style="font-family: Times, Times New Roman, serif;">where the structure is comprised of 5 integers followed by a 41 bit string followed by 3 null bits added for padding to make the structure add up to a total of 64 bits. My current task on the OHM was to add the {t} variable to this binary structure. Misunderstanding, I added the length of the 5 bit string to the existing 41 bit string. However, I learned that, unlike for the 5 integers, 46s would be treated as a single 46-bit string (logical but not obvious to me at the time). Instead, we opted to insert a second 5-bit string before the padding (which was increased to a total of 61 to increase the size of the binary structure to a nice, even 128 bits.)</span></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"><span style="font-family: Times, Times New Roman, serif;">
</span></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"><span style="font-family: Times, Times New Roman, serif;">Later that day, </span><span style="font-family: Times, 'Times New Roman', serif;">I spent a lot of time searching for solutions to an installation problem I was having. My updater was howling about need to update the firmware. My initial attempts were met with a strange error about having "help broken packages" (which drew up a most disturbing mental image). After lots of searching, I finally found a helpful <a href="http://askubuntu.com/questions/493541/hardware-enablement-stack-hwe-out-of-support" target="_blank">post on AskUbuntu</a> which described in detail the steps needed to clear this error. After typing:</span></pre>
<br />
<span style="font-family: Courier New, Courier, monospace;"><b>sudo apt-get install xserver-xorg-lts-precise</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b>hwe-support-status --verbose </b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b>sudo apt-get install linux-generic-lts-trusty \</b></span><br />
<b style="font-family: 'Courier New', Courier, monospace;">xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty \ </b><br />
<span style="font-family: Courier New, Courier, monospace;"><b>linux-image-generic-lts-trusty
</b></span><br />
<br />
<pre style="white-space: pre-wrap; word-wrap: break-word;"><span style="font-family: Times, 'Times New Roman', serif;">TBH, though, I kind of wish that I hadn't updated because now Spotify won't run in my browser and the delete key fails on a long press. Google's suggested search when searching straight out of the address bar is malfunctioning as well. S</span><span style="font-family: Times, 'Times New Roman', serif;">omething good will come of it, though. </span><span style="font-family: Times, 'Times New Roman', serif;">I'll have some fresh learning to write about tomorrow night!</span></pre>
</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-30854741968213322132014-08-04T23:44:00.000-07:002014-08-04T23:44:08.098-07:0010 Ways to be SmarterA recent <a href="http://www.inc.com/jessica-stillman/10-small-things-you-can-do-every-day-to-get-smarter.html" target="_blank">article</a> by Jessica Stillman in Inc. magazine summarizes a recent <a href="http://www.quora.com/What-would-you-do-to-grow-little-smarter-by-knowledge-every-single-day" target="_blank">Quora posting</a> on what can you can do to get smarter. In short:<br />
<br />
1. Be smarter about how you use your time on the Internet. Think more TED talks, Khan Academy and (presumably, Inc. magazine) and much less YouTube, Farmville and Cracked.com.<br />
<br />
2. Write 400 words a day about something you learned that day.<br />
<br />
3. Make an "I did it" list to remind yourself of your accomplishments.<br />
<br />
4. Play games: chess, Connect 4, bridge, (MtG, anyone?).<br />
<br />
5. Surround yourself with friends who are smarter than you.<br />
<br />
6. Read a lot. A lot.<br />
<br />
7. Explain what you've learned. You don't really know it until you can teach it to someone else so they will understand.<br />
<br />
8. Do random new things. You never know how what you learn will help you down the line.<br />
<br />
9. Learn a new language. (I hope programming languages count!)<br />
<br />
10. Take some time to digest what you've learned. Sit and think (or exercise and think.) Spend time thinking.<br />
<br />
I'm going to start with #2 tonight.<br />
<br />Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-90190377171695383732014-08-02T18:04:00.001-07:002014-08-02T18:04:46.469-07:00How to Change Tab Size in Vim and Other Nifty *Nix Tricks<span style="font-family: inherit;">I learned two nifty *nix tricks this week that I'd like to save here both so I can find them again if I manage to lose my notes (or my muscle memory) and in the hopes that I can save another future dev a little bit of time.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><b>To change your tab size in Vim, first at the command line, type:</b></span><br />
<br />
<span style="font-family: Courier New, Courier, monospace;"><b>vim $HOME/.vimrc</b></span><br />
<br />
<span style="font-family: inherit;">This will open the user preferences file for Vim, creating it if the files doesn't already exist. You will then be popped into your Vim editor, where you can enter your preferences. Remember to type the letter </span><b><span style="font-family: Courier New, Courier, monospace;">a</span></b><span style="font-family: inherit;"> to enter insert mode. Otherwise, anything you type will be interpreted as a Vim command. Ready?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: inherit;">Here's where you can paste all those nifty <strike>"yak-shaving"</strike> "time-saving" snippets you've been finding online! I used</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace;"><b>set tabstop=4</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b>set shiftwidth=4</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b>set expandtab</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: inherit;">Press the </span><b><span style="font-family: Courier New, Courier, monospace;">esc</span></b><span style="font-family: inherit;"> key to re-enter command mode then :</span><span style="font-family: Courier New, Courier, monospace;"><b>wq</b></span><span style="font-family: inherit;"> to save and exit. Re-open Vim and voila! You've just set your tabs to 4 spaces!</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">My second trick is much shorter, but it's a great little command just the same. When working in Git, before you add any files using </span><span style="font-family: Courier New, Courier, monospace;"><b>git add</b></span><span style="font-family: inherit;"> type</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"><b>git diff</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b><br /></b></span>
<span style="font-family: inherit;">to see the changes you've made across all of the files in your working repository. If you've already started tracking the files using git add, type</span><br />
<span style="font-family: inherit;"><br /></span>
<b><span style="font-family: Courier New, Courier, monospace;">git diff --cached</span></b><br />
<br />
<span style="font-family: inherit;">It gives you lovely output such as:</span><br />
<span style="font-family: inherit;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-xvcjhsaJ6ow/U92KPiv1cyI/AAAAAAAALu4/LIVARpOgbRY/s1600/gitDiffPic.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-xvcjhsaJ6ow/U92KPiv1cyI/AAAAAAAALu4/LIVARpOgbRY/s1600/gitDiffPic.png" height="224" width="320" /></a></div>
<span style="font-family: inherit;"><br /></span>
<div>
<br /></div>
<div>
That's all for now. Happy coding, everyone!</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-72978448362162735122014-07-29T13:01:00.000-07:002014-07-29T13:01:14.085-07:00Progress and More to ComeWe made some progress over the last two weeks. We've got the time query running through the software, all the way up to the point requesting the tiles. Now we're diving in to the code of the renderer and tile server to get those tiles that we need!<br />
<br />
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_9:_July_14_-_July_20">Week 9: July 14 - July 20</span><span class="mw-editsection" style="-webkit-user-select: none; display: inline-block; font-family: sans-serif; font-size: x-small; font-weight: normal; line-height: 1em; margin-left: 1em; unicode-bidi: -webkit-isolate; vertical-align: baseline; white-space: nowrap;"><span class="mw-editsection-bracket" style="color: #555555; margin-right: 0.25em;">[</span><a class="mw-editsection-visualeditor" href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&veaction=edit&vesection=16" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 9: July 14 - July 20">edit</a><span class="mw-editsection-divider" style="color: #555555;"> | </span><a href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&action=edit&section=16" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 9: July 14 - July 20">edit source</a><span class="mw-editsection-bracket" style="color: #555555; margin-left: 0.25em;">]</span></span></h3>
<ol style="font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;"><span style="background-color: white;"><span style="color: #252525;">After some discussion and direction from my mentor, I'm tackling the tile rendering server bit. I've added a test layer for "Year" in the</span> <a class="external text" href="https://github.com/JaimeLynSchatz/ohm-website/commit/594b53c5cb68afca8f534676e5547d072c0c2aac" rel="" style="background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml; background-position: 100% 50%, 100% 50%; padding-right: 13px; text-decoration: none;" target="_blank">leaflet.osm.js file</a>.</span></li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">I've got a first little skeleton in the code but it doesn't lead anywhere yet. I updated the <a class="external text" href="https://github.com/OpenHistoricalMap/ohm-website/issues/15" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">issue tracker in GitHub</a> with my latest and (not so) greatest.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">The screenshot is also posted <a class="external text" href="https://camo.githubusercontent.com/b2508e794ee5ee387943129201e2e9d17058a98a/687474703a2f2f6a61696d656c796e73636861747a2e6769746875622e696f2f6d697373696e675f656e2d55532e706e67" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">here</a></li>
<li style="margin-bottom: 0.1em;">As can be seen by the mostly empty layer on the right, I've got most of the plumbing in there but there's no data coming through the pipes.</li>
</ol>
</li>
<li style="background-color: white; color: #252525; margin-bottom: 0.1em;">Digging further into <a class="external text" href="http://switch2osm.org/using-tiles/getting-started-with-leaflet/" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">Leaflet</a> and <a class="external text" href="http://leafletjs.com/reference.html" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">how to use it</a> and I also put up a white flag for assistance in the issue thread above</li>
</ol>
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_10:_July_21_-_July_26">Week 10: July 21 - July 26</span><span class="mw-editsection" style="-webkit-user-select: none; display: inline-block; font-family: sans-serif; font-size: x-small; font-weight: normal; line-height: 1em; margin-left: 1em; unicode-bidi: -webkit-isolate; vertical-align: baseline; white-space: nowrap;"><span class="mw-editsection-bracket" style="color: #555555; margin-right: 0.25em;">[</span><a class="mw-editsection-visualeditor" href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&veaction=edit&vesection=17" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 10: July 21 - July 26">edit</a><span class="mw-editsection-divider" style="color: #555555;"> | </span><a href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&action=edit&section=17" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 10: July 21 - July 26">edit source</a><span class="mw-editsection-bracket" style="color: #555555; margin-left: 0.25em;">]</span></span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">At the beginning of the week, I felt a little discouraged after seeing this <a class="external text" href="https://lists.openstreetmap.org/pipermail/historic/2014-July/000481.html" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">post</a>in the mailing list about how nomoregrapes built a working slider over an isolated OHM map during the Hackathon at SoTM-EU. I went through the<a class="external text" href="https://github.com/nomoregrapes/ohm-highlights" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">code he posted on GitHub</a> and linked to it in the GitHub OHM issues tracker.</li>
<li style="margin-bottom: 0.1em;">After a lot of hacking and many false starts (and some help from my mentor), by the end of the week, I found the proper places in the code to add references to the {t} value for searching. My <a class="external text" href="https://github.com/JaimeLynSchatz/ohm-website/commits/render_me" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">commits</a> and <a class="external text" href="https://github.com/JaimeLynSchatz/ohm-website/tree/render_me" rel="nofollow" style="background: linear-gradient(transparent, transparent) 100% 50% no-repeat, url(data:image/svg+xml; color: #663366; padding-right: 13px; text-decoration: none;">code</a>.</li>
</ol>
<div>
<span style="color: #252525; font-family: Nimbus Sans L, Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: 14px; line-height: 21px;"><br /></span></span></div>
<div>
<span style="color: #252525; font-family: Nimbus Sans L, Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: 14px; line-height: 21px;">In less positive (and more personal) news, I got word that I was not accepted for the next cohort of the Ada Developers Academy. Keep looking here because after my OPW internship is over, I'll post my progress on my work for the <a href="https://github.com/blog/1864-third-annual-github-data-challenge" target="_blank">GitHub data challenge</a>!</span></span></div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-34486477241755383602014-07-21T12:33:00.000-07:002014-07-21T12:33:35.583-07:00In the WeedsI've been spending the last few days in the weeds of Leaflet. For the full play-by-play, you can see the <a href="https://github.com/OpenHistoricalMap/ohm-website/issues/15" target="_blank">GitHub issue</a>.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS8BsI-R4ukhomfObOpNVikTC6mF_-_2FFm9eF1-epjkStYeSr0g8al3jW8MyvNJ9X2ZMJRrI5wadCqo-_Q_1aLMMED5L7Vb8cFWalkYEncKppSnPvwZ92-CwvO8lpWigh5huOnKMcsO4r/s1600/issue_screenshot.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS8BsI-R4ukhomfObOpNVikTC6mF_-_2FFm9eF1-epjkStYeSr0g8al3jW8MyvNJ9X2ZMJRrI5wadCqo-_Q_1aLMMED5L7Vb8cFWalkYEncKppSnPvwZ92-CwvO8lpWigh5huOnKMcsO4r/s1600/issue_screenshot.png" height="360" width="640" /></a></td></tr>
<tr><td alt="screenshot of my confusion in the GitHub issue tracker" class="tr-caption" style="text-align: center;">My Very Frustrating Day</td></tr>
</tbody></table>
<br />Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-82725093162208647602014-07-16T11:38:00.001-07:002014-07-16T11:38:33.173-07:00Fastest Summer of My Life!Time seems to be moving faster and faster. I can hardly believe it's time for another two-week report! I spent a lot of time chasing bugs but I'm making baby steps forward and learning a lot about how Rails and JavaScript work in live code.<br />
<br />
<b>Week 7: June 29 - July 5</b><br />
<br />
<ul>
<li>On Monday, the OHM team had our monthly Google Hangout (which I have learned is the <a href="http://wikimaps.wikimedia.fi/events/" target="_blank">first Tuesday of the month</a>). The <a href="http://jaimelynschatz.github.io/1JulyHangoutNotes.md" target="_blank">very sketchy notes</a> are posted online.</li>
<li>At the Hangout, I was introduced to a new resource: <a href="https://commons.wikimedia.org/wiki/Commons:Wikimaps/Design#Maps_search" target="_blank">the design prototypes for Wikimaps search</a>. I'm pouring over them today. In fact, I spent an inordinate amount of time reading new material and going through archives to catch up. At every Hangout or meeting, I come across more terms and talking points that leave me confused. I'm filling in the gaps. My reading list has included:</li>
<ul>
<li><a href="http://wikimaps.wikimedia.fi/" target="_blank">reports on Zurich Hackathon</a></li>
<li><a href="https://commons.wikimedia.org/wiki/Commons:Wikimaps/Design#Maps_search" target="_blank">the Wikimaps Search Design page above</a></li>
<li><a href="http://wiki.openstreetmap.org/wiki/Vector_tiles" target="_blank">more on vector rendering of tiles</a> in preparation for my next steps</li>
<li><a href="https://meta.wikimedia.org/wiki/Requests_for_comment/How_to_deal_with_open_datasets" target="_blank">RfC for How to Deal with Open Datasets</a></li>
<li><a href="https://commons.wikimedia.org/wiki/Commons:Wikimaps" target="_blank">Overview of Wikimaps</a></li>
</ul>
<li>I am getting most anxious about continuing to work on my own branch of the OHM for so long. I would like to push to Master soon, but I need a better-working demo before I do so.</li>
<ul>
<li>I've been spending a lot of time there attempting to craft an appropriate request to get something other than a doctored error message to appear on the site when searching by year.</li>
<li>The most excellent <a href="https://www.mediawiki.org/wiki/User:Fhocutt" target="_blank">Frances Hocutt</a> introduced me to the <a href="https://www.wikidata.org/wiki/Special:ApiSandbox" target="_blank">Wikidata API Sandbox</a>. It is proving quite helpful. APIs are a whole new world to me.</li>
</ul>
<li>To appease my anxiety, I submitted a <a href="https://github.com/OpenHistoricalMap/ohm-website/pull/18" target="_blank">pull request</a> with my most up-to-date code. </li>
</ul>
<br />
<br />
<br />
<b>Week 8: July 6 - July 13</b><br />
<br />
<ul>
<li>And the code I've written was deemed not yet ready for prime time - it only works halfway at this point. I will resubmit after I get the code up to production standard.</li>
<li>After some useful <a href="https://github.com/OpenHistoricalMap/ohm-website/pull/18" target="_blank">feedback</a> on the importance of submitting a pull request with only one commit (and some pointers to how-to's on <a href="https://help.github.com/articles/about-git-rebase" target="_blank">rebasing</a> to make that happen) and the helpfulness of of including *lots* of screenshots showing the software in action, I closed the pull request.</li>
<li>One (!!) of the aspects of this project that I have found especially challenging is finding my way through the blending of JavaScript and Rails code. I spent an inordinate amount of time this week chasing down what turned out to be a Javascript syntax error that was manifesting as a Rails error.</li>
<ul>
<li>I've installed the "better_errors" gem to try to assist with errors like this - it will presumably be triggered if it is a true Rails error</li>
<li>I've also learned that if I make changes to the JavaScript portions of the code, I have to restart the server in order to see any changes. Most changes to the Ruby code automagically propagates without restarting the server.</li>
</ul>
<li>Screenshots of my progress so far are on <a href="https://github.com/OpenHistoricalMap/ohm-website/issues/15" target="_blank">GitHub</a>. Searching by year (2008 and 2009) will bring up the Burning Man map layers for those years and recenter the map to that area. Searching by any other year brings up with message that this is a work in progress. (It no longer crashes the map and brings up the dreaded Rails error screen, so there's some progress there!)</li>
</ul>
<br />
<div>
<br /></div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-89318734201574398962014-07-02T07:59:00.001-07:002014-07-02T08:00:22.448-07:00Hoping to Catch My BreathI've been so immersed in my internship that I've been neglecting this poor blog. I'm still constantly surprised at how much longer seemingly simple tasks take. I'm very slowly getting familiar with the complexity of the OHM codebase. Here's a rundown of the last two weeks:<br />
<br />
<b>Week 5: June 16 - June 22</b><br />
<br />
<ul>
<li>I spent far too long this week chasing Heroku errors in an attempt to get a live version of my time_slider2 branch online. After an IRC chat with my mentor, I cut my losses and moved on to the next task:</li>
<ul>
<li>Capturing the start_year value entered from the TimeSlider</li>
</ul>
<li>I found a new resource: <a href="https://help.openstreetmap.org/" target="_blank">a StackOverflow-style QA page for OSM</a></li>
<ul>
<li>Regrettably, this resource seems focused on map-editing users. It did help me discover when I was headed (meandering?) down the wrong track with the router file in Rails and needed to pivot and work on the router.js file.</li>
</ul>
<li>This was a real Edison week. I found a dozen different ways that don't work. Still at it.</li>
</ul>
<br />
<br />
<div>
<b>Week 6: June 23 - June 29</b></div>
<div>
<div>
<ul>
<li>Completed and submitted my mid-session evaluation.</li>
<ul>
<li>I'm not where I thought I would be at this point in the session. There is a tremendous difference between the code used in tutorials and student-level projects and the real, live code that lives out in the wild.</li>
<li>It's more than just the complexity (although the huge leap in complexity would be more than enough to stymie me!) There are unfamiliar conventions and blending of platforms that still surprise me. (I'm <b>still</b> getting caught flat-footed and discovering that the code I'm writing in Rails needs to be ripped out and put into the JavaScript portions of the code base.) I will learn.</li>
</ul>
<li>I'm having a meeting with my mentor on Tuesday, and hopefully that will give me some grounding.</li>
<li>I'm making an effort to commit more often and to push up my commits to my branch more regularly. I've been fearful about doing so but last week, I caught myself trying the same failed function twice. Having all of my commits with failures noted well help stop me from doing that in the future.</li>
<li>I made some baby steps toward success:</li>
<ul>
<li><a href="http://jaimelynschatz.github.io/BabyStepProgress.png" target="_blank">screenshot</a></li>
<li><a href="https://github.com/OpenHistoricalMap/OpenHistoricalMap/issues/4%20GitHub" target="_blank">issue tracker</a></li>
</ul>
</ul>
</div>
</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-6460776968114992802014-06-19T11:26:00.000-07:002014-06-19T11:26:47.246-07:00Bi-Weekly Summary of a Rough Two Weeks<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" style="line-height: 1.6;"><span style="color: #252525; font-size: 14px; font-weight: normal; line-height: 21px;">It's been a very busy last couple of weeks, unfortunately busy with roadblocks. Progress has been slow but I feel like I've been learning a lot about the OHM codebase and that this will help further down the line.</span></span></h3>
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_3:_June_2_to_June_9" style="line-height: 1.6;">Week 3: June 2 to June 9</span><span class="mw-editsection" style="-webkit-user-select: none; display: inline-block; font-family: sans-serif; font-size: x-small; font-weight: normal; line-height: 1em; margin-left: 1em; unicode-bidi: -webkit-isolate; vertical-align: baseline; white-space: nowrap;"><span class="mw-editsection-bracket" style="color: #555555; margin-right: 0.25em;">[</span><a class="mw-editsection-visualeditor" href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&veaction=edit&vesection=8" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 3: June 2 to June 9">edit</a><span class="mw-editsection-divider" style="color: #555555;"> | </span><a href="https://www.mediawiki.org/w/index.php?title=User:JaimeLyn/Weekly_Reports&action=edit&section=8" style="background: none; color: #0b0080; text-decoration: none;" title="Edit section: Week 3: June 2 to June 9">edit source</a><span class="mw-editsection-bracket" style="color: #555555; margin-left: 0.25em;">]</span></span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Snagged TimeSlider code from <a href="http://themusictree.net/ohm" target="_blank">themusictree.net website</a></li>
<li style="margin-bottom: 0.1em;">Continuing work on getting the slider integrated into the website and I'm learning:<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Building consensus can be hard - there are a lot of differing opinions over what the TimeSlider should look like and how it should <a href="https://github.com/OpenHistoricalMap/ohm-website/issues/15" target="_blank">function</a>.</li>
<li style="margin-bottom: 0.1em;">While I know Rails, finding one's way around a new code base can be tricky, to say the least. I'm using the <a href="http://wiki.openstreetmap.org/wiki/Rails_port/UI" target="_blank">Rails UI Wiki page</a> and this <a href="http://www.kuwata-lab.com/erubis/users-guide.02.html#tutorial" target="_blank">Guide to Erubis</a> to try to lead the way.</li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">I've been very surprised at how much of the logic of the site is in JavaScript. The other Rails projects I've dug into have been mostly Rails with a little JavaScript for buttons and hover effects. This project is a JavaScript project wrapped in a Rails app. I'm still getting a handle of its complexity.</li>
<li style="margin-bottom: 0.1em;">I'm still working on getting the slider working but I've got the text fields showing, at least.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">They needed a lot of tweaking to fix and flex to the space of the site. My branch is posted on <a href="https://github.com/JaimeLynSchatz/ohm-website/tree/first_try" target="_blank">Github</a>.</li>
<li style="margin-bottom: 0.1em;">I have hit a major roadblock with the bottom half of the slider. The divs generated in the JavaScript portions are not rendering on the site. I've used console.logs throughout, testing to be sure that the script is running but I have not yet found the problem. I'm reaching out to my mentor for some assistance for what else to try to find the answer. I've exhausted my ideas. (None thus far have worked.)</li>
</ol>
</li>
</ol>
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_4:_June_9_-_June_15">Week 4: June 9 - June 15</span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">After consultation with my mentor, we were both stumped so we reached out to the author of the slider for tips and toward the end of the week, we finally synced and got the slider working! The slider required a change from rendering a single object to iterating through a group of divs to create the sliders.</li>
<li style="margin-bottom: 0.1em;">While I was waiting to work with the slider-creator, I started investigating methods for having a form in Rails have two separate actions, depending on the button clicked. It's apparently a little non-REST-full, but there are some REST-like options:<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">using the params and embedding if statements into the controller or</li>
<li style="margin-bottom: 0.1em;">capturing the name of the button that is clicked.</li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">I also cast about for other options that might be more understandable for me (this was a plan Z option, in case I never was able to connect with the original author.) I found a few nice options including <a href="http://refreshless.com/nouislider/" target="_blank">nouislider</a>.</li>
<li style="margin-bottom: 0.1em;">Received a last-minute invite to the OHM/OSM Hangout at the <a href="http://www.sotm-eu.org/" target="_blank">@SotMEU</a> Conference on June 13th.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">The audio was very difficult to understand, but Susanna Ånäs pointed me to <a href="http://wiki.openstreetmap.org/wiki/User:SK53" target="_blank">SK53</a> and <a href="http://wiki.openstreetmap.org/wiki/User:SK53" target="_blank">Maps Matter Blog</a> I spent a lot of time reading through to get more familiar with the history of the project.</li>
</ol>
</li>
</ol>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-3854716369587161502014-05-30T20:35:00.003-07:002014-05-30T20:36:09.487-07:00A Quick Bi-Weekly Re-cap<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_1:_May_19_to_May_25">Week 1: May 19 to May 25</span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Researched history of OHM project in <a href="https://lists.openstreetmap.org/pipermail/historic/" target="_blank">the mailing list archives</a> and GitHub issues <a href="http://www.ircbeginner.com/ircinfo/ircc-commands.html" target="_blank">here</a> and <a href="http://www.irchelp.org/irchelp/irctutorial.html" target="_blank">here</a>.</li>
<li style="margin-bottom: 0.1em;">First OHM planning meeting on Google Hangouts, synopsis by Robert H. Warren posted at <a href="https://www.mediawiki.org/w/index.php?title=User/JaimeLyn/Weekly_Reports/May_22_OHM_Hangout_Synopsis&action=edit&redlink=1" target="_blank">May 22 OHM Hangout Synopsis</a></li>
<li style="margin-bottom: 0.1em;">Added to Github OHM organziation and (scarily) given push access.</li>
<li style="margin-bottom: 0.1em;">Assigned and began work on microtask of <a href="https://www.mediawiki.org/w/index.php?title=User/JaimeLyn/Weekly_Reports/May_22_OHM_Hangout_Synopsis&action=edit&redlink=1" target="_blank">investigating client side rendering</a>.</li>
</ol>
<h3 style="background: none rgb(255, 255, 255); border-bottom-style: none; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0.3em 0px 0px; overflow: hidden; padding-bottom: 0px; padding-top: 0.5em;">
<span class="mw-headline" id="Week_2:_May_26_to_June_1_-_DRAFT.2FWIP">Week 2: May 26 to June 1 - DRAFT/WIP</span></h3>
<ol style="background-color: white; color: #252525; font-family: 'Nimbus Sans L', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">Went spelunking through the <a href="https://github.com/OpenHistoricalMap/ohm-website" target="_blank">OHM Rails Port</a> to find where to place the slider (and was later introduced to (and made a small link fix within) the official <a href="https://wiki.openstreetmap.org/wiki/Rails_port/UI#All_Done.3F" target="_blank">OHM UI wiki page</a>.</li>
<li style="margin-bottom: 0.1em;">Attended <a href="http://irc.gnome.org/#OPW" target="_blank">#OPW IRC chat</a> for OPW Interns on <a href="http://www.worldtimebuddy.com/utc-to-gmt-converter" target="_blank">May 27 3PM UTC</a>.<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">We had a round of intros and some general questions</li>
<li style="margin-bottom: 0.1em;"><a href="http://www.harihareswara.net/ces.shtml" target="_blank">Sumana Harihareswara</a> is now the official "so where do we go after this is over" post-internship planning mentor</li>
<li style="margin-bottom: 0.1em;">Sumana also posted a link to a very helpful article on when to ask for help <a href="http://www.mattringel.com/2013/09/30/you-must-try-and-then-you-must-ask/" target="_blank">First You Must Try, Then You Must Ask</a>.</li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">During this week's Google Hangout meeting with my mentor, we reviewed the task from last week and discussed next steps<ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;">find a place for the TimeSlider on the OHM site</li>
<li style="margin-bottom: 0.1em;">start finding a way to make input from the TimeSlider feed into the website and request the tiles needed (this one's a higher level task and will break out into other pieces)</li>
</ol>
</li>
<li style="margin-bottom: 0.1em;">I posted mockups of two different ideas for TimeSlider placement:<br /><ol style="line-height: 1.5em; list-style-image: none; margin: 0.3em 0px 0px 3.2em; padding: 0px;">
<li style="margin-bottom: 0.1em;"><a href="http://jaimelynschatz.github.io/time_slider_mockup.png" target="_blank">within the header of the site</a></li>
<li style="margin-bottom: 0.1em;"><a href="http://jaimelynschatz.github.io/search_placement.jpg" target="_blank">attached to the search box on the site</a></li>
</ol>
</li>
</ol>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-84435586877430204952014-05-18T23:37:00.002-07:002014-05-30T20:36:28.121-07:00Seeking An Alternative to The JQuery UI SliderI've spent most of the weekend digging around in the Open Streetmap code base on <a href="https://github.com/openstreetmap/openstreetmap-website" target="_blank">GitHub</a>. If our first goal is to develop a slider that will fit in (over?) that code, I'd like to make sure that whatever we create will mesh nicely with what's already in that repository. If I'm reading this correctly, the code already includes JQuery via the jquery-rails gem. What it doesn't have is the JQuery UI. The initial slider(s) that I've been working with both depend on the JQuery UI module, so I went spelunking in the JQuery UI code.<br />
<br />
Wow.<br />
<br />
There's got to be a better way.<br />
__________________________________________________________<br />
<br />
Update (5/20/15): Yes, there is another way. Your mentor finds someone who enjoys the front end piece to build the slider!<br />
<br />
<br />Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-60800771263490177312014-05-17T22:14:00.000-07:002014-05-17T22:15:00.384-07:00Signed, Sealed, DeliveredI'm yours for the summer, Outreach Project for Women :).<br />
<br />
I just successfully (I hope ;) ) uploaded my signed contract for the OPW.Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0tag:blogger.com,1999:blog-558296908025791996.post-52686033704744173522014-05-16T21:45:00.002-07:002014-05-30T20:38:23.606-07:00Muggles, Outsiders and Empathy<div dir="ltr">
I was listening to <a href="http://hanselminutes.com/422/agile-families-techniques-for-living-with-change-with-david-starr" target="_blank">Hanselminutes</a> yesterday. (Yes, yes, I realize that's like <a href="http://harrypotter.wikia.com/wiki/Hermione_Granger" target="_blank">Hermione</a> saying she went to the library yesterday.)</div>
<div dir="ltr">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://i76.photobucket.com/albums/j13/CosetteMyriel/characters/hermione/studying.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Hermione Granger from Harry Potter studying in the library" border="0" src="http://i76.photobucket.com/albums/j13/CosetteMyriel/characters/hermione/studying.jpg" height="208" title="" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">And what <b>precisely</b> is that supposed to mean?</td></tr>
</tbody></table>
<div dir="ltr">
The guest on Hanselminutes was <a href="http://courses.scrum.org/about/david-starr/" target="_blank">David Starr</a>, who's especially known for using Agile methodologies, including at home, as part of managing his family. It was an interesting conversation and definitely worth some time. They got to the part where they needed to come up with a gender-neutral term for their better halves. (As in the person you need to explain Trello to and convince to use GitHub for the family shopping list.) Mr. Hanselman suggested the term "non-technical spouse." It doesn't exactly roll off the tongue.</div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
<a href="http://en.wikipedia.org/wiki/Muggle" target="_blank">Muggle</a> is the word I use (in my head, at least.) But not just for technical stuff. In my house, we're all rather technically-inclined, but in different areas. Most of us are gamers, one is not (full disclosure: that's me). We're interfaith with a ratio 4:1. One of us can't watch PG-13 movies. Females outnumber males. The young outnumber the old ;). No matter how you slice it or which grouping you choose, there's always going to be someone who's left out. There's always someone who feels a bit like an outsider. There's always a Muggle in our midst.</div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
That actually makes it a good thing. Because the borders around our various allegiances shift with every different topic, each of us experiences being the Outsider. And because each of us empathizes with that feeling of not knowing what everyone else is so excited about (or even understanding half of what they're saying), we all can have a lot more compassion and patience with each other. (We <b>can</b>, not that we always do. This is a real family, not a PSA or a very special episode of Jesse.)</div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
The whole world is like this, if you look hard enough. We're all the Muggle sometimes. Imagine what could happen if we all took a little more time to remember this.</div>
Jaime Lyn Schatzhttp://www.blogger.com/profile/00524893273314879890noreply@blogger.com0