Re: [rails-oceania] Anyone contracting for companies from USA

2014-04-30 Thread Julio Cesar Ody
I do. To make a long story short: it largely comes down to how willing and capable you are to try and enforce the consequences of whatever violation there may be. If the answer to that is not at all, the contract is there largely for informative purposes, which is definitely not useless, but it's

Re: [rails-oceania] Re: address parser

2014-04-09 Thread Julio Cesar Ody
Also worth mentioning that Google Maps (it's geocoder) can normalise an address, as well as provide a set of approximate results in case the user gets it wrong, which is very helpful from a UX point of view. On Thu, Apr 10, 2014 at 1:12 PM, Simon Russell si...@bellyphant.com wrote: Basically,

Re: [rails-oceania] RoRo Talks

2012-12-10 Thread Julio Cesar Ody
What do you mean no transitions? Where's the fun in that? On Tue, Dec 11, 2012 at 11:07 AM, Steven Ringo goo...@stevenringo.com wrote: Whatever you feel is appropriate. On Tuesday, 11 December 2012 at 9:38 AM, Jon Rowe wrote: Hey Rubyists, Does anyone know if the no transitions

Re: [rails-oceania] Ruby and Sockets ...

2012-11-27 Thread Julio Cesar Ody
I second the recommendation. Jesse's book explains much about the Socket class (as opposed to TCPSocket, which is an abstraction), so he keeps you close enough to the core that you learn a lot about the Berkeley API while at it. Worth every cent. On Wed, Nov 28, 2012 at 8:51 AM, jamesl

Re: [rails-oceania] MacBook Air for development

2012-10-24 Thread Julio Cesar Ody
Hey Rich, while yes, you'd be fine with an Air for Rails development, I found the new rMBP 15 to be the best laptop I ever had. It's light, thin, and is seriously fast. So unless mobility is *really* crucial for you, I'd go for a rMBP. On Thu, Oct 25, 2012 at 10:26 AM, Rich Buggy

Re: [rails-oceania] [RaisRumble] faxitforme.com

2012-10-15 Thread Julio Cesar Ody
Same question I asked Thomas: vote where? Is favouriting the same as voting? On Tue, Oct 16, 2012 at 11:55 AM, Luke Chadwick luke.a.chadw...@gmail.com wrote: Hi All, I'd just like to introduce the app I built for RailsRumble, https://faxitforme.com If you like the app, please vote for

Re: [rails-oceania] [RaisRumble] faxitforme.com

2012-10-15 Thread Julio Cesar Ody
On Tue, Oct 16, 2012 at 2:10 PM, Julio Cesar Ody julio...@gmail.com wrote: Same question I asked Thomas: vote where? Is favouriting the same as voting? On Tue, Oct 16, 2012 at 11:55 AM, Luke Chadwick luke.a.chadw...@gmail.com wrote: Hi All, I'd just like to introduce the app I built

Re: [rails-oceania] $80 for one hour of work! (list moderation, job postings)

2012-10-07 Thread Julio Cesar Ody
On topic being the one-off actually technical question we get once every month or so? Every now and then, a thread bitching about job posts comes up, and it just pushes people a bit closer to unsubscribing. It doesn't prevent anything from happening (as it should be clear by now). It just adds to

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Julio Cesar Ody
, Sep 3, 2012 at 11:08 AM, Michael Pearson mipear...@gmail.com wrote: On Mon, Sep 3, 2012 at 11:01 AM, Julio Cesar Ody julio...@gmail.com wrote: If you have worked with Backbone for more than 1 project, and you're still writing everything from scratch, you're doing it wrong. By now I have

Re: [rails-oceania] client-side mvc with Rails

2012-08-30 Thread Julio Cesar Ody
Hey Mark, what DHH said during the video was that _he felt_ a vanilla Rails app using pjax was more robust and beautiful, and also that he rather write Ruby than JS (which he doesn't like) or CoffeeScript. I think developer happiness is king, and if it's not your stack, then problem solved.

Re: [rails-oceania] client-side mvc with Rails

2012-08-30 Thread Julio Cesar Ody
. -ben On Fri, Aug 31, 2012 at 7:59 AM, Julio Cesar Ody julio...@gmail.com wrote: Hey Mark, what DHH said during the video was that _he felt_ a vanilla Rails app using pjax was more robust and beautiful, and also that he rather write Ruby than JS (which he doesn't like) or CoffeeScript. I

Re: [rails-oceania] What's it like being a Ruby dev in Australia?

2012-08-23 Thread Julio Cesar Ody
TL;DR: between US and Australia, it's what you make of it. Pitching in, as someone who went through two 457s, permanent residency, and eventually citizenship. Oh and I'm from Brazil, which is one category before last in terms of qualifiable background. Also, I have no degree. The three last

Re: [rails-oceania] Test graph outputted by javascript

2012-08-14 Thread Julio Cesar Ody
Try the SydJS list. You're likely to get good replies there for JS questions. Since canvas in itself is stateless, the only way to do it is keeping the state in JavaScript (i.e.: keep an object around to store the graph). You can then check the object's state, if say, you set an attribute when

[rails-oceania] [JOB] Friend seeking job

2012-08-07 Thread Julio Cesar Ody
Hey all, a good friend of mine who taught me a lot back in the day, who was also a co-worker in a couple of instances including here in Australia, decided to give it another go and work around here again. He knows tech inside out, but works mostly with Python, C, and PHP (pays the bills). Has

[rails-oceania] HTML5 Boilerplate for rails 3.2

2012-07-27 Thread Julio Cesar Ody
You could just use the index.html file from H5BL as your app template, either as an ERB file, or convert it to whatever template format you're using. Then link the styles along of course. On Friday, July 27, 2012, Luke Hamilton wrote: Hi all, I was just wondering if other people are

[rails-oceania] My Tres talk

2012-07-26 Thread Julio Cesar Ody
Hey all, slides for my RORO Melbourne talk yesterday (which incidentally are the same ones as my RORO Sydney talk): http://tres-intro.heroku.com Quick instructions to get that little demo app running: * Clone git://github.com/juliocesar/tres.git. * cd into it, run a local webserver in that

Re: [rails-oceania] What role should a modern developer play in a team?

2012-07-24 Thread Julio Cesar Ody
I can't recall in the last few years of web development having met a back-end (say, Rails) developer who was better at what he did because he specialised in it. The best sysadmins I met in my life were kernel hackers. The best Ruby devs could also create great interfaces (e.g.: _why). The best

Re: [rails-oceania] Rorosyd is on Tuesday July 10

2012-07-03 Thread Julio Cesar Ody
I forgot to make that clear in the wiki, so I'll explain here. Tres (three, in English, aptly named after 37Signal's Cinco, which would mean five) is a framework for developing JavaScript apps for phones and tablets. It works on top of Backbone.js, but in a nutshell, you'll write a lot less code

Re: [rails-oceania] AngularJS slides and code from last night

2012-07-02 Thread Julio Cesar Ody
One thing's for sure: large AngularJS apps are the only thing other than WebGL that's guaranteed to turn your MBP into a portable heater. Hey, I had to say something. Sue me. On Mon, Jul 2, 2012 at 4:19 PM, Samuel Richardson s...@richardson.co.nz wrote: I asked Glen the same question on the

Re: [rails-oceania] PLugin ideas

2012-06-23 Thread Julio Cesar Ody
My protip is: writing a plugin by itself is the wrong way to go about it, first of all. First, find a problem that you need solved, even if it's a half made-up problem. Write a library for it which works independently of Rails (unless of course the problem is a Rails problem). And then should

Re: [rails-oceania] JSON API best practices

2012-05-31 Thread Julio Cesar Ody
In the absence of a blog post, a few comments: status:ok No need for that. That's what HTTP status codes are for. page:1, per_page `per_page` should be up to the client. Your API should support pagination though for retrieving collections, and in which case, it should accept a range

Re: [rails-oceania] JSON API best practices

2012-05-31 Thread Julio Cesar Ody
We still return per_page in our API calls as we have limits on what the client can request. So although a client my request a page size of 200 for load management and performance reasons we may only accept values of 50 (for example). I quote myself: and in which case, it should accept a

Re: [rails-oceania] [JOB] [CONSULTING] Front End Developer (backbone, node, JS and UI against Rails)

2012-03-06 Thread Julio Cesar Ody
or short term consulting... Hey Mikel, I have cycles to spare right now, if consulting is on the table. Let me know! All the best. On Monday, March 5, 2012, Mikel Lindsaar wrote: Hi list, TL;DR: Full time or short term consulting Front End Developer (backbone, node, JS and UI against

Re: [rails-oceania] mobile frameworks

2011-12-28 Thread Julio Cesar Ody
My 2 cents: use JavaScript (Backbone.js), HTML, and should you end up needing to go native for hardware access, say, use phonegap. jQuery Mobile, while it does sort out a large array of issues related to mobile browsers incompatibilities, it's a lot slower than rolling your own, mostly around

Re: [rails-oceania] New in Town

2011-07-31 Thread Julio Cesar Ody
Hey Will, one other upcoming event worth attending would be SydJS (sydjs.com). RSVP over at the website and make sure you come for the next one. P.S.: I worked with Will before briefly. He's a cool guy. On Mon, Aug 1, 2011 at 9:14 AM, Will Marshall willrj.marsh...@gmail.com wrote: Hi, I'm

Re: [rails-oceania] RVM in Production

2011-07-27 Thread Julio Cesar Ody
I think you think so because, as you put it, you're a newcomer to RVM. There's a lot of ifs which may or may not apply to the server you're running your applications on. I know more developers who write Ruby based on the install they have locally on their machines than developers who know the

Re: [rails-oceania] RVM in Production

2011-07-27 Thread Julio Cesar Ody
Yeah, I read it. http://serverfault.com/questions/227510/is-it-possible-to-skip-rvmrc-confirmation On Thu, Jul 28, 2011 at 11:59 AM, Michael Pearson mipear...@gmail.com wrote: On Thu, Jul 28, 2011 at 11:56 AM, Julio Cesar Ody julio...@gmail.com wrote: P.S.: it's probably not flawless

Re: [rails-oceania] RVM in Production

2011-07-27 Thread Julio Cesar Ody
Cesar Ody julio...@gmail.com wrote: Yeah, I read it. http://serverfault.com/questions/227510/is-it-possible-to-skip-rvmrc-confirmation -- Michael Pearson The Bon Scotts; http://www.thebonscotts.com -- You received this message because you are subscribed to the Google Groups Ruby

Re: [rails-oceania] RVM in Production

2011-07-27 Thread Julio Cesar Ody
Which is what I said on the first email I sent to the thread. Michael was talking specifically about sandboxing gems. On Thursday, July 28, 2011, Dmytrii Nagirniak dna...@gmail.com wrote: On 28 July 2011 12:25, Julio Cesar Ody julio...@gmail.com wrote: @ Michael: agreed, that's what Bundler

Re: [rails-oceania] Pimp my architecture!

2011-04-14 Thread Julio Cesar Ody
in a DSL, but still something to think about. Clifford Heath. On Fri, Apr 15, 2011 at 11:05 AM, Julio Cesar Ody julio...@gmail.com wrote: Here's my take: class Stuff  fields do   singleline    'code'   multiline      'itinerary'   age_range   'age', label: 'Infante age range

Re: [rails-oceania] Re: [SYD] Meetup, Tuesday April 12th

2011-04-12 Thread Julio Cesar Ody
Of course we should. If anything, it tells that we're at least smart enough to hear them out. From the initial announcement of the night, I understood there'd be some people from Heroku talking about the platform. Now reading it again, it was clearly a misunderstanding. You did disclose who would

Re: [rails-oceania] Is Twitter moving away from Rails?

2011-04-08 Thread Julio Cesar Ody
- One of the reasons to abandon RoR is that twitter is using less pages now, mostly are API/ajax. so they cannot be benefited from RoR as before. Which is to say: they were probably rendering pages and doing things very much close to a vanilla Rails app, then their architecture changed to a JS

Re: [rails-oceania] MVC Architecture for JavaScript Applications

2011-02-27 Thread Julio Cesar Ody
What sucks is when the difference between a web application and a web page isn't clear, and people throw a technique out on the account of that. And for the record: were Gawker they using pushState instead, the problem would've happened anyway. Except we don't see this API getting criticism

Re: [rails-oceania] MVC Architecture for JavaScript Applications

2011-02-27 Thread Julio Cesar Ody
be solved by sourcing the JS app from not just 1 URL. It's not so much of a problem without an easy solution. On Mon, Feb 28, 2011 at 8:56 AM, Julio Cesar Ody julio...@gmail.com wrote: What sucks is when the difference between a web application and a web page isn't clear, and people throw

Re: [rails-oceania] [Hack Night] Wednesday 23rd Feb

2011-02-22 Thread Julio Cesar Ody
Damn, a whole Rails app for this? :) https://github.com/mynameisrufus/nswbus/blob/master/config/routes.rb Let's Sinatra this bugger tonight and add some gradients (metaphorically speaking) to that interface. On Wed, Feb 23, 2011 at 9:08 AM, Rufus Post rufusp...@gmail.com wrote: Up late last

Re: [rails-oceania] env-aware jQuery includes (or, how to avoid an embarrassing meeting)

2011-02-20 Thread Julio Cesar Ody
Alternative, from html5boilerplate.com: !-- Grab Google CDN's jQuery. fall back to local if necessary -- script src=//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js/script script!window.jQuery document.write(unescape('%3Cscript src=js/libs/jquery-1.4.2.js%3E%3C/script%3E'))/script On

Re: [rails-oceania] A Rubyist in Sydney

2011-02-19 Thread Julio Cesar Ody
a Monday meetup for evening drinks/food. Anywhere in the city works for me. Keep me posted. =-) -g On Sat, Feb 19, 2011 at 2:32 PM, Julio Cesar Ody julio...@gmail.com julio...@gmail.com wrote: The next RORO meetup would be the week after the next. Who's up for some beers with Alex perhaps

Re: [rails-oceania] A Rubyist in Sydney

2011-02-18 Thread Julio Cesar Ody
The next RORO meetup would be the week after the next. Who's up for some beers with Alex perhaps Monday/Tuesday night? On Sat, Feb 19, 2011 at 2:03 PM, Alex MacCaw macc...@gmail.com wrote: Hi all, I'm a Ruby developer from the UK and I'll be in Sydney next Thursday (24th), for about 2

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Julio Cesar Ody
Though the Sydney shortage seems to be for Ruby/Java/Ajax/JavaScript/.NET/HTML5/HTML4/HTML3/Linux sort of gig. Just saying. On Wed, Feb 16, 2011 at 10:46 AM, Pat Allan p...@freelancing-gods.comwrote: It seems there's generally a Ruby developer shortage - NYC, Chicago, London, Melbourne,

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Julio Cesar Ody
flawed. -- Pat On 16/02/2011, at 10:47 AM, Julio Cesar Ody wrote: Though the Sydney shortage seems to be for Ruby/Java/Ajax/JavaScript/.NET/HTML5/HTML4/HTML3/Linux sort of gig. Just saying. On Wed, Feb 16, 2011 at 10:46 AM, Pat Allan p...@freelancing-gods.com wrote: It seems

Re: [rails-oceania] Deployment questions

2011-02-10 Thread Julio Cesar Ody
Chris, are you familiar with https://github.com/mislav/git-deploy ? On Thu, Feb 10, 2011 at 11:14 PM, Chris Berkhout chrisberkh...@gmail.comwrote: Hi All, I'm trying to improve my setup for deploying to a VPS and have run into a few questions. The general idea is to be able to do a git

Re: [rails-oceania] Model logic - is there someway I can use it in the browser?

2011-02-10 Thread Julio Cesar Ody
Rather, from the original question, the problem as I see it is there's a misunderstanding of what has to be done in order to solve the problem. What the model does in the back-end doesn't have to be replicated in the view. Possibly what you'll have is, say, deleting an instance in JS should

Re: [rails-oceania] project planning interface thoughts (job?)

2011-01-30 Thread Julio Cesar Ody
Maybe you don't need to replicate MS Project or Omniplan's interface for it to be usable. Why not a Google Calendar-like one? Personal preference aside, for the task you just describe, it's suitable. - would you stick with Rails/JS or go with Flash/Air/whatever-that-microsoft-one-is?

Re: [rails-oceania] Making rubygems Just Work

2011-01-24 Thread Julio Cesar Ody
I must be too lucky then, but every time a gem wouldn't install for me, it's because a dependency wasn't installed. Then I'd install said dependency and the gem would install no problems. * Maybe this is why some people install everything via Debian packages rather than rubygems Yikes! :)

Re: [rails-oceania] What are the cases to use fixtures/factory girl over mock framework?

2011-01-19 Thread Julio Cesar Ody
Fixtures is too broad of a concept to be dismissed entirely. When Rails introduced it (not to say it got invented at that stage), fixtures were YAML files containing properties for AR models. *that* in particular can, in general, be done more effectively with factory-like classes, since it helps

Re: [rails-oceania] iPhone browser simulators

2011-01-17 Thread Julio Cesar Ody
The emulator that comes with XCode is good, though it performs a lot faster than a real device would, so mind that. Just fire up XCode, create a new iPhone OS project, Build - Build and Run, hit the home button, open Safari, and voila. There's gotta be an easier way to just open the emulator, but

Re: [rails-oceania] iPhone browser simulators

2011-01-17 Thread Julio Cesar Ody
On 18/01/2011, at 8:15 AM, Julio Cesar Ody julio...@gmail.com wrote: The emulator that comes with XCode is good, though it performs a lot faster than a real device would, so mind that. Just fire up XCode, create a new iPhone OS project, Build - Build and Run, hit the home button, open Safari

[rails-oceania] rack-pagespeed presentation slides

2011-01-11 Thread Julio Cesar Ody
Slides for this night's RORO Sydney presentation can be found here: http://rack-pagespeed-preso.heroku.com/ Grazie! -- http://awesomebydesign.com -- You received this message because you are subscribed to the Google Groups Ruby or Rails Oceania group. To post to this group, send email to

Re: [rails-oceania] rorosyd December is on NEXT Tuesday, December 14 (from 7pm)

2010-12-10 Thread Julio Cesar Ody
Depending on how things go for me over the weekend, I might present on rack-pagespeed. On Sat, Dec 11, 2010 at 5:24 AM, Jason Crane ja...@codespike.com wrote: Hi everyone, Bit of a slow month in terms of getting talks together, but Luke has stepped up to talk about scaling MongoDB, and

Re: [rails-oceania] Javascript: prototype or jquery?

2010-11-30 Thread Julio Cesar Ody
Does it matter that much if you're using Rails' helpers? (legit question) If you weren't, I'd say give both a go and pick the one with the API you like best. They're both excellent, well maintained libs. On Wednesday, December 1, 2010, chris hulbert chris.hulb...@gmail.com wrote: Hi all,

Re: [rails-oceania] Javascript: prototype or jquery?

2010-11-30 Thread Julio Cesar Ody
It's like those Rails 3 with an embedded Sinatra app examples: it's nice that you can do that, but seriously? That, minus the cool, of course :) ps: IMO On Wed, Dec 1, 2010 at 9:14 AM, Carl Woodward cjwoodw...@gmail.com wrote: You can combine the two but I would try and avoid that. It is a

Re: [rails-oceania] Generating a url for soft classes

2010-11-28 Thread Julio Cesar Ody
Blacklisting certain resource names is pretty common practice when you adopt the /fruits/new, /fruits/delete, /fruits/banana convention. If you choose to adopt that, there's no way around having to making certain names invalid. Unless of course you choose not to follow that convention. E.g.:

Re: [rails-oceania] RSpec: How to test that a class's initializer method invokes some method?

2010-11-21 Thread Julio Cesar Ody
What's the (public) behaviour you want to see? And that's the question that, if everyone doing BDD asked themselves before writing specs, we'd have more BDD and less test-nutty driven development. ps: no stab meant at anyone! :) -- http://awesomebydesign.com -- You received this message

Re: [rails-oceania] Newbie Query: ActiveRecord multi-thread/process safe and auto-reload how-to

2010-11-18 Thread Julio Cesar Ody
I find that using versioning for records that are shared among many users always turns out to be a good choice from a usability perspective. Display somewhere on the interface something like: - Update by John Doe at time - Update by Jane Doe at time - etc... Make those changes viewable by the

Re: [rails-oceania] Handlers - rethinking the Rails' controller / view interface

2010-11-02 Thread Julio Cesar Ody
I have a few comments: First, camel-case in JS is bad. Second, you presented a list of things, then said We expect our views to do all this!. I personally have a very 90s view of JS apps: client/server. Meaning they act as clients to a back-end, and talk to it via HTTP. They have their own

Re: [rails-oceania] Handlers - rethinking the Rails' controller / view interface

2010-11-02 Thread Julio Cesar Ody
think camel-case is a bad idea in javascript is a bad idea? I'm asking because I always believed that this was the style as defined by mr crockford. On 3 November 2010 09:33, Julio Cesar Ody julio...@gmail.com wrote: I have a few comments: First, camel-case in JS is bad. Second, you

Re: [rails-oceania] Handlers - rethinking the Rails' controller / view interface

2010-11-02 Thread Julio Cesar Ody
That's because what I actually meant to say that *UNDERSCORE* case is bad in JavaScript, not camelcase. That would also explain why in my reply to Ben I defended camelcase, after saying it's bad in my first email to this thread. On Wed, Nov 3, 2010 at 2:01 PM, Ben Schwarz ben.schw...@gmail.com

Re: [rails-oceania] search engine friendly urls?

2010-11-01 Thread Julio Cesar Ody
Not sure how it works on Rails 3, but I've been using the stringex gem for that for a while now. It has some cool features such as: rock roll.to_url = rock-and-roll Check it out at http://github.com/rsl/stringex On Tue, Nov 2, 2010 at 8:38 AM, Bodaniel Jeanes m...@bjeanes.com wrote:

Re: [rails-oceania] Design Book Recommendations

2010-10-27 Thread Julio Cesar Ody
Not saying that specifically to Mark who asked the original question. If you're like me and you tend to fall asleep while reading a book that tells you why the 3rd frontal lobe from left to right tends to like two squares next to each other when you put a rounded border at the bottom left of the

Re: [rails-oceania] Suggestions on RAD environments for ROR

2010-10-05 Thread Julio Cesar Ody
Remember that whatever visual components you're talking about here are actually happening in the browser. There's nothing coming from Rails itself. Rails will merely render HTML through helpers or what have you, which is what you can see in the browser. Sounds like you're looking for is something

Re: [rails-oceania] Speeding up view rendering?

2010-09-21 Thread Julio Cesar Ody
Isn't that because ActiveRecord 3 only fires the actual query when you enumerate a collection? (read: call #each, for example) Your problem might still be data-bound. On Wednesday, September 22, 2010, Steve H st...@seven.net.nz wrote: I think this has come up on Roro before (by someone at

Re: [rails-oceania] Speeding up view rendering?

2010-09-21 Thread Julio Cesar Ody
to avoid dealing with caching as this is merely an internal app, but I guess I'll need to go that way or have a look at RPM. On Wed, Sep 22, 2010 at 3:35 PM, Mikel Lindsaar raasd...@gmail.com wrote: On 22/09/2010, at 1:23 PM, Julio Cesar Ody wrote: Isn't that because ActiveRecord 3 only fires

[rails-oceania] slides for my preso

2010-09-14 Thread Julio Cesar Ody
Hey all, slides for tonight's CSS progressive enhancement can be found at http://css-progressive-enhancement.heroku.com/ Best viewed on Chrome or Safari latest, if you'd like to see the transitions in action :) -- http://awesomebydesign.com -- You received this message because you are

Re: [rails-oceania] [Announce][Sydney] Dont' forget: rorosyd is on tomorrow night!

2010-09-13 Thread Julio Cesar Ody
presentation length (15min) talks: Mark Wotton – (@mwotton) – A Foolish Rubyist’s guide to iPhone hackery Julio Cesar Ody – (@julio_ody) – CSS progressive enhancement Mikel Lindsaar – (@raasdnil) – CDNing, deploying and coding a new Rails 3 app Taylor Luk – (@taylor_luk) – pairjour – gitjour + git

Re: [rails-oceania] RailsRumble 2010 - Only Read if you are a Rails or Design Ninja

2010-09-08 Thread Julio Cesar Ody
Apparently in conflict with Web Directions South dates. http://south10.webdirections.org/ On Thu, Sep 9, 2010 at 3:00 AM, Rex Chung rex.ch...@gmail.com wrote: Isn't the competition in Oct? Registration Soon (TBA) Competition 10/16 — 10/17 http://blog.railsrumble.com/rules Would love to

Re: [rails-oceania] RMagick woes

2010-09-03 Thread Julio Cesar Ody
Yeah, well, that may well work NOW, but next week? Who knows? Seriously? While RMagick might be memleak-ridden, ImageMagick itself is fine. The dependencies you're talking about don't apply if you don't install it with all the default flags set (that goes from package manager to package

Re: [rails-oceania] Re: How does the new Google images work?

2010-08-19 Thread Julio Cesar Ody
I suggested masonry because, well, it's the quickest way to get to something like that. For one, Google's looks more like a grid of floats rather than exploring every but of space (unless I missed it). About the caveat you mentioned, and I imagine that's probably what you meant but for the sake

Re: [rails-oceania] What does it mean by rails is not scalable?

2010-08-19 Thread Julio Cesar Ody
Can't believe someone asked that. The anticipation was killing me. Alright here it goes! It can mean one of two things: FUD (http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt) as a mechanism of defense, or bad programmers. Yeah, there's no third option. In the first case, it happens when

Re: [rails-oceania] Re: How does the new Google images work?

2010-08-19 Thread Julio Cesar Ody
Nice paste, btw! That's called data-uri. http://en.wikipedia.org/wiki/Data_URI_scheme Google that and you'll find plenty of examples. On Fri, Aug 20, 2010 at 11:15 AM, Mike Bailey m...@bailey.net.au wrote: On Thu, Aug 19, 2010 at 11:56 PM, Chris Lloyd christopher.ll...@gmail.com wrote: On

Re: [rails-oceania] What does it mean by rails is not scalable?

2010-08-19 Thread Julio Cesar Ody
For the specific problem you mentioned, you can solve the problem with EventMachine, in the context of Rails. On Fri, Aug 20, 2010 at 11:21 AM, Mark Wotton mwot...@gmail.com wrote: On Fri, Aug 20, 2010 at 11:19 AM, Julio Cesar Ody julio...@gmail.com wrote: @Mark Wotton: EventMachine. And ah

Re: [rails-oceania] How does the new Google images work?

2010-08-18 Thread Julio Cesar Ody
Yeah, http://desandro.com/resources/jquery-masonry/ I'm building an iPhone/iPad web app that uses it for image search http://github.com/juliocesar/domino Counts as a ghost of done now that I said so on the Internet before it's done :) On Wed, Aug 18, 2010 at 9:50 PM, Mike Bailey

Re: [rails-oceania] Advice - Bulk SMS Providers suitable for Ruby/Rails

2010-08-10 Thread Julio Cesar Ody
But... how do you spec that? ps: sorry, someone had to ask :) On Tue, Aug 10, 2010 at 4:43 PM, Tim Lucas t.lu...@toolmantim.com wrote: On 10/08/2010, at 4:17 PM, James Healy wrote: I've recently used directsms.com.au. The API is a simple POST one - not exactly RESTful, but the

Re: [rails-oceania] Advice - Bulk SMS Providers suitable for Ruby/Rails

2010-08-10 Thread Julio Cesar Ody
/joke On Tue, Aug 10, 2010 at 4:51 PM, Tim Lucas t.lu...@toolmantim.com wrote: On 10/08/2010, at 4:46 PM, Julio Cesar Ody wrote: But... how do you spec that? ps: sorry, someone had to ask   :) http://github.com/lachie/http_vanilli -- You received this message because you

Re: [rails-oceania] hpricot issues

2010-07-27 Thread Julio Cesar Ody
I can't really tell from that stacktrace if the problem is this, but you may be hitting the maximum number of open files (and sockets). Are you on OSX? If so, you can expand that limit with sysctl. Try: sudo sysctl -w kern.maxfiles=36000 Sets to a bit over twice as much the default. Also, check

Re: [rails-oceania] simple ui widgets

2010-07-08 Thread Julio Cesar Ody
On Fri, Jul 9, 2010 at 1:52 PM, Robert Gravina robert.grav...@gmail.com wrote: ... It is reasonably simple or is getting the labels aligned/trimmed etc. a fair bit of work? In that sense I'd wager it's simpler than using HTML/CSS like jQuery-UI does since you won't have cross-browser

Re: [rails-oceania] Re: Organising javascript in rails apps

2010-06-23 Thread Julio Cesar Ody
I'm suggesting one file per Javascript application, and that your interface may be comprised of many of those. Another example: at the top right hand corner of your dashboard page there's a section which allows a user to quickly edit parts of his profile. That in itself should be a separate

Re: [rails-oceania] Organising javascript in rails apps

2010-06-22 Thread Julio Cesar Ody
*ahem* http://sydjs-architecting.heroku.com/ Write Javascript apps, not just random methods. Some exceptions apply. I'm more of a module pattern kind of guy so that's my take. At the end of the day, it's all a matter of how you like the source written. As for number 2, not necessarily. Write

Re: [rails-oceania] RubyConf Oceania - Expression of Interest

2010-06-08 Thread Julio Cesar Ody
My suggestion: create a poll/form on Wufoo and send the link around. For instance, I'd go depending on a number of factors, such as location, time of the year, number of participants, and who's giving talks. On Wed, Jun 9, 2010 at 10:48 AM, Luke Chadwick luke.a.chadw...@gmail.com wrote: Hey

Re: [rails-oceania] Release of 50and.com

2010-06-02 Thread Julio Cesar Ody
Oh! I almost forgot, we do actually do one tricky thing. We wrote a plpgsql function that made it easier for us to find locations within a certain radius. Which, by the way, can be done in Sphinx (and Thinking Sphinx) too. I'm assuming it's relevant since you said finding. --

Re: [rails-oceania] Re: The Great Debate [Melbourne]

2010-05-03 Thread Julio Cesar Ody
I actually agree with Gareth. It's a good suggestion, specially if you think outside of Ruby for a minute. There's parts of development other than testing? Yeah. -- You received this message because you are subscribed to the Google Groups Ruby or Rails Oceania group. To post to this group,

Re: [rails-oceania] Datagrid for Rails

2010-04-28 Thread Julio Cesar Ody
I bet if you google for jQuery/Prototype Data Grid, you'll find more than you can bear to look through. The Google Visualization API has a table component (hate that word), http://code.google.com/apis/visualization/documentation/gallery/table.html. You'll be better off if you define a pattern in

Re: [rails-oceania] ruby gem/lib for parsing text from html?

2010-04-21 Thread Julio Cesar Ody
Visible as everything that's actually visible to end-users? (e.g.: elements that are CSS set to display: none don't count) If so, I seem Nokogiri is the way to go, as it also has a CSS parser apart from HTML. On Thu, Apr 22, 2010 at 10:28 AM, Korny Sietsma ko...@sietsma.com wrote: Hi folks -

Re: [rails-oceania] Mentoring Thoughts

2010-04-21 Thread Julio Cesar Ody
Would this really work with people who aren't already buddies, without any sort of tangible incentive? Not meaning to sound like a greedy bastard, teaching is always an awesome idea, as both sides stand to grow a lot with it. I just can't see *qualified* people who perhaps already maintain

Re: [rails-oceania] Mentoring Thoughts

2010-04-21 Thread Julio Cesar Ody
Yeah by all means, trying is the way to go, and props for the initiative. On Thu, Apr 22, 2010 at 10:51 AM, Gabe Hollombe g...@avantbard.com wrote: Would this really work with people who aren't already buddies, without any sort of tangible incentive? I've got no idea if this will work. I

Re: [rails-oceania] factory girl vs machinist

2010-04-20 Thread Julio Cesar Ody
E.g.: Factory.define :user do |user| user.name { Faker::Name.name } user.admin false end Example specs: it 'something that has to do with an admin' do admin = Factory :user, :admin = true admin.should foobar end it 'something to do with a regular user' user = Factory :user

Re: [rails-oceania] Sydney: Request: Call for Talks! (rorosyd April 13)

2010-04-05 Thread Julio Cesar Ody
I need an excuse to do some more work on my framework for presos, so if we're short on speakers, I'll give a lightning talk on The Power of Simple, YesSQL, or however you want to name a talk about not worrying much about NoSQL. On Tue, Apr 6, 2010 at 8:42 AM, Jason Crane ja...@codespike.com

Re: [rails-oceania] Sydney: Request: Call for Talks! (rorosyd April 13)

2010-04-05 Thread Julio Cesar Ody
: select * from awesome? mark On Tue, Apr 6, 2010 at 10:00 AM, Julio Cesar Ody julio...@gmail.com wrote: I need an excuse to do some more work on my framework for presos, so if we're short on speakers, I'll give a lightning talk on The Power of Simple, YesSQL, or however you want to name a talk

Re: [rails-oceania] What is the salary rate for (senior) Rails developers?

2010-04-03 Thread Julio Cesar Ody
And on the subject of labels and roles, I'm from the opinion that there's a lot more to it than just fancy, if one being honest about it. For instance, there's the developer (programmer) who takes on directions from a manager, or stakeholder if you're into Agile, goes on, implements it, and

Re: [rails-oceania] Re: Beyond machinist

2010-03-22 Thread Julio Cesar Ody
If you're hand-writing complex queries that for one reason or another rely on features that are only available to one SGDB in particular, then here's part of the cost for doing so. I wouldn't say it means the idea of in-memory databases is a bad one unless you're leaning a lot of your logic

Re: [rails-oceania] Re: Is Lockdown useful?

2010-03-16 Thread Julio Cesar Ody
*cough* pimp *cough* http://github.com/juliocesar/has_factual_roles But on a more serious note, check cancan from Ryan Bates: http://github.com/ryanb/cancan His is actually good. On Wed, Mar 17, 2010 at 10:45 AM, phan.anh...@gmail.com phan.anh...@gmail.com wrote: Hi Joshua, We use

Re: [rails-oceania] Before_filters on re-rendered methods - what is the correct RAILS way?

2010-03-15 Thread Julio Cesar Ody
Quick idea: form method=post action=/stuff div id=step-1 bunch of fields /div div id=step-2 more fields /div div id=step-3 final set of fields /div /form 1) step-1 is visible by default. 2) step-2 gets shown after the user is done with step-1. Then from step-2 to step-3,

Re: [rails-oceania] Before_filters on re-rendered methods - what is the correct RAILS way?

2010-03-15 Thread Julio Cesar Ody
Yes, it's not madness, but it's at the very least Sparta. Because best case scenario, it's a workable situation, and never ideal. Until recently it was an acceptable compromise given JS not being popular, hated, well supported, etc. But in 2010, there's plenty of tools to make that easy. I agree

Re: [rails-oceania] Sydney: Next hack night, March 23rd. Want to change the format up?

2010-03-15 Thread Julio Cesar Ody
As I was the one who cried sunshowers! out loud when he shared this idea, might as well share it here too http://rainbows.rubyforge.org/sunshowers/ Last I checked the example wouldn't work. But that was long ago. On Tue, Mar 16, 2010 at 2:24 PM, James Sadler freshto...@gmail.com wrote: I'd

Re: [rails-oceania] Sydney: Next hack night, March 23rd. Want to change the format up?

2010-03-14 Thread Julio Cesar Ody
Too lazy to go back in this thread, but I think someone already suggested something along those lines. Anyways, here's mine: I wouldn't mind popping in to work on stuff I'm bringing from home. I understand the social nature of the hack nights, but the way I see it, it's a pretty good opportunity

Re: [rails-oceania] Testability Driven Development

2010-03-10 Thread Julio Cesar Ody
When I first got introduced to testing and BDD a while ago (happened at about the same time), I seem to recall it was more of a thought process kind of thing more than anything else: 1) you write specs for the features your app will have. 2) you see specs failing, because said features aren't

Re: [rails-oceania] Re: Certification and training courses

2010-02-21 Thread Julio Cesar Ody
Food for thought: none of the icons of our community had to go through any sort of certification to get to where they are now. All they had to do was to share their work and knowledge, and the recognition they got came from that. That's why I question the need for any of this. Because none of

Re: [rails-oceania] An ultimatum on job postings.

2010-02-14 Thread Julio Cesar Ody
I'll +1 Matt and others. Just don't allow replies and that's the end of it. You create any set of guidelines or mechanisms, and you watch people who are uninformed (not their fault) break or avoid it. The issue here isn't the job postings as a lot seem to agree. It's the semi-funny remarks for

Re: [rails-oceania] Re: JS Testing in Rails apps

2010-01-28 Thread Julio Cesar Ody
The best solution I can envisage is a super tiny web-server (Sinatra, etc) receiving test results from pages as they pass or fail, and reporting this back to the build process. Which will give you what jSpec gives (more or less), or selenium-grid even (definitely). In short, front-end testing

Re: [rails-oceania] Re: JS Testing in Rails apps

2010-01-27 Thread Julio Cesar Ody
Selenium will drive these events at the browser level, as in it'll move the mouse pointer and do what you tell it to, so I believe (disclaimer: I haven't ever tested SVG/VML with it) it should work. On Thu, Jan 28, 2010 at 3:13 PM, Clifford Heath clifford.he...@gmail.com wrote: On 28/01/2010,

Re: Mysql over postgres? (was Re: [rails-oceania] Your favourite Ruby development setup)

2010-01-26 Thread Julio Cesar Ody
And then Joe Developer installs mongoid/mongomapper, which gives him a ActiveRecord-like DSL to interact with his data, so he can persist data to mongodb. Which in turn means his actual code will look very much like regular ActiveRecord (e.g.: author.books.create :blah, and by the way forget about

  1   2   >