Comments on “Dropbox is Smart” http://robwilkerson.org/2008/11/29/dropbox-is-smart/feed 2010-02-24T09:04:36-04:00 Chyrp Learning CakePHP: Foreign Key Constraint Violation tag:robwilkerson.org,2010-02-24:/id/167//comment_17245 2010-02-24T09:04:36-04:00 2010-02-24T09:04:36-04:00 Rob Wilkerson http://robwilkerson.org <p>Readability. <code>locations</code> is really just a lookup table. Whenever possible, I like to be able to open a table that uses lookup data and have it be meaningful without requiring the extra step of writing <span class="caps">SQL</span> to join the lookup. In this case, opening the <code>events</code> table would show a location like <code>MAINTENT</code>. Just by looking at the event record, I can tell where it’s happening.</p> <p>You’re right that Cake may be smart enough if it was an <code>int</code>, but I use <span class="caps">UUID</span>s. That’s just a <code>char</code> datatype so it may not behave any differently. It’s a good point to test, though. I may try it.</p> Learning CakePHP: Foreign Key Constraint Violation tag:robwilkerson.org,2010-02-24:/id/167//comment_17235 2010-02-24T06:11:56-04:00 2010-02-24T06:11:56-04:00 Dieter_be http://www.kangaroot.net <p>Why do you use the varchar datatype?<br /> I don’t allow users to enter “no relation” so I’m not sure, but if you use a proper datatype for id’s and foreign keys (like unsigned int), Cake might be smart and use null instead of an empty string for unset FK’s.<br /> If it doesn’t do that, I suggest to file a bug report.</p> Change Key Bindings in Pidgin tag:robwilkerson.org,2010-02-22:/id/114//comment_17139 2010-02-22T18:04:29-04:00 2010-02-22T18:04:29-04:00 K1 <p>OK. I fixed it. the point was “System->Preferences->Appearance:Interface:Editable Menu Shortcut Keys”<br /> I was wandering around and to see what this option is, I just checked it. Then probably I have assigned the shortcut key for “enable logging” to be the letter a, by mousing over this menu option and simultaneously pressing “a”.<br /> Now it works.</p> Change Key Bindings in Pidgin tag:robwilkerson.org,2010-02-22:/id/114//comment_17138 2010-02-22T17:56:17-04:00 2010-02-22T17:56:17-04:00 K1 <p>Hey, I have exactly the same problem with “A” and it stands for Enable “Logging”!<br /> I did the same thing, but it doesn’t work. I realized that I should have <span class="caps">GTK</span> read my shortcut keys:<br /> http://developer.pidgin.im/wiki/Using%20Pidgin#HowdoIbindkeystrokestomenuitems<br /> But I don’t know how to do that!<br /> Do you have any idea, what can I do?<br /> (For the time being I turn on the CapsLock and start the chat while I’ve pressed the <span class="caps">SHIFT</span> button!)</p> MacBook Pro Touchpad Tricks tag:robwilkerson.org,2010-02-13:/id/95//comment_16777 2010-02-13T18:23:47-04:00 2010-02-13T18:23:47-04:00 newmacbookpro <p>On macbook pro if you open system preferences -> trackpad it will show you a video for each shortcut and what each does. For example, three fingers on the trackpad scrolling left or right navigates forward or back in the browser…</p> Help, Twitter Style tag:robwilkerson.org,2010-02-07:/id/53//comment_16501 2010-02-07T09:51:14-04:00 2010-02-07T09:51:14-04:00 Fuck yeah, Chyrp! http://fuckyeahchyrp.tumblr.com/ <p>Beautiful shot. lovely bird. Happy weekend!</p> Driving in Bangalore tag:robwilkerson.org,2010-02-07:/id/134//comment_16412 2010-02-07T09:20:45-04:00 2010-02-07T09:20:45-04:00 Fuck yeah, Chyrp! http://fuckyeahchyrp.tumblr.com/ <p>And thank you for the reminder that God is good!</p> Tie Goes to the Hockey Mom tag:robwilkerson.org,2010-02-07:/id/126//comment_16134 2010-02-07T08:20:42-04:00 2010-02-07T08:20:42-04:00 Fuck yeah, Chyrp! http://fuckyeahchyrp.tumblr.com/ <p>Maravillosa lechucita y ese fondo divino. Feliz fin de semana.</p> CakePHP: Recursive Finds tag:robwilkerson.org,2010-02-04:/id/162//comment_16044 2010-02-04T11:01:29-04:00 2010-02-04T11:01:29-04:00 Chris C2 http://www.ipcoders.co.uk <p><span class="caps">OMG</span>! I agree the docs <span class="caps">ARE</span> confusing – In most cases the examples that explain the point in questions is very basic – and for a begginner this does not help.</p> <p>Take the example of recursive finds, the example isnt that clear, well I guess it is if you read:</p> <p>http://book.cakephp.org/view/439/recursive</p> <p>however what isnt that clear is specifically what tables does the example use, but more importantly their relationships.</p> CakePHP Workshop Review tag:robwilkerson.org,2010-01-25:/id/100//comment_15644 2010-01-25T00:47:18-04:00 2010-01-25T00:47:18-04:00 AmeliaLZ <p>It’s not so simply to bring a not bad essay paper, essentially if you are engaged. I consult you to set <a href=" http://www.qualityessay.com">buy essay</a> and to be spare from distrust that your work will be done by paper writing services</p> Learning Ruby on Rails: File Upload tag:robwilkerson.org,2010-01-16:/id/179//comment_15451 2010-01-16T04:25:42-04:00 2010-01-16T04:25:42-04:00 Varun <p>Thanks for very helpful tutorial. I had been looking around the web to find a tutorial on rails file uploads that don’t use any plugins…so this was perfect.</p> Intrepid Ibex VPN Connection Fails tag:robwilkerson.org,2010-01-14:/id/153//comment_15394 2010-01-14T10:11:56-04:00 2010-01-14T10:11:56-04:00 software development in Surrey http://www.geeks.ltd.uk/Services/software-product-development.html <p>Humm… interesting,<br /> I dont like the idea that there is just so mnay different versions of linux and ubuntu, i wouldnt have a clue about which one to go for,<br /> Thanks for bringing this up</p> Linux: Make Your Scroll Wheel Double Click tag:robwilkerson.org,2010-01-02:/id/94//comment_15011 2010-01-02T17:23:40-04:00 2010-01-02T17:23:40-04:00 r_ <p>Thanks, Rob. Applying the knowledge I gained from your excellent explanation, and after looking at the help listing for xte, I was able to make any button do things like go back/forward between browser pages, go home/end of page, pageup/pagedown, etc. If only all tips on help forums were as clear as yours…</p> <p>Thanks again</p> Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-12-30:/id/118//comment_14790 2009-12-30T09:34:44-04:00 2009-12-30T09:34:44-04:00 Rob Wilkerson http://robwilkerson.org <p>I do this – or a “light” version of this – for lots of apps (Komodo Edit, Apache, bash, git, etc.). I’m not sure I understand why you had to add <code>firefox-bin</code>, but I’m glad it’s working for you.</p> Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-12-30:/id/118//comment_14779 2009-12-30T00:13:33-04:00 2009-12-30T00:13:33-04:00 arthur <p>Great idea!</p> <p>I would love to try this other programs!</p> <p>I had to add firefox-bin to the terminal command to get it to open properly.</p> <p>Does anyone know if you add another account using the same technique it will write over/erase all of the synced files that are in the drop box?</p> Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-12-28:/id/118//comment_14739 2009-12-28T10:29:41-04:00 2009-12-28T10:29:41-04:00 Rob Wilkerson http://robwilkerson.org <p>You have to choose to use any profile that is already in use. Try quitting Firefox and restarting with the <code>-p</code> parameter.</p> Synchronizing Firefox Through Dropbox tag:robwilkerson.org,2009-12-28:/id/118//comment_14738 2009-12-28T09:37:46-04:00 2009-12-28T09:37:46-04:00 climbatize92 <p>My main profile is on windows & I did all like you’ve writen.<br /> When I run firefox with parrametre “-p” on linux and I choose “dropbox” profile, I have this error message:</p> <p>Firefox cannot use the profile “dropbox” because it is in use.</p> <p>To continue, close the running instance of Firefox or choose a different profile.</p> Enhancing SuperDuper Backups tag:robwilkerson.org,2009-12-25:/id/180//comment_14633 2009-12-25T07:53:04-04:00 2009-12-25T07:52:49-04:00 Rob Wilkerson http://robwilkerson.org <p>nasedil_genio: Sure. All I ask is that you credit properly. Also, I am on Twitter: <a href="http://twitter.com/robwilkerson">@robwilkerson</a></p> Enhancing SuperDuper Backups tag:robwilkerson.org,2009-12-25:/id/180//comment_14631 2009-12-25T06:00:11-04:00 2009-12-25T06:00:11-04:00 Nasedil_Genio http://polprav.blogspot.com/ <p>I want to quote your post in my blog. It can?<br /> And you et an account on Twitter?</p> MacBook Pro Touchpad Tricks tag:robwilkerson.org,2009-12-11:/id/95//comment_14382 2009-12-11T09:45:26-04:00 2009-12-11T09:45:26-04:00 Erik <p>i know some other ‘tricks’, not just scrolling, although i am not sure what kind of mac they will work for, I have the latest version of the macbook pro, here are some tricks i have found.</p> <p>1) place one finger on the pad around where u would click, but dont actually click, with 3 other fingers, slide them from the side to above your first finger, and if you have tabs open on a browser, it allows u to move back and fourth between them. </p> <p>2) similar to the first one put ur finger above the clicking area, but dont click, with the three other fingers, move them in more of an upwards movement, this will push any windows you have open off the screen. do the same but move down to get them back</p>