Skip to content

Global Hack Day 4

sandal edited this page May 18, 2012 · 23 revisions

Mendicant University hosted its fourth global hack day on Thursday, May 17 2012.

People and Projects

Meeting transcript

2012-05-17 18:03:28 UTC - seacreature - Let the hacks begin!

2012-05-17 18:03:38 UTC - seacreature - hi everyone

2012-05-17 18:03:42 UTC - notbrent - hi greg

2012-05-17 18:03:45 UTC - coffeejunk - hey

2012-05-17 18:04:49 UTC - seacreature - So for those who haven't been to one of these before, it's very open ended

2012-05-17 18:05:22 UTC - seacreature - folks come and go throughout the 8 hour session, working on their own projects, or helping others with their projects

2012-05-17 18:05:23 UTC - ptn777 - GO!

2012-05-17 18:05:26 UTC - ptn777 - hi

2012-05-17 18:05:44 UTC - seacreature - this is a good place to get help contributing to other projects, or just to learn a bit abot what's out there

2012-05-17 18:06:06 UTC - seacreature - we try to keep track of who is working on what on this wiki page: https://github.com/mendicant/mendicantuniversity.org/wiki/Global-Hack-Day-4

2012-05-17 18:06:24 UTC - seacreature - which I just realized is missing IRC names... maybe we should add those. But add yourself if you're working on something

2012-05-17 18:06:31 UTC - seacreature - and don't be afraid to just ask what everyone else is working on

2012-05-17 18:07:07 UTC - seacreature - post updates here from time to time, even if you're just making small progress

2012-05-17 18:07:33 UTC - seacreature - so, I think that's it!

2012-05-17 18:07:48 UTC - seacreature - anyone know what they're planning on working on?

2012-05-17 18:09:23 UTC - notbrent - work stuff, some rails CRUD with nested models! :P

2012-05-17 18:09:38 UTC - andev - are there rule regarding transparency, i.e. that we have to work on things that other people can follow/see?

2012-05-17 18:09:57 UTC - andev - *rules

2012-05-17 18:10:15 UTC - seacreature - andev: I think that it's certainly preferable to work on things that are open, but it's probably also fine to just talk about general topics related to what you are working on

2012-05-17 18:10:21 UTC - locks - ACTION waves to andev

2012-05-17 18:10:29 UTC - seacreature - for example, maybe notbrent can't share the code he's working on, but if he needs help with nested forms, help him!

2012-05-17 18:10:30 UTC - andev - hey locks

2012-05-17 18:10:48 UTC - seacreature - We do have a strong preference for sharing code here, of course.

2012-05-17 18:11:01 UTC - seacreature - but what matters on hack day is idea exchange.

2012-05-17 18:11:08 UTC - andev - ok, got it. because I'm in the same boat as notbrent. hacking on work-related stuff

2012-05-17 18:11:32 UTC - notbrent - i'm using cocoon for one-to-many nested forms, it's a fantastic gem!

2012-05-17 18:11:40 UTC - seacreature - as long as the conversations you have here might be generally interesting and are not super related to some project we can't use, it's fine

2012-05-17 18:11:42 UTC - jordanbyron - notbrent: Cocoon is great

2012-05-17 18:11:50 UTC - notbrent - jordanbyron: i learned it from puzzlenode!

2012-05-17 18:12:09 UTC - seacreature - I'm working on "commercial" work too, but I can hardly call Practicing Ruby that

2012-05-17 18:12:11 UTC - jordanbyron - notbrent: And I'm fairly certain andev introduced me to it :)

2012-05-17 18:12:14 UTC - seacreature - I will be able to share the code as I go though

2012-05-17 18:12:22 UTC - notbrent - haha

2012-05-17 18:12:31 UTC - jordanbyron - ACTION sings "It's the circle of life!!!"

2012-05-17 18:12:38 UTC - andev - ha! yes, nested_forms had some major problems

2012-05-17 18:12:48 UTC - jordanbyron - … with haml

2012-05-17 18:12:57 UTC - andev - cocoon is indeed great. been using it ever since

2012-05-17 18:13:09 UTC - seacreature - I'm going to build a small demo app which makes a cheap counterfeit of ActiveRecord on top of the low level sqlite adapter

2012-05-17 18:13:10 UTC - aguids - I just stoped to say "Hi" and see if I can be of some help to someone

2012-05-17 18:13:34 UTC - notbrent - tweeted the creator of it yesterday to tell him thanks :)

2012-05-17 18:13:41 UTC - notbrent - @dixis

2012-05-17 18:13:46 UTC - seacreature - The goal is to show off some of the neat API design tricks that AR uses, and for people to conceptually understand how something like AR can be built, not to build a useful ORM

2012-05-17 18:13:52 UTC - jordanbyron - And the sound track for the hackfest beings … http://grooveshark.com/s/Circle+Of+Life/1qWzb0?src=5

2012-05-17 18:13:59 UTC - notbrent - jordanbyron: hahaha

2012-05-17 18:14:15 UTC - jordanbyron - Come for the hacking, stay for the music

2012-05-17 18:14:15 UTC - andev - :D

2012-05-17 18:14:32 UTC - andev - That's the spirit!

2012-05-17 18:15:30 UTC - seacreature - I will actually start working around maybe 19:30 or so, have a meeting in a few minutes

2012-05-17 18:15:32 UTC - jordanbyron - If anyone wants to work on Mission of Mercy just let me know. Our issue tracker is always full and I love helping out new developers

2012-05-17 18:16:08 UTC - andev - jordanbyron: are you working on that today?

2012-05-17 18:16:44 UTC - seacreature - Another thing too, those who are working stuff, invite others to help you test things. It's an easy way for someone who doesn't have time to write patches but wants to help out a little bit can help

2012-05-17 18:16:58 UTC - seacreature - I will definitely be asking people to try my crappy code later :-)

2012-05-17 18:18:20 UTC - jordanbyron - andev: Probably

2012-05-17 18:18:44 UTC - locks - has anyone used ronn to document cli apps?

2012-05-17 18:19:10 UTC - seacreature - i just heard about ronn the other day

2012-05-17 18:19:29 UTC - seacreature - https://github.com/rtomayko/ronn

2012-05-17 18:19:32 UTC - seacreature - looks neat!

2012-05-17 18:19:41 UTC - locks - I'm thinking of adding a small tool to my gem, documentation would be nice

2012-05-17 18:19:55 UTC - locks - especially since it's for a markup format

2012-05-17 18:20:42 UTC - locks - I guess I should check how https://github.com/defunkt/mustache/ uses it

2012-05-17 18:22:16 UTC - seacreature - That's how I usually like to study things, can learn a lot by example

2012-05-17 18:22:35 UTC - locks - ACTION nods

2012-05-17 18:23:13 UTC - locks - I picked parslet up quickly because kscheiss has a couple of small examples

2012-05-17 18:24:02 UTC - locks - I'm just glad I finally have a "real" gem on rubygems

2012-05-17 18:26:50 UTC - seacreature - the first one is always the hardest

2012-05-17 18:27:30 UTC - seacreature - releasing code becomes more natural over time

2012-05-17 18:34:58 UTC - seacreature - Ahahahaha https://github.com/rails/rails/issues/6265#issuecomment-5756284

2012-05-17 18:35:57 UTC - Zlayer - Hey guys

2012-05-17 18:36:23 UTC - Zlayer - Any hacking going on?

2012-05-17 18:36:29 UTC - Zlayer - :)

2012-05-17 18:37:22 UTC - locks - seacreature: hahaha awesome comment

2012-05-17 18:37:36 UTC - locks - ruby is quite the complex beast

2012-05-17 18:45:22 UTC - semmons99 - howdy everyone

2012-05-17 18:45:43 UTC - pellegrino - ohai!

2012-05-17 18:45:46 UTC - semmons99 - if anyone looking for something fun to do, anita (our irc bot) is live

2012-05-17 18:45:59 UTC - semmons99 - feel free to fork her and assimilate new plugins

2012-05-17 18:46:06 UTC - semmons99 - I'll help any way I can

2012-05-17 18:46:31 UTC - locks - it's a cinch bot, isn't it?

2012-05-17 18:46:37 UTC - semmons99 - yeah

2012-05-17 18:46:49 UTC - semmons99 - https://github.com/mendicant/anita

2012-05-17 18:46:57 UTC - semmons99 - she's rewritten from the ground up

2012-05-17 18:47:09 UTC - semmons99 - nothing was brought over from mendibot

2012-05-17 18:47:18 UTC - Zlayer - Aaaanyways :)

2012-05-17 18:47:44 UTC - Zlayer - "rails --version

2012-05-17 18:47:44 UTC - Zlayer - Rails 3.2.3

2012-05-17 18:47:44 UTC - Zlayer - "

2012-05-17 18:48:07 UTC - Zlayer - now, somebody help me build Internet 3.0 ? :)

2012-05-17 18:48:11 UTC - Zlayer - j/k

2012-05-17 18:48:17 UTC - Zlayer - shane

2012-05-17 18:48:27 UTC - Zlayer - I was talking to you the other day about this hackday

2012-05-17 18:49:02 UTC - semmons99 - howdy Zlayer, how's it going?

2012-05-17 18:49:02 UTC - Zlayer - You told me I could probably make a simple invoice-issuing app today, even if I have close to none experience in ruby?

2012-05-17 18:49:14 UTC - Zlayer - Still think it's doable?

2012-05-17 18:49:30 UTC - semmons99 - didn't know that zero ruby experience, that's probably going to be a steep curve

2012-05-17 18:49:36 UTC - semmons99 - do you know any other programming languages?

2012-05-17 18:49:48 UTC - Zlayer - yep, Java, mostly Javascript

2012-05-17 18:49:49 UTC - Zlayer - node.js

2012-05-17 18:50:01 UTC - Zlayer - I know a good deal about RESTful services though

2012-05-17 18:50:42 UTC - Zlayer - And I wen't through a simple blog rails tutorial - well not complete but almost - maybe 6-7 months ago.

2012-05-17 18:50:46 UTC - semmons99 - my first step would be to write up the requirements for the tool, perhaps on gist.github.com to share with others

2012-05-17 18:51:01 UTC - semmons99 - than we can see what's required and if it's feasible

2012-05-17 18:52:06 UTC - Zlayer - Thanks. I mean, I know I'm asking a lot, but the tool I want to make is really simple

2012-05-17 18:52:30 UTC - semmons99 - let's see what your req's are and you might be able to

2012-05-17 18:52:39 UTC - semmons99 - at least you'll get a good starting point

2012-05-17 18:53:05 UTC - Zlayer - Anyway - I usually start with a business case when starting on new features , so that's how I will start now.

2012-05-17 18:54:08 UTC - Zlayer - Never used gist though :)

2012-05-17 18:55:21 UTC - pellegrino - Zlayer: i don't know what your specific requisites for this invoice issuing app

2012-05-17 18:55:34 UTC - pellegrino - if you want something like a subscription management tool

2012-05-17 18:55:39 UTC - pellegrino - you may want to give Jackpot a look

2012-05-17 18:55:46 UTC - pellegrino - https://github.com/pellegrino/jackpot

2012-05-17 18:58:31 UTC - jordanbyron - Next up: http://grooveshark.com/s/Tell+Her+About+It/3DueOD?src=5

2012-05-17 18:58:56 UTC - Zlayer - Thanks pellegrino, but that way I won't really accomplish my goal, which is my own thingy :)

2012-05-17 18:59:03 UTC - Zlayer - And it's an overkill, anyway.

2012-05-17 18:59:11 UTC - Zlayer - I want a simple invoice issuing machine.

2012-05-17 18:59:18 UTC - Zlayer - I want a form to enter customers.

2012-05-17 18:59:26 UTC - Zlayer - And then another to issue invoice to customers.

2012-05-17 18:59:35 UTC - pellegrino - oh great

2012-05-17 18:59:37 UTC - pellegrino - well

2012-05-17 18:59:39 UTC - Zlayer - And I want an option to make it automatically - on monthly basis.

2012-05-17 18:59:41 UTC - Zlayer - And that's it.

2012-05-17 18:59:51 UTC - Zlayer - Email myself one PDF a month.

2012-05-17 19:00:13 UTC - Zlayer - I do it in excel now, so it's no big issue.

2012-05-17 19:00:45 UTC - pellegrino - maybe jackpot is indeed overkill

2012-05-17 19:00:55 UTC - Zlayer - But I wanted to try rails and this hack day sounds like a good chance. I can start and when I get stuck, hopefully somebody here will answer a question.

2012-05-17 19:00:56 UTC - pellegrino - for your use case, even though it shares a lot in common

2012-05-17 19:01:24 UTC - pellegrino - that is a great start for sure

2012-05-17 19:01:30 UTC - pellegrino - you will learn a ton in the process

2012-05-17 19:01:40 UTC - pellegrino - maybe jackpot can be useful as a reference for your task

2012-05-17 19:01:48 UTC - Zlayer - Yes, I was about to say that.

2012-05-17 19:01:52 UTC - Zlayer - :D

2012-05-17 19:02:07 UTC - Zlayer - But you have one watcher :)

2012-05-17 19:02:18 UTC - Zlayer - one more, that is.

2012-05-17 19:02:22 UTC - Zlayer - watcher++ :)

2012-05-17 19:02:44 UTC - pellegrino - hehe awesome man!

2012-05-17 19:02:48 UTC - Zlayer - So my first question... I was trying that rails blog tutorial some months ago.

2012-05-17 19:03:00 UTC - Zlayer - with rails 2.x something

2012-05-17 19:03:11 UTC - Zlayer - Is that the way I start?

2012-05-17 19:03:43 UTC - Zlayer - Cause I basically need 2 things: customers and invoices. And 4-5 pages.

2012-05-17 19:04:11 UTC - Zlayer - And then some backend stuff..

2012-05-17 19:04:27 UTC - pellegrino - i always point peepcode out to newcomers

2012-05-17 19:04:39 UTC - pellegrino - maybe you will want to give it a look as well

2012-05-17 19:04:43 UTC - pellegrino - https://peepcode.com/products/meet-rails-3-i

2012-05-17 19:07:34 UTC - coffeejunk - my suggestion to newcomers is usually michael hartl's book: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

2012-05-17 19:07:53 UTC - coffeejunk - it's free and at least in my opinion pretty good to get you started

2012-05-17 19:10:09 UTC - Zlayer - This book seems promising.

2012-05-17 19:10:18 UTC - Zlayer - As I can follow examples and do my thing instead.

2012-05-17 19:10:49 UTC - Zlayer - Which was the point here, right? Not university of classes and stuff, but university where you solve your real issues?

2012-05-17 19:12:03 UTC - andev - +1 about the Michael Hartl book.. He also covers everything to get you started with a state-of-the-art rails development setup, like git and rvm, etc.

2012-05-17 19:19:18 UTC - coffeejunk - he also uses specific version numbers so you shouldn't get any weird errors because gems changed

2012-05-17 19:19:52 UTC - pellegrino - this is a great resource for sure

2012-05-17 19:20:15 UTC - pellegrino - i'll keep it n handy to point out to newcomers next time as well

2012-05-17 19:20:26 UTC - semmons99 - I'll be back later everyone. happy hacking

2012-05-17 19:31:40 UTC - zzak - happy hack day!

2012-05-17 19:34:12 UTC - jordanbyron - And a Happy Hack day to you zzak!

2012-05-17 20:05:31 UTC - Zlayer - crap, centos and sqlite3-ruby giving me issues

2012-05-17 20:07:11 UTC - seacreature - Okay, I'm back and ready to hack!

2012-05-17 20:07:22 UTC - seacreature - how is everyone doing?

2012-05-17 20:08:14 UTC - jordanbyron - Hacking on PayR. So not too good :(

2012-05-17 20:08:23 UTC - seacreature - oh, I'm sorry for you

2012-05-17 20:08:40 UTC - Zlayer - I'm hacking on rails not wanting to install sqlite3 gem :(

2012-05-17 20:08:42 UTC - jordanbyron - As you should be. But I forgive you

2012-05-17 20:09:02 UTC - seacreature - for the room... PayR is the first Rails application I ever built, which was crudely ported from a Camping app

2012-05-17 20:09:18 UTC - seacreature - it was built back in 2005... I can't remember if we ever upgraded rails on it since then

2012-05-17 20:09:21 UTC - jordanbyron - Rails 1.2.3

2012-05-17 20:09:25 UTC - seacreature - Booya!

2012-05-17 20:09:39 UTC - jordanbyron - I bumped it to Ruby 1.8.7

2012-05-17 20:10:23 UTC - jordanbyron - But yeah … she is a real gem

2012-05-17 20:12:00 UTC - Zlayer - guys a question. I'm trying tout that hartls' book you gave me and following it gets me to an issue with sqlite3

2012-05-17 20:12:49 UTC - Zlayer - wait what did I just say? :)

2012-05-17 20:12:57 UTC - coffeejunk - what's the issue

2012-05-17 20:12:57 UTC - Zlayer - anyway, following the tutorial from the link.

2012-05-17 20:13:08 UTC - Zlayer - and bundle install gives me the problem

2012-05-17 20:13:10 UTC - Zlayer - Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

2012-05-17 20:13:15 UTC - Zlayer - can't install sqlite3

2012-05-17 20:13:26 UTC - Zlayer - I have ruby 1.8.7 and rails 3.2

2012-05-17 20:15:29 UTC - chastell - GOOD ’NING EVERYONE

2012-05-17 20:15:36 UTC - Zlayer - but i just might have solved it ;)

2012-05-17 20:15:42 UTC - chastell - better late than never, and I already learned me a new song this evening!

2012-05-17 20:15:53 UTC - Zlayer - yep, i did

2012-05-17 20:15:58 UTC - coffeejunk - Zlayer: great! :)

2012-05-17 20:16:04 UTC - chastell - (that ‘Circle of Life’ thing I kept hearing about and missed out on before…)

2012-05-17 20:16:53 UTC - jordanbyron - chastell: You're welcome :)

2012-05-17 20:17:15 UTC - seacreature - Now I am going to go down my own sqlite rabbit hole as I start building this cheap counterfeit of activerecord!

2012-05-17 20:18:06 UTC - chastell - go for it! cheap counterfeits are the best counterfeits!

2012-05-17 20:19:33 UTC - seacreature - chastell: do you want to try to help someone with a persistence question?

2012-05-17 20:19:42 UTC - seacreature - chastell: https://gist.github.com/2721119

2012-05-17 20:20:21 UTC - seacreature - It's one of the practicing ruby subscribers who is new to activerecord and trying to sort out how to do associations between three different objects

2012-05-17 20:20:29 UTC - seacreature - or do you have a project to work on already? :-P

2012-05-17 20:20:39 UTC - jordanbyron - Look at this gold I just found on twitter cc/ chastell http://www.flickr.com/photos/rrrodrigo/6848064576/

2012-05-17 20:20:56 UTC - chastell - seacreature: taking a look, hope I can help; I’ll switch to my project in a few :)

2012-05-17 20:21:15 UTC - chastell - jordanbyron: YOU’RE NEXT ON MY LIST NOW

2012-05-17 20:21:32 UTC - jordanbyron - hahahaha

2012-05-17 20:21:34 UTC - jordanbyron - NO!!!!

2012-05-17 20:21:44 UTC - chastell - death by frowns

2012-05-17 20:22:08 UTC - seacreature - chastell: I'm having trouble finding where to start with this because there are lots of missing pieces of info, but if you can even just ask him some clarifying questions that'd help a lot

2012-05-17 20:22:09 UTC - chastell - (we need to keep this low, remember what seacreature said about no distractions this time!)

2012-05-17 20:22:17 UTC - chastell - yeah, on it

2012-05-17 20:22:34 UTC - seacreature - I think chastell has a faulty capslock key ;)

2012-05-17 20:23:14 UTC - jordanbyron - Rules were meant to be broken. Have fun with this everyone, and good by productivity: http://i.imgur.com/C6BWL.jpg

2012-05-17 20:23:38 UTC - drbrain - Skrillex!

2012-05-17 20:24:54 UTC - chastell - seacreature: yeah, it keeps switching off, working on this as well

2012-05-17 20:25:04 UTC - chastell - as for the gist, I’m trying to nail what’s the question at the moment :)

2012-05-17 20:25:23 UTC - chastell - but let me re-read it now that I’ve’d an overview

2012-05-17 20:26:04 UTC - seacreature - I need to find a funny name that sounds like activerecord

2012-05-17 20:26:14 UTC - seacreature - I called my jekyll clone jackal

2012-05-17 20:26:46 UTC - seacreature - any ideas?

2012-05-17 20:26:54 UTC - chastell - seacreature: https://en.wikipedia.org/wiki/Dirty_Hungarian_Phrasebook

2012-05-17 20:27:23 UTC - jordanbyron - Next song in the Hackfest soundtrack: http://grooveshark.com/s/Saturday+Night+s+Alright/3pavTO?src=5

2012-05-17 20:27:41 UTC - chastell - I will not active this record, it is scratched.

2012-05-17 20:28:11 UTC - jordanbyron - And if you are on Spotify: spotify:track:5P36wqjOAxoy2hKg446UaH

2012-05-17 20:28:32 UTC - seacreature - inactive_record

2012-05-17 20:28:48 UTC - allyraza - hi everyone

2012-05-17 20:29:19 UTC - seacreature - allyraza: hi!

2012-05-17 20:29:24 UTC - seacreature - happy hack day!

2012-05-17 20:29:31 UTC - jordanbyron - seacreature: broken_record

2012-05-17 20:29:36 UTC - seacreature - ahahaha

2012-05-17 20:29:58 UTC - allyraza - same to you

2012-05-17 20:30:39 UTC - jordanbyron - Sadly folks I have to get going. Marching band rehearsal tonight and I want to get a jump on the traffic. Nice seeing all of you and don't have too much fun without me <3

2012-05-17 20:31:11 UTC - seacreature - folks are working on various things, some of them have added their projects to this wiki page: https://github.com/mendicant/mendicantuniversity.org/wiki/Global-Hack-Day-4

2012-05-17 20:31:29 UTC - chastell - next in queue, let’s get back to discoverying things: http://grooveshark.com/#!/s/Quest+For+The+Golden+Fro/3i0CNv?src=5 (and that’s the last music cue from me, wanted to get jordanbyron infected)

2012-05-17 20:31:55 UTC - seacreature - allyraza: if you have a project you're working on that you want to tell us about or need help with, just let us know. Or if you want to help out with someone else's project we can probably get you set up with something

2012-05-17 20:32:08 UTC - seacreature - or just hang out and enjoy the discussions + updates

2012-05-17 20:32:20 UTC - seacreature - jordanbyron: Have a fun time with teh band

2012-05-17 20:35:01 UTC - allyraza - seacreature: i have just joined the channel and mailing list

2012-05-17 20:35:21 UTC - seacreature - allyraza: happy to answer any questions you have, welcome!

2012-05-17 20:35:42 UTC - allyraza - correct me if am not wrong hack day started about 2 hours ago

2012-05-17 20:36:02 UTC - seacreature - allyraza: yup, but it's pretty non-linear as far as events go.

2012-05-17 20:36:13 UTC - seacreature - we make it 8 hours long to help us stretch across as many timezones as we can

2012-05-17 20:36:21 UTC - allyraza - seacreature: i really appreciate it

2012-05-17 20:36:33 UTC - seacreature - btw, curious on how we're doing with that... Can we do a UTC offset poll?

2012-05-17 20:36:36 UTC - seacreature - I'm -4

2012-05-17 20:37:06 UTC - allyraza - I am +2

2012-05-17 20:37:15 UTC - rmascarenhas - -3

2012-05-17 20:37:39 UTC - allyraza - seacreature: central Africa

2012-05-17 20:37:46 UTC - Zlayer - +1

2012-05-17 20:37:52 UTC - chastell - UTC+2

2012-05-17 20:38:20 UTC - seacreature - drbrain is -7, so...

2012-05-17 20:38:39 UTC - drbrain - yup

2012-05-17 20:38:43 UTC - allyraza - seacreature: I dont have project to work on if you give me a brief tour how it works that will be helpfull

2012-05-17 20:38:46 UTC - chastell - nine hours span? nice :)

2012-05-17 20:39:06 UTC - seacreature - we need to wait for samnang to wake up

2012-05-17 20:39:20 UTC - seacreature - he's in cambodia :)

2012-05-17 20:40:02 UTC - seacreature - allyraza: sure... do you mean the hack day or mendicant in general?

2012-05-17 20:40:05 UTC - seacreature - or a little of both?

2012-05-17 20:40:28 UTC - notbrent - -7

2012-05-17 20:40:35 UTC - allyraza - seacreature: both

2012-05-17 20:40:37 UTC - allyraza - please

2012-05-17 20:40:45 UTC - chastell - seacreature: regarding https://gist.github.com/2721119 – I’m not sure what Deryl is asking about; it looks like he should read http://guides.rubyonrails.org/association_basics.html – concentrating on ‘When are Objects Saved?’ sections on the various relationship types

2012-05-17 20:41:52 UTC - seacreature - allyraza: one moment please...

2012-05-17 20:42:01 UTC - seacreature - chastell: yeah, that's what I was thinking but he said he read that guide already

2012-05-17 20:42:47 UTC - seacreature - could we perhaps take one tiny slice off of his problem and work through an example, or alternatively, show him a nice example of has_many :through complete with migrations?

2012-05-17 20:43:05 UTC - seacreature - I think he's having trouble seeing how field names map to Rails naming conventions and very basic things like that

2012-05-17 20:43:46 UTC - seacreature - so if we spun up a demo rails app and built a join table for him, he may have a lightbulb come on

2012-05-17 20:43:57 UTC - seacreature - at least it'd pull us away from his context and into a more clean room environment

2012-05-17 20:44:54 UTC - seacreature - allyraza: okay... so Mendicant University exists mostly to build a community of programmers who can help each other out

2012-05-17 20:45:17 UTC - seacreature - With the end goal that we would like to use our skills to make some sort of good impact on the world

2012-05-17 20:46:07 UTC - seacreature - that means a lot of different things to a lot of different people. In many cases people need to be able to help themselves before they can help others

2012-05-17 20:46:18 UTC - allyraza - seacreature: that’s actually brilliant

2012-05-17 20:46:19 UTC - chastell - seacreature: on it :)

2012-05-17 20:46:33 UTC - seacreature - So for example, in China, if we can help someone learn skills that improve their job prospects, so that they can then work in more favorable conditions and take care of their family better

2012-05-17 20:46:51 UTC - allyraza - seacreature: I guess I am one of those people

2012-05-17 20:47:03 UTC - seacreature - well, that's good progress. If we encourage them to turn around and take what they've learned and share it with others in their community, that's even better!

2012-05-17 20:47:44 UTC - chastell - seacreature: (I’ll need to bugger off and hack for my coworker/former PhD advisor in a few, but I’ll come up with an example for Deryl first)

2012-05-17 20:47:54 UTC - seacreature - But for some upper middle class westerner, it may be that they want to contribute to open source, or get out of their job to run a business based on an idea they care about, etc

2012-05-17 20:48:18 UTC - seacreature - So really we're trying to get people from where they are to somewhere better

2012-05-17 20:48:24 UTC - seacreature - at first to help themselves, but also to help others

2012-05-17 20:49:01 UTC - seacreature - for two years, we ran as a private program running very intense courses, and were a closed community (although we did open calls for participation, very few slots were available)

2012-05-17 20:49:29 UTC - seacreature - But now we're running things out in the open

2012-05-17 20:49:35 UTC - seacreature - we just made that decision a few weeks ago

2012-05-17 20:50:08 UTC - seacreature - allyraza: that's a very loose overview, but does it give you a rough idea of what we're trying to do?

2012-05-17 20:50:08 UTC - allyraza - seacreature: am happy to be part of all this

2012-05-17 20:50:23 UTC - seacreature - We'll be sure to roll that background information into our "Beginner's guide" soon, it's being worked on

2012-05-17 20:50:47 UTC - allyraza - seacreature: I get it

2012-05-17 20:51:09 UTC - seacreature - the hack days were started because we found out by accident that having people get together to hack on projects and talk to each other works out really well

2012-05-17 20:51:36 UTC - seacreature - I was working on some code for a Practicing Ruby article, and I found by sharing my progress and asking questions from the group, we all had fun and learned a lot

2012-05-17 20:51:58 UTC - seacreature - This works for in-person groups (many have hack nights), we just didn't think to do it online.

2012-05-17 20:52:06 UTC - seacreature - But now we've run a few of these and we really like them.

2012-05-17 20:52:24 UTC - seacreature - People come to work on their own projects, maybe share some details about them with us, or ask us to help with them

2012-05-17 20:52:32 UTC - seacreature - Or they come to ask if there are projects they can help us work on

2012-05-17 20:52:45 UTC - seacreature - Each hack day is different, and it's all very open ended, but it's fun

2012-05-17 20:53:09 UTC - seacreature - the main idea is that this day is set aside for us to work together at the same time so we can casually exchange ideas and questions and learn while we work

2012-05-17 20:53:23 UTC - seacreature - it also puts a little bit of social pressure on us to write code :-P

2012-05-17 20:53:37 UTC - allyraza - makes sence

2012-05-17 20:53:44 UTC - allyraza - seacreature: I have been programming for quite some time now

2012-05-17 20:54:10 UTC - seacreature - what kind of stuff have you been building?

2012-05-17 20:54:37 UTC - allyraza - web apps

2012-05-17 20:54:56 UTC - allyraza - mean strictly rails i would say

2012-05-17 20:55:12 UTC - allyraza - that how i was introduced to ruby

2012-05-17 20:55:49 UTC - seacreature - Because Mendicant was a Ruby school at first, I imagine many folks here got into Ruby the same way.

2012-05-17 20:56:38 UTC - allyraza - seacreature: I am actually happy to be here right now

2012-05-17 20:57:12 UTC - seacreature - chastell: thanks, you don't need to do that if you're pressed for time. It'd be helpful but I didn't mean to dump one of my chores on you...

2012-05-17 20:57:34 UTC - chastell - seacreature: not at all! having fun so far

2012-05-17 20:57:47 UTC - chastell - I’ll let you know when I need to switch context (and how far I got) :)

2012-05-17 20:58:03 UTC - allyraza - people like yourself I am happy to work with

2012-05-17 20:58:11 UTC - seacreature - allyraza: we have a great community here

2012-05-17 20:59:20 UTC - allyraza - please can you direct me to the right direction what should i do since i am fairly new

2012-05-17 20:59:59 UTC - seacreature - allyraza: well, do you have any projects you are already working on (ideally open source), or are you looking to try helping out other people with their projects?

2012-05-17 21:00:45 UTC - allyraza - I have been working a on webs erver for quite some time then i stopped

2012-05-17 21:01:32 UTC - allyraza - I would love to work with someone

2012-05-17 21:03:36 UTC - seacreature - While it's fine to work with anyone here on whatever projects they're working on, we have two projects that can always use help

2012-05-17 21:04:03 UTC - allyraza - please

2012-05-17 21:04:08 UTC - seacreature - one is documenting the Ruby language itself. There are some instructions and explanations at documenting-ruby.org

2012-05-17 21:04:39 UTC - seacreature - It sounds like an advanced task, but regardless of your level of experience with Ruby, trying to document it will teach you something, and you will always be able to find SOMEWHERE to start

2012-05-17 21:05:03 UTC - allyraza - sounds good and the other one

2012-05-17 21:05:28 UTC - seacreature - also, it's not important for drafts to have perfect English... others can always clean them up later. That's often something that prevents people from various countries from contributing, but is too bad because we miss out on contributions that way.

2012-05-17 21:05:53 UTC - seacreature - for documenting Ruby, you can talk to drbrain (he's a core Ruby commiter), or andev (who helps with the project)

2012-05-17 21:06:01 UTC - seacreature - the other project is Mission of Mercy

2012-05-17 21:06:14 UTC - seacreature - Mission of Mercy is a rails application which is used to run a charity dental clinic

2012-05-17 21:06:21 UTC - seacreature - jordanbyron runs that project

2012-05-17 21:06:54 UTC - drbrain - ACTION waves

2012-05-17 21:07:06 UTC - seacreature - it's at https://github.com/mission-of-mercy/mission-of-mercy

2012-05-17 21:07:35 UTC - seacreature - He gives great code reviews, so it's a nice way to practice Rails development while helping out a good cause

2012-05-17 21:07:59 UTC - seacreature - I think there are a bunch of issues in its tracker, but I always recommend new people to start by just getting the application running and playing around with it a bit

2012-05-17 21:08:46 UTC - seacreature - But any issue that is not assigned can potentially be worked on, and you can ask about the issues on github and Jordan will get back to you

2012-05-17 21:08:50 UTC - seacreature - https://github.com/mission-of-mercy/mission-of-mercy/issues

2012-05-17 21:09:20 UTC - seacreature - unfortunately, he is AFK for the rest of the night, but most of us would at least be able to help you get the application running on your machine if you run into any problems

2012-05-17 21:11:32 UTC - allyraza - seacreature: I will speak to Jordan

2012-05-17 21:12:12 UTC - allyraza - seacreature: I really appreciate your help thanks a lot

2012-05-17 21:12:40 UTC - allyraza - and now i know where to go if i run into a problem

2012-05-17 21:18:39 UTC - allyraza - seacreature: What you working on?

2012-05-17 21:18:45 UTC - allyraza - if you dont mind me asking

2012-05-17 21:22:04 UTC - Zlayer - bbl guys, relocating

2012-05-17 21:24:58 UTC - seacreature - allyraza: I'm going to build a simple demo of how to build something like ActiveRecord on top of a low level database driver

2012-05-17 21:26:06 UTC - allyraza - seacreature: low level something like arel?

2012-05-17 21:27:02 UTC - seacreature - allyraza: I mean sqlite3-ruby, probably

2012-05-17 21:27:36 UTC - seacreature - my emphasis will be on teaching how to build AR style APIs, not really on the mechanics of how AR really works

2012-05-17 21:28:23 UTC - allyraza - but i would be nice to know how the inner parts of AR work

2012-05-17 21:29:20 UTC - seacreature - Sure, that's just not the focus of the article I'm writing right now

2012-05-17 21:29:39 UTC - seacreature - I'm running a series of articles designed to teach fundamental Ruby idioms (i.e. things that you'll be able to use everywhere)

2012-05-17 21:30:01 UTC - seacreature - but I always dislike blog posts that simply list the idiom but without any context

2012-05-17 21:30:35 UTC - seacreature - so I am making counterfeit versions of small features from well-known open source projects to establish a context and say "see, this is how you use this Ruby trick to do something real"

2012-05-17 21:31:03 UTC - allyraza - do you have url

2012-05-17 21:31:05 UTC - allyraza - ?

2012-05-17 21:33:15 UTC - seacreature - well this is for my paid journal, practicingruby.com. But here is a sample article which uses Jekyll as the base scenario: http://practicingruby.com/articles/shared/zmkztdzucsgv

2012-05-17 21:33:56 UTC - seacreature - I always have mixed feelings about linking practicing ruby because it's commercial, but all the content eventually gets released under a creative commons license, and I give away the service for free to anyone who can't pay the full price for any reason

2012-05-17 21:34:02 UTC - seacreature - about 20% of my subscribers hold free accounts

2012-05-17 21:36:44 UTC - chastell - seacreature: https://gist.github.com/2721119#gistcomment-322236 ← let me know what you think

2012-05-17 21:42:01 UTC - seacreature - chastell: you're my hero. Thanks!

2012-05-17 21:42:41 UTC - chastell - seacreature: wow, thanks, the relation is mutual! :)

2012-05-17 21:53:09 UTC - seacreature - okay... finally going to go heads down on some code here

2012-05-17 21:53:14 UTC - seacreature - BrokenRecord it is

2012-05-17 21:53:22 UTC - chastell - seacreature: good call

2012-05-17 21:53:44 UTC - chastell - I’m speccing an Executable from outside in, fun times

2012-05-17 21:56:09 UTC - seacreature - anyone want to volunteer to be the door man/woman while I go heads down for a bit?

2012-05-17 21:56:32 UTC - seacreature - Just need to say hi to whoever comes in and let them know what this event and MU is all about

2012-05-17 21:56:39 UTC - seacreature - could read up on the backlog to see my explanations

2012-05-17 21:59:24 UTC - Sou|cutter - well crap. I changed a HABTM field to has_many :through, and I guess I either have to add an id to the join table. Why can't rails understand composite keys? ug

2012-05-17 21:59:47 UTC - Sou|cutter - either add an id, or maintain a HABTM relation is what I meant to say there, woops

2012-05-17 22:24:40 UTC - seacreature - Git repository created! Baby steps... I suppose

2012-05-17 22:24:43 UTC - seacreature - https://github.com/elm-city-craftworks/broken_record

2012-05-17 22:25:03 UTC - seacreature - First task is to make a simple find(id) work, I guess.

2012-05-17 22:25:14 UTC - chastell - and to think I almost missed the pun…

2012-05-17 22:27:47 UTC - seacreature - hmm... I have a dilemma here though

2012-05-17 22:29:19 UTC - seacreature - the things I like about activerecord is the relation API... and how associations transparently add CRUD functionality while delegating all other calls to the underlying array

2012-05-17 22:29:44 UTC - seacreature - I hate the filename manipulation, and the class methods, and the class inheritance crap

2012-05-17 22:30:02 UTC - seacreature - and the constant name manipulation

2012-05-17 22:30:14 UTC - seacreature - so maybe I should model that part differently?

2012-05-17 22:30:21 UTC - seacreature - we shall see!

2012-05-17 22:34:09 UTC - chastell - seacreature: you might want to give https://github.com/SFEley/candy README a cursory look, skimming the ‘Overview’, ‘Collections’, ‘Using It’ and ‘Good Practices’ parts

2012-05-17 22:34:36 UTC - deryl - btw, thanks agian you two. i know i said it on tiwtter but i'll say it here too :)

2012-05-17 22:34:55 UTC - seacreature - happy to help!

2012-05-17 22:35:03 UTC - seacreature - but really, chastell did 100% of the work

2012-05-17 22:36:17 UTC - chastell - not at all! also, I really enjoyed brushing off AR’s relations – and learned how to do in-memory SQLite and how to run migrations from code, both actually most useful :)

2012-05-17 22:40:37 UTC - seacreature - chastell: is the in-memory thing an activerecord feature, or does sqlite3-ruby also support it

2012-05-17 22:40:47 UTC - chastell - SQLite supports it

2012-05-17 22:41:06 UTC - chastell - IIRC

2012-05-17 22:41:07 UTC - seacreature - I wonder if that'd be a reasonable way to write my tests for broken_record

2012-05-17 22:42:36 UTC - chastell - chastell@devielle:~/coding/art-decomp* new-deal$ sqlite3 :memory:

2012-05-17 22:42:36 UTC - chastell - sqlite> select * from foo;

2012-05-17 22:42:36 UTC - chastell - sqlite> create table 'foo' (foo text);

2012-05-17 22:42:36 UTC - chastell - bar

2012-05-17 22:42:36 UTC - chastell - sqlite> insert into foo (foo) values ('bar');

2012-05-17 22:43:38 UTC - seacreature - yeah, I'm taking a look at the adapter support now... I think I can get it working

2012-05-17 22:43:39 UTC - chastell - yeah, using this for tests is convenient (like MySQL’s ENGINE=MEMORY), unless you want to discover what was the db state on failure ;]

2012-05-17 22:43:48 UTC - seacreature - ahahaha

2012-05-17 22:44:02 UTC - seacreature - I could also just write to file and delete the file each time

2012-05-17 22:44:17 UTC - seacreature - hardly care for broken record :-P

2012-05-17 22:45:00 UTC - chastell - :] I have an after do FileUtils.rmtree @dir end block in many of my specs

2012-05-17 22:45:07 UTC - seacreature - hi hierbabuena!

2012-05-17 22:45:35 UTC - hierbabuena - seacreature: Hi!

2012-05-17 22:45:57 UTC - hierbabuena - seacreature: How is it going?

2012-05-17 22:46:04 UTC - chastell - WHEN I SAY ‘HERBAL’ YOU SAY ‘NO, THANKS’ http://grooveshark.com/#!/s/10+Cup+Of+Brown+Joy+Tea+Bag+Remix/3YqD0H?src=5

2012-05-17 22:46:10 UTC - chastell - sorry, got carried away again

2012-05-17 22:46:16 UTC - chastell - but sums it up quite nicely

2012-05-17 22:47:34 UTC - seacreature - https://gist.github.com/2722101

2012-05-17 22:47:43 UTC - seacreature - Beautiful, transactional and in memory

2012-05-17 22:47:50 UTC - hierbabuena - Sounds like rap and jazz :)

2012-05-17 22:48:14 UTC - seacreature - hierbabuena: going good! I am finally starting to write code... took me a while to settle in.

2012-05-17 22:48:29 UTC - seacreature - speaking of which, I think I should go back to that.

2012-05-17 22:48:33 UTC - seacreature - back in a bit

2012-05-17 22:48:41 UTC - hierbabuena - Thats great

2012-05-17 22:49:12 UTC - seacreature - hi redgetan!

2012-05-17 22:49:59 UTC - seacreature - Happy Hack Day. If you want to know more about it, I'm sure someone else here can give you some details. But I'll be back in a bit

2012-05-17 22:50:08 UTC - redgetan - hi

2012-05-17 22:50:22 UTC - redgetan - just knew about it yesterday

2012-05-17 22:50:23 UTC - redgetan - first time here

2012-05-17 22:50:53 UTC - redgetan - just wanna check out what kind of things u guys talk about & work on

2012-05-17 22:51:14 UTC - seacreature - redgetan: actually, I can pull something from the backlog for you, one moment

2012-05-17 22:52:12 UTC - hierbabuena - redgetan: Here is a couple of things https://github.com/mendicant/mendicantuniversity.org/wiki/Global-Hack-Day-4

2012-05-17 22:52:49 UTC - hierbabuena - Basically any project where you would like to get some feedback is a good candidate

2012-05-17 22:53:17 UTC - Zlayer - except mine, since I got stuck on other stuff and reading what you guys do here

2012-05-17 22:53:20 UTC - Zlayer - :P

2012-05-17 22:53:54 UTC - hierbabuena - For example in the last Hack day I worked on DaVinci LMS

2012-05-17 22:54:09 UTC - hierbabuena - I think it doesn't necesarily need to be a code project

2012-05-17 22:55:10 UTC - seacreature - redgetan: Here is the conversation I had a bit earlier: http://anita.mendicantuniversity.org/mendicant/2012-05-17%2020:44..2012-05-17%2021:09.md

2012-05-17 22:55:28 UTC - seacreature - we will definitely fold these introductions into some sort of proper documentation later

2012-05-17 22:55:32 UTC - seacreature - but for now, that should help!

2012-05-17 22:55:56 UTC - seacreature - back later.

2012-05-17 22:56:44 UTC - redgetan - pretty cool

2012-05-17 22:57:01 UTC - hierbabuena - redgetan: Is this your first time in Mendicant?

2012-05-17 23:00:38 UTC - redgetan - i've been following rmu before about a year ago i think, and i've read some of the technical blog posts, but never participated in any of the previous sessions

2012-05-17 23:00:55 UTC - redgetan - i did subscribe to the newsletter before

2012-05-17 23:01:03 UTC - redgetan - learned quite a few things!

2012-05-17 23:02:11 UTC - hierbabuena - redgetan: I see. You are veteran :) I have been here 6 months more or less

2012-05-17 23:02:34 UTC - hierbabuena - redgetan: What is it your focus? Web Dev?

2012-05-17 23:04:03 UTC - redgetan - hmm, hard to say, i just building software in general

2012-05-17 23:04:17 UTC - redgetan - and understanding how other programs work

2012-05-17 23:04:47 UTC - redgetan - although professionally, webdev is my focus i guess, although i like sysadmin stuff as well

2012-05-17 23:06:17 UTC - hierbabuena - So do I :)

2012-05-17 23:06:36 UTC - redgetan - :))

2012-05-17 23:06:49 UTC - hierbabuena - Well I am glad to see old faces comes here to be more involved

2012-05-17 23:07:02 UTC - redgetan - hierbabuena: what are working on today?

2012-05-17 23:07:47 UTC - hierbabuena - redgetan: I didn't :) I just had a job interview

2012-05-17 23:08:13 UTC - hierbabuena - And here is the cool thing, I think I just landed the job thanks to what I did in Mendicant University :)

2012-05-17 23:08:50 UTC - redgetan - that's awesome, congrats!

2012-05-17 23:09:15 UTC - seacreature - chastell: how much work have you done with raw sqlite3-ruby?

2012-05-17 23:09:28 UTC - hierbabuena - redgetan: Thanks!

2012-05-17 23:09:58 UTC - chastell - seacreature: none :)

2012-05-17 23:10:00 UTC - chastell - (yet)

2012-05-17 23:10:05 UTC - hierbabuena - redgetan: This is the project https://github.com/Nerian/DaVinci-LMS

2012-05-17 23:10:09 UTC - seacreature - so... it looks like my options are...

2012-05-17 23:10:34 UTC - seacreature - get back each record as an array (without column names)

2012-05-17 23:10:57 UTC - seacreature - get back each record as an array, but let the first array be the column names

2012-05-17 23:11:23 UTC - seacreature - or get back weird hashes that look like this:

2012-05-17 23:11:32 UTC - seacreature - {"name"=>"two", "val"=>2, 0=>"two", 1=>2}

2012-05-17 23:12:09 UTC - hierbabuena - redgetan: There is still a lot of things to do. I will do things in the next hack day. Now I want to sleep, since is late in the night here at Spain :)

2012-05-17 23:12:10 UTC - seacreature - was hoping someone would know a better option

2012-05-17 23:12:34 UTC - chastell - you can check how ActiveRecord’s adapter does this

2012-05-17 23:13:14 UTC - chastell - on an unrelated note, if you want to go with a really dep-free implementation, https://github.com/copiousfreetime/amalgalite reimplements SQLite in Ruby (and does not require it to be installed in the system)

2012-05-17 23:13:38 UTC - chastell - but I’m pretty sure doesn’t offer anything more than sqlite3 as far as access goes

2012-05-17 23:14:37 UTC - redgetan - hierbabuena: good stuff! i'll definitely be on the next hack day.

2012-05-17 23:16:51 UTC - seacreature - I've always wondered what amalgalite was :)

2012-05-17 23:17:20 UTC - seacreature - redgetan: we have completely restructured the school so that there will be several public events each week

2012-05-17 23:17:42 UTC - seacreature - The hack days we'll run every few weeks, but there will be study sessions, social gatherings, etc

2012-05-17 23:17:50 UTC - seacreature - It's more fun this way :)

2012-05-17 23:18:16 UTC - seacreature - mendicantuniversity.org has the events list, and we plan to write a summary post of what's going on each friday (called "The Unicorn's Horn")

2012-05-17 23:18:24 UTC - redgetan - seacreature: sounds very exciting

2012-05-17 23:18:27 UTC - redgetan - :)

2012-05-17 23:28:27 UTC - seacreature - chastell: this doesn't offend my sensibilities too much:

2012-05-17 23:28:29 UTC - seacreature - db.query( "select * from numbers" ) do |results|

2012-05-17 23:28:29 UTC - seacreature - p results.map { |r| Hash[r.fields.zip(r)] }

2012-05-17 23:28:30 UTC - seacreature - end

2012-05-17 23:29:00 UTC - seacreature - going to need to do more than that, maybe, but it's a start

2012-05-17 23:30:24 UTC - chastell - :) I ♥ Enumerable#zip (and #partition)

2012-05-17 23:30:47 UTC - chastell - and the Hash[] constructor, although I need explaining it every time to others

2012-05-17 23:31:25 UTC - chastell - ok, 1:30 am, need to relocate from baby-sitting my niece back home, back in a few (hopefully)

2012-05-17 23:34:35 UTC - hierbabuena - Going to sleep. Ciao unicorns!

2012-05-17 23:46:33 UTC - seacreature - My guess is that this little gem will end up being refactored away soon: https://github.com/elm-city-craftworks/broken_record/blob/master/lib/broken_record/row.rb

2012-05-17 23:47:20 UTC - seacreature - but I like it better than method_missing

2012-05-17 23:50:36 UTC - seacreature - anyway, I'm having trouble getting into the groove here, even though the room has quieted down. Also... my baby is crying

2012-05-17 23:50:47 UTC - seacreature - I will be back in an hour or so

2012-05-18 00:29:59 UTC - chastell - ok, 2:30 am, time to call it quits. thanks, everyone! take care, seacreature, and have fun with your broken_record collections!

2012-05-18 00:42:44 UTC - seacreature - I'm feeling really tired, I may or may not be back later

2012-05-18 00:42:54 UTC - seacreature - but for those who are still hacking, happy hack day and thanks for showing up!

2012-05-18 00:55:54 UTC - semmons99 - hi everybody. what are you up to?

2012-05-18 00:58:00 UTC - |-O - semmons99: gemming!

2012-05-18 01:05:16 UTC - semmons99 - for anyone whose interested, I'm working on a plugin for anita to add activity transcripts

2012-05-18 01:21:55 UTC - semmons99 - here's the genesis of the pull-request for anita activities

2012-05-18 01:21:57 UTC - semmons99 - https://github.com/mendicant/anita/pull/5

Something went wrong with that request. Please try again.