Comments at “Rob Wilkerson” http://robwilkerson.org/comments_feed/ 2009-06-24T08:17:52-04:00 Chyrp Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-06-24:/id/118//comment_9733 2009-06-24T08:17:52-04:00 2009-06-24T08:17:52-04:00 Rob Wilkerson http://robwilkerson.org <p>helmut – Yep. I use that technique for a few project code bases that I want to share without necessarily having to commit and pull each time I change machines. Similarly, if all you want to do is just change the primary directory, you can modify that in the Dropbox preferences.</p> Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-06-24:/id/118//comment_9731 2009-06-24T07:26:44-04:00 2009-06-24T07:26:44-04:00 Helmut http://thealmightyhelmet.com <p>You do know that by using Symlinks you can just route <span class="caps">ANY</span> folder into Dropbox?!<br /> Turn to http://lifehacker.com/5154698/sync-files-and-folders-outside-your-my-dropbox-folder for an overview.</p> <p>Cheers</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-18:/id/160//comment_9517 2009-06-18T16:52:26-04:00 2009-06-18T16:52:26-04:00 Rob Wilkerson http://robwilkerson.org <p>jesse: I’m conflicted and admittedly inconsistent on this issue. Usually, when writing in case sensitive languages, I’ll use <code>lower_with_underscores</code> and <code>headlessCamelCase</code> with case insensitive languages, but especially with variable names (as opposed to class/method names), I’m not as consistent as I really should be. I kind of like both and tend to fluctuate far too much. :-)</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-18:/id/160//comment_9516 2009-06-18T16:49:54-04:00 2009-06-18T16:49:54-04:00 Rob Wilkerson http://robwilkerson.org <p>That’s awesome, Nate. Thanks for the heads up. </p> <p>Like most things it’s not such a big deal as long as you know to expect it, but I do prefer that my tools not modify entities that they are explicitly asking me to set. This is a decision that I’m glad to see reversed (even if it may cause me some short-term upgrade pain since I may have tweaked my view instead of my controller).</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-18:/id/160//comment_9502 2009-06-18T10:37:08-04:00 2009-06-18T10:37:08-04:00 Nate Abele http://cakephp.org/ <p>Hey Rob,</p> <p>Yeah, I always thought that was kind of a dumb “feature”, so it’s been reverted in 1.3. Your variables will now always show up exactly as you set them, regardless of how you pass your parameters to set().</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-18:/id/160//comment_9501 2009-06-18T09:21:14-04:00 2009-06-18T09:21:14-04:00 Jesse http://www.techno-geeks.org <p>Hump notation for the win! After switching to hump/camel notation for a couple years I will never go back to the underscore format! I can’t say I have ever ran into this simply because I always use hump notation for my variables in Cake.</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-16:/id/160//comment_9426 2009-06-16T10:32:47-04:00 2009-06-16T10:32:47-04:00 Jeff Keen http://www.lesson-share.com <p>I apologize. I did that from memory and it was wrong. The second param is for the “set” method… and you want to use “false” rather than true. No detail of this in the CakePHP <span class="caps">API</span>, but it goes like this:</p> <p>$this->set(compact(‘foo’, ‘bar’, ‘vendor_type’), false);</p> <p>Taylor Luk pointed it out in a comment on the following blog: <a href="http://myeasyscripts.com/loudbaking/beware-of-the-underscore/#comments">http://myeasyscripts.com/loudbaking/beware-of-the-underscore/#comments</a></p> <p>This was brought up in Google Groups: <a href="http://groups.google.com/group/cake-php/browse_thread/thread/a136b91f49f1befb?pli=1">http://groups.google.com/group/cake-php/browse_thread/thread/a136b91f49f1befb?pli=1</a>. It appears that it will be resolved in version 1.3. Hope this helps.</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-15:/id/160//comment_9400 2009-06-15T17:39:43-04:00 2009-06-15T17:39:43-04:00 Rob Wilkerson http://robwilkerson.org <p>Hey, Jeff – would you mind citing your source for that info? It sounds great, but I can’t find any indication of that second parameter in either <span class="caps">PHP</span>’s <code>compact()</code> function or in CakePHP’s <code>Controller::set()</code> method.</p> CakePHP: Watch Out for the compact() Function tag:robwilkerson.org,2009-06-15:/id/160//comment_9397 2009-06-15T16:39:58-04:00 2009-06-15T16:39:58-04:00 jeff keen http://www.lesson-share.com <p>compact() takes another variable that solves the underscore problem.</p> <p>$this->set( compact(‘vendor_type’), true);</p> <p>Include “true” when using variables with underscores, and then they will show up in your view as is.</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-06-12:/id/145//comment_9298 2009-06-12T19:34:33-04:00 2009-06-12T19:34:33-04:00 Rob Wilkerson http://robwilkerson.org <p>Unfortunately, I do not. I’m also cross-platform (Mac, Win, Linux) and ended up switching to LastPass from 1Password for that reason. 1Password was great, but I needed a more available solution. Before I switched, I had the same problem you’re having, but never found a solution.</p> <p>I wish I could be more help.</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-06-12:/id/145//comment_9295 2009-06-12T17:49:43-04:00 2009-06-12T17:49:43-04:00 Tom Fagerland <p>Been using this for a few weeks now on two macs and a Windows machine. Unfortunately every time I start Firefox on Windows, it deletes the 1Password extension – presumably because it’s mac only. However, I need that desperately, so I have to reinstall it every time I use a mac after using windows…<br /> Any suggestions? </p> CakePHP: Recursive Finds tag:robwilkerson.org,2009-06-12:/id/162//comment_9290 2009-06-12T15:31:12-04:00 2009-06-12T15:31:12-04:00 Chris http://visual-a.com <p>Adman, daniel h.,</p> <p>Get over it. The point is that even after all the time inbetween the last post here and now, if a diligent programmer is reading the manual they are introduced to AppModel->find() in section 3.731 where the “documentation” of its options is as follows:</p> <p>[…]<br /> ‘recursive’ => 1, //int<br /> […]<br /> ‘limit’ => n, //int<br /> ‘page’ => n, //int<br /> […]</p> <p>The diligent programmer is made to wait until 3.7.8.6 to have ‘recursive’ explained to him or her, and even then, it’s mashed together with all AppModel options documentation. Regardless of how sensitive you are, this is not good documentation. There should either be better organization of section 3.7.8 or there should be links throughout all of section 3.7 to its specific definitions.</p> <p>While artiescie’s point is obviously correct, that documenters have difficult jobs, adman’s assertion that we should all stop being “just too lazy [and] dig deeper” completely invalidates all of the documenter’s hard work in making the docs accessible in the first place.</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-06-12:/id/145//comment_9287 2009-06-12T14:58:16-04:00 2009-06-12T14:58:16-04:00 tomw <p>Take another look at XMarks (Formerly Foxmarks). Until recently I was completely resistant to the idea of syncing my bookmarks into the cloud. Until I found out that it supports the use of a “Custom Server”. So you can use your own <span class="caps">FTP</span> or WebDAV (via https even) server to do the synchronization with. Which is much more palatable to us security minded individuals (read: paranoid).</p> <p>Not to say that I dont want to continue syncing my forms, passwords, and extensions… I will however be moving the bookmarks out of the dropbox folder and back into the default profile.</p> Installing a Linux ERD tag:robwilkerson.org,2009-06-04:/id/90//comment_9175 2009-06-04T19:01:54-04:00 2009-06-04T19:01:54-04:00 AndrewBoldman http://www.google.com <p>I really liked this post. Can I copy it to my site? Thank you in advance.</p> Linux: Make Your Scroll Wheel Double Click tag:robwilkerson.org,2009-05-27:/id/94//comment_8907 2009-05-27T08:12:09-04:00 2009-05-27T08:12:09-04:00 Mark http://blog.marksimon.de/ <p>Works perfect, but unfortunately doesn’t survive an Ubuntu update. So i had to do this the second time ;) </p> <p>Thank you for posting such a detailed guide.</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-05-12:/id/145//comment_8238 2009-05-12T09:35:57-04:00 2009-05-12T09:35:57-04:00 Rob Wilkerson http://robwilkerson.org <p>Yeah, I notice a similar level of chatter if I have FF open on multiple machines. It doesn’t eat Dropbox space (as far as I can tell) because it’s the same file, nor should there be a bandwidth issue unless it’s a huge file, but it’s definitely annoying.</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-05-11:/id/145//comment_8181 2009-05-11T01:06:39-04:00 2009-05-11T01:06:39-04:00 Dave Hansen-Lange http://advomatic.com <p>This works fairly well. But places.sqlite is still being synchronized almost constantly (about every 10 seconds, I guess everytime I visit another page). This seems like too much to me. I get the impression that it will eat up my bandwidth and dropbox space. For now I think I’ll just synch the other things. </p> Deleting .svn Folders tag:robwilkerson.org,2009-04-27:/id/7//comment_7590 2009-04-27T09:20:54-04:00 2009-04-27T09:20:54-04:00 Rob Wilkerson http://robwilkerson.org <p>I have to admit that I’ve never even laid hands on Vista. My only thought would be the Registry Editor version at the top of the regedit script. I suspect it’s incremented since XP.</p> Deleting .svn Folders tag:robwilkerson.org,2009-04-26:/id/7//comment_7563 2009-04-26T18:26:04-04:00 2009-04-26T18:26:04-04:00 Ken De Volder http://nutkenz.net <p>Doesn’t seem to work in Vista.. any tips?</p> Redux: Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-04-21:/id/145//comment_7336 2009-04-21T07:11:37-04:00 2009-04-21T07:11:37-04:00 Roger <p>Once the technique is fully refined, wouldn’t it be great to package it into a Firefox extension? Is there anyone here who would know how to do that??</p>