<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ramblings Gibberish Code  - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-7a74f13a" type="application/json"/><link>http://ramblings-gibberishcode.disqus.com/</link><description>about fetching, interpreting, and executing</description><atom:link href="http://ramblings-gibberishcode.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 19 Dec 2011 09:23:46 -0000</lastBuildDate><item><title>Re: Apache 2.2 and Active Directory and Group restrictions</title><link>http://ramblings.gibberishcode.net/archives/apache-22-and-active-directory-and-group-restrictions/36#comment-389858053</link><description>Excellent. Glad it helped you out!&lt;br&gt;&lt;br&gt;Michael</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mwlang88</dc:creator><pubDate>Mon, 19 Dec 2011 09:23:46 -0000</pubDate></item><item><title>Re: Apache 2.2 and Active Directory and Group restrictions</title><link>http://ramblings.gibberishcode.net/archives/apache-22-and-active-directory-and-group-restrictions/36#comment-389711314</link><description>Thanks!  I was also having issues with trying to determine what the correct OU path for groups and users was in our AD configurations.   I was pretty familar with openLDAP in UNIX but was pretty lost trying to figure out how to find that correct path in Windows.  I didn't know about the cvsde tool and that looks like a pretty good way also.   I used a different tool, called dsquery.  &lt;br&gt;&lt;br&gt;I found the tool called dsquery, from command prompt&lt;br&gt;&lt;br&gt;&amp;gt; dsquery user -name Teddy*&lt;br&gt;"CN=Teddy Ronalds,OU=Dallas,OU=UserAccounts,DC=dol,DC=local"&lt;br&gt;&lt;br&gt;or for groups&lt;br&gt;&amp;gt; dsquery group -name testgroup*&lt;br&gt;"CN=TestGroupAdmins,OU=MMU,OU=Group Accounts,DC=dol,DC=local"&lt;br&gt;&lt;br&gt;Nice article though, super helpful!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Darren W</dc:creator><pubDate>Mon, 19 Dec 2011 02:03:35 -0000</pubDate></item><item><title>Re: Apache 2.2 and Active Directory and Group restrictions</title><link>http://ramblings.gibberishcode.net/archives/apache-22-and-active-directory-and-group-restrictions/36#comment-308257575</link><description>Thank you so much! You helped me a lot with my install, I've spent so much time and your posted guided me strait to the solution!&lt;br&gt;&lt;br&gt;Thanks a lot!!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric Poirier</dc:creator><pubDate>Mon, 12 Sep 2011 21:23:31 -0000</pubDate></item><item><title>Re: AT&amp;#038;T Sucks, I&amp;#8217;m finding another provider!</title><link>http://ramblings.gibberishcode.net/archives/att-sucks-im-finding-another-provider/93#comment-300083738</link><description>Just moved to Houston, TX. AT&amp;amp;T is the land line provider here. I have their DSL and land line. The DSL started off poorly, but is now running OK. The phone service however does not even work. No dial tone. This is over the same pair of wires. That's right, the same stinking pair of wires, and AT&amp;amp;T tells me that the problem is on my end. Their technicians do not know what the hell they are doing. In less then a week, everything is FUBAR. Customer service? Forget it. The automated menu is useless. It is now to the point where if I get a hold of a real AT&amp;amp;T person, I will sound like R. Lee Ermey. Extra salty.&lt;br&gt;&lt;br&gt;AT&amp;amp;T, CAN YOU DO YOUR (censored) JOB, YOU PATHETIC MAGGOT?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A P.E. in Texas</dc:creator><pubDate>Wed, 31 Aug 2011 22:08:04 -0000</pubDate></item><item><title>Re: Changing ANSI colors in Terminal on Macs</title><link>http://ramblings.gibberishcode.net/archives/changing-ansi-colors-in-terminal-on-macs/16#comment-275902217</link><description>@ Apple Inc. ;-)  Point 4 was what I wanted (Finally, edit that dark blue away!). Thanks, Michael</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Lasse</dc:creator><pubDate>Wed, 03 Aug 2011 03:19:52 -0000</pubDate></item><item><title>Re: Rails has and belongs to many (habtm) demystified</title><link>http://ramblings.gibberishcode.net/archives/rails-has-and-belongs-to-many-habtm-demystified/17#comment-159870472</link><description>Nice post. I noticed you didn't label the checkboxes for the OS, you may want to edit your post to make the UI more user-friendly. See also &lt;a href="http://giraffesoft.ca/blog/2009/04/30/label-your-checkboxes-and-radio-buttons-to-ease-your-users-woes.html" rel="nofollow"&gt;http://giraffesoft.ca/blog/200...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marc_andre</dc:creator><pubDate>Thu, 03 Mar 2011 11:38:06 -0000</pubDate></item><item><title>Re: Apache 2.2 and Active Directory and Group restrictions</title><link>http://ramblings.gibberishcode.net/archives/apache-22-and-active-directory-and-group-restrictions/36#comment-124885100</link><description>Thanks for this post. CSVDE saved my day. :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">C S Shyam Sundar</dc:creator><pubDate>Thu, 06 Jan 2011 03:49:05 -0000</pubDate></item><item><title>Re: Getting Ruby to talk to MSDE</title><link>http://ramblings.gibberishcode.net/archives/getting-ruby-to-talk-to-msde/22#comment-111109205</link><description>i have been having untold problems trying to connect to mssql. I keep getting the following errors: DBI::DatabaseError: INTERN (0) [RubyODBC]Cannot allocate SQLHENV&lt;br&gt;&lt;br&gt;but could connect with the sequel gem you mentioned so hurrah!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Mon, 13 Dec 2010 10:51:35 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-56674658</link><description>Congrats for the post. It is awesome, worth a read!&lt;br&gt;&lt;br&gt;Thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rodrigo Nicola</dc:creator><pubDate>Mon, 14 Jun 2010 13:21:07 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-55393158</link><description>"Because of Padrino’s choices, they’re also able to provide a nice set of well-rounded generators and rake tasks to give you a much nicer “out of box experience” especially suitable for the Rubyist that is still learning his way around the Ruby language.'&lt;br&gt;&lt;br&gt;My, how very different my experience has been. &lt;br&gt;&lt;br&gt;Ramaze: 'gem install ramaze'  Copy&amp;amp;Paste "simple.rb". launch it. Woo! I'm seeing a web page! Good start!&lt;br&gt;&lt;br&gt;Padrino. 'gem install padrino' padrino project myproject -d sequel, bundle install (?), padrino admin, padrino rake seed. Error. &lt;br&gt;&lt;br&gt;Yea, the one-file Ramaze launch doesn't have a database hooked up. But for "out of the box," I had *something* working almost instantly. I spent about two hours trying to get Padrino to give me a web page with data from my database. Despite some helpful advice from the #padrino IRC folks, I got stuck, and moved to Ramaze. It 'incremented' much better: I got a text-only page served, then one with dynamic Ruby variables appearing, then got the database connected. Far less frustrating, and far more productive.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Howell</dc:creator><pubDate>Tue, 08 Jun 2010 19:46:48 -0000</pubDate></item><item><title>Re: Jumpstarting your Virtual tour with Oracle VM</title><link>http://ramblings.gibberishcode.net/archives/jumpstarting-your-virtual-tour-with-oracle-vm/19#comment-53225638</link><description>You said that server virtualization technology has come a long way, that was back in 2008. Look at how things progressed today. So many options and so many errors. The internet is filled with articles on how to make all sort of servers work on all sort of operating systems.&lt;br&gt;Mathew Farney | &lt;a href="http://www.webfusion.co.uk/" rel="nofollow"&gt;UK VPS hosting&lt;/a&gt;&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mfarney</dc:creator><pubDate>Mon, 31 May 2010 07:06:52 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-52723090</link><description>Did you run the Apache Bench and the server on the same host ? because that is a less then wise decision, consider all the race conditions that can and will occur!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lowe</dc:creator><pubDate>Fri, 28 May 2010 15:33:08 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-48022133</link><description>Congrats very very nice article&lt;br&gt;&lt;br&gt;For the memory consumption (if I remember correctly) can be decreased a bit if you run the app without bundler, btw consider that you load a full stack of padrino including admin, mailer and helpers gen and you can adjust it to load only what you really need.&lt;br&gt;&lt;br&gt;The directory structure for Padrino is near to others frameworks BUT you can tweeak according to your needs.&lt;br&gt;&lt;br&gt;Thanks so much!&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DAddYE</dc:creator><pubDate>Sun, 02 May 2010 09:49:02 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-47925510</link><description>Thanks for the thoughtful reply mwlang! I will add a new branch in the future called 'advanced_with_db' which includes database hits. I absolutely see your point that a 'real-world' app would include database interaction. &lt;br&gt;&lt;br&gt;I fully admit I am not experienced with ramaze which is why I was hoping to get somebody more familiar to look over the test app and fix any issues I missed. How do I set ramaze to 'live' mode? I figured setting the environment to production would automatically use sensible defaults as is the case in sinatra/rails/padrino/merb ?&lt;br&gt;&lt;br&gt;In more_advanced, I opted for each framework to use their 'default stack' although I admit this causes confounding variables. The question becomes which is more accurate then? Are more people going to be using the framework with the default stack or is it more accurate to make all the chosen tools homogenous. The issue was with camping for instance that doesn't even support haml. However in the 'more_advanced' branch every other framework is in fact using haml so I don't think it was too misleading unless I am mistaken. I mention this caveat in the github readme.&lt;br&gt;&lt;br&gt;As regard to caching, I assume that it is enabled when I set the environment mode to production on the server. For rails/sinatra/padrino/merb I think that is all which is necessary. I would very much appreciate if you could look through the ramaze apps in the three branchs (or at least more_advanced) and let me know what I should change to be more fair. I honestly want to produce the best benchmarks possible. I will happily update all our results once the changes have been made.&lt;br&gt;&lt;br&gt;Thanks again for your feedback!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan Esquenazi</dc:creator><pubDate>Sat, 01 May 2010 16:47:17 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-47922444</link><description>Nathan, a couple of things I thought I might have detected, but I wasn't entirely sure:&lt;br&gt;&lt;br&gt;1) No ORM was involved or appeared to be involved in the "more_advanced" benchmark.  It was good to see a progression from dirt simple to more complex scenario.  For me, I usually don't involve a framework until I need to hit a database, so I stick with webby and static pages until the need for data arises, so I would've been highly interested in the more_advanced test if it had an ORM involved.&lt;br&gt;&lt;br&gt;2) Running the benchmarks with all the logging and debugging facilities of development mode turned on.  I didn't see, for example in the Ramaze project, where you specified "live" mode when benchmarking.&lt;br&gt;&lt;br&gt;3) Refrain from showing test results for haml mixed with others with erb with others with markaby.  I think that is, at best, misleading, but if you do do it, express a "this is the preferred production set up of the respective frameworks" disclaimer.  In other words, compare apples to apples at every level of the stack with the aim being that the only real variable is the framework layer.  Sinatra supports all of the templating engines, so in your case where you're representing Padrino vs. the world, configure it to go up against the best of each of the other frameworks rather than as I did by configuring Padrino to match my favored environment of Sequel and Erubis as my ORM and rendering engines of choice.  Or ensure all the frameworks chosen in the suite can run with the settings chosen for Padrino.&lt;br&gt;&lt;br&gt;4) Is caching turned on in all the right places for each of the platforms?  I know Ramaze in particular had some issues with caching haml templates and that may be turned off for Ramaze presently until the caching issues are resolved.&lt;br&gt;&lt;br&gt;Those were some of the questions I asked myself.&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mwlang88</dc:creator><pubDate>Sat, 01 May 2010 16:33:35 -0000</pubDate></item><item><title>Re: Ramaze vs. Padrino Benchmarks</title><link>http://ramblings.gibberishcode.net/archives/ramaze-vs-padrino-benchmarks/82#comment-47910979</link><description>I appreciate the new benchmarks. If it isn't too much to ask, I would love your take on where we went 'wrong' with our benchmarks: &lt;a href="http://github.com/DAddYE/web-frameworks-benchmark" rel="nofollow"&gt;http://github.com/DAddYE/web-f...&lt;/a&gt;&lt;br&gt;&lt;br&gt;We honestly want to provide the best benchmarks possible. Do you think that the applications we chose weren't a good fit? or we were not testing through apache/passenger (used a single thin process)? What caused our benchmarks to be 'off' in your opinion?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan Esquenazi</dc:creator><pubDate>Sat, 01 May 2010 15:41:35 -0000</pubDate></item><item><title>Re: Getting Ruby to talk to MSDE</title><link>http://ramblings.gibberishcode.net/archives/getting-ruby-to-talk-to-msde/22#comment-45731306</link><description>I'm interested in finding out why the &lt;a href="http://libtdsodbc.so" rel="nofollow"&gt;libtdsodbc.so&lt;/a&gt; file doesn't exists.  You commented in the section about adding the freetds odbc driver (make sure “/usr/local/lib/&lt;a href="http://libtdsodbc.so" rel="nofollow"&gt;libtdsodbc.so&lt;/a&gt;” exists first).&lt;br&gt;&lt;br&gt;Its not in my /usr/lib dir and I'm wondering if you've ran across the same problem, do you remember your fix?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">johnramos310</dc:creator><pubDate>Tue, 20 Apr 2010 17:45:47 -0000</pubDate></item><item><title>Re: Getting mouse wheel to work with KVM and Ubuntu</title><link>http://ramblings.gibberishcode.net/archives/getting-mouse-wheel-to-work-with-kvm-and-ubuntu/20#comment-41913859</link><description>Worked great!  Note that the /etc/mprobe.d/options is no longer there.  You need to put the instructions in a file with .conf extension in the modprobe.d directory instead</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">woody</dc:creator><pubDate>Sat, 27 Mar 2010 15:13:08 -0000</pubDate></item><item><title>Re: Rails has and belongs to many (habtm) demystified</title><link>http://ramblings.gibberishcode.net/archives/rails-has-and-belongs-to-many-habtm-demystified/17#comment-38729290</link><description>Thank you very much for your effort in putting this info up.  I have a love/hate relationship with rails, and I do the exact same thing every time I do habtm in rails.  I have bookmarked this page for future reference...thanks again!  (deciphering rails' convention with habtm when you have ModelThing and ModelStuff.  where do the underscores go and what/where gets pluralized? NARGH!)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mike</dc:creator><pubDate>Tue, 09 Mar 2010 16:20:33 -0000</pubDate></item><item><title>Re: Implementing Ruby jobs in the background</title><link>http://ramblings.gibberishcode.net/archives/implementing-ruby-jobs-in-the-background/38#comment-38042555</link><description>Really nice write up. I wish more people would do this sort of thing. It's great to see (mostly) full applications written up and explained. I love the code snippets, but seeing how people put things together, really helps.
&lt;br&gt;
&lt;br&gt;Scott</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">slabounty</dc:creator><pubDate>Fri, 06 Nov 2009 10:00:47 -0000</pubDate></item><item><title>Re: Changing ANSI colors in Terminal on Macs</title><link>http://ramblings.gibberishcode.net/archives/changing-ansi-colors-in-terminal-on-macs/16#comment-38036438</link><description>tks for the effort you put in here I appreciate it!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MichaellaS</dc:creator><pubDate>Tue, 21 Jul 2009 07:53:14 -0000</pubDate></item><item><title>Re: Ruby, Mysql, CentOS 5, and 64-bit</title><link>http://ramblings.gibberishcode.net/archives/ruby-mysql-centos-5-and-64-bit/23#comment-38037286</link><description>heh, nevermind, got it.
&lt;br&gt;% sudo  yum install mysql-devel
&lt;br&gt; sudo gem install mysql -- --with-mysql-config=/usr/lib64/mysql/mysql_config  
&lt;br&gt;Building native extensions.  This could take a while...
&lt;br&gt;Successfully installed mysql-2.7
&lt;br&gt;1 gem installed
&lt;br&gt;
&lt;br&gt;schweet</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">david</dc:creator><pubDate>Wed, 15 Apr 2009 04:08:23 -0000</pubDate></item><item><title>Re: Ruby, Mysql, CentOS 5, and 64-bit</title><link>http://ramblings.gibberishcode.net/archives/ruby-mysql-centos-5-and-64-bit/23#comment-38037285</link><description>% uname 
&lt;br&gt;2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
&lt;br&gt;
&lt;br&gt;% sudo gem install mysql -- --with-mysql-config=/usr/lib64/mysql/mysql_config  Building native extensions.  This could take a while...
&lt;br&gt;ERROR:  Error installing mysql:
&lt;br&gt;	ERROR: Failed to build gem native extension.
&lt;br&gt;
&lt;br&gt;/usr/bin/ruby extconf.rb install mysql -- --with-mysql-config=/usr/lib64/mysql/mysql_config
&lt;br&gt;checking for mysql_ssl_set()... no
&lt;br&gt;checking for mysql.h... no
&lt;br&gt;checking for mysql/mysql.h... no
&lt;br&gt;*** extconf.rb failed ***
&lt;br&gt;Could not create Makefile due to some reason, probably lack of
&lt;br&gt;necessary libraries and/or headers.  Check the mkmf.log file for more
&lt;br&gt;details.  You may need configuration options.
&lt;br&gt;
&lt;br&gt;Provided configuration options:
&lt;br&gt;	--with-opt-dir
&lt;br&gt;	--without-opt-dir
&lt;br&gt;	--with-opt-include
&lt;br&gt;	--without-opt-include=${opt-dir}/include
&lt;br&gt;	--with-opt-lib
&lt;br&gt;	--without-opt-lib=${opt-dir}/lib
&lt;br&gt;	--with-make-prog
&lt;br&gt;	--without-make-prog
&lt;br&gt;	--srcdir=.
&lt;br&gt;	--curdir
&lt;br&gt;	--ruby=/usr/bin/ruby
&lt;br&gt;	--with-mysql-config
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/mysql-2.7 for inspection.
&lt;br&gt;Results logged to /usr/lib64/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
&lt;br&gt;
&lt;br&gt;looks like this is killing it:
&lt;br&gt;less /usr/lib64/ruby/gems/1.8/gems/mysql-2.7/mkmf.log
&lt;br&gt;error: mysql/mysql.h: No such file or directory
&lt;br&gt;
&lt;br&gt;where/how did you get the mysql headers?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">david</dc:creator><pubDate>Wed, 15 Apr 2009 04:04:02 -0000</pubDate></item><item><title>Re: Getting mouse wheel to work with KVM and Ubuntu</title><link>http://ramblings.gibberishcode.net/archives/getting-mouse-wheel-to-work-with-kvm-and-ubuntu/20#comment-38037186</link><description>Thanks a lot, it worked perfectly! I'm not fearing the kvm switch anymore :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giovanni</dc:creator><pubDate>Tue, 07 Apr 2009 15:43:29 -0000</pubDate></item><item><title>Re: Rails has and belongs to many (habtm) demystified</title><link>http://ramblings.gibberishcode.net/archives/rails-has-and-belongs-to-many-habtm-demystified/17#comment-38036829</link><description>@Clint:  I am no expert, either.  I have never used the "rescue []" myself, so I'll have to crack open and irb session and explore some more on this one.  Thanks for the tip!  as for the check for an item existing in a list, I hear that detect is faster than include, but I have not verified.  An example:
&lt;br&gt;
&lt;br&gt;&lt;pre&gt;&lt;br&gt;&amp;lt;%= check_box_tag("browser[os_list][#{&lt;a href="http://os.id" rel="nofollow"&gt;os.id&lt;/a&gt;}]", "1", 
&lt;br&gt;             @browser.oses.detect{|d| d == os}) %&amp;gt;
&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;
&lt;br&gt;You probably know this, but one thing to watch out for when assigning new associations is to remember that the user can opt to remove existing assocations, so that's why I do the delete all.  I used to write a lot of code to detect and add/remove but found the code getting far more complicated than if I just simply cleared the list and add the chosen associations afresh.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mwlang88</dc:creator><pubDate>Fri, 27 Mar 2009 16:00:23 -0000</pubDate></item></channel></rss>
