<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>dospuntocero</title><generator>Tumblr (3.0; @2puntocero)</generator><link>http://blog.dospuntocero.com.mx/</link><item><title>Rails 3 + Metal</title><description>&lt;p&gt;There has been a lot of talk about the new changes being introduced into rails 3, trying to upgrade current applications I found out a recipe for upgrading your Metal code:&lt;/p&gt;
&lt;p&gt;The first thing is to change&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; line-height: 16px; font-size: 12px; white-space: pre;"&gt;&lt;span style="line-height: 1.4em; color: #0086b3; padding: 0px; margin: 0px;" class="nb"&gt;require&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;(&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #008080; padding: 0px; margin: 0px;" class="no"&gt;File&lt;/span&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;.&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="n"&gt;dirname&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;(&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #999999; padding: 0px; margin: 0px;" class="bp"&gt;__FILE__&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;)&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;+&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;”/../../config/environment”&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;)&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="k"&gt;unless&lt;/span&gt; &lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="n"&gt;defined?&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;(&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #008080; padding: 0px; margin: 0px;" class="no"&gt;Rails&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;into&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; line-height: 16px; font-size: 12px; white-space: pre;"&gt;&lt;span style="line-height: 1.4em; color: #0086b3; padding: 0px; margin: 0px;" class="nb"&gt;require&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #008080; padding: 0px; margin: 0px;" class="no"&gt;File&lt;/span&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;.&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="n"&gt;expand_path&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;(&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s1"&gt;’../../../config/environment’&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;,&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #999999; padding: 0px; margin: 0px;" class="bp"&gt;__FILE__&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;)&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="k"&gt;unless&lt;/span&gt; &lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="n"&gt;defined?&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;(&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #008080; padding: 0px; margin: 0px;" class="no"&gt;Rails&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This way using the new system for the absolute path to your app.&lt;/p&gt;
&lt;p&gt;Next depending on the function of your app you should change&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; line-height: 16px; font-size: 12px; white-space: pre;"&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;[&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #009999; padding: 0px; margin: 0px;" class="mi"&gt;404&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;,&lt;/span&gt; &lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;{&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“Content-Type”&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;=&gt;&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“text/html”&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;},&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;[&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“Not Found”&lt;/span&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;]]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;in to&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; line-height: 16px; font-size: 12px; white-space: pre;"&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;[&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #009999; padding: 0px; margin: 0px;" class="mi"&gt;404&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;,&lt;/span&gt; &lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;{&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“Content-Type”&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;=&gt;&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“text/html”&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;,&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“X-Cascade”&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;=&gt;&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“pass”&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;},&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;[&lt;/span&gt;&lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s2"&gt;“Not Found”&lt;/span&gt;&lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;]]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This ”X-Cascade” =&gt; “pass” allows for the call to keep going through your routes and see if any other catches this call.&lt;/p&gt;
&lt;p&gt;Last is to declare your action on the router, this wasn’t necessary on Rails 2 since Metal would go through Rack before Rails, but now that Rails is an actual Rack app, we need to express all of our routes.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; line-height: 16px; font-size: 12px; white-space: pre;"&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="n"&gt;match&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #dd1144; padding: 0px; margin: 0px;" class="s1"&gt;‘/metal_path’&lt;/span&gt;&lt;span style="line-height: 1.4em; padding: 0px; margin: 0px;" class="p"&gt;,&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #990073; padding: 0px; margin: 0px;" class="ss"&gt;:to&lt;/span&gt; &lt;span style="line-height: 1.4em; font-weight: bold; padding: 0px; margin: 0px;" class="o"&gt;=&gt;&lt;/span&gt; &lt;span style="line-height: 1.4em; color: #008080; padding: 0px; margin: 0px;" class="no"&gt;MetalClass&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/751409956</link><guid>http://blog.dospuntocero.com.mx/post/751409956</guid><pubDate>Tue, 29 Jun 2010 19:28:00 -0400</pubDate></item><item><title>La Vitrine</title><description>&lt;p&gt;Moment Factory developed the interactive system and designed the interactive content.&lt;/p&gt;
&lt;p&gt;The installation includes tracking devices and low-resolution LED displays and is capable of showing many different visualizations based on the presence and movement of people.&lt;/p&gt;
&lt;p&gt;
&lt;object width="640" height="385"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/6xriYUzJ9Ls&amp;hl=en_US&amp;fs=1&amp;"&gt;
&lt;param name="allowFullScreen" value="true"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;
&lt;embed src="http://www.youtube.com/v/6xriYUzJ9Ls&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Visitors can interact with the installation every night from 7 PM to 11 PM.&lt;br/&gt;&lt;strong&gt;La Vitrine&lt;/strong&gt;&lt;br/&gt;&lt;em&gt;145, rue Sainte-Catherine Ouest, Montréal.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/492073238</link><guid>http://blog.dospuntocero.com.mx/post/492073238</guid><pubDate>Fri, 02 Apr 2010 19:57:50 -0400</pubDate></item><item><title>go: flag</title><description>&lt;a href="http://golang.tumblr.com/post/439732032/flag"&gt;go: flag&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;Checking out the &lt;a href="http://golang.org/pkg/flag/#PrintDefaults"&gt;flag package&lt;/a&gt;, Go’s built in command line argument parser. Here’s a simple example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// flag.go
package main import ( "flag" "fmt"
) var code *int = flag.Int("areacode", 716, "give me your codes") func main() { fmt.Printf("Testing out flags!\n"); flag.Parse();...&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;</description><link>http://blog.dospuntocero.com.mx/post/439772385</link><guid>http://blog.dospuntocero.com.mx/post/439772385</guid><pubDate>Wed, 10 Mar 2010 17:44:59 -0500</pubDate></item><item><title>Rails Tutorial</title><description>&lt;a href="http://www.railstutorial.org/"&gt;Rails Tutorial&lt;/a&gt;: &lt;p&gt;For all new comers to RAILS please do check it out.&lt;/p&gt;
&lt;p&gt;Si eres nuevo en RAILS, este tutorial es el mejor.&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/288329544</link><guid>http://blog.dospuntocero.com.mx/post/288329544</guid><pubDate>Thu, 17 Dec 2009 22:02:07 -0500</pubDate></item><item><title>Tokio Cabinet</title><description>&lt;p&gt;Tokyo Cabinet resources&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;a href="http://1978th.net/tokyocabinet/index.html"&gt;http://1978th.net/tokyocabinet/index.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;official page and presentation (really dense)&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;a href="http://1978th.net/tokyocabinet/rubydoc/"&gt;http://1978th.net/tokyocabinet/rubydoc/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;cabinet rdoc&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;a href="http://openwferu.rubyforge.org/tokyo.html"&gt;http://openwferu.rubyforge.org/tokyo.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;install instructions, best way to learn is to play in the mud&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;a href="http://www.igvita.com/2009/02/13/tokyo-cabinet-beyond-key-value-store/"&gt;http://www.igvita.com/2009/02/13/tokyo-cabinet-beyond-key-value-store/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;relly good overview and performance analys of ruby Tokyo libraries&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/286818485</link><guid>http://blog.dospuntocero.com.mx/post/286818485</guid><pubDate>Wed, 16 Dec 2009 20:44:23 -0500</pubDate></item><item><title>Video de mi presentación para el sitio Pio.la sobre Mongo...</title><description>&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="325" id="utv358138" name="utv_n_977073"&gt;&lt;param name="flashvars" value="autoplay=false" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="src" value="http://www.ustream.tv/flash/video/2536578" /&gt;&lt;embed flashvars="autoplay=false" width="400" height="325" allowfullscreen="true" allowscriptaccess="always" id="utv358138" name="utv_n_977073" src="http://www.ustream.tv/flash/video/2536578" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Video de mi presentación para el sitio Pio.la sobre Mongo Mapper&lt;/p&gt;
&lt;script type="text/javascript"&gt;&lt;/script&gt;</description><link>http://blog.dospuntocero.com.mx/post/240853945</link><guid>http://blog.dospuntocero.com.mx/post/240853945</guid><pubDate>Wed, 11 Nov 2009 19:39:00 -0500</pubDate></item><item><title>Ideas</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_ksx13qqrfk1qzm8wfo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Ideas&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/239551523</link><guid>http://blog.dospuntocero.com.mx/post/239551523</guid><pubDate>Tue, 10 Nov 2009 17:57:24 -0500</pubDate></item><item><title>This is the most accurate representation of what we do on our...</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_kqt6egfYAw1qzm8wfo1_r1_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;This is the most accurate representation of what we do on our business.&lt;/p&gt;
&lt;p&gt;Taken from &lt;a href="http://blog.slicedbreaddesign.com/"&gt;&lt;a href="http://blog.slicedbreaddesign.com/"&gt;http://blog.slicedbreaddesign.com/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/201300297</link><guid>http://blog.dospuntocero.com.mx/post/201300297</guid><pubDate>Wed, 30 Sep 2009 19:54:00 -0400</pubDate></item><item><title>Photo</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_kp097ykmms1qzm8wfo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://blog.dospuntocero.com.mx/post/172438888</link><guid>http://blog.dospuntocero.com.mx/post/172438888</guid><pubDate>Wed, 26 Aug 2009 18:31:10 -0400</pubDate></item><item><title>New design</title><description>&lt;p&gt;&lt;p class="MsoNormal"&gt;Welcome to our newly redesigned webpage, we feel that this new look suits us good. As we strive to become better we think that our customer relationship should evolve just as our technologies. That is why we’re launching some new exciting for future and current customers.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Project status and percentage of completion&lt;/b&gt;. Clients will be able to check online for stories completed via Pivotal Tracker and get a sense of the speed of the project.&lt;/li&gt;
&lt;li&gt;
&lt;b&gt;Bug tracker&lt;/b&gt;. Submit a form for found bugs or request new features.&lt;/li&gt;
&lt;li&gt;
&lt;b&gt;Pay for services onlin&lt;/b&gt;&lt;b&gt;e&lt;/b&gt;. Pay your hosting/services bills through our automated online system with a credit card or PayPal account. Download past invoices and/or facturas&lt;/li&gt;
&lt;/ul&gt;
We are working on some other cool new features that will be rolling in the coming months.&lt;/p&gt;</description><link>http://blog.dospuntocero.com.mx/post/167077859</link><guid>http://blog.dospuntocero.com.mx/post/167077859</guid><pubDate>Thu, 20 Aug 2009 00:44:30 -0400</pubDate></item></channel></rss>
