From info at lojic.com Tue Nov 9 19:00:04 2010 From: info at lojic.com (Brian Adkins) Date: Tue, 9 Nov 2010 19:00:04 -0500 Subject: [raleigh.rb] Off-topic Time Machine / Spotlight issue Message-ID: <6A488EEE-2A7F-49A1-B7B3-A69084D3B4AC@lojic.com> Sorry for the off-topic post, but I know there are a *lot* of Mac users on the list, and I'm curious if anyone has run into this. I began an initial Time Machine backup to a new drive today. It reported 112.8 GB of backup data. When it had completed 103 GB of 112.8 GB, I noticed an mds process using a lot of CPU, so I thought that spotlight indexing might be slowing down the backup. I went into the spotlight preference pane and added my backup drive to the "don't index" list. Immediately the backup process went to 0% CPU and the mds began using even more CPU. This continued for a while and then Time Machine reported "backup complete" and the backup is ~ 103 GB in size :( So it appears that it just skipped the remaining files. I rebooted the machine and did another backup, but it only performed a small additional backup. I've also done the following on both my / and / Volumes/: sudo mdutil -E / sudo mdutil -E /Volumes/ as well as sudo mdutil -i on / etc. I haven't been able to find anything that will compare my disk with the backup to see if the backup is complete. Has anyone come across such a utility? It's a little disconcerting wondering which ~ 10 GB haven't been backed up. I'm also curious about Time Machine internals - how does it determine what to backup? does it cache an index of files that have been backed up? can this info be reset? etc. My only thought is to rename the backup folder, do another initial backup and remove the old backup, but that's another 5-6 hours. Brian -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ From mikehale at gmail.com Wed Nov 10 11:53:32 2010 From: mikehale at gmail.com (Michael Hale) Date: Wed, 10 Nov 2010 11:53:32 -0500 Subject: [raleigh.rb] Off-topic Time Machine / Spotlight issue In-Reply-To: <6A488EEE-2A7F-49A1-B7B3-A69084D3B4AC@lojic.com> References: <6A488EEE-2A7F-49A1-B7B3-A69084D3B4AC@lojic.com> Message-ID: I think time machine backs up to a sparse disk image which you could manually mount. Then you could use a tool to compare the contents of your backup volume with your current system. Perhaps rsync -av --dry-run? On Tue, Nov 9, 2010 at 7:00 PM, Brian Adkins wrote: > Sorry for the off-topic post, but I know there are a *lot* of Mac users on > the list, and I'm curious if anyone has run into this. > > I began an initial Time Machine backup to a new drive today. It reported > 112.8 GB of backup data. When it had completed 103 GB of 112.8 GB, I noticed > an mds process using a lot of CPU, so I thought that spotlight indexing > might be slowing down the backup. I went into the spotlight preference pane > and added my backup drive to the "don't index" list. Immediately the backup > process went to 0% CPU and the mds began using even more CPU. This continued > for a while and then Time Machine reported "backup complete" and the backup > is ~ 103 GB in size :( > > So it appears that it just skipped the remaining files. I rebooted the > machine and did another backup, but it only performed a small additional > backup. I've also done the following on both my / and > /Volumes/: > > sudo mdutil -E / > sudo mdutil -E /Volumes/ > > as well as sudo mdutil -i on / ?etc. > > I haven't been able to find anything that will compare my disk with the > backup to see if the backup is complete. Has anyone come across such a > utility? It's a little disconcerting wondering which ~ 10 GB haven't been > backed up. > > I'm also curious about Time Machine internals - how does it determine what > to backup? does it cache an index of files that have been backed up? can > this info be reset? etc. > > My only thought is to rename the backup folder, do another initial backup > and remove the old backup, but that's another 5-6 hours. > > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From chris.tonog at gmail.com Wed Nov 10 14:24:07 2010 From: chris.tonog at gmail.com (chris tonog) Date: Wed, 10 Nov 2010 14:24:07 -0500 Subject: [raleigh.rb] Routing question in Camping Framework Message-ID: Hi there, First time poster, long time lurker. I'm trying to create a lightweight tool for work that allows a user to enter a tracking number, and then be routed to that tracking number page. Since we use different shipping services, we have different tracking numbers, and it would be easier to enter the tracking number on one site as opposed to going to different sites. I'm currently using the camping framework to build it as Rails seems a bit too much to solve the problem. I'm planning on using regular expressions to determine what type of tracking number it is and route to the specific URL with the inputted tracking number interpolated as the tracking number value being GET'd. My question is, where would I put the logic for determining the type of tracking number? Since it's simply being routed do I put this in the controller, or do I need to create a model? Here's what I have so far: Camping.goes :Tracking module Tracking::Controllers class Index < R '/' def get render :start end end class Shipping def get(tracking_number) redirect "http:// http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=#{tracking_number} " end end end module Tracking::Views def start p "enter a tracking number" form :action => R(Shipping), :method => :get do input :type => "text", :name => "tracking number" br br input :type => "submit", :value => "Track!" end end end Any help would be appreciated. Thanks! Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lojic.com Wed Nov 10 17:39:26 2010 From: info at lojic.com (Brian Adkins) Date: Wed, 10 Nov 2010 17:39:26 -0500 Subject: [raleigh.rb] Off-topic Time Machine / Spotlight issue In-Reply-To: References: <6A488EEE-2A7F-49A1-B7B3-A69084D3B4AC@lojic.com> Message-ID: <81E1296D-AD44-49F4-B035-7AB369D3B924@lojic.com> Thanks Michael. I think the comparison will have a lot of "noise" due to the Time Machine image not having operating system files, etc. I looked at a previous backup on a different disk and it was about 103 GB also, so I *think* I just happened to stop the spotlight indexing precisely at the end of the backup. So the combination of Time Machine reporting 112.8 GB were to be backed up instead of the actual 103 GB and my impeccable timing of stopping spotlight appears to be just an incredible coincidence! On Nov 10, 2010, at 11:53 AM, Michael Hale wrote: > I think time machine backs up to a sparse disk image which you could > manually mount. Then you could use a tool to compare the contents of > your backup volume with your current system. Perhaps rsync -av > --dry-run? > > On Tue, Nov 9, 2010 at 7:00 PM, Brian Adkins wrote: >> Sorry for the off-topic post, but I know there are a *lot* of Mac >> users on >> the list, and I'm curious if anyone has run into this. >> >> I began an initial Time Machine backup to a new drive today. It >> reported >> 112.8 GB of backup data. When it had completed 103 GB of 112.8 GB, >> I noticed >> an mds process using a lot of CPU, so I thought that spotlight >> indexing >> might be slowing down the backup. I went into the spotlight >> preference pane >> and added my backup drive to the "don't index" list. Immediately >> the backup >> process went to 0% CPU and the mds began using even more CPU. This >> continued >> for a while and then Time Machine reported "backup complete" and >> the backup >> is ~ 103 GB in size :( >> >> So it appears that it just skipped the remaining files. I rebooted >> the >> machine and did another backup, but it only performed a small >> additional >> backup. I've also done the following on both my / and >> /Volumes/: >> >> sudo mdutil -E / >> sudo mdutil -E /Volumes/ >> >> as well as sudo mdutil -i on / etc. >> >> I haven't been able to find anything that will compare my disk with >> the >> backup to see if the backup is complete. Has anyone come across >> such a >> utility? It's a little disconcerting wondering which ~ 10 GB >> haven't been >> backed up. >> >> I'm also curious about Time Machine internals - how does it >> determine what >> to backup? does it cache an index of files that have been backed >> up? can >> this info be reset? etc. >> >> My only thought is to rename the backup folder, do another initial >> backup >> and remove the old backup, but that's another 5-6 hours. >> >> Brian >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From tj at stank.us Thu Nov 11 00:00:40 2010 From: tj at stank.us (TJ Stankus) Date: Wed, 10 Nov 2010 21:00:40 -0800 Subject: [raleigh.rb] Routing question in Camping Framework In-Reply-To: References: Message-ID: Have you considered Sinatra? It's probably the best supported of the Ruby micro web frameworks. -TJ On Wed, Nov 10, 2010 at 11:24 AM, chris tonog wrote: > Hi there, > > First time poster, long time lurker. > > I'm trying to create a lightweight tool for work that allows a user to > enter a tracking number, and then be routed to that tracking number page. > Since we use different shipping services, we have different tracking > numbers, and it would be easier to enter the tracking number on one site as > opposed to going to different sites. > > I'm currently using the camping framework to build it as Rails seems a bit > too much to solve the problem. I'm planning on using regular expressions to > determine what type of tracking number it is and route to the specific URL > with the inputted tracking number interpolated as the tracking number value > being GET'd. My question is, where would I put the logic for determining the > type of tracking number? Since it's simply being routed do I put this in the > controller, or do I need to create a model? > > Here's what I have so far: > > Camping.goes :Tracking > > > module Tracking::Controllers > > class Index < R '/' > > def get > > render :start > > end > > end > > > > class Shipping > > def get(tracking_number) > > redirect "http:// > http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=#{tracking_number} > " > > end > > end > > end > > > module Tracking::Views > > def start > > p "enter a tracking number" > > form :action => R(Shipping), :method => :get do > > input :type => "text", :name => "tracking number" > > br > > br > > input :type => "submit", :value => "Track!" > > end > > end > > end > > Any help would be appreciated. Thanks! > > Chris > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.tonog at gmail.com Thu Nov 11 10:47:37 2010 From: chris.tonog at gmail.com (chris tonog) Date: Thu, 11 Nov 2010 10:47:37 -0500 Subject: [raleigh.rb] Routing question in Camping Framework In-Reply-To: References: Message-ID: Hi TJ, I did try Sinatra (it was my first choice), but I didn't know how to incorporate routing logic (if the string inputted is in a certain format, route to this URL) as it wasn't what I was used to (MVC). Camping was MVC, except without the extra stuff Rails comes with. I'll take another look at it though. Thanks! Chris On Thu, Nov 11, 2010 at 12:00 AM, TJ Stankus wrote: > Have you considered Sinatra? It's probably the best supported of the Ruby > micro web frameworks. > > -TJ > > On Wed, Nov 10, 2010 at 11:24 AM, chris tonog wrote: > >> Hi there, >> >> First time poster, long time lurker. >> >> I'm trying to create a lightweight tool for work that allows a user to >> enter a tracking number, and then be routed to that tracking number page. >> Since we use different shipping services, we have different tracking >> numbers, and it would be easier to enter the tracking number on one site as >> opposed to going to different sites. >> >> I'm currently using the camping framework to build it as Rails seems a bit >> too much to solve the problem. I'm planning on using regular expressions to >> determine what type of tracking number it is and route to the specific URL >> with the inputted tracking number interpolated as the tracking number value >> being GET'd. My question is, where would I put the logic for determining the >> type of tracking number? Since it's simply being routed do I put this in the >> controller, or do I need to create a model? >> >> Here's what I have so far: >> >> Camping.goes :Tracking >> >> >> module Tracking::Controllers >> >> class Index < R '/' >> >> def get >> >> render :start >> >> end >> >> end >> >> >> >> class Shipping >> >> def get(tracking_number) >> >> redirect "http:// >> http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=#{tracking_number} >> " >> >> end >> >> end >> >> end >> >> >> module Tracking::Views >> >> def start >> >> p "enter a tracking number" >> >> form :action => R(Shipping), :method => :get do >> >> input :type => "text", :name => "tracking number" >> >> br >> >> br >> >> input :type => "submit", :value => "Track!" >> >> end >> >> end >> >> end >> >> Any help would be appreciated. Thanks! >> >> Chris >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimmy at jimmythrasher.com Thu Nov 11 10:54:26 2010 From: jimmy at jimmythrasher.com (Jimmy Thrasher) Date: Thu, 11 Nov 2010 10:54:26 -0500 Subject: [raleigh.rb] Routing question in Camping Framework In-Reply-To: References: Message-ID: Since you're using a form, if you had: get '/' do #render your form here end get '/s' do #get form params through the params variable here, probably end And your form could GET '/s' Jimmy On Thu, Nov 11, 2010 at 10:47 AM, chris tonog wrote: > Hi TJ, > > I did try Sinatra (it was my first choice), but I didn't know how to > incorporate routing logic (if the string inputted is in a certain format, > route to this URL) as it wasn't what I was used to (MVC). Camping was MVC, > except without the extra stuff Rails comes with. I'll take another look at > it though. > > Thanks! > > Chris > > On Thu, Nov 11, 2010 at 12:00 AM, TJ Stankus wrote: > >> Have you considered Sinatra? It's probably the best supported of the Ruby >> micro web frameworks. >> >> -TJ >> >> On Wed, Nov 10, 2010 at 11:24 AM, chris tonog wrote: >> >>> Hi there, >>> >>> First time poster, long time lurker. >>> >>> I'm trying to create a lightweight tool for work that allows a user to >>> enter a tracking number, and then be routed to that tracking number page. >>> Since we use different shipping services, we have different tracking >>> numbers, and it would be easier to enter the tracking number on one site as >>> opposed to going to different sites. >>> >>> I'm currently using the camping framework to build it as Rails seems a >>> bit too much to solve the problem. I'm planning on using regular expressions >>> to determine what type of tracking number it is and route to the specific >>> URL with the inputted tracking number interpolated as the tracking number >>> value being GET'd. My question is, where would I put the logic for >>> determining the type of tracking number? Since it's simply being routed do I >>> put this in the controller, or do I need to create a model? >>> >>> Here's what I have so far: >>> >>> Camping.goes :Tracking >>> >>> >>> module Tracking::Controllers >>> >>> class Index < R '/' >>> >>> def get >>> >>> render :start >>> >>> end >>> >>> end >>> >>> >>> >>> class Shipping >>> >>> def get(tracking_number) >>> >>> redirect "http:// >>> http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=#{tracking_number} >>> " >>> >>> end >>> >>> end >>> >>> end >>> >>> >>> module Tracking::Views >>> >>> def start >>> >>> p "enter a tracking number" >>> >>> form :action => R(Shipping), :method => :get do >>> >>> input :type => "text", :name => "tracking number" >>> >>> br >>> >>> br >>> >>> input :type => "submit", :value => "Track!" >>> >>> end >>> >>> end >>> >>> end >>> >>> Any help would be appreciated. Thanks! >>> >>> Chris >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- +1-919-627-7546 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jareds.lists at gmail.com Thu Nov 11 16:08:37 2010 From: jareds.lists at gmail.com (Jared Richardson) Date: Thu, 11 Nov 2010 16:08:37 -0500 Subject: [raleigh.rb] Job Opening Message-ID: Hi all, My employer has realized we have a need for a developer to build system prototypes... and I think that person should be a Rubyist. :) I had someone that I thought would be perfect, but he's not on the market, but let me tell what experience I'd like (which was influenced by the person I had in mind), and perhaps you can guide me differently. Just reply to me directly. The position calls for someone to create an api-accurate, tip-to-tip "working" application. If you're familiar with tracer bullet software development (as described in Ship It), that's the type of application this would be. It all "works", but it's a walking skeleton (Allistair Cockburn's term). We'll then fill in the app or translate (or others will translate) to other languages, like C. I think we'll be able to introduce Ruby as a new technology beyond just rapid development work, but that remains to be seen. The applications tend to vary wildly in their hardware platforms, but do a lot of similar work each time. We work with everything from racks of servers to UAVs (small, unmanned airplanes), and everything in between. A great deal of our work is in C and C++, both "normal" and embedded. The person I had in mind had spent some time doing embedded work in the cell phone industry. We're using a variety of technologies, including Tilera boards, DSPs, and FPGAs. We're spinning up work with CUDA cards as well. If you enjoy learning and tinkering with non x86 hardware, this position would provide an opportunity to dig in where you've got an interest. (And of course we've got plenty of x86 work as well.) We also have a Java application server running in Tomcat. I have aspirations of moving it to Sinatra, but that's another day. ;) So there's a place for server side Java experience as well. Our client software also runs the gamut. We've got existing applets, installed Java clients, and we're building our first dotClient on a project now. I want someone who can be involved with our bidding process, then help to bootstrap the application teams. The system prototype will be one that can be used to understand what the entire application needs to do to meet our contract criteria. There's lots of room for "minimum viable functionality" as well as building on larger features, but I want to have the entire system "running" much earlier than we do today. I believe we can have a light-weight system up and running ~before~ we even bid a project using Ruby. If we use Ruby for pieces of the system in production, so much the better. Ruby also can pull in C code easily, so that's also an option. Have Ruby run the entire application, then have C do the heavy lifting where needed. You'll learn about each area of our products and understand how it all fits together. When you're not actively building out a prototype, we'll get you plugged in on team that needs your skills and that you enjoy, but the prototyping will be your first priority. I'm working here to drive process (which is mostly Agile), so any experience on that front would also be a welcome addition. My immediate focus for the team is test automation. Our work is mostly for the military, so you'd need to be a US citizen. We do wide area persistent surveillance, so you'd get to know a great deal about video imagery and how to process and store it. Our servers tend to sift through a great deal of data, both stored and real time. That means you'll work with medium to large scale computers and storage arrays. Our website is a bit thin, but here it is if you'd like to browse. http://www.logos-technologies.com/ We're located very near the Brier Creek mall in north Raleigh, right off of 540. Drop me a line if you're interested and we can discuss the position further. Jared http://AgileArtisans.com http://www.logos-technologies.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.tonog at gmail.com Fri Nov 12 10:12:16 2010 From: chris.tonog at gmail.com (chris tonog) Date: Fri, 12 Nov 2010 10:12:16 -0500 Subject: [raleigh.rb] Routing question in Camping Framework In-Reply-To: References: Message-ID: Thanks Jimmy. I got a .1 version up, and tried to deploy it to heroku. In case anyone is curious, I created a gist of the Sinatra script, nothing really exciting. https://gist.github.com/674193 Thanks for all the help everyone! Chris On Thu, Nov 11, 2010 at 10:54 AM, Jimmy Thrasher wrote: > Since you're using a form, if you had: > > get '/' do > #render your form here > end > > get '/s' do > #get form params through the params variable here, probably > end > > And your form could GET '/s' > > Jimmy > > > On Thu, Nov 11, 2010 at 10:47 AM, chris tonog wrote: > >> Hi TJ, >> >> I did try Sinatra (it was my first choice), but I didn't know how to >> incorporate routing logic (if the string inputted is in a certain format, >> route to this URL) as it wasn't what I was used to (MVC). Camping was MVC, >> except without the extra stuff Rails comes with. I'll take another look at >> it though. >> >> Thanks! >> >> Chris >> >> On Thu, Nov 11, 2010 at 12:00 AM, TJ Stankus wrote: >> >>> Have you considered Sinatra? It's probably the best supported of the Ruby >>> micro web frameworks. >>> >>> -TJ >>> >>> On Wed, Nov 10, 2010 at 11:24 AM, chris tonog wrote: >>> >>>> Hi there, >>>> >>>> First time poster, long time lurker. >>>> >>>> I'm trying to create a lightweight tool for work that allows a user to >>>> enter a tracking number, and then be routed to that tracking number page. >>>> Since we use different shipping services, we have different tracking >>>> numbers, and it would be easier to enter the tracking number on one site as >>>> opposed to going to different sites. >>>> >>>> I'm currently using the camping framework to build it as Rails seems a >>>> bit too much to solve the problem. I'm planning on using regular expressions >>>> to determine what type of tracking number it is and route to the specific >>>> URL with the inputted tracking number interpolated as the tracking number >>>> value being GET'd. My question is, where would I put the logic for >>>> determining the type of tracking number? Since it's simply being routed do I >>>> put this in the controller, or do I need to create a model? >>>> >>>> Here's what I have so far: >>>> >>>> Camping.goes :Tracking >>>> >>>> >>>> module Tracking::Controllers >>>> >>>> class Index < R '/' >>>> >>>> def get >>>> >>>> render :start >>>> >>>> end >>>> >>>> end >>>> >>>> >>>> >>>> class Shipping >>>> >>>> def get(tracking_number) >>>> >>>> redirect "http:// >>>> http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=#{tracking_number} >>>> " >>>> >>>> end >>>> >>>> end >>>> >>>> end >>>> >>>> >>>> module Tracking::Views >>>> >>>> def start >>>> >>>> p "enter a tracking number" >>>> >>>> form :action => R(Shipping), :method => :get do >>>> >>>> input :type => "text", :name => "tracking number" >>>> >>>> br >>>> >>>> br >>>> >>>> input :type => "submit", :value => "Track!" >>>> >>>> end >>>> >>>> end >>>> >>>> end >>>> >>>> Any help would be appreciated. Thanks! >>>> >>>> Chris >>>> >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > +1-919-627-7546 > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Fri Nov 12 17:23:43 2010 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 12 Nov 2010 16:23:43 -0600 Subject: [raleigh.rb] RedHat moving? Message-ID: The wifi at RubyConf finally opened up enough for me to catch up on some RSS feeds and I ran across this. http://localtechwire.com/business/local_tech_wire/opinion/blogpost/8613130/ -- Rick DeNatale Help fund my talk at Ruby Conf 2010:http://pledgie.com/campaigns/13677 Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From mark at imbriaco.com Sun Nov 14 23:06:49 2010 From: mark at imbriaco.com (Mark Imbriaco) Date: Sun, 14 Nov 2010 23:06:49 -0500 Subject: [raleigh.rb] OT FS: MacBook Pro 15" / i7 / 8GB / 120GB SSD + 500GB SATA - $2500 Message-ID: Please pardon the off-topic post, but I wanted to throw this out to the list before I hit Craigslist or eBay. I am looking to sell my 15" MacBook Pro. This is a pretty new 2010 model that was purchased on June 1, 2010. I've upgraded it with a OWC Mercury Extreme Pro SSD (http://eshop.macsales.com/item/Other%20World%20Computing/SSDMX120/). I also added an Optibay enclosure that replaces the internal DVD drive with the 500GB 5400 RPM SATA drive. The DVD drive has been moved to an external USB enclosure. This is a fantastic laptop. I'm only getting rid of it because I replaced it with an 11" MacBook Air. I have a Mac Pro that i use for my primary work computer so I didn't need the horsepower of the MBP for my portable needs. Specifications: MacBook Pro 15.4" 2.66 GHz Core i7 Processor High Resolution (1680x1050) Matte Display 8GB RAM 500GB SATA drive (In Optibay) 120GB SSD drive (OWC Mercury Extreme Pro) SuperDrive in external USB enclosure The current retail price for the machine without the SSD is $2749.00. The Optibay adapter and external SuperDrive enclosure was $100. The OWC Mercury Extreme Pro SSD drive lists for $249.00. Overall, that's $3,100 at today's prices. I'm looking to get $2,500 for it. Email mark at imbriaco.com if you're interested. From donald.ball at gmail.com Mon Nov 15 11:32:09 2010 From: donald.ball at gmail.com (Donald Ball) Date: Mon, 15 Nov 2010 10:32:09 -0600 Subject: [raleigh.rb] Curious problem with rake Message-ID: Hey folks, I've run into an odd problem with rake and am wondering if anyone can help suggest a fruitful path for debugging. I posted the full description on stackoverflow: http://stackoverflow.com/questions/4186086/rake-task-which-executes-other-rake-tasks-via-system-fails-no-such-file-to-loa I'll confess that I seem to have hit a brick wall, and am now digging into rake's source code for inspiration, but feel that I must have overlooked something absurdly simple. Anyone have any ideas? - donald From davidbogus at gmail.com Mon Nov 15 11:58:12 2010 From: davidbogus at gmail.com (David Bogus) Date: Mon, 15 Nov 2010 11:58:12 -0500 Subject: [raleigh.rb] Curious problem with rake In-Reply-To: References: Message-ID: Look at your environment variables. I once had a similar problem by using RUBY_GEM vs RUBY_GEMS or something like that. On Mon, Nov 15, 2010 at 11:32 AM, Donald Ball wrote: > Hey folks, I've run into an odd problem with rake and am wondering if > anyone can help suggest a fruitful path for debugging. I posted the > full description on stackoverflow: > > http://stackoverflow.com/questions/4186086/rake-task-which-executes-other-rake-tasks-via-system-fails-no-such-file-to-loa > > I'll confess that I seem to have hit a brick wall, and am now digging > into rake's source code for inspiration, but feel that I must have > overlooked something absurdly simple. Anyone have any ideas? > > - donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Dave's Definitions: Morning, is after I've slept for more than four hours. Lunch is the second meal of the day no matter the hour of consumption. A long drive is one longer then you have last slept. Ineffable, if you don't understand I couldn't possibly explain it. From davidbogus at gmail.com Mon Nov 15 12:06:36 2010 From: davidbogus at gmail.com (David Bogus) Date: Mon, 15 Nov 2010 12:06:36 -0500 Subject: [raleigh.rb] Curious problem with rake In-Reply-To: References: Message-ID: more details .... Check to make sure your install has set up the required environment variables correctly. http://docs.rubygems.org/read/chapter/3 The same problem occurred for me when using "export RUBYOPT=RUBYGEM" instead of "export RUBYOPT=RUBYGEMS". Ahh the difference a single character can make. On Mon, Nov 15, 2010 at 11:58 AM, David Bogus wrote: > Look at your environment variables. I once had a similar problem by > using RUBY_GEM vs RUBY_GEMS or something like that. > > > On Mon, Nov 15, 2010 at 11:32 AM, Donald Ball wrote: >> Hey folks, I've run into an odd problem with rake and am wondering if >> anyone can help suggest a fruitful path for debugging. I posted the >> full description on stackoverflow: >> >> http://stackoverflow.com/questions/4186086/rake-task-which-executes-other-rake-tasks-via-system-fails-no-such-file-to-loa >> >> I'll confess that I seem to have hit a brick wall, and am now digging >> into rake's source code for inspiration, but feel that I must have >> overlooked something absurdly simple. Anyone have any ideas? >> >> - donald >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > Dave's Definitions: Morning, is after I've slept for more than four > hours. Lunch is the second meal of the day no matter the hour of > consumption. A long drive is one longer then you have last slept. > Ineffable, if you don't understand I couldn't possibly explain it. > -- Dave's Definitions: Morning, is after I've slept for more than four hours. Lunch is the second meal of the day no matter the hour of consumption. A long drive is one longer then you have last slept. Ineffable, if you don't understand I couldn't possibly explain it. From nathaniel at talbott.ws Tue Nov 16 15:13:38 2010 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 16 Nov 2010 15:13:38 -0500 Subject: [raleigh.rb] Pre-Meeting Chow Message-ID: Chow is at Neomonde again this month: http://bit.ly/b6VMfh http://www.neomonde.com/home/ I'll be there around 5:30 - would love to have anyone and everyone join us to chat a bit and unwind before heading over to Red Hat for the meeting proper. See you there! -- Nathaniel Talbott <:((>< From fatcatt316 at yahoo.com Wed Nov 17 21:34:11 2010 From: fatcatt316 at yahoo.com (Joe Peck) Date: Wed, 17 Nov 2010 18:34:11 -0800 (PST) Subject: [raleigh.rb] Dell Inspiron Laptop for sale Message-ID: <152678.81607.qm@web65709.mail.ac4.yahoo.com> I'm posting this for sale on Craigslist too, but figured I'd see if anyone on here wants it. This is a Dell Inspiron 4100. It has 37GB of hard drive space and has a clean installation of Windows XP. It's in great condition, with the minor exception of its screen, which doesn't turn on at all. Works perfectly if it's connected to an external monitor. $20 OBO; I can meet you anywhere between Garner and Durham, just let me know if you want it. Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From tj at stank.us Thu Nov 18 11:41:04 2010 From: tj at stank.us (TJ Stankus) Date: Thu, 18 Nov 2010 11:41:04 -0500 Subject: [raleigh.rb] Rails job Message-ID: Just thought I'd pass this along. It's a company based out of New York. A friend of mine is involved and recommends them as a good company. It seems like they're looking for someone experienced with web development, OO programming, and Unix, but not necessarily Rails expertise. It could be a good opportunity for someone experienced looking to make the jump to Rails, as well as seasoned Rails devs. I'll add this - I gave them some feedback about the job listing and they were responsive and actually made some changes. So, they seem both responsive and clueful. Good signs. http://www.salescrunch.com/rails-engineer -TJ From donald.ball at gmail.com Thu Nov 18 11:56:36 2010 From: donald.ball at gmail.com (Donald Ball) Date: Thu, 18 Nov 2010 11:56:36 -0500 Subject: [raleigh.rb] Rails job In-Reply-To: References: Message-ID: I used to work with two of their developers at a previous rails startup, and can recommend them as very friendly and knowledgeable fellows. - donald From bryan.kearney at gmail.com Thu Nov 18 15:32:12 2010 From: bryan.kearney at gmail.com (Bryan Kearney) Date: Thu, 18 Nov 2010 15:32:12 -0500 Subject: [raleigh.rb] Red Hat is looking for Rails folks Message-ID: <4CE58D4C.4090907@gmail.com> All: Just wanted to point out that we have several rails openings at Red Hat. If you look at [1], the three North American jobs can be Raleigh or WFH. FTE only, no contractors or head hunters please. -- bk [1] http://bit.ly/cF2UxU From rick.denatale at gmail.com Sat Nov 20 10:33:16 2010 From: rick.denatale at gmail.com (Rick DeNatale) Date: Sat, 20 Nov 2010 10:33:16 -0500 Subject: [raleigh.rb] Trying to rationalize my MBP development environment. Message-ID: I'm thinking that I need to get the tools on my MBP in better shape. I currently have a mix of stuff installed various ways, mapports, homebrew, git is installed using the google installer, and mysql via the dmg from the mysql site. That last caused some issues lately and triggered my quest to straighten things out. I'd not needed mysql for a few months (the rails projects I've been working on have been using pg). I started a new project the other day with the client wanting mysql. That's when I found that my mysql installation had somehow been broken when I reinstalled OS X from scratch to fix a kernel panic issue. I had lots of trials trying to get a working mysql using the 'official' mysql community dmg. I went from mysql not running at all due to file system permissions problems, to having a 'working' version which didn't seem to have any users with database create authority, and finally to a working version after a series of reinstalls after moving existing directories out of the way. So now I think I want to try to get as much of this stuff installed using brew as makes sense. But I'm not sure what's the best way to get there from here. Anyone have any advice on things like: Is there an easy way to uninstall my port installed tools and reinstall the same ones with brew? or ensure that those tools are installable via brew? What's up with the advice I see on some of the brew installation blog posts to chown the mysql directories to mysql:mysql? That's sticking out because the mysql community package uses _mysql:_mysql Should I reinstall git with brew or continue to use the google installer. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From adam at thewilliams.ws Sat Nov 20 11:35:18 2010 From: adam at thewilliams.ws (Adam Williams) Date: Sat, 20 Nov 2010 11:35:18 -0500 Subject: [raleigh.rb] Trying to rationalize my MBP development environment. In-Reply-To: References: Message-ID: Here is the basic approach I've taken, and I'm in love with: [remove MacPorts] # Don't worry if this one fails.. sudo port -f uninstall installed sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports [install homebrew] http://github.com/mxcl/homebrew - Follow the 'Quick Install to /usr/local' instructions. - Please, just put your user into the staff group as they instruct. brew install git brew update brew install wget [install mysql database] brew install mysql - Be sure to read the instructions on the terminal after this installs!! [install postgres database] brew install postgresql # We need a role in our Postgresql cluster createuser --no-superuser --no-createrole --createdb --echo tapquake [install rvm] - http://rvm.beginrescueend.com/rvm/install/ - Please, use the 'GitHub Repository (recommended)' way - Be sure to read the instructions on your terminal after the script as run rvm reload # ~/.rvmrc should have: rvm_project_rvmrc=1 [create rvm environment for application] rvm install 1.8.7 rvm gemset create 1.8.7 at appname git clone app cd app bundle install Of course, you'll need your project .rvmrc to include the 'rvm 1.8.7 at appname' declaration in it. I'm presently using Nginx with Unicorn so I can have http://appname.dev. I'm seriously considering moving to Passenger 3.0, though. brew install nginx cp config/nginx.conf.example /usr/local/etc/nginx/nginx.conf [1] to point to your project root (/Users/aiwilliams/Workspaces/application, for instance)> - You MAY need to add another configuration directive to the nginx.conf if you get a 403 Forbidden: user ; For example, mine is 'user aiwilliams staff;' [add line to /etc/hosts] 127.0.0.1 appname.dev [RUNNING THE APPLICATION] sudo nginx (you can stop it whenever using 'sudo nginx -s stop') unicorn -c config/unicorn.rb [2] visit the app at http://appname.dev - please note, if you reboot your computer, you will need to start nginx - anytime you want to work on the application, you will need to run the unicorn command (I need to spend time on this) Re: rvm - I have removed ALL gems from my system install, and I use gemsets, with only rake and bundler in the global gemset of an rvm ruby. FWIW, HTH, YMMV, etc. [1] https://gist.github.com/707940 [2] https://gist.github.com/707942 On Nov 20, 2010, at 10:33 AM, Rick DeNatale wrote: > I'm thinking that I need to get the tools on my MBP in better shape. > > I currently have a mix of stuff installed various ways, mapports, > homebrew, git is installed using the google installer, and mysql via > the dmg from the mysql site. > > That last caused some issues lately and triggered my quest to > straighten things out. > > I'd not needed mysql for a few months (the rails projects I've been > working on have been using pg). I started a new project the other day > with the client wanting mysql. That's when I found that my mysql > installation had somehow been broken when I reinstalled OS X from > scratch to fix a kernel panic issue. > > I had lots of trials trying to get a working mysql using the > 'official' mysql community dmg. I went from mysql not running at all > due to file system permissions problems, to having a 'working' version > which didn't seem to have any users with database create authority, > and finally to a working version after a series of reinstalls after > moving existing directories out of the way. > > So now I think I want to try to get as much of this stuff installed > using brew as makes sense. > > But > > I'm not sure what's the best way to get there from here. > > Anyone have any advice on things like: > > Is there an easy way to uninstall my port installed tools and > reinstall the same ones with brew? or ensure that those tools are > installable via brew? > > What's up with the advice I see on some of the brew installation > blog posts to chown the mysql directories to mysql:mysql? That's > sticking out because the mysql community package uses _mysql:_mysql > > Should I reinstall git with brew or continue to use the google installer. > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Github: http://github.com/rubyredrick > Twitter: @RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From brentmc79 at gmail.com Sat Nov 20 11:52:49 2010 From: brentmc79 at gmail.com (Brent Collier) Date: Sat, 20 Nov 2010 11:52:49 -0500 Subject: [raleigh.rb] Trying to rationalize my MBP development environment. In-Reply-To: References: Message-ID: <18A402C6-EE9F-4FA6-BDD3-0F4D8B88A6DB@gmail.com> If it were me, I'd wipe the whole thing, reinstall OSX and then install everything with homebrew. I have yet to run into a tool I needed that couldn't be installed with brew. In fact, I'm about to do the same with my dev machine as I usually like to do it about once a year just to keep everything fresh. Brent Collier (919) 564-6915 Sent from my iPhone On Nov 20, 2010, at 10:33 AM, Rick DeNatale wrote: > I'm thinking that I need to get the tools on my MBP in better shape. > > I currently have a mix of stuff installed various ways, mapports, > homebrew, git is installed using the google installer, and mysql via > the dmg from the mysql site. > > That last caused some issues lately and triggered my quest to > straighten things out. > > I'd not needed mysql for a few months (the rails projects I've been > working on have been using pg). I started a new project the other day > with the client wanting mysql. That's when I found that my mysql > installation had somehow been broken when I reinstalled OS X from > scratch to fix a kernel panic issue. > > I had lots of trials trying to get a working mysql using the > 'official' mysql community dmg. I went from mysql not running at all > due to file system permissions problems, to having a 'working' version > which didn't seem to have any users with database create authority, > and finally to a working version after a series of reinstalls after > moving existing directories out of the way. > > So now I think I want to try to get as much of this stuff installed > using brew as makes sense. > > But > > I'm not sure what's the best way to get there from here. > > Anyone have any advice on things like: > > Is there an easy way to uninstall my port installed tools and > reinstall the same ones with brew? or ensure that those tools are > installable via brew? > > What's up with the advice I see on some of the brew installation > blog posts to chown the mysql directories to mysql:mysql? That's > sticking out because the mysql community package uses _mysql:_mysql > > Should I reinstall git with brew or continue to use the google installer. > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Github: http://github.com/rubyredrick > Twitter: @RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From rick.denatale at gmail.com Sat Nov 20 12:32:42 2010 From: rick.denatale at gmail.com (Rick DeNatale) Date: Sat, 20 Nov 2010 12:32:42 -0500 Subject: [raleigh.rb] Trying to rationalize my MBP development environment. In-Reply-To: References: Message-ID: Thanks, I was already going down a path like this, figuring I've got things backed up to time machine... One complication might be that I'm already using rvm and gemsets extensively and figure I might have to re-install some gems with extensions after the ground shifts out from under them. On Sat, Nov 20, 2010 at 11:35 AM, Adam Williams wrote: > Here is the basic approach I've taken, and I'm in love with: > > ?[remove MacPorts] > ?# Don't worry if this one fails.. > ?sudo port -f uninstall installed > > ?sudo rm -rf \ > ? ? ?/opt/local \ > ? ? ?/Applications/DarwinPorts \ > ? ? ?/Applications/MacPorts \ > ? ? ?/Library/LaunchDaemons/org.macports.* \ > ? ? ?/Library/Receipts/DarwinPorts*.pkg \ > ? ? ?/Library/Receipts/MacPorts*.pkg \ > ? ? ?/Library/StartupItems/DarwinPortsStartup \ > ? ? ?/Library/Tcl/darwinports1.0 \ > ? ? ?/Library/Tcl/macports1.0 \ > ? ? ?~/.macports > > ?[install homebrew] > ?http://github.com/mxcl/homebrew > ? ?- Follow the 'Quick Install to /usr/local' instructions. > ? ?- Please, just put your user into the staff group as they instruct. > ?brew install git > ?brew update > ?brew install wget > > ?[install mysql database] > ?brew install mysql > ? ?- Be sure to read the instructions on the terminal after this installs!! > > ?[install postgres database] > ?brew install postgresql > ?# We need a role in our Postgresql cluster > ?createuser --no-superuser --no-createrole --createdb --echo tapquake > > ?[install rvm] > ? ?- http://rvm.beginrescueend.com/rvm/install/ > ? ?- Please, use the 'GitHub Repository (recommended)' way > ? ?- Be sure to read the instructions on your terminal after the script as run > ?rvm reload > > ?# ~/.rvmrc should have: > ?rvm_project_rvmrc=1 > > ?[create rvm environment for application] > ?rvm install 1.8.7 > ?rvm gemset create 1.8.7 at appname > > ?git clone app > ?cd app > ? > ?bundle install > > > Of course, you'll need your project .rvmrc to include the 'rvm 1.8.7 at appname' declaration in it. I'm presently using Nginx with Unicorn so I can have http://appname.dev. I'm seriously considering moving to Passenger 3.0, though. > > ?brew install nginx > ?cp config/nginx.conf.example /usr/local/etc/nginx/nginx.conf [1] > ? to point to your project root (/Users/aiwilliams/Workspaces/application, for instance)> > ? ?- You MAY need to add another configuration directive to the nginx.conf if you get a 403 Forbidden: > ? ? ?user ; > ? ? ?For example, mine is 'user aiwilliams staff;' > ?[add line to /etc/hosts] > ?127.0.0.1 appname.dev > > ?[RUNNING THE APPLICATION] > ?sudo nginx (you can stop it whenever using 'sudo nginx -s stop') > ?unicorn -c config/unicorn.rb [2] > ?visit the app at http://appname.dev > ? ?- please note, if you reboot your computer, you will need to start nginx > ? ?- anytime you want to work on the application, you will need to run the unicorn command (I need to spend time on this) > > > Re: rvm - I have removed ALL gems from my system install, and I use gemsets, with only rake and bundler in the global gemset of an rvm ruby. > > FWIW, HTH, YMMV, etc. > > [1] https://gist.github.com/707940 > [2] https://gist.github.com/707942 > > On Nov 20, 2010, at 10:33 AM, Rick DeNatale wrote: > >> I'm thinking that I need to get the tools on my MBP in better shape. >> >> I currently have a mix of stuff installed various ways, mapports, >> homebrew, git is installed using the google installer, and mysql via >> the dmg from the mysql site. >> >> That last caused some issues lately and triggered my quest to >> straighten things out. >> >> I'd not needed mysql for a few months (the rails projects I've been >> working on have been using pg). I started a new project the other day >> with the client wanting mysql. ?That's when I found that my mysql >> installation had somehow been broken when I reinstalled OS X from >> scratch to fix a kernel panic issue. >> >> I had lots of trials trying to get a working mysql using the >> 'official' mysql community dmg. ?I went from mysql not running at all >> due to file system permissions problems, to having a 'working' version >> which didn't seem to have any users with database create authority, >> and finally to a working version after a series of reinstalls after >> moving existing directories out of the way. >> >> So now I think I want to try to get as much of this stuff installed >> using brew as makes sense. >> >> But >> >> I'm not sure what's the best way to get there from here. >> >> Anyone have any advice on things like: >> >> ?Is there an easy way to uninstall my port installed tools and >> reinstall the same ones with brew? ?or ensure that those tools are >> installable via brew? >> >> ?What's up with the advice I see on some of the brew installation >> blog posts to chown the mysql directories to mysql:mysql? ?That's >> sticking out because the mysql community package uses _mysql:_mysql >> >> ?Should I reinstall git with brew or continue to use the google installer. >> >> -- >> Rick DeNatale >> >> Blog: http://talklikeaduck.denhaven2.com/ >> Github: http://github.com/rubyredrick >> Twitter: @RickDeNatale >> WWR: http://www.workingwithrails.com/person/9021-rick-denatale >> LinkedIn: http://www.linkedin.com/in/rickdenatale >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Rick DeNatale Help fund my talk at Ruby Conf 2010:http://pledgie.com/campaigns/13677 Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From sumbach at gmail.com Sat Nov 20 12:13:37 2010 From: sumbach at gmail.com (Sam Umbach) Date: Sat, 20 Nov 2010 12:13:37 -0500 Subject: [raleigh.rb] Trying to rationalize my MBP development environment. In-Reply-To: References: Message-ID: > ?# ~/.rvmrc should have: > ?rvm_project_rvmrc=1 > > ?[create rvm environment for application] > ?rvm install 1.8.7 > ?rvm gemset create 1.8.7 at appname > > ?git clone app > ?cd app > ? > ?bundle install > > > Of course, you'll need your project .rvmrc to include the 'rvm 1.8.7 at appname' declaration in it. I'm presently using Nginx with Unicorn so I can have http://appname.dev. I'm seriously considering moving to Passenger 3.0, though. I recently discovered the rvm_gemset_create_on_use_flag option. If you add "rvm_gemset_create_on_use_flag=1" to $HOME/.rvmrc, rvm automatically creates gemsets on first use. After setting this option, you can just add "rvm 1.8.7 at appname" to your project .rvmrc and the gemset will be created the first time you change to the app's directory. It's particularly helpful if your entire team sets this option so everyone will be using the same gemsets. -Sam From info at lojic.com Mon Nov 22 10:35:40 2010 From: info at lojic.com (Brian Adkins) Date: Mon, 22 Nov 2010 10:35:40 -0500 Subject: [raleigh.rb] OSX Server Message-ID: I'm considering deploying an application on either a Mac mini or Mac mini server. The computer will be located at the client's office, and I think there may be some advantages over a linux server. I've never deployed a production app on OSX though, so I'm curious if anyone has, and if so, what your experience has been. I expect I would install OSX and the app on an external RAID disk system to avoid having to deal with replacing an internal disk after a disk failure. That would allow using time machine to backup the RAID disk to the internal drive. Disk performance is crucial for this application, so I'm not sure how a firewire disk array would compare with internal drives. I'm hoping I can get 10K rpm drives for the RAID. Thanks, Brian -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ From otto.hammersmith at gmail.com Mon Nov 22 11:54:09 2010 From: otto.hammersmith at gmail.com (Otto Hammersmith) Date: Mon, 22 Nov 2010 11:54:09 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: Message-ID: I just bought a Mac mini server, but haven't gotten to put all the tools & software through it's paces. I'm moving towards deploying portable home folders so machines are as close to interchangeable as possible. >From what I've read, on the Mac mini server, an external FireWire drive actually gets better performance (FW800) than the internal 7200 RPM disks. I would imagine a FW800 RAID array with 10k RPM drives that could be a more efficient configuration than straight mirroring would be pretty spiffy fast. Also, replacing an internal disk is a huge effort, so I wouldn't bother RAIDing the internal disks. You're not going to be able to hot swap in a quick fashion and they're laptop drives, anyway. On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: > I'm considering deploying an application on either a Mac mini or Mac mini > server. The computer will be located at the client's office, and I think > there may be some advantages over a linux server. I've never deployed a > production app on OSX though, so I'm curious if anyone has, and if so, what > your experience has been. > > I expect I would install OSX and the app on an external RAID disk system to > avoid having to deal with replacing an internal disk after a disk failure. > That would allow using time machine to backup the RAID disk to the internal > drive. > > Disk performance is crucial for this application, so I'm not sure how a > firewire disk array would compare with internal drives. I'm hoping I can get > 10K rpm drives for the RAID. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jareds.lists at gmail.com Mon Nov 22 11:50:52 2010 From: jareds.lists at gmail.com (Jared Richardson) Date: Mon, 22 Nov 2010 11:50:52 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: Message-ID: Just a few thoughts... I find that service oriented work takes me much longer in OS X than Linux because things are ~just~ different enough. If you don't know server side OS X that well, find someone that does. You don't have to install the OS on the same disk as the data. In fact, you'll get a nice boost by not doing that. Are SSDs an option? If you're disk bound and can possibly put in a raid of SSDs, it might change the game. If you need so much disk space that SSDs aren't an option, you might have trouble setting up a big enough disk to do Time Machine backups of your raid array. Finally, if you're putting together an affordable solution, I recently did some research on the 7,200 RPM throughput. The Western Digital Black 2 TB disks (w/64 megs of cache) had the best performance of any disk short of the costly 10k or 15k RPM disks. http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 Jared http://AgileArtisans.com On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: > I'm considering deploying an application on either a Mac mini or Mac mini > server. The computer will be located at the client's office, and I think > there may be some advantages over a linux server. I've never deployed a > production app on OSX though, so I'm curious if anyone has, and if so, what > your experience has been. > > I expect I would install OSX and the app on an external RAID disk system to > avoid having to deal with replacing an internal disk after a disk failure. > That would allow using time machine to backup the RAID disk to the internal > drive. > > Disk performance is crucial for this application, so I'm not sure how a > firewire disk array would compare with internal drives. I'm hoping I can get > 10K rpm drives for the RAID. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathaniel at talbott.ws Mon Nov 22 13:10:22 2010 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 22 Nov 2010 13:10:22 -0500 Subject: [raleigh.rb] Raleigh.rb Location Search Message-ID: Fellow Rubyists, Raleigh.rb has been happily having our regular meetings at Red Hat for the past few years, and many thanks to them for hosting us. That said, our sponsor/host at Red Hat isn't going to be available anymore come January, so we're on the hunt for a new location for our regular meetings. The basic requirements are: - ability to comfortably seat 60 people (typical turnout is averages 30, but we do spike up to double that) - solid projection setup - straightforward (preferably free) parking arrangement - proximity to one of the major RTP arteries - I-40, I-540, I-440 We can be flexible on some of this, so if you have a location that may or may not work, go ahead and drop me a line and we can chat about it. We may be able to have our December Book Exchange (just scheduled - check it out!) at Red Hat, but I'd rather go ahead and get a replacement location identified and have it there. Benefits to the host include: - listing as a sponsor on the Raleigh.rb Meetup site - easy access to the #1 NC Ruby group (actually one of the oldest and largest in the country) - regular exposure to 400+ local Rubyists If you have a potential spot drop me a line directly, or reply here on the list - thanks! -- Nathaniel Talbott <:((>< From info at lojic.com Mon Nov 22 14:53:11 2010 From: info at lojic.com (Brian Adkins) Date: Mon, 22 Nov 2010 14:53:11 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: Message-ID: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> Thanks for the tip on SSDs - I hadn't even considered that. They'd be of sufficient size, but I'm not sure about the budget in this particular case :) Re: installing the OS on the RAID - the idea wasn't for performance, but to minimize downtime in the event of a disk failure. Replacing an internal disk on a Mac mini is more difficult than swapping out an external RAID array, so I'd use the internal drive for the time machine backup initially. I agree I'd probably burn a bit more time on sysadmin on OSX than the Ubuntu I'm familiar with. What concerns me most though is the client being a guinea pig since this would be my first OSX deployment, and I don't know anyone with a success story :) On Nov 22, 2010, at 11:50 AM, Jared Richardson wrote: > Just a few thoughts... > > I find that service oriented work takes me much longer in OS X than > Linux because things are ~just~ different enough. If you don't know > server side OS X that well, find someone that does. > > You don't have to install the OS on the same disk as the data. In > fact, you'll get a nice boost by not doing that. > > Are SSDs an option? If you're disk bound and can possibly put in a > raid of SSDs, it might change the game. > > If you need so much disk space that SSDs aren't an option, you might > have trouble setting up a big enough disk to do Time Machine backups > of your raid array. > > Finally, if you're putting together an affordable solution, I > recently did some research on the 7,200 RPM throughput. The Western > Digital Black 2 TB disks (w/64 megs of cache) had the best > performance of any disk short of the costly 10k or 15k RPM disks. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 > > Jared > http://AgileArtisans.com > > > On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: > I'm considering deploying an application on either a Mac mini or Mac > mini server. The computer will be located at the client's office, > and I think there may be some advantages over a linux server. I've > never deployed a production app on OSX though, so I'm curious if > anyone has, and if so, what your experience has been. > > I expect I would install OSX and the app on an external RAID disk > system to avoid having to deal with replacing an internal disk after > a disk failure. That would allow using time machine to backup the > RAID disk to the internal drive. > > Disk performance is crucial for this application, so I'm not sure > how a firewire disk array would compare with internal drives. I'm > hoping I can get 10K rpm drives for the RAID. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ From jareds.lists at gmail.com Mon Nov 22 15:43:08 2010 From: jareds.lists at gmail.com (Jared Richardson) Date: Mon, 22 Nov 2010 15:43:08 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> References: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> Message-ID: The SSD prices seem to be falling (finally). I put a small one (40 gigs) in my Dad's laptop a few weeks ago for ~$100. If you're already considering RAID, you could buy a number of smaller ones and keep the budget nice and low. Jared On Mon, Nov 22, 2010 at 2:53 PM, Brian Adkins wrote: > Thanks for the tip on SSDs - I hadn't even considered that. They'd be of > sufficient size, but I'm not sure about the budget in this particular case > :) > > Re: installing the OS on the RAID - the idea wasn't for performance, but to > minimize downtime in the event of a disk failure. Replacing an internal disk > on a Mac mini is more difficult than swapping out an external RAID array, so > I'd use the internal drive for the time machine backup initially. > > I agree I'd probably burn a bit more time on sysadmin on OSX than the > Ubuntu I'm familiar with. What concerns me most though is the client being a > guinea pig since this would be my first OSX deployment, and I don't know > anyone with a success story :) > > > On Nov 22, 2010, at 11:50 AM, Jared Richardson wrote: > > Just a few thoughts... >> >> I find that service oriented work takes me much longer in OS X than Linux >> because things are ~just~ different enough. If you don't know server side OS >> X that well, find someone that does. >> >> You don't have to install the OS on the same disk as the data. In fact, >> you'll get a nice boost by not doing that. >> >> Are SSDs an option? If you're disk bound and can possibly put in a raid of >> SSDs, it might change the game. >> >> If you need so much disk space that SSDs aren't an option, you might have >> trouble setting up a big enough disk to do Time Machine backups of your raid >> array. >> >> Finally, if you're putting together an affordable solution, I recently did >> some research on the 7,200 RPM throughput. The Western Digital Black 2 TB >> disks (w/64 megs of cache) had the best performance of any disk short of the >> costly 10k or 15k RPM disks. >> >> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 >> >> Jared >> http://AgileArtisans.com >> >> >> On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: >> I'm considering deploying an application on either a Mac mini or Mac mini >> server. The computer will be located at the client's office, and I think >> there may be some advantages over a linux server. I've never deployed a >> production app on OSX though, so I'm curious if anyone has, and if so, what >> your experience has been. >> >> I expect I would install OSX and the app on an external RAID disk system >> to avoid having to deal with replacing an internal disk after a disk >> failure. That would allow using time machine to backup the RAID disk to the >> internal drive. >> >> Disk performance is crucial for this application, so I'm not sure how a >> firewire disk array would compare with internal drives. I'm hoping I can get >> 10K rpm drives for the RAID. >> >> Thanks, >> Brian >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikehale at gmail.com Mon Nov 22 17:35:07 2010 From: mikehale at gmail.com (Michael Hale) Date: Mon, 22 Nov 2010 17:35:07 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> Message-ID: I put a Seagate 500GB Hybrid SSD (http://www.seagate.com/www/en-us/products/laptops/laptop-hdd) in my wife's laptop and we have been very happy, much faster than a 7200RPM and much cheaper than a full-on SSD. On Mon, Nov 22, 2010 at 3:43 PM, Jared Richardson wrote: > The SSD prices seem to be falling (finally). I put a small one (40 gigs) in > my Dad's laptop a few weeks ago for ~$100. > If you're already considering RAID, you could buy a number of smaller ones > and keep the budget nice and low. > Jared > > On Mon, Nov 22, 2010 at 2:53 PM, Brian Adkins wrote: >> >> Thanks for the tip on SSDs - I hadn't even considered that. They'd be of >> sufficient size, but I'm not sure about the budget in this particular case >> :) >> >> Re: installing the OS on the RAID - the idea wasn't for performance, but >> to minimize downtime in the event of a disk failure. Replacing an internal >> disk on a Mac mini is more difficult than swapping out an external RAID >> array, so I'd use the internal drive for the time machine backup initially. >> >> I agree I'd probably burn a bit more time on sysadmin on OSX than the >> Ubuntu I'm familiar with. What concerns me most though is the client being a >> guinea pig since this would be my first OSX deployment, and I don't know >> anyone with a success story :) >> >> On Nov 22, 2010, at 11:50 AM, Jared Richardson wrote: >> >>> Just a few thoughts... >>> >>> I find that service oriented work takes me much longer in OS X than Linux >>> because things are ~just~ different enough. If you don't know server side OS >>> X that well, find someone that does. >>> >>> You don't have to install the OS on the same disk as the data. In fact, >>> you'll get a nice boost by not doing that. >>> >>> Are SSDs an option? If you're disk bound and can possibly put in a raid >>> of SSDs, it might change the game. >>> >>> If you need so much disk space that SSDs aren't an option, you might have >>> trouble setting up a big enough disk to do Time Machine backups of your raid >>> array. >>> >>> Finally, if you're putting together an affordable solution, I recently >>> did some research on the 7,200 RPM throughput. The Western Digital Black 2 >>> TB disks (w/64 megs of cache) had the best performance of any disk short of >>> the costly 10k or 15k RPM disks. >>> >>> >>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 >>> >>> Jared >>> http://AgileArtisans.com >>> >>> >>> On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: >>> I'm considering deploying an application on either a Mac mini or Mac mini >>> server. The computer will be located at the client's office, and I think >>> there may be some advantages over a linux server. I've never deployed a >>> production app on OSX though, so I'm curious if anyone has, and if so, what >>> your experience has been. >>> >>> I expect I would install OSX and the app on an external RAID disk system >>> to avoid having to deal with replacing an internal disk after a disk >>> failure. That would allow using time machine to backup the RAID disk to the >>> internal drive. >>> >>> Disk performance is crucial for this application, so I'm not sure how a >>> firewire disk array would compare with internal drives. I'm hoping I can get >>> 10K rpm drives for the RAID. >>> >>> Thanks, >>> Brian >>> >>> -- >>> Brian Adkins >>> Lojic Technologies, LLC >>> http://lojic.com/ >>> >>> >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From jareds.lists at gmail.com Mon Nov 22 19:06:17 2010 From: jareds.lists at gmail.com (Jared Richardson) Date: Mon, 22 Nov 2010 19:06:17 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> Message-ID: Intrex has a 320 gig laptop model from Seagate for $120. I've nearly bought it more than once. :) Jared On Mon, Nov 22, 2010 at 5:35 PM, Michael Hale wrote: > I put a Seagate 500GB Hybrid SSD > (http://www.seagate.com/www/en-us/products/laptops/laptop-hdd) in my > wife's laptop and we have been very happy, much faster than a 7200RPM > and much cheaper than a full-on SSD. > > On Mon, Nov 22, 2010 at 3:43 PM, Jared Richardson > wrote: > > The SSD prices seem to be falling (finally). I put a small one (40 gigs) > in > > my Dad's laptop a few weeks ago for ~$100. > > If you're already considering RAID, you could buy a number of smaller > ones > > and keep the budget nice and low. > > Jared > > > > On Mon, Nov 22, 2010 at 2:53 PM, Brian Adkins wrote: > >> > >> Thanks for the tip on SSDs - I hadn't even considered that. They'd be of > >> sufficient size, but I'm not sure about the budget in this particular > case > >> :) > >> > >> Re: installing the OS on the RAID - the idea wasn't for performance, but > >> to minimize downtime in the event of a disk failure. Replacing an > internal > >> disk on a Mac mini is more difficult than swapping out an external RAID > >> array, so I'd use the internal drive for the time machine backup > initially. > >> > >> I agree I'd probably burn a bit more time on sysadmin on OSX than the > >> Ubuntu I'm familiar with. What concerns me most though is the client > being a > >> guinea pig since this would be my first OSX deployment, and I don't know > >> anyone with a success story :) > >> > >> On Nov 22, 2010, at 11:50 AM, Jared Richardson wrote: > >> > >>> Just a few thoughts... > >>> > >>> I find that service oriented work takes me much longer in OS X than > Linux > >>> because things are ~just~ different enough. If you don't know server > side OS > >>> X that well, find someone that does. > >>> > >>> You don't have to install the OS on the same disk as the data. In fact, > >>> you'll get a nice boost by not doing that. > >>> > >>> Are SSDs an option? If you're disk bound and can possibly put in a raid > >>> of SSDs, it might change the game. > >>> > >>> If you need so much disk space that SSDs aren't an option, you might > have > >>> trouble setting up a big enough disk to do Time Machine backups of your > raid > >>> array. > >>> > >>> Finally, if you're putting together an affordable solution, I recently > >>> did some research on the 7,200 RPM throughput. The Western Digital > Black 2 > >>> TB disks (w/64 megs of cache) had the best performance of any disk > short of > >>> the costly 10k or 15k RPM disks. > >>> > >>> > >>> > http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 > >>> > >>> Jared > >>> http://AgileArtisans.com > >>> > >>> > >>> On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins wrote: > >>> I'm considering deploying an application on either a Mac mini or Mac > mini > >>> server. The computer will be located at the client's office, and I > think > >>> there may be some advantages over a linux server. I've never deployed a > >>> production app on OSX though, so I'm curious if anyone has, and if so, > what > >>> your experience has been. > >>> > >>> I expect I would install OSX and the app on an external RAID disk > system > >>> to avoid having to deal with replacing an internal disk after a disk > >>> failure. That would allow using time machine to backup the RAID disk to > the > >>> internal drive. > >>> > >>> Disk performance is crucial for this application, so I'm not sure how a > >>> firewire disk array would compare with internal drives. I'm hoping I > can get > >>> 10K rpm drives for the RAID. > >>> > >>> Thanks, > >>> Brian > >>> > >>> -- > >>> Brian Adkins > >>> Lojic Technologies, LLC > >>> http://lojic.com/ > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> raleigh-rb-members mailing list > >>> raleigh-rb-members at rubyforge.org > >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > >>> > >>> _______________________________________________ > >>> raleigh-rb-members mailing list > >>> raleigh-rb-members at rubyforge.org > >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > >> > >> > >> -- > >> Brian Adkins > >> Lojic Technologies, LLC > >> http://lojic.com/ > >> > >> > >> > >> > >> _______________________________________________ > >> raleigh-rb-members mailing list > >> raleigh-rb-members at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lynn at executechllc.com Tue Nov 23 21:38:10 2010 From: lynn at executechllc.com (Lynn Goins) Date: Tue, 23 Nov 2010 21:38:10 -0500 Subject: [raleigh.rb] Ruby on Rails Opening in Durham Message-ID: <4CEC7A92.4000900@executechllc.com> I wanted to share a new local opening in case there might be someone that is looking or at least open to entertaining a new position. The position I have is with a great company that is located in Durham. The position is a permanent position and it is preferring Ruby on Rails experience. Below is a little more information in regards to the requirements. If you would like to discuss this further and receive information about our client, feel free to call me or send me an email. Sr. Web Developer Job Requirements . 2 or more years software development experience . Ruby on Rails (not required but a huge plus). . Experience with object-oriented development: Java, C++, or C# . Experience with web-technologies: JSP/ASP, Javascript . Proficiency with SQL . Strong Problem-solving skills -- Lynn Goins/ Staffing Executive Direct: 919-556-6977 / Fax: 509-695-6198 Email: lynn at executechllc.com Linkedin Profile: http://www.linkedin.com/in/lynngoins Philippians 4:6-7 and 4:13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.auer at rolemodelsoftware.com Fri Nov 26 14:43:26 2010 From: ken.auer at rolemodelsoftware.com (Ken Auer) Date: Fri, 26 Nov 2010 14:43:26 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: References: <3C0047B4-67C4-46F0-83D9-A2FE450DA105@lojic.com> Message-ID: Newegg has a 500 GB laptop model for $99.99 & free shipping. On Mon, Nov 22, 2010 at 7:06 PM, Jared Richardson wrote: > Intrex has a 320 gig laptop model from Seagate for $120. I've nearly bought > it more than once. :) > > Jared > > > On Mon, Nov 22, 2010 at 5:35 PM, Michael Hale wrote: > >> I put a Seagate 500GB Hybrid SSD >> (http://www.seagate.com/www/en-us/products/laptops/laptop-hdd) in my >> wife's laptop and we have been very happy, much faster than a 7200RPM >> and much cheaper than a full-on SSD. >> >> On Mon, Nov 22, 2010 at 3:43 PM, Jared Richardson >> wrote: >> > The SSD prices seem to be falling (finally). I put a small one (40 gigs) >> in >> > my Dad's laptop a few weeks ago for ~$100. >> > If you're already considering RAID, you could buy a number of smaller >> ones >> > and keep the budget nice and low. >> > Jared >> > >> > On Mon, Nov 22, 2010 at 2:53 PM, Brian Adkins wrote: >> >> >> >> Thanks for the tip on SSDs - I hadn't even considered that. They'd be >> of >> >> sufficient size, but I'm not sure about the budget in this particular >> case >> >> :) >> >> >> >> Re: installing the OS on the RAID - the idea wasn't for performance, >> but >> >> to minimize downtime in the event of a disk failure. Replacing an >> internal >> >> disk on a Mac mini is more difficult than swapping out an external RAID >> >> array, so I'd use the internal drive for the time machine backup >> initially. >> >> >> >> I agree I'd probably burn a bit more time on sysadmin on OSX than the >> >> Ubuntu I'm familiar with. What concerns me most though is the client >> being a >> >> guinea pig since this would be my first OSX deployment, and I don't >> know >> >> anyone with a success story :) >> >> >> >> On Nov 22, 2010, at 11:50 AM, Jared Richardson wrote: >> >> >> >>> Just a few thoughts... >> >>> >> >>> I find that service oriented work takes me much longer in OS X than >> Linux >> >>> because things are ~just~ different enough. If you don't know server >> side OS >> >>> X that well, find someone that does. >> >>> >> >>> You don't have to install the OS on the same disk as the data. In >> fact, >> >>> you'll get a nice boost by not doing that. >> >>> >> >>> Are SSDs an option? If you're disk bound and can possibly put in a >> raid >> >>> of SSDs, it might change the game. >> >>> >> >>> If you need so much disk space that SSDs aren't an option, you might >> have >> >>> trouble setting up a big enough disk to do Time Machine backups of >> your raid >> >>> array. >> >>> >> >>> Finally, if you're putting together an affordable solution, I recently >> >>> did some research on the 7,200 RPM throughput. The Western Digital >> Black 2 >> >>> TB disks (w/64 megs of cache) had the best performance of any disk >> short of >> >>> the costly 10k or 15k RPM disks. >> >>> >> >>> >> >>> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16822136456&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Hard+Drives-_-Western+Digital-_-22136456 >> >>> >> >>> Jared >> >>> http://AgileArtisans.com >> >>> >> >>> >> >>> On Mon, Nov 22, 2010 at 10:35 AM, Brian Adkins >> wrote: >> >>> I'm considering deploying an application on either a Mac mini or Mac >> mini >> >>> server. The computer will be located at the client's office, and I >> think >> >>> there may be some advantages over a linux server. I've never deployed >> a >> >>> production app on OSX though, so I'm curious if anyone has, and if so, >> what >> >>> your experience has been. >> >>> >> >>> I expect I would install OSX and the app on an external RAID disk >> system >> >>> to avoid having to deal with replacing an internal disk after a disk >> >>> failure. That would allow using time machine to backup the RAID disk >> to the >> >>> internal drive. >> >>> >> >>> Disk performance is crucial for this application, so I'm not sure how >> a >> >>> firewire disk array would compare with internal drives. I'm hoping I >> can get >> >>> 10K rpm drives for the RAID. >> >>> >> >>> Thanks, >> >>> Brian >> >>> >> >>> -- >> >>> Brian Adkins >> >>> Lojic Technologies, LLC >> >>> http://lojic.com/ >> >>> >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> raleigh-rb-members mailing list >> >>> raleigh-rb-members at rubyforge.org >> >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >>> >> >>> _______________________________________________ >> >>> raleigh-rb-members mailing list >> >>> raleigh-rb-members at rubyforge.org >> >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> >> >> >> -- >> >> Brian Adkins >> >> Lojic Technologies, LLC >> >> http://lojic.com/ >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> raleigh-rb-members mailing list >> >> raleigh-rb-members at rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > >> > >> > _______________________________________________ >> > raleigh-rb-members mailing list >> > raleigh-rb-members at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Ken Auer The Extreme Programming Software Studio? RoleModel Software 919-557-6352 (v) 6720 RoleModel Way 919-342-5016 (f) Holly Springs, NC 27540 919-622-8315 (m) "Christianity is not a plug-in, it's an operating system" (see Mark 12:28-31) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Mon Nov 29 14:06:53 2010 From: rick.denatale at gmail.com (Rick DeNatale) Date: Mon, 29 Nov 2010 14:06:53 -0500 Subject: [raleigh.rb] Looking for a few good programmers Message-ID: I recently started working at SciMed Solutions in downtown Durham. http://www.scimedsolutions.com/ We're on Main street, two doors from Beyu Cafe. We have lots of interesting projects our main clientele comes from the medical, scientific and academic communities, but we do some general rails apps as well. We are looking for more help either for full-time hire or a freelance sub-contractor position. I've quickly found this to be a place where passion about software craftsmanship is valued. We have a small, talented team and strive to improve our already high level of craftsmanship. I was attracted here because they were looking for a combination developer/agile mentor, and I've found the environment to be very agile already, and receptive to continual improvement. We need mostly experienced Rails developers, but also need some PHP folks for existing projects, if you are comfortable with both, so much the better. If you are interested in sub-contacting there's more than enough work to keep you busy for 30-40 hours per week, but we can make it work if you are looking for less. We are looking for collaborators, so if you just want to be treated as a 'resource' this isn't the opportunity you are looking for. If you're interested, the best way to apply is to send your resume to employment at scimedsolutions.com. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From tesmar at statsheet.com Tue Nov 30 10:23:03 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 10:23:03 -0500 Subject: [raleigh.rb] Profiling a Rails App Message-ID: Hi Raleigh.rb, I have a project to profile the statsheet rails app, and I am a newbie with regard to using rails profiling tools. Does anyone have any recommendations? I basically want to see which requests to our servers take up the most RAM, so I can track down where we might have mem leaks. I see this thread ( http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) and am exploring the possibilities mentioned there, but if any of you have any experience with a particular tool, please let me know. Sincerely, Tyler -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at jimvanfleet.com Tue Nov 30 10:44:27 2010 From: jim at jimvanfleet.com (Jim Van Fleet) Date: Tue, 30 Nov 2010 10:44:27 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: I recently gave a talk related to this issue at charlotte.rb, you can find the slides here: http://someguysblog.com/capacity-and-performance-of-rails-applications/ I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was given in conjunction with Engine Yard. I saw a separate performance of the same content, and it is certainly worth your time-- not just for this project. Hope that helps! On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: > Hi Raleigh.rb, > > I have a project to profile the statsheet rails app, and I am a newbie with > regard to using rails profiling tools. Does anyone have any recommendations? > I basically want to see which requests to our servers take up the most RAM, > so I can track down where we might have mem leaks. I see this thread ( > http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) > and am exploring the possibilities mentioned there, but if any of you have > any experience with a particular tool, please let me know. > > Sincerely, > Tyler > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tesmar at statsheet.com Tue Nov 30 11:29:32 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 11:29:32 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: It does very much! Thank you! On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet wrote: > I recently gave a talk related to this issue at charlotte.rb, you can find > the slides here: > > http://someguysblog.com/capacity-and-performance-of-rails-applications/ > > I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was > given in conjunction with Engine Yard. I saw a separate performance of the > same content, and it is certainly worth your time-- not just for this > project. > > Hope that helps! > > On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: > >> Hi Raleigh.rb, >> >> I have a project to profile the statsheet rails app, and I am a newbie >> with regard to using rails profiling tools. Does anyone have any >> recommendations? I basically want to see which requests to our servers take >> up the most RAM, so I can track down where we might have mem leaks. I see >> this thread ( >> http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) >> and am exploring the possibilities mentioned there, but if any of you have >> any experience with a particular tool, please let me know. >> >> Sincerely, >> Tyler >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tesmar at statsheet.com Tue Nov 30 11:42:26 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 11:42:26 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: What did you mean in your slides when you wrote "be aware of passenger + REE" ? On Tue, Nov 30, 2010 at 11:29 AM, Tyler Smart wrote: > It does very much! > > Thank you! > > > On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet wrote: > >> I recently gave a talk related to this issue at charlotte.rb, you can find >> the slides here: >> >> http://someguysblog.com/capacity-and-performance-of-rails-applications/ >> >> I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was >> given in conjunction with Engine Yard. I saw a separate performance of the >> same content, and it is certainly worth your time-- not just for this >> project. >> >> Hope that helps! >> >> On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: >> >>> Hi Raleigh.rb, >>> >>> I have a project to profile the statsheet rails app, and I am a newbie >>> with regard to using rails profiling tools. Does anyone have any >>> recommendations? I basically want to see which requests to our servers take >>> up the most RAM, so I can track down where we might have mem leaks. I see >>> this thread ( >>> http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) >>> and am exploring the possibilities mentioned there, but if any of you have >>> any experience with a particular tool, please let me know. >>> >>> Sincerely, >>> Tyler >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at jimvanfleet.com Tue Nov 30 11:48:17 2010 From: jim at jimvanfleet.com (Jim Van Fleet) Date: Tue, 30 Nov 2010 11:48:17 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: Be aware of its existence. While REE can provide memory savings for those using unicorn, it isn't as easy out of the box. REE has been around long enough and used in many production environments, it gets the Jim Van Fleet You Are Probably OK seal of approval. On Tue, Nov 30, 2010 at 11:42 AM, Tyler Smart wrote: > What did you mean in your slides when you wrote "be aware of passenger + > REE" ? > > > On Tue, Nov 30, 2010 at 11:29 AM, Tyler Smart wrote: > >> It does very much! >> >> Thank you! >> >> >> On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet wrote: >> >>> I recently gave a talk related to this issue at charlotte.rb, you can >>> find the slides here: >>> >>> http://someguysblog.com/capacity-and-performance-of-rails-applications/ >>> >>> I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was >>> given in conjunction with Engine Yard. I saw a separate performance of the >>> same content, and it is certainly worth your time-- not just for this >>> project. >>> >>> Hope that helps! >>> >>> On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: >>> >>>> Hi Raleigh.rb, >>>> >>>> I have a project to profile the statsheet rails app, and I am a newbie >>>> with regard to using rails profiling tools. Does anyone have any >>>> recommendations? I basically want to see which requests to our servers take >>>> up the most RAM, so I can track down where we might have mem leaks. I see >>>> this thread ( >>>> http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) >>>> and am exploring the possibilities mentioned there, but if any of you have >>>> any experience with a particular tool, please let me know. >>>> >>>> Sincerely, >>>> Tyler >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>> >> >> > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phi.sanders at sciphi.me Tue Nov 30 11:49:47 2010 From: phi.sanders at sciphi.me (phi.sanders at sciphi.me) Date: Tue, 30 Nov 2010 11:49:47 -0500 (EST) Subject: [raleigh.rb] OSX Server Message-ID: <1291135787.015524470@192.168.2.228> All of our Rails applications at VitalSource are deployed on Mac OS X Server. We've had plenty of "gotchas" but they are edge cases, so it can certainly be considered a success. We've used Rails since 1.0 and migrated from FastCGI to Mongrel to Passenger in that time. First step is always to install the developer tools (xcode) for gcc, etc. Key admin differences are launchd (not init, etc) and server_admin (instead of service, etc) Apache2 is pre-installed, so you can manage that normally. Ditto for MySQL (but depending on the gems you use, you may need to patch some headers) You probably want to use homebrew for any custom tools you need (although we previously deployed via MacPorts which worked well enough) ~Phi -----Original Message----- From: "Brian Adkins" Sent: Monday, November 22, 2010 2:53pm To: "The mailing list of raleigh.rb" Subject: Re: [raleigh.rb] OSX Server Thanks for the tip on SSDs - I hadn't even considered that. They'd be of sufficient size, but I'm not sure about the budget in this particular case :) Re: installing the OS on the RAID - the idea wasn't for performance, but to minimize downtime in the event of a disk failure. Replacing an internal disk on a Mac mini is more difficult than swapping out an external RAID array, so I'd use the internal drive for the time machine backup initially. I agree I'd probably burn a bit more time on sysadmin on OSX than the Ubuntu I'm familiar with. What concerns me most though is the client being a guinea pig since this would be my first OSX deployment, and I don't know anyone with a success story :) From tesmar at statsheet.com Tue Nov 30 11:59:14 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 11:59:14 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: Hmm, we are already using REE + nginx, but I haven't used Unicorn, or even heard about it. What are your thoughts on that? I have read about some people using nginx+ REE + unicorn, but I don't know if it is worth the extra trouble to try and add unicorn to the bunch. On Tue, Nov 30, 2010 at 11:48 AM, Jim Van Fleet wrote: > Be aware of its existence. While REE can provide memory savings for those > using unicorn, it isn't as easy out of the box. REE has been around long > enough and used in many production environments, it gets the Jim Van Fleet > You Are Probably OK seal of approval. > > > On Tue, Nov 30, 2010 at 11:42 AM, Tyler Smart wrote: > >> What did you mean in your slides when you wrote "be aware of passenger + >> REE" ? >> >> >> On Tue, Nov 30, 2010 at 11:29 AM, Tyler Smart wrote: >> >>> It does very much! >>> >>> Thank you! >>> >>> >>> On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet wrote: >>> >>>> I recently gave a talk related to this issue at charlotte.rb, you can >>>> find the slides here: >>>> >>>> http://someguysblog.com/capacity-and-performance-of-rails-applications/ >>>> >>>> I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was >>>> given in conjunction with Engine Yard. I saw a separate performance of the >>>> same content, and it is certainly worth your time-- not just for this >>>> project. >>>> >>>> Hope that helps! >>>> >>>> On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: >>>> >>>>> Hi Raleigh.rb, >>>>> >>>>> I have a project to profile the statsheet rails app, and I am a newbie >>>>> with regard to using rails profiling tools. Does anyone have any >>>>> recommendations? I basically want to see which requests to our servers take >>>>> up the most RAM, so I can track down where we might have mem leaks. I see >>>>> this thread ( >>>>> http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) >>>>> and am exploring the possibilities mentioned there, but if any of you have >>>>> any experience with a particular tool, please let me know. >>>>> >>>>> Sincerely, >>>>> Tyler >>>>> >>>>> _______________________________________________ >>>>> raleigh-rb-members mailing list >>>>> raleigh-rb-members at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>>> >>>> >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>> >>> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lojic.com Tue Nov 30 12:15:07 2010 From: info at lojic.com (Brian Adkins) Date: Tue, 30 Nov 2010 12:15:07 -0500 Subject: [raleigh.rb] OSX Server In-Reply-To: <1291135787.015524470@192.168.2.228> References: <1291135787.015524470@192.168.2.228> Message-ID: <05A41793-433D-416E-BA89-A78495F834EF@lojic.com> Phi's post reminded me to report back on this. I have a fairly large MongoDB database of 40M+ records. I was experiencing a pretty severe degradation as the db grew in size as detailed here: http://groups.google.com/group/mongodb-user/browse_frm/thread/8874f311e0382a3e However, in summary, although my test on Linux did seem to have more consistent performance and better use of RAM, the fundamental problem was simply due to the huge indexes exceeding RAM by a large margin (and a now-fixed bug that was using 64-bit ints where 32-bit ones would suffice). I think Linux probably has the edge over OSX wrt the virtual memory manager, but it wasn't perfectly clear from my tests to be fair since the hardware was Apple and oranges :) I ended up ordering a server from AnythingPC locally due to time requirements w/ 16GB RAM and three 10K rpm disks in a RAID 5 which should provide decent performance. Even so, because of the MongoDB index overhead, I expect total index size to be close to the total RAM, so I've been tuning indexes. Brian P.S. Thanks for providing the info on your OSX server deployments - it maybe something I consider in the future. -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ On Nov 30, 2010, at 11:49 AM, phi.sanders at sciphi.me wrote: > > All of our Rails applications at VitalSource are deployed on Mac OS > X Server. We've had plenty of "gotchas" but they are edge cases, so > it can certainly be considered a success. We've used Rails since 1.0 > and migrated from FastCGI to Mongrel to Passenger in that time. > > First step is always to install the developer tools (xcode) for gcc, > etc. > > Key admin differences are launchd (not init, etc) and server_admin > (instead of service, etc) > > Apache2 is pre-installed, so you can manage that normally. > > Ditto for MySQL (but depending on the gems you use, you may need to > patch some headers) > > You probably want to use homebrew for any custom tools you need > (although we previously deployed via MacPorts which worked well > enough) > > > ~Phi > > -----Original Message----- > From: "Brian Adkins" > Sent: Monday, November 22, 2010 2:53pm > To: "The mailing list of raleigh.rb" members at rubyforge.org> > Subject: Re: [raleigh.rb] OSX Server > > Thanks for the tip on SSDs - I hadn't even considered that. They'd be > of sufficient size, but I'm not sure about the budget in this > particular case :) > > Re: installing the OS on the RAID - the idea wasn't for performance, > but to minimize downtime in the event of a disk failure. Replacing an > internal disk on a Mac mini is more difficult than swapping out an > external RAID array, so I'd use the internal drive for the time > machine backup initially. > > I agree I'd probably burn a bit more time on sysadmin on OSX than the > Ubuntu I'm familiar with. What concerns me most though is the client > being a guinea pig since this would be my first OSX deployment, and I > don't know anyone with a success story :) > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at aaronbedra.com Tue Nov 30 12:22:32 2010 From: aaron at aaronbedra.com (Aaron Bedra) Date: Tue, 30 Nov 2010 12:22:32 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: Message-ID: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> If you are still on1.8.x REE is the ONLY ruby you should be using. The GC and threading fixes make it a deployable Ruby. I would not use MRI in production for anything. If you want the lowdown on what was fixed in REE take a look at Hong and Nihn's talk at google on it. It is very eye opening. Aaron Sent from my iPhone On Nov 30, 2010, at 11:48 AM, Jim Van Fleet wrote: > Be aware of its existence. While REE can provide memory savings for those using unicorn, it isn't as easy out of the box. REE has been around long enough and used in many production environments, it gets the Jim Van Fleet You Are Probably OK seal of approval. > > On Tue, Nov 30, 2010 at 11:42 AM, Tyler Smart wrote: > What did you mean in your slides when you wrote "be aware of passenger + REE" ? > > > On Tue, Nov 30, 2010 at 11:29 AM, Tyler Smart wrote: > It does very much! > > Thank you! > > > On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet wrote: > I recently gave a talk related to this issue at charlotte.rb, you can find the slides here: > > http://someguysblog.com/capacity-and-performance-of-rails-applications/ > > I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was given in conjunction with Engine Yard. I saw a separate performance of the same content, and it is certainly worth your time-- not just for this project. > > Hope that helps! > > On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart wrote: > Hi Raleigh.rb, > > I have a project to profile the statsheet rails app, and I am a newbie with regard to using rails profiling tools. Does anyone have any recommendations? I basically want to see which requests to our servers take up the most RAM, so I can track down where we might have mem leaks. I see this thread (http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) and am exploring the possibilities mentioned there, but if any of you have any experience with a particular tool, please let me know. > > Sincerely, > Tyler > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: From tesmar at statsheet.com Tue Nov 30 13:06:59 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 13:06:59 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> References: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> Message-ID: Hi Aaron, We are already using REE and have been for a while; have you used Unicorn before and would you recommend it? If you have, what are the advantages and disadvantages? Sincerely, Tyler On Tue, Nov 30, 2010 at 12:22 PM, Aaron Bedra wrote: > If you are still on1.8.x REE is the ONLY ruby you should be using. The GC > and threading fixes make it a deployable Ruby. I would not use MRI in > production for anything. If you want the lowdown on what was fixed in REE > take a look at Hong and Nihn's talk at google on it. It is very eye > opening. > > Aaron > > Sent from my iPhone > > On Nov 30, 2010, at 11:48 AM, Jim Van Fleet wrote: > > Be aware of its existence. While REE can provide memory savings for those > using unicorn, it isn't as easy out of the box. REE has been around long > enough and used in many production environments, it gets the Jim Van Fleet > You Are Probably OK seal of approval. > > On Tue, Nov 30, 2010 at 11:42 AM, Tyler Smart < > tesmar at statsheet.com> wrote: > >> What did you mean in your slides when you wrote "be aware of passenger + >> REE" ? >> >> >> On Tue, Nov 30, 2010 at 11:29 AM, Tyler Smart < >> tesmar at statsheet.com> wrote: >> >>> It does very much! >>> >>> Thank you! >>> >>> >>> On Tue, Nov 30, 2010 at 10:44 AM, Jim Van Fleet < >>> jim at jimvanfleet.com> wrote: >>> >>>> I recently gave a talk related to this issue at charlotte.rb, you can >>>> find the slides here: >>>> >>>> >>>> >>>> http://someguysblog.com/capacity-and-performance-of-rails-applications/ >>>> >>>> I particularly recommend Aman Gupta's Debugging Ruby Webinar, which was >>>> given in conjunction with Engine Yard. I saw a separate performance of the >>>> same content, and it is certainly worth your time-- not just for this >>>> project. >>>> >>>> Hope that helps! >>>> >>>> On Tue, Nov 30, 2010 at 10:23 AM, Tyler Smart < >>>> tesmar at statsheet.com> wrote: >>>> >>>>> Hi Raleigh.rb, >>>>> >>>>> I have a project to profile the statsheet rails app, and I am a newbie >>>>> with regard to using rails profiling tools. Does anyone have any >>>>> recommendations? I basically want to see which requests to our servers take >>>>> up the most RAM, so I can track down where we might have mem leaks. I see >>>>> this thread ( >>>>> http://stackoverflow.com/questions/350470/what-tools-do-you-recommend-to-profile-rails-apps) >>>>> and am exploring the possibilities mentioned there, but if any of you have >>>>> any experience with a particular tool, please let me know. >>>>> >>>>> Sincerely, >>>>> Tyler >>>>> >>>>> _______________________________________________ >>>>> raleigh-rb-members mailing list >>>>> raleigh-rb-members at rubyforge.org >>>>> >>>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>>> >>>> >>>> >>>> _______________________________________________ >>>> raleigh-rb-members mailing list >>>> raleigh-rb-members at rubyforge.org >>>> >>>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >>>> >>> >>> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.ball at gmail.com Tue Nov 30 13:28:25 2010 From: donald.ball at gmail.com (Donald Ball) Date: Tue, 30 Nov 2010 13:28:25 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> References: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> Message-ID: On Tue, Nov 30, 2010 at 12:22 PM, Aaron Bedra wrote: > If you are still on1.8.x REE is the ONLY ruby you should be using. The GC > and threading fixes make it a deployable Ruby. ?I would not use MRI in > production for anything. ?If you want the lowdown on what was fixed in REE > take a look at Hong and Nihn's talk at google on it. ?It is very eye > opening. Having a sysadmin whose got us stuck on 1.8.6 (!) still, and is contemplating a move to MRI 1.8.7 instead of REE (or 1.9.2), apparently due to some bad blood between the Redhat guys and the REE guys, I'd appreciate a link to said talk if you happen to have one, I couldn't find it just now. Thanks. - donald From tesmar at statsheet.com Tue Nov 30 15:00:08 2010 From: tesmar at statsheet.com (Tyler Smart) Date: Tue, 30 Nov 2010 15:00:08 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> Message-ID: I've decided to go with a combination of - Request Log Analyzer https://github.com/wvanbergen/request-log-analyzer - Oink https://github.com/noahd1/oink - Memprof https://github.com/ice799/memprof I'll let you guys know how successful it was. Tyler On Tue, Nov 30, 2010 at 1:28 PM, Donald Ball wrote: > On Tue, Nov 30, 2010 at 12:22 PM, Aaron Bedra > wrote: > > If you are still on1.8.x REE is the ONLY ruby you should be using. The GC > > and threading fixes make it a deployable Ruby. I would not use MRI in > > production for anything. If you want the lowdown on what was fixed in > REE > > take a look at Hong and Nihn's talk at google on it. It is very eye > > opening. > > Having a sysadmin whose got us stuck on 1.8.6 (!) still, and is > contemplating a move to MRI 1.8.7 instead of REE (or 1.9.2), > apparently due to some bad blood between the Redhat guys and the REE > guys, I'd appreciate a link to said talk if you happen to have one, I > couldn't find it just now. Thanks. > > - donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at aaronbedra.com Tue Nov 30 19:24:58 2010 From: aaron at aaronbedra.com (Aaron Bedra) Date: Tue, 30 Nov 2010 19:24:58 -0500 Subject: [raleigh.rb] Profiling a Rails App In-Reply-To: References: <4447040F-AA10-47CB-9B38-A38FD819FAE1@aaronbedra.com> Message-ID: <4CF595DA.9060301@aaronbedra.com> The video is at http://www.youtube.com/watch?v=ghLCtCwAKqQ Aaron On 11/30/10 1:28 PM, Donald Ball wrote: > On Tue, Nov 30, 2010 at 12:22 PM, Aaron Bedra wrote: >> If you are still on1.8.x REE is the ONLY ruby you should be using. The GC >> and threading fixes make it a deployable Ruby. I would not use MRI in >> production for anything. If you want the lowdown on what was fixed in REE >> take a look at Hong and Nihn's talk at google on it. It is very eye >> opening. > Having a sysadmin whose got us stuck on 1.8.6 (!) still, and is > contemplating a move to MRI 1.8.7 instead of REE (or 1.9.2), > apparently due to some bad blood between the Redhat guys and the REE > guys, I'd appreciate a link to said talk if you happen to have one, I > couldn't find it just now. Thanks. > > - donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From info at lojic.com Tue Nov 30 19:37:37 2010 From: info at lojic.com (Brian Adkins) Date: Tue, 30 Nov 2010 19:37:37 -0500 Subject: [raleigh.rb] Site monitoring via push vs. pull Message-ID: <3D18EF73-59E4-44CE-9537-CCBE04454034@lojic.com> I have a critical application that will be running on a computer in my client's office behind a firewall that won't allow pingdom.com, siteuptime.com, etc. to monitor it. Is anyone aware of a service that accepts push requests instead of issuing pull requests for this sort of thing? In other words, I'd like a service that would allow me to ping it periodically and have it send a notification email if the time between pings exceeded a threshhold. It's important that the monitoring is done outside of the client's LAN. One option is for me to create a simple "relay" app hosted on a vps to accept the pings from the client's computer and provide a url to the monitoring service, but I'd like to avoid that if possible. Thanks, Brian -- Brian Adkins Lojic Technologies, LLC http://lojic.com/